Parse Issue of TensorRT

When I use the computation code of the tensorrt in your repo, there is a problem.
When the TensorRT ONNXParser parses the onnx model, the returend value is false. And the TensorRT gives an error: Network must have at leaset one output.
Do you have meet the similar problem? And how to solve it?

Did you change anything in the provided latency measurement script? i.e. code under FasterSeg/latency.
I met this problem before. Usually, I have to go through the error log from the TensorRT to find the reason, it will say which layer the error comes from -- mostly it is because some layers in Pytorch is not supported by TensorRT.

No. I didn't do any change.
What's the version of your TensorRT? Maybe the different versions cause the problems.

Mine is 5.1.5.

Wired. Mine is also 5.1.5.
Meanwhile, the versions of PyTorch, CUDA are 1.3 and 10.1.

Did you do some specific change on the "interpolate"?
I find that the TensorRT 5.0 is not supportted the "Resize".

Could you try Pytorch 1.1.0?
And also my onnx version is 1.5.0

Did you do some specific change on the "interpolate"?
I find that the TensorRT 5.0 is not supportted the "Resize".

Nothing special. TensorRT 5.1 supports the interpolation.

Now I use Pytorch 1.2 and TensorRT 5.1. All is Fine.
Thanks for your kindly reply.


C# support

Support for C# would be useful for those of us in Unity land.

Certainly. It basically amounts to sending/receiving messages over a supported transport like MQTT or AMQP, and then then sending to fbp topic the JSON discovery message.
Initially it is also possible to skip the discovery part, and use msgflo-foreign to send it.
I'm not familiar with C#. But I'm happy to help if you get stuck with anything.

Your questions span a lot of different things. To cover the MsgFlo aspects:
A MsgFlo foreign participant is any code that can talk MQTT/AQMP on some queues/topics. Then the FBP-style metadata is declared in its own file, and msgfo-foreign sends this metadata as a discovery message on behalf of the code. Example declaration for a microcontroller-based IoT button/switch: https://github.com/c-base/c-flo/blob/master/components/BigSwitch.yml
A MsgFlo (whether foreign or 'native') does not need to be a FBP runtime internally. In fact most participants are implemented as imperative/functional/object-oriented code following the common conventions of the language/platform. See example code in msgflo-nodejs, msgflo-python, msgflo-arduino etc
So with MsgFlo the FBP component/graph programming model is only* of how these participants talk to eachother, by configuring the corresponding message queues in the message broker (RabbitMQ,Mosquitto). Nominally each participant is a separate process (on operating system level), often spanning multiple devices/servers.
* integration between the FBP concepts on MsgFlo level and inside an FBP based participant (NoFlo,MicroFlo,) is planned in the future

Flowhub (noflo-ui) communicates with MsgFlo (and any other runtime) using FBP runtime protocol, typically over WebSocket. https://github.com/noflo/noflo-ui#usage-with-different-fbp-systems
So if you want to implement your own UI, that is the protocol you need to implement. In addition to the protocol reference linked above, you can look at the communication between Flowhub and an existing runtime to get a better understanding of it.

Alright, thanks, much appreciated. I did notice another thing I was wondering which is how to set up a namespaced multi system msgflow environment (ie /internal/nmap/scan) and (/external/nessus/scan) however I think that should go in another issue. The documentation seems to be the biggest stumbling block for me. I know read the code is the holy grail, but a few tutorials guiding this stuff a little more and a little more verbosely on the docs page would really help with adoption and integration.


[WIP] [576] Enable users to save Twitter, LinkedIn, and Facebook information

The goal of this PR is to enable users to save Twitter, LinkedIn, and Facebook information on the edit profile tab.
I believe it's working now for Twitter and LinkedIn!

I opened the console when clicking "Save" to confirm that the correct mutation params were passed back

I also manually tested the linkedin prompt validation

When I try to link a Facebook account I get this error though. Is there a test account I can use or an app admin I can ask for permissions?

@tibetsprague -- this is still a work in progress, but I thought I'd request a first review + some help with the Facebook error above.

That’s great!

On Apr 14, 2021, at 11:13 AM, joanne-wu-hoo @.***> wrote:
@joanne-wu-hoo commented on this pull request.
In src/routes/UserSettings/EditProfileTab/EditProfileTab.js https://github.com/Hylozoic/hylo-evo/pull/847#discussion_r613470838:

 // case 'facebook': {

 //   return onLink()

 //   .then(({ error }) => {

 //     if (error) return onChange(false)

 //     return onChange(true)

 //   })

 // }

How do you feel about something like this?
https://user-images.githubusercontent.com/38114845/114758839-448d1180-9d12-11eb-8c7a-a77be13451cd.png
Connect opens the connect facebook modal
Link opens a prompt
https://user-images.githubusercontent.com/38114845/114758953-69818480-9d12-11eb-8f0f-cf26f7a40f81.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Hylozoic/hylo-evo/pull/847#discussion_r613470838, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA5HLZABC6LXIAODFBMYLTIXLNFANCNFSM4ZYQXBHA.

Need to fix some specs -- should be able to get around to this today / tonight


Update ingress controller image version

The image 0.8.2 fails to show the ingress IP with the latest kubernetes version (1.7.0):
$ kubectl get ingress
NAME            HOSTS     ADDRESS   PORTS     AGE
ingress-hello   *                   80        5m

I tested it with the latest version available (used in https://github.com/kubernetes/ingress/blob/master/examples/tcp/nginx/nginx-tcp-ingress-controller.yaml#L20) and it works properly.

But we should also make sure that updated image works for k8s 1.6. I remember this sample ingress controller (0.8.2) works for me on k8s 1.6

This version seems to be actually unstable (it get restarted several times for me). Let's wait for the stable version.


Added profile image getters for user

The data about users profile pictures is no accessible because there are no getters.. So I added them.
Have a good day.

Thanks for the contribution!


Adjusting size and formatting of new extra disk.

What does this PR do?
Solves the increase of disk related to issue 208.
https://github.com/aws-samples/aws-eks-accelerator-for-terraform/issues/208
Motivation
Bug fix to community.
More

[X] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[N/A] Yes, I have added a new example under examples to support my PR
[N/A] Yes, I have updated the docs for this feature
[x] Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

@ricardosouzamorais why was this PR closed?


People API needs an update (personFields not found)

PHP Version: 7.2
It seems that there is a problem with Google People API, here is the error I get:
Uncaught Google_Exception: (get) unknown parameter: 'personFields' in C:\xampp\htdocs\TestProject\google-api-php-client-2.2.2\src\Google\Service\Resource.php:147
Here is the code I used:
        $myPeople = new Google_Service_People($gClient);
        $me = $myPeople->people->get(
            'people/me', array('personFields' => 'names,emailAddresses'));

Thank you!

Comment: I changed the personFields parameter to array('requestMask.includeField' => 'person.names')
However when I login it doesn't even ask me for permission to read my information (Google_Service_People::USERINFO_PROFILE) and when I call the client it says I don't have enough perms to read the info (Request had insufficient authentication scopes).

Try...
$my = $myPeople->people->get('people/me', [
    'requestMask' => [
        'includeField' => 'names'
    ]
]);

Generally, the API documentation, used in conjunction with the PHP docblocks, will help in answering questions more clearly than the docblocks alone.

Hmmm @jdpedrie
Fatal error: Uncaught Google_Exception: (get) unknown parameter: 'requestMask' in C:\xampp\htdocs\MyProject\google-api-php-client-2.2.2\src\Google\Service\Resource.php:147 Stack trace: #0 C:\xampp\htdocs\MyProject\google-api-php-client-2.2.2\vendor\google\apiclient-services\src\Google\Service\People\Resource\People.php(52): Google_Service_Resource->call('get', Array, 'Google_Service_...') #1

Sorry about that @RoyIL, the docs are unclear here.
Try this:
$client = new Google_Client();
$client->addScope([
  Google_Service_People::USERINFO_PROFILE
]);

$people = new Google_Service_People($client);
print_r($people->people->get('people/me', [
  'requestMask.includeField' => 'person.names'
]));

Using an OAuth token with the Google_Service_People::USERINFO_PROFILE scope, I get a successful response using that snippet.

I'm going to close this. If you're still experiencing trouble, please re-open.

Hello,
Isn't RequestMask deprecated ?
As stated here:
https://developers.google.com/people/api/rest/v1/RequestMask
So in People.php, line 92, we should use:
'personFields' => array(
instead of
'requestMask.includeField personFields' => array(


Bug: Error while setting theme. $color is null

Getting error during compilation of scss, starting the app with ng serve and I get this error.

Bug Report

Created new project using angular-cli with scss option
add angular/material
add covalent/core

  "dependencies": {
    "@angular/common": "^4.0.0",
    "@angular/compiler": "^4.0.0",
    "@angular/core": "^4.0.0",
    "@angular/forms": "^4.0.0",
    "@angular/http": "^4.0.0",
    "@angular/material": "^2.0.0-beta.6",
    "@angular/platform-browser": "^4.0.0",
    "@angular/platform-browser-dynamic": "^4.0.0",
    "@angular/router": "^4.0.0",
    "@covalent/core": "^1.0.0-beta.4",
    "core-js": "^2.4.1",
    "rxjs": "^5.1.0",
    "zone.js": "^0.8.4"
  },

Add theme in styles.scss

@import '~@angular/material/theming';
@import '~@covalent/core/theming/all-theme';
@include mat-core();

$primary: mat-palette($mat-orange, 800);
$accent:  mat-palette($mat-light-blue, 600, A100, A400);

$warn:    mat-palette($mat-red, 600);

$theme: mat-light-theme($primary, $accent, $warn);

@include angular-material-theme($theme);
@include covalent-theme($theme);

I get the error .
Debugging effort
I tried debugging it and added few debug statements in<EMAIL_ADDRESS>$color: map-get($palette, $hue);
  @debug $color ;
  @debug $palette;
  @debug $hue;

  $opacity: if(opacity($color) < 1, opacity($color), $opacity);

  @return rgba($color, $opacity);

This is what I got in the console :
node_modules/@covalent/core/common/styles/_theme-functions.scss:58 DEBUG: null
node_modules/@covalent/core/common/styles/_theme-functions.scss:59 DEBUG: (base: black, divider: rgba(0, 0, 0, 0.12), dividers: rgba(0, 0, 0, 0.12), disabled: rgba(0, 0, 0, 0.38), disabled-button: rgba(0, 0, 0, 0.38), disabled-text: rgba(0, 0, 0, 0.38), hint-text: rgba(0, 0, 0, 0.38), secondary-text: rgba(0, 0, 0, 0.54), icon: rgba(0, 0, 0, 0.54), icons: rgba(0, 0, 0, 0.54), text: rgba(0, 0, 0, 0.87))
node_modules/@covalent/core/common/styles/_theme-functions.scss:60 DEBUG: slider-off

This was fixed in beta.5 😄 . There was a problem with the theming libraries with<EMAIL_ADDRESS>

Thanks  a lot  , its working with beta.5 we can close this.


Add attribute model.classification

Status Quo
Fields themselves can be classified like restricted, sensitive, etc.
Motivation
Combining two or more fields might result in a higher classification than the classification of the individual fields. We currently cannot encode this situation.
Proposal
Add classification to the model.

Could also be on datacontract.info level

stale


Rework Dynamic CAL importers scripts

📝 Description
Import Token supported in Ledger Live from Ledger CDN instead of legacy crypto-assets repo.
To run the CAL importer:
cd libs/ledgerjs
pnpm cal_importer

Notes:

Validation is done before uploading json files in the CDN so no need to do it client side
Increase of number of line in json files is just due to formatting, not new data

Open question:
Should we gitignore the data folder if it can be generated at build time ? And thus reducing the size of the repo ? We could run a script that checks if there's an update on the CDN if yes then we regenerate the data locally.
❓ Context

Impacted projects: LLC
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-7903

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[ ] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

@hedi-edelbloute Not sure if we want a changeset because this script is intented for internal usage only


Transition to Ubuntu Xenial on Travis CI

Travis is going to make Ubuntu Xenial the default by May 2019. Our current build matrix requires Ubuntu Trusty, since we use Clang APT repositories built for this release. Since it's 2019 already, I think it makes sense to move to a newer release, and keep Travis only for the builds that can't be done with Xenial (e.g. is there GCC 4.9 for Xenial?)
To buy us some time, I explicitly specified Trusty for all Linux builds: https://github.com/newsboat/newsboat/commit/8335461ba2ba060c27d1679093db855c0e631364
The next action is to change dist: trusty to dist: xenial and move to Clang APT repos for Xenial. If everything still works, we're done with this, if not—we'll dive in and fix problems one by one.

Actually, Ubuntu 18.04 is LTS as well, so maybe move straight to that? There are no Clang 4 for it, but we can just keep that particular job at Xenial.
I'm on this. I'll see how transition to Xenial goes, and if I don't get enough problems, I'll try to move to Bionic as well :)


Reduces the CA link permiability betweek the Universal Hub and connec…

…ted meta rooms
Previously the very high (100) CA link between all the meta rooms, and the very close proximity to the Empathic Vendor, combined to cause norns to think the Universal Hub had actual food in it and they would starve there.

Yeah, looks good to me.


The pad for zero is wrong for toClock()

The pad for zero is wrong.
26100.toClock()         //   ->   7:15:00

It should be like
07:15:00

According to Apple Foundation Documentation:
public static var pad: DateComponentsFormatter.ZeroFormattingBehavior { get }

// Off: "1:0:10", On: "01:00:10"

For some strange reasons padding is not added automatically by the DateComponentsFormatter on the very beginning positional item. I had fixed it manually when necessary.
Thanks for the report.

Thanks!


Add version: pnpm.pnpm.7 version 7.1.8

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.1 schema?


Ctrl + Click on link doesn't work

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Open https://master--toolpad.mui.com/deploy/cl6rqzry10009arlv9sto6qja/pages
Ctrl + Click on one of the pages

Current behavior 😯
It opens in the same tab
Expected behavior 🤔
It opens in a new tab
Context 🔦
I was trying to open all these apps in a different tab. I also can't use the context menu as it's not a link:

The root of the issue is here:
https://github.com/mui/mui-toolpad/blob/77f393df3e363e0fec147a1d522dcd2f2623b8ad/packages/toolpad-app/src/runtime/AppOverview.tsx#L12-L15
I think that we should use https://reactrouter.com/en/main/components/link. As a side note, I don't think that useCallback help here, it's a simple function, it's simpler without and maybe faster to create at each render than to memo.
Your environment 🌎
No response

@oliviertassinari

As a side note, I don't think that useCallback help here, it's a simple function, it's simpler without and maybe faster to create at each render than to memo.

True, I tend to memoize all (most) functions and objects because I don't know how the downstream components deal with them. as an example from the DataGrid docs:

Always memoize the function provided to getRowHeight. The grid bases on the referential value of these props to cache their values and optimize the rendering.

Memoizing everything prevents me from having to look up documentation or in worst case the implementation of all components. It prevents component libraries or maintainers from making semver patch level changes that accidentally kill performance.
I haven't benchmarked the function creation overhead, but I've never seen any useMemo call come up significantly in any flamegraph.
This is a controversial topic and I realize this is a strong opinion. I'm happy to adapt though.

This is a controversial topic and I realize this is a strong opinion. I'm happy to adapt though.

I've never ran into any situation where useCallback or useMemo is causing any significant difference in performance compared to just a function, so I also tend to always use useCallback in functions inside components. I also keeps me from having to think if it's worth using useCallback in every single case.
So I'm fine with the pattern of always using them.

Always memoize the function provided to getRowHeight. The grid bases on the referential value of these props to cache their values and optimize the rendering.

@Janpot Overall, we are trying to remove this requirement as much as possible, we keep track of this at https://github.com/mui/mui-x/issues/147. For example, https://github.com/mui/mui-x/pull/6185 made some progress in working better without useCallback/memo.

I haven't benchmarked the function creation overhead, but I've never seen any useMemo call come up significantly in any flamegraph.

Agree, I think that it's a tension between these 3 things, for the rest it doesn't matter:

Add useCallback when your component would be buggy without => ❌ we are trying for this to almost never happen
Add useCallback when you have a component that is high in the React tree and would lead to a lot of work if you don't => ✅
useCallback is more boilerplate => ❌


Google Colab build issue

Hi,
I'm having an issue building the open spiel environment this morning that wasn't an issue yesterday, happens at 63% of build. Here's the error:
 Makefile :94: recipe for target 'all' failed make: *** [all] Error 2
Happy to give more info if needed

I have the same issue as well.

Hmm.. last time we did an update was Monday so might be that the systems running the colabs changed configurations.
I will look into it, thanks.

Noticed a few other things that need attention in the colab:

This line !pip3 install --upgrade mock==3.0.5 also fails.
It's still using g++, which we switched away from a while back (we're using clang++ now).

I've reproduced the error on our side (even internally, on my workstation), which is odd. Wasn't happening on Monday either. Must be due to a global change in compiler / linker on Google systems. Looks like it should be an easy problem to fix.

Thanks

I just noticed we're not fixing the version of absl; it's possibly due to a new change in absl. I'll try with an older commit.

I just noticed we're not fixing the version or commit of absl; it's possibly due to a new change in absl. I'll try with an older commit.

Confirming it's a recent change in abseil. Fix coming soon.

Should work now, but you might have to clear your old build directory by adding
% rm -rf open_spiel

after the % cd /usr/local.

Working again. Thanks @lanctot


What's the difference between multiarch and amd64 images? Which one to use?

What's the difference between multiarch and amd64 images? Which one to use?
I'm confused about docker images, e.g. here: https://hub.docker.com/_/microsoft-windows
Should I use multiarch or amd64? What are the differences? When use, particular image type?

Hey @travnick, multiarch images are images that you can use the same docker pull command on different platforms (such as Linux and Windows) and the container runtime will find the right one.
For example, if you pull a .NET image, you can use the one for Linux or Windows, but you can use the same pull command (docker pull x) and the runtime will figure out the right one.
If you're unsure, I suggest you go with default command: docker pull mcr.microsoft.com/windows:ltsc2019

Ok, so multiarch is about the host, not the guest, right?
Then can you please explain, what does the multiarch exactly mean here: https://hub.docker.com/_/microsoft-windows ?
Since the only variants I can see there are amd64 and multiarch, then I wonder what are other options except for amd64

Ok, that's clear here. So until I see anything more than amd64, then multiarch is simply an alias for a single architecture.


Thank you!

Thank you!
Thank you for your project and software!
Thank you for maintenance in the past and in the future!
Kind regards and season's greetings!

You can use the "Buy me a coffee" button in the description to say thank you, instead of bloating the issues section... 😏


Graphics stopped working

Not sure if this issue is because of this buildpack, but an \includegraphics statement stopped working out of nowhere and I didn't change anything on my end. I've tried clearing the build cache and redeploying, and reuploading the image and all sorts of things with no luck. The latex output also shows no errors. It works on my local machine, but that's not such a good indicator because I have the full tex installation there. Anyway, if you know of something that could be causing this or how to debug this I would appreciate the insights!

Hi @sschloesser I know debugging these can be hard. I did setup a little docker based test suite right here: #18
I would recommend adapting it to your needs and building it locally to debug your issues.
Here is how you can do that:

Checkout the tests branch.
Add your texlive.profile or texlive.packages file to the repo root.
Run docker build . -t heroku-tex
Run docker run -ti -v PATH/TO/TEST/TEX/FILE/DIR /app/examples heroku-tex

That will put you inside a heroku container with your exact packages installed. Can can than run your TeX commands and debug whatever is wrong.
I hope that helps you :)

@codingjoe thanks so much for the help! It's extremely useful to have this container for testing. The \includegraphics worked on it, so I guess on heroku it must be an issue with the image file or it's path or something along those lines, so we can probably close the issue.

@sschloesser I don't know if it might be helpful for your case but we had also an issue where some graphics stopped working with \includegraphics. In our case it was because the graphics were some generated thumbnails and somehow TeX Live 2017 has a problem with that. Our fix was installing TeX Live 2016 because there it worked. You can tell the buildpack the path it should use for the installer. just how it is documented here: https://github.com/Thermondo/heroku-buildpack-tex#custom-tex-live-version
Maybe that helps your case as well. Btw, if it does help, please make sure you are referencing the buildpack in heroku with the version number because we might soon introduce a breaking change where the file path is changed. Just as a heads up.

Thanks @anneFly for the heads up! It turned out the problem was that I was using quotes around the image path \includegraphics{"path/to/image.png"} and removing them fixed it. So this buildpack changed from using Tex Live 2016 to 2017? Maybe that's what broke it because it was working before.

@sschloesser it always uses the latest version by default. But you can freeze the repo to a certain version, as @anneFly suggested.


⚠ GitLab Server has degraded performance

In b892f7b, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11005 ms

Resolved: GitLab Server performance has improved in 3d3ef79.


Weekly and Daily event times

Hi Sergey,
i have implemented the weekly and day event times.
Wekkly :

Day :

Would you want to have a look at my branch, to iron out some bugs and improve some of the css ?
That way we can merge this in with your and carry on.
There are a few things that i could use some help in implementing, and improving the current way of doing the rendering.
Email me whenever you want so we can work this out.

Where are you guys with this? Would love to have this feature. Nice job @steliosph!

After looking into it, it turned out to be a bit more work than I had time to do.  For me, it would have still looked crowded, so I went a different route.
From: Lee Johnson<EMAIL_ADDRESS>Sent: Saturday, February 21, 2015 12:03 AM
To: Serhioromano/bootstrap-calendar
Cc: rpipkin
Subject: Re: [bootstrap-calendar] Weekly and Daily event times (#401)
Where are you guys with this? Would love to have this feature. Nice job @steliosph https://github.com/steliosph !
—
Reply to this email directly or view it on GitHub https://github.com/Serhioromano/bootstrap-calendar/issues/401#issuecomment-75359678 .  https://github.com/notifications/beacon/AFSbJwF9nIpxC1Xys_dCMwo4rjWJqQlQks5nuCUvgaJpZM4CfPiT.gif

@rpipkin Can I ask what route you ended up going? Did you stick to the bootstrap-calendar library? We're trying to implement this to present classrooms in a campus. I'll hopefully have a fork to show how we filter events.

If I recall correctly, I had numerous all day events. I was trying to list them within each day on the calendar.  It quickly became too numerous to realistically display them nicely, even on a PC screen, let alone a mobile screen.  So I moved away from a calendar and went to more of a regular listing per day.
It was an interesting problem that I would have liked to try to solve within this library though. The way they handle the calculation of the off-sets is pretty cool.
You may be in a different situation where you have a finite number of items that will display within 1 day, so it could be a nice approach for you.  I with you luck.  This stuff is fun.
From: Faris Chebib<EMAIL_ADDRESS>Sent: Thursday, February 26, 2015 4:56 PM
To: Serhioromano/bootstrap-calendar
Cc: rpipkin
Subject: Re: [bootstrap-calendar] Weekly and Daily event times (#401)
@rpipkin https://github.com/rpipkin  Can I ask what route you ended up going? Did you stick to the bootstrap-calendar library? We're trying to implement this to present classrooms in a campus. I'll hopefully have a fork to show how we filter events.
—
Reply to this email directly or view it on GitHub https://github.com/Serhioromano/bootstrap-calendar/issues/401#issuecomment-76301722 .  https://github.com/notifications/beacon/AFSbJ7SO9bFONww_BrAj6FcV24YNkzz_ks5nv6oKgaJpZM4CfPiT.gif

Hi, Wow you changed it beautifully,
could kindly you email me the code, so I could take a look?

I am trying to configure my bootstrap calendar into this!


Porting over all changes we made on our side to the class repo.

This includes:

Changes to freshnet params since we moved mining to wallet side.

Script for interacting with wallet in backend via CLI

Changes to config files.

Fixed all in a new commit I added to this PR


netlify dev cuts off part of error message in stacktrace

When developing a Netlify function locally with netlify dev this is what a Prisma error looks like:
◈ Rewrote URL to /.netlify/functions/image?file=footer-logo.png
Request from ::1: GET /.netlify/functions/image?file=footer-logo.png
{"level":"error","message":"End - Error:"}
{"errorMessage":"\n\u001b[31mInvalid \u001b[1m`prisma.requestLog.create()`\u001b[22m invocation in\u001b[39m\n\u001b[31m\u001b[4mC:\\Users\\Jan\\Documents\\foo\\functions\\image\\image.js:43:27\u001b[24m\u001b[39m\n\n\n  Error occurred during query execution:\nConnectorError(ConnectorError { user_facing_error: None, kind: TableDoesNotExist { table: \"foo.RequestLog\" } })","errorType":"Error","stackTrace":["1mInvalid \u001b[1m`prisma.requestLog.create()`\u001b[22m invocation in\u001b[39m","1m\u001b[4mC:\\Users\\Jan\\Documents\\foo\\functions\\image\\image.js:43:27\u001b[24m\u001b[39m","","","or occurred during query execution:","nectorError(ConnectorError { user_facing_error: None, kind: TableDoesNotExist { table: \"foo.RequestLog\" } })","PrismaClientFetcher.request (C:\\Users\\Jan\\Documents\\foo\\functions\\image\\node_modules\\@prisma\\client\\runtime\\index.js:1:226583)","processTicksAndRejections (internal/process/task_queues.js:85:5)"],"level":"error"}
Response with status 500 in 1612 ms.
◈ Error during invocation:  {
  errorMessage: '\n' +
    '\u001b[31mInvalid \u001b[1m`prisma.requestLog.create()`\u001b[22m invocation in\u001b[39m\n' +
    '\u001b[31m\u001b[4mC:\\Users\\Jan\\Documents\\foo\\functions\\image\\image.js:43:27\u001b[24m\u001b[39m\n' +
    '\n' +
    '\n' +
    '  Error occurred during query execution:\n' +
    'ConnectorError(ConnectorError { user_facing_error: None, kind: TableDoesNotExist { table: "foo.RequestLog" } })',
  errorType: 'Error',
  stackTrace: [
    '1mInvalid \u001b[1m`prisma.requestLog.create()`\u001b[22m invocation in\u001b[39m',
    '1m\u001b[4mC:\\Users\\Jan\\Documents\\foo\\functions\\image\\image.js:43:27\u001b[24m\u001b[39m',
    '',
    '',
    'or occurred during query execution:',
    'nectorError(ConnectorError { user_facing_error: None, kind: TableDoesNotExist { table: "foo.RequestLog" } })',
    'PrismaClientFetcher.request (C:\\Users\\Jan\\Documents\\foo\\functions\\image\\node_modules\\@prisma\\client\\runtime\\index.js:1:226583)',
    'processTicksAndRejections (internal/process/task_queues.js:85:5)'
  ],
  level: 'error',
  [Symbol(level)]: 'error',
  [Symbol(message)]: '{"errorMessage":"\\n\\u001b[31mInvalid \\u001b[1m`prisma.requestLog.create()`\\u001b[22m invocation in\\u001b[39m\\n\\u001b[31m\\u001b[4mC:\\\\Users\\\\Jan\\\\Documents\\\\foo\\\\functions\\\\image\\\\image.js:43:27\\u001b[24m\\u001b[39m\\n\\n\\n  Error occurred during query execution:\\nConnectorError(ConnectorError { user_facing_error: None, kind: TableDoesNotExist { table: \\"foo.RequestLog\\" } })","errorType":"Error","stackTrace":["1mInvalid \\u001b[1m`prisma.requestLog.create()`\\u001b[22m invocation in\\u001b[39m","1m\\u001b[4mC:\\\\Users\\\\Jan\\\\Documents\\\\foo\\\\functions\\\\image\\\\image.js:43:27\\u001b[24m\\u001b[39m","","","or occurred during query execution:","nectorError(ConnectorError { user_facing_error: None, kind: TableDoesNotExist { table: \\"foo.RequestLog\\" } })","PrismaClientFetcher.request
(C:\\\\Users\\\\Jan\\\\Documents\\\\foo\\\\functions\\\\image\\\\node_modules\\\\@prisma\\\\client\\\\runtime\\\\index.js:1:226583)","processTicksAndRejections (internal/process/task_queues.js:85:5)"],"level":"error"}'
}

Not how the strackTrace is cutting off a few characters of the error message.
(Possible that this is not really caused by Prisma and we can do nothing about.)

@janpio I am unable to see where it is cutting it off 😓. Can you point it out?
Also, errorFormat: "minimal" might do better here.

  errorMessage: '\n' +
    '\u001b[31mInvalid \

vs.
  stackTrace: [
    '1mInvalid \

Same problem with minimal, there it even cuts into the actual error message making the problem worse.

Ok, got it. I can see it is chopping off some characters. Also, it only seems to be doing this for unhandled error like table missing error right now:

vs wrong username

Here is a reproduction: https://github.com/harshit-test-org/prisma-issue-3410

:shrug:


Error Exporting YDD Files

I was export my ydd files and this error is show up
What is this error code means and how can i fix it ?

Hm, not sure how that error is related to exporting ydds. Can you attach a blend file reproducing the issue?

Hm, not sure how that error is related to exporting ydds. Can you attach a blend file reproducing the issue?

clothes.zip
here you are, i have tried to make custom clothes by tranfer weights with in game clothes. but i got some error export again.

The original error is unrelated. This error occurs because you don't have any materials on the object, it's not a bug. Check the tutorials at #tutorials on the discord and if you're still confused ask for help in the help channels.


[framework] Implement the transaction validate

Implement the transaction validate function in rooch_framework::account

validate the signature
validate the sequence_number
do some finish task after execute transaction (like Aptos/Staroin's transaction epilogue, increment the sender's sequence_number)

ps: Should we put the validate function into an independent module like transaction_validator?
Dependency

#155

option 1 https://github.com/rooch-network/rooch/pull/187

2,3 is tracked by #209, close this issue.


Long Vol Vault

Long Vol Vault
Bounty Description
Build and deploy a vault which buys at-the-money straddles or out-of-the-money strangles options on Zeta with interest it has gained from farming in a borrow/lend protocol.
Requirements
Submissions will be reviewed on an on-going basis. Please include the following in your submission:

Github repo (the cleaner the better!)
Demo of the vault (where possible)

Criteria
We will look at:

Quality of the github repo
Implementation of the vault

Deadline

All submissions will be reviewed by the Zeta team on an on-going basis.

Resources

Hey, i want to work on this issue.

@pjburden - This is still open and quite similar
https://github.com/zetamarkets/fuze/issues/21

Hi!
Is this issue still open? Our team started to implement this type of Vault for our project.


ERROR: Signature extraction failed

youtube-dl --verbose https://www.youtube.com/watch?v=7nDKFPWbJMU -o - | mpv --no-video -
Playing: -
[file] Reading from stdin...
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=7nDKFPWbJMU', u'-o', u'-']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 2.7.12 - Linux-4.4.0-36-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.10-0ubuntu<IP_ADDRESS>, ffprobe 2.8.10-0ubuntu<IP_ADDRESS>
[debug] Proxy map: {}
[cache] Cache is not responding - slow/stuck network connection?
[youtube] 7nDKFPWbJMU: Downloading webpage
[youtube] 7nDKFPWbJMU: Downloading video info webpage
[youtube] 7nDKFPWbJMU: Extracting video information
WARNING: unable to extract uploader nickname
[youtube] {43} signature length 42.43, html5 player en_US-vflV3n15C
[youtube] 7nDKFPWbJMU: Downloading player /yts/jsbin/player-en_US-vflV3n15C/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 421, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
(caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 421, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 369, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1646, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1067, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 421, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
(caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Failed to recognize file format.
Exiting... (Errors when loading file)

Pull Request https://github.com/rg3/youtube-dl/pull/11892

I have got a similar error today, with a different URL...
Command line:
youtube-dl --list-formats --verbose https://www.youtube.com/watch?v=lhtHxPI3cxM

Youtube-DL output:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--list-formats', '--verbose', 'https://www.youtube.com/watch?v=lhtHxPI3cxM']
[debug] Encodings: locale cp874, fs mbcs, out cp874, pref cp874
[debug] youtube-dl version 2017.01.29
[debug] Python version 3.4.4 - Windows-XP-5.1.2600-SP3
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] lhtHxPI3cxM: Downloading webpage
[youtube] lhtHxPI3cxM: Downloading video info webpage
[youtube] lhtHxPI3cxM: Extracting video information
[youtube] {43} signature length 42.43, html5 player en_US-vflV3n15C
[youtube] lhtHxPI3cxM: Downloading player /yts/jsbin/player-en_US-vflV3n15C/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 1057, in _decrypt_signature
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 971, in _extract_signature_function
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 529, in _download_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 436, in _download_webpage_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 416, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\YoutubeDL.py", line 2000, in urlopen
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\utils.py", line 525, in sanitized_Request
  File "C:\Python\Python34\lib\urllib\request.py", line 267, in __init__
  File "C:\Python\Python34\lib\urllib\request.py", line 293, in full_url
  File "C:\Python\Python34\lib\urllib\request.py", line 322, in _parse
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflV3n15C/base.js'
 (caused by ValueError("unknown url type: '/yts/jsbin/player-en_US-vflV3n15C/base.js'",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 1057, in _decrypt_signature
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 971, in _extract_signature_function
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 529, in _download_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 436, in _download_webpage_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 416, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\YoutubeDL.py", line 2000, in urlopen
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\utils.py", line 525, in sanitized_Request
  File "C:\Python\Python34\lib\urllib\request.py", line 267, in __init__
  File "C:\Python\Python34\lib\urllib\request.py", line 293, in full_url
  File "C:\Python\Python34\lib\urllib\request.py", line 322, in _parse
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflV3n15C/base.js'
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 1057, in _decrypt_signature
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 971, in _extract_signature_function
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 529, in _download_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 436, in _download_webpage_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 416, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\YoutubeDL.py", line 2000, in urlopen
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\utils.py", line 525, in sanitized_Request
  File "C:\Python\Python34\lib\urllib\request.py", line 267, in __init__
  File "C:\Python\Python34\lib\urllib\request.py", line 293, in full_url
  File "C:\Python\Python34\lib\urllib\request.py", line 322, in _parse
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflV3n15C/base.js'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\YoutubeDL.py", line 694, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 369, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 1646, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 1067, in _decrypt_signature
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 1057, in _decrypt_signature
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\youtube.py", line 971, in _extract_signature_function
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 529, in _download_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 436, in _download_webpage_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\extractor\common.py", line 416, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\YoutubeDL.py", line 2000, in urlopen
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw2prp8oz\build\youtube_dl\utils.py", line 525, in sanitized_Request
  File "C:\Python\Python34\lib\urllib\request.py", line 267, in __init__
  File "C:\Python\Python34\lib\urllib\request.py", line 293, in full_url
  File "C:\Python\Python34\lib\urllib\request.py", line 322, in _parse
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflV3n15C/base.js'
 (caused by ValueError("unknown url type: '/yts/jsbin/player-en_US-vflV3n15C/base.js'",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Note: YouTube-DL terminated with exit code 1.
I will wait to see if next release fixes this issue once the pull request is accepted.
Youtube-DL: 2017.01.29 (EXE release)
System: Microsoft Windows XP Professional SP3


Change placeholder text to have ":" separator

@reedshea Could you run yarn rollup -c to rebuild the auto-generated documentation and TypeScript definitions?

Superseded by pull request #521


routes not working, getting 404

installed version 3.0 on Laravel 5.1. and I added "Riari\Forum\ForumServiceProvider::class", to config/app.php. The migration worked fine but after go to /forum I got my 404 page so what am I missing?

Do you have any "catch-all" routes defined in your application? If so, you may need to move the forum service provider before your other application ones.

Thanks! That's it! Now I get this...
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'category_id' in 'where clause' (SQL: select * from forum_categories where (category_id = 0) order by weight desc)
Just to let you know, but I can fix that myself now :),

Okay, that's strange. The migrations should rename the column from parent_category to category_id. Did you get any errors when you ran them? Or is this on an application/DB that previously ran version 2?

I deinstalled version 2 also everything in the migration table but probably not like I should do it...anyway the next thing is
Class 'Gate' not found

The Gate facade was added in Laravel 5.1.11, so either you're using an older version or you didn't add the facade as part of your upgrade. If it's the latter, just add this to your config/app.php aliases array:
'Gate'      => Illuminate\Support\Facades\Gate::class,

But to be honest, I want to avoid the use of facades anywhere in the package for exactly this reason, so I'll change it in the next RC :)

Great! Thank you very much!


Confusing UI presentation of 'Route All' option

Hi team,
On the Basics tab of the creation screen, the wording of the 'Route All' option in the UI could be improved in several ways:

Update grammar and spelling. There is some rough grammar here, and lack of capitalisation in a number of places, e.g. :

Rephrase the option altogether. "Route All" is not a particularly great name; it's not clear whether the routing for the whole VNet is being updated, or whether it just affects the subnet for AMS2.0. I think it would be simpler if you rephrased this entire option to something like "Is direct internet access allowed from this networking segment", and then have a yes/no toggle for that. The current approach of an info message advising the user to de-select an option which is on by default makes it seem "scary".

Hello, thank you for that feedback. We have reviewed this and suggested improvement on text. Once the fix goes live, will share with you.


write a Image object into std.in buffer

I'm working on streaming image sequences into ffmpeg.
Roughly, this is my code:
image_original = pyvips.Image.new_from_file(self.file_path)

p = Popen(['/usr/local/bin/ffmpeg', '-y', '-f', 'image2pipe', '-vcodec', 'mjpeg', '-r', self.fps, '-i', '-', '-r', self.fps, '-f', 'mp4', '-vcodec', 'libx264', '-crf', '26', 'output/{}.mp4'.format(self.animation_name)], stdin=PIPE)

for image in images:
    image.smartcrop(self.output_raster_width, self.output_raster_height)
    image.jpegsave(p.stdin, profile='JPEG')

p.stdin.close()
p.wait()

This yields an error, but I suspect I'm not using the right method to do the sdtin write. Is there a good way to handle this use case?

Hello, unfortunately libvips does not support read and write from pipes. You need to write to a memory buffer, then write that to stdout.
The fastest way is as a simple C-style memory array. There's an example here of passing an image between vips, numpy and PIL:
https://github.com/jcupitt/pyvips/blob/master/examples/pil-numpy-pyvips.py
Does ffmpeg support piping uncompressed areas of memory like that? If not, I guess you'll want the image coded as a jpg. You can use write_to_buffer to make a string containing a jpg-coded image:
https://jcupitt.github.io/pyvips/vimage.html#pyvips.Image.write_to_buffer

Thanks John, I was able to get it to work using PIL as the mechanism to write to std.in, I just had to read your jpeg buffer as bytes. See below:
image_vips = image_offset.smartcrop(self.output_raster_width, self.output_raster_height)
data = image_vips.write_to_buffer('.JPEG', Q=95)
image_bytes = PIL.Image.open(io.BytesIO(data))
image_bytes.save(p.stdin, 'JPEG')

I tested the script you provided. Fast indeed! So this begs the question (forgive me if it's a silly question), for anything Vips does at speed is it just using np under the hood? The reason I ask is, I benchmarked both Pillow and Vips doing the same operations of resize, offset, crop, and I actually found Vips to be much slower. The vips code I used is roughly as follows:
self.original_image = pyvips.Image.new_from_file(self.file_path)
self.original_image_width = self.original_image.width
self.original_image_height = self.original_image.height

for frame in range(100):
    image_resize = self.original_image.resize(zoom)
    image_offset = image_resize.copy(xoffset = int(x_total), yoffset = int(y_total))
    image_vips = image_offset.smartcrop(self.output_raster_width, self.output_raster_height)
    data = image_vips.write_to_buffer('.JPEG', Q=95)
    image_bytes = PIL.Image.open(io.BytesIO(data))
    image_bytes.save(p.stdin, 'JPEG')

Is it slow because it's reading from disk every time (It shouldn't be though, since the object is established at the beginning)? Are the cffi mappings not actually in-play when not utilizing the numpy arrays?

smartcrop is very slow. Try just crop(left, top, width, height).

libvips has its own pixel functions, it doesn't use numpy.
You have:
image_vips = image_offset.smartcrop(self.output_raster_width, self.output_raster_height)
data = image_vips.write_to_buffer('.JPEG', Q=95)
image_bytes = PIL.Image.open(io.BytesIO(data))
image_bytes.save(p.stdin, 'JPEG')

You're encoding jpg twice there, there's no need. Just do something like:
image_vips = image_offset.smartcrop(self.output_raster_width, self.output_raster_height)
data = image_vips.write_to_buffer('.JPEG', Q=95)
sys.stdout.write(data)

Hey John, just played off this in the other thread :-)

Hi again, do you mind if I close this issue? It's confusing having two open for almost the same thing. Let's continue discussion in the other one.


'mejs-time-loaded' in progress doesn't change the width on resize.

I'm updated the player from 2.17 to 2.23.5.
But the progress bar don't work properly for  me. When I stop the Video after view seconds, the span with class 'mejs-time-loaded' doesn't resize when I change the browser width.
I have compared with old Version and on resize the argument was empty.  In newer Version the argument of setProgressRail should be the empty too?
(...)
t.container.on('controlsresize', function(e) {
  player.setProgressRail(e);
  player.setCurrentRail(e);
});
(...)
setProgressRail: function(e) {
  (...)
  target = (e !== undefined) ? e.target : t.media,
  (...)
}

Unfortunately I don't have a lot of reference on older versions; the current version I maintain is 3.x if you find the issue in the latest version I'll be happy to take a look at

I checked this in the latest version and I couldn't find any issues with resizing. If you need this issue to be reopen, please let us know. Thanks


Additional Project ideas

This is a very interesting project.
If I may suggest, perhaps you can explore the feasibility of adding the following (optional) features since most modern SBC's come with those by default

Sound Blaster compatibility through

ESS chips https://github.com/hkzlab/ES688_ISA8

Picogus Project: https://github.com/polpo/picogus

NE2000-compatible networking using RTL8139AS: https://github.com/skiselev/isa8_eth

To keep costs down, those can be detachable modules or simply as un-populated options.

Thanks for your suggestions! Definitely, I am interested in extensibility through daughter boards. The most interesting extensions for me are 16550-style UART, graphics adapter, and Ethernet (I was looking at RTL8029AS, but RTL8139AS sure is fine).
I haven't yet decided what graphics and sound I like more, but if I keep the design modular, it should be possible to have multiple options and swap them as long as the interface is compatible. The limitation at the moment is that the main board is completely lacking +12V, -12V and -5V power rails. So definitely not going to support any of the cards listed here: ISA Cards & Devices Requiring -5V. Not without an external power supply at least.

For a 386 system, I understand they do not come with PCI right? So this should rule out the PCI RTL8029AS?
It makes sense to drop cards that require -5V.
As for graphics card, if you have not found one already, I have used this before and it works well. https://github.com/skiselev/isa-super-vga
The Monotech PC Nuxt v2.0 motherboard https://monotech.fwscart.com/details/p6083514_19777986.aspx implements this as a PC104 interface. https://github.com/monotech/PC104-SVGA
Alternatively, Book8088 implements it as a module https://www.aliexpress.com/item/1005006074049700.html

Yes, my bad, the correct model is RTL8019AS, not RTL8029AS.
As for graphics, I want to start with a simple MDA graphic adapter, then upgrade to CGA or VGA, but I don't yet have a solid plan on this :)

If you wish to use CGA orMDA, can I recommend these open source projects based on FPGA?
VGA, Composite and DB9: https://github.com/schlae/graphics-gremlin
With HDMI and drop DB9, use my improved design over the original Graphics Gremlin: https://github.com/yeokm1/graphics-gremlin-hdmi

I have just started a reverse-engineered HGC-clone design on a separate branch. It should add a 18kHz monochrome display output and an optional parallel port.


connection issue

Jared PA called with sensor connectivity issues, two farms he has installed are not communicating with network neither two new farm he is testing out for new installations.
Try to troubleshoot over the phone, but we were not successful. Will try again with other location later this afternoon.

Called back again we were able to get the gateway to send data, needed to connect to gateway with tablet and diagnose that two nodes have sensors that need fixing will fix next week and reset.


Pid(s) set([10263]) already running

Hi all,
I am developing a webapp able to run a Luigi pipeline by triggering a button.
However, even if the workflow ends properly, when I run the pipeline again I get "Pid(s) set([xxx]) already running".
What am I doing wrong?
Plus, is there a way to stop the run once started?
Many thanks.

I'm getting this as well, calling luigi.run from code twice yields this, any solutions you come across?

same issue here when running luigi tasks on diferent servers connected to a remote scheduler. I get this error from time to time.

Take a look at this
https://github.com/spotify/luigi/issues/2731

many thanks, I'll take a look at it :)

Is there any info on this? I get that it would typically be related to cronjob management, but it's throwing even when I'm a. not using cronjobs and b. not running multiple jobs. Has anyone had any success with luigi.lock workarounds? I'm running mine through the command line.


feat(cupertino_controls): add new skip icons

As already discussed here: https://github.com/brianegan/chewie/issues/387 I have added the new icons to the cupertino controls:

Do we just not have those controls on android? Interesting

Yeah actually everything but not "15". For the future maybe we can parameterize the number of seconds to skip 👍


Make it easier to embed helm in another Go app

I'm working on a simple staging system that would benefit from embedding some of helm's functionality. I wanted to try to embed helm so that the user doesn't need to know anything about helm (it'd be an implementation detail that didn't need exposing).
As I sat down to pick some pieces out of the client package, I quickly ran into the fact that almost all of the tunnel-to-tiller functionality is private. This makes perfect sense, given the youth of helm and probably not wanting to expose such a thing just yet.
I'd like to suggest that we eventually move this into pkg and provide a public interface. In an perfect world, I can:

Fire up a tunnel.
Call the equivalent of a helm package, helm install, and helm delete from my application without having to resort to hacking something up with os/exec.
Also probably query for releases and their states from my application.

We've already got something like this implemented on our own, but realized that we had poorly reinvented helm. Since we are trying to keep this thing as simple as possible, not asking our users to download kubectl and helm in addition to our client would go a long way towards making a nice experience!
An alternative would be to write a helm plugin, but I'm not sure that it makes sense to wrap a staging system in helm.

I don't think we'd object at all to turning the tunnel logic into a package. Thoughts, @adamreese ?
Most of the other stuff you should be able to easily accomplish with pkg/helm.

I'd be glad to chip in a blog post or some examples if we can get this working.
I had looked at trying to figure this out with client-go + helm, but it looks like the tunneling part of client-go is still in progress. I got a bit confused at the difference between the unversioned kubernetes/kubernetes API and client-go, so my personal attempts at doing this have fallen short thus far.
The other thing that made me hesitate is not knowing when/whether helm will move to client-go itself.
Getting back on topic, I think being able to easily embed helm could lead to some really interesting possibilities. At Reddit, I envision us having a chart repo for all of our dependencies. Each of our services will have a sub-directory with some staging-specific info, plus a chart for the service itself. We'd be able to link in dependencies and dynamically generate the equivalent of values.yaml for a very nice staging experience. An additional benefit is that we can re-use our production charts in staging.

@bacongobbler are you still working on migrating the tunnel logic to a separate package?

Yep! I actually have a working implementation. Lemme PR that.

Happy to test and help review this weekend!
On Jan 26, 2017 4:31 PM, "Matthew Fisher"<EMAIL_ADDRESS>wrote:

Yep! I actually have a working implementation. Lemme PR that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/helm/issues/1712#issuecomment-275557417,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEnJEBkMKN-zIrd050pH66ov2Shbs4Vks5rWTrRgaJpZM4LP0ej
.

#1882 :)

Thanks for your work, @bacongobbler !


GPG Error - apt-get update

apt-get update showing following key error
W: GPG error: http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release: The following signatures were invalid: KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER> KEYEXPIRED<PHONE_NUMBER>

You need to update the key as explained here ...
http://serverfault.com/questions/7145/what-should-i-do-when-i-got-the-keyexpired-error-message-after-an-apt-get-update

@kalzi, @monoverse the issue with gpg key is resolved. Thanks a lot for your report!


Zap Cannon has incorrect BP value

Zap Cannon is set as 100 BP, where it should be 120 BP (changed in Gen IV)
https://bulbapedia.bulbagarden.net/wiki/Zap_Cannon_(move)

Fixed https://github.com/nerd-of-now/NCP-VGC-Damage-Calculator/commit/53fe45d61d80c839a419300047c1f995e5eaae73


Add Swift registry config to swift plugins

It looks like I also need to get a new release of the buf CLI that includes the registry changes before I can merge this as well


Feature/upgrade angular 16

This depends on the related PR on mdm-resources https://github.com/MauroDataMapper/mdm-resources/pull/111

Build and runs correctly here and general browsing is working with no problems :+1:
Noticed that the padding on various items seems to have increased, e.g. the tree entries, not sure if this is intended?
Before:
After:

Noticed that the padding on various items seems to have increased, e.g. the tree entries, not sure if this is intended?

Not entirely intended, but in some ways the alignment is a slight improvement on what was happening before.  Happy to run with it for now.

Display issue: Width of 'Type' dropdown when viewing Types tab of a DataModel and clicking Filter:

Not entirely intended, but in some ways the alignment is a slight improvement on what was happening before. Happy to run with it for now.
Agreed :+1:

Looks good to me, and haven't found any other issues after browsing around/doing some basic creating/editing :sim


Fixes typo in #1129

Title:
Fixes typo in #1129
Description:
The correct byte literal is 1uy
Repro Steps:
Start fsi, type a number with an invalid byte literal like e.g. 1A
Expected:
This is not a valid numeric literal. Valid numeric literals include 1, 0x1, 0b0001 (int), 1u (uint32), 1L (int64), 1UL (uint64), 1s (int16), 1y (sbyte), 1uy (byte), 1.0 (float), 1.0f (float32), 1.0m (decimal), 1I (BigInteger).
Actual:
This is not a valid numeric literal. Valid numeric literals include 1, 0x1, 0b0001 (int), 1u (uint32), 1L (int64), 1UL (uint64), 1s (int16), 1y (sbyte), 1ui (byte), 1.0 (float), 1.0f (float32), 1.0m (decimal), 1I (BigInteger).
Severity:
Low
Version:
F# vNext

Hi @toburger, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

Thanks!


cloudflare_ruleset resource: support the http_log_custom_fields phase

Current Terraform and Cloudflare provider version
Terraform v1.0.3
on darwin_amd64

provider registry.terraform.io/cloudflare/cloudflare v3.10.1

Description
Support the http_log_custom_fields phase on the cloudflare_ruleset resource. This will require the following:

Allow phase field to be http_log_custom_fields
In the rules field, allow the nested schema to:

let action  be  log_custom_field
let action_parameters have fields like request_fields, response_fields, cookie_fields

Use cases
I want to configure Logpush custom headers in terraform instead of the api endpoint.
Potential Terraform configuration
resource "cloudflare_ruleset" "custom_header_logging" {
  name        = "Logging Custom Headers"
  description = "All of the custom headers to log in the Logpush service"
  kind        = "zone"
  zone_id     = "zone-id-goes-here"
  phase       = "http_log_custom_fields"

  rules {
    description = "Logging custom headers in the Logpush service"
    enabled    = true
    action     = "log_custom_field"
    expression = "true"
    action_parameters {
      request_fields = [
        { name = "request-header-1" },
      ]
      response_fields = [
        { name = "response-header-1" }
      ]
    }
  }
}

References
https://developers.cloudflare.com/logs/reference/logpush-api-configuration/custom-fields/

@jacobbednarz do you know if cloudflare_logpush_job supports configuring custom fields?

unsure sorry, best lodge a Cloudflare Support ticket and they will be able to route it to the logs team to answer accurately. my guess would be that once the ruleset is enabled, those fields will work being added to the logpull options attribute as the provider doesn't do any validation of that.


LICENSE file needs to be completed

Hey friends. The LICENSE file is just the template for now, it should have Renaissance Learning Inc as the rights holder. Also please consider using MIT instead of BSD-3 for simplicity.

I can make it MIT.

it should have Renaissance Learning Inc

We should probably look across all our OSS for this bit? I never gave it much thought, and always used "Freckle Engineering" I think.

Yeah, I'd actually check what other RL OSS libraries do as of today and follow suit there, for consistency.

See freckle/guides#52.


Dialyzer crashes on OTP 25 when language server compiled with older versions

** (ErlangError) Erlang error: {:badrecord, {:analysis, :undefined, :succ_typings, [], :undefined, ['
...
], [], :byte_code, {:plt, #Reference<0.2999960940.2059272193.24383>, #Reference<0.2999960940.2059272193.24385>, #Reference<0.2999960940.2059272193.24384>, #Reference<0.2999960940.2059272193.24386>, #Reference<0.2999960940.2059272193.24387>}, true, false, false, false, :none, [], []}}
    (dialyzer 5.0) dialyzer_analysis_callgraph.erl:70: :dialyzer_analysis_callgraph.start/3

Ditto this - want to take advantage of the new compile times for ARM arch, but can't!

Are most developers on 25? Could elixir-ls be published with a more recent OTP version while debugging the version mismatch?

Are most developers on 25

In 2 years from now. Today (I guess) most is on 23 or 24.

Could elixir-ls be published with a more recent OTP version

Not with the current approach to building/packaging. As a side note I would like to change it as it has negative impact in other cases.
As for now you can clone the repo (or vscode extension repo) and build on OTP 25.


feat (docs): added elevated permissions docs

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

Comparison is base (25bc4b7) 86.20% compared to head (3b02488) 86.20%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2519   +/-   ##
=======================================
  Coverage   86.20%   86.20%
=======================================
  Files          86       86
  Lines        9400     9400
  Branches      481      481
=======================================
  Hits         8103     8103
  Misses       1297     1297

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Explain to users how to interpret datasets hosted on cellxgene

Story:
A Single Cell Biologist who is visualizing data in the cellxgene explorer wants to understand how to interpret the data values so that they can make correct inferences about the data
Problem:
For RNA-seq data, there are conventions that define how raw and normalized expression data should be interpreted. Raw RNA-seq data with UMIs can be interpreted to be the number of molecules of a gene detected in a cell. Normalized counts are the same data, but transformed so each cell has approximately the same total molecule abundance. In both cases, large counts mean high expression of a gene. This information is broadly known to the Single Cell Biology community, but will not be known by non-experts. When we want to expose data to the broader community, as user will need to understand how to interpret the data.
Methyl-C-seq (dataset link) may be problematic even for our most savvy users. It should be interpreted inversely to the dominant RNA-seq expression type - low counts imply high expression of a gene. This is not communicated in any way by the application.
In the below screenshot, Arpp21 is highly expressed in glutamatergic neurons. You must understand how the assay functions to understand why this is the case.

There are at least three considerations:

Should we provide more guidance in the schema about how data should be submitted? If yes, how should we approach this? Should we enable users to submit new assays in the form they want to for a period, and then revise them, or do up-front research on data formats, only accepting them when we're convinced there is convergence?)
How should we convey what we know to be true about data and its interpretation to users in the UI?
How should we ensure that each data type we accept is supported by our algorithms (such as differential expression). While it appears to function, it is not a given that differential expression would function properly on these data distributions.

Issue moved to chanzuckerberg/single-cell #292 via ZenHub


Create docker image for testing

I am not sure how to create the docker image to setup the server on my ubuntu x86 platforkm, I have tried the following but it is not working for me, can you advice please

If you're going to use the docker image for development I recommend the Dockerfile.dev docker file.
If you're going to build from the Dockerfile file, you need to provide an argument for  PYTHON_MATTER_SERVER.


Fixes

Please review all the changes.
I've documented the JSON structure in the README.md file. Let me know if you want to change any description.
Here's the preview link

@tnordberg Ah thanks for clarifying! Should be fixed now

Hey @tnordberg, I have pushed the changes. Will keep this in mind for all future projects! Let me know if there's anything else.


redis update tags fix

这个 PR 实现什么功能/修复什么问题:

aliyun redis更新标签报错fix

是否需要 backport 到之前的 release 分支:

release/3.7

/area region
/cc @zexi

Codecov Report

Merging #10299 (c45573b) into master (3d35618) will increase coverage by 9.91%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master   #10299       +/-   ##
===========================================
+ Coverage    5.91%   15.82%    +9.91%
===========================================
  Files         864      124      -740
  Lines      134488    12939   -121549
===========================================
- Hits         7951     2048     -5903
+ Misses     125831    10700   -115131
+ Partials      706      191      -515

Flag
Coverage Δ

aFlag
15.82% <ø> (+9.91%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/monitor/models/helper.go

pkg/multicloud/esxi/net_topology.go

pkg/cloudcommon/policy/defaults.go

pkg/compute/models/guestjoints.go

pkg/mcclient/options/dnszonecache.go

pkg/appsrv/stats.go

pkg/multicloud/esxi/devtools.go

pkg/compute/models/networkschedtags.go

pkg/compute/models/loadbalancerbackends.go

pkg/util/rbacutils/policycore.go

... and 729 more

Continue to review full report at Codecov.

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


[Issue] Misplaced hooks results in confusing error message

[X] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
azd version 0.7.0-beta.1 (commit 9ce71659f7688d0dc3dda8b84e5accedca58cf01)
Describe the bug
I accidentally had a yaml like this:
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json

name: ms-identity-python-webapp

services:
  hooks:
    postprovision:
      shell: bash
      run: ./update_env.sh
  web:
    project: .
    language: py
    host: appservice

When I ran azd provision, I got this message:
ERROR: failed to initialize secrets at project '/Users/pamelafox/ms-identity-python-webapp': exec: "dotnet": executable file not found in $PATH (exit code: 0, stdout: , stderr: )
I was super confused as to why it was trying to execute dotnet, so I traced that code in the azure-dev code and then realized it was misinterpreting my hooks as a project, and I'm guessing projects default to dotnet.
Then I re-read the hooks documentation, realized my hooks were in wrong place, moved them up a level, and the error message went away.
You're welcome to close this as a "won't fix", just want to make sure the error message is in the tracker for others to find who make the same mistake.
Environment
VS Code Details-
Version: 1.77.0-insider (Universal)
Commit: b9226e1ccc11625bcb42b55efb795e07ee533bb0
Date: 2023-03-24T18:44:58.328Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.3.0
Sandboxed: Yes

Using an editor like VS Code with Yaml parsing support should highlight there there is a problem in the project configuration.

When pasted into VS code you can see the error squiggles under both hooks and postprovision and hovering over each error reports the violation against the schema.
One potential solution would be to validate the yaml configuration on execution of AZD and showing a warning similar to what VS code reports.


Uncheckouts

Add script to reverse the effect of carthage-developer-checkouts

Any interest in merging this?

done!


How to load balance traffic between two different AML endpoints?

Hello,
My team's user case is simple. For one ML model we need to deploy it in two different AKS clusters and thus generate two different AML endpoints. This is for failover and fault tolerance consideration in case any such AML endpoint or AKS cluster suffers outage.
So my goal is to route traffic with any load balancing approach such as simple round-robin between two AML endpoints looking like
http://[AKS Public IP address 1]:80/api/v1/service/modelscoring36/score and http://[AKS Public IP address 2]:80/api/v1/service/modelscoring36/score.
Any idea or suggestion on this? Thank you

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

ID: d3783f41-ce06-3d23-8e2e-64abbb5c96c4
Version Independent ID: f66fcf5b-c259-8e77-20e2-9bbe750d52c5
Content: Deploy ML models to Kubernetes Service - Azure Machine Learning
Content Source: articles/machine-learning/how-to-deploy-azure-kubernetes-service.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @Blackmist
Microsoft Alias: larryfr

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@sunnyhay There's currently no documented guidance on how to accomplish this with Azure Machine Learning and AKS. I've sent a request to the product group to see if this is something that they can provide guidance on. If so, my team will work with them to update the existing article or create a new one.
However, I can't provide any guarantees that this is something that they will want to document, or how long it will take them to respond. If this is something that you need a response on, I recommend contacting Microsoft Support. For information on contacting support, see the Azure support options.

@Blackmist Thank you Larry! Please keep me posted once any progress is made on this topic.

@sunnyhay The response from the product group is that Azure Machine Learning doesn't provide any support or features for this sort of load balancing between two AKS clusters. While it might be possible to manually create a load balancer to route traffic to the two clusters, it would be outside of Azure ML and not supported by the Azure ML product group.


Make AC motor check more region agnostic

Starting to get myself familiar with the codebase to try to resolve a bug I reported. I noticed this voltage check seems to be assuming an EU or UK mains voltage of 220. In the US it is 120 (or 110 depending on who you ask), and according to Wikipedia, some countries (Japan) go as low as 100!
Without some knowledge that regardless of what the true ac voltage is it gets reported as 220, I assumed this was something that might not be accurate in all cases and figured I'd submit a fix to open it up a bit.

Thank you for the PR, did you actually have a AC blind reporting a voltage between 100 and 220 V?

Thank you for the PR, did you actually have a AC blind reporting a voltage between 100 and 220 V?

I did not have one myself, so it was mostly speculative.  The only reason I would think you wouldn't get 120 would be is if there's a transformer at play upstream of the sensor. I can try to get a hold of a model that uses AC motors to test it. If  you already know of a good low cost one I could use that'd be awesome otherwise I'll look around.

I don't think testing will be nessesary.
Besides it could very well be that the voltage is hardcoded to 230V and not actually measured. (Why would they measure the 230V, kind of pointless)


[bug]: 'CrossAttention' object has no attribute 'cached_mem_free_total'

Is there an existing issue for this?

[x] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
6GB
What happened?
Whenever I try to use any function to generate an image, I get this error "'CrossAttention' object has no attribute 'cached_mem_free_total'" (I'm using the browser-ui)
Screenshots
2022-12-10T13:18:32-0300:
Image generation requested: {"prompt":"","iterations":1,"steps":50,"cfg_scale":7.5,"threshold":0,"perlin":0,"height":512,"width":512,"sampler_name":"k_lms","seed":2325424055,"progress_images":true,"progress_latents":false,"save_intermediates":5,"generation_mode":"txt2img","init_mask":"","seamless":false,"hires_fix":false,"variation_amount":0}
2022-12-10T13:18:32-0300:
Server error: 'CrossAttention' object has no attribute 'cached_mem_free_total'
Additional context
No response
Contact Details
No response

I just experienced the same error!
OS
Windows 11
GPU
cuda (RTX 3070ti)
VRAM
8GB

I am also experiencing the same error. On a new install, with all my installed models

Same. On same platform 3070 8Gb, i7

While waiting for the 'official' fix from the maintainers, there is a temporary solution for the error for the cached_mem_free_total problem:

Open ./ldm/models/diffusion/cross_attention_control.py file using a text editor.
Go to line 187, add the following code: self.cached_mem_free_total = None below the other 4 lines that start with self.. For clarity, attached is the screenshot how the code should look like:

Save the file and try restarting InvokeAI.


Allow poisoning router actors

I have noticed that once a router actor is created using cluster.RegisterKind, poisoning it does not work as expected (hangs forever).
This should handle it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Incorrect index for on-click arrows lesson 5

When I was going through this tutorial I found that since the columns are indexed to one, my board was working incorrectly after inputting this code
	 PlayPiece(0)">🔽
	 PlayPiece(1)">🔽
	 PlayPiece(2)">🔽
	 PlayPiece(3)">🔽
	 PlayPiece(4)">🔽
	 PlayPiece(5)">🔽
	 PlayPiece(6)">🔽

So I had to start the "PlayPiece" call from index 1-7 instead of 0-6. It was really confusing for me after trying plenty of other things to fix it.

I was totally wrong, this caused plenty of other unintentional errors. But i found that this code change resolved my issue.

When you change the col to be indexed starting at 1 instead of 0, the game plays correctly

I think it has to do with the fact that the CSS file must contain classes for col0 to col6, but the CSS code in the README.md contains the classes col1 to col7.

I believe that this was fixed.


upload to repositories

Have you thought about putting this on MELPA or Marmalade?
http://melpa.org/#/
https://marmalade-repo.org/

Yes I have, and I will.
I've never submitted it anywhere because it was never concluded. I use this every day, but there are several modifications needed before it's Elpa-worthy. Not to mention, I've moved part of the functionality onto another package I'll be releasing soon.
So the answer is: it will be on the repositories, eventually... :-)


Allow to change the path where the plugins are loaded from.

This patch allows to set the plugins root at the deamon level.
I'm not super happy about the implementation, so all your feedback will be very welcome.
Signed-off-by: David Calavera<EMAIL_ADDRESS>

oh man... I'd punt on this. Don't see why anyone would really need to customize this other than "look ma, I can customize things".

@cpuguy83 I totally agree with you, but I'm sure if we don't do it someone else will. To be clear, I'm okay with closing this PR and forget about it.

@cpuguy83 I just thought about a case where we'll want to change this, windows :wink:
Moving forward with this after a rebase.

@calavera In that case it's just a constant set in an _windows.go file :)

that's very true.

Not sure about this either; is there an actual use case already? If not, then I wonder if we should add it just because it may become handy.
Just my 0.02

Okay, I'm sold, closing this PR.

Reopening this because of #13859

Maybe we should make /var/lib/docker default? :)

For my normal testing, I start the Docker daemon with docker -d -D -g /data/docker - which is really its own mounted partition.
rather than hard coding the default to /var/lib/docker, perhaps it would be useful to default to {graphdir}/plugins.
however, I then note another pain point - the plugin API does not communicate daemon settings to it - so it doesn't know that in this case, it should probably make the the mounts in /data/docker.
tbh, I'm hoping the daemon can pass on some more client oriented info too, but that may be pushing it :)

@SvenDowideit it cannot go into {graphdir}/plugins. We already had that discussion, as @tianon pointed out, the drivers expect a defined structure.

Also, keep in mind that /var/lib/docker is meant to be ephemeral. You can always wipe out the directory, run docker run container and everything works. If we put the plugins directory there, that directory stops being ephemeral, because you'll want to save the plugins configuration.

Based on the plugins docs it seems that the plugins are either a unix socket or a spec file pointing to a unix socket (why not a symlink?). The accepted pattern for IPC unix sockets is to put them into /run/. So, I would suggest that the plugins be a combination of three locations:
/run/docker/plugins
/etc/docker/plugins
/usr/lib/docker/plugins
And have an inheritance order where /run overrides /etc and /etc overrides /usr on name collision. I would also suggest that both /etc and /usr only be allowed to contain spec files.

cc @icecrime

Sounds legit to me.
I don't like configurable plugin paths at all.

Sounds like a good idea to me too, I'll make the changes here and update the title to reflect that.

Closing. I'm going to start over in a new pull request.


Crash on response struct with a map

Let's consider following example code:
package main

import (
	"net/http"

	"github.com/gin-gonic/gin"
	"github.com/long2ice/swagin"
	"github.com/long2ice/swagin/router"
	"github.com/long2ice/swagin/swagger"
)

func main() {
	app := swagin.New(swagger.New("SwaGin", "Swagger + Gin = SwaGin", "0.1.0"))
	app.GET("/", test)
	if err := app.Run(); err != nil {
		panic(err)
	}
}

var test = router.New(
	&Input{},
	router.Summary("Test query"),
	router.Description("Test query model"),
	router.Responses(router.Response{
		"200": router.ResponseItem{
			Model:       Response{},
			Description: "Bug",
		},
	}),
)

type Input struct{}

type Response struct {
	Field map[string]string
}

func (t *Input) Handler(ctx *gin.Context) {
	ctx.JSON(http.StatusOK, Response{})
}

If you run this code, il will crash in an infinite loop.

Fixed in PR #18


[CLI] Cannot compile Move contracts when dependent on the git repository

Configure the dependencies in Move.toml as the git repository, like this:
[package]
name = "RoochDemo"
version = "0.0.1"

[dependencies]
MoveosStdLib = { git = "https://github.com/rooch-network/rooch.git", subdir = "moveos/moveos-stdlib/moveos-stdlib", rev = "main" }
#MoveosStdlib = { local = "../../rooch/moveos/moveos-stdlib/moveos-stdlib" }

[addresses]
rooch_demo = "_"
moveos_std = "0x2"
rooch_framework = "0x3"

Run:
rooch move build --named-addresses rooch_demo={ACCOUNT_ADDR}
UPDATING GIT DEPENDENCY https://github.com/rooch-network/rooch.git

The compilation will error out:
Error: Failed to resolve dependencies for package 'RoochDemo'

If the dependency is changed to local (that is, changed to look like the line that is commented out), it works.
Are there some problems?

Change MoveosStdLib to MoveosStdlib, but the error message is not friendly to devs, needs to be improved.

I think it should raise an error:
Name of dependency declared in package '{}' does not match dependency's package name '{}'

Based on the code
https://github.com/move-language/move/blob/8f5303a365cf9da7554f8f18c393b3d6eb4867f2/language/tools/move-package/src/resolution/dependency_graph.rs#L313-L321
But it does not work as expected. We need to figure it out.


Application not quitting on failed DRM init [aarch64]

On standard JVM, while using Gluon's DRM library, the JVM crashes (as expected), when using the incorrect card.
Currently I have the simple following script, to try testing with both card0 and card1 on a Raspberry Pi 4:
cd "${0%/*}"
export ENABLE_GLUON_COMMERCIAL_EXTENSIONS=true
export DISPLAY_CARD0=/dev/dri/card0
export DISPLAY_CARD1=/dev/dri/card1 # For Raspberry Pi 4

if ! ./client -Dglass.platform=Monocle -Dcom.sun.javafx.touch=true -Dcom.sun.javafx.isEmbedded=true -Djavafx.verbose=true>
        echo failed to launch using card0, trying to launch using card1

        if ! ./client -Dglass.platform=Monocle -Dcom.sun.javafx.touch=true -Dcom.sun.javafx.isEmbedded=true -Djavafx.verb>
                echo failed to launch using card1. Is your KMS driver turned on?
        else
                echo success using card1
        fi
else
        echo success using card0
fi

This script works perfectly when using standard JVM instead of gluonfx for aarch64 -> if the command with card0 fails, it tries using card1, and it succeeds.
However, the native image does not exit after failing to init, which blocks further progress of the script and the app is unable to start!
Here is the output when using the incorrect card on aarch64 native image (Raspberry Pi 4 2GB with Pi OS 64 bit):
pi@pi4b:~/stream-pi-client $ ./run_console
Main

determineCpuFeaures
Nov 14, 2021 11:12:06 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @2f09e6b2'
Prism pipeline init order: es2 sw
Using Double Precision Marlin Rasterizer
Using dirty region optimizations
Using system sized mask for primitives
Not forcing power of 2 sizes for textures
Using hardware CLAMP_TO_ZERO mode
Opting in for HiDPI pixel scaling
Prism pipeline name = com.sun.prism.es2.ES2Pipeline
Loading ES2 native library ... prism_es2_monocle
WARNING: java.lang.UnsatisfiedLinkError
In JNI_OnLoad_prism_es2
System.loadLibrary(prism_es2_monocle) succeeded
        succeeded.
GLFactory using com.sun.prism.es2.MonocleGLFactory
WARNING: java.lang.UnsatisfiedLinkError
System.loadLibrary(glass_monocle) succeeded
[GluonDRM] use GPU at /dev/dri/card1 and display id -1
S0 NOT defined:
[GluonDRM] Device /dev/dri/card1 could be opened, but has no drm capabilities.eglinit failed
eglbind ok
GraphicsPipeline.createPipeline failed for com.sun.prism.es2.ES2Pipeline
java.lang.ExceptionInInitializerError
        at java.lang.Class.ensureInitialized(DynamicHub.java:552)
        at java.lang.Class.forName(DynamicHub.java:1436)
        at java.lang.Class.forName(DynamicHub.java:1408)
        at com.sun.prism.GraphicsPipeline.createPipeline(GraphicsPipeline.java:218)
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:92)
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
        at java.lang.Thread.run(Thread.java:829)
        at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:596)
        at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
Caused by: java.lang.IllegalArgumentException: Could not create an EGLChooseConfig
        at com.sun.glass.ui.monocle.EGLAcceleratedScreen.<init>(EGLAcceleratedScreen.java:52)
        at com.sun.glass.ui.monocle.EGLPlatform.getAcceleratedScreen(EGLPlatform.java:79)
        at com.sun.prism.es2.MonocleGLFactory.initialize(MonocleGLFactory.java:107)
        at com.sun.prism.es2.ES2Pipeline.<clinit>(ES2Pipeline.java:76)
        ... 9 more
*** Fallback to Prism SW pipeline
Prism pipeline name = com.sun.prism.sw.SWPipeline
WARNING: java.lang.UnsatisfiedLinkError
System.loadLibrary(prism_sw) succeeded
(X) Got class = class com.sun.prism.sw.SWPipeline
Initialized prism pipeline: com.sun.prism.sw.SWPipeline
JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
requested number of screens, return 0
RenderJob.run: internal exception
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
        at java.util.Arrays$ArrayList.get(Arrays.java:4351)
        at java.util.Collections$UnmodifiableList.get(Collections.java:1310)
        at com.sun.glass.ui.Screen.getMainScreen(Screen.java:59)
        at com.sun.prism.sw.SWPipeline.getDefaultResourceFactory(SWPipeline.java:83)
        at com.sun.prism.GraphicsPipeline.getDefaultResourceFactory(GraphicsPipeline.java:151)
        at com.sun.javafx.tk.quantum.QuantumRenderer.lambda$createResourceFactory$2(QuantumRenderer.java:163)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
        at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:126)
        at java.lang.Thread.run(Thread.java:829)
        at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:596)
        at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)

As you can see, it throws an exception as expected but does not stop/exit.
Hence, this should crash/exit.
Another alternative method would be to atleast have an "auto detection" in the gluon DRM library. It is fairly easy to pull off, itll try using every card<X> in /dev/dri until all fails or atleast one succeeds.
However, I am unable to edit or do anything since the Gluon DRM library is not opensource. Hence i decided to open this issue!

I was able to fix this issue by changing the script. New script can be checked here.
The script now goes to the directory /sys/class/drm and searches the number of files whose name starts with card0. If there are more than 1 files that start with name card0, the script chooses that card. Otherwise, if it sees there are more than two files with the name card1, it will choose that card. If none of them are true, it means KMS is missing.
The logic behind this is that when a particular card (card0 or card1) is chosen, there are more than 1 files present in the /sys/class/drm folder for that card. I am not experienced that much with KMS, but it looks like the extra file has something to do with the display connected.
For example, right now lets say the system has chosen card0 to be the card used for KMS purposes, instead of card1. Then the contents of /sys/class/drm will be:
pi@pi4b64:~/stream-pi-client $ ls /sys/class/drm
card0  card0-HDMI-A-1  card1  renderD128  version

@jperedadnr maybe a logic inspired by this can be leveraged in the DRM library?

Not closing the original issue since the problem still remains (application does not quit when it fails)


update hierarchical IIIF collection creation to use PUT and POST

Currently, collections work like the following:
POST /collection1/collectionChild
{
  "@context":  "standard iiif context",
   "(my vanilla collection)"
}

but it needs to work like this on the hierarchical URL:
/// slug is explicitly provided but requires non-standard property
// TODO - Disallow this? Only vanilla IIIF on hierarchical URLs?
POST /collection1/
{
  "@context":  [
        "standard iiif context",
        "dlcs context
   ],
   "(my not completely vanilla collection)"
   "slug": "collectionChild"
}

// recognise id as one of our own, slug is implied by last path element of id
POST /collection1/
{
  "id": "https://dlc.services/iiif/collection1/collectionChild,
  "@context":  "standard iiif context",
   "(my vanilla collection)"
}

// recognise id is not one of ours, but what's the slug?
400 Bad Request - you need to do a PUT to get this one in because we can't work out what the slug should be
POST /collection1/
{
  "id": "https://bl.uk/gary-collection",
  "@context":  "standard iiif context",
   "(my vanilla completely external collection)"
}

// (no id, or ignore id) - don't need it
PUT /collection1/collectionChild
{
  "@context": "standard iiif context",
   "(my vanilla collection)"
}

// This is fine, parent and slug defined by PUT URL
PUT /collection1/collectionChild
{
  "id": "https://bl.uk/gary-collection",
  "@context":  "standard iiif context",
   "(my vanilla completely external collection)"
}

[ ] Any id property on the resource supplied in either PUT or POST is ignored - the URL PUT to, or the URL POSTed to + slug, tells us what the id will be in the hierarchy.

https://deploy-preview-2--dlcs-docs.netlify.app/api-doc/iiif#example-create-a-iiif-collection-within-a-storage-collectionhierarchical

for this:
// recognise id as one of our own, slug is implied by last path element of id
POST /collection1/
{
  "id": "https://dlc.services/iiif/collection1/collectionChild,
  "@context":  "standard iiif context",
   "(my vanilla collection)"
}

is there a need to verify that the id matches the hierarchical URL, and reject if it doesn't match?


overview.md: fix redundancy

Replace first occurence of 'sovereignty' by interoperability, for clarity and eliminate a redundancy.

Thank you