Add information about how to use the application

Although the application works well, it's poorly documented. This patch
tries to explain to the user how to install and use this plugin, as well
as how the fallback solutions work.
We should probably also remove the todos from the README and add it to GitHub issues, since that works better with comments and feature requests from users.
cc @Bellfalasch

I agree, but since it is still work in progress I just needed somewhere to put a few notes. When we close the last needed minor things we could create it as issues instead yes.
Nice work on docs for the app! Much needed info on how the fallback functions.

I've no moved the few remaining tasks to Issues-system, added the milestone "1.0.0" (only one issue so far, but we'll see), and milestone "2.0.0" for all the "big" things. Might move some of the title-issues to 1.0.


Accent color is not overridable by setting SystemAccentColor or ColorPaletteResources

Describe the bug
The accent color seems to be fixed/readonly/hardcoded in WinAppSDK 1.0 / WinUI 3.0. It is not overridable by the usual techniques.
Steps to reproduce the bug

Create a WinAppSDK 1.0 WAP project
Replace the Ressources in App.xaml with:

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
            <ColorPaletteResources Accent="Blue" />
        </ResourceDictionary.MergedDictionaries>

        <Color x:Key="SystemAccentColor">Red</Color>

        <ResourceDictionary.ThemeDictionaries>
            <ResourceDictionary x:Key="Dark">
                <Color x:Key="SystemAccentColor">Green</Color>
            </ResourceDictionary>
            <ResourceDictionary x:Key="Light">
                <Color x:Key="SystemAccentColor">Magenta</Color>
            </ResourceDictionary>
        </ResourceDictionary.ThemeDictionaries>
    </ResourceDictionary>
</Application.Resources>

Replace the Content of MainWindow.xaml with:

 <Grid Background="DarkGray" RequestedTheme="Dark">
        <ToggleButton HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="myButton" IsChecked="True">Click Me</ToggleButton>
</Grid>

Expected behavior

It would be nice if at least one of the methods of overriding the accent color would work.
It seems like the official Windows App SDK documentation tells us lies (Overriding the accent color)!?

Screenshots

As you can see, my system's accent color is used, and none of my overrides from App.xaml work:

NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
Insider Build (xxxxx)
Additional context
Tested on Windows 11 Insider Build 22504.1010

It seems that ColorpaletteResource does nothing to the new WinUI 3.0 controls. Normally it should calculate all shades of SystemAccentColor automatically.
And setting SystemAccentColor does nothing because the new WinUI 3.0 AccentBrushes seem to be based on:

SystemAccentColorLight2 in Dark Mode and
SystemAccentColorDark1 in Light Mode

So I found my workaround to be:

Declare SystemAccentColorLight2 and SystemAccentColorDark1 in App.xaml
Update the Accent color at Runtime via c# with

Application.Current.Resources["SystemAccentColorLight2"] = SomeLightColor;
Application.Current.Resources["SystemAccentColorDark1"] = SomeDarkColor;

The very ugly workaround "ReloadPageTheme" (Using ColorPaletteResources in code-behind) seems to be still necessary in WinAppSDK 1.0 / WinUI 3.0

This has not yet been fixed??

The same here.

Another vote to fix.

If using WinUI 3, I found it was important to call it a "Color" rather than "SolidColorBrush". Otherwise, it won't work.
<Color x:Key="SystemAccentColorLight1">#aeb5f2</Color>
<Color x:Key="SystemAccentColorLight2">#8993ec</Color>
<Color x:Key="SystemAccentColorLight3">#6571e6</Color>

如果使用 WinUI 3，我发现将其称为“Color”而不是“SolidColorBrush”很重要。否则，就行不通。


Create Alpin adam

To moon

nice

great project

Nice project

Alright thanks
On Tue, Aug 10, 2021, 12:12 Ahmed1002medo @.***> wrote:

Nice project
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Aircoin-official/AirCash/pull/36#issuecomment-895941832,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLBILUNIBSNLYLMQTLMRGLT4ECSVANCNFSM5B2BEUSA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

This project ready to launch 🚀😎👍

Interesting project


Test alert receivers in Alert Manager

I would like to implement some automated testing to validate my alert receivers are working or not. Sometimes the password for email receiver will change, so the alerts will not come.
I want to validate whether my alert reciver is working or not in a programmatic way.
I found we can use the API to create an alert. But it just creating an alert and returns the status as success even the SMTP password is wrong.
Any better way to test it?

I believe this is a duplicate of #2845, let's keep the conversation focus there as I believe that should solve your use-case.


Search not finding 'here'

It's not too short - it can find 'test'.
figure out and fix it!

Wont fix and closing - looks like the DB will be replaced with a graph db.


FIX unsquish text on small viewports

Small viewports were presenting both text, input and image on the same screen still,
compacting the space available for the text and input due to the image. This was
unpleasant to witness, and difficult to use. Removing the method icon solves this issue.
Partial resolution https://github.com/silverstripe/silverstripe-mfa/issues/253
Related:

login-forms https://github.com/silverstripe/silverstripe-login-forms/pull/34
webauthn-authenticator https://github.com/silverstripe/silverstripe-webauthn-authenticator/pull/51

I've updated the form field width and fixed a padding issue caused by https://github.com/silverstripe/silverstripe-totp-authenticator/pull/32


makefile: ensure cross-compilation compatibility

We need to ensure the snapshotter can be cross-compiled across all
platforms, and although we currently only support linux. We must
make sure that external projects (such as buildkit) are not affected
by cross-compiling when they import package such as converter.
Signed-off-by: Yan Song<EMAIL_ADDRESS>

Codecov Report

Merging #46 (51ebfc6) into main (b4c0508) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #46   +/-   ##
=======================================
  Coverage   35.09%   35.09%
=======================================
  Files          18       18
  Lines        1288     1288
=======================================
  Hits          452      452
  Misses        765      765
  Partials       71       71

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 b4c0508...51ebfc6. Read the comment docs.


Customization of the .env file is not indicated in README.md

I've found where to put my API key, but the README.md file doesn't say anything about modifying the .env file.
We went straight from the Installation paragraph to the Usage paragraph.

For anyone who sees the above post and wants clarity:
The file to update is .env. You will need to enter your API key from the OpenAI website into the first line, replacing the square brackets and everything within it with the key you copy.


Caching improvements

Description:

Related issue(s):
Fixes #915
Notes for reviewer:

Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

Codecov Report
Base: 74.34% // Head: 74.42% // Increases project coverage by +0.07% :tada:

Coverage data is based on head (4473fd0) compared to base (6b557cb).
Patch coverage: 88.23% of modified lines in pull request are covered.

:exclamation: Current head 4473fd0 differs from pull request most recent head d1d6c9c. Consider uploading reports for the commit d1d6c9c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #931      +/-   ##
==========================================
+ Coverage   74.34%   74.42%   +0.07%
==========================================
  Files          28       28
  Lines        1844     1857      +13
  Branches      349      352       +3
==========================================
+ Hits         1371     1382      +11
  Misses        372      372
- Partials      101      103       +2

Impacted Files
Coverage Δ

packages/relay/src/lib/eth.ts
84.65% <88.23%> (-0.01%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


No wheel in the package on pypi when using pip installl

Hi, I just did tried to do a pip install of the package using the --only-binary :all: flag described in the pip documentation.
It failed with the following error.
ERROR: Could not find a version that satisfies the requirement langcodes[data]<4.0.0,>=3.1.0
ERROR: No matching distribution found for langcodes[data]<4.0.0,>=3.1.0

Then I went to the package in pypi and found that there is only a source distribution there and no built wheel. I expected there to be a wheel as it is standard in python packaging.

Fixed in version 3.3 because I switched the build system to Poetry.


Fix name.

This PR fixes #8458.

cc @saleiva

Good good!
On Jul 5, 2016 7:39 AM, "Buti"<EMAIL_ADDRESS>wrote:

This PR fixes #8458 https://github.com/CartoDB/cartodb/issues/8458.
[image: widgets-name]
https://cloud.githubusercontent.com/assets/1366843/16574814/49a42e04-4283-11e6-8165-185b93145baf.gif
cc @saleiva https://github.com/saleiva
You can view, comment on, or merge this pull request online at:
https://github.com/CartoDB/cartodb/pull/8482
Commit Summary

Fix name.

File Changes

M
lib/assets/javascripts/cartodb3/editor/layers/layer-content-views/data/widgets-types.js
https://github.com/CartoDB/cartodb/pull/8482/files#diff-0 (4)

Patch Links:

https://github.com/CartoDB/cartodb/pull/8482.patch
https://github.com/CartoDB/cartodb/pull/8482.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CartoDB/cartodb/pull/8482, or mute the thread
https://github.com/notifications/unsubscribe/AAIENW0Cb7yRYTOc_Jai3r90uUyQUOmQks5qSe37gaJpZM4JEyox
.


🔧 [Refactor] Authentik: Signup Flow - Account Confirmation Token Expiration

🔧 Refactor
In the DreamMall signup flow an email is send containing the account confirmation link.
The link's token has a default expiration time set to 30 minutes.
This seems quite short.
How long should the account confirmation token be valid?

Is it possible to request a new confirmation?

An invalid token sends you without error back to the signup page - it is possible to signup the same user again. I think this is sufficient for now.


[java] implement visual options as a subclass

(This is in DRAFT because it relies on #237)
This is a simple extension of what was done to the Sauce Labs Options class.
direct methods are w3c fields
methods accessed via sauce() are the ones using sauce:options
methods accessed via visual() are the ones using sauce:visual
 SauceOptions sauceOptions = new SauceOptions();
        sauceOptions.setBrowserVersion("77");
        sauceOptions.sauce().setBuild("Build Name");
        sauceOptions.visual().setProjectName("setsVisualValues");
        sauceOptions.visual().setViewportSize("1900x1200");

Superceded by #256


markdown rendered inside of html element

Having a Html element with some latex content inside ...
<eq>{e}_x = a{e}_\alpha</eq>
will be rendered by md.render(str) as

<eq>{e}x = a{e}\alpha</eq>

If you remove the } before the first _ or the backslash after the second  _ everything is fine.
btw. ... CommonMark does the same thing, so I'm not sure, if it is a bug or a feature.
thanx for your great parser ... !

http://spec.commonmark.org/0.27/ - there are all details about html tags.
Those tags are not paired (with content inside), but passwe as raw result: [ raw html tag ] + [ markdown text ] + [ raw html tag ]. In you case you need aditional escaping

Thanks for enlightening me ... I think I should have read the spec more carefully.


Pajbot not giving points to non-subs every 5min

I've been runing the pajbot on my pc for 3 months now, but recently realised it was not giving the viewers 1point per 5min. Yeah it took me a while to realise that but well at least i did forsenE. Anyone has an idea what would be the reason for that? (can't test it for subs for obvious reasons)

You need to either run the chatters microservice on the side, or remove a line in pajbots code: https://github.com/pajlada/pajbot/blob/master/pajbot/modules/chatters.py#L30

It's working, removed the line, thx man <3


[REQUEST] Continue capturing for FREE and CUSTOM status

I'd like to request the feature of having an option to continue processing the rest of the blocks in case the status is anything other than SUCCESS or NONE.

@openbullet
 if (data.Status != BotStatus.NONE && data.Status != BotStatus.SUCCESS && data.Status != BotStatus.CUSTOM)             {                 i = lines.Count(); // Go to the end                 return;             }
that is what i did just added the custom bot status to the if statement ^^
is it okay to leave it like that or should we make an extra button in other options which forces custom status to go to the end?

Everything in OpenBullet that changes the previous behaviour should be an optional choice (in this case in the config's other options), disabled by default as to not disrupt previous configs made with the assumption that it worked in a certain way. Also we're working on a separate repo right now to code and test 1.2.0 so if you make a PR now it's going to be a bit of a problem, I will take care of this myself, thanks anyways.

sorry i didnt saw your message when i created the pull request will close it :)


Update insolation config args

Following the change linked below, in ClimaAtmos, ClimaCoupler insolation arguments need to be updated.
https://github.com/CliMA/ClimaAtmos.jl/pull/3150/files#diff-a507a5b1b0f8375040a7694778c1ce9ad5ec72a4465b76b7ba5d2aa693dcb574
Corresponding issue in ClimaAtmos: https://github.com/CliMA/ClimaAtmos.jl/issues/3165

Closed by https://github.com/CliMA/ClimaCoupler.jl/pull/889


Wrong Detection

hello dear
when I run the model , sometimes detect wrong object(such as lights). how can I solve this problem?

do you have a better model?

Not yet. I am trying to improve the model. When I get a better model, I will upload it. In general It is quite hard to distinguish between light and fire but you may consider training the model with more images with light and train it longer.

Thank you for your reply.
Your work is very good

@spacewalk01 Interesting to see that you're going through the same problem as well. I tried with this datasets, but the model is of very poor quality. Using prerecorded videos makes the model perform decently (still poor detection, but able to avoid sun glares and lights). On using my laptop's webcam for the sake of curiosity, it tried to label exposure to sunlight as fire too.

Thank you for sharing your experience. My thought is that there should be a vector space that differentiates two objects, sun/light vs fire. In terms of intensity of light, sun glare and fire lights are quite similar and hard to differentiate, but if we think of the occurrence of fire as time series data, we can model the movement of fire intensity/flare movement as a feature and possibly alleviate such misclassification problem.


context.getUser() returns undefined after logging in

Problem:
context.getUser() is not working despite logging in.
To Reproduce:
Note: Code was written using these articles and this repo as resources.

Clone this repo/branch
Run yarn
Run yarn build:dev
In a second terminal, run yarn run:dev.
Login (note that the terminal does show us that the user is authenticated and context.getUser works).

mutation {
  login(email<EMAIL_ADDRESS>password: "abcdefg") {
    user {
      id
      firstName
      lastName
      email
    }
  }
}

terminal response:
--- login response ---
isAuthenticated: true
isUnauthenticated: false
getUser: [object Object]

Run the currentUser query (note that the terminal shows us that the user is not authenticated, despite logging in, and that context.getUser returns undefined):

query{
  currentUser{
    id
  }
}

terminal response:
--- currentUser response ---
isAuthenticated: false
isUnauthenticated: true
getUser: undefined

Main code used:
index.ts:
import { ApolloServer } from 'apollo-server-express';
import express from 'express';
import http from 'http';
import passport from 'passport';
import session from 'express-session';
import uuid from 'uuid/v4';
import { GraphQLLocalStrategy, buildContext } from 'graphql-passport';
import Users from './users';
import resolvers from './resolvers';
import typeDefs from './typeDefs';

passport.serializeUser((user, done) => {
  // @ts-ignore
  done(null, user.id);
});

passport.deserializeUser((id, done) => {
  const users = Users.getUsers();
  const matchingUser = users.find((user) => user.id === id);
  done(null, matchingUser);
});

passport.use(
  new GraphQLLocalStrategy((email, password, done) => {
    const users = Users.getUsers();
    const matchingUser = users.find((user) => email === user.email && password === user.password);
    const error = matchingUser ? null : new Error('no matching user');
    done(error, matchingUser);
  }),
);

const server = new ApolloServer({
  context: ({ req, res }) => buildContext({ req, res, Users }),
  resolvers,
  typeDefs,
});

export default server;

// Adds express as middleware to our server.
const app = express();
app.use(session({
  // cookie: { secure: true }, // cookie must be sent via https
  genid: (request) => uuid(), // generates a session ID
  resave: false,
  saveUninitialized: false,
  secret: 'bad secret', // secret that is needed to sign the cookie
}));

app.use(passport.initialize());
app.use(passport.session());

server.applyMiddleware({ app });

const PORT = 4000;

// We create an http server from our apollo server.
const httpServer = http.createServer(app);
server.installSubscriptionHandlers(httpServer);

// We run our http server.
httpServer.listen(PORT, () => {
  console.log(`Server ready at http://localhost:${PORT}${server.graphqlPath}`);
  console.log(`Subscriptions ready at ws://localhost:${PORT}${server.subscriptionsPath}`);
});

// Using webpack's hot module replacement, if needed.
if (module.hot) {
  module.hot.accept();
  module.hot.dispose(() => server.stop());
}

resolvers.ts:
const resolvers = {
  Query: {
    currentUser: (parent, args, context) => {
      console.log('--- currentUser response ---');
      console.log(`isAuthenticated: ${context.isAuthenticated()}`);
      console.log(`isUnauthenticated: ${context.isUnauthenticated()}`);
      console.log(`getUser: ${context.getUser()}`);
      return context.getUser();
    },
  },
  Mutation: {
    login: async (parent, { email, password }, context) => {
      const { user } = await context.authenticate('graphql-local', { email, password });
      context.login(user);

      console.log('--- login response ---');
      console.log(`isAuthenticated: ${context.isAuthenticated()}`);
      console.log(`isUnauthenticated: ${context.isUnauthenticated()}`);
      console.log(`getUser: ${context.getUser()}`);

      return { user };
    },
  },
};

export default resolvers;

Hi Jimmy, thanks for this issue. I checked your repository and everything seems to be fine. Actually, when I run the project the login is working for me. Can you check if the connect.sid cookie is set after login? If it's currently set please delete it first.
One thing that comes to my mind is the playground settings. In the repo you mentioned the playground settings are defined inside the code as
playground: {
    settings: {
      'request.credentials': 'same-origin',
    },
  },

You can also do this manually by opening the settings via the gear symbol in the right top in the playground and add following line:
"request.credentials": "same-origin"

Let me know if this worked

The login() is also an async call that uses a callback - you need to promisify it to be sure that the authentication has been implemented.

Hi Jimmy, thanks for this issue. I checked your repository and everything seems to be fine. Actually, when I run the project the login is working for me. Can you check if the connect.sid cookie is set after login? If it's currently set please delete it first.
One thing that comes to my mind is the playground settings. In the repo you mentioned the playground settings are defined inside the code as
playground: {
  settings: {
    'request.credentials': 'same-origin',
  },
},

You can also do this manually by opening the settings via the gear symbol in the right top in the playground and add following line:
"request.credentials": "same-origin"

Let me know if this worked

Thanks @jkettmann , changing the playground settings solved the problem!
Curious, as a front end dev who is just know learning the back-end via graphql, what do these playground settings exactly mean?
Also, how would I check the connect.sid?
Thanks and keep up the great work!
P.S.: This article has the currentUser resolver using context.user. In the following article, that resolver however should change to be context.getUser(), something that was confusing to me at first when reading and might help to clarify.

The login() is also an async call that uses a callback - you need to promisify it to be sure that the authentication has been implemented.

Thanks @gforge , can you clarify / expand? My login mutation is using async / await. Is there something else I should be doing?

I'm not sure why as login() should just add the user to the context but it is defined as a callback function. I've therefore added a Promise around it in order to make sure it resolves:
    async login(
      _: unknown,
      { name, password }: { name: string; password: string },
      { authenticate, login }: MyContext,
    ) {
      const { user } = await authenticate('graphql-local', { username: name, password });
      await new Promise(resolve => login(user, () => resolve()));
      return !!user;
    },

@jkettmann: We could probably add a loginAsync in the buildContext, possibly using utils.promisify - the old callback syntax of passport feels somewhat outdated and cumbersome. What do you think? I could do a PR once we're done with the current ones.

Sorry, just realized that we're already returning a promise from login. This makes me wonder though if the package should sidestep the regular passport behavior. It may be better to use callbacks for login and then have an loginAsync - one way would be to deprecate the login for a few versions in favor for loginAsync and then change. Anyway, I've modified the server test code to simply:
    async login(
      _: unknown,
      { name, password }: { name: string; password: string },
      { authenticate, login }: MyContext,
    ) {
      const { user } = await authenticate('graphql-local', { username: name, password });
      await login(user);
      return !!user;
    },

@jimmy-e Thanks for pointing me to the error in the article. The API changed at some point and I missed to update the code samples.
As for the async login: you have these two lines in the login resolver
const { user } = await context.authenticate('graphql-local', { email, password });
context.login(user);

It should be await context.login(user); as @gforge mentioned correctly. This is also wrong in the article. Sorry for the confusion.

@gforge I don't think it's necessary to change the API. Since authenticate is promisified we should be consistent here. The login function is throwing an error in case the serialization doesn't work

@jkettmann - yeah, I guess you're right. My instinct was that the login will probably be queued to be handled after the failing contexts as they happen in @jimmy-e's example code. Anyway, hopefully the typings should help users to correctly call the functions.

Sorry to reopen this issue, however, I'm facing the same concern. Login details are returned correctly, but deserializeUser is never called, and therefore, user is undefined.

Can you post an example of your code and what you are seeing?

If you still have issues, can you create a new issue? Thanks!


Audio files from TSC meeting

Signed-off-by: KipTwitchell<EMAIL_ADDRESS>@AOrthVector @jmertic , So I made a few mistakes in handling the video of the meeting and it resulted in losing the file.  @jmertic , how do I start zoom so that it is recorded on the server, rather than my local machine?  Also, can I (or you) share the zoom credentials with Andrea so that she can be my backup for the meetings?
@AOrthVector , the audio files were preserved, but I think it would be good to get the slides from Randall to perhaps post in the meetings, and I think we should do an updated blog "activity" post on GenevaERS.org.  It could include (1) links to the TSC meetings minutes and videos for the TAC and the two TSC meetings, (2) and Randall's slides, (3) and the logo results.  We can also update the site with the new logos.
Perhaps these should be separate issues, and I can make those if you'd like.

@KipTwitchell - I adjusted the settings so that going forward recordings will be saved to the cloud instead. You'll get an email once they recording is done.

@AOrthVector I approved yours....so?

GitHub is telling us that your branch is out of date with the base. I think you have to sync / fetch to local to get the latest updates; probably the TSC and redo the pull request.
I think

Also, if you wouldn't mind, could you separate out the remaining items in the issue to new issues; help with me tracking what is left.

GitHub is telling us that your branch is out of date with the base. I think you have to sync / fetch to local to get the latest updates; probably the TSC and redo the pull request.
I think

Oh wait, I can probably take care of that.......please hold

OK, so updated the branch; but I'm sure it has not put the file in the right directory.  Could do that now, or on the next update after next week's meeting.
I also did put the other issues in different issues, so when we merge this we can close it.

If you approve my latest pull request, everything should be fixed.
Also, the longer it waits, the more out of sync people's local and origin repositories will get and it can turn into a lot of work
Also, is there an approve button or something I should see when asked to do a review?


Add the Twitter badge

"There can be only one!"… said our competition.

Pull Request Test Coverage Report for Build 478482404

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.071%

Totals

Change from base Build 478285536:
0.0%

Covered Lines:
5987

Relevant Lines:
6647

💛  - Coveralls

Pull Request Test Coverage Report for Build 478482404

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.071%

Totals

Change from base Build 478285536:
0.0%

Covered Lines:
5987

Relevant Lines:
6647

💛  - Coveralls


Explicitly disable go.mod for bindata generation

/assign @tnozicka

/approve
/lgtm

/lgtm cancel
I think you need the GOMODULE=on too for 1.12

like here https://github.com/openshift/library-go/blob/master/alpha-build-machinery/make/targets/openshift/controller-gen.mk#L14


Add loading for the Sponsors page

Animation is used, so the top background image can be loaded before showing the other parts.


index.html

Make a video from the script within minutes

@zabi017 ,thank you for your contribution.
You must sign the CLA for teams of kubernetes/website to do code reiview.
Please click on the red button NOT COVERED line in the first comment.
If you don't know how to do it, here isthe CLA tutorial.

PR Wrangler note: This contribution doesn't add value and seems to replicate a similar pattern across other open source projects from this user, as seen in Flutter.
@zabi017 It's great that you wish to contribute, so I'd suggest that you read through our docs contribution guidelines to understand what you can do and where you can get started. You can also join the Kubernetes Slack community and ask any questions you have there.
/close


add tushan

Hi, @PengJiyuan . is this repo still under maintenance?

Hi, @PengJiyuan . is this repo still under maintenance?

抱歉忘了看这个仓库。


Added chef_and_his_bookstore.cpp

solved issue #70
added solution for the problem in C++
#Hactoberfest2021

Kindly merge the PR


No module named 'spn.spnlib.spn._ext.libspn._libspn'

I compile the spnlib part and meet this problem when running code:
 File "/home/zhangyu/codes/weakly_localization/spn/__init__.py", line 1, in <module>     from .models import vgg16_sp   File "/home/zhangyu/codes/weakly_localization/spn/models.py", line 5, in <module>     from spn.spnlib.spn.modules import SoftProposal   File "/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/modules/__init__.py", line 1, in <module>     from .SoftProposal import SoftProposal   File "/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/modules/SoftProposal.py", line 5, in <module>     from ..functions import sp_generate   File "/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/functions/__init__.py", line 1, in <module>     from .SPG import SPGenerate   File "/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/functions/SPG.py", line 5, in <module>     from .._ext import libspn   File "/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/_ext/libspn/__init__.py", line 3, in <module>     from ._libspn import lib as _lib, ffi as _ffi ImportError: No module named 'spn.spnlib.spn._ext.libspn._libspn'
the problem come from this code spnlib/spn/_ext/libspn/init.py:
from torch.utils.ffi import _wrap_function
from ._libspn import lib as _lib, ffi as _ffi
all = []
def _import_symbols(locals):
for symbol in dir(_lib):
fn = getattr(_lib, symbol)
locals[symbol] = _wrap_function(fn, _ffi)
all.append(symbol)
_import_symbols(locals())
I checked, there are no file except a init.py in /spnlib/spn/_ext/libspn, so I think it may be something wrong while compliing.
Here is my compiling information:
zhangyu@GPUServer2:~/codes/weakly_localization/spn/spnlib$ sudo sh make.sh
Compiling cuda kernels...
Installing extension...
Including CUDA code.
running clean
Including CUDA code.
running install
running bdist_egg
running egg_info
writing requirements to spn.egg-info/requires.txt
writing spn.egg-info/PKG-INFO
writing top-level names to spn.egg-info/top_level.txt
writing dependency_links to spn.egg-info/dependency_links.txt
reading manifest file 'spn.egg-info/SOURCES.txt'
writing manifest file 'spn.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/spn
copying spn/init.py -> build/lib.linux-x86_64-2.7/spn
creating build/lib.linux-x86_64-2.7/spn/modules
copying spn/modules/init.py -> build/lib.linux-x86_64-2.7/spn/modules
copying spn/modules/SoftProposal.py -> build/lib.linux-x86_64-2.7/spn/modules
creating build/lib.linux-x86_64-2.7/spn/_ext
copying spn/_ext/init.py -> build/lib.linux-x86_64-2.7/spn/_ext
creating build/lib.linux-x86_64-2.7/spn/functions
copying spn/functions/init.py -> build/lib.linux-x86_64-2.7/spn/functions
copying spn/functions/SPG.py -> build/lib.linux-x86_64-2.7/spn/functions
copying spn/functions/utils.py -> build/lib.linux-x86_64-2.7/spn/functions
creating build/lib.linux-x86_64-2.7/spn/_ext/libspn
copying spn/_ext/libspn/init.py -> build/lib.linux-x86_64-2.7/spn/_ext/libspn
running build_ext
generating cffi module 'build/temp.linux-x86_64-2.7/spn._ext.libspn._libspn.c'
creating build/temp.linux-x86_64-2.7
building 'spn._ext.libspn._libspn' extension
creating build/temp.linux-x86_64-2.7/build
creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/home
creating build/temp.linux-x86_64-2.7/home/zhangyu
creating build/temp.linux-x86_64-2.7/home/zhangyu/codes
creating build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization
creating build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization/spn
creating build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization/spn/spnlib
creating build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization/spn/spnlib/spn
creating build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -Ispn/src -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/spn._ext.libspn._libspn.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/spn._ext.libspn._libspn.o -fopenmp
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -Ispn/src -I/usr/include/python2.7 -c /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn.c -o build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn.o -fopenmp
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -Ispn/src -I/usr/include/python2.7 -c /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c -o build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.o -fopenmp
In file included from generic/SoftProposalGenerator.cu:1:0,
from /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c:14:
spn/src/generic/SoftProposalGenerator.cu: In function ‘cuspn_Float_SP_Generate’:
spn/src/generic/SoftProposalGenerator.cu:67:11: warning: unused variable ‘sumOver_debug’ [-Wunused-variable]
float sumOver_debug;
^
In file included from generic/SoftProposalGenerator.cu:1:0,
from /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c:17:
spn/src/generic/SoftProposalGenerator.cu: In function ‘cuspn_Double_SP_Generate’:
spn/src/generic/SoftProposalGenerator.cu:113:17: warning: passing argument 6 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [enabled by default]
1);
^
In file included from /usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0,
from /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c:1:
/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float *’ but argument is of type ‘double *’
THC_API void THCudaBlas_Sgemv(THCState *state, char trans, long m, long n, float alpha, float *a, long lda, float *x, long incx, float beta, float *y, long incy);
^
In file included from generic/SoftProposalGenerator.cu:1:0,
from /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c:17:
spn/src/generic/SoftProposalGenerator.cu:113:17: warning: passing argument 8 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [enabled by default]
1);
^
In file included from /usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0,
from /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c:1:
/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float *’ but argument is of type ‘double *’
THC_API void THCudaBlas_Sgemv(THCState *state, char trans, long m, long n, float alpha, float *a, long lda, float *x, long incx, float beta, float *y, long incy);
^
In file included from generic/SoftProposalGenerator.cu:1:0,
from /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c:17:
spn/src/generic/SoftProposalGenerator.cu:113:17: warning: passing argument 11 of ‘THCudaBlas_Sgemv’ from incompatible pointer type [enabled by default]
1);
^
In file included from /usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC/THC.h:6:0,
from /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c:1:
/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC/THCBlas.h:15:14: note: expected ‘float *’ but argument is of type ‘double *’
THC_API void THCudaBlas_Sgemv(THCState *state, char trans, long m, long n, float alpha, float *a, long lda, float *x, long incx, float beta, float *y, long incy);
^
In file included from generic/SoftProposalGenerator.cu:1:0,
from /home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.c:17:
spn/src/generic/SoftProposalGenerator.cu:67:11: warning: unused variable ‘sumOver_debug’ [-Wunused-variable]
float sumOver_debug;
^
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/spn._ext.libspn._libspn.o build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn.o build/temp.linux-x86_64-2.7/home/zhangyu/codes/weakly_localization/spn/spnlib/spn/src/libspn_cuda.o spn/src/libspn_kernel.cu.o -o build/lib.linux-x86_64-2.7/spn/_ext/libspn/_libspn.so
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/spn
copying build/lib.linux-x86_64-2.7/spn/init.py -> build/bdist.linux-x86_64/egg/spn
creating build/bdist.linux-x86_64/egg/spn/modules
copying build/lib.linux-x86_64-2.7/spn/modules/init.py -> build/bdist.linux-x86_64/egg/spn/modules
copying build/lib.linux-x86_64-2.7/spn/modules/SoftProposal.py -> build/bdist.linux-x86_64/egg/spn/modules
creating build/bdist.linux-x86_64/egg/spn/_ext
copying build/lib.linux-x86_64-2.7/spn/_ext/init.py -> build/bdist.linux-x86_64/egg/spn/_ext
creating build/bdist.linux-x86_64/egg/spn/_ext/libspn
copying build/lib.linux-x86_64-2.7/spn/_ext/libspn/init.py -> build/bdist.linux-x86_64/egg/spn/_ext/libspn
copying build/lib.linux-x86_64-2.7/spn/_ext/libspn/_libspn.so -> build/bdist.linux-x86_64/egg/spn/_ext/libspn
creating build/bdist.linux-x86_64/egg/spn/functions
copying build/lib.linux-x86_64-2.7/spn/functions/init.py -> build/bdist.linux-x86_64/egg/spn/functions
copying build/lib.linux-x86_64-2.7/spn/functions/SPG.py -> build/bdist.linux-x86_64/egg/spn/functions
copying build/lib.linux-x86_64-2.7/spn/functions/utils.py -> build/bdist.linux-x86_64/egg/spn/functions
byte-compiling build/bdist.linux-x86_64/egg/spn/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/spn/modules/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/spn/modules/SoftProposal.py to SoftProposal.pyc
byte-compiling build/bdist.linux-x86_64/egg/spn/_ext/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/spn/_ext/libspn/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/spn/functions/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/spn/functions/SPG.py to SPG.pyc
byte-compiling build/bdist.linux-x86_64/egg/spn/functions/utils.py to utils.pyc
creating stub loader for spn/_ext/libspn/_libspn.so
byte-compiling build/bdist.linux-x86_64/egg/spn/_ext/libspn/_libspn.py to _libspn.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying spn.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spn.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spn.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spn.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spn.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating 'dist/spn-1.0-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing spn-1.0-py2.7-linux-x86_64.egg
Removing /usr/local/lib/python2.7/dist-packages/spn-1.0-py2.7-linux-x86_64.egg
Copying spn-1.0-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages
spn 1.0 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/spn-1.0-py2.7-linux-x86_64.egg
Processing dependencies for spn==1.0
Searching for cffi==1.11.2
Best match: cffi 1.11.2
Processing cffi-1.11.2-py2.7-linux-x86_64.egg
cffi 1.11.2 is already the active version in easy-install.pth
Using /home/zhangyu/codes/paperCode/SPN.pytorch-master/spnlib/.eggs/cffi-1.11.2-py2.7-linux-x86_64.egg
Searching for pycparser==2.18
Best match: pycparser 2.18
Processing pycparser-2.18-py2.7.egg
pycparser 2.18 is already the active version in easy-install.pth
Using /home/zhangyu/codes/paperCode/SPN.pytorch-master/spnlib/.eggs/pycparser-2.18-py2.7.egg
Finished processing dependencies for spn==1.0
How can I solve this and make the codes run?

@zhangyuygss
Please try to install spnlib based on Python 3.5.


fix: handle sign up errors

📝 Changed routes:

…oard/settings/api-keys
/embedded-wallets

(view full size)
(view full size)

Commit 6f165dba8cbb1250927fd712d21554b520ff806e (https://thirdweb-67tssdwqw.thirdweb-preview.com).


calculation seems 'off'

Hi
Please have a look at http://jsfiddle.net/franckl/775hbwta/
It seems to me that the "snapped" point returned by point-on-line is slightly off mark.
Intuitively the closest point should be at the intersection with the red line on the screenshot below (the LineString is not a straight line but close to, so the intersection should be at ~90degrees)

Could it be that the closest distance is in km/miles instead of the closest distance on a "flat" map ?
If so would it be possible to add an option to calculate the distance based on a x/y plane ?

The problem comes from the intersection algorithm, it does not take into account the earth curvature.
And turf is actually using a 1000 miles segment to find the intersection with the line, which is hugely impacted by the earth curvature.
I made a fix you can find in the Pull Request #4. This fixes notably your bug, because I replaced this "1000 miles" by a distance which is closer to what the user is looking for.
But the problem will still be there for large distance, because I didn't modify the intersection algorithm.


⚠ Bofrost.at has degraded performance

In 4f79288, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1275 ms

Resolved: Bofrost.at performance has improved in c5077a5 after 20 minutes.


ASI SDK 1.13.0821

This version seems to work on my ASI120MM-S unlike the previous 1.13.0814. Changes are:
V1, 13, 0821 2018.8.21
Add external trigger API
for some reason they don't include the change mentioned in 1.13.0814:
Add camera 183GT，1600GT，120MC Mini，4300

Thanks Jarno for keeping an eye on the new features and for enquiring about ZWO's temperature bug.


Update sys-availability-replicas-transact-sql.md

Current doc says: 0 is manual failover, 1 is automatic failover. But I queried from my SQL 2016 server, it returns opposite result:
failover_mode  failover_mode_desc
0              AUTOMATIC

And I saw several lines in source code "\SQL16\Sql\Ntdbms\scripts\usa\metaview.sql":
failover_mode = wr.failover_mode,
failover_mode_desc = CASE
  WHEN (wr.failover_mode = 0) THEN CAST('AUTOMATIC' AS nvarchar(60))
  WHEN (wr.failover_mode = 1) THEN CAST('MANUAL' AS nvarchar(60))
  ELSE CAST (NULL as nvarchar(60))
  END,

So I think it's the doc that needs correction.

@zhang-z : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.


Support 32blit flash filename.blit

A slight rewrite of how shorthand commands are handled to avoid accidentally creating any special cases we need to worry about.
Now just rewrites sys.argv and lets it drop to the regular command processing. Effectively acting as an alias.

Pull Request Test Coverage Report for Build 430165290

0 of 0   changed or added relevant lines in 0 files are covered.
11 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 69.282%

Files with Coverage Reduction
New Missed Lines
%

ttblit/init.py
11
20.0%

Totals

Change from base Build 409245543:
-0.1%

Covered Lines:
839

Relevant Lines:
1211

💛  - Coveralls


Mark cidrBlocks as required

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Running locally just returns 404 responses

Description
I am trying to set up dotnet monitor locally on my own machine according to what is documented on the announcement post for dotnet monitor in .NET 6 here. I have a dead simple ASP.NET Core 6 app that I wanna debug for demo purposes.
I have installed the tool using dotnet tool install -g dotnet-monitor, and I start it by running dotnet monitor collect. In the output from the application, I can see that the process has started up an HTTP and HTTPS endpoint. However, when I send an HTTP GET request to http://localhost:52325/processes it just gives me 404 responses.
I am having a really hard time figuring out how to use this tool as I do not know if this is a configuration error from my side or there is something wrong with the tool itself (which I doubt). The link to "Running on local machine" under the documentations folder doesn't lead anywhere and I feel really lost understanding how to set this up.
Other information
When I run dotnet monitor collect this is the output:
13:12:40 warn: Microsoft.Diagnostics.Tools.Monitor.MonitorApiKeyConfigurationObserver[21]
      MonitorApiKey settings are invalid: The Subject field is required.
13:12:40 warn: Microsoft.Diagnostics.Tools.Monitor.MonitorApiKeyConfigurationObserver[21]
      MonitorApiKey settings are invalid: The PublicKey field is required.
13:12:40 warn: Microsoft.Diagnostics.Tools.Monitor.MonitorApiKeyConfigurationObserver[21]
      MonitorApiKey settings are invalid: The configuration parameter PublicKey must be base64Url encoded, the value '' could not be parsed as a base64Url-encoded string.
13:12:40 warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Overriding address(es) 'https://localhost:52323'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
13:12:40 info: Microsoft.Hosting.Lifetime[14]
      Now listening on: https://localhost:52323
13:12:40 info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:52325
13:12:40 info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
13:12:40 info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
13:12:40 info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\marti\.dotnet\tools\.store\dotnet-monitor\6.0.0\dotnet-monitor\6.0.0\tools\net6.0\any\

It turns out that in my case, I had to go towards the HTTPS endpoint and use an auth key as described here. It would be very nice if this would be documented clearly some place which endpoints are available under HTTP or HTTPS, and then link to the authentication documentation page. A getting started page which clarified all of these cases would be super helpful for others!

just spent almost on hour on this. why does the application listen on http (port 52325) if it's just going to return 404? to make it more confusing the / path acturally returns the openapi json....just none of the paths defined there work.
i can't even find this behaviour documented anywhere...and believe me i've looked.


Update grpc-netty to 1.62.2

About this PR
📦 Updates io.grpc:grpc-netty from 1.61.1 to 1.62.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.grpc", artifactId = "grpc-netty" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.grpc", artifactId = "grpc-netty" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

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

Project coverage is 78.86%. Comparing base (0afa6ac) to head (ec14137).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2842      +/-   ##
==========================================
- Coverage   78.88%   78.86%   -0.02%
==========================================
  Files         467      467
  Lines       15950    15950
  Branches     2586     2586
==========================================
- Hits        12582    12579       -3
- Misses       3368     3371       +3

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


Add linter support with qmllint

As qmllint it present in Qt since mid-2014, we can rely on its presence in PATH to add linting features to VSCode.
As stated by VSCode documentation, we need to add a language server into the plugin: https://code.visualstudio.com/docs/extensions/example-language-server

qmllint announcement on KDAB


rename the python directory to src

We don't have non python code anymore

We moved everything up instead


Hugo Catalogs page layout is broken - sidebar appearing at bottom of page

The table of contents (TOC) for the NMS Dimensions, Metrics, and Events catalogs is currently displaying at the bottom of the pages, not on the right side where it should appear.
https://docs.nginx.com/nginx-management-suite/reference/catalogs/dimensions/
https://docs.nginx.com/nginx-management-suite/reference/catalogs/metrics/
https://docs.nginx.com/nginx-management-suite/reference/catalogs/events/
https://github.com/nginxinc/nginx-hugo-theme/assets/12143793/7bc4abb4-0bab-4963-b68b-119f968c2f52
This may be a regression related to the recent page width issues. The catalogs layout is in the docs repo here: https://github.com/nginxinc/docs/blob/main/layouts/catalogs/single.html

@LukeBillington to work with @Jcahilltorre on this

Fixed deployed to production with updated hugo theme .0.41.8


Future stoping code analyze, intelisense, code completion in Android Studio

@d-apps commented on Mar 16, 2021, 11:40 PM UTC:
Steps to Reproduce
Sometimes when I'm specifying the type of Future or just typing Future, the Android Studio stops analyzing the code and no matter what I type, intelisense, code completion, analyze, they doesn't work anymore.

Version info
[√] Flutter (Channel stable, 2.0.2, on Microsoft Windows [versÃ£o 10.0.19042.867], locale pt-BR)
• Flutter version 2.0.2 at C:\src\flutter
• Framework revision 8962f6dc68 (5 days ago), 2021-03-11 13:22:20 -0800
• Engine revision 5d8bf811b3
• Dart version 2.12.1
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Djalma\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.5)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.8.31005.135
• Windows 10 SDK version 10.0.18362.0
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.54.1)
• VS Code at C:\Users\Djalma\AppData\Local\Programs\Microsoft VS Code
• Flutter extension can be installed from:
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [versÃ£o 10.0.19042.867]
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.82
• Edge (web) • edge • web-javascript • Microsoft Edge 88.0.705.68
• No issues found!
This issue was moved by stevemessick from flutter/flutter-intellij#5324.

Please re-open if you see this problem again.


Add preview output in Yaml

Added a setting to select renderer format: json or yaml.
It parses the json output of jsonnet and dump it as yaml
note: Sorry, I used auto-format, couple code-style changes got included in the commit
fixes #3

@hausdorff

I want to be careful about the dependencies we add;
Yes

we need to add the generated JSON as well as the changes to the .jsonnet file; and so on.
I don't understand this point. I've regenerated the package.json from the .jsonnet files

Ah, my bad, you did add it. I'm not sure what I was thinking when I wrote that. :)


No execution with Akagi64 (UACME)

Hi, I am trying as POC to load AKAGI64 from a shellcode, but for some reason when I try to run the shellcode generated by donut, it just doesn't start. but for some reason when I try to run the shellcode generated by donut, it just doesn't start.
I am using the simplest example given in the documentation.
donut.exe -iAkagi64.exe -p59

hey! i'm facing the same issue. any luck with this?


JIT Compilation/Codegen for Casadi Functions

JIT compiling takes unreasonably long for functions from Pinocchio. Look into the Casadi functions for generating c code for the SX functions and cache it between CMake changes.

Did some tests with JIT in 136345a8ca046419db73fdb55b42758feabc1278. Jit-ing Fint, Fdiff, and F_state_error had the largest impact, cutting optimization runtime in half (at the cost of some one-time c-code generation).
This is in contrast with Jit-ing the mapped pseudospectral equations, which only cut runtime by ~10%. I suspect this is due to loop unrolling of the maps.
Looks like Jit-ing the former is our best bet for now.


on document ready

Hi
So, the question is just that, is there any event triggered on document ready? Kind of similar to angular angular.element(document).ready(...) or $document.ready(...). I've checked AureliaStarted event from the repo, but I guess it is triggered just when the Aurelia resources (not the application resources) are loaded.
Cheers!

Ok I got it (or at least I got one way):
import  $ from 'jquery';

export function configure(aurelia) {
  aurelia.use
    .standardConfiguration()
    .developmentLogging();

  aurelia.start()
    .then(a => a.setRoot('app', document.body))
    .then(a => {
      // here the DOM is ready
      $(document).ready(() => {
      // some initialization
      });
    });
}

More info @ Startup and config and the code

There's no need to every use the jQuery document ready. Once the configure method is called, the document is already ready. If you need to know, on a per component basis, when it's attached to the DOM, you can use the attached callback.


Ppp update

Update PPP for autumn-sonata.

Codecov Report

Merging #179 (8f52ae0) into master (b16a6f8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #179   +/-   ##
=========================================
  Coverage     39.40%   39.40%
  Complexity      540      540
=========================================
  Files           157      157
  Lines          3180     3180
  Branches        357      357
=========================================
  Hits           1253     1253
  Misses         1811     1811
  Partials        116      116

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Library not loaded on macOS

On my iMac running 10.13.3 (High Sierra) the wallet fails to open.  That's with both the newly released 1.9.9 and the previous version.  Running it from inside Terminal gives the following output:
dyld: Library not loaded: @loader_path/libboost_system-mt.dylib
  Referenced from: /Applications/000-cryptocoins/Syndicate-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
  Reason: image not found
Abort trap: 6

The file Contents/Frameworks/libboost_thread-mt.dylib does exist in the app so maybe the @loader_path bit is wrong and it should be pointing at the app's Frameworks dir instead?  I guess it happens to work on the developers machine because a system-wide version of Boost is installed.

Oh, it's loading the bundled libboost_thread-my.dylib OK, but then that's trying to load libboost_system-mt.lib from the standard path:
$ otool -L /Applications/000-cryptocoins/Syndicate-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
/Applications/000-cryptocoins/Syndicate-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib:
        @executable_path/../Frameworks/libboost_thread-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
        @loader_path/libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)

I am not expert for database but for me it does not work either. Where can I find some tutorial? Thanks.

My Mac wallet won't open  any ideas?
Check with the developer to make sure Syndicate-Qt works with this version of macOS. You may need to reinstall the application. Be sure to install any available updates for the application and macOS.
Click Report to see more detailed information and send a report to Apple.

Yes in all cases you are missing the correct boost version. Please use brew to install the missing boost libraries.

Surely the correct Boost version should be bundled with the app rather than expecting users to install it?


Does not install latest version

This module will not install beyond 0.26 due to using an out of date apt repository,  See:
Installing Sensu Using APT
Specifically, this module still points at "deb http://repositories.sensuapp.org/apt sensu main" rather than "deb https://sensu.global.ssl.fastly.net/apt $CODENAME main"

Already issues and PRs submitted for this, see here: https://github.com/sensu/sensu-puppet/issues/606

Thanks for the link.  Ill close this ticket.


Expand functionality of retry to not retry when process returns minor error

HI,
It would be convinient to be able to use the norm to repeat a TI if it failed, but only if it did not actually commit, rather then when it commited with minor errors. I would like to use this functionality, as my TIs randomly need to rerun, but due to the fact that I am using cellincrement I could potentially run into the issue where minor error (change of rule and now You have cell not updatable or something like this) would essentially double the values.

Thanks, @MateuszOszer. Will look into this!


linux-beagleboard: Disable reboot on kernel panic

Current kernel on the beaglebone exhibits the following issue:
https://github.com/balena-os/balena-beaglebone/issues/177
As a workaround for this issue we disable the reboot on kernel
panic config so that the board can provision as expected.
Changelog-entry: Disable reboot on kernel panic as workaround for https://github.com/balena-os/balena-beaglebone/issues/177
Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>

@resin-ci retest

@resin-ci retest


[FR] Format text on save

I would like to have an option that automatically executes the code formatter on the changed text when saving a file.

Please add an option.


Package not found statistically

Hi, I'm using deps.dev api to query dependencies of packages.
Sometimes I get Package not found for a package that indeed exist, and afterwards I get the real response.
Why is this happening?

Hi @noy-duany! It's hard to diagnose without a specific example, but in general, this can happen for packages and versions that were recently released. The time it takes for deps.dev to pick up new releases varies between ecosystems, but is typically measured in minutes or hours, with the worst-case outliers measured in weeks. After that, it takes additional time to compute dependencies for it, typically around 12 hours.


How to use SendToRouteV2 for MPP with failing shards?

Background
I'd like to construct routes manually and send a large amount as an MPP to my destination by splitting the payment into several shards I send out via SendToRouteV2. Naturally, some of those shards may fail, and (eventually) some of them will reach the destination.
My intuition is to re-send the amounts for failed shards via a different route, so that (eventually) all shards reach their destination and the whole MPP amount can be settled.
However, this does not work, as lnd complains about "payment has reached terminal condition" when I send another shard. I think this only happens after the first shard failed, but I'm not too sure.
In a chat with @alexbosworth he helped me with a few points:

LND has a safety method that does not allow new shards to start until the entire mpp failed

the route has to fail completely first

you have to wait until you get a full resolution on all shards

shards that succeed will be failed with mpp failure code

Even with those hints, I fail to understand how to proceed in my situation. How does lncli payinvoice work internally, i.e. how does it react to failing shards? I don't see a response for successful (i.e., blocking and waiting) shards. How is this supposed to look like? My intuition is that these shards just hang (without communicating any error).
Your environment

lnd 0.13.1-beta
gRPC via Java

Steps to reproduce

Send some shards with same MPP data via SendToRouteV2
Wait for failing shard ("temporary channel failure" somewhere along the route)
Send failing shard's amount again via a different route

Expected behaviour
New shard is sent and, potentially, arrives at destination (or fails).
Actual behaviour
SendToRouteV2 throws exception: "payment has reached terminal condition"

How does lncli payinvoice work internally, i.e. how does it react to failing shards?

lncli payinvoice uses SendPaymentV2, which will construct the routes, hence the shards, for you. If the shard fails with terminal errors, such as payment timeout, no routes, incorrect payment details, or insufficient funds, the payment will be terminated.
SendToRouteV2, however, treats each shard differently. Atm, if a shard fails, we always fail the payment.
https://github.com/lightningnetwork/lnd/blob/03bce2129b2c738ed9e2a55acd30ad1eb76b0e26/routing/router.go#L2259-L2284

Thank you. To clarify, does that mean that lncli payinvoice fails if just one of the (many) shards reaches a channel that experiences a "temporary channel failure"?

Thank you. To clarify, does that mean that lncli payinvoice fails if just one of the (many) shards reaches a channel that experiences a "temporary channel failure"?

Nope. In that case, it will retry by constructing a new route and attempt to send the payment again.

Oh, OK. To clarify again, lncli payinvoice replaces failed shards by new shards, completing the whole MPP over time (or running into, say, a timeout). Is that correct? If so, I'd love to do the same with my own routes. How can I do that?

Is that correct? If so, I'd love to do the same with my own routes. How can I do that?

You'd need to modify SendToRoute to add a mode that doesn't assume it's being used for a single shot payment.

Thanks. I hope you agree that the current SendToRoute is rather useless for MPP. I opened a feature request so that this can be tackled.


Error: video unavailable

I just downloaded and install the latest release but every video I try to play in straw-viewer doesn't load and I get the error:
ERROR: IIlcwlw9XVk: YouTube said: This video is unavailable.
do_connect: could not connect to socket
connect: No such file or directory

I tried to input the above video directly in browser address:
https://www.youtube.com/watch?v=IIlcwlw9XVk
and then it loads and plays without problem.

I cannot confirm this issue...
Make sure to have the latest version of youtube-dl installed.


Add tailwind example

Even just a link to https://github.com/dz0ny/elm-land-tailwind on the main page will help a lot of people that ask this question.

i'd like to contribute. please describe the suggestion a bit more

Maybe a minimal tailwind implementation could be behind a feature flag like:
elm-land init my_project --tailwindcss
This way we make sure, that all users use the same tailwind setup which could simplify support request.

i'd like to contribute. please describe the suggestion a bit more

I would love to have an examples/20-tailwindcss in the official repos example folder 📁
If you're interested in contributing, all you'd need to do would be include that code.

First, I want to confirm with @dz0ny if it's okay to move their example into the official Elm Land repo.
Maybe we should include a link back to the original repo for credit, too?

Sure, go ahead.


A simple Python Package & Deploy On Pypi Repo...

You have to create a simple python package and deploy it on the Pypi repo....

Could you tell me about on which domain you want us to deploy library I have already deployed one library on Pypi name as Algopylib . Could you able to assign this to me under GSSoC 22.

hey, I am GSSOC22 participant, I would like to work on this

@Snossy123 you can also make a pr for different package

Hey i'm GSSOC-24 participant and i would like to work on this issue by deploying a pypi package for automating different database CRUD operations, for instance redis, postgres, sql, mongodb etc.

Hi, I would like to create a Python package, please can you assign this issue to me?

Hello I am a GsSOC'24 contributor and I would like to work on this issue. Can you please assign it to me?

Hello @Niketkumardheeryan I am a GsSOC'24 contributor and I would like to work on this issue. Can you please assign it to me?

Hello @Niketkumardheeryan , I would like to work under this issue, please assign me .

Here's a comment template you can use to request assignment for the A Simple Python Package & Deploy on PyPI Repo issue:
Comment:
Hi @Niketkumardheeryan,
I am interested in contributing to the A Simple Python Package & Deploy on PyPI Repo project. This is a great opportunity to enhance my skills in package development and deployment.
Here’s my proposed approach:
Package Development: I will create a simple Python package with a clear structure, including essential components like setup.py, README.md, and a basic module to demonstrate functionality.
Testing: Implement unit tests to ensure the package works as intended and meets user expectations.
Documentation: Provide comprehensive documentation covering installation, usage examples, and contribution guidelines to help users understand how to use the package.
Deployment: I will follow the necessary steps to publish the package to the PyPI repository, ensuring it is accessible to the Python community.
Could you please assign this issue to me


Design and Develop a Landing Page

Description
Develop the Landing Page of the Application.
Tutorials

A Responsive Landing Page with React
Creating a Landing Page with React

You can come up with a wireframe before starting work on this. Having a wireframe ready would make it easy for us to communicate ideas and feedbacks easily.

@HarshCasper  Please assign this to me.

@HarshCasper Assign This issue To both of us ! @shristi99 Agree with Mine!! We can make a landing page together

@HarshCasper Assign this issue to both! So the issue will be solved soon ! @shristi99 Agree with me.

Hi @shristi99 and @bhubesh757
Both of you can work together in my opinion. Once can develop a wireframe while the other can work on the code part. Both are equally important.
Let me know if its feasible and I will assign you both

@HarshCasper Thanks! Assign this to us and also in issue section just add a tag assigned

@HarshCasper Thanks! Assign this to us and also in issue section just add a tag assigned
And One More if We do this together , does we will get equal points?? if not Assign This issue to @shristi99

Both of you will get equal points. I'm waiting for @shristi99 response.

Sure sir I am ready to work with @bhubesh757.

@shristi99 @bhubesh757
You can start the work. Remember that you should over communicate among each other. Try asking a lot of questions and clear up a lot of ideas you have in mind. And make sure to keep the thread here active along with on Discord while you are working on this.

@HarshCasper Just Tell me what are components needed in the landing page! like header , footer

Refer this

Hey, I'm interested in this project could you please allow me to work on it?


New Behavior (?) from Appsync -- Nested null  @hasOne objects in createObject and updateObject (but NOT getObject or listObjects) resolvers throw errors on required attributes: "Cannot return null for non-nullable type: 'ID' within parent ''"

How did you install the Amplify CLI?
N/A
If applicable, what version of Node.js are you using?
N/A
Amplify CLI Version
N/A
What operating system are you using?
N/A
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
type Company
@model
)
{
    id:                     ID!
    owner:                  ID!
    centralInfrastructureId: ID
    centralInfrastructure:   Infrastructure      @hasOne     (   fields:     ["centralInfrastructureId"]      )  <-- this one
}

type Infrastructure
@model
)
{
    id:                     ID!
    owner:                  ID!
    companyId:              ID      @index      (   name:   "byCompany"     )
    # company:                Company @belongsTo  (   fields: ["companyId"]   )  # no longer used
}

If i do a createCompany with a null centralInfrastructureId, the 'nested'  @hasOne centralInfrastructure will be null.
The createCompany and updateCompany resolvers will then choke on the required fields from the nested Infrastructure.

mutation CreateCompany(
  $input: CreateCompanyInput!
  $condition: ModelCompanyConditionInput
) {
  createCompany(input: $input, condition: $condition) {
    id
    owner
   ...
    centralInfrastructureId
    centralInfrastructure {
      id  <-- choke
      owner  <-- choke
      ....

      createdAt <-- choke
      updatedAt <-- choke
      __typename
    }

    createdAt
    updatedAt
    __typename
  }
}

gives me
{
"data":
...
id: <some new id>,
centralInfrastructureId: null,
centralInfrastructure: null,
...
"errors": [
    {
      "path": [
**        "createCompany",
        "centralInfrastructure",
        "id"**
      ],
      "locations": null,
      **"message": "Cannot return null for non-nullable type: 'ID' within parent 'Infrastructure' (/createCompany/centralInfrastructure/id)"**
    },
   ... ( also 'owner' and 'updatedat' and 'createdat')

  ]
}

If I remove the 'required' fields from the mutation return values, the errors go away.
To be clear, the mutation is successful but I think these errors are new, I believe, because I've been handling them so that any errors returned from graphql throw exceptions all over my app and I've only seen these exceptions in my app in the last few days.
But that's like a GetCompany, right?  what happens if i do a GetCompany?
query GetCompany($id: ID!) {
  getCompany(id: $id) {
    id
    owner
    ...
    centralInfrastructureId
    centralInfrastructure {
      id
      owner
      ...
      createdAt
      updatedAt
      __typename
    }
    ...
    createdAt
    updatedAt
    __typename
  }
}

Success!  No errors.
{
  "data": {
    "getCompany": {
      "id": "49e8fddc-99d4-4997-88ac-76ee5baf806c",
      "owner": "a4c87468-3071-700a-0172-903242e45dc1",

      "centralInfrastructureId": null,
      "centralInfrastructure": null,
      "createdAt": "2024-06-28T14:42:22.833Z",
      "updatedAt": "2024-06-28T14:42:22.833Z",
      "__typename": "Company"
    }
  }
}

I can work around these new errors (though I'd rather not).
Is this suposed to be what happens?  Create and Update resolvers return the same data as Get and List resolvers, but only the Create and Update resolvers return exceptions as well?
I also have similar schemas in different accounts (not exactly the same) and I haven't seen this behavior there.
Update resolvers don't throw exceptions on null nested @hasOne objects in these different apps.
Expected behavior
Expect above CreateCompany mutation to not throw errors when nested @hasOne object is null.
Reproduction steps

deploy a schema with a similar @hasOne relationship as above
execute a Create mutation with a nested return object.

Project Identifier
d3r48sibna3q31
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

<EMAIL_ADDRESS>has been released with a feature flag to opt-out of the new behavior.
Please see the updates to following docs:

https://docs.amplify.aws/gen1/javascript/build-a-backend/graphqlapi/subscribe-data/
https://docs.amplify.aws/gen1/javascript/tools/cli/reference/feature-flags/#subscriptionsInheritPrimaryAuth.


nat: fix missing L3 pseudo-header csum diff applied into L4

In context of an ICMP need to frag received, the NAT happening in the embbeded packet is missing applying the L3 pseudo-header csum diff into the TCP/UDP header.

@liuyuan10 if you have a moment to look at it.

LGTM
wondering why you didn't choose to copy snat_v4_rewrite_ingress() and make small adjustment to it? Looks like you did some refactor to it which in the end is doing the same thing as snat_v4_rewrite_ingress()

I'm not very glad about my change and not really happy with the current implementation in snat_v4_rewrite_ingress|egress The implementation is breaking the design and abstraction made in csum_l4_offset_and_flags by hacking .offset and .flags for ICMP that to force updates on L4.
If you have suggestion that would avoid that I will be glad to fix it on all functions.

/test

@julianwiedmann any chance that you review this one you have the context the case.

With https://github.com/cilium/cilium/pull/25054 merged, is there still any value in maintaining different styles of checksum logic?
I'd much rather see this whole function aligned with what snat_v4_icmp_rewrite_ingress_embedded() and the other NAT rewrite functions do.


Have a way to global config firstPageProgressIndicatorBuilder, newPageProgressIndicatorBuilder and so on.

In case that we do not want to use the default firstPageProgressIndicatorBuilder and we have many place need to apply pagination. So apply customize newPageProgressIndicatorBuilder, newPageProgressIndicatorBuilder in every places are duplicate code.

you can make your own wrapper that applies those defaults.


Support inline markdown images and links

Description
Support inline markdown images and links
Example:
[Link](files/BUCKET/appdata/foo/bar.png)
![Image](files/BUCKET/appdata/foo/bar.png)

Use case/motivation
No response
Related issues
No response
Confidential information

[X] I confirm that do not share any confidential information

Verified on staging env successfully


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter lightcontrol for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.lightcontrol
   -

ERRORS:

[x] :heavy_exclamation_mark: [E145] No "common.news" found for actual version 0.7.0 in io-package.json

WARNINGS:

[x] :eyes: [W202] Version of package.json (0.7.0) doesn't match latest version on NPM (0.5.0)

Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
Note: This issue replaces issue #227
@mcm1957 for evidence

@ioBroker-Bot recheck

Thanks for contacting me.
I received your request to recheck this repository. I will start doing my work soon.
I will close an existing issue and create a new one if still any issues are to be evaluated and potentially to be fixed.
Thanks for spending your time and working at an ioBroker adapter.
your
ioBroker Check and Service Bot

All issues reported earlier seem to be fixed now.
THANKS for your support.
This issue can be closed.
your
ioBroker Check and Service Bot


Running error

I meet the error "tensorflow.python.framwork.errors_impl.NotFoundError: libtensorflow_framework.so: cannot open shared object file : No such file or directory". I hope you have time to help solve it.

Did you solve the problem？i have the same problem，can you help me？thanks

I fix it,you need install TensorFlow-c. Just makefile to get this .so file ,and export to your path.  https://tensorflow.google.cn/install/lang_c#download


Readable auth tokens

Make our frontend apps play nicely with PRX/id.prx.org#166.
As more granular scopes are included in the auth tokens, we'll want to tailor the frontend features based on what the user can do.  To start down that road:

[ ] Make the JWT decodable on the frontend

Ooh, there is already some decoding here.  I didn't know that!

Okay, in that case ... add some easy shortcuts for checking PRX API objects against the token.  Port some of the prx-auth rack/rails code for decoding the tokens.  And checking an object prx:account link against it.


Patches for 4.38.23038

This patch that worked on 4.38.21908 no longer applies on 4.38.23038:
  src/libadobe.so.yaml:
      Remove PDF map widget shown during panning: yes

Is there any blocker to cut a release for that version?

Oh, I didn't get that differences between 4.37 and 4.38 were so big :open_mouth:


pkg/trace/agent: add a realistic throughput benchmark

This change adds a more realistic benchmark, using actual payloads
received from customers (uploaded to a private repository), sending them
into our HTTP receiver directly and benchmarking the time it takes for
them to be received by the writer.
$ DD_TRACE_TEST_FOLDER=~/go/src/github.com/DataDog/trace-agent-test go test -benchtime=5s -bench=Throughput -run=Throughput -benchmem -v ./pkg/trace/agent
goos: darwin
goarch: amd64
pkg: github.com/DataDog/datadog-agent/pkg/trace/agent
BenchmarkThroughput/10.msgp-4         	     200	  33772825 ns/op	  71.25 MB/s	15065299 B/op	  291129 allocs/op
BenchmarkThroughput/100traces.msgp-4  	    1000	   9340890 ns/op	 119.57 MB/s	 5507237 B/op	   75541 allocs/op
BenchmarkThroughput/10traces.msgp-4   	   10000	    523120 ns/op	  78.80 MB/s	  232568 B/op	    3242 allocs/op
BenchmarkThroughput/26.msgp-4         	     500	  15938895 ns/op	  71.41 MB/s	 7206570 B/op	  138086 allocs/op
BenchmarkThroughput/500traces.msgp-4  	     100	  59521270 ns/op	 119.69 MB/s	36957423 B/op	  496708 allocs/op
PASS
ok  	github.com/DataDog/datadog-agent/pkg/trace/agent	41.460s

Results for sequential payload processing using the unmodified benchmark:
name                     old time/op    new time/op     delta
Throughput/39KB/10-4        584µs ± 0%      503µs ± 0%  -13.92%
Throughput/1.1MB/100-4     11.5ms ± 0%      8.7ms ± 0%  -24.06%
Throughput/1.1MB/1951-4    18.0ms ± 0%     15.1ms ± 0%  -16.09%
Throughput/2.2MB/4161-4    40.2ms ± 0%     31.8ms ± 0%  -20.98%
Throughput/6.6MB/500-4     73.5ms ± 0%     57.3ms ± 0%  -22.06%

name                     old speed      new speed       delta
Throughput/39KB/10-4     70.6MB/s ± 0%   82.0MB/s ± 0%  +16.17%
Throughput/1.1MB/100-4   97.4MB/s ± 0%  128.3MB/s ± 0%  +31.69%
Throughput/1.1MB/1951-4  63.1MB/s ± 0%   75.2MB/s ± 0%  +19.17%
Throughput/2.2MB/4161-4  59.8MB/s ± 0%   75.7MB/s ± 0%  +26.56%
Throughput/6.6MB/500-4   96.9MB/s ± 0%  124.3MB/s ± 0%  +28.32%

name                     old alloc/op   new alloc/op    delta
Throughput/39KB/10-4        234kB ± 0%      233kB ± 0%   -0.49%
Throughput/1.1MB/100-4     5.60MB ± 0%     5.51MB ± 0%   -1.69%
Throughput/1.1MB/1951-4    7.30MB ± 0%     7.18MB ± 0%   -1.67%
Throughput/2.2MB/4161-4    15.4MB ± 0%     15.1MB ± 0%   -1.57%
Throughput/6.6MB/500-4     37.6MB ± 0%     37.0MB ± 0%   -1.75%

name                     old allocs/op  new allocs/op   delta
Throughput/39KB/10-4        3.37k ± 0%      3.24k ± 0%   -3.91%
Throughput/1.1MB/100-4      79.7k ± 0%      75.5k ± 0%   -5.21%
Throughput/1.1MB/1951-4      145k ± 0%       138k ± 0%   -5.16%
Throughput/2.2MB/4161-4      307k ± 0%       292k ± 0%   -5.05%
Throughput/6.6MB/500-4       524k ± 0%       497k ± 0%   -5.23%

@LotharSee I will try and apply your comment about the HTTP request.

Next week is release testing week for 6.11 and I'll be monitoring it extensively.


Have forceNewSession behave like createIfNone if no sessions are present

The idea is, forceNewSession should just do what createIfNone does if no session was found.

Good idea @joyceerhl. Added that.


Security of User profile details

On zen, when signing up there is little information on security.
or even what is going to be publicly available on my profile.
Is my phone number,email, date of birth and address all publicly viewable?
I'm not really comfortable having all those associated with my full name is a way that is potentially searchable online.
I think that needs to be considered in order to protect users from possibly doxxings form third parties.
If it is hidden fro other users and google, this isn't being clearly indicated anywhere on the platform.

Hi @noodleworm,
Your details are not publicly viewable. We're adding a couple of things to the system to make this clearer for users. We'll be adding a banner as in https://github.com/CoderDojo/community-platform/issues/738 and in the long term we want to have a "public profile view" similar to LinkedIn (see this issue https://github.com/CoderDojo/community-platform/issues/739).
The list of issues here is for reporting bugs and suggesting new features. If you want to open up a discussion about a potential feature or idea I would suggest using the community forums - https://forums.coderdojo.com/


Service Principal cache file not getting generated when using az aks create

Describe the bug
I am using azure-cli through Powershell using Terminal. According to docs and other issues, when I trigger az aks create..., I expected a ~\.azure\aksServicePrincipal.json file but none is created. Thus everytime I create a cluster, a new service principle is generated in Azure AD.
Command Name
az aks create
Errors:
None. Except the cache file is not created.
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks create --resource-group {} --name {} --node-count {} --enable-addons {} --ssh-key-value {} --kubernetes-version {} --node-vm-size {} --node-count {}

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Installer: MSI

azure-cli 2.5.0

Additional Context

Using Powershell 5
Tested with Terminal, Powershell, cmd both with and without admin privileges.

aks

routing to aks team

@SayakMukhopadhyay - to mitigate this issue, you can first explicitly create the service principal:
az ad sp create-for-rbac --skip-assignment --name {}
Then pass the app-id and password in to your az aks create command via parameters --service-principal and --client-secret

Yeah, I am aware of this, In fact I am using a managed identity for now.

Looks like this answer was addressed above, so closing this issue.

Hi @Jen7714
The workaround given above does not solve this issue so I dont think this issue should be closed. The CLI and the docs clearly states that on not supplying a service principle, one is created and is cached locally. This local caching is not happening.


There is an issue with the StackStorm Kafka pack in stackstorm 3.8.0

It seems that the Kafka pack is not compatible with st2 3.8.0, on Python 3.8.10. I am currently experiencing an issue with the StackStorm Kafka pack, and I'm reaching out to the community for assistance.
Seeing invalid syntax error (uses a newly reserved keyword: async)
st2 run kafka.produce topic=test message='StackStorm meets Apache Kafka'

stderr: "Traceback (most recent call last):
File "/opt/stackstorm/st2/lib/python3.8/site-packages/python_runner/python_action_wrapper.py", line 264, in _get_action_instance
actions_cls = action_loader.register_plugin(Action, self._file_path)
File "/opt/stackstorm/st2/lib/python3.8/site-packages/st2common/util/loader.py", line 173, in register_plugin
module = imp.load_source(module_name, plugin_abs_file_path)
File "/usr/lib/python3.8/imp.py", line 171, in load_source
module = _load(spec)
File "", line 702, in _load
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/opt/stackstorm/packs/kafka/actions/produce.py", line 2, in
from kafka import SimpleProducer, KafkaClient
File "/opt/stackstorm/virtualenvs/kafka/lib/python3.8/site-packages/kafka/init.py", line 12, in
from kafka.producer import SimpleProducer, KeyedProducer
File "/opt/stackstorm/virtualenvs/kafka/lib/python3.8/site-packages/kafka/producer/init.py", line 1, in
from .simple import SimpleProducer
File "/opt/stackstorm/virtualenvs/kafka/lib/python3.8/site-packages/kafka/producer/simple.py", line 58
return '' % self.async
^
SyntaxError: invalid syntax`

If anyone has experience with this issue or suggestions for troubleshooting, I would greatly appreciate your insights.
Thank you in advance for your time and assistance.
@armab

Posted in the wrong respository. hence closing


Partial line coverage false fail.

I know partial line coverage is still a WIP but I figured I'd highlight a false positive.
It's the only one I've hit so far.
See the report. The issue is with:
if ((timeoutId && trailingCall) || (maxTimeoutId && trailing)) {

both conditions are hit via the unit tests.

@jdalton I believe the more appropriate place to file this issue would be on the CodeCov support site: https://github.com/codecov/support
The codecov.io tool does nothing more than upload the contents of the piped file.


Added e2e test case for network partition.

Added e2e test case which verifies if a node can return to cluster after longer network partition. Valid for gce.

@quinton-hoole
This PR already has been reviewed and merged as #8862. Then, it was reverted in #9183 because of flakiness. The flakiness was caused by the wrong order of he arguments for wait.Poll (in waitForRCPodOnNode and waitForRCPodToDisappear methods in util.go) and too small timeouts, which  is fixed now.

LGTM!  Thanks Jerzy!

@jszczepkowski We're seeing a lot of timeout errors in the Node Resize test after this commit. Could you please investigate?
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/resize_nodes.go:409
Expected error:
    <*errors.errorString | 0xc20811c5f0>: {
        s: "timed out waiting for the condition",
    }
    timed out waiting for the condition
not to have occurred

See also #9487.  To be clear, this is likely to be a system problem, not necessarily a problem with this test.  But either way it needs to be investigated (in #9487 please).


Support Secure Mode for Armv8-m (e.g. Secture Interrupt Vector Table)

TrustZone in Armv8-m processors like the Cortex-M23 and Cortex-M33 supports a second 'secure' copy of registers like SysTick and VTOR. It also supports a second interrupt vector table.
I'd like to add support, but it should be behind a feature flag as not all Cortex-M23/33 implementations support Secure Mode.
References:

https://community.arm.com/cfs-file/__key/telligent-evolution-components-attachments/01-2057-00-00-00-01-28-35/Cortex_2D00_M-for-Beginners-_2D00_-2017_5F00_EN_5F00_v2.pdf
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0550c/Cihjajhi.html

I wrote an example to use Rust to write Secure and Non-Secure World applications with TrustZone: https://github.com/luojia65/trustzone-m-rs


Move the res.write interception into a separate repo

It needs to be in it's own repo so it can be well-tested and not need tests polluting this library.

Any updates on this? I need this for a bandwidth monitoring middleware I'm working on. For now, I resorted to copy-pasting the code from here :/

I've started working on something for my own middleware: https://github.com/strongloop/express/issues/2811#issuecomment-158633664
Would be nice to publish this as a separate middleware and see if it works as expected with compression middleware. e.g.:
import responseStream from 'response-stream';
app.use(responseStream);
app.use(compression);

The compression module could add itself to the list of transform stream with res.use(compressionStream) instead of having to patch res.write/res.end.
Let me know your thoughts.

Created a repo here: https://github.com/olalonde/express-transform

@expressjs/express-tc is this something you want to pursue in Express?


Segmentation fault on quit

This started occurring after the UI rework, and is most likely related to signals being emitted to freed objects.
Quitting
zsh: segmentation fault (core dumped)

This happens on both debug and release exports, but not when run from editor.
First commit during which this occured:
https://github.com/NiclasEriksen/game-of-leif/commit/fe51450f4f23ec839217e33963f2f1374f442c39

Ugly fix committed in 713dd1b81209cd6acd5e1efeab3dd3c9989e51d4.
Kill process after 0.25s yield and freeing Godot nodes. Cause is still unknown, but it doesn not occur when GDNative node LeifWorld has not been in the tree, and still occurs after it has been freed. Adding it to the tree once is enough to cause this.


200 EC2 Web Application - Multiple Deployments

Description of changes:
Changed DB1SubnetGroup.DB1SubnetGroupName to use the NamingPrefix in order to make multiple
deployments on one account easier.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thank you @uint0


ListObject startAfter not working when key does not exist (s3mem)

If you have objects named "1", "3" in a bucket, then request "startAfter=2", the iterator will point to "3" after
https://github.com/johannesboyne/gofakes3/blob/f7e9c41d81b23d3e28987b9e5e33885f81c035e6/backend/s3mem/backend.go#L95
which will then be skipped past at https://github.com/johannesboyne/gofakes3/blob/f7e9c41d81b23d3e28987b9e5e33885f81c035e6/backend/s3mem/backend.go#L102
I believe that line 95 should only move past the result if it is equal to the marker (which appear to be a noop directly after a seek)

https://github.com/johannesboyne/gofakes3/pull/88


Created all six models but without any database interrelationship, review or migrations

I suggest we create the school and student as apps instead of models in the same app, as it will enable easy dashboard differentiation.

Yes there will be an app just for accounts(student and school)
And then an app for the other functionalities.


Add a collection to the index

Collection name
mycollection
Maintainer name
brigit
Maintainer contact link (i.e. repo issues link, email)
github.com
Repository URL
github.com
OCI Reference
github.com
I acknowledge that this collection provides new functionality, distinct from the existing dev container collections part of this index

[x] Confirm

#sign-off

#sign-off


(doc) Update docs for v2.3.0

Description Of Changes
The changes here are as a result of running GenerateDocs.ps1, and also some manual changes to the source files in CLI and CLE to try to bring things into line.
Motivation and Context
With the upcoming release of Chocolatey CLI v2.3.0, there are some changes to the docs needed.
Testing

[x] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[x] Minor documentation fix (typos etc.).
[ ] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.
[ ] The change I have made should have a video added, and I have raised an issue for this.

Issue #

Change Checklist

[ ] Requires a change to menu structure (top or left-hand side)/
[ ] Menu structure has been updated

Related Issue
N/A

@corbob @st3phhays this is ready for another review.  Still not ready to merge, but it you are happy, leave an approval and I can merge when getting ready for the release.

@JPRuskin I know that this is in draft, but would you mind having a look over this, and hopefully give a final approval before we release? Thanks!

@corbob @st3phhays @JPRuskin thank you all for the reviews here!  Going to merge this once the CI build finishes


Create test configs and data sets

Create a small test model configuration, data set, etc. to include in the tests/data directory so that we can test loading functions, config parsing, etc.

Adding necessary config files and data to run test_run_transformers.py in PR #47.  Change the data directory with python test_run_transformers.py --data-dir tests/deepdisc/test_data/hsc/


Nested guardians

Version
3.0.3
Reproduction link
https://jsfiddle.net/y_nk/fm7d0jr9/1/
Steps to reproduce

open link

open console

click on "user1"
=> user: before route enter

click on "user details"
=> user: before route update
=> user details: before route enter

What is expected?
on the step4, in the context of "User" route being described as "/user/:id", "beforeRouteUpdate" guardian of User route should not be called.
What is actually happening?
the route guardians are called wether or not the segment of url concerned is updated or not.

I think i understand the point of view which is "yes but all the url changed, so all guardians should be called" but i don't think it's necessary useful. If you consider the built demo, each time we arrive in the "User" view, an xhr call to load basic user data should be made ; that call would be unnecessarily repeated when changing subviews.

The rule for update guards is: if the url changes, for any component that was already present and will still be present after navigation, we invoke its update guard.
This is more flexible.
If you want to avoid redudant API calls, there are multiple ways like using a cache or comparing to.params.id with from.params.id
BTW, in your repro you have two params with the same name id


Class tinyCapsuleNet calls super of CapsuleNet

Hi Fabio, great stuff.
When I init a tinyCapsuleNet I get a type error:
TypeError: super(type, obj): obj must be an instance or subtype of type
because the other class' super is called. Changing it resolves the issue.

Fixed, thank you for spotting it!


refactor(cli): Put CLI subcommands into separate files

This PR is a pure refactor, it just puts the subcommands into separate files. The Cli.java file was growing too large for my liking, I started having trouble navigating it.

@fermadeiral @khaes-kth Either one of you could review this, whomever feels like it first just assign yourself as reviewer :)

Thanks @slarse


No audio/response from API

I keep seeing this error when i end my speech and there is no response from the API. Not sure what's wrong

Thanks for report! Tried reproduce, however works on my side. For some reason service does not respond successfully.
Do you see anything on ResponseDone event status_details field?
https://platform.openai.com/docs/api-reference/realtime-server-events/response/done

closing as no response

wow, though nice work @jhakulin