Copy/paste Python3.5 test.support to test_support

On test envs without test.support tests were unable to run.  At first because of the following import error and then due to missing components in the test_support module.
:; python3 ./setup.py test
running test
running egg_info
writing dependency_links to asyncio.egg-info/dependency_links.txt
writing asyncio.egg-info/PKG-INFO
writing top-level names to asyncio.egg-info/top_level.txt
reading manifest file 'asyncio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'asyncio.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "./setup.py", line 48, in
ext_modules=extensions,
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.5/site-packages/setuptools/command/test.py", line 142, in run
self.with_project_on_sys_path(self.run_tests)
File "/usr/local/lib/python3.5/site-packages/setuptools/command/test.py", line 122, in with_project_on_sys_path
func()
File "/usr/local/lib/python3.5/site-packages/setuptools/command/test.py", line 163, in run_tests
testRunner=self._resolve_as_ep(self.test_runner),
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/main.py", line 93, in init
self.parseArgs(argv)
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/main.py", line 140, in parseArgs
self.createTests()
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/main.py", line 147, in createTests
self.module)
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/loader.py", line 219, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/loader.py", line 219, in
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/loader.py", line 204, in loadTestsFromName
test = obj()
File "/Users/mayfield/project/asyncio/runtests.py", line 277, in runtests
finder = TestsFinder(args.testsdir, includes, excludes)
File "/Users/mayfield/project/asyncio/runtests.py", line 139, in init
self.find_available_tests()
File "/Users/mayfield/project/asyncio/runtests.py", line 146, in find_available_tests
mods = [mod for mod, _ in load_modules(self._testsdir)]
File "/Users/mayfield/project/asyncio/runtests.py", line 116, in load_modules
mods.append((loader.load_module(), sourcefile))
File "", line 385, in _check_name_wrapper
File "", line 806, in load_module
File "", line 665, in load_module
File "", line 268, in _load_module_shim
File "", line 693, in _load
File "", line 673, in _load_unlocked
File "", line 662, in exec_module
File "", line 222, in _call_with_frames_removed
File "tests/test_pep492.py", line 7, in
from test import support
ImportError: cannot import name 'support'

Thanks!


Inventory monitoring jobs

Description
These jobs are used to monitor the "inventory drift" problem.
Whenever we've thought we have solved it,  I've been running these jobs on a regular (daily? weekly?) basis to confirm.   Until we see there is another problem,  or some reasonable time (a couple of months) has passed.
Core team use only, as they are meaningless without production data.
There are additional steps,  of course, which are in the comments on the jobs.
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?
I've been using them for awhile -- They have been useful in finding incidents?

These are only being called when run manually on development, correct? Seems pretty safe to me

That's correct.   I've been running them on dev against a prod copy (though I admit, I didn't run them after I copied them over to this branch).


[SP-2014] - Backport of PDI-14051 - Symmetric Cryptography step displays secret key on tool-tip as plain text (5.4 Suite)

(cherry picked from commit 5e4a8bc)
@mattyb149, @brosander, review it please. This is a backport of https://github.com/pentaho/pentaho-kettle/pull/1486

@mattyb149, @brosander, review it please.

@mattyb149, @brosander, review it please.
/cc @pamval

@rpbouman, @matthewtckr, review it please if you have time. This is a backport and it is quite trivial


Build crashing on RN 61.1 ../node_modules/react-native-maps/lib/ios/AirGoogleMaps/AIRGoogleMapMarker.m:12:9: 'React/RCTImageLoader.h' file not found

Bug
When doing Xcode build of my project which has react-native-maps dependency it fails on following error:
`../node_modules/react-native-maps/lib/ios/AirGoogleMaps/AIRGoogleMapMarker.m:12:9: 'React/RCTImageLoader.h' file not found
With RN 60.6 everything is fine.
Environment info
React native info output:
System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 33.62 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 12.9.0 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.11.2 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
    Xcode: 11.0/11A420a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.1 => 0.61.1

Library version: 0.25.0
Steps To Reproduce

Upgrade react to 16.9.0 and react-native to 0.61.1
pod install
build using Xcode

Describe what you expected to happen:

Successful build

I had this same issue when I upgraded from RN 0.60.5 to 0.61.1. It's due to the new autolinking functionality not being compatible with the old, manually linked build logic. I ended up doing the react-native init myproject to start over with the native stuff, and moved in my source files / fixed the various build config settings.
The lions share of the rework as far as iOS goes is in the Podfile, you can see the change to mine with this work here:
https://github.com/OurVoiceUSA/HelloVoter/compare/cf44552ab55163d569fc16b099880de27b7bed04..bbc4b71a1b4d483e0c6b7f901b35313fd76081fe#diff-9a2f2f7a0e84ba7650c8dd93b9801277
In a nutshell, react-native-maps and other dependancies are removed and done via autolinking. Most notably, react-native-google-maps is the exception, it's not autolinked and needs to stay in there, if you use that.
Hope this helps.

check proposed solution on #3142 (comment)


Note workloads that may failed on shared core / low memory instance types

See #142.
These likely include:

hadoop_terasort
cassandra_stress
speccpu2006

Do we still want to do this?  There was a new bug open that is similar https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/744
@ehankland FYI since you have bug 744


e2e: daily libvirt e2e-test (amd64)

show e2e-test result for libvirt cloud_provider base on self-managed amd64 cluster base libvirt
only push images when it not in registry

fixes: #1588

tested at here: https://github.com/confidential-containers/cloud-api-adaptor/actions/runs/6926459077/job/18838647518

I saw License Compliance error in PR check but I think it's a known issue. I also noticed errors in the the test result but not a e2e pipeline issue either, so, I think it's good, thanks @liudalibj

I saw License Compliance error in PR check but I think it's a known issue.

Yes, this comes up as this branch was pushed to the upstream, rather than a fork, so it's best to follow that approach in future


Show image upload errors

Summary
PR Checklist

Is this a multi-tenancy feature/bug?

[ ] Yes, the relevant RBAC changes are at:

Do we need to backport changes to the old Rancher UI, such as RKE1?

[ ] Yes, the relevant PR is at:

Are backend engineers aware of UI changes?

[ ] Yes, the backend owner is:

Fixes https://github.com/harvester/harvester/issues/5014

Occurred changes and/or fixed issues

Technical notes summary

In case of Http errors during image uploads, the UI shows the error in images table.
Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Thanks for the fix. Does the user get the full error message if he or she hovers the mouse to "Error 403..."?

Thanks for the fix. Does the user get the full error message if he or she hovers the mouse to "Error 403..."?

Full message will be displayed. "Error 403..." is just a hard-coded value in my test.

Reopen for QA tests.

@mergify backport release-harvester-v1.2


The customer order's  view page is not responsive in mobile view.

Bagisto Version: Master
Steps To reproduce--
1. Log in as a customer. on mobile
2. Click on orders inside the profile section.
3. View any order.
Expected result: The customer order's view page  should be responsive in mobile view.
Actual result: The customer order's view page is not responsive in mobile view. Please find the screenshot Here

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


Add newsletter sign up

We don't have the newsletter feature in Saleor nor we're planning to add it in the nearest future. I think we should remove the whole line "Subscribe to our newsletter..." and the "Sign up" button (which currently doesn't do anything). @pwgryglak Could you update designs on Figma to reflect that change? We can also think of some other section to put here instead but honestly, I don't have any idea.

Social buttons are fine and should stay of course.

If we're not putting subscription to Saleor there is no need to look for to put an additional section just because we've got place for it. Designs are adjusted.


implicits missing for SliceVector

i just posted this to google group but its not showing up. not sure what happened. if it comes back apologies for the double posting...
this used to work in v0.12. i am seeing this issue in v0.13-RC1 and master
scala>  val m = new DenseMatrix(2, 2, Array(1.0, 2.0, 3.0, 4.0))
m: breeze.linalg.DenseMatrix[Double] =
1.0  3.0
2.0  4.0

scala> m / 2.0
res15: breeze.linalg.DenseMatrix[Double] =
0.5  1.5
1.0  2.0

scala> m((0, 0), (1, 1)) / 2.0
<console>:14: error: could not find implicit value for parameter op: breeze.linalg.operators.OpDiv.Impl2[breeze.linalg.SliceVector[(Int, Int),Double],Double,That]
       m((0, 0), (1, 1)) / 2.0

Oof, obviously a regression. I will look into it soon
On Sun, Jan 22, 2017 at 8:18 PM, koertkuipers<EMAIL_ADDRESS>wrote:

i just posted this to google group but its not showing up. not sure what
happened. if it comes back apologies for the double posting...
this used to work in v0.12. i am seeing this issue in v0.13-RC1 and master
scala>  val m = new DenseMatrix(2, 2, Array(1.0, 2.0, 3.0, 4.0))
m: breeze.linalg.DenseMatrix[Double] =
1.0  3.0
2.0  4.0
scala> m / 2.0
res15: breeze.linalg.DenseMatrix[Double] =
0.5  1.5
1.0  2.0
scala> m((0, 0), (1, 1)) / 2.0
:14: error: could not find implicit value for parameter op: breeze.linalg.operators.OpDiv.Impl2[breeze.linalg.SliceVector[(Int, Int),Double],Double,That]
m((0, 0), (1, 1)) / 2.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scalanlp/breeze/issues/621, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAloWB29VAXc6R5n5WTJYKYEY0JSACaks5rVCoLgaJpZM4LqpkZ
.


Adding ior benchmark

Adding ior benchmark to benchpark, including weak and strong scaling @rfhaque

@august-knox Good  to go. Just fix the lint formatting and license


add test step keys to attachment message

Summary
While updating cucumber-js to use latest gherkin / cucumber-messages, this is one message cucumber-js used that is not currently available. The attachment message would either have source or the testStepId / testCaseStartedId.

Details
Cucumber-js previously fired an event like this when you attached something in a hook or step.
I can get this applied to all cucumber-messages languages once we agree on the changes.

Motivation and Context
This is one way users get data to be saved into the json formatter (and now the protobuf formatter).

How Has This Been Tested?
No tests currently, once deployed, cucumber-js will depend on these changes.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

[ ] The change has been ported to Java.
[ ] The change has been ported to Ruby.
[ ] The change has been ported to JavaScript.
[ ] The change has been ported to Go.
[ ] The change has been ported to .NET.
[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Yes, this looks good to me.
My thinking is that attachments representing syntax errors (parse time) are linked to the source, while runtime attachments are attached to a test step for a particular test run.
I’d also like to deprecate the use of SourceReference source and replace it with a string sourceId.
Can we add that in this PR?
/cc @vincent-psarga - this may affect the json formatter?

Hmm. For sourceId do you think its worth adding an id to the Source message or just making the field sourceUri?

@aslakhellesoy this should not impact the JSON formatter from what I see.
That said, I'm wondering about the way the "link" is done. I think having a field:
message TestStep {
  // same than previously
  repeated string attachementIds = 6;

would be more consistent with the other links.

@aslakhellesoy this should not impact the JSON formatter from what I see.
That said, I'm wondering about the way the "link" is done. I think having a field:
message TestStep {
  // same than previously
  repeated string attachementIds = 6;

would be more consistent with the other links.

That's not possible. The execution Attachment messages are created after the TestStep message. For example when a screenshot is attached during an After or AfterStep hook.

I've given this a bit more thought, and I think it's OK to keep the source reference as-is, so I'll merge this without any further changes.

That's not possible. The execution Attachment messages are created after the TestStep message. For example when a screenshot is attached during an After or AfterStep hook.

Indeed, I had not thought of that. Why not in the TestStepFinished message then ?

That's not possible. The execution Attachment messages are created after the TestStep message. For example when a screenshot is attached during an After or AfterStep hook.

Indeed, I had not thought of that. Why not in the TestStepFinished message then ?

Because messages should be atomic. I think you are suggesting that in order to send screenshots we have to:

Send an Attachment message (which isn't linked to anything)
Keep track of all the sent Attachment messages and add their ids to sourceIds in a later TestStepFinished message.

If either of those messages are skipped we'd have a system in a strange state.

Ok that makes sense now.
I was just a bit doubtful with the composite key to reference the test step (TestCaseStartedId + TestStepId), but in fact that already what we have for TestStepStarted and TestCaseFinished messages.

Note. I think we will need json formatter updates after this goes in. Cucumber ruby and js have the attachments in the produced json: https://github.com/cucumber/cucumber-ruby/blob/master/features/docs/formatters/json_formatter.feature#L285

/cc @vincent-psarga - we should add some attachments in both steps and after hooks.


Errors when loading docs on staging

This looks like an issue introduced by Cloudflare, perhaps as part of https or compression in general.
When loading the docs via the IP address or http://spi-dev.swiftpackageindex.com it works:

http://<IP_ADDRESS>/SwiftPackageIndex/SemanticVersion/main/documentation/semanticversion
http://spi-dev.swiftpackageindex.com/SwiftPackageIndex/SemanticVersion/main/documentation/semanticversion

(we should fix that favicon.ico 404)

Setting the cache-control: no-transform header for the documentation routes didn't take for some reason:
❯ curl -Is https://staging.swiftpackageindex.com/SwiftPackageIndex/SemanticVersion/main/js/chunk-vendors.00bf82af.js | grep cache-control
cache-control: max-age=14400

❯ curl -s https://staging.swiftpackageindex.com/api/version
{"version":"a8537a40531392bf51cdcfb42268b8b8ccf5f642"}

Looking at the headers we've got
❯ curl -Is https://staging.swiftpackageindex.com/SwiftPackageIndex/SemanticVersion/main/js/chunk-vendors.00bf82af.js
HTTP/2 200
date: Wed, 18 May 2022 06:53:54 GMT
content-type: application/javascript
content-length: 97294
x-amz-id-2: x+2YccxdCFCw8i/JP5z3e5UksAODrTRuq3FcYmMy4YqWJ8qbxoXromV49G9zdEUjjlR9b0wj23E=
x-amz-request-id: JSKEV8ZHW4KZ5QPY
content-encoding:
last-modified: Mon, 16 May 2022 17:10:05 GMT
etag: "99f6071582172fc5ee9df8864ce86089"
host: staging.swiftpackageindex.com
accept-encoding: gzip
cf-ipcountry: FR
x-forwarded-for: <IP_ADDRESS>
x-forwarded-proto: https
cf-visitor: {"scheme":"https"}
accept: */*
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15
accept-language: en-GB,en;q=0.9
referer: https://staging.swiftpackageindex.com/SwiftPackageIndex/SemanticVersion/main/documentation/semanticversion
cf-connecting-ip: <IP_ADDRESS>
cdn-loop: cloudflare
cache-control: max-age=14400
cf-cache-status: HIT
age: 3462
accept-ranges: bytes
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=47y3LtPc3dq5ebWibkRkavqsb3zupGvTz6e2RwQ5MgqCA3Su5AiAzqWLfwpS%2BG%2FBkV3cWVTx2y0aqAYeD3KYvVIO4aPoFW6Q%2Bs0q2L76S7r2pJKgOYubxURlCDpjwiAT0BeaKycfMtohVsMqaXGV"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 70d2adb1da84eddb-CDG

and
❯ curl -Is http://<IP_ADDRESS>/SwiftPackageIndex/SemanticVersion/main/js/chunk-vendors.00bf82af.js
HTTP/1.1 200 OK
x-amz-id-2: QjeDY+4UZL1vB4a6eDW0qS7a+a5hdh4llQvjI+CxctmXAzRXX+i39pxPzxuxvqUECOucgzfb3hI=
x-amz-request-id: GYP53GTZ5TRVSR6P
Date: Wed, 18 May 2022 06:52:34 GMT
Content-Encoding:
Last-Modified: Mon, 16 May 2022 17:10:05 GMT
ETag: "99f6071582172fc5ee9df8864ce86089"
Server: AmazonS3
Content-Length: 97294
Host: <IP_ADDRESS>
User-Agent: curl/7.79.1
Accept: */*
content-type: application/javascript
cache-control: no-transform
connection: keep-alive
date: Wed, 18 May 2022 06:52:33 GMT

And comparing main.js:
❯ curl -Is https://staging.swiftpackageindex.com/main.js
HTTP/2 200
date: Wed, 18 May 2022 06:54:54 GMT
content-type: application/javascript
content-length: 105325
etag:<PHONE_NUMBER>.0-105325
cache-control: max-age=14400
cf-cache-status: MISS
accept-ranges: bytes
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=aFoHMHI6vCRGoc%2BKCS2P5O%2BONFjw3D7eQUd6%2FXRvnxkbWM3sjQ8Dy74%2FPUuiSTJzAd6GFJI2d5Ce4tzJUSDKEdDY4T0lMnQRmogVR%2BvZx2%2FKfsLXKOXnEhg0UP9%2BjkP8B9iscm1yO8nGm2FiLfve"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 70d2af282a913a99-CDG

❯ curl -Is http://<IP_ADDRESS>/main.js
HTTP/1.1 200 OK
etag:<PHONE_NUMBER>.0-105325
content-type: application/javascript
content-length: 105325
connection: keep-alive
date: Wed, 18 May 2022 06:55:47 GMT

I wonder if that empty Content-Encoding header is a problem.

Potential fix #1740 - didn't think it fixed it due to CF cache not being purged and having 4h max age.

That fix worked.


webpack --watch does not check if stdin was closed

This is basically a clone of brunch/brunch#920, but for context:
I would like to automatically run webpack --watch as part of my application but, when it shuts down, the webpack process persists and continues running. I have observed that my application does close STDIN, however, webpack --watch is not checking if STDIN was closed or not. These two lines solve the issue:
process.stdin.on('end', function() { process.exit(0) });
process.stdin.resume();

See matthewlehner/webpack@879ab0b3c4d554f68ccd17478a80a5860a33cbb8 for the fix, implemented.
I can send a pull request for this, but am wondering if this should always run this or if it should be it opt-in.

No sure either. Sounds like a valid PR.

Is this relevant still? I can see a related PR was merged.

Ah, this was closed with #1311


mkcert install fails to install in firefox / chrome db on Ubuntu 20.04.

Environment

Operating system (including version): Ubuntu 20.04
mkcert version (from mkcert -version): v1.4.3
Server (where the certificate is loaded):  ?
Client (e.g. browser, CLI tool, or script): Firefox/Chrome

What you did
This seems to be a consistent problem with Ubuntu, multiple computers, fresh installs even a co-worker using Ubuntu 22.04. I have installed the required dependencies. We did install from the pre-build binaries.

ran mkcert -install
Tried sudo mkcert -install - It installs, but fails to find the chrome/firefox stores.
Tried uninstall / reinstall

$ mkcert -install
The local CA is now installed in the system trust store! ⚡
Installing in Firefox and/or Chrome/Chromium failed. Please report the issue with details about your environment at https://github.com/FiloSottile/mkcert/issues/new 👎
Note that if you never started Firefox and/or Chrome/Chromium, you need to do that at least once.

Hi

Hello,
My computer was in Ubuntu 16.04, then 18.04 and i reinstall a software using mkcert.
I have issues installing it (and still not resolving it).
But I saw that my local mkcert folder was owned by root, and that was preventing mkcert to install correctly.
I remove this folder, launch mkcert --install again and I had no mistake.
Well, it doesn't work after this but maybe you can try to check that.

Can't suceed to make it work, if someone has the solution !

@quentinDupont have you found a solution to this by any chance ? I have the same problem using ubuntu 22.04

Yes !
Using the v1.4.4 works like a charm !
https://github.com/FiloSottile/mkcert/releases

Yes ! Using the v1.4.4 works like a charm ! at least on Ubuntu 22.04 https://github.com/FiloSottile/mkcert/releases

i'm still having this issue :disappointed:
even using v1.4.4
i'm on PopOs (Ubuntu) 20.04
what is funny is that last month it was working fine, and today i've accidentally ran it again, and i've got that same message

I'm also having this problem on Pop!_OS 20.04.

I also had this problem.  Tried mkcert -uninstall then mkcert -install but it still did not work.
Then tried:

Run mkcert -uninstall
cd ~/.local/share and delete the mkcert folder (it was still there after the uninstall.
Run mkcert -install

Seems to work.

I also had this problem. Tried mkcert -uninstall then mkcert -install but it still did not work.
Then tried:

Run mkcert -uninstall
cd ~/.local/share and delete the /mkcert folder (it was still there after the uninstall).
Run mkcert -install

Seems to work.

Wow thank you, this fixed it! :heart:


⚠ Bofrost.be has degraded performance

In fa9265f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2413 ms

Resolved: Bofrost.be performance has improved in c7d0ec5.


Add RelevantMessage and add a method  Retriever Interface

RelevantMessage

I modified the relevant Message implementation in langchain4j, such as adding RelevantMessage. The reason for this is that during the process of using the Retriever, I obtain some information, but this information is useless when I submit it to the large model for the next time. Unfortunately, there is no convenient way to remove this information here. This can cause a significant issue, as the length of the large model is limited, and exceeding this size can occur if the conversation exceeds a certain number. Therefore, it is necessary to introduce this type of Message to remove such messages during the submission process.
2.Simultaneously, it is also necessary to modify the Retriever interface by changing it to:
List<T> findRelevant(Object memoryId, String text);

This modification is needed because, in many instances, I need to identify which user executed this interface method. By passing the memoryId, I can transmit this information. Through this information, it becomes possible to discern the queries of different users since there might be scenarios with concurrent calls from multiple users to this method. Furthermore, each memoryId may correspond to multiple query conditions.

This time, I only modified the Retriever interface by adding a default implementation. A section of the EmbeddingStore interface also saw the addition of a default implementation. The purpose of this is to pass the "MemoryId" field, allowing users to customize the Chain and utilize "MemoryId" to distinguish between different users' requests. This is crucial because it's not just the EmbeddingText field that needs to be queried, and different users may have additional query conditions.


Feedback for “Sui dApp Kit”

do you plan to add Vue.js support or will it always be React-only?

We have plans to extract framework agnostic functionality to make it easy to work with wallets in other frameworks.  I don't have any concrete timelines to share about this though.
We don't currently have plans for fully functional components in other frameworks, but we can likely provide enough  framework agnostic functionality that the components (connect button and modal) become fairly trivial to implement in a hy framework

sounds great! enjoying the dApp Kit so far... React implementation working well


Compatibility update for Cardano GraphQL 2.0.0

Implements basic compatibility updates to support the next version of the API, with minimal changes.
Draft until npm package is available

@disassembler @johnalotoski
Failing tests here are due to remote API deployment not yet re-built from cardano-db-sync update.


'Maximum Characters' feature not working with numbers (possible feature request?)

Plugin Version
Data Populator for Sketch 3.0.3
Description
The 'maximum character' feature doesn't work with number values.
Proposition
If there are plans to add filtering functionality for data inputs as 'numbers' (examples: greater than, less than, parity checking, etc.) then the 'max' filter should remain as-is, handling strictly 'string' inputs. However, if those features aren't in the pipeline, I'd propose 'number' inputs be converted to 'strings' before populating placeholders, such that the 'max' filter can be taken advantage of.
Reproduction
Steps to reproduce the behavior:

Go to the Boarding Pass example in the demo document
Set data URL to 'https://www.datapopulator.com/demodata/boardingpass.json'
Change {qr.id} to {qr.id | max 5}
See error

Expected behavior
The input value to be trimmed to the input number of characters, whether the input is of type 'string' or 'number'.
Environment

macOS Version: macOS Mojave 10.14
Sketch Version: 52.5
Plugin Version: 3.0.3

@bgott we’d actually love to add numbers specific filters at some point – even some basic calculation would be great (see #113). would you be up helping here? :-)


No issue other than lack of documentation for the not so bright ones (me).

First I would like to thank you for the work done. This might be the solution I have been looking for. :) The manual installation went fine... but I'm not sure about the configuration of this thing.
I travel a lot for work and I want to use my o365 calendar entries as a base for setting travel_mode in HA. In Outlook I always add an event with the subject "Hotel" at 18:00 to 18:00, same day.
What I want is for the o365 Integration pick this up and set the sensor to on thus letting HA know that I'm not coming home. Would work nice in a bayesian sensor.
This is what I have in my o365_calendar_.yaml. Is this file to be stored in the same folder as configuration.yaml btw?
`- cal_id: xxxx
entities:

device_id: calendar_work
end_offset: 24
name: Calendar
search: Hotel
start_offset: 0
track: true`

cal_id... Where to I find this o365 unique generated ID?
start_offset and end_offset... I can't wrap my head around those.
Under Entities in HA I found several calendars, my calendars and shared. I only want the one calendar I define in o365_calendar.yaml. I understand that I have not configured it correctly. Will the calendars I do not set cal_id be removed automatically?
This is what I have in configuration.yaml. I have no need for e-mail, only calendars.
o365:   client_secret: "removed"   client_id: "removed"
Did I remove too much or is this OK?
Thank you in advance.

Did you figure this out?

No, not really.
I haven't had the time to test this by trail and error... but someday... because this add-on seems to do what I want.

It actually works. o365_calendars.yaml has to be in HA's main config folder just where configuration.yaml is. And yes, the documentation is not clear on how to create this file, because it turned out that the component creates it automatically with all the correct values filled in, as soon as it successfully connected to O365. (I succeeded with alt_auth_flow option enabled, which is better for installs not reachable from outside).

Thanks for helping out. Removed my o365_calendars.yaml and restarted HA. A new file was automatically generated and populated with data. I will tinker a bit. :)

Hello
As stated by @nagyrobi the o365_calendars.yaml file will be automatically generated by the component on start up, including the calendar id, this id should not be updated or modified in any way by you.
Regarding the offset settings, that's for if you want to for example only get events 24h into the future instead of current ones. For the majority of users, this setting should just be ignored.
Your configuration.yaml entry should work.
If you want to hide your other calendars, just set the "track" setting to False. Then they will no longer show up in your entities.


Draft: Disable stdlib embedding to see if compilation completes.

To test if CI will complete if we disable stdlib embedding.

Closed as fixed with #3240


New App Screen

This is the list of remaining things to do before we can ship the new app screen (see https://github.com/react-native-community/discussions-and-proposals/issues/122). The initial version of the code was landed via https://github.com/facebook/react-native/pull/24737:

[x] Fix up the styling and color names a bit more.
[x] Split up the components the way @orta proposed so we'll have some good sample code in the App.js template.
[ ] Make it so that links tapped will send an open-in-browser command via Metro on the host instead of in the emulator. See https://github.com/react-native-community/cli/blob/885f2c28d4e8ed66e334fd7bd0174173b2a394e1/packages/cli/src/commands/server/middleware/openStackFrameInEditorMiddleware.js for how we are doing this in the cli/metro (this may need some changes to the CLI and Metro) and https://github.com/facebook/react-native/blob/1151c096dab17e5d9a6ac05b61aacecd4305f3db/Libraries/Core/Devtools/openFileInEditor.js (@lucasbento)
[ ] Add a "Follow us on Twitter" button 😄
[ ] Actually put this all in the template so it can be shipped as part of 0.61.

cc @eliperkins @lucasbento would be awesome if you could help out! :)

I would love to help on this, specially the opening links on the browser part.
Would this be targeting 0.61? I'm currently busy with some stuff for the CLI but I would probably be able to do some stuff for this next week.

Yep, 0.61. Ideally we'll wrap this work up by the end of the month.

@eliperkins do you wanna take care of adding a follow on twitter link + putting it into the actual template? :)

@cpojer sure thing. I'll tackle the moving to the template part now that the polish PR has landed.
As for the Twitter link, do you expect that to be a link to https://twitter.com/reactnative or is there another, more follow-specific link that we can put in there?

Yep, that links is good :)

#24805 and #24806 are up now!
I think there's still some work to do to rearrange components and tuck some complexity away before I'd call this template ready to ship, so I'd love some feedback.

@ericlewis opened a PR for the open in browser functionality on CLI: react-native-community/cli#383.

Alright, so the main remaining thing is to hook up @ericlewis's new feature with the buttons in the new app screen. @lucasbento could you make that happen? Ideally if you could add a video in the test plan to show that it works that would be best :D

Thank you everyone for making this happen. This was a super awesome collaboration between so many people. @rickhanlonii and I made a brief video to show off the new screen: https://www.youtube.com/watch?v=ImlAqMZxveg&feature=youtu.be

@cpojer Can we upgrade typescript template to support this? Typescript template is still using old screen..

Give it a shot at updating yourself @gamingumar - I think it's this one: https://github.com/react-native-community/react-native-template-typescript

Hi @orta Sure, I can create a PR for it, just need an input where should that typescript template live? As this one lives in react-native/Libraries


Fastify adapter is not creating request contexts for POST requests

Describe the bug
Fastify adapter is not creating request contexts for POST requests.

side note: if you say "all latest" in the versions part, you are doing it very wrong. you should put the exact versions you are using. how can i know what does latest mean? latest master? latest 4.x version? latest stable? and if i release new version tomorrow, will that mean it was latest stable yesterday?
it needs to be exact versions, so we get the same information even when we get to the issue in several months.
anyway, you already created the very same issue, this is duplicate of #46, the error in v4 was different, but with the same cause. i will keep this one as here we actually have proper reproduction.

#https://github.com/mikro-orm/nestjs/issues/31

Hello,
Apparently, fastify's body-parser middleware loses the AsyncResource context while parsing the POST data. NestJS uses fastify-formbody package under the hood, and that one uses Node's querystring package. While the POST data is being parsed, the AsyncResource context has been lost.
Here is a simple patch that I wrote to overcome this problem.
import { AsyncResource } from 'async_hooks';
import { HttpAdapterHost } from '@nestjs/core';

import type { FastifyAdapter } from '@nestjs/platform-fastify';

export class AppModule {
  constructor(adapterHost: HttpAdapterHost<FastifyAdapter>) {
    adapterHost.httpAdapter?.getInstance()
      .addHook('onRequest', (req, _res, done) => {
        req.ctx = new AsyncResource('FastifyNestJSMikroORM');
        done();
      })
      .addHook('preValidation', (req, _res, done) => {
        req.ctx.runInAsyncScope(done);
      });
  }
}

Although this is not something related to MikroORM, I thought that sharing a simple solution for the problem can be something useful.


Defaults in yaml file

This morning with @scalaquest/team-1 we put pandoc metadata in a separate file, together with some more styling for the latex output, and the chapter index (as stated in #12).

e1a0c83 appends on the title page of LaTeX reports the date on which the release has been generated.


Optionally add task to subset name

We are currently adding task name to subset name only for renders, to make sure we prevent any overwriting and mixing up. While modelling subset will look like this modelMain, modelBroken , modelHires; published renders look like this renderLighitngMain, renderLightingBG , renderCompositingMain,
From user feedback it is clear that there are more scenarios where embedding task name into a subset is desirable so we should allow for this behaviour across the board, rather than treating renders as something speciall.
Proposal
Add new option to settings when the user could map which families should have task added to the subset name automatically
This needs to be filterable based on host, task, family for now.
Ideally we should also make it possible to choose whether to fill in Task name, task type or task short code, considering we can work with them now.

Maybe we could make this simply part of anatomy, using the same keys to define subset names for various families.
Example, where subsetName is taken from the user filled subset name in the creator
"subsets":
    "render": "{family}{task[code]}{subsetName}"
    "animation": "{family}{task[type]}{subsetName}"
    "image": "{family}{task[name]}{subsetName}"

another studio might want to remove the family from the name altogether, which would effectively allow switching to more of a linear, task based workflow.
"subsets":
    "render": "{task[name]}{subsetName}"
    "animation": "{task[name]}{subsetName}"
    "image": "{task[name]}{subsetName}"


Label dataset 2

Nanci to label dataset 2
Blocks

#68

Blocked by

#65

Done except for last day and half of second-to-last (and unlikely to get done)


crash on 2021.3.11f1 can't open data.unity3d

packageName：com.GameCoaster.DungeonSquad
version：0.86
download path: https://apklust.com/en/dungeon-squad-apk

Have you tried at3 nightly?
https://nightly.link/nesrak1/UABEA/workflows/dotnet-desktop/at3/uabea-windows.zip

thanks! this version can use!


fix: add kustomize samples for bundle generation

What this PR does / why we need it:
This PR adds samples ControlPlane and DataPlane samples as well as more real realistic sample for GatewayConfiguration.
It also regenerates the bundle manifests via make bundle.
Thanks to this patch the following errors during bundle generation disappear:
WARN[0000] ClusterServiceVersion validation: [OperationFailed] provided API should have an example annotation
WARN[0000] ClusterServiceVersion validation: [OperationFailed] provided API should have an example annotation
INFO[0000] Creating bundle.Dockerfile
INFO[0000] Creating bundle/metadata/annotations.yaml
INFO[0000] Bundle metadata generated suceessfully
<DIR>/bin/operator-sdk bundle validate ./bundle
WARN[0000] Warning: Value gateway-operator.konghq.com/v1alpha1, Kind=ControlPlane: provided API should have an example annotation
WARN[0000] Warning: Value gateway-operator.konghq.com/v1alpha1, Kind=DataPlane: provided API should have an example annotation

Open questions
Are those added samples representative enough? Or do we want to provide different ones instead?

bundle/manifests/operator.clusterserviceversion.yaml is generated. Will that change be overwritten after running make bundle?

bundle/manifests/operator.clusterserviceversion.yaml is generated. Will that change be overwritten after running make bundle?

make bundle will take kustomize files from config/manifests which includes ../samples which in turn contains files that I changes in this PR. This in turn is taken into account when generating clusterserviceversion.yaml
So to answer your question: I've regenerated the files so that now make bundle doesn't produce a diff as of this PR.


custom master addr and port

part of
https://github.com/InternLM/lmdeploy/pull/1326

Since TP module has been refactor in https://github.com/InternLM/lmdeploy/pull/1392, this PR should not be merge.


LogoutOtherDevices doesn't appear to update the authentication_log

When users are clearing all other devices, it doesn't appear to hit the authenitcation_log. Scratching my head as to why.

Cause this package wasn't built or updated to support jetstream (browser sessions) specifically... Feel free to open a pr with to add support for it.
-TT

Not using jetstream, but yeah, that's the route I'm going down at the moment. Thanks TechTailor.
Will see what I can come up with :+1:

Actually, now that you have brought it up, I think I will probably create another listener and add a pr for it by the weekend (if you haven't done it by then).
-TT

@LorenzoSapora I have added a PR for this. Try it out if you haven't done an implementation yourself.
-TT


13/Add earthquake streaming for geo-tweets

This PR uses the latest version of tweepy to interact with Twitter API v2.

Hi @lletassey. Can you review this PR?


Comment Highlighting

Thus far, I haven't been able to figure out why comments (documentation or otherwise) aren't getting highlighted properly.  They're always the basic text color.

Damnit.  I thought I fixed it to use parser.ParseComments long ago, but that's apparently not the case.  Fixed.


Include only files in rpm spec.

The patch actually breaking "make rpm"
[tjyang@fedora21 novm]$ make rpm

/usr/lib/novm/python/novm/serial.pyc
/usr/lib/novm/python/novm/serial.pyo
/usr/lib/novm/python/novm/shell.pyc
/usr/lib/novm/python/novm/shell.pyo
/usr/lib/novm/python/novm/state.pyc
/usr/lib/novm/python/novm/state.pyo
/usr/lib/novm/python/novm/utils.pyc
/usr/lib/novm/python/novm/utils.pyo
/usr/lib/novm/python/novm/virtio.pyc
/usr/lib/novm/python/novm/virtio.pyo
Makefile:104: recipe for target 'rpm' failed
make: *** [rpm] Error 1
[tjyang@fedora21 novm]$

It was working on my system, so I'm not sure what went wrong.
Anyways, I've made the list explicit with #17, so I hope the problem is gone now.

Yes, the problem went away. But please make sure to include "/usr/bin/novm-docker" in the file list.

Note that novm-docker should be gone as of 90a34faa8c2addf9b60ae2a0a5dd6cce5c04000b.


Simpleloader add merge schema option

The simpleloader uses the default mergeschema setting. Therefore merging schemas is already handled in this way.


CRIO isn't working with Kube 1.8 --runtime-request-timeout duration

Hi! I am trying to run Kubernetes with CRI-O, RunC. I have changed the kubelet extra args to hit crio.sock.
But when i enter "kubeadm init  --skip-preflight-checks" the process fails with this error
This error is likely caused by that:         - The kubelet is not running         - The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)         - There is no internet connection; so the kubelet can't pull the following control plane images:                 - gcr.io/google_containers/kube-apiserver-amd64:v1.8.0                 - gcr.io/google_containers/kube-controller-manager-amd64:v1.8.0                 - gcr.io/google_containers/kube-scheduler-amd64:v1.8.0
I can see this log via journalctl =>
Oct 02 10:24:21 crio-test-ab-01 kubelet[5531]: --runtime-request-timeout duration                         Timeout of all runtime requests except long running request - pull, logs, exec and attach. When timeout exceeded, kubelet will cancel the request, throw out an error and retry later. (default 2m0s)
I working on centos 7.3, kube 1.8 and built CRIO from source.

(required cgroups disabled) - There is no internet connection; so the kubelet can't pull the following control plane images

That flag isn't the issue, you seem to have not the required cgroup mounts

Thanks for the feedback, as we conversed on the slack channel. This issue is related to the old deperacted flag being used in the crio-ansible playbook. I will be opening the issue there with details. Thanks.


Reference page for an example does not renders correctly on mobile

Actual Behaviour
Reference page for an example does not renders correctly on mobile.

Expected Behaviour
The page should be mobile friendly and should render correctly like all other pages.

Steps to reproduce it

On the 'Reference' page, click on any example for its reference.
The page rendered is not mobile friendly.

Screenshots of the issue

I want to work on this issue.

Please check the changes I've made.


A long string without spaces and line breaks is drawn without word wrap in Linux

Below is the code-snippet illustrating the issue. In Windows the code works fine.
RectangleF textRect = new RectangleF(new PointF(0, 0), new SizeF(115, 44));
Rectangle borderRect = new Rectangle(new Point(0, 0), new Size(116, 45));
string textToDraw = "WordWrapWordWrapWordWrapWordWrapWordWrapWordWrapWordWrapWordWrapWordWrap";
Image img = new Bitmap(117, 46);
Graphics gr = Graphics.FromImage(img);
Font font = new Font("Arial", 9.75f);
Brush brush = Brushes.Black;
gr.DrawRectangle(new Pen(brush), borderRect);
gr.DrawString(textToDraw, font, brush, textRect);
img.Save("drawing.png", ImageFormat.Png);

Thanks,
Andy.

Is there any movement on this?
We have the same problem with controls on CentOS!

The same issue, using v6.0.5 on Debian
Also, the rest of the text after this long word is not displayed at all ...


Multiple trakt lookup crashes

@Flexget/trakt Got several trakt lookup crashed, I think all can be trace to same source issue so i'm combining them:
2016-01-21 09:54 VERBOSE  task          download_tv_shows ACCEPTED: `The.Flash.2014.S02E10.720p.HDTV.X264-DIMENSION` by series plugin because quality wanted
2016-01-21 09:54 INFO     download      download_tv_shows Downloading: The.Flash.2014.S02E10.720p.HDTV.X264-DIMENSION
2016-01-21 09:54 VERBOSE  details       download_tv_shows Summary - Accepted: 1 (Rejected: 0 Undecided: 19 Failed: 0)
2016-01-21 09:54 ERROR    lazy_lookup   download_tv_shows Unhandled error in lazy lookup plugin
2016-01-21 09:54 CRITICAL manager       download_tv_shows An unexpected crash has occurred. Writing crash report to C:\Users\orcar_000\Dropbox\Flexget Data\crash_report.2<IP_ADDRESS>445374000.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 1.2.432
2016-01-21 09:54 ERROR    lazy_lookup   download_tv_shows Unhandled error in lazy lookup plugin
2016-01-21 09:54 CRITICAL manager       download_tv_shows An unexpected crash has occurred. Writing crash report to C:\Users\orcar_000\Dropbox\Flexget Data\crash_report.2<IP_ADDRESS>446460000.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 1.2.432
2016-01-21 09:54 ERROR    lazy_lookup   download_tv_shows Unhandled error in lazy lookup plugin
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\flexget\utils\lazy_dict.py", line 36, in __getitem__
    func(self.store)
  File "C:\Python27\lib\site-packages\flexget\plugins\metainfo\trakt_lookup.py", line 190, in lazy_episode_lookup
    episode = series.get_episode(entry['series_season'], entry['series_episode'])
  File "C:\Python27\lib\site-packages\flexget\plugins\api_trakt.py", line 387, in get_episode
    episode = self.episodes.filter(TraktEpisode.season == season).filter(TraktEpisode.number == number).first()
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2634, in first
    ret = list(self[0:1])
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2457, in __getitem__
    return list(res)
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2735, in __iter__
    self.session._autoflush()
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\session.py", line 1315, in _autoflush
    util.raise_from_cause(e)
  File "C:\Python27\lib\site-packages\sqlalchemy\util\compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb)
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\session.py", line 1305, in _autoflush
    self.flush()
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\session.py", line 2027, in flush
    self._flush(objects)
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\session.py", line 2145, in _flush
    transaction.rollback(_capture_exception=True)
  File "C:\Python27\lib\site-packages\sqlalchemy\util\langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\session.py", line 2109, in _flush
    flush_context.execute()
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\unitofwork.py", line 373, in execute
    rec.execute(self)
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\unitofwork.py", line 532, in execute
    uow
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\persistence.py", line 174, in save_obj
    mapper, table, insert)
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\persistence.py", line 800, in _emit_insert_statements
    execute(statement, params)
  File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 914, in execute
    return meth(self, multiparams, params)
  File "C:\Python27\lib\site-packages\sqlalchemy\sql\elements.py", line 323, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1010, in _execute_clauseelement
    compiled_sql, distilled_params
  File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1146, in _execute_context
    context)
  File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "C:\Python27\lib\site-packages\sqlalchemy\util\compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb)
  File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1139, in _execute_context
    context)
  File "C:\Python27\lib\site-packages\sqlalchemy\engine\default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
IntegrityError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (sqlite3.IntegrityError) column search is not unique [SQL: u'INSERT INTO trakt_show_search_results (search, series_id) VALUES (?, ?)'] [parameters: (u'The Flash (2014)', 60300)]

And:
016-01-21 09:54 VERBOSE  task          download_tv_shows ACCEPTED: `The.Flash.2014.S02E10.720p.HDTV.X264-DIMENSION` by series plugin because quality wanted
2016-01-21 09:54 INFO     download      download_tv_shows Downloading: The.Flash.2014.S02E10.720p.HDTV.X264-DIMENSION
2016-01-21 09:54 VERBOSE  details       download_tv_shows Summary - Accepted: 1 (Rejected: 0 Undecided: 19 Failed: 0)
2016-01-21 09:54 ERROR    lazy_lookup   download_tv_shows Unhandled error in lazy lookup plugin
2016-01-21 09:54 CRITICAL manager       download_tv_shows An unexpected crash has occurred. Writing crash report to C:\Users\orcar_000\Dropbox\Flexget Data\crash_report.2<IP_ADDRESS>445374000.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 1.2.432
2016-01-21 09:54 ERROR    lazy_lookup   download_tv_shows Unhandled error in lazy lookup plugin
2016-01-21 09:54 CRITICAL manager       download_tv_shows An unexpected crash has occurred. Writing crash report to C:\Users\orcar_000\Dropbox\Flexget Data\crash_report.2<IP_ADDRESS>446460000.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 1.2.432
2016-01-21 09:54 ERROR    lazy_lookup   download_tv_shows Unhandled error in lazy lookup plugin
2016-01-21 09:54 CRITICAL manager       download_tv_shows An unexpected crash has occurred. Writing crash report to C:\Users\orcar_000\Dropbox\Flexget Data\crash_report.2<IP_ADDRESS>446860000.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 1.2.432
2016-01-21 09:54 ERROR    lazy_lookup   download_tv_shows Unhandled error in lazy lookup plugin
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\flexget\utils\lazy_dict.py", line 36, in __getitem__
    func(self.store)
  File "C:\Python27\lib\site-packages\flexget\plugins\metainfo\trakt_lookup.py", line 263, in lazy_watched_lookup
    item = lookup(**lookupargs)
  File "C:\Python27\lib\site-packages\flexget\utils\database.py", line 27, in wrapper
    return func(*args, **kwargs)
  File "C:\Python27\lib\site-packages\flexget\plugins\api_trakt.py", line 670, in lookup_series
    if series and title.lower() == series.title.lower():
AttributeError: 'NoneType' object has no attribute 'lower'

The second one seems easy enough to fix, although I don't get why it happens.

I guess the first one is because the show data expired.

I have similar code in tvmaze and I thought the same thing but it wasn't it.  I ended up just adding a lookup to search table before adding to verify it's a new entry.
Not very pretty but it works (i hope...)

Are you fixing this one then?

I can, but thoguht I'd leave it to you.


Render the index/default page completely client-side

The default page used to leverage a /modelview endpoint
on the Scala server to generate a model to pass into its
Mustache template. The logic from that /modelview endpoint
is now ported to JavaScript, so that all the pre-rendering
business logic happens on the client side.
Since this is a high-risk change, the /modelview endpoint
still exists on the server. Every time we request a page,
the UI will actually fetch a processed version from that
endpoint as well, and compare the Scala version with
the JavaScript version. The idea is that we can compare
outputs of the two, and if there's a difference, we can
assume that's a bug in the JavaScript port.
The endpoint, and the UI logic to compare implementations,
will soon be removed, after testing.

Please don't merge this PR yet - I really need people to test
this change manually!
It would be great if you can checkout this branch, start
zipkin-web and look at a few trace summaries. (Not traces,
but the list of trace summaries/search results on the front
page).
In the browser debugger, there's a console.log thing that
logs whether the JavaScript implementation gives the same
result as the Scala implementation, given the same input.
I would love to hear if anybody experiences a situation where
the two implementations produce different output - and in
that case, what the input was.
If you've tried running zipkin-web with this change, and you
found no bugs, be sure to +1 the PR. Whenever we're sure
that most bugs are cleared out, I'll update with another commit
that removes the automatic scala-vs-javascript-comparison
on every page load.

looks like a mild precision error in the assertion of durationStr.
AssertionError: expected [ { traceId: '56bea38b40e95f83',
    startTs: '02-29-2016T09:09:45.388+0800',
    timestamp:<PHONE_NUMBER>388000,
    duration: 3948.889,
    durationStr: '3948.889ms',
    servicePercentage: 100,
    spanCount: 1,
    serviceDurations: [ [Object], remove: [Function] ],
    width: 100 },
  remove: [Function] ] to deeply equal [ { traceId: '56bea38b40e95f83',
    startTs: '02-29-2016T09:09:45.388+0800',
    timestamp:<PHONE_NUMBER>388000,
    duration: 3948,
    durationStr: '3.948s',
    servicePercentage: 100,
    spanCount: 1,
    serviceDurations: [ [Object], remove: [Function] ],
    width: 100 },
  remove: [Function] ]

Here's a longer one..
Uncaught AssertionError: expected [ { traceId: '56bea38b40e95f83',
    startTs: '02-29-2016T09:09:45.388+0800',
    timestamp:<PHONE_NUMBER>388000,
    duration: 3948.889,
    durationStr: '3948.889ms',
    servicePercentage: 100,
    spanCount: 1,
    serviceDurations: [ [Object], remove: [Function] ],
    width: 100 },
  { traceId: '249628f4fa8f23d3',
    startTs: '02-29-2016T09:21:10.066+0800',
    timestamp:<PHONE_NUMBER>066000,
    duration: 50,
    durationStr: '50.000ms',
    servicePercentage: 57,
    spanCount: 8,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 1 },
  { traceId: '6d59dbe7ea141366',
    startTs: '02-29-2016T09:21:10.066+0800',
    timestamp:<PHONE_NUMBER>066000,
    duration: 50,
    durationStr: '50.000ms',
    servicePercentage: 57,
    spanCount: 8,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 1 },
  { traceId: 'ef2ce5f890aee2dd',
    startTs: '02-29-2016T09:21:21.907+0800',
    timestamp:<PHONE_NUMBER>907000,
    duration: 16,
    durationStr: '16.000ms',
    servicePercentage: 87,
    spanCount: 8,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  { traceId: '57b9953167173b3f',
    startTs: '02-29-2016T09:22:56.985+0800',
    timestamp:<PHONE_NUMBER>985000,
    duration: 13,
    durationStr: '13.000ms',
    servicePercentage: 100,
    spanCount: 5,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  { traceId: 'fe33e75d70447b1d',
    startTs: '02-29-2016T09:21:21.966+0800',
    timestamp:<PHONE_NUMBER>966000,
    duration: 6,
    durationStr: '6.000ms',
    servicePercentage: 66,
    spanCount: 8,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  { traceId: '7318dcb23457300f',
    startTs: '02-29-2016T09:21:21.966+0800',
    timestamp:<PHONE_NUMBER>966000,
    duration: 6,
    durationStr: '6.000ms',
    servicePercentage: 66,
    spanCount: 8,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  { traceId: '2a47be612f5c86b7',
    startTs: '02-29-2016T09:21:22.020+0800',
    timestamp:<PHONE_NUMBER>020000,
    duration: 3,
    durationStr: '3.000ms',
    servicePercentage: 100,
    spanCount: 5,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  remove: [Function] ] to deeply equal [ { traceId: '56bea38b40e95f83',
    startTs: '02-29-2016T09:09:45.388+0800',
    timestamp:<PHONE_NUMBER>388000,
    duration: 3948,
    durationStr: '3.948s',
    servicePercentage: 100,
    spanCount: 1,
    serviceDurations: [ [Object], remove: [Function] ],
    width: 100 },
  { traceId: '6d59dbe7ea141366',
    startTs: '02-29-2016T09:21:10.066+0800',
    timestamp:<PHONE_NUMBER>066000,
    duration: 50,
    durationStr: '50.000ms',
    servicePercentage: 58,
    spanCount: 4,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 1 },
  { traceId: '249628f4fa8f23d3',
    startTs: '02-29-2016T09:21:10.066+0800',
    timestamp:<PHONE_NUMBER>066000,
    duration: 50,
    durationStr: '50.000ms',
    servicePercentage: 58,
    spanCount: 4,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 1 },
  { traceId: 'ef2ce5f890aee2dd',
    startTs: '02-29-2016T09:21:21.907+0800',
    timestamp:<PHONE_NUMBER>907000,
    duration: 16,
    durationStr: '16.000ms',
    servicePercentage: 87,
    spanCount: 4,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  { traceId: '57b9953167173b3f',
    startTs: '02-29-2016T09:22:56.985+0800',
    timestamp:<PHONE_NUMBER>985000,
    duration: 13,
    durationStr: '13.000ms',
    servicePercentage: 100,
    spanCount: 3,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  { traceId: '7318dcb23457300f',
    startTs: '02-29-2016T09:21:21.966+0800',
    timestamp:<PHONE_NUMBER>966000,
    duration: 6,
    durationStr: '6.000ms',
    servicePercentage: 66,
    spanCount: 4,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  { traceId: 'fe33e75d70447b1d',
    startTs: '02-29-2016T09:21:21.966+0800',
    timestamp:<PHONE_NUMBER>966000,
    duration: 6,
    durationStr: '6.000ms',
    servicePercentage: 66,
    spanCount: 4,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  { traceId: '2a47be612f5c86b7',
    startTs: '02-29-2016T09:21:22.020+0800',
    timestamp:<PHONE_NUMBER>020000,
    duration: 3,
    durationStr: '3.000ms',
    servicePercentage: 100,
    spanCount: 3,
    serviceDurations: [ [Object], [Object], remove: [Function] ],
    width: 0 },
  remove: [Function] ]

Here's the associated json:
[{"traceId":"56bea38b40e95f83","name":"bootstrap","id":"56bea38b40e95f83","timestamp":1456708185388000,"duration":3948889,"annotations":[{"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411},"timestamp":1456708185437062,"value":"ApplicationStarted"},{"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411},"timestamp":1456708185615720,"value":"ApplicationEnvironmentPrepared"},{"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411},"timestamp":1456708185720714,"value":"ApplicationPrepared"},{"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411},"timestamp":1456708189236645,"value":"ContextRefreshed"},{"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411},"timestamp":1456708189332465,"value":"EmbeddedServletContainerInitialized"},{"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411},"timestamp":1456708189336886,"value":"ApplicationReady"}],"binaryAnnotations":[{"key":"lc","value":"spring-boot","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}}],"debug":false}]

You can post the json to your query server like so.. curl -s localhost:9411/api/v1/spans -X POST -H "Content-Type: application/json" -d ...

Thanks a lot! :-D I'll have a look at the diffs!
durationStr is somewhat dumber implemented in JavaScript, it only shows it as number of milliseconds with 3 digits precision. I'll have to implement the Scala logic that shows the best measuring unit based on the given value.

I've now pushed a similar JavaScript port of the trace rendering.
It's being compared in the browser the same way as with the index/default page.
More unit tests would be nice, but I'm also looking forward to receiving some feedback from people who have tested this with real-life traces? @adriancole @yurishkuro do you have time to run this branch locally and look for errors in the browser console debugger?
When this PR is fixed and merged, all the heavy lifting is done. There's no more business logic on the server side of zipkin-web (it's basically a reverse proxy + static file server, written in Scala), so we will almost be ready to package zipkin-web as a .zip/tar.gz of assets, and possibly serve them directly from zipkin-query.

@adriancole the durationStr thing should be fixed now. Was that the only problem with the JSON you posted?

only found two last glitches:
app.min.js:19480 Uncaught AssertionError: Expected to have "<IP_ADDRESS>:0" but got "<IP_ADDRESS>:undefined" at path "/spansBackup/0/annotations/0/endpoint".

And this..
app.min.js:19480 Uncaught AssertionError: Expected to have "1+-0.001" but got "3" at path "/0/spanCount".

Above for the following trace:
[{"traceId":"d397ce70f5192a8b","name":"get","id":"d397ce70f5192a8b","timestamp":1457160374149000,"duration":2000,"annotations":[{"timestamp":1457160374149000,"value":"sr","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}},{"timestamp":1457160374151000,"value":"ss","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}}],"binaryAnnotations":[{"key":"http.path","value":"/api/v1/services","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"key":"srv/finagle.version","value":"6.33.0","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"key":"sa","value":true,"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}},{"key":"ca","value":true,"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":56828}}]}]

Thanks for reporting! The two errors should both be fixed now.

Thanks for your patience, Eirik. Found a couple more.
from index:
app.min.js:19480 Uncaught AssertionError: Expected to have "e3a98be7d2f22205" but got "a25ceb4232891c35" at path "/5/traceId".

From trace detail:
app.min.js:19480 Uncaught AssertionError: Expected to have "Server Address" but got "sa" at path "/spansBackup/0/binaryAnnotations/2/key".

with trace:
[{"traceId":"2480ccca8df0fca5","name":"get","id":"2480ccca8df0fca5","timestamp":1457186385375000,"duration":333000,"annotations":[{"timestamp":1457186385375000,"value":"sr","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}},{"timestamp":1457186385708000,"value":"ss","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}}],"binaryAnnotations":[{"key":"http.path","value":"/api/v1/trace/d397ce70f5192a8b","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"key":"srv/finagle.version","value":"6.33.0","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"key":"sa","value":true,"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}},{"key":"ca","value":true,"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":57602}}]}]

Thanks for finding all the bugs! :+1: :+1:

Expected to have "e3a98be7d2f22205" but got "a25ceb4232891c35"

Are you sure you posted the correct data? I cannot find any of these IDs in that JSON.

I fixed the "sa -> Server Address" bug. Also added source map support to karma, so it's easier to see where a bug is coming from.

looks like the gradle test pattern needs to recurse directories:
06 03 2016 13:35:51.753:WARN [watcher]: Pattern "/Users/acole/oss/zipkin/zipkin-web/src/main/resources/app/test/*test.js" does not match any file.

on the index page, maybe this is an ordering error?
Uncaught AssertionError: Expected to have "6ff1c14161f7bde1" but got "9ed44141f679130b" at path "/5/traceId".

Here's the  two traces:
[{"traceId":"6ff1c14161f7bde1","name":"get","id":"6ff1c14161f7bde1","timestamp":1457186441657000,"duration":4000,"annotations":[{"timestamp":1457186441657000,"value":"sr","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}},{"timestamp":1457186441661000,"value":"ss","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}}],"binaryAnnotations":[{"key":"http.path","value":"/api/v1/trace/2480ccca8df0fca5","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"key":"srv/finagle.version","value":"6.33.0","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"key":"sa","value":true,"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}},{"key":"ca","value":true,"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":57603}}]}]

[{"traceId":"9ed44141f679130b","name":"get","id":"9ed44141f679130b","timestamp":1457186568026000,"duration":4000,"annotations":[{"timestamp":1457186568026000,"value":"sr","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}},{"timestamp":1457186568030000,"value":"ss","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}}],"binaryAnnotations":[{"key":"http.path","value":"/api/v1/trace/2480ccca8df0fca5","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"key":"srv/finagle.version","value":"6.33.0","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"key":"sa","value":true,"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":9411}},{"key":"ca","value":true,"endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>","port":57603}}]}]

looks like a slight naming mismatch, too
app.min.js:19480 Uncaught AssertionError: Expected to have "Local Address" but got "Local Component" at path "/spansBackup/0/binaryAnnotations/1/key".Assertion.assert @ app.min.js:19480(anonymous function) @ app.min.js:23380ctx.(anonymous function) @ app.min.js:19067success @ app.min.js:56958fire @ app.min.js:4755self.fireWith @ app.min.js:4885done @ app.min.js:10330(anonymous function) @ app.min.js:10696

For trace
[{"traceId":"f434dda9b8a7c3d8","name":"bootstrap","id":"f434dda9b8a7c3d8","timestamp":1457242094915000,"duration":301000,"annotations":[{"timestamp":1457242094915000,"value":"init","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"timestamp":1457242094915000,"value":"warmup","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}},{"timestamp":1457242095216000,"value":"cr","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}}],"binaryAnnotations":[{"key":"lc","value":"finatra","endpoint":{"serviceName":"zipkin-query","ipv4":"<IP_ADDRESS>"}}]}]

Thanks a lot for finding all these bugs!
I fixed the "Local Address" bug, I think.
The ordering problem is probably due to implementation differences in browsers; stable vs unstable sort. Both the traces have duration 4 ms/4000 microseconds. V8 does unstable sort, Webkit does stable sort (I think), and Scala appears to do a bit of both, depending on the method used.
I stabilised the sort by "tie-breaking" on trace ID, so if the durations are equal, we sort by trace ID.

@eirslett I agree that the sort order thing isn't a useful signal as indeed any time I get that exception, the traces have the same duration.
LGTM, so merge when ready! (I'm guessing the comparison calls are removed at this point)

I'll ditch this PR and make a new one, without the comparisons, and with only a single commit.

Closing in favor of #1017.


Keyboard nav for sequence: next/previous?

I may have overlooked it, but cannot find a keyboard event for next > previous < sources when using sequence mode.
If there isn't one built-in, what code would be used to make it so?
I use a localized version of Openseadragon on a laptop for presentations at speaking events - having more keyboard interaction would be nice.
Thanks.

There is not such a keyboard event, but I agree it would be handy! If you want to build it on top of OSD, you just need to listen for key events and figure out what key was pressed. For the actual next/previous, you can steal the code from here:
https://github.com/openseadragon/openseadragon/blob/92904b7ac9f46583a3ba9237446c0608a0eb2ca0/src/viewer.js#L3525
If you wanted to make a patch to OSD to support this, you'd want to make those functions actually members of the Viewer, and then add handlers here:
https://github.com/openseadragon/openseadragon/blob/92904b7ac9f46583a3ba9237446c0608a0eb2ca0/src/viewer.js#L2583
Any thoughts about what keys would be good for this feature?

Hi! I'm interested in this issue, and I'm going to give it a try.

Please do! :)

Fixed by #2007

@iangilman Shouldn't this issue be closed? Just checking...

@joedf Sure looks like it! I must have spaced out when I wrote the "fixed" comment and missed the "close with comment" button :D

No worries! I thought it was open and up for grabs. Just want to contribute what I can to the project. I don't mean to be annoying or bureaucratic. Love openseadragon, thanks for keeping it alive!

@joedf Not at all... I really appreciate all of your help!


Stats: Support recording Exemplars in the impl.

In the implementation, each histogram bucket can have up to one exemplar, and the exemplar array is guaranteed to be in ascending order. If there's no histogram, don't record exemplars.

Codecov Report

Merging #1294 into master will increase coverage by 0.11%.
The diff coverage is 93.1%.

@@             Coverage Diff              @@
##             master    #1294      +/-   ##
============================================
+ Coverage     82.66%   82.77%   +0.11%
- Complexity     1300     1301       +1
============================================
  Files           198      198
  Lines          6264     6275      +11
  Branches        580      584       +4
============================================
+ Hits           5178     5194      +16
+ Misses          927      922       -5
  Partials        159      159

Impacted Files
Coverage Δ
Complexity Δ

...a/io/opencensus/implcore/stats/IntervalBucket.java
100% <100%> (ø)
11 <0> (ø)
:arrow_down:

.../opencensus/implcore/stats/MeasureMapInternal.java
90% <100%> (+13.52%)
4 <1> (ø)
:arrow_down:

.../io/opencensus/implcore/stats/MutableViewData.java
97.22% <100%> (+0.06%)
15 <0> (ø)
:arrow_down:

...io/opencensus/implcore/stats/MeasureToViewMap.java
96.51% <100%> (ø)
26 <0> (ø)
:arrow_down:

.../opencensus/implcore/stats/MutableAggregation.java
97.41% <87.5%> (-1.65%)
0 <0> (ø)

...a/io/opencensus/implcore/stats/MeasureMapImpl.java
100% <0%> (+13.33%)
7% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Yarn Upgrade

This bumps dependencies and updates usages for some packages with breaking changes! :sparkles:

Best branch name eva.


CORE and CCSM Specifications - Editorial Review - Ready for approval

changes done:

updated table of content
updated introduction
BPI User changed to BPI Subject
BPI user account changed to BPI subject account
updated acknowledgement section
updated revision history section
links added

in progress:

started to update references, we need to follow ieee and w3c citations format appropriately
for some reasons, link for appendix c in table of content does not work

@Consianimis ... can this be completed in the next 24 hours such that the TSC members can review? cc @kthomas @humbitious

@kthomas , @Therecanbeonlyone1969 - This PR is now for approval and merge.


Proposal For Copywriting

Hello i went through your project and i want to say it is very nice. However i noticed you are missing out some important details like gaq, about us and privacy policy which users will be looking forward too. If you dont mind i can write that for you
contact me
email<EMAIL_ADDRESS>steemit.com/@ewuoso

thanks. sorry that this is a small tool atm and currently not required.


register all provider views with NO_PERMISSION_REQUIRED

register all provider views with NO_PERMISSION_REQUIRED, required for
pyramid apps that set default permission for all other views via configurator

Before I attempt to think about this, was it not necessary to add the permission to the callback URL as well?

Well you need to add a new view for authentication context to your config anyways, so you set the permission there:
config.add_view('myapp.user:oauth_connect',
context='velruse.api.AuthenticationComplete',
renderer='string',
permission='no_permission_required'
)
before the changes in this pull, i had to register everything for every provider

Oh duh, glad I made it clear that I didn't think before asking. :-) How about if I support config.add_facebook_login(..., permission=NO_PERMISSION_REQUIRED). The reason would be that you could use the login view with an already-authenticated user to escalate their facebook privileges or something. Do you think this makes sense?


⚠ GitLab Server has degraded performance

In 9cd514e, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 7833 ms

Resolved: GitLab Server performance has improved in 4c12e9f.


[REQUEST] Updater added functionality

Running the updater while having the latest version will result in the following:
[3/6] Comparing versions... Already up to date!
And the updater will remain open until manually closed.
My request is to add an auto-close countdown to the updater if it's already up to date.
Running the updater while having a lower version will result in the updater requesting to manually restart the OB2 instance.
My request is to add an option to auto-restart the OB2 instance (and will close the updater along with it).
This setting could be changed in the .json file.
Running the updater while OB2 is running could cause issues with the update, therefor I would request to add the updater the option to auto-close the OB2 instance in order to avoid issues.

Are you talking about OB2 web or native here? Because on web this is not feasible, and on native it's already implemented.

Are you talking about OB2 web or native here?

Uh, sorry, my bad, I was talking about OB2 Native.

on native it's already implemented.

The updater does NOT close when already up to date

You should not click on the updater by itself, when an update is available there will be a button in the Home tab of OB2. By clicking the button, it will automatically

Close OB2
Start the updater
Finish and close the updater
Restart OB2

All by itself. So don't click on the updater manually! I do not intend to change this.


Manage default ACLs

Enhancement Request
Description
When new group is created this ACLs is applied by default:
 1084     @580     -H---------------     *     -m--    #0
 1085     @580     --N----D---------     *     u---    #0

And there is no way for override this behavior, even if you do this with one.group.allocate method through XML-RPC API.
Use case
I use groups for manage quotas first and foremost, so I have a lot of groups.
But even more groups I have ACL rules, because when new group is created, two new ACLs was added.
For example: I don't need Datastore and Network permisions by default that creates by default when group is created.
I want to set access for selected datastores manually, by chmod permisions of resource.
But for now, I need remove all default acl's after group is created.
Interface Changes
I think there is can be some option in oned.conf file for disable or override default ACLs
Another way add third optional parameter (type: boolean) to one.group.allocate method for disable new ACLs when group creating.
In second case we also need additional key in CLI chekbox in Sunstone, when group is creating

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

I'm hitting the exact same thing. It'd be nice to be able to control ACLs without defaults getting in the way.

This issue can be closed, now default permissions can be set via oned.conf:
DEFAULT_VDC_HOST_ACL      = ""
DEFAULT_VDC_VNET_ACL      = ""
DEFAULT_VDC_DATASTORE_ACL = ""
DEFAULT_VDC_CLUSTER_HOST_ACL      = ""
DEFAULT_VDC_CLUSTER_NET_ACL       = ""
DEFAULT_VDC_CLUSTER_DATASTORE_ACL = ""


Tensorboard interceptor keeps receiving events even after training

This has low priority because it can be easily worked around by calling consumer.stop(), but this is a bug that should be fixed.

I removed this test: https://github.com/ORNL/flowcept/blob/main/tests/plugins/test_tensorboard.py#L155
Which may be related to this issue. When we fix tensorboard adapter issues, we should return with this test.

As of today, sometimes the assert len(docs) == 16 check still causes intermittent errors.
See: https://github.com/ORNL/flowcept/actions/runs/8023284655/job/21920203496?pr=111


submission deadline not updated on website

https://mlperf.org/ still shows Oct 31.

You're ahead of me as usual. :-) Done.


docs: update usePactRequest example / docs

Hey @B3nnyL , just been looking over the example for postman and cypress and I think this doc is wrong here, as the alias mapping is included in usePactRequest

Thanks!


BigQuery Service Account JSON Authentication not working with env_var

Describe the bug
Same that https://github.com/fishtown-analytics/dbt/issues/2553 but
If I just put the value:
private_key: XXX
it works but using env_var it does not.
Steps To Reproduce
Same that https://github.com/fishtown-analytics/dbt/issues/2553
private_key: "{{ env_var('BQ_PRIVATE_KEY') }}"
or
private_key: "{{env_var('BQ_PRIVATE_KEY')}}"
Expected behavior
dbt should run normally
Screenshots and log output
Could not deserialize key data.
System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[x] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
installed version: 0.18.1

The operating system you're using:
Debian GNU/Linux 10 (buster) --> docker image fishtownanalytics/dbt:0.18.1
The output of python --version:
Python 3.8.3

Workaround using vars:
profiles.yaml:
...
        private_key: "{{var('BQ_PRIVATE_KEY')}}"
...

Dockerfile:
FROM fishtownanalytics/dbt:0.18.1
ARG BQ_PRIVATE_KEY
ENV BQ_PRIVATE_KEY="$BQ_PRIVATE_KEY"
...
ENTRYPOINT [ "./run.sh"]

run.sh:
#! /bin/bash
dbt run --vars "BQ_PRIVATE_KEY: $BQ_PRIVATE_KEY"

building the image with the environment variable:
docker build --build-arg BQ_PRIVATE_KEY="$BQ_PRIVATE_KEY" ...

Workaround using vars:
profiles.yaml:
...
        private_key: "{{var('BQ_PRIVATE_KEY')}}"
...

Dockerfile:
FROM fishtownanalytics/dbt:0.18.1
ARG BQ_PRIVATE_KEY
ENV BQ_PRIVATE_KEY="$BQ_PRIVATE_KEY"
...
ENTRYPOINT [ "./run.sh"]

run.sh:
#! /bin/bash
dbt run --vars "BQ_PRIVATE_KEY: $BQ_PRIVATE_KEY"

building the image with the environment variable:
docker build --build-arg BQ_PRIVATE_KEY="$BQ_PRIVATE_KEY" ...

As in #2553 and #2989, this is quite difficult to debug at a distance, but here's my best guess: The Could not deserialize key data error indicates that some character—often a newline—is added, missing, or in the wrong place.
Private keys contain many newlines, and they're quite sensitive about them. In JSON, new lines in strings are represented via \n. When you download a JSON-formatted private keyfile from BigQuery, the private_key value will therefore contain \n.
However, when you're passing the private_key value as a standalone string (not within a larger JSON blob), you need to replace all the instances of \n with a true newline. When setting the environment variable, you want to end up with something like:
export BQ_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx
-----END PRIVATE KEY-----
"

I'm not positive why var is working, while env_var is not working—I wasn't able to replicate this!—but it's possible that printing the env var out to CLI, then back in as an argument to --vars, replaces \n with newlines because it's a bash string. I don't think this reflects a functional difference between how dbt handles {{ var() }} vs. {{ env_var() }}.
If you're still having trouble, or if you don't care to manually edit the private key, you could also try passing the entire keyfile contents (as a JSON blob) into a single environment variable:
type: bigquery
method: service-account-json
...
keyfile_json: "{{ env_var('BQ_KEYFILE_JSON') | as_native }}"

I have the exposed workaround, but this is a clear bug in env_var, it shouldn't be closed.

@venosov Apologies if I closed this issue prematurely. I'll walk you through my reproduction case.
I set this up in profiles.yml locally:
my-bigquery-db:
  target: my_target
  outputs:
    my_target:
      type: bigquery
      method: service-account-json
      ...
      keyfile_json:
        type: "{{ env_var('BIGQUERY_TYPE') }}"
        project_id: "{{ env_var('BIGQUERY_PROJECT_ID') }}"
        private_key_id: "{{ env_var('BIGQUERY_PRIVATE_KEY_ID') }}"
        private_key: "{{ env_var('BIGQUERY_PRIVATE_KEY') }}"
        client_email: "{{ env_var('BIGQUERY_CLIENT_EMAIL') }}"
        client_id: "{{ env_var('BIGQUERY_CLIENT_ID') }}"
        auth_uri: "{{ env_var('BIGQUERY_AUTH_URI') }}"
        token_uri: "{{ env_var('BIGQUERY_TOKEN_URI') }}"
        auth_provider_x509_cert_url: "{{ env_var('BIGQUERY_AUTH_PROVIDER_X509_CERT_URL') }}"
        client_x509_cert_url: "{{ env_var('BIGQUERY_CLIENT_X509_CERT_URL') }}"

I created a file, service_account_json.env, with all the information copy-pasted from my JSON keyfile:
export BIGQUERY_TYPE=service_account
export BIGQUERY_PROJECT_ID=xxx
export BIGQUERY_PRIVATE_KEY_ID=xxx
export BQ_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nxxxxxxxxxxxxxxxxxxxxxxxx\n-----END PRIVATE KEY-----\n"
export BIGQUERY_CLIENT_EMAIL=xxx
export BIGQUERY_CLIENT_ID=xxx
export BIGQUERY_AUTH_URI=xxx
export BIGQUERY_TOKEN_URI=xxx
export BIGQUERY_AUTH_PROVIDER_X509_CERT_URL=xxx
export BIGQUERY_CLIENT_X509_CERT_URL=xxx

Then I run:
$ source service_account_json.env
$ dbt debug

I get back the same error you've reported:
dbt was unable to connect to the specified database.
The database returned the following error:

  >Database Error
  Could not deserialize key data. The data may be in an incorrect format or it may be encrypted with an unsupported algorithm.

Check your database credentials and try again. For more information, visit:
https://docs.getdbt.com/docs/configure-your-profile

I updated service_account_json.env by swapping out all instances of \n for line breaks:
export BIGQUERY_TYPE=service_account
export BIGQUERY_PROJECT_ID=xxx
export BIGQUERY_PRIVATE_KEY_ID=xxx
export BQ_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx
-----END PRIVATE KEY-----
"
export BIGQUERY_CLIENT_EMAIL=xxx
export BIGQUERY_CLIENT_ID=xxx
export BIGQUERY_AUTH_URI=xxx
export BIGQUERY_TOKEN_URI=xxx
export BIGQUERY_AUTH_PROVIDER_X509_CERT_URL=xxx
export BIGQUERY_CLIENT_X509_CERT_URL=xxx

I rerun:
$ source service_account_json.env
$ dbt debug

And:
Connection:
  method: service-account-json
  database: xxx
  schema: xxx
  location: None
  priority: interactive
  timeout_seconds: 300
  maximum_bytes_billed: None
  Connection test: OK connection ok

Could you try the same and see if it works for you? Or could you help me understand which part you believe to be a bug with env_var?

Thanks, my theory is that env_var is more than only os.environ['BQ_PRIVATE_KEY'] (this has adventage like {{ env_var('DEV_DBT_THREADS')| int }}) but doesn't parse well a complex value like a private key from bigquery (\n , extrange characters, ...) in my opinion, the default behaviour should be like "var" (it works like a charm with the same complex key)

You can use
private_key: "{{ env_var('BIGQUERY_KEYFILE_JSON_PRIVATE_KEY').split('\\\\n') | join('\n') }}"


Added AMD/UMD support

Used the template from https://github.com/umdjs/umd/blob/master/returnExports.js

Note that the minified files have not been updated


Threads of Fate opt-in not working

Threads of Fate (while not available <60) still requires you choose it and type in FATE if you enter SL on a fresh 60. The automation for it does not seem to be working.

Hi,
For stuff like this, I need to know exactly where it doesn't work. When you speak with Roh-Tahl, does it select Threads of Fate, but then hangs on the popup? Does it not choose the Threads of Fate button at all?


pull request for e2e test at 01/27/2017 06:15:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Create a new Video column to support different versions and display codecs used

Plex allows for multiple versions of as video (alongside Edition), e.g.:
Blade Runner (1982).4k.hevc {edition-Director's Cut}.mkv
We should also search for the following keywords after date (4 digits):

avc

avc
h 264
h264
mpeg-4 part 10

hevc

hevc
h 265
h265
mpeg-h part 2

vvc

h266
h.266

mpeg-4

mpeg4
mpeg 4

mpeg-2

mpeg2
mpeg 2

av-1

av1
av-1

10-bit

10bit
10 bit

dc
vc-1
hdr
hdr10
hdr10+
vp9
divx
mjpeg
3d

references:

https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding
https://en.wikipedia.org/wiki/List_of_codecs#Video_compression_formats
https://support.plex.tv/articles/200381043-multi-version-movies/
https://target-video.com/best-video-codecs-to-use-and-how-to-choose-the-right-one/
https://en.wikipedia.org/wiki/VC-1
https://en.wikipedia.org/wiki/MPEG-2
https://en.wikipedia.org/wiki/List_of_codecs
https://videocompressionguru.medium.com/mpeg-4-vs-avc-h-264-vs-mp4-what-is-the-difference-f3c166c1cf56

Merged to develop


Wrong Behavior in Install Downgrade Version

com.bandlab.bandlab.test already exist, do you want to uninstall first? [Y,n]: Y
Uninstalling com.bandlab.bandlab.test ~
Success

adb: failed to install bl-1081.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
Performing Streamed Install

Fixed in https://github.com/esafirm/gadb/commit/6c94d8b9b11e4f6a1ba3523e254ffb03480605c7

https://github.com/esafirm/gadb/commit/6c94d8b9b11e4f6a1ba3523e254ffb03480605c7


onInit should be replaced by onChanges

ngOnInit() should be replaced by ngOnChanges() to detect the changes my the component.

Done


[Feat]: Merge Redeem Code System

[x] Merge Redeem Code system into the Passport system
[x] Database structure needs redesign

[ ] Log system should be compatible with the Homa Log system that will be introduced later

[ ] Need a random generated /generate endpoint


WIP DST-503

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

Project coverage is 81.55%. Comparing base (ed0b623) to head (c47bf72).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #269   +/-   ##
=======================================
  Coverage   81.55%   81.55%
=======================================
  Files          77       77
  Lines        2353     2353
=======================================
  Hits         1919     1919
  Misses        434      434

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


Reduce complexity in extern module

Enhancement 🚀
Predictors of external packages have modules in which the model is executed. With the exception of the integrated model from Tensorpack, these modules do not contain any other logic. For this reason, these functions can be transferred to the module of the predictor and the folder structure of the external module can be simplified.
Motivation  💪
With increasing integration of external packages, the complexity of the external module increases less steeply and in particular does not require additional sub modules.
Alternatives ⚖
Keep status quo
Additional context 🧬
NA

closing with PR: Reduce complex extern #19


Wire up data binding

Ensure that the proper data is appearing and behavior in according to the wireframe and the provider app.

May consider using mock-data for the first release.

load up patient based on query string param (pid)

Got basic data working, going to implement ngrx similar to Steve's work.

Wired up dropdown off of active conditions with an existing profileid.


Add all players on search

Ability to add everyone that was in the search result.

Being added with #39
https://github.com/jung3o/VacStatus/tree/feature/39


Consider using older TS version

After adding typescript as a dependency in https://github.com/davestewart/alias-hq/pull/37, I found that updating alias-hq also updated the version of typescript being used in my project, which caused some failures since I went from 4.4 to 4.5, and typescript treats minor version updates as breaking.  I can solve this by using 4.4.x in my package.json, but this could cause confusion for others as well, so what do you think about using an older version of typescript that still supports the methods needed, so that an accidental upgrade is less likely?

TBH I was never really comfortable with the TS dependency, as Alias is supposed to be pretty much agnostic, aside from the configuration format.
My gut feeling is to ditch TS and use JSON5 and write the (I presume trivial) code needed to resolve the paths.

I don't have the time to help out with that right now, but seems like a decent approach to me.

Yeah, no problem.
My guess is that it's unlikely to trip too many people up for right this second, so maybe I can take a look at it in the coming week(s).

It might be worth considering using https://github.com/privatenumber/get-tsconfig, which doesn't have a dependency on TS.

@davestewart what do you think about ^?  Worth an experiment to see how it works?

Yeah, I think it's a good idea.
I need to be able to write back to the file as well in the CLI.
There do seem to be some NPM packages to do this, but maybe I can treat them as separate problems for the time being


make setup-integration-tests fail

Describe the bug:

The make setup-integration-tests fails with the following error:
% make setup-integration-tests
/Users/<username>/cert-manager-code/cert-manager/_bin/tools/helm package --app-version=v1.9.0-beta.1-124-g231a0460b40e18 --version=v1.9.0-beta.1-124-g231a0460b40e18 --destination "_bin/" ./_bin/helm/cert-manager
Error: validation: chart.metadata.version is required
make: *** [_bin/cert-manager-v1.9.0-beta.1-124-g231a0460b40e18.tgz] Error 1

Expected behaviour:

The command runs successfully
Steps to reproduce the bug:

clone the repo
cd cert-manager
Run make setup-integration-tests

Anything else we need to know?:
I tried in Mac and Ubuntu 18.04. It failed with exactly same error.
Environment details::

Kubernetes version: Not applicalble
Cloud-provider/provisioner: N/A
cert-manager version: master, 231a0460b40e18537843037cbf083c9ab1cdfc2f
Install method: N/A

/kind bug

In this file _bin/helm/cert-manager/Chart.yaml, I had to edit the version field to set the value to version: "v0.0.0". After making this change manually, the make setup-integration-tests worked fine! This is a workaround.

this fails with make e2e-setup too


Gulp Failing for users on Windows

See https://github.com/openfin/fin-hypergrid/issues/330#issuecomment-288723925 and https://github.com/openfin/fin-hypergrid/issues/530#issuecomment-287794114

Simple fix for windows users. The issue has to be with the way css-templates is interpreting the strings on windows. Not sure what the reason is but here is the steps to a workaround:
-usual npm install
-gulp build
-tests will fail, but you can see the syntax in the css/index.js is the issue

fix the css so the strings are on one line:

'.hypergrid-container {',     '	position: relative;',     '	height: 500px;',     '}',     '.hypergrid-container > div:first-child {',     '	position: absolute;',     '	left: 0;',     '	top: 0;',     '	right: 0;',     '	bottom: 0;',     '}',     '.hypergrid-container > div:first-child > div.info {',     '	position: absolute;',     '	display: none; /* initially hidden */',     '	margin-top: 150px; /* to place below headers */',     '	color: #eee;',     '	text-shadow: 1px 1px #ccc;',     '	font-size: 36pt;',     '	font-weight: bold;',     '	text-align: center;',     '	top: 0; right: 0; bottom: 0; left: 0;',     '}',     '.hypergrid-textfield {',     '	position: absolute;',     '	font-size: 12px;',     '	color: black;',     '	background-color: ivory;',     '	box-sizing: border-box;',     '	margin: 0;',     '	padding: 0 5px;',     '	border: 0; /*border: 1px solid #777;*/',     '	outline: 0;',     '}',     '',     ''

comment out 'css-templates' from the gulpfile.js 'build' task
gulp build
good to go

@jlazar Thanks for pointing this out! We will address this fix

Seems to be that in downloading it as a ZIP and doing an npm install only, the css-template format is correct on Windows. Cloning with git and doing a npm/gulp build causes the css-template to put commas on a new line with index.js as well as carriage returns, causing for the error to occur.
Editing the template function on gulp file.js doesn’t seem to fix the issue, but the solution above fixes the build. The Hypergrid team will look to incorporate the above fix with the css as a permanent fix for this issue.

@pjsenthilkumar Good find. Yea, this file rarely changes, lets make @jlazar comment (making it one line and removing the test) and bundle that into a PR. Also let add a comment at the top of the file linking to this ticket explaining why its one line.