typescript errors: Duplicate identifier...

Hello, after installing skeleton-typescript-asp.net5 project and tsc i have errors
tsc is version 1.8.7
i have try jspm clean but not helps
Thanks
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(3749,11): error TS2300: Duplicate identifier 'FileDetector'.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(3790,11): error TS2300: Duplicate identifier 'WebDriver'.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(4279,9): error TS2300: Duplicate identifier 'ELEMENT'.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(4629,11): error TS2300: Duplicate identifier 'WebElement'.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(4970,11): error TS2300: Duplicate identifier 'WebElementPromise'.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(5200,14): error TS2300: Duplicate identifier 'Hash'.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(5214,11): error TS2300: Duplicate identifier 'Locator'.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(5270,11): error TS2300: Duplicate identifier 'Session'.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(5378,5): error TS2300: Duplicate identifier 'export='.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(5382,5): error TS2300: Duplicate identifier 'export='.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(5386,5): error TS2300: Duplicate identifier 'export='.
typings/browser/ambient/selenium-webdriver/selenium-webdriver.d.ts(5390,5): error TS2300: Duplicate identifier 'export='.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(3749,11): error TS2300: Duplicate identifier 'FileDetector'.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(3790,11): error TS2300: Duplicate identifier 'WebDriver'.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(4279,9): error TS2300: Duplicate identifier 'ELEMENT'.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(4629,11): error TS2300: Duplicate identifier 'WebElement'.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(4970,11): error TS2300: Duplicate identifier 'WebElementPromise'.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(5200,14): error TS2300: Duplicate identifier 'Hash'.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(5214,11): error TS2300: Duplicate identifier 'Locator'.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(5270,11): error TS2300: Duplicate identifier 'Session'.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(5378,5): error TS2300: Duplicate identifier 'export='.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(5382,5): error TS2300: Duplicate identifier 'export='.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(5386,5): error TS2300: Duplicate identifier 'export='.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(5390,5): error TS2300: Duplicate identifier 'export='.
typings/main/ambient/selenium-webdriver/selenium-webdriver.d.ts(5394,5): error TS2300: Duplicate identifier 'export='.

I've just tried building a new project from the repo as well. I had about 1658 of these errors. I've never used TypeScript before, so excuse me as I detail my ignorant workaround.
When building with Gulp build task everything works fine, and I can browse the site without issue. However, the errors are raised when building the solution with Visual Studio.
I've found the issue seems to arise because Visual Studio is attempting to build both these folders:
typings/browser/ambient
typings/browser/main
These folders seem to hold the same .TS files, which is why the duplicates arise. Looking at the .tsconfig.json file, it seems perhaps only the first folder is meant to be compiled:
 "filesGlob": [     "./src/**/*.ts",     "./test/**/*.ts",     "./typings/browser.d.ts",     "./custom_typings/**/*.d.ts",     "./wwwroot/jspm_packages/**/*.d.ts"   ]
The "./typings/browser.d.ts" file just references all the .TS files under the typings/browser/ambient folder.
I've temporarily worked around this issue by configuring the .tsconfig.json exclude section to look like this:
 "exclude": [     "node_modules",     "typings/main"   ]
Now the solution builds for me with 0 errors.

Does someone know how to implement a permanent fix to this issue?

There have recently been changes in the TypeScript ecosystem around how all this is set up. It was working prior to these recent changes. We're working on fixing up the kits still.

@PWKad or @cmichaelgraham Could you guys look into this? It appears that the skeletons have issues with the new TS setup.

You need to have your tsconfig.json only pointing to one single built file like this - https://github.com/aurelia/skeleton-navigation/blob/master/skeleton-typescript-asp.net5/src/skeleton-navigation-typescript-vs/tsconfig.json#L20

That's how it's setup now, but for some reason it seems VS 2015 still tries to build the whole folder :/

I'll look at it again but I don't see why this would be an issue up front.

I got this error as well using Aurelia Typescript in PyCharm. To remove the errors you need to add "typings/main" to the exclusions. According this post, Typescript Definitions "filesGlob" is supported by some editors but won't be supported by the TypeScript compiler until version 2 is released. So I believe it just helps with references and intellisense at the moment and not transpiling. When transpiling it will look at all files except for those that have been excluded.
The Atom TypeScript page also mentions that you shouldn't use both filesGlob and exclude at the same time.
I haven't given this a try yet but removing "exclude" and adding {"!node_modules/**", "!typings/main"} to filesGlob might also fix the issue.
This is my understanding. I am fairly new to TypeScript so please let me know if I am not correct.

@PWKad I just went through and tested the templates for SideWaffle and am seeing this now as well. By using this:
  "filesGlob": [
    "./src/**/*.ts",
    "./test/**/*.ts",
    "./typings/browser.d.ts",
    "./custom_typings/**/*.d.ts",
    "./wwwroot/jspm_packages/**/*.d.ts"
  ],
  "exclude": [
    "node_modules",
    "typings/main"
  ],

I was able to drop the errors down to just 8. The remaining 8 errors are things like Build: Cannot find module 'aurelia-router'

Ok so I reset my fork and undid any changes that I had previously made. Not sure how I missed it but @PWKad pointed out to me that there were specific instructions for getting the TypeScript ASP.NET 5 template to work. If you've missed them as well you can find them here.
Pretty much if you follow the steps one at a time via command line the app works. What's interesting is that I've got the project loaded in Chrome and it's working fine yet at the same time I've also got 1656 errors in Visual Studio. So I'm not sure why Visual Studio isn't seeing everything the same way.
I'll keep working on it and will post back here when I know more.

I was able to get this working yesterday by using adding "typings/main" to the exclude property as shown above and by also creating a gulp task that runs jspm install when the project is built.
@EisenbergEffect as you know I'm still pretty new to both Aurelia and TypeScript. Can you tell me if adding typings/main to the exclude list of the tsconfig/json will cause problems with other parts of Aurelia?
I'd also like to point out that by using a gulp task for the jspm install you can set it up in Visual Studio so that it's run automically when you build the project. Is this something that you would be ok with accepting?

@RandomlyKnighted We would definitely find that acceptable to provide a smooth build. I'm not sure about the typings/main @PWKad Do you know anything about that?


add Containerfile for mcad mnist test

Added Containerfile used to build image for testing MCAD job submission functionality.
Depends on mnist.py in #31

cc @jbusche

Well, shoot @MichaelClifford - this has been tough on two fronts - one is the base torchx image is so big, and the other is apparently I can't built it properly - no matter what Dockerfile I use, when I try to utilize it I get Environment variable 'TORCHELASTIC_ENABLE_FILE_TIMER' not found. Do not start FileTimerServer.
I suspect there's some trick to building the image with the right env items.
My image, if I could succeed in running it, WOULD potentially be better though - it closes two compliance issues and seven vulnerabilities.  (It doesn't improve anything if I use the latest torchx 0.6.0dev0 build)
Before:
 |  | complianceFailureSummary | C:0/H:2/M:0/L:0/T:2
 |  | vulnerabilityFailureSummary | C:3/H:11/M:9/L:1/T:24
After:
 |  | complianceFailureSummary | C:0/H:0/M:0/L:0/T:0
 |  | vulnerabilityFailureSummary | C:3/H:10/M:3/L:1/T:17

Thanks @jbusche I'll make these changes and see if I can build it

@jbusche haven't had a chance to get your image updates to run correctly. Should we move forward with the current containerfile and image for now? Can we merge this PR?


Better instructions for installation

We need to have a section for tutorial on how to use the program that gives clear examples.
We need to have a section for installation that shows how to properly download and use the program.

Implemented


RAM usage continually grows when running Zarr creation script

Describe the bug
The Zarr creation script slowly uses more and more RAM over time, resulting in OOM errors eventually, and crashing.
To Reproduce
Steps to reproduce the behavior:

Run the Zarr script
See error

Expected behavior
RAM usage stays the same once it starts running
Additional context
Add any other context about the problem here.

Actually, I am almost certain its just because with too many threads, the DataArrays are just piling up as the main thread can't write to disk fast enough. So either reducing the number of threads seems to work in keeping RAM usage just about the same. Or chunking the data, running it and then waiting for the main thread to write to the Zarr before continuing

Seems like the best option should just be make a large dummy dataset originally and then fill it in using the regions, so then every process can write to the Zarr. Once the Zarr is created though, then just append, otherwise the whole dataset has to be rewritten I think. Docs here: http://xarray.pydata.org/en/stable/user-guide/io.html#zarr

Chunking the data seems to somewhat work though, RAM usage is staying between 20 and 30GB, fills up, and then falls as its written to disk, before starting again, and with 16 threads, so where it usually ran out of RAM quickly before

Seems to work now


2.5.1

Pull Request Etiquette
There are several guidelines you should follow in order for your Pull Request to be merged.
Replace [ ] with [x] to cross the checkbox.

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

It is sometimes better to include more changes in a single commit.
If you find yourself having an overwhelming amount of commits, you
can rebase your branch.

Changes
Rewrite of item collection to solve bugs

Were the contents of the list returned by getItems() tested?

I did basic testing to make sure it worked and will do more once I update the missing items messages.

What do you think of adding a Guava Cache for items in DataStorage, they would save normally but we would lower the amount of disk reads we do. Also since they aren't read as ofen or quick as the Hoppers the Caches can max at like 100 and expireAfterAccess at 1-5min?

got bored so I implemented anyways... Going to push to a separate branch so you can review and decide if we should add in or not. See #125 and leave further discussion/review there.
Below is my basic testing for it
The Red lines are the Approximate start/end of the tests
Trade Testing
Test involves entering server, trading 5 times then returning the items for each of 10 self owned shops, then screenshot.
Current 2.5.1 Branch:

With new Caching Code:

Hopper Testing
Test involves entering world and waiting for mspT(ms per Tick) to stabilize then teleporting to my hopper testing area with 80k hoppers and again waiting for mspT to stabilize. This will test if checking for shops from the storage is faster with the linkage caching.
Current 2.5.1 Branch:
Pre-Teleport Avg mspT: ~3.3ms
Post-Teleport Avg mspT: ~78ms
Post-Teleport Peak mspT: ~150ms
Return Avg mspT: ~2.8ms
Post Test Screenshot:
Forgot to hover for peak and looks like it just GC'd, peaks looks to be around 4000mb

Post Return Screenshot:

With new Caching Code:
Pre-Teleport Avg mspT: ~3.1ms
Post-Teleport Avg mspT: ~ms
Post-Teleport Peak mspT: ~500ms+
Return Avg mspT: ~ms
Ended before full Peak was reached.
This probably should've been obvious since caching only helps re-accessing the items and the hoppers would have to each read from disk to check since they wouldn't be in the cache. Only option I see around this is keeping all the linkage data in memory(would have to check each world folder for linkage data on startup and load them all into memory which i'm not a fan of since it wouldn't get cleaned out of memory.


docs: [RFC] Add v1beta1 API RFC

Fixes #N/A
Description

Propose the v1beta1 APIs and full Change List into the design directory

How was this change tested?
Does this change impact docs?

[] Yes, PR includes docs updates
[] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Great work! I had some time to think, this isn't necessarily a strong opinion but I think there is some value in considering. I don't know what the timeline looks like and maybe what I am thinking doesn't make sense at v1beta1 however I think there is an opportunity to drive some usability improvement since there is going to be significant work in changing the custom resources.
I wanted to see we can take some inspiration from https://gateway-api.sigs.k8s.io/ which is somewhat new and have been through quite a bit of changes in its overall design. Specifically the way it carved out custom resources that is able to abstract discrete configuration depending on who is using it. I think this way of thinking can yield quite a bit of insight into how to structure custom resources so that Cluster operators can easily provide application developers the appropriate level of control.
Starting with NodePool. I think it has a lot of abstraction leaks between App dev vs Cluster Operator. Ideally App devs can specify their pods -> node, maybe some taints and label for their nodes (pretty much all the parameters in spec). However App dev shouldn't be able to specify kubelet configurations since this is usually managed by cluster operator. I think if possible this can be carved out to something like NodeProvider which are associated to NodePool. Similar to HTTPRoutes to Gateway in GatewayAPI. I think this would significantly improve the flexibility of how Cluster operators manage Provisioners/ NodePool.
I don't think there is much suggestion for NodeClass but I think something nice would be "version" similar to LaunchTemplate version. This allows Cluster Operators to rollout and back nodes with specific changes safely and have the necessary controls when managing many NodeClasses. Ideally each NodeClasses version should be immutable.
Thanks

I think something nice would be "version" similar to LaunchTemplate version. This allows Cluster Operators to rollout and rollback changes to nodes safely and have the necessary controls when managing many NodeClasses. Ideally each NodeClasses version should be immutable. Right now it is difficult to expand on NodeClass for nodes outside of AWS. It may be valuable to split NodeClasses, I don't have a good name, such that we have something that is at the cloud provider level and one that just defines nodes specification specific to a cloud provider. (Similar to gatewayclass and gateway in Gateway API). The Cloud provider layer resource defines the controller for creating nodes for that cloud provider and the nodeclass themselves work in the context of each cloud provider.

I'm still thinking on the other comment that you made around the Gateway API, but, for this one, the idea was that the NodeClass is the cloudprovider extensibility mechanism; it's effectively the interface to define how Karpenter can actually bring up a Node in a given Cloudprovider. If another Cloudprovider came along and wanted to support Karpenter, I would expect that they would create their own NodeClass and this NodeClass would define its own interface with how to launch Nodes in that Cloudprovider.
Generally, we wanted to avoid creating too many disparate concepts that have to be individually reasoned about (i.e. more API kinds). We effectively have taken the stance that if something is common enough that it should be useful to all cloudproviders, then it should be hoisted up into the NodePool; otherwise, it belongs within the cloudprovider-specific NodeClass.
Is there a specific use-case that you have in mind where you think splitting out the details of the NodeClass could be useful beyond hoisting common cross-cloudprovider values into the NodePool?


Implement changes to get alarms

In this PR,

Implemented changes to GetAlarms and GetSingleAlarm.
Updated MetasysServicesComExampleApp and MetasysServicesExampleApp to get response.
Did some refactor to code and yet to refactor.
Get Alarms For A Network Device and Get Alarms For An Object is in progress with another PR.
Need to remove the reference for Basic service from com service.

@buldrinie Implemented review comments. Please review/merge.


[network/ebpf] get sock fd from new syscall connect/accept (kernel >= 5.5.0)

What does this PR do?
This fixing the behavior where on kernel 5.5.0 if (wget/openssl or other client) call only socket/connect/read/write our tracer will not see the call to sockfd_lookup_light as it's not been called by connect or accept syscall anymore
Describe how to test/QA your changes
system_probe_config:
  log_level: debug
  enable_runtime_compiler: false
network_config:
  enable_http_monitoring: true
  enable_https_monitoring: true

run system-probe on ubuntu 21.10
wget https://httpbin.org/anything/foo/200
sudo curl -s --unix-socket /opt/datadog-agent/run/sysprobe.sock http://unix/connections | tee cnx | jq '.conns[].tags , .tags'
You should see openssl tags : tls.library:openssl
sudo curl -s --unix-socket /opt/datadog-agent/run/sysprobe.sock http://unix/debug/http_monitoring

run the test with enable_runtime_compiler: true as well
note: double check with strace that wget will call only socket() connect() read/write() ; and not calling set/getsockopt()
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] The appropriate team/.. label has been applied, if known.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[x] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

Closing because we work around this by hooking SSL_do_handshake()
https://github.com/DataDog/datadog-agent/pull/12078


Error while

Type: Bug
Type: Bug
When click on Extensions (Ctrl+Shift+X) The extension is unable to load new extension
It shows Error while fetching extensions.XHR failed.
i already updated my vs code. I already uninstalled and then installed vs code. I have tried everything.
VS Code version: Code - Insiders 1.91.1
OS version: Windows_NT x64
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.22631
Modes:

Hi @Kvr0th3c4t
Thanks for reaching out. If you're using a VPN client or some local firewall, please turn these off and retry. If the error is still persisting, it will help us to investigate, if you can share the network log (command: Developer: Open Logs Folder).
Regards,
VS Marketplace Team

Hi!
I dont have any VPN client and even with my local FW disabled I still have some errors. I managed avoid the XHR error and search for extensions but I cant install them cause I have another error. Ill put the console output over here:
024-07-19 14:33:40.734 [error] Unable to read file 'c:\Users\Adria.vscode\extensions\aaron-bond.better-comments-3.0.2\package.json' (Error: Unable to resolve nonexistent file 'c:\Users\Adria.vscode\extensions\aaron-bond.better-comments-3.0.2\package.json'): Error: Unable to read file 'c:\Users\Adria.vscode\extensions\aaron-bond.better-comments-3.0.2\package.json' (Error: Unable to resolve nonexistent file 'c:\Users\Adria.vscode\extensions\aaron-bond.better-comments-3.0.2\package.json')
at s.F (c:\Users\Adria\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:59:18294)
at s.D (c:\Users\Adria\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:59:18089)
at async s.C (c:\Users\Adria\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:59:17401)
at async u.updateMetadata (c:\Users\Adria\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:105:89479)
at async z.extractUserExtension (c:\Users\Adria\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:105:122028)
at async V.pb (c:\Users\Adria\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:105:116461)
Regards,
Kvr0th3c4t!

This issue fixed, are you still facing the issue?
Regards,
VS Marketplace Team


A RenderFlex overflowed by 265 pixels on the bottom.

The screen is coming up good in the higher end mobiles, but going to the MotoE4 the screen is not rendering the whole screen.
The error doesn't pop up when the soft keyboard is opended becasue of the singlechildscrollview, but the error is shown when the screen pops up.

Hey! Niroop assign me this work i can fix it in one day.

@NiroopNife Can I work on this one?


Added "Half-Rombes" pattern

Merged, thanks!

Now live at http://lea.verou.me/css3patterns/#half-rombes

go me. I'm practically Linus Torvalds, me. 'Scuse me while I compile my kernal.
Thanks Lea. xxx

Umm Bruce, I think you commented on the wrong pull request :P

gah, I knew my l33t g1thub skillz wouldn't last!


Update api sha to release0.8 latest.

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

Needs approval from an approver in each of these files:

OWNERS

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-pilot-e2e-envoyv2-v1alpha3

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

/test istio-unit-tests

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-pilot-e2e

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test e2e-bookInfo

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test e2e-bookInfo

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
2c3f49b2ac6b3ae8bb31edfe2c0c1019f3aaca88
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
2c3f49b2ac6b3ae8bb31edfe2c0c1019f3aaca88
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
32b669d0095b6f2b327fdb29106ae6d73fa7658a
link
/test e2e-bookInfo

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
2c3f49b2ac6b3ae8bb31edfe2c0c1019f3aaca88
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
2c3f49b2ac6b3ae8bb31edfe2c0c1019f3aaca88
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
2c3f49b2ac6b3ae8bb31edfe2c0c1019f3aaca88
link
/test istio-pilot-e2e

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test istio-pilot-e2e

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test istio-pilot-e2e

prow/istio-unit-tests.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-unit-tests

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test istio-pilot-e2e

prow/istio-unit-tests.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-pilot-e2e-envoyv2-v1alpha3

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
52bb44077a164aab26ee61472951b44e7c671d4c
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-unit-tests.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-pilot-e2e

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests-v1alpha3.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests-v1alpha3.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e-envoyv2-v1alpha3

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
c8dea43e4ddf0f58922eff4da5443a0832229312
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo

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

/test e2e-bookInfo

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo

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

/test e2e-bookInfo

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo

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

@qiwzhang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests-v1alpha3.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
b8423d75fbf3cb0cf96baf964a9e37b4bf3b0c78
link
/test e2e-bookInfo

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
8c9ef47e4aea2f63f7f8bd2991fa37f38dfeec82
link
/test istio-pilot-e2e-envoyv2-v1alpha3

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

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

Needs approval from an approver in each of these files:

OWNERS

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

/test e2e-bookInfo


Upmerge 2021 07 26

@mbolivar-nordic Do you know what is the problem with compliance?

IsADirectoryError: [Errno 21] Is a directory: '/home/work/bootloader/mcuboot/ext/cddl-gen'

No clue

I can reproduce locally; investigating

I can reproduce locally; investigating

I rebooted and lost the Python command to reproduce from my shell history, and now I can't log in to CI for some reason. So now I'm blocked until that's resolved unless someone can PM me the CI compliance command from the console output.

@mbolivar-nordic Do you know what is the problem with compliance?

https://github.com/zephyrproject-rtos/zephyr/pull/37451 should fix it

Can https://github.com/mcu-tools/mcuboot/commit/e933e586ec179789d98d10821226533586577460 be included in the up-merge.

Can mcu-tools/mcuboot@e933e58 be included in the up-merge.

I need @nvlsianpu to approve that at this point. We are several weeks in and I'm trying to slow down new patches unless they fix an issue with the current upmerge.

I'm ok with adding https://github.com/mcu-tools/mcuboot/commit/e933e586ec179789d98d10821226533586577460 here

^^
https://github.com/mcu-tools/mcuboot/pull/1105 is fix for that.

I'm ok with adding mcu-tools/mcuboot@e933e58 here

Added and restarted cI.

I had to force push this. See https://github.com/nrfconnect/sdk-nrf/pull/5068#issuecomment-902761237 for details.


change MEN and WOMEN labels to More Men [up arrow] and More Women [down arrow]

GitHub Selfies


Make the example work

I tried the Rails Integration guide and found that it does not work. I managed to make it work on my side, and the changes I made were like this. I hope this is what you actually intended.
Types of Changes

Bug fix. (of the documentation)

Contribution

[x] I agree to the Developer's Certificate of Origin 1.1.

Thanks yes this looks good to me!


Bootgrid pagination and search not working

I am trying to get data from json using bootgrid, the data can be display to grid, but its pagination and search are not working. I tried to debug, but no error was displayed.
$(document).ready(function(){
$("#grid-command-buttons").bootgrid(
{
ajax: true,
url: "/newspider/test.do",
});
})
In servlet , I use out.print(jsonObject)  to html,could you tell me why not working?

Obvious question but have you checked this with fiddler to make sure your ajax requests are working and correct?

I have been having the same problem for the last 2 days. I have been troubleshooting. This is what I have observed so far. As you type on in the search box, BootGrig does create the Ajax request and sends it to the server. Dumping the request at the server-side shows that the request is pretty much empty.
In the examples provided on the web site, it is said that the POST body looks like:current=1&rowCount=10&sort[sender]=asc&searchPhrase=&id=b0df282a-0d67-40e5-8558-c9e93b7befed.
But, nothing shows up on the server side for me.
Thanks

have you got anything displayed in the grid before you type into the search box?

You could post more of your code here or, better still, create it in jsfiddle and we can see what you're doing.

In my case, yes. When the page first loads, I get the list I expect. After that, As I type in the search box, I see the table is clearly refreshing as the server returns data. But the data is always the same because no searchPhrase is sent in the POST request. I have confirmed that by dumping the request data on the server side.
Thanks.

The GitHub editor renders the html code when I type it. So, here's a screenshot of the html.

I just found the source of my problem. The route definition (URL) was ambiguous (it collided with another route) that seems to cause the problem. I have redefined the URL and everything works well now. Thanks guys.

I've tried to redefined the URL,but it  still didn't work.
this is my servlet
`package servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import com.dao.UserMapper;
import com.model.ResumeShow;
public class AjaxServlet extends HttpServlet {
private static final long serialVersionUID =<PHONE_NUMBER>737158373L;
public AjaxServlet() {
super();
}
public void destroy() {
super.destroy(); // Just puts "destroy" string in log
// Put your code here
}
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doPost(request, response);
}
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
request.setCharacterEncoding("utf-8"); // 设置编码
response.setCharacterEncoding("utf-8");
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
SqlSession sqlSession = getSessionFactory().openSession();
UserMapper userMapper = sqlSession.getMapper(UserMapper.class);
JSONObject jsonObject = new JSONObject();
//	jsonObject.put("page", "1");                // 当前页
//	jsonObject.put("total", "1");        // 总页数
// 总记录数
jsonObject.put("current", 1);
jsonObject.put("rowCount", 10);
JSONArray rows = new JSONArray();
List si = userMapper.selectRShow();
int cont=si.size();
int cnt=1;
//		jsonObject.put("records", cont);
for (ResumeShow resumeShow : si) {
JSONObject cell = new JSONObject();
cell.put("id", cnt++);
cell.put("seeker_name", resumeShow.getSeeker_name());
cell.put("sex", resumeShow.getSex());
cell.put("age", resumeShow.getAge());
cell.put("residence", resumeShow.getResidence());
cell.put("education", resumeShow.getEducation());
cell.put("profession", resumeShow.getProfession());
cell.put("school", resumeShow.getSchool());
cell.put("expect_salary", resumeShow.getExpect_salary());
cell.put("work_place", resumeShow.getWork_place());
cell.put("last_company", resumeShow.getLast_company());
cell.put("position_name", resumeShow.getPosition_name());
cell.put("last_period", resumeShow.getLast_period());
cell.put("workYears", resumeShow.getWorkYears());
cell.put("household_registration", resumeShow.getHousehold_registration());
cell.put("job_category", resumeShow.getJob_category());
rows.add(cell);
}
jsonObject.put("rows", rows);
jsonObject.put("total", cont);
out.print(jsonObject);
}
private static SqlSessionFactory getSessionFactory() {
SqlSessionFactory sessionFactory = null;
String resource = "configuration.xml";
try {
sessionFactory = new SqlSessionFactoryBuilder().build(Resources.getResourceAsReader(resource));
} catch (IOException e) {
e.printStackTrace();
}
return sessionFactory;
}
public void init() throws ServletException {
// Put your code here
}
}`
this is my json
{"current":1, "rowCount":10, "rows":[ {"id":1, "seeker_name":"姜波 ", "sex":" 男","age":"22", "residence":"石嘴山", "education":"本科", "profession":"安全工程", "school":"宁夏理工学院", "expect_salary":"面议", "work_place":"昆山", "last_company":"", "position_name":"气化工程师", "last_period":"应届生简历/无工作经验", "workYears":"应届毕业生"}, ... ],"total":15}
and this is my html

ID
seeker_name
sex
age
residence
education
profession
school
expect_salary
work_place
last_company
position_name
last_period
workYears
household_registration
job_category

<script>
$(document).ready(function(){
	$("#grid-command-buttons").bootgrid(
	{
        	ajax: true,
        	url: "bootgird.do",

		});
})
</script>

I've found that it's Fifteen rows in json,but my rowCount is 10 rows, and it should be 10 rows,who can tell me why?

What's this value? int cont=si.size();

@infopete I've solved this problem， I think I lost a sql statement about pagination
Here is my new servlet
`request.setCharacterEncoding("utf-8"); // 设置编码
response.setCharacterEncoding("utf-8");
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
SqlSession sqlSession = getSessionFactory().openSession();
UserMapper userMapper = sqlSession.getMapper(UserMapper.class);
JSONObject jsonObject = new JSONObject();
String current = request.getParameter("current");
String rowCount = request.getParameter("rowCount");
int k = Integer.parseInt(current);
int n = Integer.parseInt(rowCount);
int m = (n-1)*k;
jsonObject.put("current", k);
jsonObject.put("rowCount",n);
JSONArray rows = new JSONArray();
Pagination pagination = new Pagination();
pagination.setM(m);
pagination.setN(n);
List si = userMapper.selectRShow(pagination);
int totalCount = userMapper.totalCount();
	for (ResumeShow resumeShow : si) {
		JSONObject cell = new JSONObject();
		cell.put("resume_id", resumeShow.getResume_id());
		cell.put("seeker_name", resumeShow.getSeeker_name());
		cell.put("sex", resumeShow.getSex());
		cell.put("age", resumeShow.getAge());
		cell.put("residence", resumeShow.getResidence());
		cell.put("education", resumeShow.getEducation());
		cell.put("profession", resumeShow.getProfession());
		cell.put("school", resumeShow.getSchool());
		cell.put("expect_salary", resumeShow.getExpect_salary());
		cell.put("work_place", resumeShow.getWork_place());
		cell.put("last_company", resumeShow.getLast_company());
		cell.put("position_name", resumeShow.getPosition_name());
		cell.put("last_period", resumeShow.getLast_period());
		cell.put("workYears", resumeShow.getWorkYears());
		cell.put("household_registration", resumeShow.getHousehold_registration());
		cell.put("job_category", resumeShow.getJob_category());
		rows.add(cell);
	}
	jsonObject.put("rows", rows);
	jsonObject.put("total", totalCount);
	out.print(jsonObject);`

thanks a lot !

@infopete thanks for helping @MarlonWilkes!

Hi,
Have you ever tried that stuff before? It's something gorgeous, just take a look http://xidufrope.internetdatingmonitor.com/xyxix
My Best<EMAIL_ADDRESS>

Dear!
Are you still lookinf for that stuff?  I think I've just seen someething you may like,  look http://vacragovi.carhandle.com/e4iovl
pete

Dear friend!
I just wanted to tell you  that we are  all ok, and we have some good news, read it here please http://pryslerdunge.creditmatter.com/e4ztxts
Yours truly, pete


[Enhancement] New Stats for attributes.yml

damage-type-damageType
-adding points in this would increase the amount of damage you do with this type of damage
-https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
attribute-attributeType
-adding points in this would increase another attribute)

Uh first two are the same and they already exist.
Third one is useless?

First one is meant to be from spigot damage causes, and the 2nd was a duplicate, my bad.


Can't scroll using touch on Linux

I'm using a Dell XPS 13" 2-in-1 (laptop with touchscreen) with Void Linux, and I'm unable to scroll editors using the touchscreen.
Tapping and tap-and-hold works to move cursor and open a context menu, but scrolling doesn't work in editors, sidebar tree/lists or the output panel. Scrolling does work in the terminal panel.
VS Code version: Code 1.22.2 (3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9, 2018-04-12T16:34:44.222Z)
OS version: Linux x64 4.15.12_1

Reopen this

reopen this

stil not working


zoom and position

Is it possible make eased effect to setPosition and setZoom togezer whith linear effect?

To ease position and zoom together you just need to call setPositionEased and setZoomEased with the same duration and the linear ease type at the same time.

I'll assume this is resolved. If you have more questions feel free to ask here or on gitter.


Add fix for runaway car on joystick disconnect

This fix adds a timeout for the joystick connection which publishes a default topic if no joystick message is received. This prevents the ackermann cmd mux from changing inputs to autonomy suddenly if the joystick connection fails.

Bumping this PR


Options for light

This adds the ability to pass command line options to light.exe
I found I needed this in order to build my app as part of a Jenkins pipeline which required the -sval option to be set.
I called the configuration parameter lightSwitches partly to fit in with the rest of the wix terminology, but I'm happy to change it to something clearer if you have any suggestions.

Coverage remained the same at 100.0% when pulling 18a43a9040b0483423b3846ad25f2b11782279dd on Qazzian:options-for-light into 4bfb0562240abb9c5e9d1e8157500c9940da3db2 on felixrieseberg:master.

Thank you, this is a good addition. I'll merge and release a new version!

Thanks


Spring templates are untested and probably broken

Currently the Makefile does not have a target for test-springboot. And the tests appear to still expect string reversal instead of a simple echo.
/kind bug

Hey @lance  see #959 and #970
That may interest too https://github.com/knative-sandbox/kn-plugin-func/runs/6025659288?check_suite_focus=true#step:8:1

@jrangelramos excellent point - but I still think we should have a test-springboot target in the makefile that is triggered from test-templates.  When making changes to the templates, it would be nice to be able to run make test-springboot to validate them without having to wait for a full e2e.

@lance thanks for doing this.. I will take care of this one


Oven temperature

Objective:
My oven is useless and rather warn out. To help me manage the temperature better I am going to replicate what I did for my BBQ thermometer and use max31855 sensor and probe to allow me to know the oven ambient temperature. If this works, I might also consider a second probe for cooking food too.
Ingredients:

ESP32
MAX31855
K-Type thermometer probe

I've just flashed the board and fitted it into the oven and routed the cable and ESP board into a nearby cupboard. I am testing it right now while I cook a roast. I think I will add a cooking timer and target temperature sensor so I can trigger a cooking timer automation

Target temperature notification

[ ] Create a target temperature entity using the input_number integration. This will allow a target temperature to be applied to the oven.
[ ] Create an automation to send a notification when the target is reached. This should trigger when using a template sensor when the target temperature is exceeded. The notification action could leverage persistent notifications or replace the previous notification sent to iOS.

Cooking alarm
Leverage the Alexa in the kitchen and the alexa_media custom_component which exposes timers running on Alexa.

Meater temperature probe integration
Any panels I create for my Meater probe #50 I should probably duplicate for the kitchen as I will use these to help measure food temperatures in the kitchen oven too.

Templating fun
I use the Developer Tools > Template tool to help me create an

if condition to notify me with a different message depending if the oven is under, at or over temperature.
temp: {{ states('sensor.esph_kitchen_oven_ambient_temperature') }}
target:  {{ states('input_number.kitchen_oven_target_temperature') }}
range: {{ states('input_number.kitchen_oven_target_temperature') | int - 10 }} - {{ states('input_number.kitchen_oven_target_temperature') | int + 10 }}

trigger if above target and target has been set (i.e not 0)
target temp: {{ states('input_number.kitchen_oven_target_temperature') | int > 1 }}

low (-10): {{ states('sensor.esph_kitchen_oven_ambient_temperature') | int < (states('input_number.kitchen_oven_target_temperature') | int - 10) and states('input_number.kitchen_oven_target_temperature') | int > 1 }}
high:(+10): {{ states('sensor.esph_kitchen_oven_ambient_temperature') | int > (states('input_number.kitchen_oven_target_temperature') | int + 10) and states('input_number.kitchen_oven_target_temperature') | int > 1 }}

{% if states('sensor.esph_kitchen_oven_ambient_temperature') | int < (states('input_number.kitchen_oven_target_temperature') | int - 10) %}
The oven is under temperature at {{ states('sensor.esph_kitchen_oven_ambient_temperature') }}°C. The target temperature is set to {{ states('input_number.kitchen_oven_target_temperature') }}°C.
{% elif states('sensor.esph_kitchen_oven_ambient_temperature') | int > (states('input_number.kitchen_oven_target_temperature') | int + 10) %}
The oven is over temperature at {{ states('sensor.esph_kitchen_oven_ambient_temperature') }}°C. The target temperature is set to {{ states('input_number.kitchen_oven_target_temperature') }}°C.
{% elif states('sensor.esph_kitchen_oven_ambient_temperature') | int > (states('input_number.kitchen_oven_target_temperature') | int - 10) and states('sensor.esph_kitchen_oven_ambient_temperature') | int < (states('input_number.kitchen_oven_target_temperature') | int + 10) %}
The oven temperature is at {{ states('sensor.esph_kitchen_oven_ambient_temperature') }}°C. The target temperature is set to {{ states('input_number.kitchen_oven_target_temperature') }}°C.
{% endif %}

Persistent iOS notification


[Don't merge][Review] Optimize move semantics of NodeEntry

Description
Conditioned on:
https://github.com/dmlc/tvm/pull/2576
Making copies of shared_ptr is very expensive, 100x more than moving. This PR reduces lock contention by using move semantics in NNVM nodes
Don't merge until submodule is reset back to upstream
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@mxnet-label-bot add [pr-work-in-progress]

Does this change improve the time of scheduling launches to the engine?

@ptrendx thanks for your comment, would still need to measure

@larroy Could you please fix the CI failures?

@larroy Is this PR still WIP ?

@ptrendx suggestions on measurements?

@larroy I was trying to build the branch to look at the Clojure stuff - but I ran into the same problem as CI
fatal: reference is not a tree: e031b39c5e1d4468b7db96f1db39dbb97e4beef8

Unable to checkout 'e031b39c5e1d4468b7db96f1db39dbb97e4beef8' in submodule path '3rdparty/tvm'

script returned exit code 1

ping me when this is resolved and I'll repro / look at the Clojure error

@gigasquid now the clojure issue is isolated. Is the only test failing. Would appreciate your help.

@mxnet-label-bot add [Backend]

@gigasquid can you please help with Clojure?

@larroy I have a PR to fix the Clojure failures https://github.com/larroy/mxnet/pull/2

@mxnet-label-bot update [Backend,pr-awaiting-review]

@szha what would you suggest?

@szha the initial motivation is to lean out node creation and for correctness since there are difficult to catch bugs depending on Node initialization.

@szha  Performance is the same, so motivation is correctness and ease of graph building:
Tested in a tight loop:
TEST(NodeTestX, NodeTest) {
    using namespace nnvm;
    using namespace std;
    using namespace std::chrono;
    vector<nnvm::NodeEntry> v;
    nnvm::NodePtr ng = nnvm::Node::Create();
    ng->attrs.op = Op::Get("_zeros_without_dtype");
    ng->attrs.name = "zeros_without_dtype";
#if 0
    high_resolution_clock::time_point t1 = high_resolution_clock::now();
    for(size_t i = 0; i < 10000000; ++i) {
        v.push_back(NodeEntry{ng, 0, 0});
    }
    high_resolution_clock::time_point t2 = high_resolution_clock::now();
    auto duration = duration_cast<microseconds>( t2 - t1 ).count();
    cout << duration;
#endif
#if 1
    auto t1 = high_resolution_clock::now();
    for(size_t i = 0; i < 10000000; ++i) {
        v.emplace_back(ng, 0, 0);
    }
    auto t2 = high_resolution_clock::now();
    auto duration = duration_cast<microseconds>( t2 - t1 ).count();
    cout << duration;
#endif
}

piotr@ec2 cpu:0: ~/mxnet [master]> build/tests/mxnet_unit_tests --gtest_filter="NodeTest*"

Note: Google Test filter = NodeTest*
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from NodeTestX
[ RUN      ] NodeTestX.NodeTest
1659863[       OK ] NodeTestX.NodeTest (1918 ms)
[----------] 1 test from NodeTestX (1918 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (1919 ms total)
[  PASSED  ] 1 test.

Note: Google Test filter = NodeTest*
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from NodeTestX
[ RUN      ] NodeTestX.NodeTest
1717020[       OK ] NodeTestX.NodeTest (1985 ms)
[----------] 1 test from NodeTestX (1985 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (1985 ms total)
[  PASSED  ] 1 test.

Moving a shared pointer is faster than copying. When using move in the microbenchmark is 10% faster.  Overall is not much and in the big picture won't make a difference, but these small inefficiencies compound together and make the code in general slower in a way that you can't profile as it's scatered all over.
What changes exactly are you suggesting? to the title of the PR? is not clear to me, please help clarify.
It can also cause contention between threads due to the atomic lock.
Note: Google Test filter = NodeTest*
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from NodeTestX
[ RUN      ] NodeTestX.NodeTest
1655650[       OK ] NodeTestX.NodeTest (1804 ms)
[----------] 1 test from NodeTestX (1804 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (1804 ms total)
[  PASSED  ] 1 test.

The information in the PR suggests this patch is premature optimization as it's not making any difference in speed. If any of the symptoms can be captured in a test, please do so. Otherwise, if it's a usability improvement, then documenting the suggested use would be helpful.

I just provided a microbenchmark where you can see it's 10% faster. Usually in C++ we try to avoid doing more work than necessary such as copying a shared_ptr when is not necessary. Do you disagree with that? It creates inefficiencies compounded that don't show in a profiler.   It also makes it easier and less verbose to add to an nnvm graph.

I don't think is premature optimization, is generally agreed that is better to emplace_back rather than push_back and create additional copies, it also makes less verbose to add nodes. Why you call it a premature optimization? What exact changes you are suggesting?

I'm worried that it would be premature because of the lack of the measurable improvements in the problem space what mxnet concerns.

Would you be willing to merge since it simplifies creating graphs on operators if you don't find the performance improvement justified?
https://github.com/apache/incubator-mxnet/pull/14992
https://github.com/apache/incubator-mxnet/pull/14613

@szha I changed the title according to your request, are we good to merge?

Thanks for documenting the change. This PR needs one more rebase.

@szha Any more comments, or are we ready to go?


influxdb 1.2.2 upgrade

@francescou Thank you for the contribution. Travis build shows an error:
E: Version '1.2.2' for 'influxdb' was not found

Do you have any idea why that happened?

I'm sorry, it should be fixed in 4bbb0ad813594482593dd3c0d9fb4e92162ffc65

No problem 😃
LGTM, thanks for updating!


[ONNX export] Musicgen for text-to-audio

Feature request
Musicgen was recently added to 🤗 Transformers (model doc) and it would be great to be able to export those models to ONNX with Optimum.
Motivation
This will allow me to support music generation models in Transformers.js
Your contribution
I will integrate into transformers.js once available in optimum.

Hi,
I'm also interested in converting musicgen model to onnx format so I can try to deploy it to the device. May i know is it support on Optimum now?

It would be great if this feature is done.
Btw, how can I get the transformers.js ?

May i know is it support on Optimum now?

Not yet 😇 cc @fxmarty

Btw, how can I get the transformers.js ?

You can check out the repo here or the documentation here. Since musicgen is not yet available in Optimum, however, it won't be available in transformers.js until then.

hi @xenova,
May i know if have a plan or schedule to support Optimum for convert it to ONNX model?

Hi @kanger45 @MaiZhiHao @zeke-john https://github.com/huggingface/optimum/pull/1779 is merged, which exports Musicgen in several parts to generate audio samples conditioned on a text prompt (Reference: https://huggingface.co/docs/transformers/model_doc/musicgen#text-conditional-generation). This uses the decoder KV cache. The following subcomponents are exported:

text_encoder.onnx: corresponds to the text encoder part in https://github.com/huggingface/transformers/blob/v4.39.1/src/transformers/models/musicgen/modeling_musicgen.py#L1457.
encodec_decode.onnx: corresponds to the Encodec audio encoder part in https://github.com/huggingface/transformers/blob/v4.39.1/src/transformers/models/musicgen/modeling_musicgen.py#L2472-L2480.
decoder_model.onnx: The Musicgen decoder, without past key values input, and computing cross attention. Not required at inference (use decoder_model_merged.onnx instead).
decoder_with_past_model.onnx: The Musicgen decoder, with past_key_values input (KV cache filled), not computing cross attention. Not required at inference (use decoder_model_merged.onnx instead).
decoder_model_merged.onnx: The two previous models fused in one, to avoid duplicating weights. A boolean input use_cache_branch allows to select the branch to use. In the first forward pass where the KV cache is empty, dummy past key values inputs need to be passed and are ignored with use_cache_branch=False.
build_delay_pattern_mask.onnx: A model taking as input input_ids, pad_token_id, max_length, and building a delayed pattern mask to the input_ids. Implements https://github.com/huggingface/transformers/blob/v4.39.3/src/transformers/models/musicgen/modeling_musicgen.py#L1054.

Would this work for fintuned models on Musicgen? I used this repo to finetune the meduim model, and the output is a .pt model.

@zeke-john yes, it should work as long as the checkpoint (& model repo) follows Transformers style (e.g. https://huggingface.co/facebook/musicgen-small/tree/main). .bin & .safetensors are supported, not sure about .bin

Are there any supported ways to finetune  musicgen besides the way i did it, so it stays a transformers model? Or can you convert a .pt model into a transformers model format?

@zeke-john You should try to use https://github.com/huggingface/transformers/blob/main/src/transformers/models/musicgen/convert_musicgen_transformers.py which should allow you to do the conversion.

@fxmarty after we export several onnx model, how can we run these onnx model locally?

@fxmarty Would it be possible to add support for the stereo model? It seems to error out with finding the right index of the number of heads (I think). Since the codebook of the stereo model is larger. It could have something to do with the way the config file is read and the model is loaded, not fully sure.
***** Exporting submodel 2/5: EncodecModel ***** Using framework PyTorch: 2.1.0+cu121 /home/[USER]/projects/[project]/optimum/optimum/exporters/onnx/model_patcher.py:942: TracerWarning: Using len to get tensor shape might cause the trace to be incorrect. Recommended usage would be tensor.shape[0]. Passing a tensor of different shape might lead to errors or silently give incorrect results.   if len(audio_codes) != 1: /home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/transformers/models/encodec/modeling_encodec.py:433: TracerWarning: torch.tensor results are registered as constants in the trace. You can safely ignore this warning if you use this function to create tensors out of constant variables that would be the same every time you call this function. In any other case, this might cause the trace to be incorrect.   quantized_out = torch.tensor(0.0, device=codes.device) /home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/transformers/models/encodec/modeling_encodec.py:434: TracerWarning: Iterating over a tensor might cause the trace to be incorrect. Passing a tensor of different shape won't change the number of iterations executed (and might lead to errors or silently give incorrect results).   for i, indices in enumerate(codes): Traceback (most recent call last):   File "/home/[USER]/projects/[project]/optimum/test.py", line 3, in <module>     model = ORTModelForCausalLM.from_pretrained('facebook/musicgen-stereo-small', export=True, task='text-to-audio')   File "/home/[USER]/projects/[project]/optimum/optimum/onnxruntime/modeling_ort.py", line 737, in from_pretrained     return super().from_pretrained(   File "/home/[USER]/projects/[project]/optimum/optimum/modeling_base.py", line 438, in from_pretrained     return from_pretrained_method(   File "/home/[USER]/projects/[project]/optimum/optimum/onnxruntime/modeling_decoder.py", line 653, in _from_transformers     main_export(   File "/home/[USER]/projects/[project]/optimum/optimum/exporters/onnx/__main__.py", line 374, in main_export     onnx_export_from_model(   File "/home/[USER]/projects/[project]/optimum/optimum/exporters/onnx/convert.py", line 1188, in onnx_export_from_model     _, onnx_outputs = export_models(   File "/home/[USER]/projects/[project]/optimum/optimum/exporters/onnx/convert.py", line 782, in export_models     export(   File "/home/[USER]/projects/[project]/optimum/optimum/exporters/onnx/convert.py", line 887, in export     export_output = export_pytorch(   File "/home/[USER]/projects/[project]/optimum/optimum/exporters/onnx/convert.py", line 583, in export_pytorch     onnx_export(   File "<@beartype(torch.onnx.utils.export) at 0x79bbd8720ee0>", line 440, in export   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/onnx/utils.py", line 516, in export     _export(   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/onnx/utils.py", line 1596, in _export     graph, params_dict, torch_out = _model_to_graph(   File "<@beartype(torch.onnx.utils._model_to_graph) at 0x79bbd8721d80>", line 12, in _model_to_graph   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/onnx/utils.py", line 1135, in _model_to_graph     graph, params, torch_out, module = _create_jit_graph(model, args)   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/onnx/utils.py", line 1011, in _create_jit_graph     graph, torch_out = _trace_and_get_graph_from_model(model, args)   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/onnx/utils.py", line 915, in _trace_and_get_graph_from_model     trace_graph, torch_out, inputs_states = torch.jit._get_trace_graph(   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/jit/_trace.py", line 1285, in _get_trace_graph     outs = ONNXTracedModule(   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl     return forward_call(*args, **kwargs)   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1508, in _slow_forward     result = self.forward(*input, **kwargs)   File "/home/[USER]/projects/[project]/optimum/optimum/exporters/onnx/model_patcher.py", line 944, in patched_forward     audio_values = self._model._decode_frame(audio_codes[0], audio_scales)   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/transformers/models/encodec/modeling_encodec.py", line 702, in _decode_frame     embeddings = self.quantizer.decode(codes)   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/transformers/models/encodec/modeling_encodec.py", line 435, in decode     layer = self.layers[i]   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/nn/modules/container.py", line 293, in __getitem__     return self._modules[self._get_abs_string_index(idx)]   File "/home/[USER]/anaconda3/envs/[ENV]/lib/python3.10/site-packages/torch/nn/modules/container.py", line 283, in _get_abs_string_index     raise IndexError(f'index {idx} is out of range') IndexError: index 4 is out of range


Low API example fails as written

I'm currently reading http://werkzeug.pocoo.org/docs/0.11/levels/ and I copied the example of the low API, adding a minimal harness to make it work:
from werkzeug.formparser import parse_form_data
from werkzeug.utils import escape

def hello_world(environ, start_response):
    result = ['<title>Greeter</title>']
    if environ['REQUEST_METHOD'] == 'POST':
        form = parse_form_data(environ)[1]
        result.append('
Hello %s!
' % escape(form['name']))
    result.append('''
        <form action="" method="post">

Name: <input type="text" name="name" size="20">
            <input type="submit" value="Greet me">
        </form>
    ''')
    start_response('200 OK', [('Content-Type', 'text/html; charset=utf-8')])
    return [''.join(result)]

if __name__ == '__main__':
    from werkzeug.serving import run_simple
    run_simple('<IP_ADDRESS>', 5000, hello_world)

But, when sending back any string (e.g. world) through the form, I get an error:
Error on request:
Traceback (most recent call last):
  File "/Users/jacquerie/Code/werkzeug/werkzeug/werkzeug/serving.py", line 193, in run_wsgi
    execute(self.server.app)
  File "/Users/jacquerie/Code/werkzeug/werkzeug/werkzeug/serving.py", line 184, in execute
    write(data)
  File "/Users/jacquerie/Code/werkzeug/werkzeug/werkzeug/serving.py", line 164, in write
    assert isinstance(data, bytes), 'applications must write bytes'
AssertionError: applications must write bytes

I can see that this is easily fixed by forcing everything to be bytes, as in:
return [''.join(result).encode('utf-8')]

and that this is caused by form['name'] not being an instance of bytes, but I'm not sure if I should push a commit which is just a workaround to (maybe?) a deeper issue.

what python version are you using?

Python 2.7.12

installed through Homebrew on Mac OS X 10.10.5, if it makes any difference.

i belive a quick workaround would be to encode the form parsing result directy
@mitsuhiko @untitaker any idea what would be the complete expected behaviour, i suspect this change was rather accidential

Do you have the unicode literals import in your code by any chance?
It might be that we did this change intentionally as part of unicode/bytes cleanup. Not sure and I can't git-blame atm.

Do you have the unicode literals import in your code by any chance?

Nope. Just created a fresh virtualenv with a single file called low.py with that content, and saw the same behaviour.

I did some more digging. Let's assume that we are sending back "world" to the application, so we are sending the string "name=world". This string is split in key and value in _url_decode_impl: key, whose value is "name", is converted to unicode at line 787, but then is converted back to bytes at line 789. value instead, whose value is "world", is converted to unicode at line 790, and then passed to a MultiDict, which then becomes the form. This is why the form has key "name" and value u"world".

One more thing. All over the tests this behaviour (str for keys, unicode literals for values) is asserted, e.g.: https://github.com/pallets/werkzeug/blob/8adfb35aafcf11059fb2f832665156d037942d71/tests/test_formparser.py#L56. So I'd say that fix here is just adding an encode to the form results in the docs, as https://github.com/pallets/werkzeug/issues/960#issuecomment-233900219 suggested. Shall I send this small PR?

This fails on Python 3 with just returning the initial response, the form data doesn't matter. Going with the original suggested fix of encoding the response.

Thanks for fixing this! I completely forgot about it...


Swift 3.0 migration

ping on this

@alexpovh ping on this. I'd really like to get a dshb Sierra bottle built for Homebrew as it's one of the remaining five out 4,158 formulae that can't build on 10.12 yet.

Seems like a good idea to keep this library a bit up to date by migrating it to the latest version of Swift! @beltex

Any updates here @beltex ?

Thanks so much for this @alexpovh! So sorry for the super late response folks!


to_JSON method to charts.py classes

I found this tool very good but I struggled how could I use this in Ajax requests. On my opinion chartit needs this kind of solution.

Coverage decreased (-0.09%) to 73.44% when pulling 50474bd6b02322fc6d5a517a0345fee382b43abb on tahv0:master into 1c9ddf53aa5dced8b4c2478b4ad72edceab93675 on grantmcconnaughey:master.

Hey there. Sorry for the delay. This seems like a simple enough feature so I'll merge it. However, I'd really like those methods to be to_json, not to_JSON. Can you change that, please? Then I'll get it merged. Thanks!

Merged as https://github.com/chartit/django-chartit/commit/acd763ad218ec2cc88011b36e861b2a16089526b with the change to lowercase to_json. You can close this.


Create LICENSE

Resolves https://github.com/ComplianceAsCode/libreSCAP/issues/6

Paging @redhatrises and @isimluk

I just want to point out that unlicense is a permissive license.  What usually happens with permissive licenses is that companies will use the project in proprietary software and not share their modifications.
I would recommend a copyleft license such as the GPL-3.0-or-later or AGPL-3.0-or-later licenses so that others are encouraged to contribute changes back to your project.

@TechnologyClassroom yup - completely permissive use is the goal.

Why?  Is it intended to be used in proprietary software?

@TechnologyClassroom, I was huge free-software advocate.
But today, I am not convinced that either license makes a huge difference.  The power dynamics of open source world changed significantly about 10 years ago. Software does not need to be distributed/copied to be used anymore. I don't think there is a way to put genie back to the bottle now. Game is over.

Merging

Why? Is it intended to be used in proprietary software?

It's intended to have the broadest reach possible including proprietary and non-proprietary functions.


Fix transparency being lost from transformed images

When caching an image, the original data is checked for a PNG header to determine whether to cache the image as PNG. If the image has been transformed, the new image may have transparency information even if the original image wasn't a PNG (in my case, I was masking the image before saving)
This change stops the original data being passed to the caching method if the image has been transformed. The caching method then defaults to saving the image as a PNG, maintaining any transparency information that may have been added

@bpoplauschi @PeteC I created a pull request with the changes suggested above (#1121) and it's been working well for me.

closing as of https://github.com/rs/SDWebImage/pull/1121


chai-json-schema needs a new owner

I've completely crashed out of the node loop so this module desperately needs a new owner.
If anyone wants to adopt please leave a message and we can arrange ownership transfer of repos and package as per npm guidelines.

Sad :(

Hi @Bartvds,
I am a developer at Enrise and chai-jason-schema is used in many of our projects. Today we discussed this with the team and we are open to adopting and maintaining the project.
Let me know if you are open to it as well.
Regards,
Joram

@JrSchild Sure, adopting by a company would be great.
Note: another of my Chai module's (chai-fs) was recently adopted and moved into the Chai.js Github org. I haven't asked for them to adopt this one as well since this is a bit more exotic and needs a bit of json-schema knowledge which I wouldn't dump on the organization without someone to pick it up.
I can ping the org manager who moved chai-fs for me; I'm sure we can arrange for you to become core maintainer with all the access rights (they make github teams for adopted modules and are cool with npm co-ownership).
If you like to continue work on chai-json-schema but with a solid long-term home in the org then maybe this would be an ideal option? This way we keep it in the community while giving you guys the power to move it forward.

Hi Bart,
We think it is a great idea to host the project at the Chai organization. Ensuring the project's long term support, together with our commitment, we think this would be a very good fit. As Enrise continues to grow, we slowly want to pick these kind of projects up to give something back to the community. Not only node.js related but also on other fronts as we have multidisciplinary teams.
It would be nice if you could ask the organization to host project there. I'm looking out to hear from you.

Cool, reviving some lost modules is a helpful way to get into open source.
Let's ping @keithamus
tl;dr: @JrSchild and company offer to maintain one of my neglected Chai modules and we think we could/should move this into the Chai.js org as well (and assign them a team and npm ownership). What do you think?

Hey @Bartvds and @JrSchild. This all sounds good to me 😄. I'm happy to move this module into the chaijs main org, and set up both of you as maintainers, and also as team admins (if that's how you'd like it to be) so you can have full autonomy and add more maintainers as you see fit.

Thank you @keithamus, that is good news. Could you two arrange the transfer? Regarding the team admins, it is up to you, @Bartvds, if you would like to stick around. You're more than welcome of course.

@keithamus Very cool.
How you want to do this? IIRC from last time it'll work smoothest if I transfer this repo to your account so you can move it in into the org (assuming you don't have it forked :)

@Bartvds just renamed by fork, so you should be able to transfer it cleanly. It definitely worked smoothest when you transferred to me first. LMK when you do and I can move it to chaijs org 😄

@keithamus I tried transfering the repos to you but I get that "keithamus already has a repository in the Bartvds/chai-json-schema network" message.
When we moved chai-fs a while ago we had same issue and only resolved after you deleted your renamed fork. :worried:

I thought before we just renamed it. I've deleted it now, feel free to transfer.

@keithamus Cool, the request is in the pipe, you should receive a notification soon.
@JrSchild Could you let me know your npm user name so I can grant you ownership when the transfer is complete?

That's good news! We will be using our company username: 'enrise'.

The way we typically manage releases in the chaijs org, is that we have a bot automate the releases using travis - this way the releases happen on a clean and manageable environment. We should probably set up the same automation for this repo also.

Okay, permissions have all been set up in the org. @JrSchild and @PaulThompson you both have invites to join the chai-json-schema team on the chaijs org.

Thanks.
Also in terms of npm ownership, There's also https://www.npmjs.com/package/chai2-json-schema and
https://www.npmjs.com/package/chai3-json-schema variants by @darrrk
It would be great to bring those in, in a compatible way.
Updating of those chai and tv4 dependencies has been the main source of interest and pull-requests against chai-json-schema.

Thank you @keithamus. Could you give me extra rights so I can add some of my coworkers to the team? That would be useful for PR reviewing/merging.
@PaulThompson I agree, it seems confusing to have multiple published modules under different names. As far as I can tell, chai2-json-schema is exactly identical to chai-json-schema, just published under a different name. The only difference with chai3-json-schema is the updated chai dependency.
When bringing the patches into this project, they will become obsolete. The obvious choice is this one, most stars/downloads and hosted under the chaijs organization.

Hi @keithamus I have sent you an email which I got from the commit log history. I'm not sure if it's the right one. We would like to set our internal team up in the project but I have insufficient permission. Is there anything you can do about that?
After that is done, this ticket can finally be closed.

@Bartvds could you please add chaijs as a user on the npm package (https://www.npmjs.com/package/chai-json-schema/access)

@keithamus Yes of course. I'm at the office now but will do when I get back to my home computer tonight.

To round things up.
The project is now hosted under the chaijs organization. My company Enrise volunteered to maintain it. Chai-json-schema is probably pretty feature complete as it is. We will be doing the necessary maintenance to make sure it doesn't break and to make sure it stays compatible with the recent chai versions.
Internally it is a team effort to do PR-reviews, merges, releases and handle feature requests if/when they come in. All discussion will of course be open and on this GitHub project. I have added a few of my colleagues as collaborators.
The short term goal is to do a release with chai 3.0+ support. Furthermore we would like to even things out as much as possible with the main chaijs project for consistency and transparency. When the npm user is added we can push releases by simply tagging the master branch.

@keithamus Yesterday got messy but I just added the new npm owners.
@JrSchild It's your party now, I'm not really active with node anymore so you're free to maintain and develop as you think is right. Consistency seems a good goal though; I'm not sure how consistent I was (probably not very :wink:).


Add option to remove I-frame

details please

so, i can essentially choose which frames should be I frames and which ones should be P, when rendering. (or rather, the first rendered frame is an I frame so you could choose when the first I frame is, and afterwards you get a fixed interval between all subsequent I frames, which is called GOP length and you can choose it when rendering.)
given that, which interval do you think i should choose to render I frames (to delete them afterwards)? and what would the parameters be?
On 2018 4 16 16:46:51 UTC, Jawaji<EMAIL_ADDRESS>wrote:

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/delthas/vegas-datamosh/issues/1

added in #fbaa37f (datamix script)


vscodium: 1.51.0 -> 1.51.1

Motivation for this change
Bump to latest release 1.51.1
Things done

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

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

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

Backported to 20.09 in 8bdd825b99a2b2fcaabee9cc74d897b7b2277ecd


nixos-prepare-root: chmod if dir already exists, fixes #22413

Motivation for this change
Fixes #22413. Please note that while I have tested the new setupDir function separately, I haven't tested nixos-install or nixos-prepare-root, so testing is appreciated!
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Switched to install. Is there a way to test this script in a prefix without running nixos-install?

we have nix-build nixos/tests/installer.nix for nixos-install tests.

Looks good to me if the tests pass 👍

NixOS installer tests pass. Thank you!

Thanks!


Push ipu-comms-vendor-solution

This PR adds the ipu-comms-vendor-solution code.

Just a general comment on this code - this code should be part of ipu-plugin code. We can have a discussion offline on this.

Closing this as this functionality will be merged as part of the ipu-plugin


[plot] save spec file with more decimal digits

Saving a plot as SpecFile, the precision is quite poor, e.g.,
#N 2
#L  Energy [eV]  Number of Rays weighted by $\Vert\mathbf{E_{\sigma}}+\mathbf{E_{\pi}}\Vert^2$
9137.63  25.07346
9137.63  25.07346
9137.63  26.49942
9137.63  26.49942
...
If saved as txt, it is OK:
9.137629999999999200e+03 2.507346120464817929e+01
9.137630199004974202e+03 2.507346120464817929e+01
9.137630199004974202e+03 2.649942103435959595e+01
9.137630398009949204e+03 2.649942103435959595e+01
Could be saved as Spec with same format/precision?
Thanks

Most of the times we are using float32 data in the plots and basically you are missing one digit. Currently specfile is saved as %.7g while original specfile format usually uses %.4f or %.5f I think the best solution not to have loses is to save in binary format (for instance HDF5) but if the data are float32 to have 8 or more digits should be enough.


Investigate US_SSN match

US_SSN
ID:61
It looks like a SSN may not be correctly detected

123-45-6789 is not a valid SSN and is therefore not being replaced - which is expected


Image mag

ping for LGTM @moxiegirl

LGTM

ping @thaJeztah --- Seb this is Carol the new contract write on DTR.  @carolfh this is Seb who is every where. :-D

Hello Carol, good to have you on board! If you ever need assistance, a PR reviewed, feel free to @ mention ("ping") me here, or on IRC (I'm in the EU (CET) timezone, so I might not respond directly :smile:
changes LGTM (thanks!)
@moxiegirl do we need to keep these as separate commits for the internal issue tracker, or is squashing ok?

@thaJeztah Good catch, @carolfh needs to rebase and squash.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "image-mag" git@github.com:carolfh/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~4
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM Thanks @carolfh

thanks @moxiegirl for your help!
and hello @thaJeztah. looking forward to working with ya!

Congrats on your first pull-request being merged! :tada: :dancers:

@thaJeztah LOL, why thank you....gearing up to do some more ;D


Height

Closes
Closes #i1509
Description
i have added the same height for all three boxes and reduced the padding also
Screenshots

Note to reviewers

Checklist:

[x] I have linked the PR to the correct issue.
[x] I have read the Contribution Guidelines
[x] I have built and tested the changes, and they do not break or show any errors.

can you please review my pr @Vaishnavi-Patil2211


fix(trie-router): fixed the named capture issue

Will fix #1141 just for TrieRouter.

Move to #1148


HLL++ DataTypes - approximates/estimates number of distinct elements … [JIRA: RIAK-2534]

…in a set

type cleanup and new hll type(s)
riak_dt_hll.erl module -> riak_dt behavior, but fits best in riak_kv for now
necessary updates for new DT to riak_kv_crdt + riak_kv_crdt_json + riak_object (handle precision props around merge)
adds typical DT stats, but also special byte(s) stats for HLL(sets)
validation of datatype buckets around precision property and a bit of validation refactoring around dt's
able to reduce precision if within acceptable criteria

Still Open Qs:

uses branch of riak_api that would eventually be a tag probably? tagging in general really!
make sure pipe/yokozuna doesn't break b/c HLL DT. Value should be in use for pipe... YZ use-case may only be storing field to see if it's in a certain range? Thoughts here @JeetKunDoug and @fadushin?

Build Tips

I'm setting riak_kv to this branch in riak_ee to run this stuff... no official ee branch yet.
I have not created a branch for repl/repl_pb_api that uses the riak_pb feature-zl-hll_datatypes branch in the rebar.config for the api lib. I've just been updating it manually for now.

Related PRs and/or branches to review and/or figure out the right dependecies

[ ] : riak_pb : https://github.com/basho/riak_pb/pull/183
[ ] : riak_api : https://github.com/basho/riak_api/tree/feature-zl-hll_datatypes | NOTE off up 2.1, but maybe this should be off develop... only integral thing is riak_pb version
[ ] : yokozuna : NOTE not touching this until 2.0.7 is done, but will need to see if anything related goes into 2.2 or then 2.3?
[ ] : riak-erlang-client  : https://github.com/basho/riak-erlang-client/pull/268
[ ] : riak-erlang-http-client : https://github.com/basho/riak-erlang-http-client/pull/56
[ ] : riak-test : https://github.com/basho/riak_test/pull/1063
[ ] : hyper (fork) : https://github.com/basho/hyper/pull/1 | NOTE need this PR reviewed/merged and we'll to tag hyper for in riak_kv's rebar.config.

create jira issue (cause jura be jurying the jiras)

[~pbrewer] not sure who to assign this to. The work is in need of a review and plan for release.
[posted via JIRA by Zeeshan Lakhani]

[~pbrewer] not sure who to assign this to. The work is in need of a review and plan for release and rollout to clients.
[posted via JIRA by Zeeshan Lakhani]

[~zlakhani] This is not assigned to a release yet, but needs to be.  I added the 2.next label for now and will change this to "In Review".  Doug, Seema and I need to have conversations, soon, about roadmap and where this lands.  Thanks for the heads up!
[posted via JIRA by Patricia Brewer]

Need to figure out the release train and then get someone assigned to review
[posted via JIRA by Patricia Brewer]


Latest version 1.1.x is not available through pip

The latest version available is 1.1.0rc

Thanks @soulhunter1987 for reporting this. This is still an open task. We will publish the latest version on PyPi in the next days. Thanks for your patience.

https://pypi.python.org/pypi/django-background-tasks/1.1.6

The 1.1.8 release seems to have a bug that is solved by the 1.1.9 release, but only the broken 1.1.8 is available via pip while the 1.1.9 fix is not.


[cdk: subject] add cdk subject

API

[x] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

自己实现一个基于浏览器内置CustomEvent的事件发布订阅管理，ie11需要polyfill。
What does the proposed API look like?

declare class Subject<T> {
  public dispatch: (value?: T) => void

  public subscribe: ((value: T) => void) => void
}

应该还有一个取消订阅的方法？

应该还有一个取消订阅的方法？


Update the version of Vue.js to v1.0

Hello.
I know that this project is using vue.js but the version of this is still v0.10.
There are many differences between v0.10 and v1.0, so it will be hard to rewrite the codes.
However, v1.0 gives us many nice features, for instance, v1.0 allow us to utilize "prop" so it makes the  stream of passing data clearly. For sustainable maintenance, I suggest you to update the version of Vue.js to v1.0.

thanks, I agree it would make sense to update to 1.0. however, we are actually working on a new web editor and discontinuing support of the desktop editor once that is ready (in a couple months). so at this point, we will need to focus our energy on that project and not sink more into updating to vue 1.0.

I see, thanks for your answer :smile:


Safari 16: overflow: clip; as well

https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#browser_compatibility
https://github.com/mdn/browser-compat-data/pull/16586 (the file change)

also: whoops, I guess I was too eager with #6008 as https://github.com/mdn/browser-compat-data/pull/14815 proves me wrong - but meanwhile "TP":"y" is correct 0:-)
additionally looking at https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#browser_compatibility and https://tests.caniuse.com/css-overflow in Safari the picture isn't as clear regarding overflow-x and -y, so maybe there's room for improvement…

Thanks!


[AutoPR security/resource-manager] Add Information Protection APIs

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3915

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/2887


feat: rest header injection

created a function to allow users to inject custom headers into a rest request. See issue #3121 (Solution 2)
Example usage:
const REST = createRestManager({
  token: process.env.PUBLIC_BOT_TOKEN as string,
})

REST.injectHeaders = () => {
  return {
    botId: '123',
  }
}

Hey, just a quick question, is there a reason for it being a function?

Hey, just a quick question, is there a reason for it being a function?

A function would allow a developer to use dynamic values that need to be changed on each request, a property inside of the createRestManager class would not, unless you were overriding it every time you wanted a value to change which could be a little tedious.
A dynamic date header which changes based on when the request was made - Although, now I think about this example its not entirely useful unless you want to know how long a request takes to resolve and log it. As you could just create a new Date on the rests server instead.
I cannot come up with any other ideas, but I'm sure someone would have something down the line. Adds a bit more flexibility to what can be customized.


feat: upstream DList results from Mathlib

Following up on LazyList, we upstream results about DList from Mathlib to Batteries.
Along the way, we

move DList to a subdirectory
adjust import for new DList location
move all defs to Defs.lean and all lemmas to Lemmas.lean
slightly adjust docstrings

The commits attempt to be atomic, to ease review.

Please rename Defs to Basic. (Admittedly, Defs is a more appropriate name but Basic is the de facto standard in Batteries.)


[Suggestion] Configurable option for joined Minecarts to load chunks they are

Is your feature request related to a problem? Please describe.
Taking the opportunity that this mod got a rewrite and the joined minecarts ("trains") physics got a huge improvement (making that on par to TrainCarts), i decided to suggest you to add more features to allow trains to be even more useful and able to be fully automated. One of this is the ability to minecarts to run fully unattended and without the presence of a player nearby. That's why i propose this option for dynamic chunk loading.
Describe the solution you'd like
Basically, add an option on config to make trains only to load the chunk they are in (and the one they are heading to). That would greatly improve automated railroads building.
Describe alternatives you've considered
CartLoaders is a mod (abandoned i think) that allow (singular) minecarts to load chunks, but i think a integrated solution within Linkart (and only for joined minecarts) would be prefered to increase compatibility and to not make every unlinked minecart to load chunks unneeded.

This was surprisingly easy to add.
There are 2 new config options: chunkloading, which is off by default, and chunkloadingRadius which is 2 by default.
A cart can load chunks only if it has a cart following it and if its velocity is not ~0. Chunkloads are persistent and should get restored after world reload.

Oh thank you so much!


Download doesn't work on Firefox

On Firefox 38.0.1

add some elements to the shopping cart
tap on the "download" button
nothing happens

Should be fixed by https://github.com/Polymer/polymer-element-catalog/pull/80


Filter Not Working

Filter not working when i initialise it after click on any emoji filter work perfect

Same problem :/
I use the last version (0.6.4)
Problem demo : https://gyazo.com/1c93f44ddeb3ddef412c7b96a803f6c8

so far i'm not able to reproduce. is there a browser or something specific?

i Use chrome Browser
and angular 5

I have this same problem too. Angular 6 here

I've tried to address this in v0.6.5