final adjustments suggested by Anoosha

Add here your WMS ID
11418
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

Implemented the final adjustments as suggested by Anoosha Pilli (below):
•	In the introduction lab, please rename Estimated Time to Estimated Workshop Time
•	Indent the images/code blocks/instructions In
Lab 1
-Task 1 Steps 3, 7, 8,
-Task 2, Task 5 Steps 4, 5, 6,
-Task 7 and number the instructions in Task 7.
Please check and update the same for Lab 3.
•	In lab 2, please move the Understand the Telegram Bot GUI and implementation content as Tasks 1 and 2
•	In Lab 3 Acknowledgements section, please remove the \ after the names
•	The lab titles in manigest.json gile and markdown file need to match. Please update the title in either of the files for all Labs 1, 2, 3, 4

@juarezjuniorgithub - please resolve the conflicting files issue to review this PR.

@rahul-tasker adjusted per your orientation. The image was left in the wrong directory (an unused one in the backend), apologies for that.  I'll proceed to further request a PAR URL per your orientation as well.
Nevertheless, given the approaching code freeze this Friday (Aug 18), and the importance of providing the best Live Lab content/quality possible, please approve this current PR at your convenience. Thanks a lot for your support!

@ramumg I followed your guidelines, resolved all conflicts and also fixed the manifest sections per your orientation.
Please approve the PR. Thank you very much for your support!


Ability to download just the captions as an .SRT

Hello!
Can you please consider adding the ability to download just the captions as an SRT and skip the video entirely?
Thanks!

I think that you can add --vcodec none --vcodec none to your command with subtitles download enabled and then extract the srt from the "empty" video. It's just a guess this, not sure it works.
Alternatively, if you are ok to do some manual labour you can use the --simulate flag with subtitles download enable and it will print info for each video, including the subtitles url


Install this gem in our Rails applications

NOTE: This repo is currently private, but might become public in future. Please keep this in mind when commenting on this issue.
This gem bundles together some of the performance tools we've been using in development, so that we can install them and use them across each of our Rails apps.
Creating this issue as a place to gather feedback before installing it.
Thanks!

Closing this issue. We have a ticket elsewhere to track this.


LZW not active

It looks like the lzw compression part was written, but commented out. I un-commented it and tested it on an AsterDEM file and it worked. Is there a reason that it is not turned on ?

My bad. I dont think that the file I tested it on was LZW compressed after all. It probably should have been.

Unfortunately I never got the LZW to work as I haven't found a library that could reliably read the compressed test files. You can use packbits, though. For a DEM this might help to reduce the transfer size.


tree: fix type annotations

Codecov Report

Merging #58 (04f0f6f) into main (1c67c92) will decrease coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
- Coverage   34.28%   34.20%   -0.08%
==========================================
  Files          33       33
  Lines        1677     1675       -2
  Branches      262      238      -24
==========================================
- Hits          575      573       -2
- Misses       1090     1094       +4
+ Partials       12        8       -4

Impacted Files
Coverage Δ

src/dvc_data/objects/tree.py
41.79% <100.00%> (ø)

src/dvc_data/hashfile/hash.py
58.82% <0.00%> (-0.40%)
:arrow_down:

src/dvc_data/db/index.py
0.00% <0.00%> (ø)

src/dvc_data/hashfile/state.py
31.13% <0.00%> (ø)

tests/hashfile/test_hash_stream.py
100.00% <0.00%> (ø)

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 1c67c92...04f0f6f. Read the comment docs.


Simplifies YAML for redirect_to

Perhaps simpler to describe the value of redirect_to as a string rather than as a single-valued list? Seems to work well if provided as a string!

Just curious, did this not resonate, @DirtyF?

@dmalan my bad, I misread.

@jekyllbot: merge +docs

Ah, excellent, thanks!


[Fix] error on nock.back options output_objects

Read https://github.com/node-nock/nock/issues/709 for details
Up until ef870b7, the recorder was never able to take in options from node.back. The change has allowed the recorder to write JS code to JSON file.
This change will check options and see if the key recorder.output_objects exists, and if it does, it does not write output to disk.

Coverage decreased (-0.01%) to 96.526% when pulling eb52d9281eab5719ee7ef35fbc8973d02cf12eb9 on raytung:fix-output-objects-false into f6d3e76f48499586de9f0518db370fd7de99c6bb on node-nock:master.

Coverage decreased (-0.02%) to 96.513% when pulling 415b74b4bf0dd0a0a7b2982e85257e445f6bb9a1 on raytung:fix-output-objects-false into f6d3e76f48499586de9f0518db370fd7de99c6bb on node-nock:master.

Is coveralls is saying I didn't test my test..?

Coverage increased (+0.008%) to 96.545% when pulling 8e2b54ccdabcc274b82fe5d298b492599c29ef97 on raytung:fix-output-objects-false into f6d3e76f48499586de9f0518db370fd7de99c6bb on node-nock:master.


CDV feature has conflict with google search rich results test, which says it can't load resources with query string parameters.

Steps to reproduce:

Go to https://search.google.com/test/rich-results
Enter any DNN website url
Click "View tested page"
Click "more info"
Unfold "Page resources" section

It says that google robot couldn't load resources and it lists resources with query string parameters in a url (css, js and ScriptResource.axd). Looks like it's because of query string parameters. So could this feature be removed somehow? Probably some setting in a PersonaBar? Or is it google robot who is broken in this case?
P.S. I've checked those files manually and google chrome loads successfully all of those files.

I think Google Bot is broken here. Can you give an example URL? The two I tried didn't demonstrate this issue

I think Google Bot is broken here. Can you give an example URL? The two I tried didn't demonstrate this issue

https://netls.com.ua/

Yeah, looks like a bot issue. querystring parameters for cache-busting is a totally valid thing.


Making a request with a header without a value results in an authentication error

Here are some fiddler traces of two exactly identical calls, with the only difference that the second one sends an empty Accept-Language header. The handler uses the principalFromBearerToken middleware.
Expected Behavior
Both calls are handled the same way regarding authentication
Current Behavior
Both calls do not react the same way.
Context
Fiddler trace 1 : Accept-Language=fr-CA
GET http://localhost:7071/api/content/events/49m3lu2J9CKoKUcMgAQ4yO HTTP/1.1
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjJkMjFiNTE0OTMxNjc4NDU0YWM2YzM4YTVmYjRiZWUwIn0.eyJzdWIiOiI5MzdlMjQ5Y2I4MDYwYzRlNmFkODFjOGEiLCJpYXQiOjE1MzU2NjYxMzYsImV4cCI6MTUzNTY2OTczNn0.w1f_VsoGSjL9aAQ7O6ZrmrxMsrOyffwJQvg0sLfiA-34ZAnnTz4w3PiRCr0gQxxN_2zKS2zEgbagptyz3oKl7s12RYt6P1nTd8tWW65w5QKpMt03HS0JrDn2k9Svm5Pun3EQec5eRuHZ20DBwhcyh_Y4b_kN70jxFkPSqDWJXmEtys7KKxbHTZ_Oofzbb1uiYxST3FDON4z8d-xDkElfF6XI_UhPelYmquGBfkz9ZlBrOC4ju5Eoi26whfA2JfrqJ4IuXrWhRBHwS9eXy5G6hzo1QBbydnsntsauBn26JT8LhHQoAKVgzWT81U6Lq13fVJlCJ0W0n-VMQ7sTLDu_jg
Accept-Language: fr-CA
User-Agent: PostmanRuntime/7.2.0
Accept: /
Host: localhost:7071
accept-encoding: gzip, deflate
Connection: keep-alive
HTTP/1.1 200 OK
Date: Thu, 30 Aug 2018 22:03:51 GMT
Content-Type: application/json; charset=utf-8
Server: Kestrel
Transfer-Encoding: chunked
2f8
{"name":"Sports @ Centre Bell","description":"Description de l'événement.","categoryId":"1bmVSWowz0Q2e6kQeOgwqm","isSpecial":false,"isAllDay":true,"ticketsUrl":"https://localhost:7071/api/content/events/49m3lu2J9CKoKUcMgAQ4yO/partner-redirect","accessType":"freeWalkIn","date":"2018-08-30T11:27:40.922Z","dateType":"Sports","altDate":"2018-08-30T12:27:40.988Z","altDateType":"Alt-FR","isReducedPrice":false,"id":"49m3lu2J9CKoKUcMgAQ4yO","images":["http://images.ctfassets.net/sl3u2k27mhhy/6olZ7PP2P6eOWSqi4W8KeW/316fc5a36e810214f8820744cd960d06/ttt.jpg"],"isPast":false,"venue":{"name":"Centre Bell","location":{"lon":-73.56947839999998,"lat":45.49603},"address":"1909 Avenue des Canadiens-de-Montréal, Montréal, QC H4B 5G0","id":"3893SwMEmQiC6UCkE8K0a6"}}
0
Fiddler trace 2: Accept-Language=
GET http://localhost:7071/api/content/events/49m3lu2J9CKoKUcMgAQ4yO HTTP/1.1
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjJkMjFiNTE0OTMxNjc4NDU0YWM2YzM4YTVmYjRiZWUwIn0.eyJzdWIiOiI5MzdlMjQ5Y2I4MDYwYzRlNmFkODFjOGEiLCJpYXQiOjE1MzU2NjYxMzYsImV4cCI6MTUzNTY2OTczNn0.w1f_VsoGSjL9aAQ7O6ZrmrxMsrOyffwJQvg0sLfiA-34ZAnnTz4w3PiRCr0gQxxN_2zKS2zEgbagptyz3oKl7s12RYt6P1nTd8tWW65w5QKpMt03HS0JrDn2k9Svm5Pun3EQec5eRuHZ20DBwhcyh_Y4b_kN70jxFkPSqDWJXmEtys7KKxbHTZ_Oofzbb1uiYxST3FDON4z8d-xDkElfF6XI_UhPelYmquGBfkz9ZlBrOC4ju5Eoi26whfA2JfrqJ4IuXrWhRBHwS9eXy5G6hzo1QBbydnsntsauBn26JT8LhHQoAKVgzWT81U6Lq13fVJlCJ0W0n-VMQ7sTLDu_jg
Accept-Language:
User-Agent: PostmanRuntime/7.2.0
Accept: /
Host: localhost:7071
accept-encoding: gzip, deflate
Connection: keep-alive
HTTP/1.1 401 Unauthorized
Date: Thu, 30 Aug 2018 22:07:06 GMT
Content-Type: application/json; charset=utf-8
Server: Kestrel
Content-Length: 108
{"error":{"code":"unauthorized","target":"authorization header","message":"No authorization header found."}}

This is due to a bug in azure functions runtime parsing.
Not a lot that can be done here...


Pi types (WIP)

[x] type eq
[x] member eq
[x] ap eq
[x] intro
[ ] elim
[ ] ext

So, there was a problem in the way I'd designed the dependent refiner before—I had rather lazily just made the valence of the synthesis of a sequent judgment bind no variables, and in most cases this works out fine, but you can end up in a very bad situation when you begin to extend the context, which could lead to possible unsoundness.
For instance, let #m be a metavariable of valence .exp; let's say that #m is represents the synthesis of a subgoal which added a new variable z to the context. Then, in the partial evidence for the current goal, I mention both [a/z]#m[]  and [b/z]#m[]; however, since #m[] doesn't have a,b free, these are the same. So, in intermediate proof states, I can have an inaccurate list of goals.
The correct solution is to close over the variables that we are extending the context with (producing evidence of non-trivial valence), so that we can then instantiate the evidence of the subgoals in the correct way. At first, I thought it would be necessary to have a very ugly (and badly performing) situation where the valence of a sequent's evidence is based on the number of hypotheses in the sequent, but I realized that it is possible to introduce generality in a compositional way. The sequent expresses which variables are meant to be bound—and this only matters in the synthesis of the main goal, whereas as far as the subgoals are concerned, these variables are just free.
For example, the sequent G |> H >> P produces as evidence an abstraction that closes over the variables in G; dom(G) of course should be a subset of dom(H).
I'm sorry if this is difficult to understand—it may be best to simply look at the code, at least until I formalize the PRL.


Create and integrate distro logos

Port all logos from Neofetch, and fix it for use in Barkfetch, then implement logo functionality

Logo functionality is implemented, last task is to port all logos


Add APIs for Services and ServicePlans

I've added the Model classes for these two APIs, following the style and content from other classes.
Test cases for the two new classes have also been created and tested against IBM Bluemix.

Good Morning James, many thanks for the contribution.
I am going to test in PWS and Bluemix.
In relation to the change in Readme, I will add the JSDocs for v0.12.0
This week, I will not work so much on this client, but if you need, I could release the library without any problem.
I continue with testing.
Cheers

Services from Pivotal (2015/12/15):
Environment: PIVOTAL

  Cloud foundry Services
0 | searchify | Custom search you control
1 | blazemeter | Performance Testing Platform
2 | rediscloud | Enterprise-Class Redis for Developers
3 | cleardb | Highly available MySQL for your Apps.
4 | cloudamqp | Managed HA RabbitMQ servers in the cloud
5 | elephantsql | PostgreSQL as a Service
6 | sendgrid | Email Delivery. Simplified.
7 | mongolab | Fully-managed MongoDB-as-a-Service
8 | newrelic | Manage and monitor your apps
9 | loadimpact | Automated and on-demand performance testing
10 | memcachier | The easiest, most advanced memcache.
11 | memcachedcloud | Enterprise-Class Memcached for Developers
12 | searchly | Search Made Simple. Powered-by Elasticsearch
13 | cloudforge | Development Tools In The Cloud
14 | ironworker | Job Scheduling and Processing
15 | app-autoscaler | Scales bound applications in response to load (beta)
16 | pubnub | Build Realtime Apps that Scale
17 | cedexisopenmix | Openmix Global Cloud & Data Center Load Balancer
18 | cedexisradar | Free Website& Mobile App Performance Reports
19 | statica | Enterprise Static IP Addresses
20 | 3scale | API Management Platform
21 | temporize | Simple and flexible job scheduling for your application
22 | flashreport | Generate PDF from your data
23 | stamplay | API-first development platform

Services from BLUEMIX:
Environment: BLUEMIX

  Cloud foundry Services
0 | sqldb | SQL Database adds an on-demand relational database to your application. Powered by DB2, it provides a managed database service to handle web and transactional workloads.
1 | DataCache | Improve the performance and user experience of web applications by retrieving information from fast, managed, in-memory caches, instead of relying entirely on slower disk-based databases.
2 | SessionCache | Improve application resiliency by storing session state information across many HTTP requests. Enable persistent HTTP sessions for your application and seamless session recovery in event of an application failure.
3 | mysql | MySQL database
4 | postgresql | PostgreSQL database
5 | mongodb | MongoDB NoSQL database
6 | redis | Redis key-value store
7 | rabbitmq | RabbitMQ message queue
8 | Track & Plan | Use IBM DevOps Services to create stories, tasks, and defects
 to describe and track project work, and use agile planning tools for the product backlog, releases, and sprints.
9 | Delivery Pipeline | Use IBM DevOps Services to automate builds and deployments, test execution, configure build scripts, and automate execution of unit test
s. Automatically build and deploy your application to IBM's cloud platform, Bluemix.
10 | Push | Send relevant content to the right people at the right place and time with IBM Push for Bluemix.
11 | MAS | Manage application access and implement a basic application security framework for the Mobile Cloud services with IBM Mobile Application Security (MA
S) for Bluemix.
12 | MobileData | Enhance your mobile apps through simple to use SDKs to save shared data in a scalable, managed database as a service. Powered by Cloudant.
13 | MonitoringAndAnalytics | Gain the visibility and control you need over your application. Determine the response time your users see, understand the performance and availability of the application components, leverage analytics to keep your application up and performing well, and get automatically notified if application problems occur.
14 | CloudIntegration | Bluemix Cloud Integration enables users to integrate cloud services with enterprise systems of record
15 | cloudantNoSQLDB | Cloudant NoSQL DB provides access to a fully managed NoSQL JSON data layer that's always on. This service is compatible with CouchDB, and accessible through a simple to use HTTP interface for mobile and web application models
16 | relationship_extraction | Intelligently finds relationships between sentences components (nouns, verbs, subjects, objects, etc.)
17 | concept_expansion | Maps euphemisms or colloquial terms to more commonly understood phrases
18 | timeseriesdatabase | Time Series Database (powered by Informix) is purpose-built for fast and efficient storage and analysis of time series data.
19 | Auto-Scaling | Automatically increase or decrease the number of application instances based on a policy you define.
20 | cloudamqp | Managed HA RabbitMQ servers in the cloud
21 | elephantsql | PostgreSQL as a Service
22 | loadimpact | Performance and load testing for DevOps
23 | ustream | Video streaming, storage and publishing.
24 | Gamification | This service provides an easy-to-use platform to gamify your apps
25 | mqlight | Develop responsive, scalable applications with a fully-managed messaging provider in the cloud. Quickly integrate with application frameworks through easy-to-use APIs.
26 | Workflow | Workflow for Bluemix makes it easy for you to create workflows that orchestrate and coordinate the REST-based services that you use in your apps.
27 | blazemeter | Performance Testing Platform
28 | sendgrid | Delivering your email through one reliable platform.
29 | cleardb | Highly available MySQL for your Apps.
30 | Mobile Quality Assurance | Capture tester and live user experience to continuously build and deliver high quality mobile apps.
31 | businessrules | Enables developers to spend less time recoding and testing
when the business policy changes. The Business Rules service minimizes your code changes by keeping business logic separate from application logic.
32 | simplicite | Versatile Cloud Platform for Enterprise Applications
33 | dashDB | A data warehouse with lots of storage, flexibility, and power. Discover the insights revealed from within your data or data from other cloud services by using our built-in analytics or by connecting your own apps.
34 | Geospatial Analytics | Expand the boundaries of your application. Leverage real-time geospatial analytics to track when devices enter or leave defined regions.
35 | AdvancedMobileAccess | Finely tune mobile apps with operational analytics, and ensure communications with back end systems are secure.
36 | imfpush | Engage Android and iOS  mobile users by sending relevant contentincluding interactive notifications
37 | Mobile Quality Extensions | This service provides some experimentation services for Mobile Application
38 | text_to_speech | Synthesizes natural-sounding speech from text.
39 | speech_to_text | Low-latency, streaming transcription
40 | visual_recognition | Analyzes the visual content of images and videos to understand their content without requiring a textual description
41 | concept_insights | Explore the concepts behind your input, identifying associations beyond traditional text matching.
42 | tradeoff_analytics | Helps make better choices under multiple conflicting goals. Combines smart visualization and recommendations for tradeoff exploration
43 | statica | Enterprise Static IP Addresses
44 | pm-20 | Predictive Analytics
45 | WorkloadScheduler | Automate your tasks to run one time or on recurring schedules. Far beyond Cron, exploit job scheduling within and outside Bluemix.
46 | personality_insights | The Watson Personality Insights derives insights from transactional and social media data to identify psychological traits
47 | apersona-amfa | Frictionless Adaptive Multi-Factor Authentication
48 | SecureGateway | IBM Secure Gateway for Bluemix enables users to integrate cloud services with enterprise systems on premises.
49 | Cognitive CommerceT | Cognitive Commerce is a service provided by Cognitive Scale.

That's fine, I can work off my fork until the next version is released.
Glad to help.

This week, I will release.
In some hours, I will push the minor change.
Anyway, you could use this technique in the app which you are working:
  "dependencies": {
    "cf-nodejs-client": "git://github.com/prosociallearnEU/cf-nodejs-client.git#master"
  }

http://stackoverflow.com/questions/8243527/use-git-dependencies-with-npm-and-node-on-heroku

Servcices Plans in commercial platforms (2015/12/15)
Environment: PIVOTAL

  Cloud foundry Service Plans
0 | small | Small
1 | plus | Plus
2 | pro | Pro
3 | free-tier | Free
4 | basic1kmr | Basic
5 | pro5kmr | Pro
6 | 100mb | Basic
7 | 250mb | Mini
8 | 500mb | Small
9 | 1gb | Standard
10 | 2-5gb | Medium
11 | 5gb | Large
12 | 10gb | X-Large
13 | 50gb | XX-Large
14 | spark | Great for getting started and developing your apps
15 | boost | Best for light production or staging your applications
16 | amp | For apps with moderate data requirements
17 | shock | Designed for apps where you need real MySQL reliability, power and
throughput
18 | lemur | Shared cluster with low limits for free
19 | tiger | Shared cluster for production apps
20 | bunny | Dedicated server
21 | rabbit | Dedicated HA cluster
22 | panda | Dedicated HA cluster with high throughput
23 | turtle | 4 concurrent connections, 20MB Storage
24 | panda | 20 concurrent connections, 2GB Storage
25 | hippo | 300 concurrent connections, 100 GB Storage
26 | elephant | 300 concurrent connections, 1000 GB Storage, 500Mbps
27 | free | Free Package
28 | bronze | Bronze Package
29 | silver | Silver Package
30 | sandbox | 0.5 GB
31 | standard | One week data retention
32 | lifree | Free
33 | li100 | Basic
34 | li500 | Standard
35 | li1000 | Advanced
36 | dev | Free Development MemCachier Cache
37 | 100mb | Basic
38 | 250mb | Mini
39 | 500mb | Small
40 | 1gb | Standard
41 | 2-5gb | Medium
42 | 5gb | Large
43 | small | 5 indices, 600MB SSD Storage
44 | micro | 3 indices, 100MB SSD Storage
45 | professional | 13 indices, 4GB SSD Storage
46 | advanced | 9 indices, 2GB SSD Storage
47 | starter | 2 indices, 5MB Storage
48 | business | 18 indices, 10GB SSD Storage
49 | enterprise | 22 indices, 20GB SSD Storage

Environment: BLUEMIX

  Cloud foundry Service Plans
0 | starter | The Starter plan for the Data Cache service gives you up to 1 GB of cache space per month.
1 | standard | The Standard plan for the Data Cache service gives you up to 5 GB of cache space per month.
2 | premium | The Premium plan for the Data Cache service gives you up to 25 GB of cache space per month.
3 | starter | The Starter plan for the Session Cache service gives you up to 1 GB of cache space per month.
4 | standard | The Standard plan for the Session Cache service gives you up to 5 GB of cache space per month.
5 | premium | The Premium plan for the Session Cache service gives you up to 25 GB of cache space per month.
6 | 100 | Shared server, shared VM, 1MB memory, 10MB storage, 10 connections
7 | 200 | Shared server, shared VM, 1MB memory, 50MB storage, 10 connections
8 | 300 | Shared server, shared VM, 1MB memory, 500MB storage, 10 connections
9 | 100 | Shared server, shared VM, 1MB memory, 30MB storage, 20 connections
10 | 100 | Dedicated server, shared VM, 250MB storage, 100 connections
11 | 100 | Dedicated server, shared VM, 20MB memory, 50 connections
12 | 100 | Dedicated server, shared VM, 1MB messages/day, 10 connections
13 | Standard | IBM Push for Bluemix charges per million push notifications.
14 | Standard | Mobile Application Security is currently a free service.
15 | Shared | Mobile Data has a single shared plan offering a multi-tenant solution. You will be charged for data storage, and for operations triggered against our Cloudant database. These are Heavy API calls (writes, deletes, inserts) and
Light API calls (reads). This plan allows for up to 2GB of free data storage with 10,000 Heavy API calls and 50,000 Light API calls per month free. Usage above the free tier will be charged as per pricing details.
16 | Free | Performance Monitoring and Log Analytics are only available for Liberty Java and Node.js applications
17 | diagnostics | Performance Monitoring, Log Analysis, and Deep Dive Diagnostics are only available for Liberty Java and Node.js applications. Enhanced Performance Monitoring is only available for Liberty Java applications.
18 | cloudintegrationplan | Cloud Integration Plan for enabling integration with enterprise endpoints
19 | Shared | This plan provisions a Cloudant account on a shared Cloudant Cluster. This plan allows for up to 20GB of free data storage with 100,000 Heavy API
calls and 500,000 Light API calls per month free. Usage above the free tier will be charged as per pricing details.
20 | relationship_extraction_free_plan | Beta
21 | concept_expansion_free_plan | Beta
22 | small | Small plan, charged per month.
23 | free | This is the free service plan for the Auto-Scaling service.
24 | bunny | Dedicated server
25 | lemur | Free shared cluster, low limits
26 | panda | Dedicated HA cluster with high throughput
27 | rabbit | Dedicated HA cluster
28 | tiger | Shared cluster for hobby apps
29 | ape | High performance HA cluster
30 | panda | Pretty Panda
31 | hippo | Happy Hippo
32 | elephant | Enormous Elephant
33 | turtle | Tiny Turtle
34 | lifree | Free
35 | li100 | Basic
36 | li500 | Standard
37 | li1000 | Advanced
38 | basic | Upload, manage and embed videos via our API or from the web.
39 | public | This is free plan for public
40 | standard | This is the standard service plan for MQ Light charged in unitsof millions of messages per month.
41 | free-tier | Free
42 | free | Free Package
43 | spark | Great for getting started and developing your apps
44 | MobileQualityAssurance | Mobile Quality Assurance (MQA) services are charged based on the number of application-platform combinations and the number of devices on which each app is running.
45 | standard | API calls are calls made by the rule execution engine to get a decision.
46 | free | Simplicite aPaaS free sandbox for use in Bluemix
47 | Entry | One dedicated schema per service instance on a shared server. Recommended for up to 100 GB of pre-load data, based on typical compression.
48 | Enterprise | One database per service instance on a dedicated server with 64GB RAM, 16 vCPUs. Recommended for up to 1 TB of pre-load data, based on typical compression. For further information, contact your IBM Cloud Data Services sales rep or send email to<EMAIL_ADDRESS>49 | Standard | The Standard plan gives you device location geospatial region checks at a flat rate.

Tested.
https://travis-ci.org/prosociallearnEU/cf-nodejs-client ;)
Now if you download the package, is easier testing processed.
I refactored the way to test in the platforms:

    "test": "npm run test_local && npm run test_pws && npm run test_bluemix",
    "test_local": "mocha test --config=LOCAL_INSTANCE_1",
    "test_pws": "mocha test --config=PIVOTAL",
    "test_bluemix": "mocha test --config=BLUEMIX",

Cheers

:+1:


Capture contributions from other repos

We need to capture contributions from the following repos as well

coronasafe/10bedicu
coronasafe/care_dashboard

All repos in coronasafe are being tracked as current implementation tracks all events in coronasafe org regardless of repo.
@sainak is that right?

@Ritesh-Aggarwal yes thats the current behaviour.


x/playground: non-deterministic return of process ID

What did you do?
https://play.golang.org/p/PJWAz9xPONU
What did you expect to see?
A consistent process ID.
What did you see instead?
There is a small chance that I recieve a different process ID.
This is potentially because the process ID is assigned to a concurrent user.
I guess the sandboxed environment doesn't emulate syscall returns or create a new PID namespace per playground execution.

@toothrot correct me if I'm wrong, but I believe that the playground sandbox looks like a program from x/playground as init (PID 1), which then launches the actual user binary as a child process.
Since the init process is a Go process, it will not necessary create a consistent number of threads. Each thread takes a PID, so if the number of threads in the parent varies, then the PID of the child will vary.
FWIW, I don't think os.Getpid is something we should guarantee remains consistent across runs. That said, I was under the impression that we cached output to keep it more consistent (plus reduce load). Yet, running https://play.golang.org/p/z12AQN-w-hD several times does yield different results, so perhaps our caching is much less aggressive than I thought?


Changed RefWorks and EndNote to mixed case in Mega Menu, updated RefWorks link

RefWorks link now points to http://refworks.ua.edu

Some irregularities in dependencies with the build. Going to investigate further to fix this build.


Upgrade and migrate Valibot to v0.31.0

https://valibot.dev/guides/migrate-to-v0.31.0/

This is perfect! I plan to release it in the next few days. I will post it on X. You will probably see it.

v0.31.0 is available: https://valibot.dev/blog/valibot-v0.31.0-is-finally-available/

@fabian-hiller if you could resolve conflicts and update the packages to stable, we'll merge ASAP! :D


Update azure-stack-update-1901.md

Accommodating the new 1901 (.99) build

@justinincarnato : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.

@justinincarnato : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.

@justinincarnato Looks great -- per our discussion. Thank you! #sign-off

@justinincarnato @sethmanheim - there seems like there is an error in the release number in this line:

Customers that are still on 1811 (1.8111.0.101) and are connected will be presented with the new 1901 (1.1901.0.99) package in the Administration portal and should install it when ready.

Please confirm and update the PR if needed. Thanks.

@justinincarnato This is your PR, can you please fix?

I've pulled these changes into a separate PR in the private repo: https://github.com/MicrosoftDocs/azure-docs-pr/pull/67652. #please-close


Prevent cache while executing an expression

Hi,
It would be great to have optional boolean type param $cache = true for execute method to prevent storing tokens in the cache.
public function execute(string $expression, bool $cache = true)

I'm aware of all benefits of having a cache. However, this can be undesirable in some cases, especially if you want to use a particular expression just only once or you if need to parse thousands of unique expressions at the same class instance. This will impact memory usage a lot because of adding thousands of expression tokens to $cache variable and they will never be used again.
According to the above, I suggest adding optional param $cache = true to execute method and additional public method to clear cache if needed.

Sounds reasonable.  Really the cache should be a WeakMap as well, but that is PHP 8 only.
Do you want to submit a PR for this?

Sounds reasonable.  Really the cache should be a WeakMap as well, but that is PHP 8 only.
Do you want to submit a PR for this?

sure, I will do that.

sure, I will do that.

PR #81

PR #81

Now in V2.1.6

Now in V2.1.6

Latest now live on http://phpfui.com/?n=NXP&c=MathExecutor

Latest now live on http://phpfui.com/?n=NXP&c=MathExecutor


Error parsing Discovery Network video

This il the verbose log:
$ youtube-dl --no-overwrites -o "%(title)s.%(ext)s" -f "best[height=360]" --verbose "https://it.dplay.com/nove/fratelli-di-crozza/stagione-3-episodio-18-del-25-ottobre-2019"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--no-overwrites', u'-o', u'%(title)s.%(ext)s', u'-f', u'best[height=360]', u'--verbose', u'https://it.dplay.com/nove/fratelli-di-crozza/stagione-3-episodio-18-del-25-ottobre-2019']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.22
[debug] Python version 2.7.13 (CPython) - Linux-4.19.0-1-amd64-x86_64-with-MX-18.3-Continuum
[debug] exe versions: avconv 3.3.4-1mx17, avprobe 3.3.4-1mx17, ffmpeg 3.3.4-1mx17, ffprobe 3.3.4-1mx17
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (IT) as X-Forwarded-For.
[DPlayIt] stagione-3-episodio-18-del-25-ottobre-2019: Downloading webpage
[DPlayIt] stagione-3-episodio-18-del-25-ottobre-2019: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError(u'errors',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/dplay.py", line 333, in _real_extract
error = info['errors'][0]
KeyError: u'errors'
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 543, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'errors',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I have the same trouble:
$ youtube-dl -v https://it.dplay.com/nove/fratelli-di-crozza/stagione-3-episodio-17-del-18-ottobre-2019/ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-v', u'https://it.dplay.com/nove/fratelli-di-crozza/stagione-3-episodio-17-del-18-ottobre-2019/'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2019.10.22 [debug] Python version 2.7.15+ (CPython) - Linux-4.15.0-65-generic-x86_64-with-LinuxMint-19.1-tessa [debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6 [debug] Proxy map: {} [debug] Using fake IP <IP_ADDRESS> (IT) as X-Forwarded-For. [DPlayIt] stagione-3-episodio-17-del-18-ottobre-2019: Downloading webpage [DPlayIt] stagione-3-episodio-17-del-18-ottobre-2019: Downloading JSON metadata ERROR: An extractor error has occurred. (caused by KeyError(u'errors',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last):   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract     ie_result = self._real_extract(url)   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/dplay.py", line 333, in _real_extract     error = info['errors'][0] KeyError: u'errors' Traceback (most recent call last):   File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info     ie_result = ie.extract(url)   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 543, in extract     raise ExtractorError('An extractor error has occurred.', cause=e) ExtractorError: An extractor error has occurred. (caused by KeyError(u'errors',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


[Create New Issue]:

Description
SQL Queries and Sub Queries Documentation
Domain
Database
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


refactor boolean access in HANA SYS schema

boolean like columns in SYS schema are stored as VARCHAR(5) with values TRUE, FALSE
(to be used in my PR)

merged


imou cell 2 request

So, adding this camera gives a few sensors and stuff which temporarily work. As the camera is a battery operated one, it goes to sleep.
Looking at the http api's, I think it could enable query the device to wake up and then pull sensor states. Also could not get webhooks working to have entities update.
So request is:

wake up device implementation
webhook fix (could not get any debug info on it, imou wasnt very clear when webooks are sent)
fetch a live stream to display as camera on awake device (which also happens on motion detection)

Interesting, for sure battery powered devices need to be handled differently. This is also related to an issue when a standard the device is offline with requests throwing errors. Will have a look at it, adding to the roadmap. Thanks

Could you please start sharing Diagnostics (https://github.com/user2684/imou_life#troubleshooting) so I can have a look at available capabilities? I don't have the same model so I need to kind of reverse engineer the behavior :-) Thanks

Could you please start sharing Diagnostics (https://github.com/user2684/imou_life#troubleshooting) so I can have a look at available capabilities? I don't have the same model so I need to kind of reverse engineer the behavior :-) Thanks

see above, not sure this is the format you wanted :)

Perfect thanks! I see the capability "Dormant" which helps us identifying those models.
But not sure I to wake them up, is not very clear from the API documentation. The only which is closer is https://open.imoulife.com/book/en/http/door/wakeUpDevice.html even if it does not refer to cameras.
I need to put together  some scripts asking you to run some tests for me since I do not have this model.
Would you be confortable in running some python code for me? thanks

sure.. let me have it. (did support other custom components before, not being developer but i get around on a PI https://community.home-assistant.io/t/apsystems-aps-ecu-r-local-inverters-data-pull/260835)
let me see which API thought was usefull from this list https://open.imoulife.com/book/http/device/manage/query/summary.html
if we cant figure it from docs, i can see if i can trace the imo life app a bit to see how that app is waking the device (it reallly states in app, waking device and then fetches a thumbnail and/or stream)

Found only a packet with this as content, not exactly sure what it does really:
POST /device/{deviceidentifier}/local-channel
HTTP/1.1
x-pcs-request-id: 3b390326708f8b6c89c697fae9578b47
CSeq:<PHONE_NUMBER>
Authorization: WSSE profile="UsernameToken"
X-WSSE: UsernameToken Username="P2PClient", PasswordDigest="secret", Nonce="-1353447782", Created="2022-11-28T21:14:43+01:00"
Content-Type:
Content-Length: 161
1669666483other secret864757875admin

Where is this coming from? Is it an outgoing request from your camera?
Thanks for your availability to run some tests! Actually rather than sharing python code I think best would be if you are familiar with it of course to configure postman (https://open.imoulife.com/book/http/postman.html) so you can freely call any API, including those I've not implemented yet in our HA library. I'd give a try to https://open.imoulife.com/book/en/http/door/wakeUpDevice.html which may wake up the device

Trying Postman and the package, just cant get the intial token API to work. Somehow it's not getting my appid and secret while they are set in the environment i'm using. I see other variables being set, just cant figure it at the moment.
{"result":{"msg":"appId为空。
So confirming the wakeup API is having no function at this device. any ideas whats next?

Ok, wakeupcall was actually just a guess since made for doorbell devices so makes sense it doesn't work.
Interesting modifyDeviceAlarmStatus does instead wake up the device. Wonder if setDeviceCameraStatus is also waking up the device. If we cannot find a dedicated API to wake the device up, best we can do I guess is find an API call which is low-impact (e.g. getting the status of something rather than setting) and then use it to wake up the device before issuing any other command. Again, just guessing if we cannot find the proper call :-)

YEs is does. Tried with:
    "params":{         "enableType":"closeCamera",         "enable":true,
for which i have really no clue what it means as the description in API docs is not that clear.
Anyway, online =1 after calling the setDeviceCameraStatus.

Ok great so we now know we can wake up the camera :-) A few questions now:

Any idea if closeCamera wakes up the camera when sending value true and put it to sleep back again with value false?
Let's assume before acting on any switch we need to wake up the camera. Wonder how long it takes for the camera to pick up the following api call. If you call closeCamera and then another command, does it work or you need to wait a bit before calling another api call?
I assume we do want to  wake up the camera for direct interaction with the switches but not for refreshing their values every 15 mins otherwise will run out of battery, makes sense?
Thanks

There is no api that results in device going back to sleep. Tried  closeCamera, but also closeDormant. Any moment the channel is on status 4 and an API is called, it wakes up. There is no case that forces it to 4. I dont think its really necesary, as soon as interaction goes silent, it auto sleeps in 10 seconds orso.
I saw in the Imou app, the close camera triggers the 'Camera shielding' toggle btw. Now i know what the api is for :). And hence the closeDormant is a better approach to wake up device.
The API response is slow, it waits until device is active. So you dont need to wait for execute next call, but wait for response. The response kind of fluctuates between 3 and 6 seconds, could even be longer i assume. So setting a time out of 10 seconds would make sense.
 But lets start with the initial behaviour as it is now:

the entities become very quickly unavailable currently. there is only active entities when devices is woken up and the poll is triggered.
the camera stream is always NA (black in UI).
So options:
stop polling for entities on battery devices, as it will make them unavailable
have a config setting for poll with wakeup, to be able to test battery life
make call wake up when activating any toggle.
think about periodic refreshing the still image. (api setDeviceSnap and use that for HA camera still)
make different polling intervals , but didn't think that one through yet.

Ok understood thanks. So you are saying, let's send closeDormant true to wake up the camera. The API will not return until the camera is up so no need to add additional waiting time (maybe just a few seconds to be sure). And no need to put it to sleep again since it will go in sleep mode by itself after a few seconds. This may be the logic to go through before performing any action with the camera (manual or during a periodic refresh).
Second topic is the availability of the camera. Right now is linked to the "online" status of the camera (e.g. "1" online, offline otherwise). This means I need to add a state ("4" dormant) and to make it available if in this state.
Now, about polling. It can be either taking place e.g. every 6 hours instead of 15 minutes or be disabled entirely.  I guess this should be configurable by the user.
Streaming, not sure if streaming is enabled the camera stays up but you cannot test I guess since always unavailable. If this is the case, other thing to understand is how to unbind from a live stream. I mean, there is an api for that but there is no concept of "stream closed" in HA as far as I know to terminate the stream on the other side.
Anything else I'm missing?

First point: yes
second yes, with a note to 'device'oneline NOT the channel online
3rd, config would be most helptful
4th, not sure either. in the app, the stream dont stay open either. but not sure if its the app that stops or the device just says time out, going to sleep.
So to me, an updated still image every 30 seoncds orso would do and possibly already drain battery a lot. So a config setting for that seperatly would be nice.
The stream activation might be on webhook for motion detection, as the device should be awake already then, we might try to fetch live image too then.

First attempt with version 1.0.11, may not necessarily work since I'm working blind without a device with that capability to test :-)
Have a loot at https://community.home-assistant.io/t/imou-life-cloud-integration/462439/128.
Some more implementation details:

The device should be now available even when dormant so you can go and interact with it in a dormant state
Any action is performed on any sensor or during a regular update, deviceOnline API is called so to refresh the current status, if domant, closeDormant is called and additional 4 seconds are added as waiting time. deviceOnline is called again to check the device is now online before proceeding. All of this is because I cannot keep track of the status of the device since goes to sleep by itself, I need to ensure before sending any command that is online and able to process the command.
The above takes place for each sensor so there could be a lot of calls to the deviceOnline API but considering refresh should be pretty rare for these devices could be still acceptable
Refresh time for all the sensors is 15 minutes, the default, regardless, so you may want to increase this to hours or a day to avoid consuming the batteries (and the API call limits)
Let's see if the logic works first and then we will investigate better the video streaming issue

You sir, are even blind folded a million times better dev then I am in full visibility

Even got an camera image

Great! Glad to hear that. Keep me posted if you encounter any issue or strange behaviour along the way

just spotted it is always reported online in HA. I think i know why, because the update polling wakes the device and there is never a dormant reponse somehow. Need to check if it does go to sleep from postman (later today) for battery usage. I lost about 5% battery overnight (but i have no reference nights to compare with).
I also could not find an API for battery level. Did you see that somewhere?

Other question: should motion trigger a webhook or is only other alarms tied to webhooks?

The reason why shows up always online can be even simpler: If you e.g. refresh the data every 1 hour, it will always shows the last value, e.g. online. We can probably think of checking if it is online or not more frequently but the way it is designed the integration makes this very difficult to have different timers running.
Regarding the battery, have you tried https://open.imoulife.com/book/en/http/door/getDevicePowerInfo.html? No idea if it would work with your camera but could be worth trying.
How is it going in terms of battery usage generally speaking? Keep in mind that if you enable debug logging (https://github.com/user2684/imou_life#debugging) you should see all the details in terms of when the device is checked to be online, if a wake up call is made or not etc.
Motion (at least in my cameras) triggers an alarm which triggers a webhook.
Closing this as fixed but fell free to keep commenting :-)

The dormant state is not really usefull, so lets not pursue this state showing in HA.
yes. devciepower info does return intersting info
{"result":{"msg":"Operation is successful.","code":"0","data":{"electricitys":[{"electric":"89","type":"battery"}]}},"id":"47"}
89 is in deed current battery level%
webhooks is still a mystery to me. Any suggestions where i should look for incoming traffic or find a test webhook option? (i do understand the working of webhooks, but really cant find any trace on imou currently)

cool, battery drain visibility would be reaaly usefull..
with the webhooks enabled, it was drained in one night.  I had automation to share me a camera capture and button press. It continously triggered new webhooks, so every second the sensor poll update ran :)
Is there a way i can see the content of the webhooks?  Wonder if content of webhooks are more detailed so i can pick the specific events for motion only (or battery state)

Theoretically the webhook per-se should be server side. When you configure it, it will send the webhook, if not, the communication between the camera and Imou servers should take place anyway, only difference is that you will not receive it. This is because the Imou Life app is notified as well so cannot be dependent on your configuration.
Of course if you have configured the automation provided in the README, yes, then this will trigger a sensor refresh. You can view the content of the webhook by opening the automation, going to traces and reviewing the state changed section, you should see the json which is send over and customize the logic to avoid triggering the sensor refresh there. Let me know if makes sense. Thanks!

Got it and now understand the drain better. Even without the sensor refresh, several webhooks come in.
  json:     deviceType: IPC     msgType: online
(twice)
then a
'  json:
msgType: openCamera'
and later a
'    json:
deviceType: IPC
msgType: sleep
desc:
status: sleep'
So when the automation DOES do a sensor refresh. there is a new webhook and then it never ends.
Can i use the content of the webhook in an automation so i can make it better act on msgType?
then possibly an 'openCamera' could help me fetch a still image to display in HA
It would be awesome if we could make the 'sleep' message to update the entity state to be 'sleeping' as we cant do that by api easily.

Oh I see the issue. Sure you can, You can add template condition to your automation to proceed only on specific message types. You should have all the payload available in traces and you can add conditions based on trigger.json. If you need any help with this please let me know. This should be fixed not only for your camera even if of course with battery powered cameras it is way more impacting. I've opened up #45 to keep track of this different problem.
Good idea about to use the sleep message for updating the status otherwise the status will never be updated. Need to figure out the best way to do so since you cannot update the status of an entity from an automation (unless using some custom utilities) so maybe I need to add a service. Will think about it :-)
Many Thanks

This should have been fixed now. You should see a "battery" sensor reporting the battery percentage. I've been working blind since I do not have such a camera to test so I hope it will work. I've also updated the automation template in the README file adding a condition to prevent triggering the refresh at every message type. Have a look at it, if it makes sense. Thanks.
Closing it for now, feel free to reopen again

yessss.. got the battery sensor. Will look at automation template too later, didnt have the time yet.
thx for the BATT%, now i can trace battery life and do some charging planning !

Trying Postman and the package, just cant get the intial token API to work. Somehow it's not getting my appid and secret while they are set in the environment i'm using. I see other variables being set, just cant figure it at the moment. {"result":{"msg":"appId为空。 After changing it, it gives me a token. I'll shutup and try next steps

Sorry to revive this old discussion but I'm trying the same postman route for the cell go battery cam and I'm getting your same initial problems with postman.
You say the url in the package was wrong: can I ask you what you changed it into?
Thanks a lot.

Ok, I think I figured it out after carefully re-reading :), now I'm getting a token.
Will read the following posts and see whether they apply to my camera too.
Thanks.

Hello
I successfully integrate this camera model Cell Go in the HA using the IMOU LIfe Integration, but i still not able to view the live stream even if i activate the camera over the imou APP
Right now I have the following sensors and entities available over this integration

is there any way to get the live stream available ?
Thank you

Have you checked you have imouapi library installed?
In my HA it wasn't automatically installed by the imou life integration, I had to install it manually via the pip command
pip install imouapi

Have you checked you have imouapi library installed? In my HA it wasn't automatically installed by the imou life integration, I had to install it manually via the pip command
pip install imouapi

Thank you for your reply.
I'm not able to run this command, I'm receiving a msg that PIP command is not available ...
Thank you


Question about StartReplication at the end of  ResetReplication

At the end of the function ResetReplicationOperation, there is an operation StartReplication. I don't understand why this operation is there. I think it is redundant.
https://github.com/openark/orchestrator/blob/c7387314d2f35d16b1f6b24c08238e2824049ad4/go/inst/instance_topology.go#L1062
https://github.com/openark/orchestrator/blob/c7387314d2f35d16b1f6b24c08238e2824049ad4/go/inst/instance_topology.go#L1090
I look forward to your reply.
cc @MOON-CLJ

StartReplication is called in case ResetReplication(instanceKey) fails.

if ResetReplication(instanceKey) succeeds, then StartReplication is meaningless and does nothing
if ResetReplication(instanceKey) fails, then StartReplication restores the state back to before calling the function ResetReplicationOperation()


accelerate launch train.py not showing progress bar

I was following Multi-GPU Training instructions here https://github.com/lucidrains/denoising-diffusion-pytorch#multi-gpu-training
(I have 2 GPUs) but upon running accelerate launch train.py I didn't see the tqdm bar. Did I miss something? Thank you very much!

check https://huggingface.co/docs/accelerate/index for details

Thank you so much DavidXie03!
I was bitten by https://github.com/huggingface/accelerate/issues/314
Watchdog caught collective operation timeout: WorkNCCL(SeqNum=1, OpType=ALLGATHER, Timeout(ms)=1800000) ran for 1804997 milliseconds before timing out.
The issue probably has nothing to do with the diffusion repo.
I did some research and the timeout issue still seems unresolved for many other users, and even for those who managed to get it work it seems awkward to me as they changed timeout from 30min to 1.5 hours. Interestingly I tried the same thing on cloud GPU (whereas the error above occurred on my workstation) and it worked perfectly fine and got results under 3 mins!
I probably need to halt multi-GPU training for a while. Hopefully there will be a reasonable API soon.

Thank you so much DavidXie03!
I was bitten by huggingface/accelerate#314 Watchdog caught collective operation timeout: WorkNCCL(SeqNum=1, OpType=ALLGATHER, Timeout(ms)=1800000) ran for 1804997 milliseconds before timing out. The issue probably has nothing to do with the diffusion repo.
I did some research and the timeout issue still seems unresolved for many other users, and even for those who managed to get it work it seems awkward to me as they changed timeout from 30min to 1.5 hours. Interestingly I tried the same thing on cloud GPU (whereas the error above occurred on my workstation) and it worked perfectly fine and got results under 3 mins!
I probably need to halt multi-GPU training for a while. Hopefully there will be a reasonable API soon.

Glad that I could help you. This issue didn't happen to me because I trained the model on a remote server.

https://github.com/huggingface/accelerate/issues/314#issuecomment-1499999478 eventually fixed the issue.


Palawan State University

Webiste link: https://psu.palawan.edu.ph/

@lancefrancisco25 First stage of verification passed, official domain is psu.palawan.edu.ph as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@lancefrancisco25 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add support for Python 3.12.4

Release announcement:
https://blog.python.org/2024/06/python-3124-released.html
Changelog:
https://docs.python.org/3.12/whatsnew/changelog.html
Binary builds:
https://github.com/heroku/heroku-buildpack-python/actions/runs/9414066018
GUS-W-14846781.

Updated versions on:
https://devcenter.heroku.com/articles/python-support#specifying-a-python-version
https://devcenter.heroku.com/articles/python-runtimes#selecting-a-runtime
Published changelog entry:
https://devcenter.heroku.com/changelog-items/2902


Default Sorting not being applied to DataGrid

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudDataGrid
What happened?
When applying default filtering to a DataGrid, the column arrows shows as sorted, but the sorting is not applied.
The following Weather page demonstrates the problem.
@page "/weather"

<PageTitle>Weather</PageTitle>

<MudText Typo="Typo.h3" GutterBottom="true">Weather forecast</MudText>
<MudText Typo="Typo.body1" Class="mb-8">This component demonstrates fetching data from the server.</MudText>

@if (forecasts == null)
{
    <MudProgressCircular Color="Color.Default" Indeterminate="true" />
}
else
{
    <MudDataGrid @ref="refMudDataGrid"
                 Items="forecasts"
                 Hover="true"
                 Elevation="0"
                 Filterable="true"
<EMAIL_ADDRESS>                 HeaderClass="header-class"
                 Height="500px"
                 ItemSize="25"
                 OverscanCount="2">
        <Columns>
            <PropertyColumn Property="x => x.Date" Title="Date" />
            <PropertyColumn Property="x => x.TemperatureC" Title="Temp. (C)" InitialDirection="SortDirection.Descending" />
            <PropertyColumn Property="x => x.TemperatureF" Title="Temp. (F)" />
            <PropertyColumn Property="x => x.Summary" Title="Summary" />
        </Columns>
    </MudDataGrid>
}

@code {
    private WeatherForecast[]? forecasts;
    private MudDataGrid<WeatherForecast>? refMudDataGrid;
    private bool _defaultSortingSet;

    protected override async Task OnInitializedAsync()
    {
        // Simulate asynchronous loading to demonstrate a loading indicator
        await Task.Delay(500);

        var startDate = DateOnly.FromDateTime(DateTime.Now);
        var summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" };
        forecasts = Enumerable.Range(1, 500).Select(index => new WeatherForecast
            {
                Date = startDate.AddDays(index),
                TemperatureC = Random.Shared.Next(-20, 55),
                Summary = summaries[Random.Shared.Next(summaries.Length)]
            }).ToArray();
    }

    private class WeatherForecast
    {
        public DateOnly Date { get; set; }
        public int TemperatureC { get; set; }
        public string? Summary { get; set; }
        public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
    }

    // This forces a third render after the second render to apply the filtering
    // protected override Task OnAfterRenderAsync(bool firstRender)
    // {
    //     if (!_defaultSortingSet && refMudDataGrid is not null)
    //     {
    //         _defaultSortingSet = true;
    //         StateHasChanged();
    //     }
    //     return Task.CompletedTask;
    // }
}

See The following StackOverflow Question: https://stackoverflow.com/questions/78961537/muddatagrid-virtualized-default-sort-order
Expected behavior
Should Sort the default column.
Reproduction link
https://try.mudblazor.com/snippet/GumouDkirGQauyTH
Reproduction steps

...
Relevant log output
No response
Version (bug)
7.*
Version (working)
No response
What browsers are you seeing the problem on?
Edge
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Sound like the grid isn't refreshed after the sorting.
I will try to fix it.

@ShaunCurtis , as temporary fix, you can force the refresh by calling StateHasChanged like :
@code {
    protected override async Task OnInitializedAsync()
    {
        ...
        StateHasChanged();
    }
}

See https://try.mudblazor.com/snippet/wYmykjPeTUclWJFO


Integrate Charts and Conditional Rendering

Tutorials: https://developers.sap.com/tutorials/ui5-webcomponents-react-charts.html
Step 3: Final code snippet is having an error.
Error
CardHeader is missing in the imports.
ERROR in src/MyApp.jsx
  Line 52:12:  'CardHeader' is not defined  react/jsx-no-undef

Proposed Snippet Fix:
import React, { useState } from "react";
- import { Card, Text, Icon } from "@ui5/webcomponents-react";
+ import { Card, CardHeader, Text, Icon } from "@ui5/webcomponents-react";
import { spacing } from "@ui5/webcomponents-react-base";
import { BarChart, LineChart } from "@ui5/webcomponents-react-charts";
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
const dataset = [
  {
    month: "January",
    data: 65
  },
  {
    month: "February",
    data: 59
  },
  {
    month: "March",
    data: 80
  },
  {
    month: "April",
    data: 81
  },
  {
    month: "May",
    data: 56
  },
  {
    month: "June",
    data: 55
  },
  {
    month: "July",
    data: 40
  }
];

export function MyApp() {
  const [toggleCharts, setToggleCharts] = useState("lineChart");
  const handleHeaderClick = () => {
    if (toggleCharts === "lineChart") {
      setToggleCharts("barChart");
    } else {
      setToggleCharts("lineChart");
    }
  };
  return (
    <div>
    <Card
      header={
        <CardHeader
          titleText="Card"
          interactive
          onClick={handleHeaderClick}
          avatar={ <Icon name={ toggleCharts === "lineChart" ? "line-chart" : "horizontal-bar-chart" } /> }
        />
      }
      style={{ width: "300px" }}
    >
        <Text style={spacing.sapUiContentPadding}>
          This is the content area of the Card
        </Text>
        {toggleCharts === "lineChart" ? (
          <LineChart
            dimensions={[{ accessor: "month" }]}
            measures={[{ accessor: "data", label: "Stock Price" }]}
            dataset={dataset}
          />
        ) : (
          <BarChart
            dimensions={[{ accessor: "month" }]}
            measures={[{ accessor: "data", label: "Stock Price" }]}
            dataset={dataset}
          />
        )}
      </Card>
    </div>
  );
}

Hi @nayyarnishant,
sorry for the late reply, I must have missed your issue. This is actually already fixed in the master branch, I don't know why it's not replicated to the Tutorials pages.
@MichaelCzcz could you help out here?
Lines that are not in sync with the master branch:
https://github.com/sap-tutorials/Tutorials/blob/f15a65a7bf68c37d67db5a7716e466a9ee4e4eb4/tutorials/ui5-webcomponents-react-charts/ui5-webcomponents-react-charts.md?plain=1#L253

https://github.com/sap-tutorials/Tutorials/blob/f15a65a7bf68c37d67db5a7716e466a9ee4e4eb4/tutorials/ui5-webcomponents-react-charts/ui5-webcomponents-react-charts.md?plain=1#L292

It seems like this commit hasn't made it into the published version.

@Lukas742 Please update the tags (products -> software-product).


Error: Config Flow could not be loaded

New AL integrations cannot be added - Error: Config Flow could not be loaded
Existing integrations have no edit option.
Latest HA Version 2021.3.1

I have just updated but I do not observe the same issue.
Did you set up everything via the UI or YAML?

I've resolved it via re-installing the integration from HACS.


objstore : implement Aliyun OSS

Hello , everyone . I pulled the code of thanos and built it a couple of days before , it is a awesome
project working with prometheus  . But in my company env  ,  It is much popular with  Aliyun OSS than   GCS/S3 . As you know , thanos is not supported Aliyun OSS right now , so I implement objstore integrated with Aliyun OSS .
Could I push the code in repository ?

Thanks! @shaulboozhiao  Please go ahead and make a PR directly :smile:

PR is welcome! Thanks!

Yes, we are happy to take PR. Remember about all the steps mentioned here: https://thanos.io/storage.md/#how-to-add-a-new-client
Thanks @shaulboozhiao !

@bwplotka @jojohappy @yeya24   I will work on step 3 ~ step 7 following the Object Storage guide .

#1234  PR is submitted , Could some one take a review , thanks ~~

@shaulboozhiao hi，now,i want use thanos with aliyun-oss, now can use,thank you.

@gagado This feature is not merged into master trunk ,  but the code is available . You can use in test env  , maybe .

Hello! Thanks to @wujinhu we now have Aliyun implementation: https://thanos.io/storage.md/#aliyun-oss Feel free to use it and give us feedback (:


[SPARK-41220][SQL] Range partitioner sample supports column pruning

What changes were proposed in this pull request?

Add a new transform to optimize global sort only. Global sort only mean there is no addition shuffle exchange except sort itself.
     Optimizer               Strategy                  Preparations
Sort    ->    GlobalSortOnly    ->    GlobalSortOnlyExec    ->    GlobalSortOnlyExec
              planForSample                                         rddForSample

Make OrderedDistribution and RangePartitioning take a new parameter
rddForSample: Option[() => RDD[InternalRow]], so we can pass the rddForSample to ShuffleExchangeExec
Why are the changes needed?

When do a global sort, firstly we do sample to get range bounds, then we use the range partitioner to do shuffle exchange.
The issue is, the sample plan is coupled with the shuffle plan that causes we can not optimize the sample plan. What we need for sample plan is the columns for sort order but the shuffle plan contains all data columns. So at least, we can do column pruning for the sample plan to only fetch the ordering columns.
A common example is: OPTIMIZE table ZORDER BY columns
Does this PR introduce any user-facing change?

for user, no it's improve performance
for developer, yes it provides a custom way to do sample for range partition
How was this patch tested?

add tests
performace test:
val rows = 1000000
val columns = (0 until(200)).map(i => s"uuid() c$i")
spark.range(rows).selectExpr(columns: _*).repartition(30).write.format("parquet").saveAsTable("t")
spark.sql("SELECT * FROM t ORDER BY c0, c1, c2").write.format("noop").mode("overwrite").save()

after do column pruning, the stage for sample from 7s -> 0.4s, the whole query 1.4X

how about this idea ? cc @yaooqinn @wangyum @HyukjinKwon @cloud-fan

I'd rather have a nested query execution for sample, instead of changing the query plan tree.

@cloud-fan how about this updating ? I make a new query execution before shuffle, so that we can have a optimized plan to sample.


Certain metrics unavailable after a connection timeout

What happened:
After a timeout connecting to splunk, specific metrics are no longer sent to splunk even though the server is readily available.
A log dump from the running pod (splunk metrics aggregator) indicates that this happened on the 12th July.
2019-07-12 09:45:21 +0000 [error]: #0 Unexpected error raised. Stopping the timer. title=:resource_usage_scraper error_class=RestClient::Exceptions::OpenTimeout error="Timed out connecting to server"
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/rest-client-2.0.2/lib/restclient/request.rb:731:in `rescue in transmit'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/rest-client-2.0.2/lib/restclient/request.rb:642:in `transmit'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in `execute'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in `execute'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/rest-client-2.0.2/lib/restclient/resource.rb:51:in `get'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/fluent-plugin-k8s-metrics-agg-1.1.0/lib/fluent/plugin/in_kubernetes_metrics_aggregator.rb:536:in `scrape_resource_usage_metrics'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/fluentd-1.4.0/lib/fluent/plugin_helper/timer.rb:80:in `on_timer'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/cool.io-1.5.3/lib/cool.io/loop.rb:88:in `run_once'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/cool.io-1.5.3/lib/cool.io/loop.rb:88:in `run'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/fluentd-1.4.0/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
  2019-07-12 09:45:21 +0000 [error]: #0 /usr/lib/ruby/gems/2.5.0/gems/fluentd-1.4.0/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
2019-07-12 09:45:21 +0000 [error]: #0 Timer detached. title=:resource_usage_scraper

Some of the metrics that are not available are:
kube.node.memory.allocatable
kube.cluster.cpu.request
kube.cluster.cpu.limit
What you expected to happen:
Metrics to be sent to splunk when the host is available again. Right now, the pod is in a ready state, but the process running inside it is not collecting logs and forwarding them to splunk.
How to reproduce it (as minimally and precisely as possible):
Restrict the pod from being able to communicate with the host so that the connection times out.
Environment:

Splunk metrics aggregator image:

splunk/k8s-metrics-aggr:1.1.0

Kubernetes version (use kubectl version):

v1.13.5

Hey @cwebbtw, can you post the buffer setting for the configmap of metrics aggregator. I suspect we might be running out of buffer.

@chaitanyaphalak thank you for your response, please see the buffer section:
  <buffer>
    @type memory
    chunk_limit_records 10000
    chunk_limit_size 100m
    flush_interval 5s
    flush_thread_count 1
    overflow_action block
    retry_max_times 3
    total_limit_size 400m
  </buffer>

@cwebbtw if you look at the implementation https://github.com/splunk/fluent-plugin-k8s-metrics-agg/blob/develop/lib/fluent/plugin/in_kubernetes_metrics_aggregator.rb#L541-L551
its designed to continue to stay alive. But I am open to suggestions. Let me know your thoughts :)

@chaitanyaphalak It seems as if you're catching StandardError on line 549 , however, given the error being produced is an Unexpected Error, as seen in the initial log posted:

2019-07-12 09:45:21 +0000 [error]: #0 Unexpected error raised. Stopping the timer. title=:resource_usage_scraper error_class=RestClient::Exceptions::OpenTimeout error="Timed out connecting to server"

I'm inclined to believe the exception handler to keep the timer alive is not being hit, as evidenced by Timer Detached in the error seen in the initial log:

2019-07-12 09:45:21 +0000 [error]: #0 Timer detached. title=:resource_usage_scraper

@chaitanyaphalak Any feedback for this? I'm assuming that this would be a problem for others too.

@cwebbtw it looks like there is not much we can do here, except fix the bug :)
I would be happy to review a PR for you on https://github.com/splunk/fluent-plugin-k8s-metrics-agg.
Thanks

Hey @chaitanyaphalak, I'll see what I can come up with in a PR, thanks!

@cwebbtw let me know if you need help with setting up a dev environment for the PR, I want to enable the community to contribute to the project :)
Thanks

2019-09-04 11:41:09 +0000 [error]: #0 Unexpected error raised. Stopping the timer. title=:resource_usage_scraper error_class=SocketError error="Failed to open TCP connection to <redacted>:443 (getaddrinfo: Try again)"
I'm unable to dedicate any time to a PR right now, but this seems like a pretty serious issue - is it likely to be added to a milestone at any time soon?

We will consider it for a future release for the mertics-agg plugin.

OpenTimeout in RestClient extends
RestClient::Exceptions::OpenTimeout < RestClient::Exceptions::Timeout <  RestClient::RequestTimeout < RestClient::Exception < RuntimeError < StandardError
Hence the exception is a StandardError so not sure why it is not handled in the mentioned catch

Our theory is that the get methods throw exception which is not being handled at all:
https://github.com/splunk/fluent-plugin-k8s-metrics-agg/blob/develop/lib/fluent/plugin/in_kubernetes_metrics_aggregator.rb#L363-L366

fixed as part of https://github.com/splunk/fluent-plugin-k8s-metrics-agg/pull/33


Push browserify and reactify to devDependencies

As they're regular deps now they bloat up the distribution version somewhat. Can you push those as dev deps instead?

Porting react-skylight to es2015.


[KAF-405] Conditionally inject broker count

We only need the broker count when SSL Authz is enabled. This wraps the injection such that it will only be injected if:

Kerberos is off
TE is enabled
SSL Auth is enabled
Authorization is on

@benclarkwood: What's the harm in injecting this information unconditionally?

@gabrielhartmann the harm is that you get a rolling restart of all the brokers on any scaleup when it is only strictly necessary for TLS authz.

@elezar that's the issue, if you inject it to all tasks always, then any time you up the count you roll all the brokers.
Rolling the brokers is only necessary for SSL authz.


[bug] the wallet options doesn't show up in chrome mobile

Link to minimal reproducible example
https://github.com/FishDontExist/pancakeSwapLikeWalletConnect
Summary
I just created a react-app and implemented the latest Web3modal based on the official docs, but when I tested the app on my chrome mobile, the wallet connection options doesn't appear on the modal.

List of related npm package versions
"@tanstack/react-query": "^5.29.2",
"@web3modal/wagmi": "^4.1.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "^2.9.23",
"wagmi": "^2.5.20"
},
"devDependencies": {
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"typescript": "^5.2.2",
"vite": "^5.2.0"
}

I cloned your repo and it works well for me. Is it possible that you're using a different project ID?

I'm not able to repro, do you see any errors on console?

weird, can you try here: https://lab.web3modal.com/library/wagmi/

weird, can you try here: https://lab.web3modal.com/library/wagmi/

Thanks mate :)

@FishDontExist Sounds like this is resolved from your side?
I will close it but please re-open if required.


Incorrect color of the revisit text

Recently mix updated and something went wrong that now the text on the "Dracula" theme behaves like this (black text). Could you please fix this? Thanks!!!

screen

Too easy, just follow the steps in my comment

New release v1.3.1 Thanks @Dhyfer1


Error : "Malformed class from JS: field sizes are different", while using CardItem component

I have gone through these following points

[X]   Check latest documentation: https://docs.nativebase.io/
[X]   Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[X]   Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[X]   Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[X ]   For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[X]   For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description

node, npm, react-native, react and native-base version, expo version if used, xcode version
node : v10.13.0
npm : v6.4.1
react : 16.8.3
react-native : 0.59.8
native-base : 2.12.1
Expected behaviour
Card should render with a simple text.
Actual behaviour
The below mentioned error occurs.
Emulator :

Console Log :

Error : Invariant Violation: [69,"RCTView",51,{"flexDirection":"row","alignItems":"center","paddingLeft":"<<NaN>>","paddingRight":"<<NaN>>","backgroundColor":-1}] is not usable as a native method argument
Steps to reproduce
import React, { Component } from 'react';
import {
    Text,
    Card,
    CardItem
} from "native-base";

export default class Demo extends Component {

    render() {
        return (
            <Card>
                <CardItem>
                    <Text>Hello</Text>
                </CardItem>
            </Card>
        )
    }
}

Is the bug present in both iOS and Android or in any one of them?
Currently, i have only tested it in android platform
Any other additional info which would help us debug the issue quicker.
This bug is similar to this one --> #2647
As it is happening on a different component, i've created a new issue for this.
I have even tried passing the styling parameters paddingLeft,paddingRight in the component which are causing this error here but still it didn't work.

I am facing this too!

I am having the same issue since updating to RN 60.  Any updates?

Same problem with  component.
modules:
"native-base": "^2.12.1"
"react-native": "0.59.5"
"react-navigation": "^3.11.1"

I have checked it, it is working fine. Please try with the latest version of NativeBase.

It's working fine with the latest update of the library. But if you want to do it in the 2.12.1 , you can follow the steps below.
To avoid the crash in 2.12.1. Under native-base-theme folder, I added cardItemPaddingSide in Platform.js under variables  & used it to add padding(Top,Left,Right,Bottom) for CardItem.js under Components folder.
** Attaching snippets of code change inside native-base-theme folder.
platform.js
// Card
  cardDefaultBg: "#fff",
  cardBorderColor: "#ccc",
  cardBorderRadius: 2,
  cardItemPadding: platform === "ios" ? 10 : 12,
  // NativeBase Library Change (To avoid component crash for carditems)
  cardItemPaddingSide: platform === "ios" ? 4 : 2

CardItem.js
export default (variables /*: * */ = variable) => {
  const platform = variables.platform;
  ...
  const cardItemTheme = {
      ...
      ...
      ".header": {
      "NativeBase.Text": {
        fontSize: 16,
        fontWeight: platform === "ios" ? "600" : "500"
      },
      ".bordered": {
        "NativeBase.Text": {
          color: variables.brandPrimary,
          fontWeight: platform === "ios" ? "600" : "500"
        },
        borderBottomWidth: variables.borderWidth
      },
      borderBottomWidth: null,
      paddingVertical: variables.cardItemPadding + 5,
      // NativeBase Library Change (to avoid padding crash on carditem component)
      paddingTop: variables.cardItemPaddingSide,
      paddingBottom: variables.cardItemPaddingSide
    },
    ...
    ...
    flexDirection: "row",
    alignItems: "center",
    borderRadius: variables.cardBorderRadius,
    padding: variables.cardItemPadding + 5,
    paddingVertical: variables.cardItemPadding,
    backgroundColor: variables.cardDefaultBg,
    // NativeBase Library Change (to avoid padding crash on carditem component)
    paddingLeft: variables.cardItemPaddingSide,
    paddingRight : variables.cardItemPaddingSide,
    paddingTop : variables.cardItemPaddingSide,
    paddingBottom : variables.cardItemPaddingSide
  },
  ...
}


Bug Report: Game crashes when importing custom character

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows 10, 64-bit
What version of the game are you using? Look in the bottom left corner of the main menu. 1.7
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
No, not yet.
Please describe your issue. Provide extensive detail and images if possible.
When I change the second player to my custom character in any song, it just crashes instantly. I'm pretty sure everything is set up correctly (code, .xmls, icons, etc.).

UPDATE: This happens with any asset change with any character.

super old issue, closing because its so old. idk why this isn't stale?? dumbass actions


KubernetesDiscoveryClientHealthIndicatorInitializer uses incorrect namespace

Supposed the use case:

you want to use use k8s-native discovery functionality.
you would like to specify a single namespace where discovery should happen
at this point in time, the option you have is to specify:

SPRING_CLOUD_KUBERNETES_CLIENT_NAMESPACE = <YOUR_NAMESPACE>

So you have an app deployed in the default namespace, but your discovery should work in the non-default namespace.

Discovery, per-se, will work correctly in this case.
The problem arises in the KubernetesDiscoveryClientHealthIndicatorInitializer. Health indicator will try to publish an event:
	@PostConstruct
	private void postConstruct() {
		LOG.debug(() -> "publishing InstanceRegisteredEvent");
		this.applicationEventPublisher.publishEvent(new InstanceRegisteredEvent<>(
				new RegisteredEventSource("kubernetes", podUtils.isInsideKubernetes(), podUtils.currentPod().get()),
				null));
	}

by calling podUtils.currentPod().get(). Since the property SPRING_CLOUD_KUBERNETES_CLIENT_NAMESPACE is equal to non-default, it will try to fetch a pod in that non-default namespace.
Obviously since the app is deployed in the default namespace, searching for it in the non-default namespace will fail, as such, no event will be published.

I noticed this in some logs of integration tests while working on a different feature. I'll think about this one for a while and may be come up with a fix.
Let me know if my description makes sense. Thank you.

This issue is isolated to the k8s-client.
The fabric8 implementation relies on the clients namespace for this use-case, and it is always resolved correctly, since the client is running in the default namespace (for the example above)

I have a PR in motion that proposes a fix for this, but while working on it, I found one more, so I'll fix that one first. Not going to open a new issue, since it's rather small.

@ryanjbaxter would you add the bug label in here too? Of course, if you agree it's a bug

I am not sure I understand your use case used to demonstrate the issue.  If you want the discovery client to discovery services in other namespaces why wouldn't you set spring.cloud.kubernetes.discovery.namespaces
and leave spring.cloud.kubernetes.client.namespace to its default value (ie where the pod is running)?

Could not agree more. The problem is, in k8s client, support for selective namespaces does not exist yet.

IMO I dont think we need to make this change, only to not need it once that functionality is in place

I think we can close this issue then and just wait for the functionality to be implemented


Revert inline nots only 1.2.x (bp #1422)

This is why we have the bot do this ... fixed the base branch.

Probably need to wait for https://github.com/freechipsproject/firrtl/pull/1427 to be merged then rebase on it

@ucbjrl @jackkoenig, the bot failed to open this automatically and then messed up the description for #1427


Contract factory deploy arguments

I noticed that ContractFactory.deploy expects RawCallData as input, any particular reason for that? I believe it would be easier to use if it expected arguments like other call methods (call, invoke) and converted them to raw call data internally.

@ivpavici can we close this one? This is done by Iris and refactored in https://github.com/0xs34n/starknet.js/pull/498


Question with ModelViewer.loadModelGltf when load gltf-embeded file on Android

Describe the bug
sorry for reposting thi bug again #6975
after apply this patch to filament on tag V1.38.0
Index: android/samples/sample-gltf-viewer/build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/android/samples/sample-gltf-viewer/build.gradle b/android/samples/sample-gltf-viewer/build.gradle
--- a/android/samples/sample-gltf-viewer/build.gradle	(revision 753aa9ca6199707fb22500eecb29a9164f3755cb)
+++ b/android/samples/sample-gltf-viewer/build.gradle	(date<PHONE_NUMBER>475)
@@ -18,7 +18,13 @@
     into "src/main/assets/models"
 }

+task copyModel(type: Copy) {
+    from "BoxTextured.gltf"
+    into "src/main/assets/models"
+}
+
 preBuild.dependsOn copyMesh
+preBuild.dependsOn copyModel

 clean.doFirst {
     delete "src/main/assets"
Index: android/samples/sample-gltf-viewer/src/main/java/com/google/android/filament/gltf/MainActivity.kt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/android/samples/sample-gltf-viewer/src/main/java/com/google/android/filament/gltf/MainActivity.kt b/android/samples/sample-gltf-viewer/src/main/java/com/google/android/filament/gltf/MainActivity.kt
--- a/android/samples/sample-gltf-viewer/src/main/java/com/google/android/filament/gltf/MainActivity.kt	(revision 753aa9ca6199707fb22500eecb29a9164f3755cb)
+++ b/android/samples/sample-gltf-viewer/src/main/java/com/google/android/filament/gltf/MainActivity.kt	(date<PHONE_NUMBER>888)
@@ -135,13 +135,22 @@
     }

     private fun createDefaultRenderables() {
-        val buffer = assets.open("models/scene.gltf").use { input ->
+        val buffer = assets.open("models/BoxTextured.gltf").use { input ->
             val bytes = ByteArray(input.available())
             input.read(bytes)
             ByteBuffer.wrap(bytes)
         }

-        modelViewer.loadModelGltfAsync(buffer) { uri -> readCompressedAsset("models/$uri") }
+        modelViewer.loadModelGltfAsync(buffer) { uri ->
+            Log.d(TAG, "uri: $uri")
+            if (uri.startsWith("data")){
+                var bBuffer = ByteBuffer.allocate(0)
+                Log.w(TAG, "return buffer position:" + bBuffer.position())
+                bBuffer
+            } else {
+                readCompressedAsset("models/$uri")
+            }
+        }
         updateRootTransform()
     }

BoxTextured.gltf is at  https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/BoxTextured/glTF-Embedded/BoxTextured.gltf
compile and run Android demo, U will see a texturedBox, YES it is.
but in code we just return a 0-length bytebuffer.
at the same , log says that:
2023-01-02 16:05:26.384 23632-23687 gltf-viewer             com.google.android.filament.gltf     D  uri: data:image/png;base64,i...
2023-01-02 16:05:26.388 23632-23687 gltf-viewer             com.google.android.filament.gltf     W  return buffer position:0
2023-01-02 16:05:26.388 23632-23687 gltf-viewer             com.google.android.filament.gltf     D  uri: data:application/octet-stream;base64...
2023-01-02 16:05:26.388 23632-23687 gltf-viewer             com.google.android.filament.gltf     W  return buffer position:0

Data URIs are handled for you since all the data is already in the buffer being parsed. Only external URIs require the callback to do the work.

@romainguy  if  you are right, why we need this callbak for Data URIs? is it redundant?
meanwhile if we return null, nothing will be rendered.

It is required to handle external URIs (http:, file: etc.)

in ResourceLoader.cpp#ResourceLoader::Impl::getOrCreateTexture, it write:
... ...
    // Check if the texture slot uses BufferView data.
... ...
    // Check if the texture slot is a data URI.
    // Note that this is a data URI in an image, not a buffer. Data URI's in buffers are decoded
    // by the cgltf_load_buffers() function.
... ...
    // Check the user-supplied resource cache for this URI.
... ...

filament first load uri-data, then to load  user-supplied,
so in my scene, the buffer return in my callback, is ignored.
my advice:
if usr's callback return buffer, use is firstly,
if return null, fall-back to filiment's default logic.
THX.


Correction for raw affiliation Centre de Lutte Contre le Cancer Eugène Marquis  Rennes France; Inserm U1242 University of Rennes Rennes France

Correction needed for raw affiliation Centre de Lutte Contre le Cancer Eugène Marquis  Rennes France; Inserm U1242 University of Rennes Rennes France
raw_affiliation_name: Centre de Lutte Contre le Cancer Eugène Marquis  Rennes France; Inserm U1242 University of Rennes Rennes France
new_rors: 015m7wh34;02vjkv261;01yezas83;00bf6bf92
previous_rors: 015m7wh34;02vjkv261;01yezas83
works_examples: W4383302258;W4385827419
contact: 878a0ac10a375489eeecc8af6b0e2a05:77213e87a5f229ed80c41bb8bac332a4 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Unrecognized request argument: request_timeout

When I run the minimal example provided in the quickstart, I get an error:
from langchain.llms import OpenAI

llm = OpenAI(temperature=0.9)
text = "What would be a good company name a company that makes colorful socks?"
print(llm(text))

openai.error.InvalidRequestError: Unrecognized request argument supplied: request_timeout

Support for request_timeout was added to LangChain recently (https://github.com/hwchase17/langchain/pull/398), but the OpenAI docs don't mention that request parameter. By default LangChain passes 'request_timeout': None and removing it from the request fixes the problem.
Should it be removed as an option? I can contribute this small fix myself, if that would be helpful.

Looking into this further, the openai Python library does actually document support for request_timeout, but it doesn't seem to work.
openai.Completion.create(engine="ada", prompt="Hello world", request_timeout=1)

openai.error.InvalidRequestError: Unrecognized request argument supplied: request_timeout

Could this be a problem upstream?

The issue was caused by an outdated version of the openai package. My apologies!


Adds code coverage for the repo

Signed-off-by: Owais Kazi<EMAIL_ADDRESS>Description
Added codecov for the repo. Codecov should be enabled on app.codecov.io for this repo.
Issues Resolved
https://github.com/opensearch-project/project-tools/issues/5
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Run rubocop -a ; rubocop --auto-gen-config and it should auto-fix RuboCop violations.
Run bundle install and commit Gemfile.lock so that the project uses a stable version of tools.

Tests are not able to read the codecov token CODECOV_TOKEN="your repo token". We have to enable this repo from app.codecov.io. Was this repo private before?

app.codecov.io for this repo says that the repo has been deactivated. We have to enable this repo from app.codecov.io. Was this repo private before?

Ugh, @gaiksaya have you been able to resolve this for the other repo we had this problem on?
This one was never with code coverage, and as OSS it shouldn't need a token.

Ugh, @gaiksaya have you been able to resolve this for the other repo we had this problem on? This one was private for 1 minute, and never had code coverage, and as OSS it shouldn't need a token.

Nope. Added a comment here https://community.codecov.com/t/private-public-repo-not-working/453/46?u=gaiksaya. No reply yet. Will create a new issue if I still do not see any response by EOD today.

I can see project-tools on codecov now

And it worked! Thanks @owaiskazi19.

Worked for build libraries too. Not sure what changed https://app.codecov.io/gh/opensearch-project/opensearch-build-libraries


Rewrite exporter

Refactor deploy actions
Remove database dependency
Remove not needed files
Increase allocations/snapshot generation time (from a few minutes to less than one minute in my laptop)

@rmeissner I think it's currently easy to leave start_date and duration values hardcoded


Unstable endwise

lua - works only for nested clauses and only from the second attempt:

elixir - always works only from the second attempt :

my config
local npairs = require("nvim-autopairs")
npairs.setup()
require("nvim-autopairs.completion.compe").setup(
    {
        map_cr = true, --  map <CR> on insert mode
        map_complete = true -- it will auto insert `(` after select function or method item
    }
)

local endwise = require("nvim-autopairs.ts-rule").endwise
npairs.add_rules(require("nvim-autopairs.rules.endwise-lua"))

npairs.add_rules(
    {
        endwise(" do$", "end", "elixir", nil)
    }
)

I took your elixir configuration and tried it out—no problems for me. Maybe there was a change between then and now?
caveat: I did remove npairs.add_rules(require("nvim-autopairs.rules.endwise-lua"))

@sbaildon I don't know what happened, but I just tried it again, and it works. Thank you for checking.
Okay, endwise works for Elixir, but there is still an issue with lua and nested blocks.
I've removed  npairs.add_rules(require("nvim-autopairs.rules.endwise-lua")) and defined a custom rule for lua without tree-sitter checking endwise('then$', 'end', 'lua', nil) and issue with nested blocks dissapeared.


New version: xpipe-io.xpipe version 9.2

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @crschnick,

This PR's version number 9.2 has 2 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version 11.3.0, which has 3 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 880)


[Bugfix] Fix visit_attrs error if its function pointer is equal to nullptr

Fix the bug mentioned in https://discuss.tvm.apache.org/t/cannot-list-attrs-of-tvm-ir-array-via-dir/10924
Every time when we try to register a node, the size of fvisit_attrs_ will increase, and there are no other operations to unregister these nodes, so if tindex < fvisit_attrs_.size() is true, it means that the node has been registered.
template <typename T, typename TraitName>
inline ReflectionVTable::Registry ReflectionVTable::Register() {
  uint32_t tindex = T::RuntimeTypeIndex();
  if (tindex >= fvisit_attrs_.size()) {
    fvisit_attrs_.resize(tindex + 1, nullptr);
    fcreate_.resize(tindex + 1, nullptr);
    frepr_bytes_.resize(tindex + 1, nullptr);
    fsequal_reduce_.resize(tindex + 1, nullptr);
    fshash_reduce_.resize(tindex + 1, nullptr);
  }
  // functor that implements the redirection.
  fvisit_attrs_[tindex] = ::tvm::detail::SelectVisitAttrs<T, TraitName>::VisitAttrs;

  fsequal_reduce_[tindex] = ::tvm::detail::SelectSEqualReduce<T, TraitName>::SEqualReduce;

  fshash_reduce_[tindex] = ::tvm::detail::SelectSHashReduce<T, TraitName>::SHashReduce;

  return Registry(this, tindex);
}

Therefore, I just use the tindex >= fvisit_attrs_.size() to determine whether it has been registered. And if fvisit_attrs_[tindex] != nullptr exists, I will execute fvisit_attrs_[tindex](self, visitor); to get its attribute.
@junrushao1994 @comaniac

CC: @comaniac

LGTM. Do we need a test for this?

I agree. So I send a new commit about adding a new test for dir and getattr of  python container object in tests/python/unittest/test_ir_container.py

@comaniac mind taking another look? thanks!

Thanks @syang-ng @junrushao1994 @tqchen


chore: update spelling linter exceptions (box/box-openapi#440)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.003%) to 41.929%

Files with Coverage Reduction
New Missed Lines
%

src/schemas/metadataQueryResults.generated.ts
1
54.17%

src/schemas/fileOrFolder.generated.ts
3
32.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
12630

Relevant Lines:
23473

💛  - Coveralls


Enhance embed with GDPR-compliant user consent mechanism

I would love to see an improvement for e.g. the YouTube component to be GDPR compliant by implementing a user consent mechanism before loading any YouTube content or cookies.
Current Behavior

An image thumbnail of the YouTube video is displayed initially.
Clicking the image loads the full YouTube embed.

Proposed Changes

Keep the initial image thumbnail display.
Implement a consent modal that appears when a user first attempts to play a video.
Store user consent preference using localStorage.
Load YouTube content only after receiving user consent.

this is one of the solutions for it: https://cookieconsent.orestbida.com/


Timeouts are getting worse on Travis

Seem to be getting more of these.  Afflicts both blaze and async-http-client.  Need to spend some time getting to the bottom of it.
[error]   x Idle timeout on slow response body
[error]    Expected: java.util.concurrent.TimeoutException. Got: java.lang.IllegalStateException: Cannot serve multiple concurrent read requests instead

If its coming from both async-http-client and blaze its probably just a matter of thread contention for the travis CPU time. Is there a way to ask specs2 to not rust tests with timeouts concurrently with other tests?
There is a sbt flag (allegedly, haven't use it myself) that tells it to run specifications sequentially but I don't know of a way we can single out a single spec to say 'for this one, make sure nobody else is running please.'

either try set parallelExecution in Test := false, or as I can recall, adding sequential to the body of specs is the only way that turns the parallel test off.