There are randomly "invalid" markets strewn about for no apparent reason

this i believe is related to the zero'd out state after buying shares, which the market also goes invalid.  at some point, something changed and now the async market loading doesn't always fetch the needed data to complete the market and it's marked as invalid.
this is my current focus.  not easy to debug though.

@joeykrug does this happen when using a local geth node?
just fyi, it looks like jack's changes might have created two places where that host is set and i'm still trying to audit his changes to see where augur.js is setting the host.

yeah happens both w/ local and with hosted client in the sky

fixed by migrating to augur.js filters.  huzzah!


lazybones stopped working with Ratpack

Lazybones 0.8.3 is not able to find the latest ratpack 1.7.4 when creating a project.

lazybones create ratpack 1.7.4 my-rat-app

Creating project from template ratpack 1.7.4 in 'my-rat-app'
Cannot find version 1.7.4 of template 'ratpack'. Project has not been created.

Yet, ratpack 1.7.4 is said to be available.

lazybones info ratpack

Fetching package information for 'ratpack' from Bintray
Name:        ratpack
Latest:      1.7.4
Description: Template for a basic Groovy-based Ratpack application with a sample index page and a Gradle build (with wrapper).

It also includes a standard directory structure for static assets as well as core code and tests.
Owner:       ratpack
Versions:    1.7.4, 1.7.3, 1.7.2, 1.7.1, 1.7.0, 1.6.1, 1.6.0, 1.6.0-rc-4, 1.6.0-rc-3, 1.6.0-rc-2, 1.6.0-rc-1, 1.5.4, 1.5.3, 1.5.1, 1.5.0, 1.5.0-rc-3, 1.5.0-rc-2, 1.5.0-rc-1, 1.4.6, 1.4.5, 1.4.4, 1.4.3, 1.4.1, 1.4.0, 1.4.0-rc-3, 1.4.0-rc-1, 1.3.3, 1.3.2, 1.3.1, 1.3.0, 1.3.0-rc-2, 1.3.0-rc-1, 1.2.0, 1.2.0-rc-2, 1.2.0-RC-1, 1.1.1, 1.1.0, 1.0.0, 1.0.0-rc-3, 1.0.0-rc-2, 1.0.0-rc-1, 0.9.19, 0.9.18, 0.9.17, 0.9.16, 0.9.15, 0.9.14, 0.9.13, 0.9.12, 0.9.11, 0.9.10, 0.9.9, 0.9.8, 0.9.7, 0.9.6, 0.9.5, 0.9.4, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.3.1, 0.3, 0.2, 0.1

@eaglet3d see https://github.com/pledbrook/lazybones/issues/188

@eaglet3d This is the problem on the Ratpack side. I've investigated it today and was able to prepare a pull request. Details here -> https://github.com/ratpack/ratpack/issues/1496


Fix issue 97 pull category and option data out of database

Current coverage is 18.896% (diff: 0.000%)

Merging #105 into master will decrease coverage by 0.269%

@@             master       #105   diff @@
==========================================
  Files            18         19     +1
  Lines           720        852   +132
  Methods         104        116    +12
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            138        161    +23
- Misses          582        691   +109
  Partials          0          0

Powered by Codecov. Last update 4ca73f6...eaf5028


Allow to specify custom id for rules

Current uuid is used to create random id's for a rule, thanks actually good.
Can I provide a custom id generator function so that I can create my own id's.
I would like to make the change and raise PR if this seems to be reasonable.
I would change the following line
id: r-${uniqueId()} to something like below
id: r-${props.idGenerator ? props.idGenerator() : uniqueId()}
Happy to know your thoughts on this.

I was the one who created the PR of the UUID I think. Your idea sounds interesting, go for it

Sounds reasonable, but can I ask what your use case is?  The id's are really just an implementation detail.
If you create a PR to add the feature, remember to update the tests, the README, and the TypeScript definitions.

ids generated by uuid are long (16 chars I assume). I wanted to store smaller ids using shortid package. Just tring to save some bytes in the memory 😊

I think it would be better to just replace the uuid package with shortid.  That way you wouldn't need to add a new prop (and you can avoid having to update the README, TypeScript definitions, and tests).

My initial assumption was to replace uuid with shortid, but I thought lets leave it to users as their prefence would be different since there are handful of id generators like xid, nanoid, yid etc.

Yeah, I get what you're saying, but I don't think enough people would care what ID generator was used to warrant a change in the API.

Anyway, I do think using shorter id's is a good idea, so do the PR if you're up for it.

This is several years late, but I did eventually address the original request to accept a custom id generator in v5.4.0. See documentation for the idGenerator prop.


Use wingetcreate for releasing new versions to WinGet

The current workflow file uses an existing manifest file and simply replaces certain fields when creating the new manifest. While this works, it leaves the WinGet manifests in non-standard state.

Manifests created do not have the # yaml-language-server: $schema=<url> header
Tags are not the same format as all other manifests
Manifest schema is not updated to the latest

It would be preferred to use wingetcreate.exe in your releaser action so that the manifest content is formatted consistently and the latest manifest version is used.

Looks great @motdotla - https://github.com/microsoft/winget-pkgs/pull/200439
Thanks for the cleanup work, and apologies that my PR wasn't 100% functional


Secondary LEDs on X470 Gaming Plus not turning off

I set this to run on boot
/usr/local/sbin/msi-rgb 0 0 0
I noticed in windows if i use Mystic Light to turn off the leds off the ram and PCIe slot leds turn off also, the above command only turns the main rgb leds not and not the other LEDs

oh that is what -x is for
sudo msi-rgb -x 0 0 0
not sure if you can use the main leds and have the others off, but my problem is solved


Changed the naming convention in variables

What:

changed the naming convention as per cloudposse standards for s3_directory variable

Related to this comment:
https://github.com/cloudposse/terraform-aws-s3-bucket/pull/240#discussion_r1840581953

/terratest

Id like to approve and merge, however this input has been available for 3 months. We may need to add the old variable to variables-deprecated.tf for backwards compatibility. It can probably be removed in the next major version.

@nitrocode this seems like a good idea


Is this software safe?

Tickeys is a cool software and brings typing on mac lots fun. I really love it.
One concern about this software is that:
Is it safe to use it even when we are doing online banking and other things require a password?
How do I know that this software won't track the user typing history and accidentally leak the information of the user?
Hopefully, the author could give us an explanation of this safety concern.

this one is open source, u can edit it if u don't trust the author

can you send compilation instructions?

can you send compilation instructions?

First of all, I am not the author, so here is just a suggestion to the concern, not a compilation instruction. the concern is doubt the safety of your own passwd, use any firewall to disable the internet usage for this app, therefore no package is in or out from this app to the internet.

How can a simple open source thing steal your information? If it does, it will be discovered for a long time. After all, the code can be seen. Of course, you can use some packet capture tools to check whether any data has been stolen


Update working-with-the-nuget-registry.md

RepositoryURL is a project file config

What's being changed (if available, include any code snippets, screenshots, or gifs):
I'd like to point out a small discrepancy in the documentation regarding the configuration of the RepositoryURL. It is currently stated that it should be set in the nuget.config file; however, this is not accurate. The correct place to specify the RepositoryURL is within the .csproj file of the project.

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

Update it

Update it

Update it


Data IO Editor PatternFly style update

https://github.com/porcelli-forks/jbpm-designer/commit/88758fce4573fd2223dbf26fbe3280d022caac11


Build a JSON plugin that handles both single files and subdirectories with many files

The TSV and CSV plugins are only going to work with single files.
The JSON plugin is much more interesting, since it needs to support both this:
places.json # contains a JSON list of dicts

And this:
places/sf.json
places/la.json
places/nyc.json

A subdirectory full of JSON files representing each row.
The YAML plugin will almost exactly match the JSON plugin design as well.
Related:

#1
#3
#5

This will also need optional configuration to help solve the "what should the ID be?" question - by default the ID will be the stem of the filename, but there might be cases where each file has a "id": ... key in it which should be used as the ID instead.

Here's the single file version - it's tiny:
https://github.com/datasette/datasette-build/blob/bb6a4ef885c1fa3c6c9bafae140974293462758f/datasette_build/default_formats.py#L23-L25
The multi-file version is going to be harder.


Fix rendering non-latin characters as HTML entities

By default cheerio encodes all non-latin characters into HTML entities which leads to bigger output and non-readable HTML code.
Since React renders this characters as regular unicode characters, I think react-portal-universal should have the same behavior.

@sanniassin Awesome, thank you!


Update readme.md with Cloudinary API setup

Since this is a deal-breaker I thought it would be handy to have in the readme. If not, no worries, feel free to close this PR :)

Yeah this is a great addition to the readme. Thanks Joel! Merging


lambda 6.10 fails to run

Ideally AWS just upgrades to Node 8 but I thought you maybe would like to know running this inside a Lambda currently bombs here. Will have a look if I get a chance. Any time saved in our CI is super appreciated!  🍻
{
    "errorMessage": "Command failed: cd /tmp/GZmcWNlBJ && node /var/task/node_modules/qdd/index.js\n/var/task/node_modules/qdd/lib/isdir.js:10\nconst statValues = bStatValues || getStatValues();\n                                  ^\n\nTypeError: getStatValues is not a function\n    at Object.<anonymous> (/var/task/node_modules/qdd/lib/isdir.js:10:35)\n    at Module._compile (module.js:570:32)\n    at Object.Module._extensions..js (module.js:579:10)\n    at Module.load (module.js:487:32)\n    at tryModuleLoad (module.js:446:12)\n    at Function.Module._load (module.js:438:3)\n    at Module.require (module.js:497:17)\n    at require (internal/module.js:20:19)\n    at Object.<anonymous> (/var/task/node_modules/qdd/lib/cp.js:5:15)\n    at Module._compile (module.js:570:32)\n",
    "errorType": "Error",
    "stackTrace": [
        "/var/task/node_modules/qdd/lib/isdir.js:10",
        "const statValues = bStatValues || getStatValues();",
        "                                  ^",
        "",
        "TypeError: getStatValues is not a function",
        "Object.<anonymous> (/var/task/node_modules/qdd/lib/isdir.js:10:35)",
        "Module._compile (module.js:570:32)",
        "Object.Module._extensions..js (module.js:579:10)",
        "Module.load (module.js:487:32)",
        "tryModuleLoad (module.js:446:12)",
        "Function.Module._load (module.js:438:3)",
        "Module.require (module.js:497:17)",
        "require (internal/module.js:20:19)",
        "Object.<anonymous> (/var/task/node_modules/qdd/lib/cp.js:5:15)",
        "Module._compile (module.js:570:32)",
        "",
        "ChildProcess.exithandler (child_process.js:204:12)",
        "emitTwo (events.js:106:13)",
        "ChildProcess.emit (events.js:191:7)",
        "maybeClose (internal/child_process.js:886:16)",
        "Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)"
    ]
}

@brianleroux Hi Brian! Thanks for giving qdd a spin!
I'm sorry to say that Node 6 is not supported.
I did make an attempt at porting to Node 6, but there were a few hurdles:

fs.stat is implemented completely differently, so using the binding directly as qdd does requires a complete rewrite of qdd/lib/isdir.js. Bit of a pain, but doable.
qdd/index.js uses Object.entries, so a polyfill for that is needed. No problem.
fs.copyFile isn't available in Node 6, so a more manual process is needed. No big deal here, just pipe one file to the other, right? Nah. That's a great recipe for an Error: EMFILE: too many open files, open, so something like graceful-fs is needed, and qdd already has too many dependencies.

Number 3 here is the real showstopper.

That being said, copyFile is only used when copying from cache. It's my understanding that Lambda has no persistent FS (please correct me if I'm wrong), so perhaps you'd always be running qdd in Lambda with no persistent cache? In that case, a version of qdd could be constructed in which you may be able to just ignore the cache case entirely and just use the innards of qdd that download and extract tarballs to the correct places. As an added bonus, you could skip the also-extract-to-cache bits of that code, to shave off even more precious nanoseconds.
If my assumption above is correct, then this is totally doable, and I can make a one-off qdd-lambda module when I have some time.
Are you currently doing npm i (or npm ci) in Lambda?

I made a branch https://github.com/bengl/qdd/tree/node6 that has my rough-draft of getting it to work in Node 6. Doesn't address hurdle number 3, above.

oh fkn eh! sorry just seeing these and ya the stateless qdd-lambda idea should work BUT BIG WARNING! I am guessing we can expect to hear Node 8 on Lambda as soon as Wed for AWS Summit.
So maybe wait a couple of days and this problem gets solved with patience? =P

It might still make sense to make a stateless qdd (or maybe an option in existing qdd) anyway, just to not bother writing to a cache directory.

Boom: https://aws.amazon.com/about-aws/whats-new/2018/04/aws-lambda-supports-nodejs/


Add method to add full datum to transaction in output_builder

Currently, the output builder provides a with_data_hash function. This is all you need for the majority of use cases, but in some cases people may want to provide the full Plutus datum into the transaction witness even though it only shows up in the output (I forget the name of this, but it's in the spec somewhere)
We should enable this as a possibility while also making it clear from the function name that this isn't the usual way to do it.

Isn't this already possible by calling add_plutus_datum in the TransactionWitnessSetBuilder ?, my project is one of those such cases in which the validator needs both the full current and the next datum values (to enforce state transition rules on the datum data).
I am looking to migrate to this library from the serialization lib, I was hoping this was already supported.
If I understand correctly, you must call with_data_hash on the output, and the make sure to include the full datum on the witness set by calling add_plutus_datum in the TransactionWitnessSetBuilder.
This would emulate the tx-out-datum-value on the cardano cli.

Hi!, I wrote a posible workaround in this issue:
https://github.com/Emurgo/cardano-serialization-lib/issues/443#issuecomment-1195619916


0.11 release

If there are no objection i'll do the release tomorrow (~24h from now)

+1

Could you upload static build binaries as release assets? Having static download links would be useful :)


Authorization from integration

Feature request
Hi, I spoke with Easee support a few days ago regarding authorization from the API. Acording to Easee this should be possible with the API.
As of now the only way for a user to authorize a session is by tapping an RFID/NFC-tag, or by opening the Easee-app.
Based on your knowledge, is it possible to do so with this repo?
What version of the integration are you using?
v0.9.55
Anything in the logs that might be useful for us?
No response
Additional information
No response

In theory the start/stop commands (which are available as services) should do just that.
See https://developer.easee.com/docs/settings
I have never personally tried it though, I have no need for that function in my installation.

Hi.. this is definitely a must have feature. Works like a charm on my ioBroker.
Please add this, otherwise this integration is more or less useless to me.

Please test the start and stop services as @olalid suggested.
Goto Developer tools->Services and select the service Easee EV Charger: Action command, select your target device and then select Start.
That should authorize the charger in the same way an RFID tag does.
If it works as you expect we can consider to add a button entity to simplify the use of the service action.

Hi @gaga191281 and @joffaHA,
This is maybe off-topic, as it doesn't relate to the integration. But why don't you authenticate with a random RFID card right away when plugging the car in? (like your Visa or the access card of your workplace) You are physically standing there anyhow and the cable will be locked afterwards.
At least that's what I am doing to separately log charge sessions of our private car and the company car. (I am logging the sessions in the Easee cloud though; the HA integration seems agnostic about which user has authenticated.)

Does this also work if I have a charge plan setup on the Eease? I mean just reading the command called "start" in the home assistant I'm not thinking that this really means either "start now (override charge plan)" or "start when allowed by charge plan". Could some help be added to the command text clearifying this?

I read your link and agree that the naming is purly stolen from the API doc. But then again the API doc also writes this in details below stating what the start/stop aactually do. This piece of the detail is missing inside home assistant


Invalid error related to callback url at OIDC web application creation

Describe the issue:
Observed following error related to callback url at OIDC web application creation
Issue is not reproduced for 'https://example.com' type.

Can't reproduce with the latest codebase identity.apps - v1.0.525. Needs to validate this with the next release pack.

@aaujayasena Closing this issue as it is not reproduced in the latest identity-apps version please reopen it if you are able to reproduce it in an IS pack with the latest identity-apps version.


Review docker image that pull code from GitHub

The containerization of an app or service should ideally local code instead of pulling code from GH. At least I believe that it's the behavior that a developer would expect. Currently, only the challenge-registry app may be affected.

Added to Sprint 22.09

Will be tracked in a new ticket that will include a better description.


Config Templates & Load Balancing

Is your feature request related to a problem? Please describe.
So we have a node based dashboard that monitors a mesh network that is on several raspberry pi's with the same configurations. NPM has been a great tool, but every time we set up another pi in the network we manually add another point which is a pain but the reason of the idea.
Describe the solution you'd like
Can we save a template (or duplicate) an already set up config? IP address changes but port doesn't and neither does the URL (apart from the beginning part of sub domains
I know it's been requested a lot but like to also add my request for load balancing. Having one URL would be great!

Greetings
the use of several servers in backend is possible with NPM if you use an internal DNS service in which the necessary hosts are added to serve the same site
for example, using dnsmasq:
in /etc/hosts:
<IP_ADDRESS> workers.site.domain
<IP_ADDRESS> workers.site.domain
and then, in NPM proxy-host, use the name "workers.site.domain" in the field "Forward Hostname / IP*"
if the same port is kept active on both IPs, it will balance the connections between both internal IP addresses

That is a genius idea! I will give it a go and report back. Thank you

If you can use a different port, how to solve it?

If you can use a different port, how to solve it?

in the case of a cluster, the backends should use the same port in order to use a single name and the same port
perhaps later, in the case of managing multiple backend servers, a different port could be used on each one, but it is not advisable to use different ports on systems that serve the same application

Still waiting for this.

the function of copying a configuration to use as a template sounds very practical, especially when time is invested in preparing a functional configuration


[vue-function-api] "setup" must return a "Object", get "Function"

When using the plugin I get this error
[vue-function-api] "setup" must return a "Object", get "Function"
But the RFC says you can return a function from setup for manual renders https://github.com/vuejs/rfcs/blob/function-apis/active-rfcs/0000-function-api.md#usage-with-manual-render-functions
like this
import { value, createElement as h } from 'vue'

const MyComponent = {
  setup(initialProps) {
    const count = value(0)
    const increment = () => { count.value++ }

    return (props, slots, attrs, vnode) => (
      h('button', {
        onClick: increment
      }, count.value)
    )
  }
}

The RFC is keeping changing. This is not supported now.

Thanks. Do you want me to just close the issue and wait or do you want me to leave it open?

The most important part of the RFC is logic composition. We may not and can't cover all piece of it.


Map Ostracon:ErrTxInMap to lbm-sdk:ErrTxInMempoolCache

Description

lbm-sdk needs to be mapped for new errors in ostracon(ErrTxInMap).
For this error, lbm-sdk maps errors in types/errors/errors.go to make it easier for users to handle.
An implementation concern is whether ErrInTxMempoolCache fully explains this error.

For cosmos-sdk compatibility and lbm-sdk interface retention
"ErrInTxMempoolCache" is insufficient, but the message "tx already in mempool" is enough to explain

For this reason, I mapped it to ErrTxInMempoolCache, but I think renaming this error to ErrTxInMempool is also a way.
closes: #810
Motivation and context

How has this been tested?

Screenshots (if appropriate):
Checklist:

[ ] I followed the contributing guidelines and code of conduct.
[ ] I have added a relevant changelog to CHANGELOG.md
[ ] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.
[ ] I have updated API documentation client/docs/swagger-ui/swagger.yaml

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


fix(CMake): set policy

:tada: This PR is included in version 5.22.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Tooltip is not dismissed when returning from Download window.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Hover on any attachment until download tooltip is visible
Press on download and wait until the download window opens.
Move the mouse to a different position.
Press ESC from keyboard and observe the tooltip

Expected Result:
Tooltip should be dismissed after closing the window.
Actual Result:
Tooltip is not dismissed when returning from Download window.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 13.35-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/6e5a8529-a139-4ea7-b3ff-961b652be894
https://github.com/Expensify/App/assets/43996225/72251b8b-1456-4f38-9bb2-5eb042ea1a13
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688131443836639
View all open jobs on GitHub

Slammed with bug reports. I'll close the loop on these today.

I'm not sure I agree this is a bug. Why should the tooltip dismiss if you are moused over?


Error in Chat

Hello,
With keybase 5.4.0-20200416160205+e81aee5eaf in MacOS 10.15.3 (19D76) I have this display in Chat component :

my log id: 257413569e5df4762378b41c

the last update fix the problem


LWJGL3 Desktop: touchDragged getDeltaX and getDeltaY skip miss motion

Issue details
When using Gdx.input.setInputProcessor, Gdx.input.getDeltaY() and Gdx.input.getDeltaX() the deltas do not sum up to the total movement of the mouse and misses more with faster motion. See below in the console output in which touchDragged shows more movement than deltaX and deltaY.
Version of LibGDX and/or relevant dependencies
api("com.badlogicgames.gdx:gdx-backend-lwjgl3:1.9.10")
api("com.badlogicgames.gdx:gdx-platform:1.9.10:natives-desktop")

Consule Output
200703 18:53:36:593 [INFO] (GDXFunctionalInputAdapter.java:45): Touch down: 503, 150
200703 18:53:36:609 [INFO] (GDXFunctionalInputAdapter.java:75): Touch dragged: 503, 151
200703 18:53:36:609 [INFO] (FocusBasedGDXCamera.java:294): deltaX: 0, deltaY: 1
200703 18:53:36:609 [INFO] (FocusBasedGDXCamera.java:295): deltaX: 0.0, deltaY: 0.02
200703 18:53:36:626 [INFO] (GDXFunctionalInputAdapter.java:75): Touch dragged: 495, 177
200703 18:53:36:626 [INFO] (FocusBasedGDXCamera.java:294): deltaX: 0, deltaY: 1
200703 18:53:36:626 [INFO] (FocusBasedGDXCamera.java:295): deltaX: 0.0, deltaY: 0.02
200703 18:53:36:642 [INFO] (GDXFunctionalInputAdapter.java:75): Touch dragged: 492, 191
200703 18:53:36:643 [INFO] (FocusBasedGDXCamera.java:294): deltaX: 0, deltaY: 1
200703 18:53:36:643 [INFO] (FocusBasedGDXCamera.java:295): deltaX: 0.0, deltaY: 0.02
200703 18:53:36:659 [INFO] (GDXFunctionalInputAdapter.java:75): Touch dragged: 489, 204
200703 18:53:36:659 [INFO] (FocusBasedGDXCamera.java:294): deltaX: 0, deltaY: 1
200703 18:53:36:659 [INFO] (FocusBasedGDXCamera.java:295): deltaX: 0.0, deltaY: 0.02
200703 18:53:36:676 [INFO] (GDXFunctionalInputAdapter.java:75): Touch dragged: 487, 213
200703 18:53:36:676 [INFO] (FocusBasedGDXCamera.java:294): deltaX: 0, deltaY: 1
200703 18:53:36:676 [INFO] (FocusBasedGDXCamera.java:295): deltaX: 0.0, deltaY: 0.02
200703 18:53:36:693 [INFO] (GDXFunctionalInputAdapter.java:75): Touch dragged: 485, 222
200703 18:53:36:693 [INFO] (FocusBasedGDXCamera.java:294): deltaX: 0, deltaY: 1
200703 18:53:36:693 [INFO] (FocusBasedGDXCamera.java:295): deltaX: 0.0, deltaY: 0.02
200703 18:53:36:709 [INFO] (GDXFunctionalInputAdapter.java:75): Touch dragged: 484, 227
200703 18:53:36:709 [INFO] (FocusBasedGDXCamera.java:294): deltaX: 0, deltaY: 1
200703 18:53:36:709 [INFO] (FocusBasedGDXCamera.java:295): deltaX: 0.0, deltaY: 0.02
200703 18:53:36:726 [INFO] (GDXFunctionalInputAdapter.java:75): Touch dragged: 484, 228
200703 18:53:36:726 [INFO] (GDXFunctionalInputAdapter.java:52): Touch up: 484, 228

(Note: GDXFunctionalInputAdapter and FocusBasedGDXCamera are just some classes that I made)
Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[ ] Windows
[x] Linux
[ ] MacOS

I found that the following code can successfully be used as a workaround:
private volatile boolean dragging = false;
private volatile int lastDragX = 0;
private volatile int lastDragY = 0;

@Override
public boolean touchDown(int screenX, int screenY, int pointer, int button)
{
   dragging = true;
   lastDragX = screenX;
   lastDragY = screenY;
   return false;
}

@Override
public boolean touchUp(int screenX, int screenY, int pointer, int button)
{
   dragging = false;
   return false;
}

@Override
public boolean touchDragged(int screenX, int screenY, int pointer)
{
   int deltaX = screenX - lastDragX;
   int deltaY = screenY - lastDragY;
   lastDragX = screenX;
   lastDragY = screenY;
   // do something with deltaX and deltaY
   return false;
}

@calvertdw I can't reproduce your issue. Are you sure that you are outputting the correct delta? In your log below, these delta values are always the same:
200703 18:53:36:709 [INFO] (FocusBasedGDXCamera.java:294): deltaX: 0, deltaY: 1
200703 18:53:36:709 [INFO] (FocusBasedGDXCamera.java:295): deltaX: 0.0, deltaY: 0.02

Also, what are the values in the second row supposed to be? Gdx.input.getDeltaX()returns an int.

Can't get reproduced, no reaction... closed.

Sorry for abandoning this. The floating point values were only after conversion to world space. This is dragged motion over a 3D scene. Seems like something is wrong with the internal calculation of the provided deltas. I gave a bad example output because the values were the same every tick but it was responsive, just missing pixels moved in both X and Y. In this case Y was moving more than X.


doc/manifest: fix "default-features" example

In c9f1b9bf1e535a651f624897bd53a3f81af7501f the format of this example was changed from a [dependencies.awesome] section to the newly-recommended inline table syntax, but one of the attributes was left out.
I had to use some slightly weird formatting to keep the comment in place, is that OK?

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

Thanks for the PR! Unfortunately though this won't actually parse because inline tables in TOML are only allowed to be on one line (e.g. not span multiple lines), perhaps this could just use the normal table syntax instead?

Ugh, seems like quite unnecessary restriction on TOML's part! Yeah, we should either remove the comment (move it to the text) or revert to the regular table syntax.

Ah yeah I think I'd be in favor of leaving the comment (I think that's what this is documenting) and just going back to the old syntax

Okay, done.

@bors: r+ 1f50f96c8991b30d15c991cb4fb98b1577c4db16

:hourglass: Testing commit 1f50f96 with merge 79cb82d...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


Seems I can't find this package on search in npm

I've tried to search for this package on npm under lapack and nlapack and it doesn't show up - should it?  Seems like you need some additional keywords on npm or maybe it's being pulled from another repo?  At any rate, the top search for npm lapack produces a version that uses the ffi interface, which should be much slower than this one.

Hey! I did not want to publish it because it is a work in progress, the test suite is bad and writing the test suite requires very extensive knowledge of linear algebra. I would appreciate if you can point me to resources with examples of LAPACK operations.
You are right that the ffi interface is much slower and that was part of the reason I started working on this library. Another reason is that completing this means that we are one step closer to being able to implement a high performance linear algebra library in Node.js similar to numpy.
I'm hopeful I will finish some day, but it will take time.

Now that I think about it, the LAPACK bindings could actually be tested using scipy's LAPACK wrappers (see https://docs.scipy.org/doc/scipy/reference/linalg.lapack.html)

https://github.com/scipy/scipy/tree/master/scipy/linalg/tests

Just uploaded 0.1.0: https://www.npmjs.com/package/nlapack


fix(wallet-setup): Mnemonic checksum validation retry and tip

related:

https://emurgo.atlassian.net/browse/YOMO-1353
https://emurgo.atlassian.net/browse/YOMO-1320

@jorbuedo can you rebase on 4.27?


idea for new createClassApplier option

I'd like to use your magical createClassApplier library, but in some cases, I only want the outer-most node to apply the class without touching any child nodes. Soo for example, only the parent span would add a class, and any child spans will be left alone. This would save my life!

Could you give me a concrete example with some HTML and what should happen to it?

I am developing a text editor using Rangy. Here is my progress so far. I developed my own function that works with createClassApplier, but it would be amazing if createClassApplier did this on its own.
my function, alterRange: function (name, tag, attributes, remove, outerOnly)
name is the className to use, tag is for elementTagName, attributes is for elementAttributes, remove is optional, used to remove any classes that were previously applied, kind of like your toggleSelection, but for a different purpose, and outerOnly is what I really want you to develop.
Here is the function code I have working so far as a workaround:
    alterRange: function (name, tag, attributes, remove, outerOnly) {
        var sel = rangy.getSelection(), range, el, f, container,
            hasremove = false, hasclass = false;

        //select children if there is no selection made ///////////////////////
        if (sel.isCollapsed == true) {
            sel.selectAllChildren(sel.anchorNode);
        }

        if (outerOnly == true) {
            //create outer node
            sel.refresh();
            range = sel.getRangeAt(0).cloneRange();
            container = range.commonAncestorContainer;
            var contents = range.extractContents();
            f = document.createDocumentFragment();
            el = document.createElement(tag);
            if (attributes != null) { $(el).attr(attributes); }
            el.appendChild(contents);
            var el2 = $(el).find('.' + name);
            if (el2.length == 0 && remove != null) {
                for (x = 0; x < remove.length; x++) {
                    el2 = $(el).find('.' + remove[x]);
                    if (el2.length > 0) { hasremove = true; break; }
                }
            }
            if (el2.length > 0) {
                el = el.firstChild;
                if (hasremove == false) {
                    //remove outer node (toggle)
                    hasclass = true;
                    $(f).append(el.childNodes);
                    range.insertNode(f);
                }
            }
            if (hasclass == false) {
                f.appendChild(el);
                range.insertNode(f);
            }
            range.normalizeBoundaries();
            sel.refresh();
            sel.setSingleRange(range);
        }

        //apply attributes & class (name) to all elements within the select ///
        var applier = rangy.createClassApplier(name, {
            elementTagName: tag,
            elementAttributes: attributes
        }, tag);
        applier.toggleSelection();

        //remove any classes from the selection that don't belong /////////////
        if (remove != null) {
            if (remove.length > 0) {
                //remove classes from range
                for (x = 0; x < remove.length; x++) {
                    applier = rangy.createClassApplier(remove[x], {
                        elementTagName: tag,
                        elementAttributes: attributes
                    }, tag);
                    applier.undoToSelection();
                }
            }
        }

        //replace trailing spaces with   /////////////////////////////////
        sel.refresh();
        var nodes = [];
        //get all nodes within the selection
        for (x = 0; x < sel.rangeCount; x++) {
            nodes = nodes.concat(sel.getRangeAt(x).getNodes());
        }
        //find each text node and replace trailing spaces with
        for (x = 0; x < nodes.length; x++) {
            if (nodes[x].nodeType == 3) {
                nodes[x].nodeValue = nodes[x].nodeValue.replace(/\s+$/g, '\u00a0');
            }
        }

        if (outerOnly == true) {
            //remove class (name) from all child nodes
            if (hasclass == false) {
                el.className = name;
            }
            var c = $(el).find('.' + name).removeClass(name);
            sel.refresh();
            if (hasclass == false) {
                range.selectNode(el);
            } else {
                range.selectNodeContents(container);
            }
            sel.setSingleRange(range);
        }
    },

So finally, to the logical part. Why do I need this? For separating groups of content. For example, I have 3 buttons to align left, center, and right. If I align center only part of the text, it should center on a new line, grouping the selection in an outer node. Then, if I center right the same selection, I want to remove the center alignment & replace it with a right alignment class. And finally, if I click right alignment again, it should toggle the outer-node off, removing it and restoring the markup to its original state. Here are some screenshots of this function working so far
example 1: selecting text to make italic

example 2: selecting part of the italic text & part original text, to make align center, which aligns on a new line. I make the "aligncenter" class on the span use display:block to force the span onto a new line.

example 3: with the same text selected, I click align right, which removes the "aligncenter" class on the outer element that I created, and replaces it with "alignright"

here is the resulting HTML

        Build
        compelling

            mobile
            websites
         in days instead of weeks.

    Use our intuitive editor to drag & drop content directly onto web pages, giving you more time to focus on what matters instead of spending most of your time writing source code.

The problem that I had with createClassApplier is that it would apply my "aligncenter" class to the italic span, and the normal span, forcing the "mobile" to be on one line, and "websites" to be on a second line. This is why you should have the option to only affect (or create) the outer-most tag instead of applying the class to all nested tags. Just a thought ;)

Also, I'd like to say that rangy IS the cure to the contentEditable problem we're facing with cross-browser support. So many WYSIWYG editors are popping up on github, and they all utilize rangy for their core framework.


Node engine version

It would be nice to move the node engine version down to 8.10.0.
According to https://node.green/ versions 8.10.0 to 9.11.2 are the same in terms of compatibility.
By moving the engine requirement down to 8.10.0 we will be able to create a static build on Zeit Now 2.0

@fannarsh You’re right! Done!
And please let me know if you run into any issues or see any areas for improvement. I soft-released Charge so I could get some feedback and fix any bugs. I’m actually amazed anyone found this repo without me talking about it. 😂 I have a small list of improvements that I’d like to make and then I’ll start telling more people about it.


merge property keys

Change all the sheet.* config properties to genSpring.* to eliminate dups and move config to methods in common base class.

Version 0.5.1
New common class of CommonMethods added


undefined type syscall.Timeval32 Usec and Sec methods

I am not able to compile on darwin/386, any ideas ?
../../../../../vendor/github.com/elastic/gosigar/sigar_darwin.go:50:45: tv.Sec undefined (type syscall.Timeval32 has no field or method Sec)
../../../../../vendor/github.com/elastic/gosigar/sigar_darwin.go:50:60: tv.Usec undefined (type syscall.Timeval32 has no field or method Usec)

revision = "f75810decf6f4d88b130bfc4d2ba7ccdcea0c01d"
version = "v0.10.4"

Updating syscall.Timeval32{} to syscall.Timeval{} seems to fix the issue, but I am not sure its correct as I just tested for my particular issue:
github.com/elastic/gosigar/sigar_darwin.go
func (self *Uptime) Get() error {
	tv := syscall.Timeval{}

	if err := sysctlbyname("kern.boottime", &tv); err != nil {
		return err
	}

	self.Length = time.Since(time.Unix(int64(tv.Sec), int64(tv.Usec)*1000)).Seconds()

	return nil
}


Space edit mode: test out A-Frame Inspector standard functionality

Ensure that the A-Frame Inspector's default options work as expected and review which ones might not be needed in general.
E.g. left panel, right panel, top bar

entity copy function worked

entity delete function worked

changing camera perspective worked

changing position, rotation and scale via topnav (dragging in scene) worked

changing position, rotation, scale and visible via right panel worked

changing geometry and material for a-image via right panel worked

changing geometry and material for a-sky via right panel worked (note though that it's hard to find which entity actually should be changed)

changing the light and ground via right panel worked but it's challenging to understand what exactly the options do

the major functionality seems to work, other things need to be addressed on a case-per-case basis


Add 14* to Nudge Deferral EA

Describe the bug
Deferral EA needs 14* added to line 14 to account for Sonoma Systems:
https://github.com/dan-snelson/Nudge-Post-install/blob/803abce5de51de44235661ed3ff68b0e05223ac7/EA-Nudge-Deferrals.sh#L14
To Reproduce
Running the .sh on a  Sonoma system yields no results
Expected behavior
Results should have a deferral count for Sonoma systems
Code/log output
Output was blank
Screenshots

Environment (please complete the following information):

OS version 14.1
Script version Latest

Additional context
Thank you for all the work you do!

Greetings, @kevinVodi!
We made this change internally some time ago; didn't know anyone was actually using this …
… do you have cycles for a Pull Request?

Hi, I'm interresting too ;)


[Question] How can I use the line-comment symbol when triggering a blockquote

I'm writing a lot of documents in TeX, which does no support block comments. But I regularly catch myself selecting a block of text and then triggering a block comment, resulting in only the first line to be commented.
Is it possible to change this behavior. I'd find it pretty useful if the plugin could just paste the line comment character before every line if no block comments are available.

and then triggering a block comment

What's the issue with selecting lines and pressing gc?

Omg I'm kinda embarrassed that I didn't came up with that myself.
That's obviously a great solution.
Sorry for bothering you ':)


Request:Access Monitor

It would be really cool if there could be a monitor that just mirrored the main control block, so whatever upgrades you had would also show on all the monitors, then we could just use the smaller storage unit blocks to link them, or maybe add a slave block to serve as a wire of sorts. Would be very cool and handy to have access to our storage from more than one block in our bases.

Please see the bottom of the README


Add ChatGLM3 support

only change the convert tool name to add glm3 support

merged.
@Duyi-Wang could you pls further refactor it to make more sense?


Blueprints

I create all my blueprints via ARM, because I can deploy ARM templates via Terraform, and where I work the Goal is to deploy via terraform.
The scenario
Lets say we have 4 subscriptions

sub1-prod
sub1-nonprod
sub2-prod
sub2-nonprod

They are all structure using Management Groups

Tenant (main one)

Subscription Main

Sub1

Prod

sub1-prod

nonprod

sub1-nonprod

Sub2

Prod

Sub2-prod

Nonprod

Sub2-nonprodprod

All Blueprints are deployed at the Subscription Main Management Group
Lets say we have the blueprint
RequireTags it is published to version 1 with 30 policies for 15 tags. Basically to require tags at the Resource group and resource level. I associate that with sub1-nonprod for testing. It is then decided that 5 of them could be really handled with just 2 tags. So that would be removing 10 policies and adding 2. When I do my deployment it adds the 2 just fine. To remove the 5 policies from the blueprint I have to manually delete the 10 policies. Then publish the new version. So now I have The blueprint RequireTags with 2 published version v1 and v2. So for this first part how can I have the system auto remove those policies. I could do some automagicness to try to script this using github actions, but that feels a bit hacky.
Part 2 is as mentioned RequiredTags v1 is assigned to sub1-nonprod. Since we now want v2 instead of 1, I remove v1 from the subscription and attach v2. In doing so it leaves the 10 policies form version 1 and again adds the 4 from version 2. I can now delete those 10 from v1 manually from the subscription. If you like we can focus on each part separately, as they are 2 separate issues but are connected. Again I could do some automaginess probably here as well, but I feel I shouldn’t have to. There should be a way to tell the system to do it for me.
Most of the demos look to use Import-AzBlueprintWithArtifact vs arm. Will that cause the blueprints to add new artifacts/policies and remove ones no longer part of the blueprint? If so is there a way to do it via an ARM template. Typically I would use complete mode, but since this is not deploying to a Resource group I have not been successful at getting it to work.

+1. Did find a way to solve the problem?
There is a file called "clean-subscription.ps1" which probably answers part of your question.

I wrote my own. Looks to try to get all the policies and deletes the blueprints and then reconnects the blueprint. I will have to check that one out though thanks.

@s4parke If you want to see what I did here is it
https://github.com/tikicoder/samples/tree/main/azure/scripts/cli/bash/clean_up_blueprints
I would be open to feedback I have a few other scripts I need to share.


Add branch length

Add a maximum length of the branch description:
pleat --max-git-branch-length 50

https://github.com/ssanj/pleat/issues/4

related to #15

Should we split this into local and remote variants?
Given:
[topic/parJoin-cancelation-race-condition -> origin/topic/parJoin-cancelation-race-condition]

we could reduce each to 25 each?
[...ancelation-race-condition -> origin/...ancelation-race-condition]


Thoughts about borrowing from the buffer inside Jiter

I stumbled upon some borrowing problem and it caused me thinking a little bit.
Please look at this issue only as me airing out my thoughts. It's not a feature request nor a bug report.
I have this working code:
  let mut opt_key = jiter.next_object()?.map(|k| k.to_owned());
  while let Some(host_id) = opt_key {
    let host = jiter.next_str()?;
    let prev = hosts.insert(host_id.parse()?, host.parse()?);
    if prev.is_some() {
      err!("duplicate host_id {host_id}")?;
    }
    opt_key = jiter.next_key()?.map(|k| k.to_owned());
  }

Here I am reading a JSON file hosts.json of the form { "hostid": "host" ..} into a map.
I am using Jiter because I want to detect duplicate host ids. serde_json and tinyjson both happily accept duplicate host ids and use one of the duplicate entries. That's because they rely on a map and don't check the result of the insert() method. Why should they at all? Haha.
err!() is a macro formatting text into an error message and creating a Result::Err(). host and host_id are parsed to types specific to my application. Both things are not important here. I wanted to show a real-world code snippet, so please excuse that the code is not a reproducible test.
This said, let me tell me about the borrowing problem.
The next_object(), next_str() and next_key() all take &mut self.
This causes rustc to say: "cannot borrow `*jiter` as mutable more than once at a time" as soon as one still keeps a borrow from a former call when calling another method.
I solved this problem with two .map(|k| k.to_owned()) incantations.
However this got me thinking: Perhaps there's a conceptual problem? Because it should work? The &str value borrows from the buffer and the buffer is immutable?
I realized: There are two borrowing modes going on:

&mut self is needed for advancing the index
&self would suffice for slicing the buffer

but the methods do both and need to apply the stricter mode.
This forces users to clone or to allocate because they can't do a shared borrow of the buffer.
I thought of one possible way. Please understand I am not requesting a feature, only thinking out loud.
Expose the parser from the Jiter struct and give it an API that returns ranges to the buffer. Users then slice the buffer themselves. This doesn't conflict with &mut self I am quite sure.

Maybe @davidhewitt can add something, but I don't think what you're asking for is possible.
The point is that there are two sorts of strings possible in JSON:

strings where the underlying bytes are themselves valid as UTF8 data, e.g. "foobar", in this case jiter returns a pointer to the underlying slice of the incoming data
strings that are not valid as UTF8 - anything that includes escape characters or \U unicode symbols e.g. "foo\nbar" or "foo\U1234bar" - in this case jiter has to build up a new String as it can't just return a pointer to the original data, for performance reasons, we reuse a "tape" string each time we need to do this, rather than allocating a new String

So the point is that the string methods return a &str which can either be a pointer to a slice of the original JSON, or a pointer to the tape.
This is only really possible because rust's borrow checker does exactly the right thing and avoids you keeping a reference to the tape which might later change.

Good point, thank you! By the way, I did the backtick thing with code, is this not enough?

One slight alternative here is that we could allow the tape to be passed in, e.g. jiter.next_str(&mut tape), where the return value could then not depend on a mutable borrow on jiter itself, but would still borrow from either the tape or the original source data.
This would be quite limited, as in theory the next "value" could have an unlimited number of strings. But for simple usage this might expose a little bit of extra control.


Configure Always On availability groups in Azure Virtual Machines automatically: Resource Manager is not working

Configure Always On availability groups in Azure Virtual Machines automatically: Resource Manager is not working

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

ID: 83b469f4-b118-3ce8-852f-535661ded5e4
Version Independent ID: f720f442-9dc7-a6d5-afd9-97e173cbae9d
Content: Set up high availability for Azure Resource Manager VMs
Content Source: articles/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-alwayson-availability-groups.md
Service: virtual-machines-sql
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

Thanks for the feedback! We are currently investigating and will update you shortly.

@binken To help me understand better, can you please elaborate on which step are you seeing an error or facing difficulty while following the doc. Thanks

There's no error in the deployment. But after the deployment, I didn't see the SQL added in to AG

@binken I followed the tutorial and I am seeing Availability group appear in SQL Server Management Studio.
Can you confirm that you followed this part of the doc?
If yes, can you please share the screenshot from the SQL server management studio as well as the screenshot of the resources created in the Azure portal as shown below:

Resources created after deployment in Azure Portal:

SQL server management studio after following this step in the doc:

@binken Any update?

@binken Please provide the details asked above so that I can help you better.

@binken We will now close this issue. Whenever you are ready, tag me to reopen the issue and we will gladly continue the discussion.


SKU encoded by amazon API result

Hi, I am using SP Report API to get listing data. I am using GET_MERCHANT_LISTINGS_ALL_DATA.
In response its returning data, but SKU is encoded. Its return sku as Cr�me and Jalape�o. But actual SKUs are like Crème  and Jalapeño.
Can you please suggest how can I convert it back to Crème and Jalapeño?

@baltechies This is probably due to a wrong charset, please have a look at the docs and search for GET_MERCHANT_LISTINGS_ALL_DATA.
Providing the right charset should solve your issue:
let report = await spClient.download(report_document, {
 charset:'cp1252'
});


how can i delete Multiple element

after the first one delete
it throw error
 Node is detached from document

help me please~~

Questions like this should be asked on stackoverflow.


Enhancement.vpa health check

How to categorize this PR?

/area control-plane
/kind enhancement
/priority normal
What this PR does / why we need it:
This PR enables health checks for VPA deployments belonging to a shoot cluster. It is visible as part of .status.conditions[type=ControlPlaneHealthy].
Which issue(s) this PR fixes:
Fixes #2685
Special notes for your reviewer:
An issues with the VPA deployment in the seed bootstrap was fixed along the way. Due to the runtime and application split in https://github.com/gardener/gardener/pull/2478, configured values in the seed bootstrap were not respected anymore.
Release note:

Control plane health checks have been added for VPA components of shoot clusters. These are executed regularly as soon as the shoot uses the Vertical-Pod-Autoscaling feature (https://github.com/gardener/gardener/blob/master/docs/usage/shoot_autoscaling.md#vertical-pod-auto-scaling).

/assign

Thanks for your review @rfranzke. PTAL.

/hold as @timuthy wanted to check how much effort it would be to implement the proposed solution right away

The health checks were align with the confine spec rollout feature in e2f1e84, at least for the VPA and cluster autoscaler checks. I'll open an issue in order to check and adjust the decision making for other components as well, e.g. Alertmanager.

/unhold


Edge IDs and labels are not shown in the tooltip at initial load

https://user-images.githubusercontent.com/4862919/178239251-6bc8fa23-51b3-4db8-8dc4-14fabf3b73c7.mov

Fixed. Edge IDs (e.g. a-b) do not appear anymore.
https://github.com/blitzboard/blitzboard/compare/b76fdd4f5d8d...4f82fa2b18e1


Color Descriptions

A description on what the colors mean would be nice. :)

Thanks for the suggestion, should've added this a long time ago. It's on the latest version.


fix: [#4288] CustomQuestionAnswering answers return empty metadata

Fixes #4288
Description
This PR fixes the formatting made over the answer's metadata, causing the information to get lost. The metadata field was treated as an array and it is actually an object.
Specific Changes

Updated the formatQnaResult method of the languageServiceUtils class to format the metadata field treating it as an object.
Added a new unit test in the languageService.test class to verify the metadata field gets properly mapped.
Added returns_answer_with_metadata.json test data file.

Testing
These images show the answer the bot received before and after the changes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.004%) to 84.537%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
19870

Relevant Lines:
22265

💛  - Coveralls

@tracyboehrer could you please help with approving and merging this PR.


Fix resolution for sportslink market factory

The resolution rules are undertested and at least somewhat incorrect. They need to be fixed.

@robert-e-davidson3 What needs to happen here? Do we need specific tests cases developed?

Closing in favor of #322


Update maven-bundle-plugin to 3.5.0

Fixes missed package references as seen in https://github.com/GoogleCloudPlatform/google-cloud-eclipse/pull/3165

Using 3.5.0 fixes the issue (https://github.com/GoogleCloudPlatform/google-cloud-eclipse/pull/3165#issuecomment-397710785): we could continue to use the multi-catch, and ignore #674.

Sounds good. Let's ignore #674 then.


added colour, material, and support to post_box preset

Added more fields to the post_box preset, in relation to issue #7738. Did not include post_box:type because it seems like it was decided against for now.

@yyazdi13 Looks good, thanks a lot! Welcome to the project


Solution to Problem 20

Solution Number: 20
Checklist:

[x] Created binary in src/bin
[x] Written Documentation
[x] Written Tests

What
https://projecteuler.net/problem=20
How

Computes the the factorial of 100. Since the result is a huge number, this solution makes use of the num-bigint crate to store the big numbers.
Convert the result to a String and iterate through the characters, converting each to a number. Sum all the values in the iterator.

closes #20


Perfect work！

Hello! Could you please tell me what kind of GPU is required for training? How many GPUs are needed? And what resource conditions are necessary to run the testing?

Hi, our model requires a minimum of 8xA6000 (48GB) GPUs for training. The more and better GPUs, the faster the overall training speed will be. For inference and testing, only one V100 (32GB) GPU is needed.


Linting the codebase to be PEP 8 compliant with black for readibility

This PR is making the codebase PEP 8 compliant, by linting with the black linter.
Black has found that 76 files need to be changed.
Why I am proposing this change:

I spent a lot of time reading code from the codebase in the last few weeks and I have done this for myself to make it more readable. It keeps the long lines and the docstrings tidy so they are more readable to someone new coming.
Keeping to PEP 8 standards is good for maintainability and it sets a standard for external people who would like to contribute as they have a guideline to follow.

Hi @TamaraAtanasoska, thank you again for the contribution. I understand this is something you ran locally to format all files. Did you add this black linter as a dependency? I would like to apply this linter directly in the dev branch to avoid a complex merge.

Hi @TamaraAtanasoska, thank you again for the contribution. I understand this is something you ran locally to format all files. Did you add this black linter as a dependency? I would like to apply this linter directly in the dev branch to avoid a complex merge.

Hi! Thanks again for being interested in merging this. Yes, I ran the linter locally and I didn't include it anywhere since I didn't know to what extent you would be interested in using it. My favourite option is to include the linter in a GitHub action like this so anyone new contributing can write code as they want, but when it will be merged it will be formatted so the style is always compliant. If you agree to it, I am happy to add to this branch the .github/workflows/black.yml as described there in the documentation. For the code that is already there just running it once then would suffice as all future cases would be covered. What do you think?

Hi @susuhahnml, any news on this? Can I do something?

Hi @TamaraAtanasoska ,
thank you for your contribution :)
It is planned to lint the code base and will be done soon. We plan to lint the development branch, therefore I will close this pull request.
See also issue #122


How to deal with randomized-like HTML attribute value?

Hi @kensoh,
I'm sorry for raising another issue, and also for the confusing title.
So I want to type something to this element, but its id attribute value is always changing. Here is element when inspected:

The highlighted alphanumeric part is the one that is always changing everytime the page loaded/visited.
Is there any workaround other than using click(x,y) ? Any suggestion is welcomed 😃

Hi
Have you tried with full XPath too?

Hi
Have you tried with full XPath too?

Hi @Leeladhar13, thank you for your suggestion 😄
I'll let you know soon

Hi @Leeladhar13, thank you for your suggestion 😄
I'll let you know soon

Thank you very much @Leeladhar13, it works! 😄 You have saved me, and I mean it. Thank you again!
I'll keep this issue opened in case you have other thing(s) to tell

Thank you very much @Leeladhar13, it works! 😄 You have saved me, and I mean it. Thank you again!
I'll keep this issue opened in case you have other thing(s) to tell

Also you can try with
//input[contains(@id, "AccountType")]  in your case which will checks partial match for id with that name

Also you can try with
//input[contains(@id, "AccountType")]  in your case which will checks partial match for id with that name

Hi @Leeladhar13, thanks for suggesting another way. I'll try it and let you now

Thanks @Leeladhar13 for your sharing!
Hi @abitamaspp, it depends on the situation. RPA for Python does selection also if the attribute contains what you are searching for. Normally for dealing with randomised web elements, I'll find an anchor element that is fixed, then reference from that using relative XPath.
For eg //*[@id="result"]//input means the first input element under the element with id result.
Or //*[@id="result"]/input to mean the input element must be directly a child.
XPath supports very advance combinations to do very complex scenarios

Hi @kensoh, sorry again for this late reply and thank you for your suggestions. My project had finished and delivered using full XPath. Nevertheless, I think using anchoring or partial match (as suggested by @Leeladhar13) will be far more code-maintainable, so I'll definitely try them in the future project


How to implement non-default Transport::tick when already using Framed?

I'm stumped here. I need to do some work with a custom tick() method from the tokio_proto::streaming::pipeline::Transport trait, and I'm using tokio_io::codec::Framed as my.. is codec the right word?
But when I try to implement Transport for Framed<T, PacketCodec> as below, I get dinged for conflicting implementations because of the default implementation already present. Even if I vendor tokio-io into another crate so I can use Framed from that one, I run afoul of the orphan rule.
So, perhaps you can explain how you expect anyone to implement tick() and cancel()!
My code without the transport is here:
https://github.com/SpamapS/rustygear/tree/tokio
And here is the transport I've tried to implement:
use std::io;

use tokio_io::{AsyncRead, AsyncWrite};
use tokio_io::codec::{Framed, Encoder, Decoder};
use tokio_proto::streaming::pipeline::Transport;

use codec::PacketCodec;

type GearmanFramed = Framed<T, PacketCodec>;

impl<T> Transport for GearmanFramed<T>
    where T: AsyncRead + AsyncWrite + 'static
 {
    fn tick(&mut self) {
        trace!("tick!");
    }

    fn cancel(&mut self) -> io::Result<()> {
        trace!("cancel!");
    }
}

I figured this out. The way to do it is with newtypes, which I don't think I fully understood until now. This is the new version of that file:
use std::io;

use tokio_io::{AsyncRead, AsyncWrite};
use tokio_io::codec::{Framed, Encoder, Decoder};
use tokio_proto::streaming::pipeline::Transport;
use futures::{Poll, Sink, StartSend, Stream};

use codec::PacketCodec;

pub struct GearmanFramed<T>(pub Framed<T, PacketCodec>);

impl<T> Transport for GearmanFramed<T>
    where T: AsyncRead + AsyncWrite + 'static
{
    fn tick(&mut self) {
        trace!("tick!");
    }

    fn cancel(&mut self) -> io::Result<()> {
        trace!("cancel!");
        Ok(())
    }
}

impl<T> Stream for GearmanFramed<T>
    where T: AsyncRead
{
    type Item = <PacketCodec as Decoder>::Item;
    type Error = <PacketCodec as Decoder>::Error;
    fn poll(&mut self) -> Poll<Option<Self::Item>, Self::Error> {
        self.0.poll()
    }
}

impl<T> Sink for GearmanFramed<T>
    where T: AsyncWrite
{
    type SinkItem = <PacketCodec as Encoder>::Item;
    type SinkError = <PacketCodec as Encoder>::Error;
    fn start_send(&mut self, item: Self::SinkItem) -> StartSend<Self::SinkItem, Self::SinkError> {
        self.0.start_send(item)
    }
    fn poll_complete(&mut self) -> Poll<(), Self::SinkError> {
        self.0.poll_complete()
    }
    fn close(&mut self) -> Poll<(), Self::SinkError> {
        self.0.close()
    }
}

Yep, that is correct :)


Update conda_index command in os-blas-test-matrix workflow

This PR updates the code used for the os-blas-test-matrix GitHub Actions workflow to reflect changes in the way conda index is implemented: https://conda.github.io/conda-index/.
This does not affect users, so I will merge this somewhat quick (w/ or w/out review -:).  Need it to run the full OS/BLAS test matrix before release 0.10.0.

coverage: 94.425%. remained the same
when pulling d3029dcf28f40b745f378f748100dc139cefed69 on murrayrm:fix-os-blas-test-matrix_30Mar2024
into 4d878a966ca576f53b0d2ae9fd93ce598f60d748 on python-control:main.


New vswhere parameter that will find any available product

Something like -products *

You can pass -products * in the next release.

Ty


little change

@AlonZivony, after you rebase to origin/base, you can cherry-pick the 3 commits:
0001-chore-event-reformat-comments-for-access_remove_vm.patch
0002-chore-events-filter-non-mandatory-kprobe-out.patch
0003-chore-workflow-allow-other-jobs-to-finish-if-there-i.patch
to your PR. I'm leaving a comment as a REVIEW feedback there (testing needs improving as it is failing, check there).


Initial work on light op acks

AB#2228
This development contains changes that will allow ODSP to send back an op ack without contents.

Delta connection will let ordering service know it can send back light op acks (for ODSP, this is in supportedFeatures["api_light_op_acks"])
Delta connection will store the contents of its ops
Delta connection processing will fill in the contents of the op if matching clientSequenceNumber and clientId

TODO

If the user has 2 clients (main client & summarizer client), would the server be able to do light op's for them? Is the client storing op content in a way that both clients can access?

If the user has 2 clients (main client & summarizer client), would the server be able to do light op's for them? Is the client storing op content in a way that both clients can access?

@GaryWilber I'm fairly certain the separate clients hold separate connections, so they would be tracking op contents individually.

AB#2959 tracks follow-up that will merge this PR and do the testing

@kian-thompson, anything blocks this PR?

@kian-thompson - anything blocking this PR?

@kian-thompson - anything blocking this PR?

@vladsud
Sorry, didn't see the other question a couple weeks ago. I was going to wait for service side to finish their implementation before merging this code into main AB#2959

Closing this PR as it's been stale for a while


sensor: bq274xx: cleanup the driver's code

found a not-merged PR #42145 so decided to work on it. I will create separate PRs for cleanup, new features (as suggested in that PR).
Here is the first part: code cleanup.

Hi @olsky nice work taking on this clean up 👍

status needs to be updated to 'ret' in bq274xx_trigger.c also

Hi @olsky, thanks for the patches so far, I'm reviewing the changes in more detail and I'm noticing it's going to be hard to review.  There is mix of functional and stylistic changes (apologies for not picking up on that earlier).  I'm not sure what @MaureenHelm 's view is on this is but if you have the patience I'd probably git reset --hard main and start again and do only stylistic fixes for readability and clean logging etc in this PR and functional fixes in a later PR.
This PR could be six commits:

renaming status variables to ret
shortening macro names
removing bq274xx prefixes from static function names
shortening function names further (control->ctrl, command->cmd, etc)
renaming bq274xx_data struct from bq274xx to data
fix whitespace formatting

To make it as easy as possible for the reviewers do the minimal search and replace operation per commit and leave any whitespace formatting required until the last commit.

Hi @olsky, thanks for the patches so far, I'm reviewing the changes in more detail and I'm noticing it's going to be hard to review. There is mix of functional and stylistic changes (apologies for not picking up on that earlier). I'm not sure what @MaureenHelm 's view is on this is but if you have the patience I'd probably git reset --hard main and start again and do only stylistic fixes for readability and clean logging etc in this PR and functional fixes in a later PR.
This PR could be six commits:

renaming status variables to ret
shortening macro names
removing bq274xx prefixes from static function names
shortening function names further (control->ctrl, command->cmd, etc)
renaming bq274xx_data struct from bq274xx to data
fix whitespace formatting

To make it as easy as possible for the reviewers do the minimal search and replace operation per commit and leave any whitespace formatting required until the last commit.

Yes, please make stylistic fixes and functional changes in separate commits.

Moved to here: https://github.com/zephyrproject-rtos/zephyr/pull/56256


memoryviews of arrays of structs fail to work in some cases

As reported on the mailing list:
There seem to be some bugs regarding memoryviews of structured arrays
in Cython when the struct itself contains arrays. I have a Cython fix for
one of them (the most relevant to me), but first I would like to make sure
that these are really bugs and I am not doing anything stupid. This
question is related to
http://stackoverflow.com/questions/17239091/cython-memoryviews-from-array-of-structs,
but the answer there works only for char arrays. An array of doubles breaks
it again.
It seems to me that Cython implementation solves some special cases, but
not the general one. My proposed fix would be to insert
ndim = ctx->head->field->type->ndim;

after
/* Process the previous element */

if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return NULL;

in Cython\Utility\Buffer.c
This fixes tests 2, 4 and 7, but not 8 and 9 (see below). I am not sure
about the details of what the code in Buffer.c is supposed to do and
whether my modification would break some other functionality, but my code
(not only the tests) works with this fix.
Or am I possibly simply missing "the right way" to handle arrays of structs
containing arrays in Cython? But in either case the compiler shouldn't
crash like in test 9...
Here is the code of my tests with and without numpy with results ranging
from "ok" to "compiler crash".
The numpy tests require these imports:
import numpy as np
cimport numpy as np

*Test 1 (OK)*
cdef packed struct My_Struct:
    double my_first_value
    double my_second_value
cpdef test():
    cdef My_Struct my_struct
    cdef My_Struct[my_view = <My_Struct[:1](:])>&my_struct

*Test 2 (FAILS)*
cdef packed struct My_Struct:
    double my_first_value
    double my_second_value*[test():
    cdef My_Struct my_struct
    cdef My_Struct[:](1]*
cpdef) my_view = <My_Struct[Expected 1 dimension(s), got 1*
*
*
*Test 3 (OK)*
cdef packed struct My_Struct:
    double my_first_value
    double my_second_value[*1*](:1]>&my_struct

*ValueError:)
cpdef test():
    cdef np.ndarray my_array = np.ndarray(1,
dtype=np.dtype([('my_second_value','float64',*
1*)](('my_first_value','float64'),), align=False)
    cdef My_Struct[my_view = my_array

*Test 4 (FAILS)*
cdef packed struct My_Struct:
    double my_first_value
    double my_second_value[*2*](:])
cpdef test():
    cdef np.ndarray my_array = np.ndarray(1,
dtype=np.dtype([('my_second_value','float64',*
2*)](('my_first_value','float64'),), align=False)
    cdef My_Struct[my_view = my_array

*ValueError: Expected 1 dimension(s), got 1*
*
*
*Test 5 (OK)*
cdef packed struct My_Struct:
    double my_first_value
    *char* my_second_value[2](:])
cpdef test():
    cdef np.ndarray my_array = np.ndarray(1,
dtype=np.dtype([('my_second_value','*a*',2)](('my_first_value','float64'),),
align=False)
    cdef My_Struct[my_view = my_array

*Test 6 (OK)*
cdef packed struct My_Array_Struct:
    double values[*1*](:])
cdef packed struct My_Struct:
    double my_first_value
    My_Array_Struct my_second_value
cpdef test():
    cdef np.ndarray my_array = np.ndarray(1,
dtype=np.dtype([('my_second_value','float64',*
1*)](('my_first_value','float64'),), align=False)
    cdef My_Struct[my_view = my_array

*Test 7 (FAILS)*
cdef packed struct My_Array_Struct:
    double values[*2*](:])
cdef packed struct My_Struct:
    double my_first_value
    My_Array_Struct my_second_value
cpdef test():
    cdef np.ndarray my_array = np.ndarray(1,
dtype=np.dtype([('my_second_value','float64',*
2*)](('my_first_value','float64'),), align=False)
    cdef My_Struct[my_view = my_array

*ValueError: Expected 1 dimension(s), got 1*

*Test 8 (FAILS)*
cdef packed struct My_Struct:
    double my_first_value*[1](:])*
    double my_second_value
cpdef test():
    cdef My_Struct my_struct
    cdef My_Struct[my_view = <My_Struct[:1](:])>&my_struct

*ValueError: Buffer dtype mismatch, expected 'double' but got end in
'My_Struct.my_second_value'*

*Test 9 (COMPILER CRASH)*
cdef packed struct My_Array_Struct:
    double values[packed struct My_Struct:
    double my_first_value
    My_Array_Struct my_second_value*[1](2]
cdef)*
cpdef test():
    cdef My_Struct my_struct
    cdef My_Struct[my_view = <My_Struct[:1](:])>&my_struct

Migrated from http://trac.cython.org/ticket/853

import numpy as np

ctypedef struct test_pass_t:
        double nodes[2]
        int tag

cdef container_pass = np.ndarray(1,dtype=np.dtype([('nodes', ('f8', 2)), ('tag', ('i4',1))],align=True))

cdef test_pass_t [:] res_pass = container_pass
print (res_pass[0])

ctypedef struct test_fail_t:
        int nodes[2]
        int tag

cdef container_fail = np.ndarray(1,dtype=np.dtype([('nodes', ('i4', 2)), ('tag', ('i4',1))],align=True))

cdef test_fail_t [:] res_fail = container_fail
print (res_fail[0])```

Closing this since it seems to be covered by #3562.


Add metadata fields to the output of the Weaver to help with publishing to courtformsonline.org

See: https://github.com/SuffolkLITLab/courtformsonline.org/issues/8
fix #924

The unit test seems to be failing due to running out of disk space


Programmatically closing textDocuments in VSCode

At present, we use temporary files to show temporary json results. We dispose these resources in the dispose function to ensure we don't have too many temp files created.
However, this leads to a side-effect on restarting VSCode - we get a error messages of not being able to locate the temp files. Issue logged here.
I came across this commit on the GitHub repo, saying that we cannot programmatically close textDocuments.
I came across a hack using workbench and vscode.command.executeCommand, mentioned in #15178.
This seems more over-reaching than for our use-case (remove temp files from editor tab on window close).
Is there a way to dispose these resources nicely (on top of merely deleting the files in the dispose method) so that VSCode has a smoother experience?

VSCode Version: <IP_ADDRESS>
OS Version: Windows 10 Creators Update

Steps to Reproduce:

Open a workspace
Create two files, save both of them.
While VSCode is open, reveal each of them on Finder/Explorer/Nautilus
Delete both these files.
Reload the VSCode instance.

Expected :
VSCode is aware of the files that are deleted, and does not prompt the user.
Actual :
Prompts the user about the temp files.

Reproduces without extensions: Yes/No

Is there a way to dispose these resources nicely

No, we do not allow to close/dispose resources.

At present, we use temporary files to show temporary json results.

This sound like a use-case for virtual documents for which you just provide the contents and which lifecycle is lighter. See https://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L1434

This sound like a use-case for virtual documents for which you just provide the contents and which lifecycle is lighter. See https://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L1434

Thanks for the suggestion! Unfortunately, we need to display editable documents (read-only would not suffice here).
Is there a way to view the set of editor tabs within a ViewColumn? I see #15178 asking about the same thing.
More Info -

The documents are read-write, link to code.
They are meant to be temporary

Sounds like a scratch-pad use case. Editable, volatile documents and editors... Needs some thinking... Until then I'd stick with the close-all-command

Would like to have this feature too. We will open some document from a debug session that dose not necessarily have files back them up on the local file system. After the debug session terminates, it does not make sense to display those files. It just cause more troubles leaving them there.
I want to be selectively close some of the tabs.

A while back we have added FileSystemProvider-APIs that allow to implement this.

@jrieken Following up on this - what's the right API to use to close a tab I created with executeCommand('vscode.previewHtml', uri, displayColumn)?
Code is here: https://github.com/bcherny/better-asciidoctor-vscode/blob/3d376d82525544b910fcd4c09b1904a3f1abddc0/src/AsciiDocProvider.ts#L86


About code AttributeError

Traceback (most recent call last):
File "D:/PythonProject/MIP DQN/MIP_DQN.py", line 423, in
args.env.seed(seed)
AttributeError: 'ESSEnv' object has no attribute 'seed'
Hello, how should I solve this problem?

I delete this line of code, in the new version env. there should be no seed in the environment. Now you can try again

Also, you problem should comes from this repo: /
[Optimal-Energy-System-Scheduling-Combining-Mixed-Integer-Programming-and-Deep-Reinforcement-Learning], but why you propose issue in another repo? please star the repo if you are using it

Ok, thank you. I'll star the repo.

Ok, thank you. I'll star the repo.

sir, what's your result? Is that good?


Feature Request : Ribbon Button

A Ribbon Button that pushes notes to Kindle.

Yeah good Idea.
Now you can activate the Button in the Settings.
Greetings,
Simeon


[WIP] Feature/public notes

This pull request address issues #102 and #103 by:

Addingnotes and public notes field to DigitizedWork
Adding both fields to the admin interface and making them searchable
Indexing public_notes in solr and unit testing that behavior
Adding a public facing notes field to the work detail view with unit tests to confirm it appear as expected.

Codecov Report

Merging #113 into develop will decrease coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #113      +/-   ##
===========================================
- Coverage    98.86%   98.83%   -0.03%
===========================================
  Files           48       49       +1
  Lines         2643     2757     +114
===========================================
+ Hits          2613     2725     +112
- Misses          30       32       +2

Impacted Files
Coverage Δ

ppa/archive/solr.py
99.22% <ø> (-0.78%)
:arrow_down:

ppa/archive/admin.py
100% <ø> (ø)
:arrow_up:

ppa/archive/models.py
100% <100%> (ø)
:arrow_up:

ppa/archive/tests/test_views.py
100% <100%> (ø)
:arrow_up:

ppa/archive/migrations/0005_add_notes_fields.py
100% <100%> (ø)

ppa/archive/tests/test_models.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Updates look good to me, going to merge. Please also update the testing notes with the adjustments we made (included in CSV, admin search on both (?), frontend search on public notes).


png image contains source code as image on windows

This happens when the <?xml version="1.0" encoding="utf-8"?> is missing.
It's somewhat related to https://github.com/filamentgroup/grunticon/issues/171 . However the source svg is already missing the xml tag because its generated by photoshop's Generator.
Not sure if this could be solved in grunticon or this is more an issue that photoshop has to resolve?

This is an issue with Windows outright. Without that line, it doesn't handle rendering the SVG correctly as a PNG.
Unfortunately this isn't something we can do anything about on our end.
I'll ask around to see if there are any options in Photoshop to make this not happen (I know Illustrator-created SVGs work wonderfully).

As far as I know there are no options. They removed it on purpose because some user's couldn't use it in a php include because of the  tag
https://github.com/adobe-photoshop/generator-assets/issues/191


Variable name changes

This issue is meant to track variable name changes that we'd like to make. Since changing variable names involves releasing a breaking version, which requires propagating through many packages, it makes sense to apply these changes in batches to avoid excessive work.
Here is a list of names we'd like to change:

microph_scaling  -> microph_scaling_evap

cc @trontrytel

Thank you @charleskawczynski
I was thinking the same thing. We should collect a bunch of breaking changes to Parameters and weigh in when the number is big enough to warrant the work to propagate the change throughout all the repos

https://docs.google.com/spreadsheets/d/1T3wXWv0tc6O4YuN-7OxMDtezV61RXcUO6DP-eOCXnUc/edit#gid=0
This is something we have already started here. Please add to the list where necessary

Sorry for replying late! @odunbar why a separate spread sheet and not a github issue?
Do you have a lot of the breaking changes parameters piled up there? I was hoping to change the above name and to merge https://github.com/CliMA/CLIMAParameters.jl/pull/88 and do a breaking release soon(ish). Do you have anything else that could be merged within a week that would results in a breaking change?

I guess as I've the link to this sheet elsewhere the privacy idea is somewhat out the window.
Last year we asked all the groups to contribute their parameters, units, naming conventions, descriptions to a shared sheet. For sharing and editing it was the most convenient format at the time. I do not think it is something we need to keep up-to-date, but should act more as an archive/or starting point for most parameters that are (likely) already in the ClimaParameters list. I expect as every parameter used to be called like T or kappa, that breaking changes will be frequent as naming conventions change to the more descriptive style.
Nothing should affect your current change.

I replaced microphysics SB2001 scheme by SB2006 which expands SB2001 by more equations. As a result, the parameters of SB2001 are now redundant. I'd like to remove the following list of parameters in the next breaking release:

kc_SB2001
kr_SB2001
xstar_SB2001
ν_SB2001
A_phi_au_SB2001
a_phi_au_SB2001
b_phi_au_SB2001
τ_0_phi_ac_SB2001
c_phi_ac_SB2001

I would like to change entr_tau to entr_inv_tau and detr_tau to detr_inv_tau

Thank you!


regarding "window.open"

Category

[x] Question
[ ] Typo
[ ] Additional article idea
[] Checked items have no spaces between the [] (delete this line)

Question
When I try to use SPFX to do some customization for my document library. I created a ListView Command Set extension for set listitem permission. the simple scenario is when user select a listitem or document, he/ she could click the "Set item permissions" on the ECB menu and open a new window. my question is when we open the new window, my code is :

window.open(${this.context.pageContext.web.absoluteUrl}/_layouts/15/user.aspx?List=%7B${listId}%7D&obj=%7B${listId}%7D,${event.selectedRows[0].getValueByName('ID')},**LISTITEM**, '_blank');

and found out a parameter called "LISTITEM", whether or not we could change this parameter to others, or the parameter is fixed cannot be changed.??
Thanks
Environment details
Submission guidelines (delete this section before submitting)
Thanks for your contribution! Sharing is caring.

Hi,
You should call window.open in your onExecute function.
@override public onExecute(event: IListViewCommandSetExecuteEventParameters): void {   switch (event.itemId) {     case 'yourCOMMAND':       window.open(${this.context.pageContext.web.absoluteUrl}/_layouts/15/user.aspx?List=%7B${listId}%7D&obj=%7B${listId}%7D,${event.selectedRows[0].getValueByName('ID')},**LISTITEM**, '_blank');       break;         default:       throw new Error('Unknown command');   } }
The obj parameter used to check the object type which you want to set permission based on my researching so you should not change it.
For example:
For List item:
/_layouts/15/user.aspx?List={6D175EE3-5EC5-4981-9912-C30B4FE69BC7}&obj={6D175EE3-5EC5-4981-9912-C30B4FE69BC7},1,LISTITEM
For List:
/_layouts/15/user.aspx?obj={6D175EE3-5EC5-4981-9912-C30B4FE69BC7},list&List={6D175EE3-5EC5-4981-9912-C30B4FE69BC7}
Lee
Microsoft SharePoint Community Support

Hi,
You should call window.open in your onExecute function.
@override public onExecute(event: IListViewCommandSetExecuteEventParameters): void { switch (event.itemId) { case 'yourCOMMAND': window.open(${this.context.pageContext.web.absoluteUrl}/_layouts/15/user.aspx?List=%7B${listId}%7D&obj=%7B${listId}%7D,${event.selectedRows[0].getValueByName('ID')},**LISTITEM**, '_blank'); break; default: throw new Error('Unknown command'); } }
The obj parameter used to check the object type which you want to set permission based on my researching so you should not change it.
For example:
For List item:
/_layouts/15/user.aspx?List={6D175EE3-5EC5-4981-9912-C30B4FE69BC7}&obj={6D175EE3-5EC5-4981-9912-C30B4FE69BC7},1,LISTITEM
For List:
/_layouts/15/user.aspx?obj={6D175EE3-5EC5-4981-9912-C30B4FE69BC7},list&List={6D175EE3-5EC5-4981-9912-C30B4FE69BC7}
Lee Microsoft SharePoint Community Support

Hi Lee,
the "list" or "listitem" in the URL is fixed, we cannot change it. right??

Hi,
I checked the logic from SharePoint 2019, the value is type of enum used to check permission object type which you want to set, can't be change. I think it's same logic as SharePoint online.
Lee
Microsoft SharePoint Community Support

Hi,
I checked the logic from SharePoint 2019, the value is type of enum used to check permission object type which you want to set, can't be change. I think it's same logic as SharePoint online.
Lee Microsoft SharePoint Community Support

Hi Lee,
thanks, may I know where to find the documentation.??

Hi,
It's a application page which can't be customized for SharePoint online, and I didn't find official documentation to document so details for this.
Lee
Microsoft SharePoint Community Support


admob enhancement

in response to #101, #104

fixed some bugs related insert and remove at position x
not stable
will have another update soon

As still there are some inconsistency layout binding in the admobadapter I would suggest not to merge into the master until i issue another final fix. Meanwhile @cymcsg you can work on other things as they have not touched.

Thank you for your great work!


release on PyPI

currently I'm using my own fork: https://pypi.org/project/liccheck2/

Version 0.2.1 released. Thank you for your PRs!

Np
On Fri, 4 May 2018, 21:00 Olivier Chédru<EMAIL_ADDRESS>wrote:

Version 0.2.1 released. Thank you for your PRs!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dhatim/python-license-check/issues/10#issuecomment-386717241,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZQTBZzYCGp0gTdWqxQ2vMAvtJhBqXNks5tvLNKgaJpZM4Tf0ba
.


Created separate task to create a fat jar

Updated install script
Updated minimesos script

Duplicate of https://github.com/ContainerSolutions/mini-mesos/pull/87


Create example on how to create a custom y-websocket persistence module

If possible, try to show how to store the document in a MySQL database

Hey @dmonad.  I got this working with Prosemirror via TipTap, y-websocket and Postgres.  Just looking to find the best way to randomly save the doc.  Seems bindState only runs on first connect and writeState runs when everyone connected to the doc disconnects.  Maybe just a simple timer?  Would bindState be the proper place for this?

@vwall are you willing to share how you managed to do it/your solution?

I would also love a better example on the y-websocket and persistence. It feels like the client-side is super simple but the server is not. The websocket repo has an example (https://github.com/yjs/y-websocket) but I don't think using npx is really the way to go for a node/express backend for example.
What would best practices be for saving documents, in a stripped down but complete client + server example?

Hi @StefKors , I realize that the documentation and the example sections are pretty poor. It's getting pretty hard to keep the examples up to date and include helpful resources.
I'm currently working on a new documentation site that explains more internals so the backend examples make more sense. Because when you implement your own database adapter, you need to partially understand the complexity that you are dealing with. I don't want to lose any data because of a poor backend implementation. There have been various discussions about different approaches on how to store the document to a database.
The easiest approach is to store the Yjs document in some database (e.g. MySQL, postgres, but better yet a fast NoSQL database).
You can define your own persistence in y-websocket server:

setPersistence({
  bindState: async (roomName,ydoc) => {
    // this is where you initialize the ydoc
    const initialContent = await getServerContent(roomName) // retrieve the original Yjs doc here
    if (initalContent) {
      Y.applyUpdate(initialContent)
    }
  },
  writeState:(roomName,ydoc) => {
    // This is where you store the Yjs document to your database. This is called when all clients disconnect
    await saveContent(roomName, Y.encodeDocumentAsUpdate(ydoc))
    // optionally store the text data / rich text data to your database
    await saveText(roomName, ydoc.getText('').toString())
  }
})

If you are wondering why to store the Yjs document in the database, then have a look at the various discussions around this topic. I'm  not saying that this is the only solution. But in my opinion the cleanest.

Thanks for the quick response @dmonad. Awesome to hear that it's still developing. If YJS keeps improving I can imagine keeping the demos and examples up to date it's quite the task.
My preference is MongoDB but just like the examples in this repo, they are a lot of different options there. I understand there is some complexity involved, however this writeState snippet looks super simple. thanks @dmonad
From reading through the client-side examples I was expecting a websever/persistence example would be as simple as npm i yjs and this on the node-server (admittedly this probably omits a bunch of important functionality that should be handled and I just don't understand yet):
// pseudo code based on your snippet
import * as Y from 'yjs'
import { WebsocketProvider } from 'yjs/provider/websocket.js'

const wsProvider = new WebsocketProvider('ws://localhost:1234').setPersistence({
  bindState: async (roomName,ydoc) => {
    // this is where you initialize the ydoc
    const initialContent = await getServerContent(roomName) // retrieve the original Yjs doc here
    if (initalContent) {
      Y.applyUpdate(initialContent)
    }
  },
  writeState:(roomName,ydoc) => {
    // This is where you store the Yjs document to your database. This is called when all clients disconnect
    await saveContent(roomName, Y.encodeDocumentAsUpdate(ydoc))
    // optionally store the text data / rich text data to your database
    await saveText(roomName, ydoc.getText('').toString())
  }
})

or something like:
// pseudo code
import * as Y from 'yjs'
import { WebsocketProvider } from 'yjs/provider/websocket.js'

const wsProvider = new WebsocketProvider('ws://localhost:1234')

wsProvider.on('status', event => {
  console.log(event.status) // logs "connected" or "disconnected"
})

// On client new connection
wsProvider.on('connect', (roomName) => {
  // Find document in the DB and return it
  return await Documents.find({ name: roomName })
});

// On websocket event named "writeState"
wsProvider.on('writeState', (roomName, ydoc) => {

  // Upsert the data into the database Documents collection
  await Documents.findOneAndUpdate({name: roomName }, Y.encodeDocumentAsUpdate(ydoc))
});

Is this something that's already possible and does this fit with how yjs should work?

Note: I'm also just learning and reading more and more about yjs so if I'm asking things that are coming in updated docs or examples I'm happy to wait!

Eventually, I'd like to provide an extensible y-websocket server alternative. The current y-websocket server is by design very minimal. Because it only consists of a few hundred lines of code, it is easy to add new functionality. The protocol (in y-protocols) is stable and will allow you to keep compatibility with future upgrades. Writing a generic, scalable server that works for everyone and is extensible is quite a task. There is an alternative that you could look into: https://www.hocuspocus.dev/
If your company is building a product that would like to have such a server, please PM me. I'm currently assembling funding to make that happen.


Optimize apiserver interactions for health check

The status checker was triggering a version call to the apiserver every 5 seconds. Optimize this using the following approach:

Use a cluster size dependent interval
Increase the interval while failing to ensure fast recovery
Consider the timestamp of the last event received to avoid unnecessary calls to the apiserver
Enforce an interval in which version checks are performed to ensure that we catch apiserver ugprades

This change is

test-me-please

Coverage decreased (-0.04%) to 43.214% when pulling b64d57c3de64f9cb682da5d91a5f3d76d1804afa on pr/tgraf/optimize-k8s-status-check into 82ddb0c91c055db4796cbec96d9cac50595576c2 on master.

test-me-please

test-me-please

Hit #7128. Very likely unrelated to this PR, debugging but doing another run as well.

test-me-please

 k8s-1.9.K8sFQDNTest Restart Cilium validate that FQDN is still working

test-me-please

test-me-please

runtime.RuntimeFQDNPolicies Roundrobin DNS

test-me-please

k8s-1.13.K8sFQDNTest Restart Cilium validate that FQDN is still working

test-me-please

 runtime.RuntimeFQDNPolicies Roundrobin DNS

test-me-please

Hit  #7128, rebasing to get #7322 fix

test-me-please


Occasional crash when splitting to a new pane

I ran into an occasional crash on Windows when I split to a new pane. It can happen in various situations and I have not figured out what is in common yet. It is not restricted to a specific file. It happens like 2-3 time per 3-4 hours of use. So it's not very easy to reproduce.

I'm having this problem quite often on Linux and it's making it quite annoying to use binja.
I very briefly looked at the coredump and it seems that it's crashing in libQt6Gui.so.

This issue should be resolved as of build 3862. If it is not resolved, please let us know.