"No auth token" using authenticate  strategy: 'jwt' (v.1.0.0-beta-2)

Should strategy: 'jwt' work on v.1.0.0-beta-2 ?
NOT working:
app.authenticate({ strategy: 'jwt', token })

working (as on older version):
app.authenticate({ type: 'token', token })

working:
app.authenticate({ strategy: 'local', email, password })

Module versions
    "feathers": "^2.0.2",
    "feathers-authentication": "^1.0.0-beta-2",
    "feathers-authentication-client": "^0.1.3",
    "feathers-authentication-jwt": "^0.2.0",
    "feathers-authentication-local": "^0.3.0",
    "feathers-configuration": "0.4.1",
    "feathers-errors": "2.5.0",
    "feathers-hooks": "^1.7.0",
    "feathers-hooks-common": "^2.0.2",
    "feathers-mongoose": "3.6.1",
    "feathers-permissions": "^0.1.1",
    "feathers-rest": "1.5.2",
    "feathers-socketio": "1.4.2",

NodeJS version:
v7.2.0
Operating System:
MacOS Sierra
Browser Version:
Chrome 54.0.2840.98 (64-bit)
Module Loader:
webpack 2.1.0-beta.27

I have the same issue

It seems related to the auth.authenticate(['jwt', 'local']) hook.
When I use it in any hook, I always get Unhandled rejection NotAuthenticated: No auth token.
For example on the authentication service hooks I have:
  app.service('authentication').hooks({
    before: {
      create: [
        auth.hooks.authenticate(['jwt', 'local']),
        setupJWTPayload(),
      ],
    },
  });

then (with session enabled in configs) no error using app().authenticate() (without arguments) from the client side using sockets.
But if I try to call the REST endpoint POST /authentication with username/password params I get:
  feathers-authentication:passport:authenticate Authentication strategy 'local' failed +1ms { message: 'Missing credentials' } 400
  feathers-errors NotAuthenticated(401): No auth token +0ms
  feathers:rest Error in REST handler: `No auth token` +8ms
  feathers-authentication:middleware:failure-redirect Clearing old 'feathers-jwt' cookie +2ms
  express:router <anonymous><EMAIL_ADDRESS>+10ms
  express:router <anonymous><EMAIL_ADDRESS>+0ms
error:   (401) Route<EMAIL_ADDRESS>- No auth token
info:    NotAuthenticated: No auth token
    at NotAuthenticated.ExtendableBuiltin (node_modules/feathers-errors/lib/index.js:21:28)
    at NotAuthenticated.FeathersError (node_modules/feathers-errors/lib/index.js:96:116)
    at new NotAuthenticated (node_modules/feathers-errors/lib/index.js:149:117)
    at node_modules/feathers-authentication/lib/hooks/authenticate.js:80:31
    at process._tickCallback (internal/process/next_tick.js:103:7)

and if I remove auth.hooks.authenticate(['jwt', 'local']) from the authentication hooks, the POST /authentication works, the token and the cookie are created.
using only auth.hooks.authenticate(['local']) I get:

And what's the real purpose of the auth.hooks.authenticate() hook?
It is used to enable the auth with certain strategy or it require the auth for specified strategies? It's unclear.
Should it be removed from the before.create of the authentication service?
I found it in the migration guide
Then if we suppose its purpose is for block some service I do:

I remove it from the authentication service (so I can able to generate the token/session)
set it into others service to restrict the access.

then if I generate the token/session from the rest and I use the token to call these restricted service, the access is grant. But the same configuration, from the client side (logged with cookie using app().authenticate() - without arguments), the service are blocked, I get Unhandled rejection NotAuthenticated: No auth token. It seems it want a token authentication in this case.

@foxhound87 it should be accessToken not token that you pass from the client.

Other issues:

The payload contains the user ID only if I call the the services from the client side using the socket. Even the customizeJWTPayload will not work if I call the authorization from the rest.

The verifyJWT should be in the app.passport object. But in the client side is missing.

@ekryski thank you for your answer.
I tried both:
.authenticate({ type: 'accessToken', token })
.authenticate({ strategy: 'accessToken', token })
not working.
But now I'm not using the token anymore, I'm using .authenticate() without params for sessions.
Still errors: NotAuthenticated: No auth token.

@foxhound87 the reason you are getting unhandled rejection is because the auth client is trying to authenticate automatically on initialization. @marshallswain added this for SSR but I need to tidy it up a bit so that it doesn't just throw an error. It has nothing to do with the server side.

Your client should be .authenticate({ strategy: 'jwt', accessToken: token }).
Server side should be:
  app.service('authentication').hooks({
    before: {
      create: [
        auth.hooks.authenticate(['jwt', 'local'])
      ],
    },
  });

I have no auth token when I log in with rest instance of feathers and I use socket instance later.

@bertho-zero, the feathers client only works with one provider at a time, so you'd have to have two app instances to switch providers.  It could still work, but each app would have to authenticate individually.

Ah ok, I was absolutely looking to share the token between the 2 instances.
Why not try to take it to the localStorage if it is there?

@bertho-zero it will do that but the problem is that since you are authenticating with effectively 2 different apps the tokens will be different. You'd likely want to give one a different localstorage key name. Otherwise they would overwrite each other every time you successfully authenticate.
@foxhound87 did you get your stuff working? We just pushed a bunch of updates and bug fixes so if you are still having issues you might want to try moving to the official 1.0.x and the latest version of all plugins.

With feathers-rest , setting up the client to look for the token in localStorage will work without having to call feathersClient.authenticate().  Since socket connections are flagged as authenticated on the server side, you'll have to for sure call feathersClient.authenticate() with the instance that uses feathers-socketio.

@ekryski I authenticate with a single instance, there is no problem with the token itself, but I would like to share the token between the two instances. For that it would be enough that the client's hook would look in the localStorage no?
@marshallswain If I use the socket everything works, it's just for practical questions that I preferred to see the query, it's less practical with socket.

@bertho-zero are you talking about the logs? I'm getting no logs on server terminal when calling a service from the feathers-client with socket, the logs are shown only from the rest api (I'm using postman).
@ekryski I updated all feathers dependencies:
    "feathers": "^2.0.3",
    "feathers-authentication": "^1.0.2",
    "feathers-authentication-client": "^0.1.6",
    "feathers-authentication-jwt": "^0.3.0",
    "feathers-authentication-local": "^0.3.2",
    "feathers-configuration": "^0.4.1",
    "feathers-errors": "^2.5.0",
    "feathers-hooks": "^1.7.0",
    "feathers-hooks-common": "^2.0.2",
    "feathers-mongoose": "^3.6.1",
    "feathers-permissions": "^0.1.1",
    "feathers-rest": "^1.5.2",
    "feathers-socketio": "^1.4.2",

Using the cookie on the feathers configs and authenticate() without params: first of all, the cookie is never set in the browser, from the server side I cannot access the cookie in the request, and the authenticate() without params is always failing on the server side.
Anyway, I don't think that is the way to go, I think that the API Server should be completely stateless, accessible with the JWT token strategy or the local (username/password) strategy.
The SSR Server (which will call the same feathers-client apis both on client and server), instead, should be stateful, should handle the JWT token in the cookie, and proxy all request to the API Server using the JWT strategy and the feathers-client authenticate({ strategy: 'jwt', accessToken: token }) both on client side and server side. I Think every request to the API Server should be authenticated before calling a service (both on client side and server side).
As feathers is not able to set a cookie properly (even with the latest versions), I disabled it on the feathers config and implemented myself on the SSR Server (some workaround was needed but I'm now able to authenticate with that process).
Now assume we have a restricted service using the auth.authenticate(['jwt', 'local']), hook.
It seems that after the logout is done on the browser, and I reload the page, on the server side I don't get anymore the cookie with the jwt, the authentication is not done - and it's ok - but the service request is served (data is retrieved, the auth hook is bypassed, no auth error thrown!!!).
How feathers keeps the subsequent requests authenticated if the feathers cookie is not present in the request?
To avoid this behavior, I have to force logout with app.logout() on the server side on every request if a cookie/token is not present.
Other Issues:

I'm not able to use local stragety from the REST
It's like the jwt and local strategies on the same endpoint are overlapping, for example, if I switch the order of the authenticate hook array to ['local', 'jwt'] says Missing credentials (even if the username/password params are provided).
Otherwise - using ['jwt', 'local'] - calling POST /authentication with username/password params will throw always: No auth token.
Maybe the required headers or params are changed with the latest updates? Would be nice to have a complete documentation to clarify all params for the requests, right now I'm getting all the info around the github issues because the current state of the doc is not sufficiently comprehensive (maybe for me as Italian is more difficult, but sometimes is a matter of lack of info).

I setup a customJWTPayload in the before.create hook of the authentication service  (as shown in the migration guide). From the feathers-client calls all services gets the additional ID data (which was set by setupJWTPayload with hook.params.user.id) even if the setupJWTPayload is not present on others services hooks. I think this is not so good behavior to mix data from the authentication hooks to the others services. In fact, if I call a service from the REST I don't get the extra data because the authentication service and customJWTPayload are never executed on a single REST call (Which I initially thought was the wrong behavior). Even in this case, like the force logout() issue, seems like feathers keeps it's own internal state when using the feathers-client. (this is tested using the jwt strategy - not tested with feathers cookies config as I still cant make it working).

I hope this can help you to understand better the needs of the users or improve the feathers experience, as we don't know how feathers works under the hood and if some behaviors are correct and works as expected.
Thank You.

@foxhound87 we fixed some coolie-related bugs, yesterday.  The latest versions of all packages should hopefully set cookies properly.
As for the first bullet point, where the order of the strategies matters, that's a PassportJS issue.  It's a little annoying because all of the strategies actually do run, but when they all fail, only the error for the first one in the list is returned.

If you have all of the latest packages, please post an example repo.  I had one ready for debugging OAuth login and it made it much easier to get a fixed release out.

@marshallswain
https://bitbucket.org/foxhound87/rfx-stack-ssr-test/src
https://bitbucket.org/foxhound87/rfx-stack-ssr-test/src/e7b2c0512ff455782cde9f657489f41000789b49/?at=ssr-cookie
The master branch is with the feathers cookie config (not working so well).
The ssr-cookie branch is my attempt with my own implementation of the cookie on the SSR server (which is working pretty well)

Another Issue is that app.logout() is never resolved,
and this was causing unexpected behaviors on the server side.

@foxhound87 is that the case in the example you posted above?  We merged a fix for that which should have been published yesterday.

@marshallswain yes, I'm using proper git comments to help you to fix these issues,
I shared this repo with @daffl on slack too some days ago.
https://bitbucket.org/foxhound87/rfx-stack-ssr-test/branch/ssr-cookie
I see that there was a related merge 2 days ago, but maybe is not completely fixed,
I get Warning: .then() only accepts functions but was passed: [object Undefined]

And from the feathers-client authenticate() I'm getting Warning: a promise was created in a handler but was not returned from it. I see these warnings using bluebird, I suggest to use it to highlight some strangeness, I think it can ensure a more stable implementation of promises.

^ @foxhound87 regarding that warning from Bluebird. Some promises are intentionally created that way but I also have a fix coming for the error around automatic authentication throwing an unhandled promise rejection error.

As for the first bullet point, where the order of the strategies matters, that's a PassportJS issue. It's a little annoying because all of the strategies actually do run, but when they all fail, only the error for the first one in the list is returned.

This is now partially resolved. If you specify the strategy on the client the server will only attempt to use that one. It won't run through them all now and will return the proper error.

Another issue is that app.logout() is never resolved

This has been fixed in https://github.com/feathersjs/feathers-authentication/pull/369.

@ekryski I authenticate with a single instance, there is no problem with the token itself, but I would like to share the token between the two instances. For that it would be enough that the client's hook would look in the localStorage no?

@bertho-zero it should do that yes. If that is still an issue maybe create a separate issue with a simple example that demonstrates that problem and we'll see if we can fix it up! 😄

Honestly, I'm getting a bit lost in this thread as to what the actual issues are anymore. I'm going to close this issue. @foxhound87 please open new ones for each individual issue you are having with a simple reproducible example and feel free to copy-paste the relevant info from this thread for each one. Your RFX stack stuff is awesome but it's a lot to sift through to figure out what could be the issue and it will be much faster to solve any problems if we can quickly reproduce the issue. 😄

Hello, I'd like to ask about this error. I also get this type of error in my client and every time I use a service it has to be preceded with a client.authenticate() method so that the authenticate(['jwt', 'local']) hook will not return an error, is that normal?

Hello, is it normal to use client.authenticate() every time I use a service? I have to add client.authenticate() everytime I use a service.

Oh nevermind, I found the answer the answer already. It's on #68


[Question] Why the browser not setting up basic auth credentials when using restart: true

I set config like this and then I use command yarn codeceptjs run-workers 3 --grep parallel
Why CodeceptJS restart the browser and not set basic auth when starting a new window?
let playwrightConfig = {
    url: `${process.env.SITE_URL}/${process.env.SITE_LANGUAGE}`,
    show: true,
    restart: true,
    basicAuth: {
        username: process.env.USERNAME_HOST,
        password: process.env.PASSWORD_HOST,
    },
    waitForNavigation: 'load',
    waitForTimeout: 30000,
    getPageTimeout: 60000,
    waitForAction: 500,
    browser: 'chromium',
}

Details

CodeceptJS version: v3.0.1
NodeJS Version: v12.14.1
Operating System: OSX v 10.15.7
playwright version: v1.5.2

@golfzaptw From the code, playwright helper will set the basic authentication only if there is a amOnPage step called
https://github.com/codeceptjs/CodeceptJS/blob/1c02e9e96e0cbb566b1c6b336cd4127d6e600991/lib/helper/Playwright.js#L644
Therefore, you might need to call the amOnPage for each of the test.
Another approach is to make a PR to set the basic authen in the _startBrowser() instead.

@idxn As far as I see, this function is not set isAuthenticated to false after all step is done and close browser then I use amOnPage it not set credentials because conditions are this.isAuthenticated !== true
https://github.com/codeceptjs/CodeceptJS/blob/1c02e9e96e0cbb566b1c6b336cd4127d6e600991/lib/helper/Playwright.js#L320

@golfzaptw You may try setting isAuthenticated manually somewhere.
this.helpers["Playwright"].isAuthenticated=false

@idxn thank you so much for clarifying


Why the function I defined do not work?

void copy_value_to_deq(list<int>st, deque<int>deq1,deque<int>deq2)
{
	for (const auto& c : st){
		if (c % 2 == 0)
			deq2.push_back(c);
		else
			deq1.push_back(c);
	}
}
int main()
{
	deque<int>dq1;
	deque<int>dq2;
	list<int> ist= {1,2,3,4,5,6,7,8,9,0};
	copy_value_to_deq(ist, dq1, dq2);
	for (const auto& i:dq1) {cout << i << " ";}
	return 0;
}

I defined copy_value_to_deq() in order to get odd value from the list.However,there was no output in the screen.It seems like the function doesn't play a role in the program.
I  am appreciated anyone for answering my question!

change
void copy_value_to_deq(list<int>st, deque<int>deq1,deque<int>deq2)

to
void copy_value_to_deq(list<int> st, deque<int>& deq1,deque<int>& deq2)

Thank you for answering !
All the  best in your work!


Fix a missed option parameter

It missed the option parameter "-h" for the command dockerd.
Signed-off-by: yuexiao-wang<EMAIL_ADDRESS>

If I recall correctly, this was done by intent. -h still works for compatibility reasons, but it is no longer advertiesed because it has different meanings in some docker subcommands.
For that reason, the completions do not suggest -h, too.

@albers PTAL
It is inconsistent between documents and usage for the command dockerd. Should we remove "-h" from the usage?
Thanks!
$ dockerd -h
Usage: dockerd [OPTIONS]
A self-sufficient runtime for containers.
Options:
--add-runtime=[]                         Register an additional OCI compatible runtime
--api-cors-header                        Set CORS headers in the remote API
--authorization-plugin=[]                Authorization plugins to load
-b, --bridge                             Attach containers to a network bridge
--bip                                    Specify network bridge IP
--cgroup-parent                          Set parent cgroup for all containers
--cluster-advertise                      Address or interface name to advertise
--cluster-store                          URL of the distributed storage backend
--cluster-store-opt=map[]                Set cluster store options
--config-file=/etc/docker/daemon.json    Daemon configuration file
--containerd                             Path to containerd socket
-D, --debug                              Enable debug mode
--default-gateway                        Container default gateway IPv4 address
--default-gateway-v6                     Container default gateway IPv6 address
--default-runtime=runc                   Default OCI runtime for containers
--default-ulimit=[]                      Default ulimits for containers
--disable-legacy-registry                Disable contacting legacy registries
--dns=[]                                 DNS server to use
--dns-opt=[]                             DNS options to use
--dns-search=[]                          DNS search domains to use
--exec-opt=[]                            Runtime execution options
--exec-root=/var/run/docker              Root directory for execution state files
--fixed-cidr                             IPv4 subnet for fixed IPs
--fixed-cidr-v6                          IPv6 subnet for fixed IPs
-G, --group=docker                       Group for the unix socket
-g, --graph=/var/lib/docker              Root of the Docker runtime
-H, --host=[]                            Daemon socket(s) to connect to
-h, --help                               Print usage
--icc=true                               Enable inter-container communication
--insecure-registry=[]                   Enable insecure registry communication
--ip=<IP_ADDRESS>                             Default IP when binding container ports
--ip-forward=true                        Enable net.ipv4.ip_forward
--ip-masq=true                           Enable IP masquerading
--iptables=true                          Enable addition of iptables rules
--ipv6                                   Enable IPv6 networking
-l, --log-level=info                     Set the logging level
--label=[]                               Set key=value labels to the daemon
--live-restore                           Enable live restore of docker when containers are still running
--log-driver=json-file                   Default driver for container logs
--log-opt=map[]                          Default log driver options for containers
--max-concurrent-downloads=3             Set the max concurrent downloads for each pull
--max-concurrent-uploads=5               Set the max concurrent uploads for each push
--mtu                                    Set the containers network MTU
--oom-score-adjust=-500                  Set the oom_score_adj for the daemon
-p, --pidfile=/var/run/docker.pid        Path to use for daemon PID file
--raw-logs                               Full timestamps without ANSI coloring
--registry-mirror=[]                     Preferred Docker registry mirror
-s, --storage-driver                     Storage driver to use
--selinux-enabled                        Enable selinux support
--storage-opt=[]                         Storage driver options
--swarm-default-advertise-addr           Set default address or interface for swarm advertised address
--tls                                    Use TLS; implied by --tlsverify
--tlscacert=~/.docker/ca.pem             Trust certs signed only by this CA
--tlscert=~/.docker/cert.pem             Path to TLS certificate file
--tlskey=~/.docker/key.pem               Path to TLS key file
--tlsverify                              Use TLS and verify the remote
--userland-proxy=true                    Use userland proxy for loopback traffic
--userns-remap                           User/Group setting for user namespaces
-v, --version                            Print version information and quit

I found it: see https://github.com/docker/docker/blob/master/docs/deprecated.md#-h-shorthand-for---help
Seems like -h was only deprecated in subcommands. @thaJeztah is that correct? Should docker and dockerd have an advertised -h option?

I believe we wanted to remove it everywhere.  I've got a fix for this as part of #25354

@dnephin PTAL
Should docker and dockerd remove an advertised  -h option?

Should docker and dockerd remove an advertised -h option?

Yes

@dnephin @albers PTAL
According to the comments, I have remove the "h' option for docker and dockerd. and updated this PR.
Thanks!

LGTM, thanks very much. (I am not a maintainer)

Ah, darn, I just noticed that the subcommands print a deprecation warning if -h is given:
# docker volume ls -h
Flag shorthand -h has been deprecated, please use --help
[...]

So docker and dockerd should probably behave the same.

Now that #25354 is merged, they should behave the same way.


How can I get scrcpy to open automatically as I connect phone to usb? Also screen off upon exit and allow access to phone data on the phone upon connection..

3 questions:
Is there a way for the phone to automatically run the scrcpy shortcut on the taskbar as soon as I plug USB to the phone?
How can I always allow the prompt on android screen to access the phone data when I plug the phone to computer?
How can I force screen not to turn on when I unplug the phone from computer or close the scrcpy app?
Thank you

Is there a way for the phone to automatically run the scrcpy shortcut on the taskbar as soon as I plug USB to the phone?

https://github.com/Genymobile/scrcpy#autostart-on-device-connection

How can I always allow the prompt on android screen to access the phone data when I plug the phone to computer?

If you talk about the USB debugging popup, just check "Always accept" (or similar). If you talk about the "MTP/PTP" dialog, I don't know.

How can I force screen not to turn on when I unplug the phone from computer or close the scrcpy app?

When you unplug the device, it leaves the screen as is.
If you pass --turn-screen-off (or press MOD+o during mirroring), then the device screen is ON but "physically" OFF. In that case, it will switch back to "physically" ON on close (but still leave the screen state as it was). Refs #1764.

I use  --turn-screen-off on shortcut and it turns screen off. Upon exiting the app to unplugging the phone switches screen to ON. Id like screen to stay as is (which is initially off by --turn-screen-off) upon both exiting the pap and unplugging but now it defaults screen to ON. how can I make screen always stay off?
where do I place this command on shortcut?
"autoadb scrcpy -s '{}'"
the prompt is ""Allow access to phone data? the connected device will be able to access data on this phone." Its samsung S7 android 8 version. there is no "always accept" how can I have this always accept?

I use --turn-screen-off on shortcut and it turns screen off. Upon exiting the app to unplugging the phone switches screen to ON. Id like screen to stay as is (which is initially off by --turn-screen-off) upon both exiting the pap and unplugging but now it defaults screen to ON.

If you use --turn-screen-off, and wait for the device display to be off also in the scrcpy window (after timeout), and then unplug, does it turn the device screen on?

I use --turn-screen-off on shortcut and it turns screen off. Upon exiting the app to unplugging the phone switches screen to ON. Id like screen to stay as is (which is initially off by --turn-screen-off) upon both exiting the pap and unplugging but now it defaults screen to ON.

If you use --turn-screen-off, and wait for the device display to be off also in the scrcpy window (after timeout), and then unplug, does it turn the device screen on?

I just tested, exactly as you said, it still turns the device screen on
I managed to disable prompt, it was thanks to installing samsung USB driver for mobile phones.. now there is no prompt upon plugging USB
where do I place this command on shortcut?
"autoadb scrcpy -s '{}'"
Where will I place the --legacy-paste to shortcut?
How can I take screenshot with scrcpy?

I just tested, exactly as you said, it still turns the device screen on

Oh, on my device, USB-unplugging the device turns it on, scrcpy or not.
However, just closing scrcpy does not.

where do I place this command on shortcut?
"autoadb scrcpy -s '{}'"
Where will I place the --legacy-paste within the shortcut?

Sorry, I don't really know how Windows shortcuts work.
But just place your commands in a .bat file: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows

How can I take screenshot with scrcpy?

Currently, it's not possible (you can only record a video scrcpy --record file.mkv). See #684

Could you please tell me what I need to write within vbs or bat file for all these to be applied together?

turn off screen
legacy paste
auto start with USB?

how could these be applied to shortcut? If I place this on target section of the shortcut (it has to be shortcut for .exe file, then it turns screen off, but if I add legacy and adb autostart the shortcut doesn't run the app. how could I make this work?
"D:.....\scrcpy-win64-v1.16\scrcpy-noconsole.exe" --turn-screen-off
Also how can I create exe file for 1.17 version? there is only scrcpy.exe. Id like to have as before scrcpy-noconsole.exe and preferably an exe along with all these features above Id like to add. How can that be done?
note: I just checked, yes closing app doesn't turn on screen. How can I have the screen not go off when unplugging USB?
Thank you

When I execute autoadb scrcpy -s '{} on the same folder with scrcpy.exe, adb.exe and autoadb.exe inside, I have this error message :
Deteted device mveuq4twkjg6pn8x
scrcpy 1.21 https://github.com/Genymobile/scrcpy
adb: error: failed to get feature set: device ''{}'' not found
ERROR: "adb push" returned with value 1
ERROR: Server connection failed
I have no problem running scrcpy manually  besides that...
Thanks for any help !

Do not add quotes:
scrcpy -s {}

Do not add quotes:
scrcpy -s {}

Wow, it was so simple, thanks for the quick reply ! Merci !

Hello, I am too looking into "autostart-on-device-connection" of Scrcpy, unfortunatly without success. That is the error, I get when running scrcpy -s {}
Any help please, or I did not understand exactly how to use "scrcpy -s {}".

Thx

It's autoadb scrcpy -s {}.
See https://github.com/rom1v/autoadb

Thx you very much for the new link for autoadb, it helped a lot.
I followed the step in this, and it is working.
https://github.com/rom1v/autoadb/issues/21#issuecomment-1945645267
Just add a bit issue, for it to start on PC boot, but now it is fine.
Thx ;)


If the repo has no tag and the -t option is not set to false it crashes

It is fixed, thanks to somebody pr


Deleting pets

Hello,
I am unable to remove pets in the 1.10.0 version. Also, one "pet" (I genuinely don't know which one it's supposed to be) looks like an image icon and runs around (it's the default now and I cannot change it to anything else). How could I fix this? I tried uninstalling and installing it again, I ran it a couple of times, the version 1.9.0 worked fine restarting the whole thing also doesn't do anything. I really love this extension and I'd love to fix it.
Thank you

We fixed this issue but it is not in the current release. In the next release this issue will be fixed.

That's awesome. Thank you very much!

@tonybaloney this issue can be fixed.


permissions: search

How to filter fields according to permissions.

A user might have access to restricted files or extension metadata, but other might not. however, the second might still have access to metadata. How do we filter that without leaking info (e.g. checksums, etc.).

I think this is a duplicate of https://github.com/inveniosoftware/invenio-records-resources/issues/41 . If so we can close.

Closing as duplicate (open back if not!)


Prepare for 0.15.2

Changelog, README.md.

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind bug
/kind cleanup
/kind design
/kind failing-test
/kind feature
/kind flaky-test
/kind documentation

If contributing rules or changes to rules, please make sure to uncomment the appropriate kind

/kind rule/update
/kind rule/create

Any specific area of the project related to this PR?

/area engine
/area rules
/area deployment
/area integrations
/area examples

What this PR does / why we need it:
Updating docs for 0.15.2
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: mstemm
If they are not already assigned, you can assign the PR to them by writing /assign @mstemm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mstemm: There is not a label identifying the kind of this PR.
Please specify it either using /kind <group> or manually from the side menu.
In case you do not know which kind this proposal is please mention the maintainers using @team/maintainers.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

LGTM label has been added.  Git tree hash: 7da454ceb094615de936ebd50f3bd0fee9e417bd

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Going ahead and merging now, it's only docs changes.


upgrade dependencies

Upgrade dependencies to pull in a new version of @sveltejs/adapter-static. This will make it so that output is cleared between builds, which will help @userquin's work on better supporting service workers

Excellent! Didn't realise this had been solved, I've run into issues with the adapter before that I think is related to this.


[Community Skin] Programmatically changing src changes the skin from desktop to mobile view

Current Behavior:
When changing the src programmatically, the community skin switches to mobile. When you toggle fullscreen, the view is back to desktop.
Expected Behavior:
The skin should stay in the desktop view after changing sources.
Steps To Reproduce:
Codesandbox for reproduction:
https://codesandbox.io/s/vidstack-src-switch-desktop-to-mobile-h4ev8b
Environment:

Version 0.6.1
Framework: React
Node 18
Browser: Chrome

Thanks for the repro! Should be resolved in 0.6.4 :)


Added new agents

Added new Broken Fang agents

Good work!

Thanks!

Thank you so much for your work.


BottomNaviagation onTap open DFPAdBanner click url

I have a big issue that my app has BottomNaviagation and once i tapped on any item and the current Widget has DFPAdBanner under the BottomNaviagation, the new Widget open and the click url of ads opened. this issue happened on iOS devices only.

Steps to Reproduce

...
...
...

Logs

@besho On which iOS did you test it? Please provide your flutter doctor -v, and a small self-contained app that demonstrates the problem. You can include small examples inline if they're enclosed by backticks, or just provide a public link to a github "gist" - https://gist.github.com/.

Thank you BondarenkoStas.
I used the default BottomNavigationBar. Also i used this library "https://pub.dev/packages/flutter_google_ad_manager" to use DFPBanner on my App. on each widget item, i have DFPBanner below the content of the widget. when i tap on any bottomNavigation tap, and the AdBanner partially appear and partially under the bottomNaviagtion, the Ad 's click url opened.
I tried to use cutom library for BottomNavigationBar but the same issue. Also i tried to add buttons on Row as BottomNavigationBar and i got same issue.
Below are the flutter doctor output:-
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G84, locale en-US)
• Flutter version 1.9.1+hotfix.2 at /Users/Developer/flutter
• Framework revision 2d2a1ffec9 (3 weeks ago), 2019-09-06 18:39:49 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
• Android SDK at /Users/Sarmady/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
• Xcode at /Users/Sarmady/Documents/Xcodes/Xcode.app/Contents/Developer
• Xcode 10.3, Build version 10G8
• CocoaPods version 1.7.5
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 37.1.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[✓] Connected device (2 available)
• iPhone • 57cd6af531045db3609d24a92f5bc375e0ac048d • ios • iOS 12.3.1
• iPhone 6         • FD909885-CB4E-4B5C-AE71-304AC3ED9475     • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-4 (simulator)
• No issues found!

I attached a screenshot of my BottomNavigationBar and as you see part of DFPBanner appears on the screen. if i select the second,third or fourth tab, i got the issue

This may be an issue with the package you're using. Maybe file an issue at https://github.com/ko2ic/flutter_google_ad_manager for it?

Hi @besho
if the issue persist with the latest stable version of flutter
could you please provide your updated flutter doctor -v ,
your flutter run --verbose
and if possible a reproducible minimal code sample.
Thank you

Hi @besho
if you're still experiencing this problem, please create a new issue and provide the information
required in the template.
Thank you


Update Governance voting docs and add reminder for Ledger users

Description
Suggested by @human on Discord, this PR adds a brief reminder to include the nessasary flags when
using a Ledger and celocli to vote on Governance.
Other changes
This PR also includes some minor updates to the documentation including changing the suggestion from
using the governance:view command to governance:show instead, and making the placholders used in
the example commands consistent.
Tested
Manually tested the suggested commands

@nategraf FYI, I am not the same person as Human on discord. I don't know anything about this project :)

@nategraf FYI, I am not the same person as Human on discord. I don't know anything about this project :)

Sorry, gotta escape my @'s 🙈

Sorry, gotta escape my @'s 🙈


Field inline definitions should be able to set required

Turns out, I don't like this syntax:
class Foo(Orm):
    class bar(Field):
        type = int
        options = {"required": True}

And I should be able to do:
class Foo(Orm):
    class bar(Field):
        type = int
        required = True

Any named arguments in __init__ should be top level properties.

At some point between April 29 and June 25, 2021 this got addressed


Hunger and Food Insecurity App

Placeholder for Hunger and Food Insecurity App.

Adding this resource: http://media.wix.com/ugd/ef1ca5_0a16b211c96e4bc2be592a14a1c4f40c.pdf

Local food systems & food justice overview discussion (~24 min) with info for local govt, planners, tools in development, upcoming Portland national conf. etc.


[Hub Generated] Review request for Microsoft.WindowsESU to add version preview/2019-09-16-preview

If you are a MSFT employee you can view your work branch via this link.
Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

The spec was already approved in the private repo:
https://github.com/Azure/azure-rest-api-specs-pr/pull/948
https://github.com/Azure/azure-rest-api-specs-pr/pull/956

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

@NullMDR can you take a look at the Go SDK automation failure?

@ArcturusZhang Could you please take a look at the go generation failure? Seems like the autorest.go has some problem.

/azp run automation - sdk

/azp run automation - sdk

Can one of the admins verify this patch?


Added Const for use of CtxKeys

Replaced use of
caddy.CtxKey("remote_user")

and
caddy.CtxKey("mitm")

with constants

@mholt Should be good now.

Thanks Toby. Looks like the tests are still failing though...

:confounded:  @mholt should be good now.

Fantastic! Thanks @tobya! :tada:


Question: AspNetCore run as TopShelf Windows Service

We have a long time used Topshelf (together with e.g. Nancy) to make self hosted windows services that are rest enabled.
This has worked great for many years. Thank you!..
Now dotnetcore came along, and aspnetcore rest controller actually seems to be better than nancy.
So we have started to make our services and mircoservices as aspnetcore applications...
But there still good advantages with TopShelf over the apsnetcore service...
Question:
Does anybody know how we can load a netcoreapp2.x with all the aspnetcore niceties?
Should we e.g. just start teh service (though host factory) creating the ConfigurationBuilder and WebHost? Would this be best practice?
Or are we just overcomplicating stuff, and going down the wrong track? Any thoughts?

If you're using ASP.NET Core, might as well take advantage of everything they offer. With 3.x, you also get service hosting (by way of UseServiceBaseLifetime()). Consider using the DI extensions to configure the bus, clients, consumers, etc.

@phatboyg As i see it, the biggest advantage with TopShelf (aka selling point) is you can:

Run the same executable as a console and service. And,
Install command line

But this is possible with Aspnetcore and Generic host also now in netcoreapp.
Does that mean that net core is a TopShelf killer? I mean, it isn't as smooth as TopShelf, But we can install as service and run as console

I also got aspnetcore into topshelf wrapping the WebHost and Configuration builder in the HostFactory:

So both work.
The big question, does the TopShelf "wrapper" have value... I personally feel it does...
but @phatboyg it seams you do not feel the same from your comment above?

I don't plan to build out Topshelf for .NET core beyond what's there today. It's easy enough to do with the coming features of NetCoreApp 3.0

@phatboyg Your Topshelf Rocks btw.
The AspNetCore and generic host. in 3.0 are you sure it has all the functionality of the topshelf host? like installing with dealy start, and recovery interaction?

That only works on Windows, though. On Linux and Mac, none of that is available.

Yes and not in eg Azure either


fix Neptune logger creating multiple experiments when gpus > 1

Potential fix to #3255

kindly asking @jakubczakon for review. Can we delay the creation of the experiment or does i thave to happen in init?

Hi @psinger, could you please paste a snippet that reproduces this issue? From what I remember, the idea was to have NeptuneLogger initiated before any forking happens. Then, when the logger is pickled, the experiment that was created in __init__ can be reused in all children processes.

@pitercl I am creating the logger before initializing the Trainer.

Thanks @psinger. I just checked and you're right - it was working as I described up to PL 0.7.6 and from 0.8.1 something's changed and the results are as you say. I'll need some time to understand what has changed and how to approach this.

@pitercl @psinger I can explain. distributed_backend = "ddp" is special in that it launches your script multiple times in a new subprocess. This means init is called several times, but the way we designed loggers is that the logger.experiment only returns the true logger object on rank == 0. On all other ranks, it returns a dummy object.
So what we have to make sure is that we don't create any files in the init.

Hi!
@awaelchli Thanks for the explanation - it helped a lot in understanding what's going on.
@psinger Your idea for the fix looks good to me :+1:
As for the tests that stopped passing, I had 2 goals with them:

I wanted to check if online/offline modes do what they're supposed to
Make sure that the experiment was created in __init__. This was important in the earlier version of PL, where the pickled logger was passed to child processes and used there (I didn't want to have a new experiment in each child process). I don't think it matters now, after the @rank_zero_experiment change.

So, I'd propose something along the lines of:
@patch('pytorch_lightning.loggers.neptune.neptune')
def test_neptune_online(neptune):
    logger = NeptuneLogger(api_key='test', project_name='project')

    experiment = logger.experiment  # force the actual creation of an experiment object

    assert experiment == neptune.Session.with_default_backend().get_project().create_experiment()
    assert logger.name == experiment.name
    assert logger.version == experiment.id

@patch('pytorch_lightning.loggers.neptune.neptune')
def test_neptune_offline(neptune):
    logger = NeptuneLogger(offline_mode=True)

    experiment = logger.experiment  # force the actual creation of an experiment object

    neptune.Session.assert_called_once_with(backend=neptune.OfflineBackend())
    assert experiment == neptune.Session().get_project().create_experiment()```

@psinger can we finish this one?

From my perspective yes

@psinger
Status on this? Doesn't seem to be on master?
Also I don't understand your fix? It seems you always set the experiment to None? Doesnt this remove the experiment even for rank_zero?
Why not just put a rank_zero_only decorator on _create_or_get_experiment ?

@psinger
Status on this? Doesn't seem to be on master?
Also I don't understand your fix? It seems you always set the experiment to None? Doesnt this remove the experiment even for rank_zero?
Why not just put a rank_zero_only decorator on _create_or_get_experiment ?

@Parskatt I cannot give you a status on this. My fix solves the issue though.

@Parskatt I cannot give you a status on this. My fix solves the issue though.

@awaelchli No merge with master?

@awaelchli No merge with master?

sorry, the bot closed pull request, it wasn't merged

It seems you always set the experiment to None? Doesnt this remove the experiment even for rank_zero?

As I understand it, the experiment creation just gets delayed instead.

sorry, the bot closed pull request, it wasn't merged

It seems you always set the experiment to None? Doesnt this remove the experiment even for rank_zero?

As I understand it, the experiment creation just gets delayed instead.

Let's finalize this PR, it has waited long enough :)

Let's finalize this PR, it has waited long enough :)


docs/admin: document RBAC authorizer

This PR adds documentation for the RBAC authorizer. (this time to the correct branch)
The API examples include fixes from kubernetes/kubernetes#26924 and kubernetes/kubernetes#26984
cc @erictune
Closes #631

@johndmulhausen are there any Docs reviewers available?

Updated to address @johndmulhausen's feedback.

Didn't mean to remove Tech Review LGTM. Thanks for the PR, @ericchiang !


We increase the fee of OP_RETURN transaction up to ~ 205 satoshi/byte…

Hi,
Please accept this patch
As i understood it will increase fee of OP_RETURN transaction up to normal comission (0.5 mBTC)
You will get 5-0.5=4.5 mBTC for this in anyway ;-)

Here is brief description of problem what i described to email:
Your site proofofexistence.com - please increase fee for OP_RETURN transactions!
I paid for example 5 mBTC to your address and after you make other
transaction with OP_RETURN with fee 41 satoshi/byte (0.1 mBTC). In
current time it's very low fee for network - i will wait to inclusion
in block a long time - may be one day, may be 10-20 hours, may be some
days. And very bad but i cannot imporve this by CPFP (child pays for
parent) because OP_RETURN transaction is not my parent transaction -
you make it as child from my transaction. So if i will do CFPF
transaction - i will increase time only for 5 mBTC payment and the
proof will not be confirmed.
Other words - your proof service already is not time proof existance
service. I See no reason to use it  and especially for such a large
fee - 5 mBTC ($6.25 in current rate)

thanks!


Help Please

I simply do not know what to do with this as there is no installer. Please assist. If you need to charge a fee for an installer let me know.  I'm an older guy, not overly computer literate who would like to use your utility to connect MSFS2020 with ForeFlight. Thank you for any consideration.

No worries. No installer is necessary, you just run the fs2ff.exe file after downloading. So double-click the file and you should see the application window. Once you're in the game, click the Connect button. Your iPad should now start getting data from fs2ff.

Hi, Thanks for the reply.
Once again I may be showing my age but I do not see an exe file.
Sorry to be a pita.
Dave (Wilton)
----- Original Message -----
From: "Andreas Stenlund"<EMAIL_ADDRESS>To: "astenlund/fs2ff"<EMAIL_ADDRESS>Cc: "dbw11"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Sent: Sunday, October 18, 2020 5:06:16 PM
Subject: Re: [astenlund/fs2ff] Help Please (#14)
No worries. No installer is necessary, you just run the fs2ff.exe file after downloading. So double-click the file and you should see the application window. Once you're in the game, click the Connect button. Your iPad should now start getting data from fs2ff.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or unsubscribe .

If you go to github.com/astenlund/fs2ff/releases/latest and look under "Assets", you should see a link to the file.

Closing due to inactivity. I hope you got it working.

Sorry I didn't get back to you. Really appreciate you following up.
All good now.
Hope you are staying safe re covid19.
Take care.
Dave
----- Original Message -----
From: Andreas Stenlund<EMAIL_ADDRESS>To: astenlund/fs2ff<EMAIL_ADDRESS>Cc: dbw11<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: Sat, 14 Nov 2020 21:33:24 -0500 (EST)
Subject: Re: [astenlund/fs2ff] Help Please (#14)
Closing due to inactivity. I hope you got it working.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/astenlund/fs2ff/issues/14#issuecomment-727298007

No worries, I'm here to help if you need me :)
You stay safe too.
/Andreas


No internet connection after a succesful connection

Hi,
i've tried your script on a clean NanoVZ OpenVZ server (actually in 2 locations), i've used the external ipv4 address and provided a port on which i could listen on.
The problem is actually that while the traffic from the local client is routed trough the von server, it never gets out of it.
The operation system is Debian 8.1 64bit.
Now, after deplyment, i can succesfully connect from my local client:
Wed Nov 25 21:45:03 2015 OpenVPN 2.3.8 i686-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Sep 14 2015
Wed Nov 25 21:45:03 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09
Wed Nov 25 21:45:03 2015 Socket Buffers: R=[163840->163840] S=[163840->163840]
Wed Nov 25 21:45:03 2015 UDPv4 link local: [undef]
Wed Nov 25 21:45:03 2015 UDPv4 link remote: [AF_INET]<IP_ADDRESS>:15003
Wed Nov 25 21:45:05 2015 TLS: Initial packet from [AF_INET]<IP_ADDRESS>:15003, sid=ed979375 3bf275b6
Wed Nov 25 21:45:06 2015 VERIFY OK: depth=1, CN=ChangeMe
Wed Nov 25 21:45:06 2015 Validating certificate key usage
Wed Nov 25 21:45:06 2015 ++ Certificate has key usage  00a0, expects 00a0
Wed Nov 25 21:45:06 2015 VERIFY KU OK
Wed Nov 25 21:45:06 2015 Validating certificate extended key usage
Wed Nov 25 21:45:06 2015 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Wed Nov 25 21:45:06 2015 VERIFY EKU OK
Wed Nov 25 21:45:06 2015 VERIFY OK: depth=0, CN=server
Wed Nov 25 21:45:06 2015 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Nov 25 21:45:06 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 25 21:45:06 2015 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Nov 25 21:45:06 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 25 21:45:06 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Wed Nov 25 21:45:06 2015 [server] Peer Connection Initiated with [AF_INET]<IP_ADDRESS>:15003
Wed Nov 25 21:45:09 2015 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Wed Nov 25 21:45:09 2015 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS <IP_ADDRESS>,dhcp-option DNS <IP_ADDRESS>,route-gateway <IP_ADDRESS>,topology subnet,ping 10,ping-restart 120,ifconfig <IP_ADDRESS> <IP_ADDRESS>'
Wed Nov 25 21:45:09 2015 OPTIONS IMPORT: timers and/or timeouts modified
Wed Nov 25 21:45:09 2015 OPTIONS IMPORT: --ifconfig/up options modified
Wed Nov 25 21:45:09 2015 OPTIONS IMPORT: route options modified
Wed Nov 25 21:45:09 2015 OPTIONS IMPORT: route-related options modified
Wed Nov 25 21:45:09 2015 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Wed Nov 25 21:45:09 2015 ROUTE_GATEWAY <IP_ADDRESS>/<IP_ADDRESS> IFACE=wlp3s0 HWADDR=1e:05:9e:1c:b8:a3
Wed Nov 25 21:45:09 2015 TUN/TAP device tun0 opened
Wed Nov 25 21:45:09 2015 TUN/TAP TX queue length set to 100
Wed Nov 25 21:45:09 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Nov 25 21:45:09 2015 /usr/bin/ip link set dev tun0 up mtu 1500
Wed Nov 25 21:45:09 2015 /usr/bin/ip addr add dev tun0 <IP_ADDRESS>/24 broadcast <IP_ADDRESS>
Wed Nov 25 21:45:09 2015 /usr/bin/ip route add <IP_ADDRESS>/32 via <IP_ADDRESS>
Wed Nov 25 21:45:09 2015 /usr/bin/ip route add <IP_ADDRESS>/1 via <IP_ADDRESS>
Wed Nov 25 21:45:09 2015 /usr/bin/ip route add <IP_ADDRESS>/1 via <IP_ADDRESS>
Wed Nov 25 21:45:09 2015 Initialization Sequence Completed

Locally, the result of ip route is:
<IP_ADDRESS>/1 via <IP_ADDRESS> dev tun0
default via <IP_ADDRESS> dev wlp3s0  proto static  metric 600
<IP_ADDRESS>/24 dev tun0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS> via <IP_ADDRESS> dev wlp3s0
<IP_ADDRESS>/1 via <IP_ADDRESS> dev tun0
<IP_ADDRESS>/24 dev wlp3s0  proto kernel  scope link  src <IP_ADDRESS>  metric 600

On the server, on daemon.log:
Nov 25 15:45:07 stockholm ovpn-server[2883]: <client_ip>:43308 TLS: Initial packet from [AF_INET]<client_ip>:43308, sid=9a3edf4e f257156c
Nov 25 15:45:08 stockholm ovpn-server[2883]: <client_ip>:43308 CRL CHECK OK: CN=ChangeMe
Nov 25 15:45:08 stockholm ovpn-server[2883]: <client_ip>:43308 VERIFY OK: depth=1, CN=ChangeMe
Nov 25 15:45:08 stockholm ovpn-server[2883]: <client_ip>:43308 CRL CHECK OK: CN=client
Nov 25 15:45:08 stockholm ovpn-server[2883]: <client_ip>:43308 VERIFY OK: depth=0, CN=client
Nov 25 15:45:08 stockholm ovpn-server[2883]: <client_ip>:43308 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Nov 25 15:45:08 stockholm ovpn-server[2883]: <client_ip>:43308 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Nov 25 15:45:08 stockholm ovpn-server[2883]: <client_ip>:43308 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Nov 25 15:45:08 stockholm ovpn-server[2883]: <client_ip>:43308 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Nov 25 15:45:09 stockholm ovpn-server[2883]: <client_ip>:43308 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Nov 25 15:45:09 stockholm ovpn-server[2883]: <client_ip>:43308 [client] Peer Connection Initiated with [AF_INET]<client_ip>:43308
Nov 25 15:45:09 stockholm ovpn-server[2883]: client/<client_ip>:43308 MULTI_sva: pool returned IPv4=<IP_ADDRESS>, IPv6=(Not enabled)
Nov 25 15:45:09 stockholm ovpn-server[2883]: client/<client_ip>:43308 MULTI: Learn: <IP_ADDRESS> -> client/<client_ip>:43308
Nov 25 15:45:09 stockholm ovpn-server[2883]: client/<client_ip>:43308 MULTI: primary virtual IP for client/<client_ip>:43308: <IP_ADDRESS>
Nov 25 15:45:11 stockholm ovpn-server[2883]: client/<client_ip>:43308 PUSH: Received control message: 'PUSH_REQUEST'
Nov 25 15:45:11 stockholm ovpn-server[2883]: client/<client_ip>:43308 send_push_reply(): safe_cap=940
Nov 25 15:45:11 stockholm ovpn-server[2883]: client/<client_ip>:43308 SENT CONTROL [client]: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS <IP_ADDRESS>,dhcp-option DNS <IP_ADDRESS>,route-gateway <IP_ADDRESS>,topology subnet,ping 10,ping-restart 120,ifconfig <IP_ADDRESS> <IP_ADDRESS>' (status=1)

the reuslt of iptables -L on the server:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     udp  --  anywhere             anywhere             udp dpt:<server_port>

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     all  --  <IP_ADDRESS>/24          anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

and iptables -t nat -L
SNAT       all  --  <IP_ADDRESS>/24          anywhere             to:<IP_ADDRESS>

I really can't find out what's wrong, but i've actually never configured an OpenVPN server before.

Hello and thank you for the detailed and well formatted information, it's not very common :)
Are you sure that you really don't have Internet and this isn't a problem with DNS? Try pinging <IP_ADDRESS> if you didn't already.
Otherwise, it looks fine from here and I would bet for some conflict client-side (maybe a firewall) or with your server's ISP. I would try with a different client device just to discard any possible conflict client-side.

Hello! Thank you for the fast reply.
Actually a friend of mine found the problem and the solution, which is easy to solve. It seems like this rule
SNAT       all  --  <IP_ADDRESS>/24          anywhere             to:<IP_ADDRESS>

instead of using the external ip address, should use the internal one, so
SNAT       all  --  <IP_ADDRESS>/24          anywhere             to:<IP_ADDRESS>

where in this case <IP_ADDRESS> is the ip of my vps on the node (on other NanoVZ locations it should look like 192.168.x).

Thanks for reporting back.
I think I know what happened: when asked about the IP during the first installation step, you were presented a default of <IP_ADDRESS> (I hope) and you instead set that to <IP_ADDRESS>. Right?
If so, you should have left <IP_ADDRESS> and a NATed connection would be later defected by the script. Then you would simply need to specify the public IP when asked and it should work fine.
I know this approach is a bit confusing, but is the best/simplest I could think of to support NAT :)


Switching to fullscreen in SDL crashes all DirectX apps

Using fullscreen mode in SDL causes every DirectX app to crash. Some of them are able to recover (like the example below) but others crash as a whole (e.g. League of Legends). I also tested OpenGL apps but those do not crash.
Example (emulator using Direct3D):
https://user-images.githubusercontent.com/56885706/103477913-7b729380-4dc3-11eb-838f-f914f941a8d5.mp4
This is an SDL only bug, this issue does not occur using osuTK.
Event viewer logs (probably useless): https://www20.zippyshare.com/v/PIB7sGcI/file.html

I can't reproduce this at my end with arbitrary direct 3d apps, so it may be driver, software or hardware dependent.
Have you tested with another game or application using SDL2?

I can't reproduce this at my end with arbitrary direct 3d apps, so it may be driver, software or hardware dependent.
Have you tested with another game or application using SDL2?

Attached event viewer log has no useful information as far as I can see (also I would ask that those are attached in English so that I don't have to try and jam through a translator).

Attached event viewer log has no useful information as far as I can see (also I would ask that those are attached in English so that I don't have to try and jam through a translator).

I can't reproduce this at my end with arbitrary direct 3d apps, so it may be driver, software or hardware dependent.
Have you tested with another game or application using SDL2?

Just tested with another SDL app (Z-Snes), same issue occurs. Hardware: Intel i5-7500, GTX 1060, 8GB RAM, Windows 10 Pro (2004)

Attached event viewer log has no useful information as far as I can see (also I would ask that those are attached in English so that I don't have to try and jam through a translator).

Sorry, my Windows installation doesn't use English as it's main language. No idea how to change the language of a log (I already selected English when exporting).

I can't reproduce this at my end with arbitrary direct 3d apps, so it may be driver, software or hardware dependent.
Have you tested with another game or application using SDL2?

Just tested with another SDL app (Z-Snes), same issue occurs. Hardware: Intel i5-7500, GTX 1060, 8GB RAM, Windows 10 Pro (2004)

Attached event viewer log has no useful information as far as I can see (also I would ask that those are attached in English so that I don't have to try and jam through a translator).

Sorry, my Windows installation doesn't use English as it's main language. No idea how to change the language of a log (I already selected English when exporting).

Just tested with another SDL app (Z-Snes), same issue occurs. Hardware: Intel i5-7500, GTX 1060, 8GB RAM, Windows 10 Pro (2004)

To clarify: are you saying that zsnes will clash with something else that uses D3D (like league or whichever), or that it will clash with lazer? If it's the former then there's nothing really to be done on our behalf except for report upstream to bugzilla or switch windowing backends again I guess.

Just tested with another SDL app (Z-Snes), same issue occurs. Hardware: Intel i5-7500, GTX 1060, 8GB RAM, Windows 10 Pro (2004)

To clarify: are you saying that zsnes will clash with something else that uses D3D (like league or whichever), or that it will clash with lazer? If it's the former then there's nothing really to be done on our behalf except for report upstream to bugzilla or switch windowing backends again I guess.

Yes, the former: Z-Snes also crashes all DirectX apps. It is, indeed, most likely a problem with SDL.

Yes, the former: Z-Snes also crashes all DirectX apps. It is, indeed, most likely a problem with SDL.

I've tested with 5 directx games running and there is no issue.
The issue is most definitely something on your end. Please try updating your drivers and unloading any overlays you may have running (ie. discord or nvidia recording utilities).

I've tested with 5 directx games running and there is no issue.
The issue is most definitely something on your end. Please try updating your drivers and unloading any overlays you may have running (ie. discord or nvidia recording utilities).

Are you sure? I've just updated my drivers and have no overlays running but the issue still persists. I've tried this on two machines with very different configurations and roughly the same issue occurs on both of them (on my other machine, lazer itself crashes instead of the DirectX app. logs here) Are you testing in a VM? That might be why you're not seeing this issue. If not, I have no idea. This will be my last comment, no need to lock this thread if this is not of use.

Are you sure? I've just updated my drivers and have no overlays running but the issue still persists. I've tried this on two machines with very different configurations and roughly the same issue occurs on both of them (on my other machine, lazer itself crashes instead of the DirectX app. logs here) Are you testing in a VM? That might be why you're not seeing this issue. If not, I have no idea. This will be my last comment, no need to lock this thread if this is not of use.

Maybe it's something to do with multiple monitors (you haven't mentioned it but from your video it seems like you have two connected)?
Either way, if you have reproduced with another SDL2 application, then your report will need to be against SDL2, not us (we can't fix it).

Maybe it's something to do with multiple monitors (you haven't mentioned it but from your video it seems like you have two connected)?
Either way, if you have reproduced with another SDL2 application, then your report will need to be against SDL2, not us (we can't fix it).


Problems about part segmentation

Thank you for your great work!
I have tried to reproduce the results of PointGPT-L's part segmentation in paper, but find out there are some problems.

Cls.mIoU
Inst.mIoU

paper
84.8
86.6

reproduce
83.7
85.7

It seems that there is a consistent gap in the evaluation metrics. I conducted the experiments on a single NVIDIA RTX 3090 GPU, with batch size 8, learning 0.0001. Other settings are set to their default values in the code.
Could you help me with the problem? Any insights would be greatly appreciated.

Hi, Sorry to bother you. I have a question. When doing the few-shot learning on Modelnet40, the accuracy is produced by the training process or the test process? I have tried so many times to test the few-shot learning and the result is so bad.
@jerryfeng2003

Hi, Sorry to bother you. I have a question. When doing the few-shot learning on Modelnet40, the accuracy is produced by the training process or the test process? I have tried so many times to test the few-shot learning and the result is so bad. @jerryfeng2003

I have replied to your questions in another issue.


Add aswf.yaml

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1206174275472287

Hey - happy to do this - but since we don't plan to use clomonitor right now, what is the minimal level of checks we should do?

Oh cool, then instead of adding the checks set, it'd be best to exclude them from CLOMonitor. You can achieve that by adding the following to each repository:
exclude:
  - clomonitor

Sounds good - take a look and see if that is better now.


Stable ID support

Note: How to merge this is still TBD, as support is needed from core libraries.

All the stuff that has to vary depending on whether or not sync is enabled should be hidden behind a wrapper rather than slathering ifdefs everywhere.

I agree, but I guess I'm questioning why we keep those code paths around. Is there any use case for building Object Store without Sync support?
I'm happy to wrap the calls, but I do think the ugly ifdefs serve as a useful reminder that there is an architectural problem that should be addressed soon-ish.

Java builds a version of Object Store without Sync. Right now we do a lot of manual work, manipulating which files are being included. It is rather annoying: https://github.com/realm/realm-java/blob/master/realm/realm-library/src/main/cpp/CMakeLists.txt#L189

It's a product decision but I think it's worth challenging whether we want to keep supporting the non-sync binaries? I get that it's nice for those who don't use sync but those are per definition not our paying customers and I don't know if it's worth the overhead keeping them happy? It adds some complexity in .NET and it would in JS if we supported it (which we don't yet).

Binary size is an important product parameter on Android, and the question keeps coming up on Android again and again (which is also why we track both method count + library size: https://greatscott-pinheads-70.c.influxdb.com:3000/dashboard/db/realm-java)
Only supporting a synced variant would seriously harm our adoption funnel on Android. I tend to agree with Simon that it is more an architectural problem than anything else.

@cmelchior Hm, interesting point. We could also make an effort to reduce the binary size of the Sync binary.

I'm happy to wrap the calls, but I do think the ugly ifdefs serve as a useful reminder that there is an architectural problem that should be addressed soon-ish.

I don't think that making the object store code uglier will remind the correct people about that.

src/object_store.cpp:32:33: fatal error: realm/sync/object.hpp: No such file or directory

I assume this is because dependencies.list hasn't been updated to a version of sync with the necessary changes?

I assume this is because dependencies.list hasn't been updated to a version of sync with the necessary changes?

Yes. There also is no such version (yet). :-)

I don't think that making the object store code uglier will remind the correct people about that.

Let's discuss this through other channels. I'll change it. My opinion is that the distinction between Object Store and the Sync library has to be fundamentally rethought.

I'm moving this back into "In Active Progress" because upstream changes have required further changes to this code before it can be merged.

Ok, this should be ready for review once again. The latest changes in Sync, which mandate that tables are born with information about their primary key, had a slightly larger impact than expected, and I had to make some changes to the migration handling. Essentially tables are now created in two phases: first, all tables are created, and second all non-PK columns are added. This is to ensure that link targets are created before link columns are added, which is necessary because the schema information for the link target wasn't available when the source table is being created.
I'm really not sure this is the right way to implement this - would love your input @tgoyne!
For a reason I could not figure out, it was also necessary to remove the implementation of RemoveProperty in create_initial_tables, otherwise the Object Store would try to generate schema-breaking changes, causing sync to assert. I have no idea why this is only happening now.

I don't understand what AddInitialProperties is doing or why it needs to be split out from the table creation.

I tried to explain it in my comment, but basically it's because AddTable could add link columns to tables that didn't yet exist. The previous behavior was to simply add those tables as needed, but that can no longer work without some significant restructuring (or maybe not so significant? can't tell), because adding the table requires knowledge about which column is the primary key column.

Hm, makes sense. Making two passes over the changes to create the tables in the first pass and then populate them in the second would be a better fit for the design I was going for with the schema change stuff, but I'm not sure that the end result would actually be better.

Yeah, doing two passes would be better in my opinion, but I'm not entirely sure how easy it would be to do with the current application of the visitor pattern. Maybe not so hard actually.

I am curious about what will happen for the future migration - if user wants to add a pk column, how to connect the newly added pk with the existing object id? Actually I don't know how does adding a PK column work for the additive mode migration.

I believe that is not allowed under Additive mode, since such an operation do not converge

Yes, Primary Keys are considered part of the schema, so changing a table's primary key column after it has been populated with rows is considered invalid. This restriction may be lifted in the future.

@simonask, it doesn't appear that sync provides a variant of sync::create_object_with_primary_key that supports creating an object with null for the primary key value. It appears that such an overload would be necessary to accommodate changes to the accessor logic made on master to support Cocoa's use of it (see here).

@bdash Support for nullable primary keys was added last week. sync::create_object_with_primary_key() was changed to accept a util::Optional<int64_t> or a StringData with the intrinsic null value. :-)

Which sync branch has that change? I don't see it in su/stable-ids?

@bdash Oh, sorry, work has moved to develop-2.0 :)

It'd be beneficial to get this reviewed and merged now that it builds with both sync v1.x and 2.x.

The following new unit test fails with this branch:
diff --git a/tests/migrations.cpp b/tests/migrations.cpp
index abe7dec..497e985 100644
--- a/tests/migrations.cpp
+++ b/tests/migrations.cpp
@@ -352,6 +352,25 @@ TEST_CASE("migration: Automatic") {
             };
             REQUIRE_MIGRATION_NEEDED(*realm, schema, set_primary_key(schema, "object", ""));
         }
+
+        SECTION("adding column and table in same migration doesn't add duplicate columns") {
+            auto realm = Realm::get_shared_realm(config);
+
+            Schema schema1 = {
+                {"object", {
+                    {"col1", PropertyType::Int, "", "", false, false, false},
+                }},
+            };
+            auto schema2 = add_table(add_property(schema1, "object",
+                                        {"col2", PropertyType::Int, "", "", false, false, false}),
+                                     {"object2", {
+                                         {"value", PropertyType::Int, "", "", false, false, false}}});
+            REQUIRE_UPDATE_SUCCEEDS(*realm, schema1, 0);
+            REQUIRE_UPDATE_SUCCEEDS(*realm, schema2, 1);
+
+            auto& table = *get_table(realm, "object2");
+            REQUIRE(table.get_column_count() == 1);
+        }
     }

     SECTION("migration block invocations") {

The table for object2 ends up with two columns named value. The underlying problem is that AddInitialProperties ends up being applied as part of both the pre- and post-migration schema modifications when no migration function is specified. Since it's not an idempotent operation, we end up creating the same columns at both points. It looks like AddInitialProperties needs to be skipped in the post-migration schema modifications if no migration function was specified (if a migration function was specified, we re-read the schema and compute a new set of changes prior to performing the post-migration modifications, so AddInitialProperties will only be present in the set of changes if it's really needed).

Fixed the above issue in c21bb9c9f8ae65fbc5bdeb1a77c89c4e21354ff6.

@bdash THANK YOU for taking this on, this saves us several days! Is anything preventing us from merging at this point?

If you're happy with the changes I made, I don't think there's anything we need to wait on to merge this.


Adjust WikidataDisplay to correctly display proceedings with multiple events

The proceedings query currently does not aggregate the event items per proceeding resulting in multiple records for one proceeding if it has multiple events.

The event aggregation is possible by using the following query as subquery
SELECT
  ?item
  (GROUP_CONCAT(?_event; SEPARATOR = "|") AS ?event)
  (GROUP_CONCAT(?_eventLabel; SEPARATOR = "|") AS ?eventLabel)
  (GROUP_CONCAT(?_eventSeries; SEPARATOR = "|") AS ?eventSeries)
  (GROUP_CONCAT(?_eventSeriesLabel; SEPARATOR = "|") AS ?eventSeriesLabel)
  (GROUP_CONCAT(?_eventSeriesOrdinal; SEPARATOR = "|") AS ?eventSeriesOrdinal)
  (GROUP_CONCAT(?_dblpEventId; SEPARATOR = "|") AS ?dblpEventId)
WHERE {
  ?item wdt:P31 wd:Q1143604;
    wdt:P179 wd:Q27230297;
    wdt:P4745 ?_event.
  ?_event rdfs:label ?_eventLabel.
  FILTER((LANG(?_eventLabel)) = "en")
  OPTIONAL { ?_event wdt:P10692 ?_dblpEventId. }
  OPTIONAL {
    ?_event p:P179 ?_partOfTheEventSeriesStmt.
    ?_partOfTheEventSeriesStmt ps:P179 ?_eventSeries;
      pq:P1545 ?_eventSeriesOrdinal.
    ?_eventSeries rdfs:label ?_eventSeriesLabel.
    FILTER((LANG(?_eventSeriesLabel)) = "en")
  }
}
GROUP BY ?item

Unfortunately, with the aggregation the query got more expensive and runs into a timeout.
One of the  expensive parts of the query seems to be the string transformation clause.
https://github.com/WolfgangFahl/pyCEURmake/blob/32d730aeaea398f3c67f1332ebe5d542de607ce2/ceurws/resources/queries/ceurws.yaml#L113-L117
By excluding this the query yields a result.
The solution for now is to format the external ids in code instead within the query.

Contradicts            https://github.com/WolfgangFahl/pyCEURmake/blob/32d730aeaea398f3c67f1332ebe5d542de607ce2/ceurws/volumebrowser.py#L719

By splitting the value on the defined separator when generating the links we get

The new version of the query https://github.com/WolfgangFahl/pyCEURmake/blob/ec4c7e68c75b765895eb6bff1cbea95416229fcd/ceurws/resources/queries/ceurws.yaml#L7-L98
is still expensive and has varying execution times from 36s to timeout (~ 1/5 get a timeout)
Maybe we need to split the query. Since the event data is queried through a sub-query and both query parts are distinct to the proceedings item it would be easy to merge them afterwards.


refactor!: Drop VersionInfo in favor of tuple

Fix VersionInfo and test_version.py to handle release candidates correctly. Also refactor the tests.

Did this break something? Im trying to install the latest version of graphql-server and it is erroring with ImportError: cannot import name 'MutableMapping' from 'collections'. But when I look at the version number in my venv, it says version 3.0.0b7

Seems like pip can't find the correct version anymore

Hi @fr-orionfollett could you create a separate ticket for this also with a reproducible example (for example the exact commands you ran to install the library)?

Yep, it'll take me a couple of days though

You know what, I accidentally had two versions installed which was causing my issue, so nevermind! Thanks for the quick response though.


For total segment

Add total segments information in server with '/druid/coordinator/v1/servers'.
This is useful to get the realtime segment numbers in each historical server. By the way, user can also use the api to generate a historical segment number metrics.

This PR has:

[x] been self-reviewed.
[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)
[x] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths.
[x] added integration tests.
[x] been tested in a test Druid cluster.

Key changed/added classes in this PR

ServersResource
api-reference.md

@jihoonson  Hi, please check!


fix(exporters): do not append trailing '/' when URL contains path

Which problem is this PR solving?
When a signal specific environment variable (OTEL_EXPORTER_OTLP_<signal>_ENDPOINT) was passed with a url that contains a path not ending in v1/traces or v1/metrics, a / was unexpectedly appended.
Fixes #3269
Edit for clarification:
From the spec:

For the per-signal variables (OTEL_EXPORTER_OTLP_<signal>_ENDPOINT), the URL MUST be used as-is without any modification. The only exception is that if an URL contains no path part, the root path / MUST be used (see Example 2).

there might be a path part that does not end in /v1/traces or /v1/metrics. With the previous implementation, it would append / to that path, which can result in 404s, see #3269
Short description of the changes
Now parsing the URL on initialization and adding the / only when the path is empty.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Existing unit tests
[x] Added additional unit tests

Checklist:

[ ] Followed the style guidelines of this project
[ ] Unit tests have been added
[ ] Documentation has been updated

Good catch. Thanks for fixing it! 😀


BypassUAC via schtasks SE

This adds a task to schtasks in a high integrity context that will run the agent as Administrator after 1 minute.
You're welcome to mod the code as you like (it needs a bit of clean-up).

So I tested this from a Windows 7 system that I confirmed our existing bypassuac methods work on, and get a popup:

Is this intentional? If so the functionality is essentially duplicated in https://github.com/PowerShellEmpire/Empire/blob/master/lib/modules/privesc/ask.py , which is 'cleaner',

Yep, that's it. The only difference is the Program name: of the UAC requester.

Then I'm going to go ahead and close this guy as it doesn't do something substantially different. If we find a way to get the schtask to bypassuac without the prompt we'll gladly integrate a new module :)


Move to Option V2.

Option V2: https://developer.chrome.com/extensions/optionsV2
For the extension that has few simple option items. OptionV2 is good option. it has better looking.
@yperess, Can I start this?

Give me a few minutes (I'm adding the refresh frequency option you requested) then go for it :)

Unblocked, go nuts :)


Bluetooth: BAP: Refactor bt_bap_base

Fixes https://github.com/zephyrproject-rtos/zephyr/issues/44113

Rebased to solve merge conflicts

Updated some of the macros in bap_base.c and added reference to BAP.


Added CPU_temperature

CPU Temperature Detector -
Brief about script
Issue no.(must) - #454
Self Check(Tick After Making pull Request)

[x This issue was assigned to me.
[x] One Change in one Pull Request
[x] My file is in proper folder (Name of folder should be in lowercase with no space in between) (E.g. meet_schedular)
[x] I am following clean code and Documentation and my code is well linted with flake8.
[ ] I have added README.md and requirements.txt (Include version numbers too e.g. pandas==0.0.1) with my script
[x] Just including required dependencies in requirements.txt (Don't include Python version too)

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

Hey, if there are not any additional dependencies, you don't have to add requirments.txt but please add README file briefly describing the purpose, how to use of the script


RFP - Basilisk browser

Basilisk is a free and Open Source XUL-based web browser, featuring the well-known Firefox-style interface and operation. It is based on the Goanna layout and rendering engine (a fork of Gecko) and builds on the Unified XUL Platform (UXP), which in turn is a fork of the Mozilla code base without Servo or Rust.
https://basilisk-browser.org/

Status: Review

https://chocolatey.org/packages/basilisk
https://chocolatey.org/packages/basilisk.install
https://chocolatey.org/packages/basilisk.portable

Status: Published

https://chocolatey.org/packages/basilisk
https://chocolatey.org/packages/basilisk.install
https://chocolatey.org/packages/basilisk.portable

Can be closed.


Vulnerability Import Should Attempt to Assign a Risk Score

Currently when a vulnerability scan is imported a risk score of low is applied to any finding. Nessus and Burp importers should attempt to apply a risk score inherited from the scan data.
This will require:

Identifying where the risk score is stored for a finding in the Nessus and Burp import scans
Update vuln_importer.rb to reflect this

Actually playing with this as we speak. Got Nessus working...that was easy.
https://github.com/mcjon3z/Serpico/tree/mcjon3z-nessus-fixes

hah. Nice! IMO we need a scoring conversion method; it takes in a risk score and converts to DREAD default and vice versa. So far I've been hard coding and it's error prone. Let me know how your testing goes and I can apply your fix along with the scoring conversion method.

Fixing to shoot a PR - feel free to merge or cherry pick


Ubuntu 18: copy has no effect on clipboard

I cannot get password on clipboard on Ubuntu 18. Copy does exactly nothing (essentially does not seem copying to clipboard at all).
It would be nice to have some other method of showing passwords.

Bump
same here, running version 1.6.1

Do you have xsel or xclip installed? If so, what version?


Target a file with scopeproperty in filename not working if minlevel="Info"

NLog version: 5.0.1
Platform:  .NET6
Current NLog config (xml or C#, if relevant)
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true"
      internalLogLevel="Warn"
      internalLogFile="c:\temp\internal-nlog.txt">

  <!-- Load the ASP.NET Core plugin -->
  <extensions>
    <add assembly="NLog.Web.AspNetCore"/>
  </extensions>
  <variable name="connectionString" value="" />
  <!-- the targets to write to -->
  <targets>
    <target xsi:type="File" name="errorsLogFile" fileName="c:\inor_logs\${scopeproperty:domainName}\error-${shortdate}.log"
            layout="" />

    <target xsi:type="File" name="requestBegin" fileName="c:\inor_logs\${scopeproperty:domainName}\request-begin-${shortdate}.log"
               layout="" />

  </targets>

  <!-- rules to map from logger name to target -->
  <rules>
    <!--All logs, including from Microsoft-->
    <logger name="*" minlevel="Error" writeTo="errorsLogFile" />
    <logger name="Microsoft.AspNetCore.Hosting.Diagnostics" minlevel="Info" writeTo="requestBegin">
      <filters defaultAction="Ignore">
        <when condition="contains('${message}','starting') and (contains('${uppercase:${aspnet-request-method}}','POST') or contains('${uppercase:${aspnet-request-method}}','PUT') or contains('${uppercase:${aspnet-request-method}}','DELETE'))" action="Log" />
      </filters>
    </logger>
  </rules>
</nlog>

What is the current result?
errorsLogFile writes to expected file name under folder scopeproperty:domainName, while requestBegin does not!
What is the expected result?
I would expect requestBegin to write under folder scopeproperty:domainName
Did you checked the Internal log?
Empty
Please post full exception details (message, stacktrace, inner exceptions)
Are there any workarounds? yes/no
Is there a version in which it did work?
It did work in 4.7.13 ith {var:domainName} instead
Can you help us by writing an unit test?

I think the issue is when to set scopeproperty's value! I'm setting it inside a service(that is used everywhere) using:
ScopeContext.PushProperty("domainName", "some_value");
I can not find in the documentation how/when to set the scopeproperty's value.

${ScopeProperty} comes from NLog ScopeContext that is stored in thread execution context.
ScopeContext.PushProperty(...) will only affect the active thread context, and will not affect other threadpool threads.
So you have to do like this:
using (ScopeContext.PushProperty("domainName", "some_value"))
{
     Logger.Info("Hello World");   // Will have expected ScopeContext
}

If "domainName" is a constant value for the entire application, then I suggest to use ${gdc} instead.
See also: https://github.com/NLog/NLog/wiki/Context

Thanks for replying.
It's not a constant!
domainName is  extracted from a http header.
Is there a way to be able to make fileName like that?
It's working for logging Error, but somehow Info level is happening before I access any service/middlewhere (so I can set property's value)!

Then I suggest making use of ${aspnet-request-headers:headerNames=DomainName}. See also https://github.com/NLog/NLog/wiki/AspNetRequest-Headers-Layout-Renderer
You can also register your own custom layoutrenderer that can extract what you need from HttpContext. Ex. AspNetLayoutRendererBase.Register(...) or using LogFactory().Setup().RegisterNLogWeb().SetupExtensions(ext =>                ext.RegisterAspNetLayoutRenderer(...))

Closing issue due to inactivity

@snakefoot
Hello there!
I have a question related to ScopeContext.PushProperties method.
I have some extension method that creates Autofac's ILifetimeScope and before returning scope I have line:
ScopeContext.PushProperties(CreateFromCorrelationContext(context));

and it's logging my property (some guid) as it should but I am not wrapping it in using statement and there is my question how it is disposed?
public static ILifetimeScope BeginScopeWithCorrelationContext(this ILifetimeScope @this)
{
    ICorrelationContext context = ...; // context creation

    var scope = @this.BeginLifetimeScope();
    ScopeContext.PushProperties(CreateFromCorrelationContext(context));
    return scope;
}

and this is called inside a while loop inside scheduler class when scope is created for task that will be executed.
From my observation it looks good but I am afraid that it can cause some memory leaks or other issues that I am not able to see right now.

@frozzen10 Please create new issue, instead of piggy-backing on old issues.


Merge master into revision

Changelog conflict (new revision 1 entries: https://github.com/omichel/webots/pull/678/files#diff-2995d6d04238b3c8dcabbb97ecee5cb6R3)

:+1:

:+1:    (updated)


Damienbod/Update security authorization policies example to 3.0

https://docs.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-3.0
Update the docs to a 3.0 application. changes in sample, and md file
@Rick-Anderson
Fixes #15113

I'll take it from here.

Moved to #15120


Allow to receive datastore by name or by id

Datastores on the same setup may have the same name. In order to add a
disk on a specific datastore, it is better to use the datastore id.
https://bugzilla.redhat.com/show_bug.cgi?id=1450952

Another PR was proposed to https://github.com/ManageIQ/manageiq-providers-ovirt/pull/37 in order to support the new parameter.

 Bug 1450952 - [RFE] Support Datastore id, when adding a disk to a VM


can I change the window.location without transition

Hello,
I'm trying to find a way to navigate without affecting the scroll, I can't find documentation for ignoreScrollBehavior I tried this attribute set all the way up to the hierarchy, but can't manage it to work. Does it still work?
Another option would be if I can change the window.location without transition or refresh, and that will be handled inside the component. On page refresh it will have its correct "view" set.
Any advice will be highly appreciated, thanks.

Only old versions of React Router (0.13.x and earlier) had scroll management built-in. We don't support them any more.


Add whylabs and panther labs case studies

This PR adds the WhyLabs and Panther Labs case studies as well as updates the logo section on the home page.
@susanev Mercedes Benz, Panther Labs, and Lykke logos all have some issues when rendering if you wouldn't mind taking a look and helping me fix these SVGs.
(Home page logos doc](https://docs.google.com/document/d/1KvhBTCxynpOHiJw9sL1K0UCkFp9AqivG6dRkhoIIwQ8/edit?usp=sharing)

@zchase can we zoom tomorrow? or can you write out in text the issues ur seeing that need to be fixed?

@susanev I added some info on what I'm seeing going on with the three logos.

@zchase I'm seeing issues with the Panther and Lykke logos in preview

the Skai logo also looks larger than the rest. can we resize it a bit?


scores & time not showing up on player's HUDs

because game manager was a network object, joining a game would destroy it and replace it with a copy synced with the host. any initial subscriptions to it would be lost. this is now fixed


bad code is fine as long as there is a TODO to go along with it

@bschwinn

manually merged into the part-deux branch.


fix IoTeX mainnet multicall contract address

Fixes # .

IoTeX mainnet multicall contract address
Changes proposed in this pull request:
rename Iotex to IoTeX

@bonustrack @ChaituVR


Fix issues on Fedora Ansible scripts

Description of the change
Fixes 3 issues I had on a fresh Fedora 36 minimal install:

Had to change the Ansible remote_tmp dir because of permission issues to local user
Added Python 3 SELinux module to dnf packages
Included required SELinux policy

Benefits
Playbook finishes now without errors. I reverted all my VM's to the fresh installed state to confirm.
Possible drawbacks
Not sure if changing the Ansible remote_tmp dir is the best solution. But I see no harm in changing the user.
Applicable issues
none
Additional information
n/a

Thanks! Looks good


Property 'displaySearching' is private and only accessible within class 'CompleterCmp'.

ERROR in ng:///E:/BambooHome/xml-data/build-dir/163841/src/App/node_modules/ng2-completer/components/completer-cmp.d.ts.CompleterCmp.html (13,17): Property 'displaySearching' is private and only accessible within class 'CompleterCmp'.
Doing --prod build using ng build. Also happens in AOT build.

Downgrade to 1.4.0 solves this.

same issue #245

I have the same issue

@readme42 downgrading to 1.4.0 just leads to this AOT issue which was resolved in 1.5.0 #205
Both need to be addressed before it can be AoT compatible

closing as duplicate


use GS to merge PDFs if available

This dramatically reduces the size of created reports. Closes #210

If this is ready to merge, please go ahead. I agree it is very much needed :)


Permission Denied Pretraining Weights

Is it possible to update the link for the pretraining weights? I was not able to download them

Hi there, I believe you can download it from (here)[https://www.kaggle.com/code/akarshu121/downloading-docformer-weights/output]

awesome, that worked! Thanks!


Last option is not visible in the setting in the sidebar of admin panel.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
While trying to view tax in the setting with collapse so Last option is not visible in the setting in the sidebar of the admin panel.
Preconditions

Admin should be logged in.
The Admin sidebar should collapse.

Steps to reproduce

Go to 'Admin panel'
Click on 'Collapse'
Hover to setting option
See the error

Expected Result
It should be responsive and should be shown the last option.
Actual Result
But not showing the last option. Here
Screenshots
No response
Additional context
No response

Hey @Amitk-webkul , could you please assign this issue to me?

@TheAbhishekIN I have assigned this issue to you.

Hi @TheAbhishekIN, Any update regarding this Issue?

@Amitk-webkul If @TheAbhishekIN  not started working on it, You can assign me

@TheAbhishekIN Please update are you working on it or not?

Hi @TheAbhishekIN, there are no updates from you regarding this issue, so I'm assigning this issue to @devansh-webkul.

@suraj-webkul
Checked and Found that the issue has been fixed and now it is responsive to all screen size. Please check  the video for reference.
Video
https://github.com/bagisto/bagisto/assets/92721837/32d8791d-7d39-4b7f-b2b3-7465b5ffe2d6


WOR-703 Part 1: changes to existing GCP billing project wizard

WOR-703
This PR is the changes the existing step wizard for GCP, in order to extract it into a separate component.
Original PR here

@blakery I'm seeing the first text for Step 2 appear to the right of Step 2 instead of below it.

It looks like we lost the extra space at the bottom of Step 4, which I believe was there to allow the display of error messages. Here it is on prod:

Test for Step 4 isn't appearing below Step 4, and the button text has changed to all caps (was that intentional?):

On prod:

There is something odd going on with the rendering of the checkbox.

Since we have the room, can we make the select fields wider so that they don't resize for the very commonly shown message about "Billing Project name is too short"?

I'm changing the layout so that the billing project selects are wider and thus the error messages below don't have to wrap. For example:

There's currently only tests for the AddTerraAsBillingAccountUserStep, do we need tests for each step? Tested it out locally though and everything looks good

The was an extensive pre-existing unit test for the whole wizard that is still running. I'm not sure what @blakery's plan was with regard to testing each individual step in isolation, but we certainly haven't lost any coverage with this PR.


Handle multiple sign instructions in table

(Theoretically) addresses #130
I haven't been able to test this. If you could set up tests in the MADE repo for this, I would be much obliged.

I think this will fix #130 when it's all worked out 👍

With those changes merged in, this is passing: https://github.com/plocket/docassemble-MAEvictionDefense/runs/1818992682?check_suite_focus=true

With those changes merged in, this is passing: https://github.com/plocket/docassemble-MAEvictionDefense/runs/1818992682?check_suite_focus=true

You are the official reviewer for this PR. Since I created it, I can't approve it.
But unofficially, the code changes look good to me.


Doesn't work on some devices

I am currently using this in production. It seems to work nicely.
But on some devices it simply doesn't respond. I don't have access to these devices which belong to users/strangers, so I can't debug to check. I have confirmed that the app has access to read contacts. On touching the button to open the contact list it just does nothing. It is a Poco (Xiaomi) device running Android 11.
If anyone has encountered anything like this, I would be happy to hear about it.
Sorry I have to be this vague, but I just don't have any more information right now.

I have the same problem @mayur-parksmart your link is broken.

I have the same problem @mayur-parksmart your link is broken.

Check the comment from @SomnathKadam, dated Jun 1, 2021, in the below link.
https://github.com/streem/react-native-select-contact/issues/42


ListView is deprecated and will be removed in a future release

I recently updated to RN 0.59 and now see the "ListView is deprecated and will be removed in a future release" warning. I don't know when in the RN release schedule this change was made, but are there plans to update the package to use FlatList instead?
Related: #24, https://facebook.github.io/react-native/docs/listview,

v2 fixes this


Refactoring schema conversion logic to GLTFConverter class.

This PR also sets the children of the node at the top level (parent node has the lower index).


Sql capabilities

Adding generated code and tests for Location Capabilities API.

Hi @akromm, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (adamkr). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Adding private constructor to util classes (containing  static methods only)

This pull request is focused on resolving occurrences of Sonar rule squid:S1118 - “ Utility classes should not have public constructors ”. You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1118
Please let me know if you have any questions.
Ayman Abdelghany.

Can you please rebase and resolve the conflicts, Thanks.


0829 - Consecutive Numbers Sum

Description of the Problem
Given a positive integer N, how many ways can we write it as a sum of consecutive positive integers?
Example 1:
Input: 5
Output: 2
Explanation: 5 = 5 = 2 + 3

Example 2:
Input: 9
Output: 3
Explanation: 9 = 9 = 4 + 5 = 2 + 3 + 4

Example 3:
Input: 15
Output: 4
Explanation: 15 = 15 = 8 + 7 = 4 + 5 + 6 = 1 + 2 + 3 + 4 + 5

Note: 1 <= N <= 10 ^ 9.
Code
class Solution:
    def consecutiveNumbersSum(self, N: int) -> int:

Link To The LeetCode Problem
LeetCode

I would like to help you Senor

Hi,
Can I work on this?