Replace dead BitcoinSVRates with CryptoCompareRates

This looks to be a good API and even allows Tor.

Thanks for the PR!
Will that endpoint work with no additional setup or does user need to go get a pubkey from website?
If they do need a pubkey maybe we need an error message to instruct user of what to do.
And could maybe have a function that sets an environment variable to the pubkey for hasstle-free continued use.
Looks good though. If it works straight away without pubkey addition could merge as-is.

Okay - looks like (in FAQs) that they will support a free, public API for a limited time but will probably get worse over time. I can merge this now but might be another task for later to add a little function for tacking on an api key as an environment variable that gets added to the request header.

No problem! Thanks for looking into this.
It's working great for me so far. Been runnnig it on 10 servers, polling hourly, for a couple months now. Can definitely add API key support in the future if needed. bitcoinsvrates.com is dead anyways so should be a step in the right direction.

Awesome thanks :)


model field attachments needs note about special "file" key

all files under the "file" key in attachments are included in the package. this is not documented

and conversely everything not under "file" will not be treated as attachment files, i.e. not be included

done


[0.75.x] react-native init broken with --template

Description
In the RNW CI, we test creating a new RNW app with the --template parameter as such:
npx --yes<EMAIL_ADDRESS>init testcli --template<EMAIL_ADDRESS>but as of the release of 0.75.0-rc.2, it now creates a blank folder for 0.75.x. Wanted to make sure this was expected and not an regression!
Steps to reproduce

Run npx --yes<EMAIL_ADDRESS>init testcli --template<EMAIL_ADDRESS>(or run it with any of the 0.75 rcs)
Command will fail at Copying the template

React Native Version
0.75.0-rc.2 or 0.75.x
Affected Platforms
Build - Windows
Output of npx react-native info
Doesn't create an RNW app to get information from

Stacktrace or Logs
Doesn't create an RNW app to get information from

Reproducer
https://github.com/microsoft/react-native-windows/tree/preview-0.75-test
Screenshots and Videos

closing, realized the template code was moved to @react-native-community/template :)


require shell_out during test cases

This avoids a NameError when loading commands that load Knife::SSH during testing.
See https://github.com/chef/chef/pull/4153 for details on the source of the problem.

Hello,
Sorry, I know it's been a long time ago, but I just noticed that Travis cache: was enabled by this pull request, whereas Travis caching feature was available since December 17, 2014 (about a year before). I am interested in understanding the reason behind delaying the cache feature in this repository.
Thank you.

By 2014 I was no longer actively using chef for anything.
I suspect the delay was simply that my maintenance work on this gem  was already in a “best effort” mode when Travis caching became available.

I see your point. Thank you so much, @matschaffer, for your kind responsiveness.


Kemono doesn't load all list of creator

Source information
Kemono 1.4.10
Source language
English
Steps to reproduce
1.Open Mihon
2. Click on Browse
3. Find and open Kemono (extension)
4. Click on search and search specific author
5. Click on searched author (example "MyMoonlly")
6. Creator post is loaded
7. Scroll down for load more
Expected behavior
After scrolling down. Last or all page of creator on kemono isn't loaded only. So list in Mihon is not full of post
Actual behavior
Scroll down will load other page and it will load after scrolling all pages of post of creator until all pages are loaded
Mihon/Tachiyomi version
Mihon 0.16.3
Android version
Android 14
Other details
Video record
Uploading Screen_Recording_20240215_103809_Mihon.mp4…
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

What I do it bad? 😭


feat: add "openApiDefinition" to generated metaData

What kind of change does this PR introduce?
Feature
What is the new behaviour?
Add "openApiDefinition" to generated metaData
Does this PR introduce a breaking change?
No
Other information:
Please check if the PR fulfills these requirements:

[X] Tests for the changes have been added
[X] Docs have been added / updated
[X] Relevant Changeset has been added

coverage: 100.0%. remained the same
when pulling fea3a94ae75b90b3854528c6b84571a7de2d2876 on metadata-oas-definitions
into d4b4031c3bb955711032d23704ab7ef6560f9f9d on master.


Support Django 3.0.x

template 'index.html' from Django 3.0.8
admin_static -> static
code format

The project now supports django 3 and 4, so closing this PR.
Thanks for your contribution!


freertos support cmsis rtos2

I think freertos need to support cmsis rtos 2. is there have a project support my request?
Thank you!

There are a few implementations on the web.  For example, if you create a FreeRTOS project using the STM32CubeMX software then you also get the CMSIS wrappers for FreeRTOS.

I'm closing this issue, since this post in ARM-software/CMSIS-FreeRTOS repo suggests you were able to get pass the question posted here.


postgrest docker container crash loop with error: "Error in config Malformed proxy uri"

Hello.
I am using the install and run instructions from https://postgrest.org/en/stable/tutorials/tut0.html .
I am using docker compose to bring up postgrest and swagger, as explained in the link above. My setup is simple. I have a small test instance at a cloud provider, as: test-vm.aclab.online .
Postgresql 13 runs in a separate compose file, connected on the same docker network "services-network".
My docker-compose file for postgrest and swagger looks like this:
version: "3"
services:
  postgrest:
    image: postgrest/postgrest
    restart: always
    ports:
      - "3000:3000"
    env_file:
      - /home/containers-secrets/postgrest/postgrest.env
    environment:
      - TZ=Europe/Oslo
      - PGRST_DB_SCHEMA=public
      - PGRST_OPENAPI_SERVER_PROXY_URI="http://<IP_ADDRESS>:3000"

    networks:
      - services-network

  swagger:
    image: swaggerapi/swagger-ui
    ports:
      - "8080:8080"
    environment:
      - API_URL=http://localhost:3000/

    networks:
      - services-network

networks:
  services-network:
    external: true

postgrest.env file looks like this:
PGRST_DB_URI=postgres://authenticator:secret-password@postgres-13:5432/testappdb
PGRST_DB_ANON_ROLE=web_anon

When I start postgrest, I see the following errors in the log and postgrest keep restarting.
[root@test-nginx-vm postgrest]# docker-compose -f docker-compose.server.yml up -d
Creating postgrest_postgrest_1 ... done
Creating postgrest_swagger_1   ... done
[root@test-nginx-vm postgrest]#

[root@test-nginx-vm postgrest]# docker-compose -f docker-compose.server.yml logs -f
Attaching to postgrest_postgrest_1, postgrest_swagger_1
postgrest_1  | postgrest: FatalError {fatalErrorMessage = "Error in config Malformed proxy uri, a correct example: https://example.com:8443/basePath"}
postgrest_1  | postgrest: FatalError {fatalErrorMessage = "Error in config Malformed proxy uri, a correct example: https://example.com:8443/basePath"}
^CERROR: Aborting.
[root@test-nginx-vm postgrest]#

There is not much documentation about the particular directive/ENV-variable:  PGRST_OPENAPI_SERVER_PROXY_URI .
Commenting out the directive in postgrest, brings up postgrest instance and I can access it over the internet on port 3000.

Accessing swagger over internet using my browser shows the following:

Any help will be appreciated. Thanks.

I removed the double quotation marks around the value I specified for PGRST_OPENAPI_SERVER_PROXY_URI, and suddenly it starts to work.
The documentation should be updated to remove this error. The value of the PGRST_OPENAPI_SERVER_PROXY_URI should not be enclosed in quotation marks. (that is what I understood).
Here is my new docker-compose file (again):
[root@test-nginx-vm postgrest]# grep -v \# docker-compose.server.yml
version: "3"

services:

  postgrest:
    image: postgrest/postgrest
    restart: always
    ports:
      - "3000:3000"
    env_file:
      - /home/containers-secrets/postgrest/postgrest.env
    environment:
      - TZ=Europe/Oslo
      - PGRST_DB_SCHEMA=public
      - PGRST_OPENAPI_SERVER_PROXY_URI=http://test-vm.aclab.online:3000
      - PGRST_DB_ANON_ROLE=web_anon

    networks:
      - services-network

  swagger:
    image: swaggerapi/swagger-ui
    ports:
      - "8080:8080"
    environment:
      - API_URL=http://test-vm.aclab.online:3000/

    networks:
      - services-network

networks:
  services-network:
    external: true
[root@test-nginx-vm postgrest]#

I can see postgrest working now:
[root@test-nginx-vm postgrest]# docker-compose -f docker-compose.server.yml up -d ; docker-compose -f docker-compose.server.yml  logs -f
Creating postgrest_postgrest_1 ... done
Creating postgrest_swagger_1   ... done
Attaching to postgrest_postgrest_1, postgrest_swagger_1
postgrest_1  | 20/Oct/2021:09:52:33 +0000: Attempting to connect to the database...
postgrest_1  | 20/Oct/2021:09:52:33 +0000: Connection successful
postgrest_1  | 20/Oct/2021:09:52:33 +0000: Listening on port 3000
postgrest_1  | 20/Oct/2021:09:52:33 +0000: Config re-loaded
postgrest_1  | 20/Oct/2021:09:52:33 +0000: Listening for notifications on the pgrst channel
postgrest_1  | 20/Oct/2021:09:52:33 +0000: Schema cache loaded
^CERROR: Aborting.
[root@test-nginx-vm postgrest]#

[root@test-nginx-vm postgrest]# docker ps
CONTAINER ID   IMAGE                     COMMAND                  CREATED         STATUS         PORTS                                                                      NAMES
dfecf99e8692   postgrest/postgrest       "/bin/postgrest"         7 minutes ago   Up 7 minutes   <IP_ADDRESS>:3000->3000/tcp, :::3000->3000/tcp                                  postgrest_postgrest_1
79542d29f7cb   swaggerapi/swagger-ui     "/docker-entrypoint.…"   7 minutes ago   Up 7 minutes   80/tcp, <IP_ADDRESS>:8080->8080/tcp, :::8080->8080/tcp                          postgrest_swagger_1
ed04c6106234   postgres-13_postgres-13   "docker-entrypoint.s…"   22 hours ago    Up 22 hours    <IP_ADDRESS>:5432->5432/tcp, :::5432->5432/tcp                                  postgres-13_postgres-13_1
[root@test-nginx-vm postgrest]#

postgrest screenshot:

Swagger screenshot:

Thanks!

But.... the docs are correct.
You used array syntax in your yaml file like this:
environment:
  - PGRST_OPENAPI_SERVER_PROXY_URI=http://<IP_ADDRESS>:3000

The docs use object syntax like this:
environment:
  PGRST_OPENAPI_SERVER_PROXY_URI: "http://<IP_ADDRESS>:3000"


Pin Payment Addresses

As a user I want be able to pin the Payment Address to send pinned transfers to.
PPA - Pinned Payment Address
Case A - We allow only one transfer to PPA
Case B - We allow multiple transfers to PPA

Upon address derivation user should be able to choose what kind of Payment Address they need(pin address toggle). After choosing the pinned option, user should either:

Case A - be warned that it's only for one time use(and potentially can sacrifice privacy)
Case B - be warned that using pinned address for multiple transfers might sacrifice the users privacy

In the list of addresses in the web interface we need to visually distinguish PPAs from regular ones, as ppa vs pa prefixes might not be obvious enough

if the PPA was already used we want to either:

Case A - display information that this PPA was already used and every new transfer targeting it will be rejected by the VP
Case B - display information that this PPA was already used and using it multiple times might compromise the privacy

Things to consider:

Should user be able to unpin the PPA and use it as a regular Payment Address?
Should we only allow to pin the Payment Address upon address derivation?
As a time of writing(Namada 0.17.5) it is possible to:

Create Payment Address X
Send transfer to X
Pin the X to create PPA called PX
Send transfer to PX
In this case how should we display addresses(and balances) in the web interface as they are related and share the balance?

I recommend that we support pinned payment addresses, but that we - by default - only display unused ones. The user should think of pinned addresses like something that they create and can use once but then go away (and they need a new one). In some advanced mode we can show the old ones, but I think they should be hidden by default.


should not remove decorator tag in emitted declaration files

use case :
We are developing a Visual IDE . Developer can setup properties in a property panel
class Data {

    @ide
    public key1:string;

    @ide
    public key2:string;

    public key3_do_not_in_ide:string;
}

developer can setup properties in IDE panel such as this

Properties
Value

key1
value1

key2
value2

we create a tss instance to analysis decorator and generate a data grid in our IDE . It works fine now .
But it can only works well on typescript source file , not in typescript  declaration files because of  d.ts file remove decorator tag .
please consider this design :

class Data {

    @ide
    public key1:string;

    @ide
    public key2:string;

    public key3_do_not_in_ide:string;
}

generate to

declare class Data {

    // do not remove "ide" decorator
    @ide
    public key1:string;

    @ide
    public key2:string;

    public key3_do_not_in_ide:string;
}

Need it too!

I think you are looking for ambient decorators #2900 which are slated for release in TypeScript 2.1

decorators are expressions, expressions can not be preserved in the declaration file. consider this example:
@foo(a + b);
export class C {}

as noted by @aluanhaddad, #2900 is tracking ambient decorators.


Partially revert "Add audit check for URL schema"

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

https://github.com/Homebrew/brew/pull/3318 made changes to Cask and Formula audit, this reverts the changes that were made to Cask audit only.
cc @vitorgalvao @reitermarkus

Refs https://github.com/caskroom/homebrew-cask/issues/41735.

@reitermarkus Can we merge this please?


Home assistant update breaks integration?

Recently updated to a newer version of HA (2023.9.0) and am getting an error when trying to establish connection to entities. After the error there's no further reporting and the entities aren't enabled any longer/not reporting. Any ideas?
2023-09-07 11:22:24.157 DEBUG (MainThread) [custom_components.reef_pi] Finished fetching reef_pi data in 2.393 seconds (success: True) 2023-09-07 11:22:24.157 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.reef_pi 2023-09-07 11:22:24.157 INFO (MainThread) [homeassistant.components.switch] Setting up switch.reef_pi 2023-09-07 11:22:24.157 INFO (MainThread) [homeassistant.components.light] Setting up light.reef_pi 2023-09-07 11:22:24.157 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.reef_pi 2023-09-07 11:22:24.157 INFO (MainThread) [homeassistant.components.button] Setting up button.reef_pi 2023-09-07 11:22:24.158 DEBUG (MainThread) [custom_components.reef_pi] sensor temperature: 1, pH: 2 2023-09-07 11:22:24.159 ERROR (MainThread) [homeassistant.components.sensor] reef_pi: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'http://<IP_ADDRESS>', 'default_manufacturer': 'reef-pi.github.io', 'default_model': 'Reef PI', 'default_name': 'reef-pi', 'identifiers': {('reef_pi', 'http://<IP_ADDRESS>')}, 'model': 'Raspberry Pi Zero 2 W Rev 1.0', 'name': 'reef-pi', 'sw_version': '5.3'} for 'reef_pi' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 11:22:24.160 ERROR (MainThread) [homeassistant.components.switch] reef_pi: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'http://<IP_ADDRESS>', 'default_manufacturer': 'reef-pi.github.io', 'default_model': 'Reef PI', 'default_name': 'reef-pi', 'identifiers': {('reef_pi', 'http://<IP_ADDRESS>')}, 'model': 'Raspberry Pi Zero 2 W Rev 1.0', 'name': 'reef-pi', 'sw_version': '5.3'} for 'reef_pi' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 11:22:24.161 ERROR (MainThread) [homeassistant.components.switch] reef_pi: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'http://<IP_ADDRESS>', 'default_manufacturer': 'reef-pi.github.io', 'default_model': 'Reef PI', 'default_name': 'reef-pi', 'identifiers': {('reef_pi', 'http://<IP_ADDRESS>')}, 'model': 'Raspberry Pi Zero 2 W Rev 1.0', 'name': 'reef-pi', 'sw_version': '5.3'} for 'reef_pi' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 11:22:24.162 ERROR (MainThread) [homeassistant.components.switch] reef_pi: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'http://<IP_ADDRESS>', 'default_manufacturer': 'reef-pi.github.io', 'default_model': 'Reef PI', 'default_name': 'reef-pi', 'identifiers': {('reef_pi', 'http://<IP_ADDRESS>')}, 'model': 'Raspberry Pi Zero 2 W Rev 1.0', 'name': 'reef-pi', 'sw_version': '5.3'} for 'reef_pi' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 11:22:24.162 ERROR (MainThread) [homeassistant.components.binary_sensor] reef_pi: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'http://<IP_ADDRESS>', 'default_manufacturer': 'reef-pi.github.io', 'default_model': 'Reef PI', 'default_name': 'reef-pi', 'identifiers': {('reef_pi', 'http://<IP_ADDRESS>')}, 'model': 'Raspberry Pi Zero 2 W Rev 1.0', 'name': 'reef-pi', 'sw_version': '5.3'} for 'reef_pi' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 11:22:24.163 ERROR (MainThread) [homeassistant.components.binary_sensor] reef_pi: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'http://<IP_ADDRESS>', 'default_manufacturer': 'reef-pi.github.io', 'default_model': 'Reef PI', 'default_name': 'reef-pi', 'identifiers': {('reef_pi', 'http://<IP_ADDRESS>')}, 'model': 'Raspberry Pi Zero 2 W Rev 1.0', 'name': 'reef-pi', 'sw_version': '5.3'} for 'reef_pi' config entry: device info needs to either describe a device, link to existing device or provide extra information.

Noticed this as well after completely missing several Reef Pi automations not occur in front of my eyes.
From the (very near similar) error message and looking through the integrations files. I seem to have a fix. Emphasis on seem. The integration works, HA automations run against it, but I do not understand the value of the code that I have deleted to make this work as I'm still coming up to speed on all of this.
To get a switch working (or any of the other entities from Reef Pi that impact you):

Head into your /config/custom_components/reef_pi
Open up switch.py
In the ReefPiSwitch class (or similar named class of component you're looking for) comment out the following 3 lines

#@property
    #def device_info(self):
    #    return self.api.device_info

Save the file
Restart Home Assistant entirely
Once HA finishes loading, go to your Reef Pi integration. All switch all element should be available to use. Repeat this process for other Reef Pi elements you need to restore.

If anyone could enlighten me as to the significance of the above 3 lines it would be appreciated!

Confirming this issue (and workaround) on 2023.9.2

Also confirming commenting out lines in all relevant class files has 'fixed' the problem.

Can confirm this issue and workaround

Confirm the issue and workaround. I think that it's a problem with missing information from reef-pi integration about the hardware (name, product, ecc...)

Thank you for the report. I'll work on the fix as soon as I have some free time, probably during the weekend

Ok, the issue was simple to fix, so I published a new version. 0.3.7 should fix it.
Could you try and say if it works, please?

Deployed latest release, reloaded HA, all Reef Pi sensors/controls are all there. Thanks @tdragon!

Thank you very much! I’ll try it!
it is possible to have a fix also for the analog sensor reading? In HA we can only see the raw value and not the calibrated one… Sorry for the off topic…

Thank you for the feedback. I'll close this tiket.
@Simonv92 The problem with raw value is that reef-pi only exposes this value through "phprobes/{id}/read".
Using "readings" is tricky and slow as it always return all history of values and there is no way to provide historical data to HomeAssistant.

What I did to get up-to-date and valid readings for my Ph probes (have 2 reef-pi and they exhibit same issue) was I enabled MQTT in  both reef-pi’s and then published it’s Ph reading to Home Assistant.
As Ph reading in this addon worked correctly if set to read what we found out later to be the raw and uncalibrated data but this addon wasn’t updating properly for me on either reef-pi when set to read the calibrated ph output


Deep Linking Recipe App no longer works

adb shell am start -W -a android.intent.action.VIEW -d “http://recipe-app.com/recipe” com.recipe_app
is returning:
Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=“http://recipe-app.com/recipe” flg=0x10000000 pkg=com.recipe_app }

please provide the solution


192801869 Page number reported as error (Geoff)

Issue reported by somt.cen at 2021-02-09 12:04:29 UTC
Time: 2021-02-09T11:57:28+00:00
Session ID: 56a5cb1e7850b8b21f5e180ab907638f
Problem Page URL: /freecen_csv_entries/60227871f493fd7447464bf7?locale=en&type=Err
Previous Page URL: https://www.freecen.org.uk/freecen_csv_entries?locale=en&type=Err
Reported Issue:
Kirk
I have uploaded a FC1 file
It reported errors so I fixed them
Replaced it in FC1 format. Row 5859 passed test.
Converted it to FC2 format and downloaded it.
Tidied up some flags.
Replaced it and got an error report.
Row 5859 page number error.
I will send the report by email
Geoff

I am sorry Geoff but I really do not understand the sequence of events. It would appear that the second was a reprocessing to create the warnings and that this was followed by a conversion which appears fine by looking at it in the attic Ecclesiastical Parishes were then added The failure was cause by line 5859 have an Ecclesiastical Parish of St John added without page/folio information to an entry that looks like it was in the middle of a page
5,Yeovil,St Johns,Yeovil,-,-,Yeovil,,,,134,,1,Middle Street,,WADMAN,Robert S,,Head,M,M,40,,Draper,,SOM,Yeovil,,,,,,
Kirk

The whole design was based on the concept that a new ED would always have folio/page information;
I do not really understand as the FC1 has no ED break at that point.
It is not seeing a 0 but a blank when it is expecting something because it is an ED

Kirk
Can we wrap the test in an if statement?
If new Ed Number <> old ED number
Do page number test
Endif
That would stop it testing for a page number when the transition is in the middle of a page, or the ED number is repetitive such as with merchant vessels. Transitions in the middle of a page can happen with ecc parishes (like the reported problem) or a new where_census_taken such as a change of hamlet.
This is one of those conditions that will crop up regularly but does not conform to what is expected. My gut tells me that all three instances I have come across are related to this problem.
Geoff


[embedded] Make CMO's 'serialize everything' mode even more aggressive and allow serialization of private and shared functions

This implements a (more) complete "alwaysEmitIntoClient" model on the module serialization side for embedded Swift as mentioned in https://github.com/apple/swift-evolution/blob/488e96672f2f54bbe0716dfe63cc5df753c3436f/visions/embedded-swift.md. Currently, CMO's serialization is still excluding several kinds of functions from being serialized (even in the "full" serialization mode), and that is problematic for embedded Swift. One concrete case is shown in an added testcase, where a specialization of a function from the stdlib is not serialized and ends up missing on the library client side and causes a link failure. The PR adds a real "serialize everything" mode to CMO and turns that on for embedded Swift.
Take 2, first attempt caused a SILVerifier failure and was reverted.

@swift-ci please test


Make Build() on NatsBuilder Internal

When swapping my code over to use the new hosting extensions I found what appears to be blunder of mine on the visibility of the Build() method. In order to prevent confusion for consumers thinking they need to call this method, I think hiding it would be best.
services.AddNatsClient(
    nats =>
    {
        nats.ConfigureOptions(ops => ops with { Url = config.Url });
        nats.Build(); // oops, this could cause confusion
    });

looks good. just checking the issue with ci


feat: update doc for vse encoder

Add usage for VSE Encoder Doc

Closing this since https://github.com/jina-ai/jina-hub/pull/3878/files already solves the documentation issue for VSE encoder


TextMate 2 support

Hi
Just wondering if this is supposed to work with TextMate?
If not, I could be interested in helping make it compatible.

PRs are welcome.

@in2isoft I would use it.

While not ideal, you can manually create a bundle from this repo:

Download the repo
Open TextMate 2
Bundles > Edit Bundles...
File > New > Bundle > Create
Enter a Name, like TypeScript
From Finder, open each .tm* file from the downloaded repo
In the dialog for each item, select the package name entered above and click OK
Profit

I'm not sure it's 100% working, but the syntax highlight seems fine, which is really all I was really looking for anyway, as TextMate is not my primary IDE.


index.js is different between github sources and npm package for 15.1.0

Link to bug demonstration repository

Hi,
I have an error about self-coverage-helper module missing when using @cypress/code-coverage.
<EMAIL_ADDRESS>Module not found: Error: Can't resolve '../self-coverage-helper' in '/home/marion/Work/Irma/ui-core/node_modules/@cypress/code-coverage/node_modules/nyc'
Looked for and couldn't find the file at the following paths:
[~/my-project/node_modules/@cypress/code-coverage/node_modules/self-coverage-helper]
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>59:23-57
<EMAIL_ADDRESS> @ ./tests/support/index.js

@cypress/code-coverage is using nyc 15.1.0. If I look at the nyc dependency in nodes_modules, I have the correct version according to package.json (15.1.0). However, the index.js does not correspond to one on github. Especially, I saw a difference on self-coverage-helper requirement that was updated in 15.1.0 release that is not included in npm package:
npm package 15.1.0 index.js content:
/* istanbul ignore next */
if (/self-coverage/.test(__dirname)) {
  selfCoverageHelper = require('../self-coverage-helper')
} else {
  // Avoid additional conditional code
  selfCoverageHelper = {
    onExit () {}
  }
}

github index.js content:
const nycSelfCoverageHelper = Symbol.for('nyc self-test coverage helper')
/* istanbul ignore next */
const selfCoverageHelper = global[nycSelfCoverageHelper] || {
  // Avoid additional conditional code
  onExit () {}
}

Expected Behavior
Observed Behavior
Troubleshooting steps

[ ] still occurring when I put cache: false in my nyc config

Environment Information

# paste the output here

My bad, the commit which includes the work on self-coverage-helper is after the release 15.1.0...


Enable local previews of camera video and screenshare

Describe the feature request
It should be possible for the user to see their own video (from camera or screenshare). For camera video, it should be possible to do so without being connected (true preview).

Will be available in 1.1.0-beta.2.


TypeError: Cannot read property 'on' of undefined     at HTMLButtonElement.

facing above error , my code is
console.log("rederer process 2");
const BrowserWindow = require('electron').remote.BrowserWindow
const electron = require('electron')
const app = electron.app
const url = require('url')
const path = require('path')
let win3
const newWindowBtn = document.getElementById('countbtn')
newWindowBtn.addEventListener('click', function (event) {
try {
        app.on('ready', () => {
        let displays = electron.screen.getAllDisplays()
        let externalDisplay = displays.find((display) => {
            return display.bounds.x !== 0 || display.bounds.y !== 0
        })

        if(externalDisplay){
        win3 = new BrowserWindow({
            width: 1024, height: 768, backgroundColor: '#000000', frame: false,
            x: externalDisplay.bounds.x + 50,
            y: externalDisplay.bounds.y + 50
        })
        win3.loadURL(url.format({
            pathname: path.join(__dirname, 'index3.html'),
            protocol: 'file:',
            slashes: true
        }))
    }
    })
}
catch (e) {
    console.log(e)
}

})

The structure of this application is not clear, especially with regard to which processes you're running these files in, what you're including, etc. Without this information, we cannot triage this effectively. for the above reasons i'm setting this issue as blocked and will be closed in 10 days.
If this issue is made clearer and more reproducible before that time, we will continue to investigate its cause.

Thank you. I found the solution.


docs: adds CLI section in guide

Description
Adds CLI section to docs guide in same manner as vitest does have.
Additional context

It was difficult to follow exact structure of the vitest document as it shares options between all commands. Here we have different options for each command, so I somehow tried to solve this.
Also I have notice type notations in options, vitest does not have such, but I consider them useful and kept them in shape [type], not sure if it is OK
What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Read the Pull Request Guidelines and follow the Commit Convention.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Can you rerun task "CI / Build&Test: node-14, ubuntu-latest (pull_request)"? As I didn't touch anything related to it.. probably false alarm 🤔

@luckylooke done, don't worry, there are some flaky tests we need to check out. Sorry for the noise.

@luckylooke looks like there are some formatting issues with the table. See the preview here: https://deploy-preview-11025--vite-docs-main.netlify.app/guide/cli.html, was this looking ok for you locally? You can run pnpm run docs to check.
It would also be good to add a "CLI" entry to the sidebar after "Features" like we have in https://vitest.dev. You can add it here

@luckylooke looks like there are some formatting issues with the table. See the preview here: https://deploy-preview-11025--vite-docs-main.netlify.app/guide/cli.html, was this looking ok for you locally? You can run pnpm run docs to check.
It would also be good to add a "CLI" entry to the sidebar after "Features" like we have in https://vitest.dev. You can add it here

ouch.. it seems that some precommit task did broke source code of the file, because it is totaly changed and really broken, it looks fine before commit, I didn't expect that commit can break it.. I will investigate more

Ok, problem was that I used bad escape characters \\ instead of standard \ which leads prettier to fail. But also I have found some extra places where I missed | which should be escaped.. so now double checked and should be all good.
I have also added item into menu via config you suggested, thanks for catch.
And I have removed:
---
title: Command Line Interface | Guide
---

part as it does not seem to have any efffect on output.. it was copypasted from vitest source, but I don't see reason having it there 🤷♂
Thanks 🙏😊

I did those changes, but for some reason I can't test it properly, still getting:
pnpm run docs

> vite-monorepo@ docs /Users/laky/Projects/vite
> vitepress dev docs

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module<EMAIL_ADDRESS>imported from<EMAIL_ADDRESS>Did you mean to import vite/packages/vite/index.cjs?
    at new NodeError (node:internal/errors:372:5)
    at finalizeResolution (node:internal/modules/esm/resolve:437:11)
    at moduleResolve (node:internal/modules/esm/resolve:1009:10)
    at defaultResolve (node:internal/modules/esm/resolve:1218:11)
    at ESMLoader.resolve (node:internal/modules/esm/loader:580:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:294:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:80:40)
    at link (node:internal/modules/esm/module_job:78:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

I have tried reinstall node_modules, clear everything up, git clone project again and nothing helped, I can investigate more later.

I tried it locally and it works fine, also the deployed version looks great: https://deploy-preview-11025--vite-docs-main.netlify.app/
Thanks for the changes!

Great :🎉, thanks 👏😊

Thanks a lot @luckylooke ❤


Improvement - 354 - iPhone X case: Increase bottom margin to avoid interference

Tested on:

iPhoneX Simulator (margin bottom now present for homebar)
Mac desktop App (no change as expected)
Mac browser version (no change as expected)
LG G6 (Android, no change as expected)
iPad 2017 (no change as expected)

Please test on a real iPhoneX device, it should be fine..

PR should be on the sprint branch.


Libraries intellisense does not exist

When using the nuget package version 0.8 (latest as of today), I don't see the "libraries"
Html.GoogleMap().Libraries
But when I download the code from github and compile it, I do see it.

I have updated the code for .net6.
Please try the new version and reopen this issue if it still exists.


start / stop stream / record error

Hi haganbmj,
at first: Thank you for this project! My first steps on controlling the obs websocket were quite positive. There is one thing, that doesn't work for me as expected:
I get an error on sending a 'StartStreaming', 'StopStreaming', 'StartRecording' or 'StopRecording' request:

[OBSWebSocket] Error: invalid request type

I wrote the function myself based on the already existing and working 'StartStopStreaming' - request in obs-websocket.js:
OBSWebSocket.prototype.startStreaming = function() {     this._sendRequest('StartStreaming');   };
Here is my system:

obs-websocket-js v0.3.3
obs-websocket plugin v4.0.0
obs v18.0.1

I worked with the official websocket plugin protocol and couldn't see any complications concerning the RequestHandler.
Do you know what causes this error and how to solve it?
Many thanks!

@HagenMo You can't use these request types in 4.0.0. These are implemented for 4.1.

Ah, good to know! Many thanks!

Sounds right to me :) - thanks @Palakis


metadata in library mode

When using Cargo multi-crate workspaces, cargo-run-bin will read metadata only from the root Cargo.toml
https://github.com/dustinblackman/cargo-run-bin/blob/02a968fc095cf8afc1615ea4cd4e936b4fc1e7e6/src/metadata.rs#L77
Would it be possible to limit scope to the current crate, so they can be feature-toggled?
Example
// ./bin/wasm-pack/src/main.rs
fn main() {
    let packages = cargo_run_bin::metadata::get_binary_packages().unwrap();
    let binary = packages.iter().find(|e| e.package == "wasm-pack").unwrap();
    let path = cargo_run_bin::binary::install(binary.clone()).unwrap();
    cargo_run_bin::binary::run(path.clone(), std::env::args().collect()).unwrap();
}

# ./bin/wasm-pack/Cargo.toml
[package]
name = "wasm-pack"
version = "0.1.0"
edition = "2021"

# TODO: this does not work
# [package.metadata.bin]
# wasm-pack = { version = "0.12.1" }

[dependencies]
cargo-run-bin.workspace = true

# ./Cargo.toml
[workspace]
default-members = []
members = ["./bin/wasm-pack/"]
resolver = "2"

[workspace.dependencies]
cargo-run-bin = { version = "1.7.2", default-features = false }

# TODO: this does work
[workspace.metadata.bin]
wasm-pack = { version = "0.12.1" }

A small bump in this - I have kind of a big monorepo where the tools themselves can have different versions (due to forks, mostly). I'm fine with helping with this feature, what do you think @dustinblackman?


ENH: Add Series.dt.total_seconds GH #10817

Implements a Series.dt.total_seconds method for timedelta64 Series.
closes #10817

does timedelta.total_seconds() provide fractional second as wel?

Yes, fractional seconds are included:
In [1]: s = Series(pd.timedelta_range('1day',periods=5,freq='1ms'))

In [2]: s
Out[2]:
0          1 days 00:00:00
1   1 days 00:00:00.001000
2   1 days 00:00:00.002000
3   1 days 00:00:00.003000
4   1 days 00:00:00.004000
dtype: timedelta64[ns]

In [3]: s.dt.total_seconds
Out[3]:
0    86400.000
1    86400.001
2    86400.002
3    86400.003
4    86400.004
dtype: float64

not what I mean
is the actual Python timedelta.total_seconds have fractions (I think yes) just confirming

Ah, I understand. Yes, it does:
In [38]: t = timedelta(days=1,microseconds=40)

In [39]: t.total_seconds()
Out[39]: 86400.00004

Indeed, didn't see that, but +1 making it a method instead of a property for consistency with datetime.timedelta/pd.Timedelta

Further, @sjdenny can you add a whatsnew notice (see doc/source/whatsnew/v0.17.0.txt, somewhere in 'other enhancements')

In extending the (nanosecond-precision) tests, I've come across this behaviour:
In [18]: td = pd.Timedelta(nanoseconds=50)

In [19]: td.nanoseconds
Out[19]: 50

In [20]: td.total_seconds()
Out[20]: 0.0

In [21]: td.total_seconds() == 0.0
Out[21]: True

In [22]: td2 = pd.Timedelta(microseconds=50)

In [23]: td2.total_seconds()
Out[23]: 5e-05

It appears (e.g. here) that timedelta.total_seconds() aims for microsecond accuracy only. Is this the behaviour we want to reproduce in Series.dt.total_seconds()? Nanosecond precision appears preferable, but then the scalar and Series functions would have slightly different behaviour.

It should be consistent between both in any case, but maybe we can also see the Timedelta behaviour as a bug?
I suspect that this method is just inherited from datetime.timedelta, so maybe we will have to overwrite it ourselves in the subclass.
BTW, the reason of this difference is that datetime.timedelta does not support nanoseconds, while pd.Timedelta does

the pandas functions should work with ns precision in all cases
so need to override the scalar function as well

@sjdenny This should probably be added somewhere here: https://github.com/pydata/pandas/blob/master/pandas/tslib.pyx#L2415 (I think the self.value will give you the nanoseconds, and then you can use the same approach)

I think also add the method .total_seconds() on the NaTType object (returns np.nan) for compat. (and pls add a test as well).

@sjdenny awesome job!

@sjdenny Thanks a lot!


Cannot set uri and type

In my android project I am trying to get an external app to open a file (in the external cache) by executing this:
startApp.set({
    "action": action,
 "package": "some.package.name",
 "type": "text/plain",
 "uri": "file://some/file/path"
 }).start();

Results in the following logcat output
ActivityManager: START u0 {act=android.intent.action.VIEW typ=null flg=0x10000000 cmp=ComponentInfo{some.package.name/some.component.name}} from uid 10293 on display 0

The 'typ' value is null for some reason.
If I execute the the same but without the uri:
startApp.set({
    "action": action,
 "package": "some.package.name",
 "type": "text/plain",
 }).start();

Then the type does seem to be present:
ActivityManager: START u0 {act=android.intent.action.VIEW typ=text/plain flg=0x10000000 cmp=ComponentInfo{some.package.name/some.component.name}} from uid 10293 on display 0

The app opens in both cases but does not open the file. From looking at other intent logs the app I am attempting to open the file with needs the type to be set in the intent.
Have I misunderstood how to use the intents or is there something else wrong?

Hi, @rhyst!
In android method setType() automatically clears any data that was previously set (for example by setData(Uri)) (via https://stackoverflow.com/questions/13719471/why-setdataandtype-for-an-android-intent-works-fine-when-setdata-and-settype)
To fix the situation, you need to slightly change the plugin code for your case:
replace https://github.com/lampaa/com.lampa.startapp/blob/master/src/android/startApp.java#L155
to:
LaunchIntent.setDataAndType(Uri.parse(params.getString("uri")),"text/plain");

Sorry this has taken so long to close but yes that is what I ended up doing. Thank you for your help.


Add custom ml to cv

Add custom model support to BlueCastCV
Add PCA plot for EDA
Add t-SNE plot for EDA

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.22 :tada:

Comparison is base (b12328f) 91.94% compared to head (c552444) 92.17%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   91.94%   92.17%   +0.22%
==========================================
  Files          35       35
  Lines        1328     1367      +39
==========================================
+ Hits         1221     1260      +39
  Misses        107      107

Flag
Coverage Δ

pytest
92.17% <100.00%> (+0.22%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

bluecast/blueprints/cast_cv.py
72.85% <100.00%> (+0.79%)
:arrow_up:

bluecast/eda/analyse.py
98.83% <100.00%> (+0.65%)
:arrow_up:

bluecast/tests/test_analyse.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


  This PR fixes the problem.

Thanks! This is a dupe of #137


Set default languages to 'en' only

There is a relatively large set of languages that are active by default. Need to reduce that to english only for now. If we want to support others need to do that as a separate issue.

SQL to execute as part of the deployment is:
update languages set isdefault = false where code <> 'en';

Done for both BCRHP and Fossils in v7.


Can generated-gradle-jars (120MiB per version, ~15sec to build) be avoided?

Expected Behavior
Gradle should be able to work without building 120MiB archives for its own purposes.
Can the jar be replaced with manifest-only classpath jar?
Current Behavior
Every Gradle installation builds a huge file in generated-gradle-jars which takes space (as the number of Gradle versions grow) and it takes time to build.
The build time is especially important for stateless CI agents where the time to build generated-gradle-jars is significant.
Context
I'm exploring the ways to improve build times in GitHub Actions CI, and it turns out generated-gradle-jars takes a significant amount of time (~15sec?).
See also: https://github.com/gradle/gradle/issues/13148

This is something I'd love to fix. I don't think there's a good reason why we couldn't just ship with the JARs we need, i.e. build the JARs during build time, instead of generating them during first use.


[LUIS] Wrong results from the Spanish version - LUIS apps

Bot Info

SDK Platform: Node.js
SDK Version: 3.13.1 (npm)
Active Channels: All
Deployment Environment: local development with Emulator, Web App Bot
LUIS language: Spanish

Issue Description
We don't have prebuild domains for Spanish. And using Simple entities we can't use spaces, double quotes to get all the info.
Code Example
https://github.com/proyecto26/Bot-Framework/blob/master/src/nodejs/bot/dialogs/movieBook.js#L9
Reproduction Steps

Download the template https://github.com/proyecto26/Bot-Framework/ (src/nodejs)
Change the language to Spanish (Select Spanish from the menu)
Type any of the following examples:

reservar boletos para Avengers Infinity War

return avengers

reservar boletos para "Avengers Infinity War"

return "
Expected Behavior
Return all the info with spaces in the Spanish version. Example:

reservar boletos para Avengers Infinity War

return avengers infinity war
Actual Results
If the entity has spaces only get the first part. With doubles quotes only return the first quote
I'm not sure if this bug is for this team or the team of LUIS, let me know if the repo is other one.
Thanks in advance, Nicholls

Can you please let us know if it is Spanish (Spain) or Spanish (Mexico)?

Spanish (Spain)

Thanks for the help!

The case is a movie ticket reservation intent, and the problem is in handling multi-word movie names which is not a bug. But it does look like a case that could be covered with the new Patterns feature (using pattern.any and optional tokens for the quotes). If you add the pattern.any entities to your LUIS app, you can't label utterances with these entities. They are only valid in patterns. Hope this helps!!

But with the english version works as expected

And the response (multi-word movie names)

The code for both luis apps is the same:
var intent = args.intent
var title = builder.EntityRecognizer.findEntity(intent.entities, 'MovieTickets.MovieTitle')

var movie = session.dialogData.movie = {
  title: title ? title.entity : ''
}

Let me know what you think
Thanks lady in advance, Nicholls

English works as expected because prebuilt domains are supported in English and not supported in Spanish.

Since the prebuilt domain used for English are not supported in Spanish, the way to recognize multi words intent is to use patterns.any as mentioned above. Hope this help!!

@fanidamj Ohh thanks for your help lady!


[Bug]: yarn start will cause FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Expected Behavior
i run it by :
sudo yarn start --max_old_space_size=3096
Actual Behavior
in 2 or 3 hours, it will be killed by follow issue
<--- Last few GCs --->
[8537:0x4dfe310] 44483799 ms: Mark-sweep (reduce) 1944.7 (2005.5) -> 1943.9 (2006.0) MB, 3499.1 / 0.1 ms  (average mu = 0.285, current mu = 0.005) allocation failure scavenge might not succeed
[8537:0x4dfe310] 44487316 ms: Mark-sweep (reduce) 1945.0 (2006.0) -> 1944.2 (2006.5) MB, 3158.1 / 0.1 ms  (average mu = 0.205, current mu = 0.102) allocation failure scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0xb02ec0 node::Abort() [/usr/bin/node]
2: 0xa181fb node::FatalError(char const*, char const*) [/usr/bin/node]
3: 0xced88e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
4: 0xcedc07 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
5: 0xea5ea5  [/usr/bin/node]
6: 0xeb557d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/node]
7: 0xeb827e v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/node]
8: 0xe793e2 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/bin/node]
9: 0xe73d0c v8::internal::FactoryBasev8::internal::Factory::AllocateRawArray(int, v8::internal::AllocationType) [/usr/bin/node]
10: 0xe8913a v8::internal::Handlev8::internal::PropertyArray v8::internal::Factory::CopyArrayAndGrowv8::internal::PropertyArray(v8::internal::Handlev8::internal::PropertyArray, int, v8::internal::AllocationType) [/usr/bin/node]
11: 0x1083af5 v8::internal::JSObject::MigrateToMap(v8::internal::Isolate*, v8::internal::Handlev8::internal::JSObject, v8::internal::Handlev8::internal::Map, int) [/usr/bin/node]
12: 0x10a5581 v8::internal::LookupIterator::ApplyTransitionToDataProperty(v8::internal::Handlev8::internal::JSReceiver) [/usr/bin/node]
13: 0x10c4e0b v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handlev8::internal::Object, v8::internal::PropertyAttributes, v8::Maybev8::internal::ShouldThrow, v8::internal::StoreOrigin) [/usr/bin/node]
14: 0x107b721 v8::internal::JSObject::CreateDataProperty(v8::internal::LookupIterator*, v8::internal::Handlev8::internal::Object, v8::Maybev8::internal::ShouldThrow) [/usr/bin/node]
15: 0x1084423 v8::internal::JSReceiver::SetOrCopyDataProperties(v8::internal::Isolate*, v8::internal::Handlev8::internal::JSReceiver, v8::internal::Handlev8::internal::Object, v8::internal::PropertiesEnumerationMode, v8::base::ScopedVector<v8::internal::Handlev8::internal::Object > const*, bool) [/usr/bin/node]
16: 0x11ffc5b v8::internal::Runtime_CopyDataProperties(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/node]
17: 0x15e7879  [/usr/bin/node]
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[ec2-user@ip-172-31-31-70 shopify]$
[ec2-user@ip-172-31-31-70 shopify]$
Possible Solution
No response
Steps to reproduce
No response
What version of shopify integration are you using?
main branch
What version of Node.js are you using?
v16.13.0
What browser (and version) are you using?
96.0.4664.55
What operating system (and version) are you using?
linux
Relevant log output
No response
Code of Conduct

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

Is increasing more size old space doesn't do any good?

Closing this as there are no further updates. Thank you.


suggest moving content from the root folder into this subdirectory.

... next to other DevOps tools

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

We are marking this PR invalid for Hactoberfest as it does not follow the recommended guidelines below:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove white space / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details
This was taken from the Chef docs here: https://docs-archive.chef.io/release/server_12-2/chef_overview.html


Remove overlapping carousel controls on mobile devices

The carousel controls overlap the slide content on mobile devices. Swiping left / right works, so they are redundant anyway.

Thanks! These are great enhancements, keep them coming.


Optimization of PDF chat page

Allow users to automatically adjust the size of the PDF and chat areas by dragging.
Reduce white margins.

Hi, thank you for bringing this up. We will consider your suggestions, then fix/improve the necessary parts in the upcoming versions.


Support for Authentication tokens/headers?

Any thought to support Authentication tokens and/or headers during the request process?  For example, how would I set an OAuth Bearer token priory to using this in XAML on a page?  Keeping in mind that authentication will happen long after the application loads (in terms of start up).
One possible option could be to allow a callback (Action/Func type property) to be set within the PCL code?
Ex:
ImageService.InitializeClient = (httpClient) =>
{
    httpClient.DefaultRequestHeaders.Add("Authorization", "Bearer XXXXXXXXX");
};

Note: I tried setting a custom HttpClient in the Initialize method -- this does not work.  I get a general error back and since FFImageLoading hides the underlying error, I have no idea what went wrong.

Hi, I have gotten authentication support working. Please find a few tips below :)
In your AppDelegate or MainActivity:
ImageService.Initialize(new Configuration { 	HttpClient = new HttpClient(new AuthenticatedHttpImageClientHandler(_authService.GetToken)) });
And something like this for the auth handler:
namespace MyNamespace {     public class AuthenticatedHttpImageClientHandler : HttpClientHandler     {         private readonly Func<Task<string>> _getToken;
    public AuthenticatedHttpImageClientHandler(Func<Task<string>> getToken)
    {
        if (getToken == null) throw new ArgumentNullException("getToken");
        _getToken = getToken;
    }

    protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
    {
        request.Headers.Add("Authorization", "Bearer " + token);
        return await base.SendAsync(request, cancellationToken).ConfigureAwait(false);
    }
}

}

Thanks.  However, I tried almost exactly that :)  All I get is a general error generating image with no additional information in both the Logger or the Error Event Handler.
Note: Mine is a little different as I don't get a token until after the login process which is long after the MainActivity initializes.
I also tried setting the DefaultHeaders in HttpClient in the Download Cache Handler and that also didn't work.
if I switch to just a simple HttpClient with setting he default headers and downloading the image manually it works perfectly.
I'll try your exact code and see if that works though.

Yep, just to confirm -- using the EXACT code above with an addition of calling
token = await _getToken();

I get the same thing
e.Exception	{"FFImageLoading is unable to generate image."}	System.Exception

I have tried with <IP_ADDRESS> and with 2.1.0-alpha1  -- both result in the same thing with NO additional error information, so I have no idea why it is failing. And since I cannot get the current code branch to build, debugging is turning out to be all but impossible.

Hi @ravensorb @michaeldimoudis,
@ravensorb That error is probably TaskCancelledException, I fixed it here: https://github.com/molinch/FFImageLoading/commit/f87602abd6f17dc78f8d25418b509535b150d2e7#diff-7399e835b4d01addca6bd9a204466d58R213

FFImageLoading 2.1.0-alpha2 nuget released which brings this fix.
Could you please have a look at it?

@ravensorb Any news about it? 2.1 RC2 is now released.

Trying to update now -- running into odd issues with my UWP project at the moment.  It is complaining that FFImageLoading is defined in multiple assemblies.  Plus I am still getting the corrupt data error
Unable to read package from path 'Xamarin.FFImageLoading.Forms.2.1.0-rc2\Xamarin.FFImageLoading.Forms.2.1.0-rc2.nupkg'.
  File contains corrupted data.

I really don't get it: on my side the package works as a charm.
@daniel-luberda Maybe it is VS/UWP related, what do you think?

I am looking at the nuspec files now -- there are a number of small tweaks I think we can make to fix this.  If it works, I'll do a PR

Question -- Anyone know if the nuspec files and the solution in sync? I see references to FFImageLoading.Common in the nuspec files, however in the solution that project is not loaded at all + the MakeFileWindows.bat doesn't build it either so I am not sure which is correct -- the nuspec or the sln file?

Ok, running into issues :)  Is the nuspec file in the repository correct? And does it match the current source code and solution?  I am getting compiler errors on several of the samples and the nuspec file is looking for files that do not get build.

Ok, I think I found it -- looks like a bit of a classic mistake between windows and non-windows.  The nuget spec actually requires a \ to be used for path separators rather than / (doesn't matter which platform you use to create the package the xml file requires a backslah).  If I replace all of the / with \ then bingo we have a valid nuget package that passes all tests

Many thanks @ravensorb for the investigation!
Would you mind submitting a PR?

finished it up now

Ok, done.  I also combined the windows package into the main one.  If that is not ok, it is easy enough to pull out again.

@ravensorb Could you tell us if you still have this issue with 2.1.1 https://www.nuget.org/packages/Xamarin.FFImageLoading/2.1.1-pre1?
If that's the case I will investigate.

@ravensorb If you manage to deliver a sample we will investigate this issue.
Meanwhile there is nothing we can do about it.


feat: Add baseline models for time series

Is your feature request related to a problem?
When working with time series, statistical models give a good baseline for prediction. So a user can compare his neural network with a statistical model easily.
Desired solution
I am not sure where the baseline models should be defined and if they should have an own class.  They should be used like the existing Models in the Safe-DS Library.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

if they should have an own class

No, the baseline models are instances of the classes you define. Instead, provide global functions to create the baseline model.


how to start the program

How can I test with pictures or videos to see the effect

I just uploaded a new test file video_test.py

Usage

$ CUDA_VISIBLE_DEVICES='-1' python video_test.py -h
usage: video_test.py [-h] -m MODEL_FILE [-k KNOWN_USER] [-K KNOWN_USER_FORCE]
                     [-b EMBEDDING_BATCH_SIZE] [-s VIDEO_SOURCE]
                     [-t DIST_THRESH] [-p FRAMES_PER_DETECT]

optional arguments:
  -h, --help            show this help message and exit
  -m MODEL_FILE, --model_file MODEL_FILE
                        Saved basic_model file path, NOT model (default: None)
  -k KNOWN_USER, --known_user KNOWN_USER
                        Folder containing user images data (default: None)
  -K KNOWN_USER_FORCE, --known_user_force KNOWN_USER_FORCE
                        Folder containing user images data, force reload
                        (default: None)
  -b EMBEDDING_BATCH_SIZE, --embedding_batch_size EMBEDDING_BATCH_SIZE
                        Batch size for extracting known user embedding data
                        (default: 4)
  -s VIDEO_SOURCE, --video_source VIDEO_SOURCE
                        Video source (default: 0)
  -t DIST_THRESH, --dist_thresh DIST_THRESH
                        Cosine dist thresh, dist lower than this will be
                        Unknown (default: 0.6)
  -p FRAMES_PER_DETECT, --frames_per_detect FRAMES_PER_DETECT
                        Do detect every [NUM] frame (default: 5)

CUDA_VISIBLE_DEVICES='-1' ./video_test.py -m './checkpoints/mobilenet_adamw_BS256_E80_arc_tripD_basic_agedb_30_epoch_123_0.955333.h5' -k temp_test/

MODEL_FILE is the trained keras basic_model.
KNOWN_USER indicates a folder including images just in the same format as train dataset..               # dataset folder
├── user_1       # person folder
│   ├── 100.jpg # face image
│   ├── 101.jpg # face image
│   └── 102.jpg # face image
├── user_2       # person folder
│   ├── 111.jpg
│   ├── 112.jpg
│   └── 113.jpg
├── user_3
│   ├── 707.jpg
│   ├── 708.jpg
│   └── 709.jpg

KNOWN_USER_FORCE used for reload from KNOWN_USER, or it will use a cached npz file. Use this if changed model or user data.
It also has a function image_recognize, which is used to detect and recognize faces in a single image, you can read it for the usage.

@leondgarse
I am trying to reproduce your env
Could you share settings to get 99.xx% accuracy of mobilenet?

@cuongdv1 As I remember, it's something like this:
import losses, train

data_path = '/datasets/faces_emore_112x112_folders'
eval_paths = ['/datasets/faces_emore/lfw.bin', '/datasets/faces_emore/cfp_fp.bin', '/datasets/faces_emore/agedb_30.bin']

basic_model = train.buildin_models("mobilenet", dropout=0, emb_shape=256, output_layer='GDC')
tt = train.Train(data_path, save_path='keras_mobilenet_emore_nadam_soft_arc_tripD.h5', eval_paths=eval_paths,
    basic_model=basic_model, lr_base=0.001, batch_size=512, random_status=2)
sch = [
  {"loss": keras.losses.CategoricalCrossentropy(label_smoothing=0.1), "epoch": 15, "optimizer": "nadam"},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 30},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 10, "triplet": 64, "alpha": 0.35},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 10, "triplet": 64, "alpha": 0.3},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 10, "triplet": 64, "alpha": 0.25},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 10, "triplet": 64, "alpha": 0.2},
]
tt.train(sch, 0)

You can also refer to this issue MobileFacenet SE Train from scratch #9. I can also test it again later.

@leondgarse
Thank you very much for sharing,
I am reproducing it,
But about ArcFaceLossT4, what is difference? comparing to ArcFaceLoss,
I read paper and MXnet code but not found information
could you explain it?
Thank you in advance

It's used to be here insightface/src/train.py, and it's the recommended one. but in recently update, it's gone...
It's just a simplified version of ArcfaceLoss where margin1=1.0, margin3=0.0 and margin2=margin. Though looks different, but should have the same effect.

@cuongdv1 As I remember, it's something like this:
import losses, train

data_path = '/datasets/faces_emore_112x112_folders'
eval_paths = ['/datasets/faces_emore/lfw.bin', '/datasets/faces_emore/cfp_fp.bin', '/datasets/faces_emore/agedb_30.bin']

basic_model = train.buildin_models("mobilenet", dropout=0, emb_shape=256, output_layer='GDC')
tt = train.Train(data_path, save_path='keras_mobilenet_emore_nadam_soft_arc_tripD.h5', eval_paths=eval_paths,
    basic_model=basic_model, lr_base=0.001, batch_size=512, random_status=2)
sch = [
  {"loss": keras.losses.CategoricalCrossentropy(label_smoothing=0.1), "epoch": 15, "optimizer": "nadam"},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 30},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 10, "triplet": 64, "alpha": 0.35},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 10, "triplet": 64, "alpha": 0.3},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 10, "triplet": 64, "alpha": 0.25},
  {"loss": losses.ArcfaceLossT4(scale=64), "epoch": 10, "triplet": 64, "alpha": 0.2},
]
tt.train(sch, 0)

You can also refer to this issue MobileFacenet SE Train from scratch #9. I can also test it again later.
Also, you can raise a new issue, this is totally a different one...

@leondgarse
I reproduced above training schedule, but accuracy results are not same as yours
my accuracy: LFW: 99.51%, CFP_FP: 90.98%
yours: LFW: 99.61, CFP_FP: 94.81
CFP-FP accuracy is quite low compared to yours,
Do you have any idea? or any parameter setting or training schedule should be tried?

@cuongdv1

Ya, you result looks not a good one... I have also tested just the same script above using batch_size=480, it's plotted the orange line. The best result is Epoch 72: lfw - 0.994667, cfp_fp - 0.933714, agedb - 0.950667.
The blue line is the result I published in the readme. As you can see, It's trained 80 epochs softmax + centerloss --> 2 epochs bottleneckonly --> 50 epochs arcface + triplet, and batch_size=256。

This is the script, the reason I'm not sharing it at first place is that:

I think this process is too complicated...
I changed CenterLoss since then, replaced reduce_mean with reduce_sum on losses.py#L199, which is learned from others implementation.


Reducing Latency for Hand-Tracking Solution in Python

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Windows 10 amd64x
MediaPipe Tasks SDK version
Mediapipe Version: 0.10.20
Task name (e.g. Image classification, Gesture recognition etc.)
Hand landmark detection
Programming Language and version (e.g. C++, Python, Java)
Python
Describe the actual behavior
Using the LITE Model (model_complexity=0), I'm measuring Latency of 35-27ms
Describe the expected behaviour
According to "https://ai.google.dev/edge/mediapipe/solutions/vision/hand_landmarker", the FULL Model (model_complexity=1)  has a latency of CPU:17ms, GPU:12ms
Standalone code/steps you may have used to try to get what you need
The way I measure latency is as follows:
def log_latency(start_time, event):
    elapsed_time = time.time() - start_time
    print(f"[{event}] Elapsed Time: {elapsed_time:.4f} seconds")
    return elapsed_time

with mp_hands.Hands(model_complexity=0, min_detection_confidence=0.3, min_tracking_confidence=0.5) as hands:
    while cap.isOpened():
        ret, frame = cap.read()

        # BGR 2 RGB
        image = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)

        # Flip on horizontal
        image = cv2.flip(image, 1)

        # Set flag
        image.flags.writeable = False

        # Detections
        det_time = time.time()
        results = hands.process(image)
        log_latency(det_time, "Landmark Detection")

        # Set flag to true
        image.flags.writeable = True

        # RGB 2 BGR
        image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)

        # Detections
        'print(results)'

        # Rendering results
        if results.multi_hand_landmarks:
            for num, hand in enumerate(results.multi_hand_landmarks):
                mp_drawing.draw_landmarks(image, hand, mp_hands.HAND_CONNECTIONS,
                                        mp_drawing.DrawingSpec(color=(51, 102, 0), thickness=1, circle_radius=2),
                                        mp_drawing.DrawingSpec(color=(33, 165, 205), thickness=2, circle_radius=0),
                                         )

            # Draw Finger distances to image from point list
            draw_tip_distances(image, results, point_list)

            # Draw Hand distances to image from tip list
            draw_hand_distances(num, image, results, tip_list)

        # Check for countdown trigger
        key = cv2.waitKey(10) & 0xFF
        if key == ord('c'):
            cal_distances(image, hands)

        # Show the image
        cv2.imshow('Hand Tracking', image)

        if key == ord('q'):
            break

cap.release()
cv2.destroyAllWindows()

Other info / Complete Logs
I'm trying to get the Hand Tracking as close to real-time as possible.
I apologize if I'm misinterpreting the "expected" latency values.
I'm considering:
*Hardware acceleration: Unfortunately, I don't have a CUDA GPU. Isn't supported in the Python solution as far as I know anyways.
*Playing with detection & tracking confidence yielded improvements of ~2ms
*Tracking only necessary landmarks: For my task I only need wrist & Fingertip landmarks, however the model tracks all 21 landmarks. Would creating a custom model like this be possible/reduce latency?
*I considered switching to C++, but had problems setting up the MediaPipe Framework. I would get the Hello World to run successfully, but the hand_tracking_cpu example failed to build....
I'll gladly specify further if necessary! Thanks!

Hi @MarcKr3,
Thank you for reaching out. Below are some answers regarding the support you are looking for:

Hardware Acceleration:

Based on the code snippet and version you are using, it appears you are utilizing the legacy hand tracking solution. Please
note that this solution has been upgraded and is now integrated into the Hand Landmarker Task API, as outlined in the
documentation. We have discontinued support for
legacy solutions and are no longer maintaining them.
The upgraded Task API offers improved performance and is easier to implement for your use case. It also supports GPU
acceleration. For GPU configuration details, please refer to this https://github.com/google-ai-edge/mediapipe/issues/5426. We recommend transitioning to the new Hand
Task API, which you can explore through the guidelines here. A Python guide is available here, along with a Python notebook example. If you encounter similar behavior in the new Task API, please let us know.

Tracking Specific Landmarks:

Currently, it is not possible to track only specific landmarks with the Hand Landmarker. However, MediaPipe's model maker
can assist with this feature, though it is not yet available for the Hand Landmarker.

Switching to C++:

If you wish to switch to C++, we recommend opening a new issue using this template and providing the necessary details and complete error logs. Our team will be happy to assist you in resolving this.
Please let us know if you need further assistance.

Thank You for Your answer!
Sorry, I thought I'm running the latest version because I was working with the most recent pip install.
(pip show mediapipe -> mediapipe Version: 0.10.20)
The python notebook for landmark detection in images worked, but i was unable to implement the "live stream"-task.
I tried my hardest following the guides You shared, but failed horribly...
import mediapipe as mp
from mediapipe import solutions
from mediapipe.framework.formats import landmark_pb2
from mediapipe.tasks import python
from mediapipe.tasks.python import vision
import cv2
import numpy as np

BaseOptions = python.BaseOptions
HandLandmarker = vision.HandLandmarker
HandLandmarkerOptions = vision.HandLandmarkerOptions
HandLandmarkerResult = vision.HandLandmarkerResult
VisionRunningMode = vision.RunningMode

# Create a hand landmarker instance with the live stream mode:
def print_result(result: HandLandmarkerResult, output_image: mp.Image, timestamp_ms: int):  # type: ignore
    print('hand landmarker result: {}'.format(result))

options = HandLandmarkerOptions(base_options=BaseOptions(model_asset_path='D:\Desktop\MIDIHands\hand_landmarker.task'), running_mode=VisionRunningMode.LIVE_STREAM, result_callback=print_result)

cap = cv2.VideoCapture(0)

MARGIN = 10  # pixels
FONT_SIZE = 1
FONT_THICKNESS = 1
HANDEDNESS_TEXT_COLOR = (88, 205, 54) # vibrant green

def draw_landmarks_on_image(rgb_image, results):
  hand_landmarks_list = results.hand_landmarks
  handedness_list = results.handedness
  annotated_image = np.copy(rgb_image)

  # Loop through the detected hands to visualize.
  for idx in range(len(hand_landmarks_list)):
    hand_landmarks = hand_landmarks_list[idx]
    handedness = handedness_list[idx]

    # Draw the hand landmarks.
    hand_landmarks_proto = landmark_pb2.NormalizedLandmarkList()
    hand_landmarks_proto.landmark.extend([landmark_pb2.NormalizedLandmark(x=landmark.x, y=landmark.y, z=landmark.z) for landmark in hand_landmarks])

    solutions.drawing_utils.draw_landmarks(annotated_image, hand_landmarks_proto, solutions.hands.HAND_CONNECTIONS, solutions.drawing_styles.get_default_hand_landmarks_style(), solutions.drawing_styles.get_default_hand_connections_style())

    # Get the top left corner of the detected hand's bounding box.
    height, width, _ = annotated_image.shape
    x_coordinates = [landmark.x for landmark in hand_landmarks]
    y_coordinates = [landmark.y for landmark in hand_landmarks]
    text_x = int(min(x_coordinates) * width)
    text_y = int(min(y_coordinates) * height) - MARGIN

    # Draw handedness (left or right hand) on the image.
    cv2.putText(annotated_image, f"{handedness[0].category_name}", (text_x, text_y), cv2.FONT_HERSHEY_DUPLEX, FONT_SIZE, HANDEDNESS_TEXT_COLOR, FONT_THICKNESS, cv2.LINE_AA)

  return annotated_image

with HandLandmarker.create_from_options(options) as landmarker:
    while cap.isOpened():
        ret, frame = cap.read()
        frame_timestamp_ms = cap.get(cv2.CAP_PROP_POS_MSEC)

        image = cv2.flip(frame, 1)

        image = mp.Image(image_format=mp.ImageFormat.SRGB, data=image)

        results = landmarker.detect_async(image,int(frame_timestamp_ms))

        annotated_image = draw_landmarks_on_image(image, results)

        key = cv2.waitKey(10) & 0xFF

        cv2.imshow("MIDIHands", annotated_image)

        if key == ord('q'):
            break

cap.release()
cv2.destroyAllWindows()

This yields the error:
hand landmarker result: HandLandmarkerResult(handedness=[], hand_landmarks=[], hand_world_landmarks=[])
Traceback (most recent call last):
  File "d:\Desktop\MIDIHands\newAPI.py", line 67, in <module>
    annotated_image = draw_landmarks_on_image(image, results)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Desktop\MIDIHands\newAPI.py", line 29, in draw_landmarks_on_image
    hand_landmarks_list = results.hand_landmarks
                          ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'hand_landmarks'

Could You point towards an implementation of live stream-hand landmark detection?
Regarding the Hardware Acceleration:
I'm running Windows, which it isn't supported on yet, right?
Thanks for the Information about the Model Maker and C++.
I'll consider it if updating to the task APIs doesn't work.


docs(crosswalk): update the document

Description
Updated the behavior_velocity_crosswalk_module's document

Tests performed

No need
Effects on system behavior

Nothing
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@yuki-takagi-66 Sorry to be late. I created a PR for the crosswalk document. Please review it.


Update Blog “why-dont-you-become-a-product-manager”

Automatically generated by Netlify CMS

👷 Deploy Preview for rajatchakrab processing.

Name
Link

🔨 Latest commit
80de5458cbbe5bdfc499bbe2755b38ce2ff8b996

🔍 Latest deploy log
https://app.netlify.com/sites/rajatchakrab/deploys/66265653aca3ea00085ddf10


chore(deps): update terraform terraform-ibm-modules/kms-all-inclusive/ibm to v4.15.4

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/kms-all-inclusive/ibm (source)
module
patch
4.15.3 -> 4.15.4

Release Notes

terraform-ibm-modules/terraform-ibm-kms-all-inclusive (terraform-ibm-modules/kms-all-inclusive/ibm)
v4.15.4
Compare Source
Bug Fixes

deps: update terraform ibm to latest for the deployable architecture solution (#528) (2daf902)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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


troubleshooting 'dots' in Chrome on Android

Running into an issue where a page using slick won't load in the latest release of Chrome on Android. It only occurs when I specify the 'dots' feature to be true. Not sure if this is a Chrome issue or a slick issue, but thought I would bring it up.
Running:
Android 5.1.1
Chrome 43.0.2357.93
Thanks!

Test URL of the page that I realized this on: http://beta.neverwithout.net

confirmed, even the demo page http://kenwheeler.github.io/slick/ crashes Google Chrome on Android.
Chrome version: 43.0.2357.93 (32 bit)
Blink: 537.36
OS: Android 5.0.0
Device: LG-D855 (LG G3)
If I turn off the dots, it works properly.
Mind you the CSS of the dots is not altered at any way, it must be a JS issue.

Firefox crashes as well but default android browser does not.
using 1.5.8 version

Are you guys seeing anything in the console? I'd like to get this sorted out immediately.

changing line 472:
dotString += '' + _.options.customPaging.call(this, _, i) + '';
with the function's contents:
dotString += '' + (i + 1) + '';
fixes the issue, although that's not a solution, we are getting there.
I don't think I cant get console output, the tab crashes but I'll try...

it is very strange.
the actual problem was not the function but the
once removed:
dotString += '' + _.options.customPaging.call(this, _, i) + '';

it works properly.

yeap, cannot get any console output. tab crashes and remove debugging gets disconnected.
just tried
dotString += '' + _.options.customPaging.call(this, _, i) + '';

and it works
however:
dotString = '
';

            for (i = 0; i <= _.getDotCount(); i += 1) {
                dotString += '
' + _.options.customPaging.call(this, _, i) + '
';
            }

            dotString += '
';

this does not work

I start to believe that this is not the exact location of the problem, it probably has to do with another call such as the one https://github.com/kenwheeler/slick/blob/1.5.8/slick/slick.js#L743

closer now,
https://github.com/kenwheeler/slick/blob/1.5.8/slick/slick.js#L2534
if we remove or comment out the
.attr('aria-hidden', 'false');

it works

Aria-hidden is crashing it?

not directly, if I set a debug there and wait a few seconds, it works.
something that is affected IF run immediately does the crash...

It appears as if it runs out of memory or something, its behavior is somewhat erratic.
Without making any changes, everything works up to line
https://github.com/kenwheeler/slick/blob/1.5.8/slick/slick.js#L2575
the code $(this).attr({ is executed twice.
on the first executing we are good, however on the second, the app crashes right there.
What's worse is that if we add right between line L2574 - L2575 a breakpoint (debugger;) and "resume script execution" twice (one for each), even doing it very fast, it works.
But, if we replace the breakpoint/debugger with lets say, an alert. it does not work. it crashes on the second execution.
Any ideas @kenwheeler ?

How many slides do you have? What do your settings options look like?

two sliders, nothing fancy. some divs with text.
        autoplay: false,
        autoplaySpeed: 5000,
        arrows: false,
        dots: true,
        fade: false,
        pauseOnHover: false

can you throw console.log(i) inside of that each and let me know the results

0
1
without crash and
0
with crash...

@kenwheeler - Didn't know if a solution to this was still in the works. I would love to help troubleshoot if I can. Thanks!

just tested https://github.com/kenwheeler/slick/
on Chrome 44.0.2403.128
OS: Android 5.0.0
Device: LG-D855 (LG G3)
and no crashes so far. will also test my demo and report the results with firefox as well.
@naoyawada are you still having crashes? you could try closing all apps, restarting Android and share your results...

@antokara Just checked it out on my devices:
having issues on:
Chrome: 43.0.2357.93
OS: Android 5.1.1
Device: Nexus 5
Works on:
Chrome: 44.0.2403.133
OS: Android 5.1.1
Device: Sony Xperia Z3 Compact
Works on:
Chrome: 44.0.2403.133
OS: Android 5.1.1
Device: Nexus 5
Maybe it was just a bug in Chrome? Nonetheless, upgrading Chrome seems to resolve the issue.
Thanks!
Naoya

also tested my demo on latest chrome/firefox and android. no problems any more.
I believe this issue can be considered resolved and was probably a peculiar browser bug...

I am having a similar issue, still. I've isolated it down to "dots." (I can't begin to know how to isolate the issue beyond what's been written here already.)


please bump

Please bump to 1.4.2 . I tried locally by 1.4.1->1.4.2 in the docker file and it loaded fine.

To increment yourself is a little painful.:
Download the entire repository code
Copy the crowdsec folder to \homeassistant\addons\crowdsec
remove this line in config.yaml: image: "ghcr.io/crowdsecurity/{arch}-addon-crowdsec"
change the version number in config.yaml: version: "1.4.2-ha1"
in Dockerfile change all lines that start with
COPY --from=crowdsecurity/crowdsec:v1.4.1-debian
and replace the 1.4.1 with 1.4.2
Go to Addon Store. refresh it with 3-dot menu. wait a bit. Force reload your webbrowser (shift reload). Then the new one should show up. install it,
It was really a proof of concept; it would be easier if they upload the docker image

Thanks @jdeath - that is pretty much how I have been testing this also. Anyway got some help on Discord and they told me, if this PR (#26) is merged, the CI flow will automatically create a new image. So that seems like the way to go.
(ref.: https://discord.com/channels/921520481163673640/1049965477100793928)

Cool. I forget doing a PR is probably the quickest. The local version has been working fine for me, so just forgot about it. thanks for doing that

+1 on bumping. Crowdsec is on 1.4.3 and the add-on is still on 1.4.1.
I am worried that at some point this will stop working if it gets too far behind.

Hi,
fixed here.


Inconsistent naming of pois / locations

Describe the Bug

We have a model called POI, which is sometimes referred to using poi and sometimes referred to using location (For example, the event model stores location, but region uses pois).
This can be confusing and is inconsistent. Instead, we should decide for one name and stick to it.
As far as I know, in the codebase we mostly use poi, while we mostly use location in the ui. However, there are exceptions for both.

We decided to just you "location" and not use the word "poi" anymore in our codebase.


"n fewer lines" or "n more lines" sometimes not displayed

Hi
Thanks for Vim!
Setup info:
I'm using MacVim https://github.com/macvim-dev/macvim/releases .
Version:
$ gvim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 30 2017 15:38:21)
The issue:
Sometimes, "n fewer lines"/"1 line less" or "n more lines"/"1 more line" is not displayed.
For example:
Open a new buffer (eg a new MacVim window).
Do "i" "foo"
Add three lines:
"3" "o" "foo"
In the status line there's no message "3 more lines" - is that an issue? Or should the status reports happen only after undo/redo?
Undo.
In the status line there's "3 fewer lines" - good.
Redo.
In the status line there's "3 more lines" - good.
Do "2dd"
In the status line there's no message  "2 fewer lines" - issue?
In the status line there still is "3 more lines - that's an issue IMHO.
Do "G" "5000" "o" "foo"
Do "G" "."
Do "G" "."
Undo.
In the status line there's no "5000 fewer lines" - that's a big issue. I need to be able to trust the status line regarding what happened regarding more lines, fewer lines, and changed lines.
I hope this can get fixed.

I think this is the same as the following todo item:

Undo message is not always properly displayed.  Patch by Ken Takata, 2013 oct
3.  Doesn't work properly according to Yukihiro Nakadaira.

See also: https://groups.google.com/d/topic/vim_dev/AJU_c4fstWc/discussion
I sent two patches, but the first one was rejected because it might cause performance problem, and the second one has another problem. I don't know how to fix this.

@k-takata Thanks for trying to fix this!
I'm sure @brammool will be able to fix the bug while satisfying the relevant criteria incl. performance.


Animate projects posts

Requirements

[ ] Add the status of project with this animation, dont add the social media icons as given in the link
[ ] Provide a video to show all the animations added of projects in projects.html
Note: Animations can be added as per the assignee's choice

I'll do it

I'll do it

Go for it. I am able to see the background image when I merged your previous PR. Do check that too!

I'll do it

Go for it. I am able to see the background image when I merged your previous PR. Do check that too!

ok

Please close this issue

PR wasn't linked to this issue so it couldn't close automatically. Add Fixes #(issue number) next time in PR opened!


Bootstrap test suite for front-end app

Things that you will find in this pull request:

Small refactor of the front-end app: I moved the routes definitions out of the server.js file into their own modules to make adding tests more easy. Tests are WIP
Setup the test suite for unit, functional and end-to-end tests: Chai, Mocha, Phantomjs, Casperjs, Makefile with tasks for running the tests, preparing containers, etc.
Added some basic unit tests for the API
Added some basic e2e tests for testing the following flows: home page, login, cart interaction, checkout.

Read the README file for instructions on how to run the tests.

Can you squash the commits?

What node version should I be using?
Tried with v0.10.46
Get thrown the following exception:
[sashka@Sashka-MBP]$ make test
=============================================================================
Writing coverage object [/Users/sashka/Sites/microservices-demo/sockshop/front-end/coverage/coverage.json]
Writing coverage reports at [/Users/sashka/Sites/microservices-demo/sockshop/front-end/coverage]
=============================================================================

=============================== Coverage summary ===============================
Statements   : 100% ( 2/2 )
Branches     : 100% ( 0/0 )
Functions    : 100% ( 1/1 )
Lines        : 100% ( 2/2 )
================================================================================

/Users/sashka/Sites/microservices-demo/sockshop/front-end/test/e2e/config.js:4
  casper.options.viewportSize = {
  ^
ReferenceError: casper is not defined
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/test/e2e/config.js:4:3
    at Object.<anonymous> (/Users/sashka/Sites/microservices-demo/sockshop/front-end/test/e2e/config.js:8:2)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Object.Module._extensions.(anonymous function) [as .js] (/Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/istanbul/lib/hook.js:109:37)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/test/e2e/cart_test.js:3:3
    at Object.<anonymous> (/Users/sashka/Sites/microservices-demo/sockshop/front-end/test/e2e/cart_test.js:44:2)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Object.Module._extensions.(anonymous function) [as .js] (/Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/istanbul/lib/hook.js:109:37)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/mocha/lib/mocha.js:220:27
    at Array.forEach (native)
    at Mocha.loadFiles (/Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/mocha/lib/mocha.js:217:14)
    at Mocha.run (/Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/mocha/lib/mocha.js:485:10)
    at Object.<anonymous> (/Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/mocha/bin/_mocha:403:18)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Object.Module._extensions.(anonymous function) [as .js] (/Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/istanbul/lib/hook.js:109:37)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at runFn (/Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/istanbul/lib/command/common/run-with-cover.js:122:16)
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/istanbul/lib/command/common/run-with-cover.js:251:17
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/istanbul/lib/util/file-matcher.js:68:16
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/async/lib/async.js:52:16
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/async/lib/async.js:361:13
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/async/lib/async.js:52:16
    at done (/Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/async/lib/async.js:246:17)
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/async/lib/async.js:44:16
    at /Users/sashka/Sites/microservices-demo/sockshop/front-end/node_modules/async/lib/async.js:358:17
    at LOOP (fs.js:1370:14)
    at process._tickCallback (node.js:458:13)
make: *** [test] Error 8```

@alex-glv The dependencies list is here: https://github.com/microservices-demo/microservices-demo/blob/77ec0ebabe433e7625b8d913d87bca6261b354de/sockshop/front-end/README.md#dependencies
Did you follow the instructions in the README file? you should at some point run the task make deps for all the nodejs modules to be installed. If you have and you still see this error, can you ls node_modules | grep casper and dump the output here?

@alex-glv thanks for helping me out with the debugging. I submitted the patch that fixes the test suite.
As we're the project into smaller repos, the squashing doesn't make much sense anymore.
Can I :shipit:?

Merging as discussed with @alex-glv on Slack.


[docs] Missing links for basics/configuration

Current behavior
Following links are redirect to 404 under documentation - 'Configuration file explained'.

catalog - 'GraphQL' section
core/store/lib/multistore.ts - 'Default store code' section
The same for core/store/lib/multistore.ts and core/store/lib/taxcalc.ts - 'Store views' sections
All links at 'Entities', 'Cart', 'Products' sections are incorrect.
And again 'Taxes' for core/store/lib/taxcalc.ts
Last section 'Query' for ' format of the query has been described' here link

Expected behavior
Some links are fixable, but I'm not sure if all of them.
Steps to reproduce the issue
Click links at documentation
Repository
@vue-storefront/docs
Can you handle fixing this bug by yourself?
YES
Environment details

Browser: Google Chrome Version 71.0.3578.98 (Official Build) (64-bit)
OS: Mint 18.2 sonya

Additional information
I can fix most of them, but i'm not sure about 'core/store/lib/taxcalc.ts', Did you mean tax.ts.
And last question: src/extensions under 'Mailchimp section' - should it be src/extensions ?

Cool! Please go on with the fixes.
Answers:

Yes, tax.ts
Yes, however it would be great to eventually port these extensions to modules (from 1.6 extensions are deprecated)

And, at documentation what links should be replaced for:

'Please check the core/service-worker/order.js for reference' redirects to core/service-worker/order.js - Orders section
GraphQL section - catalog
Queries section - here

Moreover, maybe not this issue related, but PULL_REQUEST_TEMPLATE under 'Contribution and currently important rules acceptance' has incorrect links.
I suggest following links:

contribution rules
TypeScript Action Plan (404 old one)
Vue Storefront Modules (404 old one)

- [ ] I read and followed [contribution rules](https://docs.vuestorefront.io/guide/basics/contributing.html)
- [ ] I read the [TypeScript Action Plan](https://docs.vuestorefront.io/guide/basics/typescript.html) and adjusted my PR according to it
- [ ] I read about [Vue Storefront Modules](https://docs.vuestorefront.io/guide/modules/introduction.html) and I am aware that every new feature should be a module


Automatically choose graphing resolution based on number of timeseries

Implement the ability in the Prometheus server to automatically limit the total number of data points returned for a range query by autoscaling the number of data points per timeseries based on how many timeseries are involved in total.

I don't think this is likely to happen, and it would likely cause confusion by trying to 2nd guess the user. If a query is too expensive to run, we should hard-fail.


Autoclosure blocks cannot be passed as an argument to other function …

…in Swift 5
Fixes #100

Thanks for this! It's merged now. I'll try to get a bug fix release out for this ASAP


One Pager - Metadata Extraction from Terraform Registry for Terrajet-based providers

What problem are you facing?

While working on #48, we have seen utility in extracting metadata from the Terraform Registry for tasks such as:

Example manifest generation
Resource doc generation
API group naming
...

We have discussed that a one-pager in Crossplane discussing use-cases of such metadata extracted from Terraform Registry would be appropriate.

Here's a proposal for metadata scraping:
https://github.com/crossplane/crossplane/pull/2956


Add SECURITY-INSIGHTS.yml

add SECURITY-INSIGHTS.yml which is required by clo monitor

HOW TO RUN CI
---
By default, all the checks will be run automatically. Furthermore, when changing website-related stuff, the preview will be generated by the netlify bot.
Heavy tests
Add the heavy-tests label on this PR if you want full-blown tests that include more than 2-cluster scenarios.
Debug tests
If the test suite is failing for you, you may want to try triggering Re-run all jobs (top right) with debug logging enabled. It will also make the print debug action more verbose.

@jkremser very nice, thanks man


Property view becomes unclear when scrolling

Description:

OS, DB, other environment details and versions:    Windows
Steps to reproduce:

Create a File Inbound Endpoint.
Select the property view and scroll.

Fixed in the latest 7.2.0 release

Fixed in the latest 7.2.0 release


Hyper-V Only Support

There is no mention in this article that Hyper-V is the supported virtualization configuration and really should be since this article is on System Requirements. This fact is indeed mentioned in the following article: https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/deployment/setup-deploy-on-premises-pu12#infrastructure

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

ID: 48d2efea-f165-1f9b-ffdc-85c91f1f6c9a
Version Independent ID: 950f0392-7d17-3188-ecd9-52b61bb61b32
Content: System requirements for on-premises deployments - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/fin-and-ops/get-started/system-requirements-on-prem.md
Service: dynamics-ax-platform
GitHub Login: @kfend
Microsoft Alias: kfend

The latest version of Finance and Operations (on-premises) has included the Retail components, please update the system requirement

@cdz1126, thanks for making us aware of that issue.
@AamirAllaq or @jashanno, can you please update this topic to add the Retail system requirements.