Datasets for Grid Optimizations

I'd like to request adding a feature for grid optimization calculations in labeled datasets.

Sure, I can get to that. Are there features above the torsiondrive datasets that you would like? For example, what kind of visualization and data organization would you want after the computations complete?
We can also revisit the topic after we have been using the data for a bit.

To clarify I am interested in creating datasets for grid optimizations, and not torsion drive datasets. From my understanding the grid optimizations are user specified steps in an angle restraint and torsion drives are full 360 angle scans.
It would be useful to have the two following features for data processing -
(a) A combined .xyz coordinate file of all geometries in the grid optimization scan. For example if I performed a grid optimization for the improper angles 20, 0.0, and -20 , the .xyz file would contain three final geometries for each of those steps.
Having this .xyz file would make it easy to load the geometries from the optimizations into other visualization packages.
(b) I'm also interested in recording wiberg bond order (WBO) and atom connectivity. I am planning on involving trivalent atom centers in the scans I am performing. I want to be able to determine the (a) type of atom attached to the trivalent center and (b) the WBO between the attached atom and the trivalent atom center.
I am including a example of what this might look like. The "element" # in the image was arbitrarily chosen.

Right, just curious if you had found TorsionDriveDataset features useful and which ones you would like to retain.
I think we can arrange the .xyz writer as well, should be straightforward. WBO is built-in so shouldn't be an issue. Thank you for the graphic- would it be interesting to automatically display WBO on a Molecule in a Jupyter notebook?

I am not familiar with the TorsionDriveDataset features. I think displaying the graphic of the WBO would be an interesting feature!


Learn how to remove Siteminder and replace with direct IDIR AD IDP

Describe the issue
Platform Services has a working implementation of KeyCloak supporting IDIR via direct Active Directory Identity Provider, which insulated them from the Siteminder outage of Aug 10 which impacted the user community of CPFs products and services.
Additional context

Nick Corcoran implemented the solution
We would likely need to create new users (well, direct existing siteminder users to hit the new endpoint auth)

Definition of done

Connect with Nick C for 30 minute meeting, record video of his walkthrough of how he did this for Platform Services and invite Mark L and Meredith O-M from the Parks team to come along and watch (CRM "BC Parks Attendance")
Ask Nick if possible to transfer existing user stubs from siteminder to AD version (maybe via editing the existing - try this in Dev first please)
Store the video in our Team training area in Teams
Implement the solution in our two KeyCloak realms (one for Dev/Test, one for Prod)

The meeting happened, we learned how, and we made tickets to accomplish this


minimise without concatenation to leverage http2 feature

is there any way to just minimise all files without bundling them ? I want to use it with http2.

Sounds like this would be best implemented as a plugin.

There is a builder.compile(moduleName) method which can be used to perform per-file compilation instead of concatenation.


errors as a when using the netinfo fetch command when I had a javascript fetch in my component

Environment

Platforms

Versions

Android:
iOS:
react-native-netinfo:
react-native:
react:

Description
I had an issue when using the fetch command of your library because I had a javascript fetch in my component which was causing all sorts of errors until I moved the netinfo fetch into another component. Using a javascript command as a command in a library probably isn't the best idea.
import { fetch } from "@react-native-community/netinfo";
fetch().then(state => {
console.log("Connection type", state.type);
console.log("Is connected?", state.isConnected);
});
Reproducible Demo

May not be the best idea, but here we are.
Symbol scoping issues are as old as programming languages that have symbols and scopes, developers must be able to handle them


[no-unsafe-readonly-mutable-assignment]:  problem with [Symbol.iterator]

It seems that this rule does not work correctly with [Symbol.iterator].
I'm trying to cast a readonly array to a readonly Iterable, but I get an error: "Using a readonly type to initialize a mutable type can lead to unexpected mutation in the readonly value."
const arr : readonly number[] = [];

const it1 : Iterable<number> = arr; // error!

const it2 : Readonly<Iterable<number>> = arr; // error!

So what should I do about it?

Well, the problem is even worse. We can't even do this:
const arr : readonly number[] = [];
const obj : {} = arr; // error!

Fixed in v6.6.1


Cloud directories with no index

https://docs.docker.com/docker-cloud/faq
https://docs.docker.com/docker-cloud/feature-reference
https://docs.docker.com/docker-cloud/getting-started/beginner
https://docs.docker.com/docker-cloud/getting-started/intermediate
https://docs.docker.com/docker-cloud/tutorials

Note: May be false positives in here; the use of redirect_from can create some of these directories. Thanks for having a look!

faq is the only valid one. I'm on it!

Wait, no, not even faq is valid - the build is just putting things in that folder.

This is a no-op on my part, so I'm going to close it.

Thanks for having a look, @sanscontext :)


Error while getting Recipe from API!

Issue
Saw your post about your project and took it for a spin – thank you for this! This is a must-have feature for my partner. I've tried a couple of URLs and keep getting:
Exception('Error while getting Recipe from API! - Status Code: 400 - Response: {"detail":{"details":"BAD_RECIPE_DATA"}}')

URLs tested:

https://www.instagram.com/reel/C1nZam7S31q/
https://www.instagram.com/reel/C1z7vrISv4w/

Logs
https://mealie.example.com
Mealie API Key is set in ENV
INSTA_USER is set in ENV
Session file exists
120
Checking connection and validating auth data...
Connection established! Auth data validated! - Status Code: 200
Loaded session from ./session-file.
my-ig-username
Startup Successfully
downloads/C1z7vrISv4w/2024-01-07_19-54-55_UTC.jpg [One of my most viral recipes …] downloads/C1z7vrISv4w/2024-01-07_19-54-55_UTC.mp4
Downloaded post: https://www.instagram.com/reel/C1z7vrISv4w/
downloads/C1nZam7S31q/2024-01-02_23-02-36_UTC.jpg [Chicken kofta with tzatziki a…] downloads/C1nZam7S31q/2024-01-02_23-02-36_UTC.mp4
Downloaded post: https://www.instagram.com/reel/C1nZam7S31q/?igsh=eHlsd3Z3bjg1dDBn

I added some debug output and this is what's getting the BAD_RECIPE_DATA response:
{"includeTags": true, "data": "Chicken kofta with tzatziki and lemon dill rice\u2728\nCre by @maxiskitchen\nFor the Chicken Kofta:\u25aa\ufe0f1 lb. Ground Chicken (96% lean, not breast only)\u25aa\ufe0f1/2 Cup Yellow Onion, finely chopped\u25aa\ufe0f1/4 Cup Parsley, finely chopped\u25aa\ufe0f2 Tbsp Mint, finely chopped\u25aa\ufe0f3 Cloves Garlic, minced\u25aa\ufe0f1 Egg\u25aa\ufe0f1 Tbsp Coriander\u25aa\ufe0f1+1/2 tsp Cumin\u25aa\ufe0f1/2 tsp Cinnamon\u25aa\ufe0f1/4 tsp Cayenne Pepper\u25aa\ufe0f1 Pinch Cloves\u25aa\ufe0f1/4 tsp Black Pepper\u25aa\ufe0f1 tsp Kosher Salt\u25aa\ufe0f1 Tbsp Avocado or Olive Oil\u25aa\ufe0f\n\nFor the Tzatziki: \u25aa\ufe0f1/2 a Large Cucumber, grated\u25aa\ufe0f2 Cups 2% Greek Yogurt\u25aa\ufe0f1 Clove Garlic, grated or minced\u25aa\ufe0f1 Lemon, juice\u25aa\ufe0f1 Tbsp Olive Oil\u25aa\ufe0f1/4 tsp Kosher Salt (or to taste)\u25aa\ufe0f\n\nFor the Lemon Dill Rice:\u25aa\ufe0f2 Cups Chicken Stock\u25aa\ufe0f1/2 tsp Salt\u25aa\ufe0f1 Clove Garlic, minced\u25aa\ufe0f1 Cup Long-Grain Rice\u25aa\ufe0f1 Medium Lemon, zest (~1 Tbsp)\u25aa\ufe0f2 Tbsp Fresh Dill, chopped\u25aa\ufe0f2 Tbsp Butter\u25aa\ufe0f\n\nSliced Veggies (for serving):\u25aa\ufe0f1/2 a Cucumber, sliced\u25aa\ufe0f1/4 of a Yellow Onion, sliced\u25aa\ufe0f1 Tomato, sliced\u25aa\ufe0f\n\n1\ufe0f\u20e3 Mix together ingredients for the tzatziki and set aside in the fridge\n2\ufe0f\u20e3 To make the lemon dill rice, add the chicken stock, salt, and garlic to a small pot and bring to a boil; stir in the rice and then turn the heat down to low and cover and simmer for 20 mins (or until all liquid is absorbed); turn off the heat and stir in the lemon zest, dill, and butter\n3\ufe0f\u20e3 For the chicken kofta, combine the ground chicken, onion, parsley, mint, garlic, egg, coriander, cumin, cinnamon, cayenne, cloves, salt, and pepper in a large bowl\n4\ufe0f\u20e3 Preheat a large nonstick skillet over medium heat and add 1 Tbsp oil; place dollops of the chicken mixture (~1 heaping Tbsp each) onto the pan and cook for 2-3 minutes until browned; flip over and flatten slightly with the spatula, and cook for another 2-3 minutes until internal temp reaches 165F; repeat until all chicken is cooked\n5\ufe0f\u20e3 Serve chicken kofta with lemon dill rice, tzatziki, and sliced veggies and enjoy!\n\n\ud83d\udd5240 minute total prep + cook time\nRecipe serves 2 people (rice and tzatziki can stretch to 4 people)\n\nFollow @mediterranean.diet.plan to get more daily recipes"}

Okay, figured out the issue. I set the OPENAI_BASE_URL in Mealie to "", which the docs would suggest means it'll default to OpenAI's API. Instead it'll just try connecting if the env var is set regardless of value.
I'm happy to report this is now working! 🎉

Closing this out now.


Refactor tests

Description
Refactor test packages to prepare code base to add additional Istio integration tests and ease execution during development.

Changes proposed in this pull request:

Remove build tag from testkit packages
Refactor integration test package and labels
Use API server URL from test environment for proxy connections
Remove redundant matcher unittest execution

Related Issues and Documents

Closes:
Related issues:
https://github.com/kyma-project/telemetry-manager/issues/317
Traceability

[x] The PR is linked to a GitHub Issue.
[ ] New features have a milestone label set.
[ ] New features have defined acceptance criteria in a corresponding GitHub Issue, and all criteria are satisfied with this PR.
[x] The corresponding GitHub Issue has a respective area label.
[ ] The follow-up issues (if any) are linked in the Related Issues section.

Testability
The feature is unit-tested:

[ ] Yes.
[x] No, because unit tests are not needed.
[ ] No, because of ...

The feature is e2e-tested:

[x] Yes.
[ ] No, because e2e-tests are not needed.
[ ] No, because of ...

Tests conducted for the PR:

Codebase

[ ] My code follows the Effective Go style guidelines.
[ ] The code was planned and designed following the defined architecture and the separation of concerns.
[ ] The code has sufficient comments, particularly for all hard-to-understand areas.
[x] This PR adds value and shows no feature creep.
[x] I have augmented the test suite that proves my fix is effective or that my feature works.
[ ] Adjusted the documentation if the change is user-facing.

/retest

/retest

/retest


docs: Fix incorrect path to SAML certs in SAML Keycloak instructions.

This was supposed to be /etc/zulip/saml/idps/

Merged, and also backporting to 5.x.


Fix: Typo in selfhosted doc

Corrected Typo: ...future threads. -> ...future threats.

Thanks for the contribution @ukashazia


No unions

Implemented by @wez this PR replace untagged unions with functions for access to alternate registers.
Depends on #308 .
Closes #230, #218, https://github.com/stm32-rs/stm32-rs/issues/149 .
@adamgreig , @therealprof , @Emilgardis , @ryankurte

r? @Emilgardis
(rust_highfive has picked a reviewer for you, use r? to override)


Docs on RequestAuthentication don't work

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
When following the host example (2nd from the top) https://istio.io/latest/docs/reference/config/security/request_authentication/ you get
error: error validating "STDIN": error validating data: ValidationError(AuthorizationPolicy.spec.rules[0].to): invalid type for io.istio.security.v1beta1.AuthorizationPolicy.spec.rules.to: got "map", expected "array"; if you choose to ignore these errors, turn validation off with --validate=false

and if you put a - before:
  rules:
  - from:
    - source:
        requestPrincipals: ["*"]
      to:
      - hosts:
        - jaeger.example.com

you get
error: error validating "STDIN": error validating data: ValidationError(AuthorizationPolicy.spec.rules[0].to[0]): unknown field "hosts" in io.istio.security.v1beta1.AuthorizationPolicy.spec.rules.to; if you choose to ignore these errors, turn validation off with --validate=false

[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[x] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
1.8.1
How was Istio installed?
istioctl operator init
Environment where the bug was observed (cloud vendor, OS, etc)
GKE 1.17.x
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

Thanks for the report, the example missed the - operation:, sent out a PR to fix the doc.


[ISSUE #8020] fix document typo

Which Issue(s) This PR Fixes
Fixes #8020
Brief Description
fix document(README) typo
How Did You Test This Change?

@RongtongJin Hello, I would like to ask why the check failed when I did not modify the code.


Feedback from H0rb#2507

From H0rb :
Feedback You guys should provide support to all distros, but you shouldnt help to anyone about pentesting stuff. For example you could provide support to a kali linux users package managing problem or a system problem like ubuntu or debian has on a daily basis, but you shouldn't provide support to any problem related to hacking.

From Faith | Am Girl! :
We maintain a list of unsupported distros to provide actual quality help, it'd take forever to debug what happened on some random distro or a badly maintained distro. Closing.


Error: Failed to initialize project ENOENT: no such file or directory, open package.json

What is the location of your example repository?
No response
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
@latest
What version of Remix are you using?
2.1.0
Steps to Reproduce
Step 1: npm create @shopify/hydrogen@latest
Step 2: Link your Shopify account
Step 3: Select a shop to log in to:
Step 4: New storefront name:
Step 5: Select Javascript
Expected Behavior
I expect to select JavaScript or Typescript and continue with the installation.
Actual Behavior
NPM Version: v16.14.2
Once we get to Step 5 the installation exits and present an error message. The prompt exists before any selection is made.
Failed to initialize project: ENOENT: no such file or directory, open       │
│  '/Users/pbj/Sites/hydrogen-test/<project-name>/package.json'                        │
│                                                                              │
│  Error: ENOENT: no such file or directory, open                              │
│  '/Users/pbj/Sites/hydrogen-test/<project-name>/package.json'

npm ERR! code 1
npm ERR! path /Users/pbj/Sites/hydrogen-test
npm ERR! command failed
npm ERR! command sh -c create-hydrogen

npm ERR!      /Users/pbj/.npm/_logs/2023-11-01T14_05_54_133Z-debug-0.log

and NPM logs
0 verbose cli [
0 verbose cli   '/Users/pbj/.nvm/versions/node/v16.14.2/bin/node',
0 verbose cli   '/Users/pbj/.nvm/versions/node/v16.14.2/bin/npm',
0 verbose cli   'create',
0 verbose cli   '@shopify/hydrogen@latest'
0 verbose cli ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 3ms
5 timing config:load:file:/Users/pbj/.nvm/versions/node/v16.14.2/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/Users/pbj/Sites/hydrogen-test/.npmrc Completed in 3ms
10 timing config:load:project Completed in 8ms
11 timing config:load:file:/Users/pbj/.npmrc Completed in 3ms
12 timing config:load:user Completed in 4ms
13 timing config:load:file:/Users/pbj/.nvm/versions/node/v16.14.2/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 24ms
19 timing npm:load:configload Completed in 24ms
20 timing npm:load:setTitle Completed in 6ms
21 timing config:load:flatten Completed in 4ms
22 timing npm:load:display Completed in 7ms
23 verbose logfile /Users/pbj/.npm/_logs/2023-11-01T14_05_54_133Z-debug-0.log
24 timing npm:load:logFile Completed in 8ms
25 timing npm:load:timers Completed in 0ms
26 timing npm:load:configScope Completed in 0ms
27 timing npm:load Completed in 48ms
28 silly logfile start cleaning logs, removing 1 files
29 http fetch GET 200 https://registry.npmjs.org/@shopify%2fcreate-hydrogen 430ms (cache revalidated)
30 timing arborist:ctor Completed in 2ms
31 timing arborist:ctor Completed in 0ms
32 timing arborist:ctor Completed in 0ms
33 timing command:create Completed in 48602ms
34 verbose stack Error: command failed
34 verbose stack     at ChildProcess.<anonymous> (/Users/pbj/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
34 verbose stack     at ChildProcess.emit (node:events:526:28)
34 verbose stack     at maybeClose (node:internal/child_process:1092:16)
34 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
35 verbose cwd /Users/pbj/Sites/hydrogen-test
36 verbose Darwin 23.0.0
37 verbose argv "/Users/pbj/.nvm/versions/node/v16.14.2/bin/node" "/Users/pbj/.nvm/versions/node/v16.14.2/bin/npm" "create" "@shopify/hydrogen@latest"
38 verbose node v16.14.2
39 verbose npm  v8.5.0
40 error code 1
41 error path /Users/pbj/Sites/hydrogen-test
42 error command failed
43 error command sh -c create-hydrogen
44 verbose exit 1
45 timing npm Completed in 48873ms
46 verbose code 1
47 error A complete log of this run can be found in:
47 error     /Users/pbj/.npm/_logs/2023-11-01T14_05_54_133Z-debug-0.log

I don't think this is a problem anymore. Please re-open if it's still an issue.


Quick Note on publishing extensions to the Chrome Store - probably should be added to the readme

@mingyaulee
I was able to get my extension added to the Chrome Web Store (in addition to the Edge store).
A couple of things to note about this:

Microsoft is far easier to deal with as long as you note somewhere in the testing steps and/or description that the extension uses Blazor. It's slower than Google but it's pretty much a hassle free experience.

Google on the other hand will reject your extension at first if you declare any chromium apis in the manifest. Their automated testing doesn't work with Blazor / WASM. Their support has managed to get it straightened out each time, but it's still frustrating.

Needless to say, you may want to note in the read me that developers should expect some difficulty with Google if they wish to publish a Blazor extension to the Chrome store.
The last correspondence I had with Google's support said that they are discussing how to make the submission of WASM extensions easier. So hopefully this isn't a permanent problem.

Thank you for sharing your experience. I completely agree that it should be mentioned in the readme for others to be aware of as well. Wasm extensions still need to be improved especially in manifest v3 since there has been many complaints about it.

I have added the notes to the readme. Just a quick question though, I saw that in the chrome store it says the extension is about 22MB, do you have any large dependencies? This is because I checked the publish size in the samples project it is only less than 5MB.

@mingyaulee
Thanks for bringing that up, it was largely because I was just sending them the release folder. I did try publishing it just now to see if that makes a difference and it trimmed it down to 11 mb (most of it was coming from the framework folder). I probably could shave it down more by doing some things to bootstrap but I'd rather get a couple of things ironed out in the extension first.
One thing about publishing I've found is that it doesn't rename the _content and _framework folders automatically in Visual Studio. Loading the extension unpacked gives you the usual error saying you can't have underscores in file names. Work around for this is to update all references of _framework in blazor.webassembly.js with framework.
Loading it packed gives me an error from core.js.
Maybe I overlooked something in the documentation?

Build and publish should both rename the folders _framework and _content. Are you loading the unpacked extension from the browserextension folder instead of the wwwroot folder?

Build renames the _content and _framework folders as expected inside of the bin\buildtype\net6.0\browserextension folder.
Publish creates a bin\Release\net6.0\browser-wasm\publish\wwwroot folder with a web.config file outside of it. This is using the publish wizard in VS. Unless I am missing something, I would presume that wwwroot folder is supposed to be the published browser extension?  Should I be using dotnet publish instead?

Oh yes you should use the command dotnet publish -c Release instead because the VS publish wizard does not invoke the msbuild target provided by this package.


complete coverage for command install

run npm test
edit test test/commands/install.test.js
get test to 100% across the board

Hey @shazron can you explain a bit more about this issue ,would like to contribute to it


Slight incompatibility with 'Carry On' mod

Describe the bug
Picking up the Creative Controller with the 'Carry On' mod in Survival makes it unable to be placed down, instead duplicating the block every time it is placed down. For further context, I play in a pack that doesn't have power, so I modified the regular controller recipe to make the Creative Controller so I wouldn't have to worry about power.
It is pretty much impossible to set down, and after trying to die and respawn, I was unable to respawn, at all. Even after deleting my player.dat file. The solution I found was to disable Carry On, reload the world, then re-enable it after.
How can we reproduce this bug or crash?

Obtain a Creative Controller block
Place it down
Try to pick it up using the Carry On mod (Crouch + Right Click by default)

What Minecraft version is this happening on?
Minecraft 1.20.1
What Forge or Fabric version is this happening on?
0.14.24
What Refined Storage version is this happening on?
v2.0.0-milestone.3.2
Relevant log output
No response

Thank you for reporting. Could you try moving some other RS2 blocks with Carry On and tell me how it works or if anything else is broken? Thanks!

I tried a few more, it seems most blocks are affected, mainly those with an interface.
The ones I tried are the Controller (non-Creative version), Grid, Crafting Grid, External Storage, Interface, Disk Drive, Detector, 1K Storage Block, Network Transmitter & Network Receiver.
The only one I tested that wasn't affected was the Machine Casing, but it wasn't able to be picked up by Carry On anyways.


Always report logToMaster messages (resolves #683)

Jenkins, test this please.

Jenkins, test this please.

This should target releases/3.1.x


Blank document generated

Expected Behavior
Document should be generated as closely as what's displayed in browser as possible
Current Behavior
Generated document is completely blank (empty)
Possible Solution
Adding a possibility to specify a delay to let the page load completely before performing the actual conversion.
What could be even better would be to add a mechanism similar to what Puppeteer uses with the waitUntil option (see their documentation) in the page.goto section here
Steps to Reproduce (for bugs)

Using the convert/url endpoint
Specify an url that corresponds to a page on which the html spans multiple physical pages in length
Send the request

Context
Trying to generate a pdf from an html page that would essentially span close to 100 pages in PDF format.
Your Environment

Version used: 4
Operating System and version: Windows 10, latest stable build

@set-webmaster could you send me the URL of the paye you're trying to generate?

Sadly I can't share it as it's from an internal app I'm working on. But, if the problem is effectively that some items are delayed and the conversion runs too fast, anything that is delayed on purpose would recreate the same use case.
Here is a quick example you can use that should recreate this issue in a certain way (only the content initially available will be displayed. See here

Thank you for the feedback 👍
Actually it's not the same issue.
In the new version of Gotenberg, I'm watching for more events, one of them being DOMContentLoaded. So in your case, Gotenberg will wait until your 120 000 lines of HTML are loaded (except if it takes more time than a timeout you may define).
But in your example, it's a javascript delay and as far as I know there is no event
for handling such cases.
I've ended adding a "sleep" which make it works though. It should be OK, as each requests are handled by a goroutine and the sleep only "pause" the execution of the considered goroutine.

Yeah as I said it is effectively not the exact same issue (one caused by long content loading delay, the other being Javascript induced).
A potential solution for Javascript induced delay (like react apps or other frontend frameworks that render content dynamically) would be to add a way to await for a certain selector (such as what's done in Puppeteer, see here
Waiting for the DOMContentLoaded is a better solution than the delay and that will be an excellent addition IMO.
Do you have any estimate of the availability of the "new version"?

Indeed, the wait selector seems to be a good option. Not sure how to implement in Go.
For now, I'll simply add a delay form field :)
The new version should be available soon, it's almost done.
I need to update the clients though.

Sorry if it's supposed to be easy to find, but would you mind telling me where the DOMContentLoaded event is treated? Is it here? I can't find the actual DOMContentLoaded anywhere...
Thanks in advance!

#66


Wrong buffers disposition upon attempt to exit with unwritten change

Reproduce:
Open any buffer, type --test, or aynthing. Exit buffer without saving.
We get the wrong_buffer disposition after jumping to the error.
This is both with defaults "error jump" nvim behavior or the notify "jump" setting enabled. (In this example, notify, and what I could think as of other plugins having an impact, are disabled).

P.S. Would love to know how  to have the status bar cover the side buffers too, can't firgure it out.

I'm not sure because we have a custom behavior when trying to quit nvim with unsaved buffer.
Would you mind letting me know if you can repro by installing the plugin on this branch? https://github.com/shortcuts/no-neck-pain.nvim/tree/feat/winlayout
It's an ongoing feature that should prevent any buffer misplacement, so it might already be fixed there

P.S. Would love to know how to have the status bar cover the side buffers too, can't firgure it out.

See :h statusline you can set the global option which will be buffer-based but take the full width

Would you mind letting me know if you can repro by installing the plugin on this branch? https://github.com/shortcuts/no-neck-pain.nvim/tree/feat/winlayout

No sucess cloning doing it the only way  I'm so far accustomed to: lua table w/ Lazy
return {
  "shortcuts/no-neck-pain.nvim/tree/feat/winlayout"
}

Error from Lazy: clone failed, no such file or dir


Support matrix build

@imbsky did you mean to open this? I’ll close it but happy to re-open if you edit your original comment body 👍

Oh, when I hit return, it seemed to be opened...

@IAmHughes Currently a validation error occurs when uploading assets from multiple OSs to release in a matrix build. It should be fixed.

In other words, we can't upload software-name-here-x86_64-macOS-latest.tar.gz and software-name-here-x86_64-ubuntu-latest.tar.gz to latest release.

and I can't re-open this issue, there is no button to re-open.

I reopened it for you @imbsky, because the original issue was blank I wasn’t sure. Thanks!

Thanks for quick response!

Running into this. Trying to have a build with the following job structure:
build(mac)       build(linux)        build(win)
    │                  │                 │
    └──────────────────┼─────────────────┘
                       │
                create_release()
                       │
    ┌──────────────────┼─────────────────┐
    │                  │                 │
upload(mac)       upload(linux)      upload(win)

This is split into 3 jobs, 2 of which use matrices. It is not possible
to run create-release (https://github.com/actions/create-release).
Because it is impossible to get outputs from previous jobs (even
ones that it "needs"),
and because create-release cannot be run per-matrix this setup
is impossible.

This supports matrix build. I don't know because I haven't read the code at all, but can't we support it with the same approach?
https://github.com/softprops/action-gh-release

Same issue here. Trying to upload to a release 3 assets for 3 different platforms and failing on 'create_release' when the job for the second platform is running.
Run actions/create-release@v1
##[error]Validation Failed

Any ideas?

I got around this by having a seperate job do release creation. Files needed for release can be uploaded/downloaded via artifacts.

I have the same problem, I've tried ${{ needs.create-release.outputs.upload_url }} but it doesn't work

I have a workaround for this which creates the release first, before going into matrix mode:
jobs:
  create_release:
    name: Create release
    runs-on: ubuntu-latest
    outputs:
      upload_url: ${{ steps.create_release.outputs.upload_url }}
    steps:
      - name: Create release
        id: create_release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ github.ref }}
          release_name: Release ${{ github.ref }}

  build_release:
    name: Build release
    needs: create_release
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        include:
          - os: ubuntu-latest
            zip_name: plugin-linux
            generator: Unix Makefiles
          - os: macos-latest
            zip_name: plugin-mac
            generator: Xcode
          - os: windows-latest
            zip_name: plugin-win
            generator: Visual Studio 16 2019
    steps:

      - name: Checkout code
        uses: actions/checkout@v2

      - name: Install Linux dependencies
        if: matrix.os == 'ubuntu-latest'
        run: sudo apt-get update && sudo apt-get install cmake gcc

      - name: Install macOS dependencies
        if: matrix.os == 'macOS-latest'
        run: brew install cmake

      - name: Install Windows dependencies
        if: matrix.os == 'windows-latest'
        run: |
          choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
          choco install zip

      - name: Build
        shell: bash
        run: cmake --build ./build --config Release

      - name: Compress
        shell: bash
        run: |
          cd ./build/VST3/Release
          zip -r ../${{ matrix.zip_name }}.zip *

      - name: Upload
        uses: actions/upload-release-asset@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          upload_url: ${{ needs.create_release.outputs.upload_url }}
          asset_path: ./build/VST3/${{ matrix.zip_name }}.zip
          asset_name: ${{ matrix.zip_name }}.zip
          asset_content_type: application/zip

Full source code is here:
https://github.com/studiorack/studiorack-plugin/blob/master/.github/workflows/release.yml


Change icon to curved version

The current version of the icon available within the repository looks very jarring since it is very flat with sharp corners. This path will give you a nicer version of the icon for the snap package.

Please rebase and push again for the pipeline failure).
My problem with this is that the official AppImage is using the squared icon, not the rounded one which is target for MacOs instead.

Closing in favor of https://github.com/p-gentili/logseq/pull/9. Thanks for the suggestion.


Alignment problem using sScrollX + sScrollY

Hello, Allan!
I'm having a problem when using sScrollX and sScrollY with Bootstrap. The calculated widths are not being respected by the browsers, ending with bad aligned header and body.
Here I have an example:
http://jsbin.com/ICOCiSe/1/edit?html,css,js,output
Tested on IE10, Chrome and Firefox on Windows 8.
Thanks!

Going to close this now as I don't have a way to reproducing the issue.

Hello, Allan!

               I am using DataTable, but in firefox only, if the data column contains images then the width of header column and data column mismitched(as shown in snapshot)

Hi I have dataTable version 1.10.13 containing footer and table header also. But on applying
"scrollY":  "200px",   "scrollX":true , table header and footer get misaligned. Please someone suggest me how to fix it.

Please post support questions in the DataTables forums with a link to a test case showing the issue and using the latest version. Thanks.


add logic for creating cinder endpoints

Cinder v2 and v3 endpoints were previously being created even when cinder.enabled=false, creating the need for cinderv2.enabled and cinderv3.enabled.

retest

retest

retest

retest

retest

retest

retest

retest

retest


Re-auth fails after Token became invalid (Using Skype-credentials)

After 1 day the reauth after the token became invalid failed.
The credentials should still be present as it wasn't restarted
Running While: 2017-02-21 20:22:00.228576 (Skypetoken valid for 0:00:07.771455)

Error: Error Polling Messages : ("Couldn't retrieve PPFT from login form", <Response [200]>)
Traceback (most recent call last):
  File "SkypeBot.py", line 290, in <function>
    events = sk.getEvents()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 77, in wrapper
    return fn(self, *args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 77, in wrapper
    return fn(self, *args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/skpy/main.py", line 116, in getEvents
    for json in self.conn.endpoints["self"].getEvents():
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 904, in getEvents
    auth=SkypeConnection.Auth.RegToken).json().get("eventMessages", [])
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 421, in getRegToken
    endpoint.config()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 864, in config
    "version": "908/<IP_ADDRESS>"}})
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 421, in getRegToken
    endpoint.config()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 864, in config
    "version": "908/<IP_ADDRESS>"}})
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 421, in getRegToken
    endpoint.config()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 864, in config
    "version": "908/<IP_ADDRESS>"}})
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 421, in getRegToken
    endpoint.config()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 864, in config
    "version": "908/<IP_ADDRESS>"}})
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 421, in getRegToken
    endpoint.config()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 864, in config
    "version": "908/<IP_ADDRESS>"}})
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 421, in getRegToken
    endpoint.config()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 864, in config
    "version": "908/<IP_ADDRESS>"}})
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 421, in getRegToken
    endpoint.config()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 864, in config
    "version": "908/<IP_ADDRESS>"}})
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 415, in getRegToken
    self.verifyToken(self.Auth.SkypeToken)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 334, in verifyToken
    self.getSkypeToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 262, in getSkypeToken
    self.liveLogin(user, pwd)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 359, in liveLogin
    self.tokens["skype"], self.tokenExpiry["skype"] = SkypeLiveAuthProvider(self).auth(user, pwd)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 532, in auth
    params = self.getParams()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 543, in getParams
    raise SkypeApiException("Couldn't retrieve PPFT from login form", loginResp)
skpy.core.SkypeApiException: ("Couldn't retrieve PPFT from login form", <Response [200]>)

subsequential calls failed with the same Error although not as many verifyToken-Recursions

When you provide a username/password, the getSkypeToken() stub is replaced with a wrapper that uses the credentials, so you should be able to call that and reconnect.
I'm not sure what's going on here though.  endpoint.config() requires a registration token, so it starts the reg-token handshake, but when it gets round to configuring the endpoint, it never actually got a new token?  The eventual "Couldn't retrieve PPFT from login form" is most likely due to rate limiting if you're continuously calling the registration endpoint.
You're getting spun in a loop because this check is failing -- perhaps you could try fetching a registration token manually, and comparing the previous token and expiry to what the API gives you?
prov = SkypeRegistrationTokenProvider(sk.conn)
token, expiry, msgsHost, endpoint = prov.auth(sk.conn.tokens["skype"])

The thing is that the LiveLogin (the replaced stub) is called in the end and subsequently fails.
Why does it actually get caught in the loop?

Oh, I get it´; It thinks, the token is still valid which is why verifyToken passes in getRegToken and it proceeds to call config.
This is what the error looks like on later occasions:
Traceback (most recent call last):
  File "SkypeBot.py", line 290, in checkYorrickMsgsLoop
    events = sk.getEvents()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 77, in wrapper
    return fn(self, *args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 77, in wrapper
    return fn(self, *args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/skpy/main.py", line 116, in getEvents
    for json in self.conn.endpoints["self"].getEvents():
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 904, in getEvents
    auth=SkypeConnection.Auth.RegToken).json().get("eventMessages", [])
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 193, in __call__
    self.verifyToken(auth)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 337, in verifyToken
    self.getRegToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 415, in getRegToken
    self.verifyToken(self.Auth.SkypeToken)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 334, in verifyToken
    self.getSkypeToken()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 262, in getSkypeToken
    self.liveLogin(user, pwd)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 359, in liveLogin
    self.tokens["skype"], self.tokenExpiry["skype"] = SkypeLiveAuthProvider(self).auth(user, pwd)
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 532, in auth
    params = self.getParams()
  File "/usr/local/lib/python3.4/dist-packages/skpy/conn.py", line 543, in getParams
    raise SkypeApiException("Couldn't retrieve PPFT from login form", loginResp)
skpy.core.SkypeApiException: ("Couldn't retrieve PPFT from login form", <Response [200]>)

What do the different tokens actually do?

There are two types of tokens -- Skype token, and registration token.  The latter requires a former as part of the request, and both have their own expiries.  Different APIs require different tokens.  The presence and messaging endpoints (client-s.gateway.messenger.live.com) take a registration token, most other APIs use the Skype token.

It thinks, the token is still valid which is why verifyToken passes in getRegToken and it proceeds to call config.

verifyToken() tests a token exists and hasn't expired yet, and re-auths on failure.  But getRegToken() shouldn't be called in the first place if the token's still valid.  🤔

This is what the error looks like on later occasions:
...
skpy.core.SkypeApiException: ("Couldn't retrieve PPFT from login form", <Response [200]>)

As noted above, probably down to rate limiting.  If you try to sign in to Skype for Web from the same device, you may end up at a captcha/two-factor page.
If you set SKPY_DEBUG_HTTP=1 in your environment, you'll see the actual HTTP requests going on in the background.  What's the server response just before you hit that error?
Please also try the snippet and comparison as suggested previously.

@DerGenaue Any updates?
(P.S. I've pushed an update that includes headers in the HTTP debug output, please pull before testing.)

Not yet, had a stressful week but I think I can test it today

Result of resfreshSkypeToken:
>>> sk.conn.refreshSkypeToken()
<= [04/03 18:47:59] GET https://login.skype.com/login/login
{'cookies': {'refresh-token': 'eyJ0eXAiOiJKV1QiLCJ**'},
 'params': {'client_id': '578134', 'redirect_uri': 'https://web.skype.com'}}
=> [04/03 18:47:59] 200
{'Cache-Control': 'no-store, no-cache, must-revalidate',
 'Connection': 'keep-alive',
 'Content-Type': 'text/html; ver=1.0; charset=utf-8;',
 'Date': 'Sat, 04 Mar 2017 17:47:46 GMT',
 'Expires': 'Thu, 01 Jan 1970 00:00:01 +0000',
 'P3P': 'CP="CAO PSA OUR"',
 'Pragma': 'no-cache',
 'Server': 'nginx',
 'Set-Cookie': 'SC=CC=:CCY=:LC=en:LIM=:TM=1488649666:TS=1488649666:TZ=:VAT=:VER=; '
               'expires=Sun, 04-Mar-2018 17:47:46 GMT; Max-Age=31536000; '
               'path=/; domain=.skype.com, '
               'login-vi=de05fbb5c614d9445d7da1a6d26323ad; path=/, '
               'login-vi=4784b4118b01bceff6782508383d8d91; path=/',
 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains',
 'Transfer-Encoding': 'chunked',
 'X-Content-Type-Options': 'nosniff',
 'X-Frame-Options': 'DENY',
 'X-Processing-Time': '0.009',
 'X-Skype-Request-Id': 'e8fa12f8',
 'X-Stratus-Processing-Time': '0.0078',
 'X-Stratus-Request-Id': 'e8fa12f8'}
<!DOCTYPE html><meta charset="utf-8"/><meta content="text/html; charset=utf-8" http-equiv="content-type"/><meta content="IE=edge" http-equiv="X-UA-Compatible"/><title>Sign into your Skype account</title><meta name="description" content="Sign into your Skype account to call and chat with friends and family. Log in to stay in touch with Skype."/><meta content="width=device-width, initial-scale=1" name="viewport"/><link rel="icon" type="image/vnd.microsoft.icon" href="https://apps.skypeassets.com/static/5.4.0/skype.login/images/icons/favicon.ico"/><link rel="shortcut icon" href="https://apps.skypeassets.com/static/5.4.0/skype.login/images/icons/favicon.ico"/><link rel="apple-touch-icon" href="https://apps.skypeassets.com/static/5.4.0/skype.login/images/logos/skype_webclip.png"/><link rel="stylesheet" type="text/css" media="screen" href="https://apps.skypeassets.com/static/5.4.0/skype.login/css/reset.css;fonts.css;responsiveness.css;buttons.css;navigation.css"/><link rel="stylesheet" type="text/css" media="screen" href="https://apps.skypeassets.com/static/5.4.0/skype.login/css/base.css;layout.css;form.css;notification.css;input.css;checkbox.css"/><link rel="stylesheet" type="text/css" media="screen" href="https://apps.skypeassets.com/static/5.4.0/skype.login/css/email-message.css;spinner.css;captcha.css;microsoft-sso.css"/>

Sign in

Sign in with your Microsoft account

Error
Your sign in details were not recognized, please check and try again.

Warning
This page requires JavaScript to be turned on. Please update your browser settings.

<form id="loginForm" autocomplete="off" method="post" action="https://login.skype.com/login?application=login&redirect_uri=https%3A%2F%2Fweb.skype.com&client_id=578134">
Skype name, email or phone number <input type="text" name="username" id="username" maxlength="150"/>

<button class="btn primaryCta" type="submit" id="signIn"> Sign in</button>

Create new account
<input type="hidden" name="session_token"/><input type="hidden" name="skpvrf"/><input type="hidden" value="login" name="application"/>
<input type="hidden" value="https://web.skype.com" name="redirect_uri"/>
<input type="hidden" value="578134" name="client_id"/></form>

Problems signing in?Sign in with Facebook

<form class="language-selector" method="get" action="https://login.skype.com/login?application=login&redirect_uri=https%3A%2F%2Fweb.skype.com&client_id=578134">English
<select class="language-selector_picker" name="setlang" id="languageSelector" title="Language" aria-label="Language"><option value="en" lang="en" label="English" selected="selected">English</option><option value="ar" lang="ar" label="عربي">عربي</option><option value="bg" lang="bg" label="Български">Български</option><option value="cs" lang="cs" label="Česky">Česky</option><option value="da" lang="da" label="Dansk">Dansk</option><option value="de" lang="de" label="Deutsch">Deutsch</option><option value="el" lang="el" label="Ελληνικά">Ελληνικά</option><option value="es" lang="es" label="Español">Español</option><option value="et" lang="et" label="Eesti">Eesti</option><option value="fi" lang="fi" label="Suomi">Suomi</option><option value="fr" lang="fr" label="Français">Français</option><option value="he" lang="he" label="עברית">עברית</option><option value="hi" lang="hi" label="हिन्दी">हिन्दी</option><option value="hu" lang="hu" label="Magyar">Magyar</option><option value="id" lang="id" label="Bahasa Indonesia">Bahasa Indonesia</option><option value="it" lang="it" label="Italiano">Italiano</option><option value="ja" lang="ja" label="日本語">日本語</option><option value="ko" lang="ko" label="한국어">한국어</option><option value="nl" lang="nl" label="Nederlands">Nederlands</option><option value="no" lang="no" label="Norsk">Norsk</option><option value="pl" lang="pl" label="Polski">Polski</option><option value="pt-PT" lang="pt-PT" label="Português">Português</option><option value="pt-BR" lang="pt-BR" label="Português (Brasileiro)">Português (Brasileiro)</option><option value="ro" lang="ro" label="Română">Română</option><option value="ru" lang="ru" label="Русский">Русский</option><option value="sv" lang="sv" label="Svenska">Svenska</option><option value="tr" lang="tr" label="Türkçe">Türkçe</option><option value="uk" lang="uk" label="Українська">Українська</option><option value="zh-Hans" lang="zh-Hans" label="中文（简体)">中文（简体)</option><option value="zh-Hant" lang="zh-Hant" label="中文 (繁體)">中文 (繁體)</option></select>
<input type="hidden" value="login" name="application"/>
<input type="hidden" value="https://web.skype.com" name="redirect_uri"/>
<input type="hidden" value="578134" name="client_id"/></form>

Terms of use
·
Privacy and cookie policy
·
© 2017 Skype and/or Microsoft.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.4/dist-packages/SkPy-0.0.0-py3.4.egg/skpy/conn.py", line 401, in refreshSkypeToken
  File "/usr/local/lib/python3.4/dist-packages/SkPy-0.0.0-py3.4.egg/skpy/conn.py", line 653, in auth
  File "/usr/local/lib/python3.4/dist-packages/SkPy-0.0.0-py3.4.egg/skpy/conn.py", line 667, in sendToken
skpy.core.SkypeAuthException: ("Couldn't retrieve t field from login response", <Response [200]>)

And with a fresh Skype login (direct after Password input) this is the result of getSkypeToken():
>>> sk.conn.getSkypeToken()
<= [04/03 18:52:55] GET https://login.skype.com/login/oauth/microsoft
{'params': {'client_id': '578134', 'redirect_uri': 'https://web.skype.com'}}
=> [04/03 18:52:56] 200
{'Cache-Control': 'no-cache',
 'Connection': 'close',
 'Content-Encoding': 'gzip',
 'Content-Length': '1080',
 'Content-Type': 'text/html; charset=utf-8',
 'Date': 'Sat, 04 Mar 2017 17:52:42 GMT',
 'Expires': 'Sat, 04 Mar 2017 17:51:42 GMT',
 'P3P': 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
 'Pragma': 'no-cache',
 'Server': 'Microsoft-IIS/8.5',
 'Set-Cookie': 'uaid=**a76b85ec545d80b0; '
               'domain=login.live.com;secure= ;path=/;HTTPOnly= ;version=1, '
               'MSPRequ=lt=1488649962&id=293290&co=1; secure= '
               ';path=/;HTTPOnly=;version=1, '
               'PPAuth=**DrYePLcYDIWmG0JDakHZ6rjFql7zpECe6FlmQaKBOCC*GLR4qrXr*xDsr9B0jiUGUCFsJJ!*U*Vu6JfA0C5!5wBSacT1WJ4poWL5bcQj!dH1rccCW4lw8LIfhYob6PO!7LLPEUs42ieJnwkj9AjEgl4r9vun8HkCPazwaiFALFfFNzPgBLD3zh4TXbOA8v27cCma!YOyg6G4YQ$$; '
               'domain=login.live.com;secure= ;path=/;HTTPOnly= ;version=1, '
               'PPLState=1; domain=.live.com;path=/;version=1, MSPShared= ; '
               'HTTPOnly= ; domain=login.live.com;path=/;Expires=Thu, '
               '30-Oct-1980 16:00:00 GMT, MSPCID=a8d37650c3dbb21f; HTTPOnly= '
               '; domain=login.live.com;path=/;Expires=Wed, 30-Dec-2037 '
               '16:00:00 GMT;secure=, '
               'WLOpt=credtype=1&act=[1];domain=login.live.com;path=/;Expires=Wed, '
               '30-Dec-2037 16:00:00 GMT;secure=, '
               'SDIDC=**p0poBqmoXgqOBxjLncR9upe3HCt7iqisTlScQY7MhmhTdA06WSY6POE$; '
               'expires=Wed, 30-Dec-2037 16:00:00 '
               'GMT;domain=login.live.com;secure= ;path=/;HTTPOnly= '
               ';version=1, MSPSoftVis=@72198325083833620@:@; '
               'domain=login.live.com;secure= ;path=/;version=1, MSPBack=0; '
               'domain=login.live.com;path=/;version=1',
 'Strict-Transport-Security': 'max-age=31536000',
 'Vary': 'Accept-Encoding',
 'X-Content-Type-Options': 'nosniff',
 'X-XSS-Protection': '1; mode=block'}
JavaScript required to sign in<meta http-equiv="Refresh" content="0; URL=https://login.live.com/jsDisabled.srf?mkt=EN-US&lc=1033"/><title>Continue</title><form name="fmHF" id="fmHF" action="https://lw.skype.com/login/oauth/proxy?client_id=578134&redirect_uri=https%3A%2F%2Fweb.skype.com&site_name=lw.skype.com&wa=wsignin1.0" method="post" target="_self"><input type="hidden" name="NAPExp" id="NAPExp" value="Tue, 13-Jun-2017 00:52:42 GMT"><input type="hidden" name="NAP" id="NAP" value="V%3D1.9%26E%3D1325%26C%3DEN7ub5yJfCbmg2KdLXLr7peqjsogBq_KHn_5w055YR_AwNP5cDMX0A%26W%3D1"><input type="hidden" name="ANON" id="ANON" value="A%3DE55DFBCF6CBF7C5187C1B160FFFFFFFF%26E%3D137f%26W%3D1"><input type="hidden" name="ANONExp" id="ANONExp" value="Thu, 21-Sep-2017 00:52:42 GMT"><input type="hidden" name="t" id="t" value="**"></form>
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.4/dist-packages/SkPy-0.0.0-py3.4.egg/skpy/conn.py", line 264, in getSkypeToken
  File "/usr/local/lib/python3.4/dist-packages/SkPy-0.0.0-py3.4.egg/skpy/conn.py", line 361, in liveLogin
  File "/usr/local/lib/python3.4/dist-packages/SkPy-0.0.0-py3.4.egg/skpy/conn.py", line 534, in auth
  File "/usr/local/lib/python3.4/dist-packages/SkPy-0.0.0-py3.4.egg/skpy/conn.py", line 545, in getParams
skpy.core.SkypeApiException: ("Couldn't retrieve PPFT from login form", <Response [200]>)

does this help you?

First one renders as the username-only login form, but with no useful hidden tokens as far as I can tell.  I guess that means the refresh token is invalid.
There's an admittedly rather hidden disclaimer on the refresh token provider, which ought to be copied to the refreshSkypeToken() docstring:

Only compatible with Skype usernames.

That is, Microsoft account logins (email or phone number as username) aren't supported by the upstream API.  Does that apply to you?
Failing that, if you're trying to refresh after the Skype token expires, maybe that's too late and the refresh token expires then too...  can you refresh at all before the expiry?

Second one, it's looking for a PPFT field but actually getting the t field (which is usually the next step, after providing credentials).  Maybe the browser session allows us to reauthenticate without credentials now?  Should be fairly straightforward to check what's in the response and act accordingly.

No Microsoft login, I read that disclaimer;
(Tried to find out the issue in the code by myself)
Just a plain Skype username.
Please note that I censored the tokens I found in the response with **
How did you find out about how to implement the RefreshTokenProvider?
Is it used by the Skype Web App?
Maybe we can look whether the protocol changed.

I did that refresh up there a few min after logging in

Just tested myself, the token renewal appears to work regardless of age.  Unsure if it works after expiry, I've got an open shell to check tomorrow, but that's not the issue here.

How did you find out about how to implement the RefreshTokenProvider?

Found a mention of the endpoint over here -- haven't seen it used anywhere in Skype for Web though.

So the refreshToken function works just fine for you?
That's really weird, you also use a normal skype login, right?

Yep, Skype username auth here, all seems to work.  Reproducing bugs here is a right pain, things just seem to be broken for a minority of people.  🙁

@OllieTerrance I've also been getting some errors sometimes around refreshing the token/login.
What's the recommended workflow for keeping a session active over days?
Right now, I'm doing Skype(user, pwd, token_file) constructor for first login.
Every 12 hrs I'm checking token expiry and trying to renew with: setUserPwd(user, pwd) + getSkypeToken() (I'm only using the contacts.search API so far).
Is this the correct approach? Should I be using refreshSkypeToken periodically until I get an exception and only then getSkypeToken?

You can use verifyToken(SkypeConnection.Auth.SkypeToken) to do a token refresh if expired (though currently this doesn't use the refresh flow, so requires username/password present in this session).
There's also a handler to get a new registration tokens on API call failure, maybe this needs extending to refresh or get Skype tokens too...

@OllieTerrance thanks, but I'm still a bit confused from all the possible method combinations :)
Is it enough to setUserPwd(user, pwd) once in a process lifecycle, and then just always call
verifyToken(SkypeConnection.Auth.SkypeToken) every X hours? (say, X=6)

Yes, though you'd need to track the time to do that (background thread or checking datetime.now() vs. sk.conn.tokenExpiry["skype"]).  Instead you can just call verifyToken() whenever you start something (e.g. before a search), it'll only refresh when needed.

got it. I'll try a few things out.
I was hoping to refresh the token when my server is idle (and not doing a request) to keep the request lag down, but I guess a few requests that lag every 24hrs is not terrible.

so far no matter what I'm trying the account seems to get blocked when trying to relogin after 24hrs (token expiry). If I find anything else I'll update.

Blocked how?  I've toyed with my test accounts, seems like I can reauthenticate via refreshing a Skype token (if a Skype username rather than Microsoft account), or getting a new one, both before and after expiry...

Blocked meaning - trying to verifyToken(SkypeConnection.Auth.SkypeToken) or refreshSkypeToken() or getSkypeToken() or Skype(...) after 24hrs (token expiry time) doesn't work for me. I always get the page that says the account is blocked and requires SMS verification.
@OllieTerrance if you have a proposed chat medium we can take this discussion offline and I can try to supply more details.

It's possible that deleting an existing token file prior to expiration (say after 22hrs), and then creating a new Skype(user, pwd, tokenFile) succeeds in keeping that user logged in without getting blocked.
I will update if that holds.

Curious.  If you're doing multiple searches, I wonder if they're flagging you for it...

Could very well be flagged on multiple searches. We'll see how it goes in the upcoming days. Thanks for the chat options, I may reach out if I get some more details. Also for the code and all the help here.

This issue has been hanging around a bit, but I haven't got a clear solution.
The current implementation will request a new Skype token (via verifyToken(auth)) when the current one expires, assuming you provided your password when connecting.  This means token-only logins won't refresh, which does kinda defeat the point of them.  The cleanest solution, I think, would be to use the refresh provider when available, else (probably try...except) fall back to reauthenticating.

This may be an unrelated issue, but SkypeEventLoop throws an exception after 24 hours. Could a check be added to refresh the auth token before it expires for users of that class?

Traceback?
As long as you've provided a password at startup, it should just retry the login when the token expires.  If you're using a Skype-only acccount, you can alternatively call SkypeConnection.refresh() periodically, though I'm unsure if this still works following the switch to use the Live auth flow for Skype accounts.

Presumably not token related (unless it happens immediately after the token expires?) -- looks like the connection is being interrupted somewhere higher up.
https://github.com/OllieTerrance/SkPy/blob/70a95e6866bfabdfdd4b739bab42f8e927e3f6af/skpy/main.py#L191-L198
SkypeEventLoop already handles connection errors during the initial retrieval of events, though applying it to onEvent() call is a bit too wide in scope -- e.g. if you make further external requests, any connection errors will effectively abort the handler.
Whilst some generic retry logic would be possible, I'd argue it's unsafe for any API methods with side-effects, such as in your case where you're sending a message (depending on when the connection was interrupted, it may or may not have gone through).  For now, you'll need to add your own handling of connection errors and decide for each case whether a retry is sensible or not.  Hopefully such connection errors are rare.

For some reason, it’s starting to happen every few minutes for me now. Used to be some sort of error about every 24 hours, but I didn’t capture the traceback.
Bill

On 23 Jun 2018, at 16:39, Terrance<EMAIL_ADDRESS>wrote:
Presumably not token related (unless it happens immediately after the token expires?) -- looks like the connection is being interrupted somewhere higher up.
https://github.com/OllieTerrance/SkPy/blob/70a95e6866bfabdfdd4b739bab42f8e927e3f6af/skpy/main.py#L191-L198 https://github.com/OllieTerrance/SkPy/blob/70a95e6866bfabdfdd4b739bab42f8e927e3f6af/skpy/main.py#L191-L198
SkypeEventLoop already handles connection errors during the initial retrieval of events, though applying it to onEvent() call is a bit too wide in scope -- e.g. if you make further external requests, any connection errors will effectively abort the handler.
Whilst some generic retry logic would be possible, I'd argue it's unsafe for any API methods with side-effects, such as in your case where you're sending a message (depending on when the connection was interrupted, it may or may not have gone through). For now, you'll need to add your own handling of connection errors and decide for each case whether a retry is sensible or not. Hopefully such connection errors are rare.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/OllieTerrance/SkPy/issues/45#issuecomment-399691736, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXIS3IlAiJZGR1nzsw2uBseGHupQ3xyks5t_m9SgaJpZM4MH8DO.

Interesting...
I just started toying around again with this and the normal .getEvents() would fail every few minutes being closed remotely.
Now everything is working fine, again

Why do not work Skype( username, password ) on heroku server? Token error is occured.
And, when Skype( username, password , token) is used , token is expired after 24 hrs and so, how to refresh token.


JWKSMock.stop() incorrectly resolves jwks URL

Hiya. First of all thank you for writing this module, makes our life a lot easier.
We're currently running into an issue testing against our Keycloak setup. Keycloak will create a JWT with issuer https://keycloak.ourdomain.com/auth/realms/ourapplication. The JWKS can be fetched from https://keycloak.ourdomain.com/auth/realms/ourapplication/protocol/openid-connect/certs.
We construct the jwksMock as follows:
createJWKSMock("https://keycloak.ourdomain.com/auth/realms/ourapplication", "/protocol/openid-connect/certs")

This works perfect for creating tokens. However, when trying to stop the mock, it tries to stop the nock by making a request after setting persist to false. The url for this request is crafted using url.resolve(issuerUrl, jwksPath). However, because the jwksPath starts with a /, the result is that all path elements are stripped from issuerUrl. As a result for our case, the request will be made to https://keycloak.ourdomain.com/protocol/openid-connect/certs, resulting in nock throwing an error:
Error: Nock: No match for request {
  "method": "GET",
  "url": "https://keycloak.ourdomain.com/protocol/openid-connect/certs",
  "headers": {
    "accept-encoding": "gzip, deflate",
    "user-agent": "node-superagent/3.8.3"
  }
}

The easy fix here would be to craft the request URL as mentioned in the README by simply concatenating the issuer and jwks paths. But I'm guessing the resolve is there for a reason, e.g. dealing with trailing / in issuer. Regardless, it needs to, at least, follow nock's behavior.
I'll try to find some time to create a PR with test case and fix later today.

If I remember correctly the "additional request" after unpersisting the nock needs to be done to actually remove the nock from the stack. Like shooting it off. I was quite surprised that there is no way to properly "unset" a nock, once established, but that was the only way I was able to achieve this.
I actually did not want to use any specific functionality of url.resolve. However I want something a bit more robust than just string concatenation. We could use url-join for example...

Fixed released with https://github.com/Levino/mock-jwks/commit/693f37d47cab33316e4593e0649416e52f464a30


[null-safety] remove mockito from scrollbar test

Description
More work towards https://github.com/flutter/flutter/issues/62886

yeah, I think that is not how verify works. Its a single, but only for the matching invocation - of which there is only one


Fix #1792

This PR fixes #1792 and also fixes another problem with interpolation that I found about using $$ in interpolation strings. I didn't found an existing issue for that problem. I added the test interpolator with $ character for it.

Nice job tracking this down!

Also LGTM!


Not able to import Image classification packages

Discussed in https://github.com/autogluon/autogluon/discussions/4253

Originally posted by dgdhairya June  7, 2024
I am using kaggle to run autogluon.
I have installed autogluon=1.1.0, autogluon vision and autogluon.multimodal too
I am able to import autogluon as ag but I am not able to import any of the packages:

from autogluon.multimodal import MultiModalPredictor
ImportError: cannot import name 'DDPCacheWriter' from 'autogluon.multimodal.utils.cache' (/opt/conda/lib/python3.10/site-packages/autogluon/multimodal/utils/cache.py)

from autogluon import ImageClassification as task
ImportError: cannot import name 'ImageClassification' from 'autogluon' (unknown location)

from autogluon.vision import ImagePredictor
ImportError: cannot import name 'in_ipynb' from 'autogluon.core.utils' (/opt/conda/lib/python3.10/site-packages/autogluon/core/utils/init.py)

Please look into this

https://github.com/autogluon/autogluon/issues/3918 addon to the bug


Cannot find module tsconfig-paths\lib\tsconfig-loader in ESM mode

I want to switch to ESM mode ("type": "module").
vite-tsconfig-paths gives me above error.
It seems ESM should be supported because I can see
  "exports": {
    "import": "./dist/index.mjs",
    "require": "./dist/index.js"
  },

in the package.json of vite-tsconfig-paths so it should be a hybrid module.
But when I look into dist/index.mjs there is the following include:
import {
  loadTsconfig,
  walkForTsConfig
} from "tsconfig-paths/lib/tsconfig-loader";

which cannot work bacause the imported file is not in the bundle

Sorry for the nonsense, tsconfig-paths is an external module, I should put it in my package.json too ( I am using pnpm)

Strangely it works when I patch index.mjs like this:
import {
  loadTsconfig,
  walkForTsConfig
} from "tsconfig-paths/lib/tsconfig-loader.js";

I have no idea why he cannot resolve the module without the explicit extension

Whoops. The explicit .js extension was included in #24, but I naïvely removed it without asking why it was added. 😅
This page describes why it's necessary (see the last sentence below):

Released in v3.3.13


Calculation of climate indicators

In my role as....
a climate service provider
I need to be able to...
calculate new, unsual and custom-defined climate indices
in order to...
include them as outputs in our climate service

Weird example: driving rain

CDO can also potentially be used as a second source of indicators in addition to xclim
Would need to have a standard API definition for how a custom indicator function looks

function signature is the word that I am looking for

Concerning the change from yml to tsv for indicator config: will this lock the possibility to add "weird settings" for special indicators? Assuming that the table columns are set from the start, and indicators cannot add their own required fields

At the moment it is locked, but it will open up again in the future. JSON.schemas have a properties called "additional properties" and "required" that can be used to control this type of behaviour. This will be worked in as part of setting up the "wierd indicators" functionality , which is the next step (Milestone v0.4)


Issue with release 0.1.2 ?

Hello,
There is a disrepencie between
https://pypi.python.org/pypi/cld2-cffi
and
https://pypi.python.org/simple/cld2-cffi/
The second one does not contain the 0.1.2 version. Is it a release issue ?
Best,

A related issue - Using pip install cld2-cffi returns 0.1.1 install, (which fails on my Win 7 64 python 3.5. Trying to use pip install cld2-cffi==0.1.2 also fails for other reasons.  Any suggestions on how to download 0.1.2

Sorry only just saw this, not sure I might do a new release. I also don't know how this installs on windows as windows typically does not include a build environment.

A new release would be nice, but I don't think that prevents making sure the archive is uploaded to PyPI. (Our workaround was to do this ourselves in our private devpi instance.)

Does 0.1.3 solve issues for you?

Thank you ... I will try it out this weekend and let you know
Itay Livni
On Thu, Jul 28, 2016 at 3:01 PM, Greg Bowyer<EMAIL_ADDRESS>wrote:

Does 0.1.3 solve issues for you?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GregBowyer/cld2-cffi/issues/6#issuecomment-236008161,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP_JQUZCgNQ7wu3QwSgW4hsaA7VNFNJjks5qaQqcgaJpZM4Ht3gc
.

@GregBowyer Unfortunately not. Does it have to do with the c compiler in my Windows 7 installation ?

Ah try from github directly rather than from release
On Sat, Aug 6, 2016, at 10:13 PM, gryBox wrote:

@GregBowyer[1] Unfortunately not. Does it have to do with the c
compiler in my Windows 7 installation ?
cld2_bug
— You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub[2], or mute the thread[3].

Links:

https://github.com/GregBowyer
https://github.com/GregBowyer/cld2-cffi/issues/6#issuecomment-238064149
https://github.com/notifications/unsubscribe-auth/AAHr7x3jmEgbitfSHAize3qU_giurTGIks5qdWmGgaJpZM4Ht3gc

@GregBowyer The version on Github worked! :+1:
Thank you..

It fixes the issue, thanks !


Are you able to add other game shows?

The bot is working great but are you able to add other shows such as 'Cash Show', 'The Q' and 'SwagIQ'? I can share the sniffed data if that is needed?

That would be great. I know some shows have different ways of connecting, but if you could share the data here I could try to make new repositories for different shows.

would love one for hangtime or joyride

@Fizzy7up can you share the sniff data for swag iq like live webhook api and barear token im trying to make swag iq bot


Strange results

Hi there,
Thank you for providing a PyTorch implementation of the original!
I have cloned your repo and tried to run the experiment on the speed limit sign dataset and I am getting strange results not close to what is shown in the paper.
I have merely cloned the repo, ran your speed limit dataset script to download the data, and speed_limit.py to run the job.
Any help would be appreciated!

Hallo,
Thank you for emailing me. I am on vacation at the moment and am therefore not to investigate it further. I will try to answers your question once I am back.
Kind regards,
Joris

Van: yousef-xailient<EMAIL_ADDRESS>Verzonden: zaterdag 1 augustus 2020 07:29
Aan: sara-nl/attention-sampling-pytorch<EMAIL_ADDRESS>CC: Subscribed<EMAIL_ADDRESS>Onderwerp: [sara-nl/attention-sampling-pytorch] Strange results (#1)
Hi there,
Thank you for providing a PyTorch implementation of the original!
I have cloned your repo and tried to run the experiment on the speed limit sign dataset and I am getting strange results not close to what is shown in the paper.
I have merely cloned the repo, ran your speed limit dataset script to download the data, and speed_limit.py to run the job.
Any help would be appreciated!
[Screenshot from 2020-08-01 15-26-54]https://user-images.githubusercontent.com/57377547/89094841-a408f280-d40b-11ea-89df-18b6465bbbaf.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/sara-nl/attention-sampling-pytorch/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADYARHALR6WKE5NO4TQLKX3R6OR2JANCNFSM4PRODCWQ.

Hello,
You might need to do some longer training. I included a screenshot of my tensorboard logs from the traffic sign recognition tasks.
[cid:528897b4-b536-44ab-a1ef-60f9cfe7de65]
I hope you get it too work! If you have any questions in the future, feel free to contact me.
Kind regards,
Joris

Van: yousef-xailient<EMAIL_ADDRESS>Verzonden: zaterdag 1 augustus 2020 07:29
Aan: sara-nl/attention-sampling-pytorch<EMAIL_ADDRESS>CC: Subscribed<EMAIL_ADDRESS>Onderwerp: [sara-nl/attention-sampling-pytorch] Strange results (#1)
Hi there,
Thank you for providing a PyTorch implementation of the original!
I have cloned your repo and tried to run the experiment on the speed limit sign dataset and I am getting strange results not close to what is shown in the paper.
I have merely cloned the repo, ran your speed limit dataset script to download the data, and speed_limit.py to run the job.
Any help would be appreciated!
[Screenshot from 2020-08-01 15-26-54]https://user-images.githubusercontent.com/57377547/89094841-a408f280-d40b-11ea-89df-18b6465bbbaf.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/sara-nl/attention-sampling-pytorch/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADYARHALR6WKE5NO4TQLKX3R6OR2JANCNFSM4PRODCWQ.

Hi,
I am experimenting the same issue here. I tried MegaMNIST with no problem but had the same problem on speed limit dataset. I can not see the screenshot of your tensorboard logs. Could you please share it or tell me how many epochs is required? I really appreciate it.

Hi,
For the speed limit dataset I am running for a 1000 epochs. You can download the tensorboard log file here: https://we.tl/t-Sf0IrRDcJJ
[https://prod-cdn.wetransfer.net/packs/media/images/wt-facebook-9db47080.png]https://we.tl/t-Sf0IrRDcJJ
events.out.tfevents.1588688851.r28n4.lisa.surfsara.nlhttps://we.tl/t-Sf0IrRDcJJ
1 file sent via WeTransfer, the simplest way to send your files around the world
we.tl
Kind regards,
Joris

Van: Jingwei Zhang<EMAIL_ADDRESS>Verzonden: woensdag 30 september 2020 06:36
Aan: sara-nl/attention-sampling-pytorch<EMAIL_ADDRESS>CC: jorism1993<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Onderwerp: Re: [sara-nl/attention-sampling-pytorch] Strange results (#1)
Hi,
I am experimenting the same issue here. I tried MegaMNIST with no problem but had the same problem on speed limit dataset. I can not see the screenshot of your tensorboard logs. Could you please share it or tell me how many epochs is required? I really appreciate it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/sara-nl/attention-sampling-pytorch/issues/1#issuecomment-701151315, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADYARHFLO3I7M5SWERI4G43SIKYVPANCNFSM4PRODCWQ.

Thank you! I'll have a try again.

@skykiny I have a similar problem! Did you get better results with increasing the number of epochs?

@skykiny I have a similar problem! Did you get better results with increasing the number of epochs?

Can I ask what is the best accuracy that you get? I cannot access the log file.

Can I ask what is the best accuracy that you get? I cannot access the log file.


Use topological sort to improve hookchain

You're going to have to elaborate.
Because from what I gather, we already do this.

If you use graph algorithms, you just need to record how many dependencies are needed for those hooks and which dependencies are unlocked after one call. You can eventually use a heap, or priority queue, to support numerical priority beyond these hard dependencies. More the check of cycles can be done when executing the method call.

@asiekierka Any thought on this?

@asiekierka Pinging for your opinion, either close this or comment on this. The hookchains can be somewhat improved; you do not check what a node need, you just need to check how many more prereqs does the node need. And you do not really need to check for a loop before; you can check while calling.


Offer a submodule to optionally configure the Cisco 1000v on Network Edge

The readme currently starts with a premise that is likely no longer true:

This repo will allow you to deploy a VyOS router onto a baremetal node in Equinix Metal. It will then generate a config file to setup an IPSec tunnel with a Cisco 1000v from Equinix's Network Edge. As of now there is no way to fully automate the configuration of the router (That I've figured out). So we'll be doing a few steps by hand.

It should be possible to ssh into the router to configure the device.  The credentials can be configured with the equinix_network_device.  The device can be configured over ssh or through other means. The credentials for configuring the device can be sourced from terraform or user parameters.
We may not want to require the csr1000v configuration in this module, and instead offer an examples/csr1000v/ directory in this project demonstrating combined use.  That could look something like this:
provider "equinix" {}

module "router" {
  source = "equinix/metal/vyos-router"
  ...
}

module "csr1000v" {
// https://registry.terraform.io/modules/equinix/csr1000v/equinix/latest
  source = "equinix/csr1000v/equinix"
  ...
}
module "ipsec" {
  // this module would configure ipsec on the csr1000v, and perhaps on the vyos router too
  source = "equinix/vyos-router/metal//modules/cisco-vpn"
  ... = module.cisco100v.the_address
  ... = module.cisco100v.the_credentials? (perhaps these should come from an independent source)
  ... = module.router.the_script_parameters
}

Alternatively, the VyOS Network Edge VNF is now available. An example that connects a VyOS on Metal device to a NE VyOS device would provide a same <-> same experience where the distinguishing features could be discussed (and trialed) without changing much Terraform code.
These could be defined as compatible modules, taking the same arguments and offering the same outputs.


Site-Scope added to AD-Connection wizard

The latest ANF-Release added the site-scope to the Active-Directory connection wizard, also corrected updated field names.
Updated screenshot for azure-netapp-files-join-active-directory.png should also be uploaded

closing/reopening for labeling and automated notification

@Bernd-Loehlein : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Also, FYI that our technical owner is working on updating this article for SMB Site Scoping related changes. Some of the in-progress changes might duplicate your proposed modifications.

Hi Julie,
Please find a Screenshot attached with the new and renamed fields. I did make a note in the comments that the Screenshot also needs to be adjusted since I thought that screenshots for Azure-docs need to follow a common layout.
It's probably better to postpone this change until the technical owner has finished his update?
Regards,
Bernd
[Image]
Bernd Loehlein
EMEA Global Black Belt Technical Specialist Azure Advanced Storage
+49<PHONE_NUMBER>5    |<EMAIL_ADDRESS>  |    azure.microsoft.com
Microsoft Deutschland GmbH | Walter-Gropius-Straße 5 | 80807 München | www.microsoft.com/germanyhttp://www.microsoft.com/germany
Geschäftsführer: Sabine Bendiek (Vorsitzende), Thorsten Herrmann, Benjamin O. Orndorff, Keith Dolliver | Amtsgericht München, HRB 70438

From: Julie Chen<EMAIL_ADDRESS>Sent: Friday, 21 February 2020, 05:36
To: MicrosoftDocs/azure-docs
Cc: Bernd Loehlein; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Site-Scope added to AD-Connection wizard (#48592)
Also, FYI that our technical owner is working on updating this article for SMB Site Scoping related changes. Some of the in-progress changes might duplicate your proposed modifications.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F48592%3Femail_source%3Dnotifications%26email_token%3DAOS3WHUOGQBGZRFT7MTR6UDRD5K5TA5CNFSM4KYUIAQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMRPOWA%23issuecomment-589494104&data=02|01|Bernd.Loehlein%40microsoft.com|82a4feccb13b4422c6c908d7b687a615|72f988bf86f141af91ab2d7cd011db47|1|0|637178566032146254&sdata=09aQ%2BwZSjZzlJuhA7ft3OCLmxWBJ2cgIbQLTtqhezBo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOS3WHUMBFOP3HFQSRVDSVLRD5K5TANCNFSM4KYUIAQA&data=02|01|Bernd.Loehlein%40microsoft.com|82a4feccb13b4422c6c908d7b687a615|72f988bf86f141af91ab2d7cd011db47|1|0|637178566032146254&sdata=tE1jg5GuwvZzgUrjs8CrAT7NHTBuNDx9Bqtnvu8PCPk%3D&reserved=0.

Please find a Screenshot attached with the new and renamed fields.

Thanks, Bernd!  The screenshot attachment doesn't come through, perhaps because of the way you reply to the conversation.  You can send the screenshot directly to my email<EMAIL_ADDRESS>or<EMAIL_ADDRESS> I'll then replace the outdated screenshot with it.
I'll go ahead and approve your changes.  Thanks so much!!!

@b-juche, you can only sign off in the main PR conversation, not in review comments.


Fix error loop in PaymentListener

Currently, PaymentListener keeps trying to reprocess all failed transactions starting from the last successful one. However, if there are many (10+) transactions that fail it falls into infinite loop because it always start streaming from the first transaction after the last successful one and Horizon streams up to 10 payments and then resets the connection.
This PR introduces the following changes:

PaymentListener now does not try to reprocess failed transactions since it can be done by bridge administrator using /reprocess endpoint (https://github.com/stellar/bridge-server/pull/60).
It saves transactions that failed due to temporary reasons (ex. compliance server not responding) to the DB so PaymentListener can continue processing payments from the last processed payment instead of the last successful payment.

Warning: if some of the stuck transactions have been manually refunded or processed this fix will process them again. To prevent this, bridge administrator needs to manually insert the last processed payment in ReceivedPayments table.

The warning only applies when you are migrating from an older version to this one?

Yes, it applies when all of the following conditions are met:

You are upgrading.
You have stuck transactions (10+).
You manually refunded/processed some of the transactions that are waiting.

So just to be clear we're OK with going to a "manually retry only" system.  That seems like it really reduced the reliability of the system and ups the workload for an admin.  I'm just making sure we're cool with this loss in functionality.

However, if there are many (10+) transactions that fail it falls into infinite loop because it always start streaming from the first transaction after the last successful one and Horizon streams up to 10 payments and then resets the connection.

Why is this issue insurmountable such that we can't reprocess failed transactions automatically?  Surely we should just fix the streaming client in the bridge server to handle SSE fully.
I'll add a code review momentarily.

So just to be clear we're OK with going to a "manually retry only" system. That seems like it really reduced the reliability of the system and ups the workload for an admin. I'm just making sure we're cool with this loss in functionality.

Good point. I think the final solution would be to allow admin to set number of retries but this requires some discussion and more work. For example: failure reasons can be permanent (ex. operation is not a payment and will not be processed ever) and temporary (ex. error contacting compliance server) - we should probably not retry processing operations failed due to permanent reason.
In this PR I wanted to quickly fix the issue but I will work on a better solution (from administrators point of view) in a future.

Why is this issue insurmountable such that we can't reprocess failed transactions automatically? Surely we should just fix the streaming client in the bridge server to handle SSE fully.

Agree, I will make PaymentListener use the horizon.StreamPayments method when moving this part of bridge to monorepo. This version was streaming from the last paging_token saved in a DB.

Ok lets merge this since it is needed now and then we can figure out the longer term solution this week


stage-1: fix hibernation

Fixes https://github.com/NixOS/nixpkgs/issues/6617 . @cillianderoiste , please, test if this fixes the problem for you.

So this tries to fix the case of setting boot.resumeDevice = "/dev/sda3";, right?

Not only, when detecting too -- in my test (#6679) hibernation haven't worked until I've explicitly used minor/major numbers. That's strange -- it has worked for me some time ago, but anyway this seems more reliable too.

Basically what this does is gets minor/major device numbers from udev and uses them, both when autodetecting resume partition and when having it explicitly set.

Heh, the kernel docs seem sparse on this, saying just "echo into /sys/power/resume" but not saying what. I found someone claiming that this usage is discouraged and therefore deliberately undocumented https://lkml.org/lkml/2007/5/27/49.
I meant to say this PR still doesn't allow one to set boot.resumeDevice = "8:3";, but that's probably fine. I wonder if the real cause of that specific case #6617 could be somewhere else.

Yeah, we shouldn't support major/minor notation since it's a) user-unfriendly and b) not guaranteed to be the same across reboots.

@vcunat They indeed were very sparse, I have found nearly nothing ot possible usages and so jumped into the kernel code to find it out ^^.
Yeah, it doesn't allow one to do this (though now it's simpler to fix, but as @edolstra I'm somewhat opposed to supporting them). At least during my testing in VM this fixed things -- let's wait for user to confirm it. I can't say why this helped, though -- from what I've read looking at the code, minor-major numbers are what's needed in the end -- but I haven't understood good enough how are device paths resolved to them internally.

Thanks @abbradar! I've tested by having no resumeDevice set, it correctly used my swap partition and resumed successfully. I also tested by setting resumeDevice to /dev/sdb3 and /dev/disk/by-uuid/blah-blah ... and in all cases it works correctly for me. :beers:

Merged to master. I see only tiny differences in this file against 14.12, so I expect the release is affected by the same problems and this PR should be picked (maybe the whole file), right?

Yes, thanks!


Format generated lints and features manually

As quote and rustfmt leave them on a single line, which makes running grep in the repository quite annoying.
Also removes a dead gen_features.rs file (gen_lint_completions.rs does the same thing).

bors r+

bors r-
I think I forgot a dependency

bors r=matklad
quote is still used in gen_syntax.


hbmqtt: fix tests

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Fixes home-manager build @dotlambda
also related: https://github.com/NixOS/nixpkgs/pull/74126


Popover Issue [2.0 wip]

Popover is not working for me. Here's the code. I am guessing I dont have to use any JS to make this work.
What is Help?

I have included bootstrap-tooltip & bootstrap-popover JS files.
I am on OSX Lion/Chrome (latest version 16.x)

Do you have jQuery included?

Yes :)

I am using other components of bootstrap and they are working fine.

Sorry just saw the jsfiddle comment.
Not sure what can I share. I have included all the necessary bootstrap js files. There's no special js code in my code.

weq

No I dont see any errors in the JavaScript console.

So I noticed, I had to call this code in document load to make the popover work, is that so?
$('#my-link').popover('show')

But now with the following code, the popover shows up every time on page load/refresh. I have to hover over the link to dismiss the initial show of the popover.
$(document).ready(function() {
   $('#my-link').popover('show')
});

@kapso You shouldn't need to call anything to get the basic behavior working. It should just happen with the plugins and the right markup.
Is your JS at the bottom of the page, before the  tag, and after jQuery?

All my JS includes are inside the  tag. And jQuery comes first before any JS.
Just an FYI, for the time being to get around the issue popover showing up in document load, I added this hack, I am calling this function on $(document).ready
initPopover: function() {
    $('#my-link').popover('show');
    $('#my-link').popover('hide');
}

Popover works for me now, but yea I had to write the above code to make it work.

As per the docs, tooltips/popovers do need JS code to be added to function (unlike most of the other plugins). See a simple example of the popover here: http://jsfiddle.net/3P2tC/
See this note in the docs:

For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.

@cgunther  Thanks, that was it.