subscribe does not exist on type 'Promise'

Your Environment

Plugin version:cordova-plugin-mauron85-background-geolocation 3.0.0-alpha.50
Platform:  Android 8.0
Device manufacturer and model:Samsung Galaxy S7

Running in Simulator: x
Cordova version (cordova -v): 8.1.2<EMAIL_ADDRESS>Cordova platform version (cordova platform<EMAIL_ADDRESS><EMAIL_ADDRESS>Plugin configuration options:

config: BackgroundGeolocationConfig = {
desiredAccuracy: 10,
stationaryRadius: 20,
distanceFilter: 30,
debug: false, //  habilitar los sonidos y los toast del rastreo
stopOnTerminate: false, // forzar el cierre del backgroungeolocation
/* para android */
startOnBoot: true,  //para que empiece el tracking cuando prende el celular

/* para ios */
activityType: "Fitness",
pauseLocationUpdates: false

};
this.backgroundGeolocation.configure(this.config)
.subscribe((location: BackgroundGeolocationResponse) => {
console.log("debug del location " + location);
    this.latitud = location.latitude;
    this.longitud = location.longitude;

    this.insertcoordenada(this.insertid, this.latitud, this.longitud, this.time, this.fecha);

    // IMPORTANT:  You must execute the finish method here to inform the native plugin that you're finished,
    // and the background-task may be completed.  You must do this regardless if your HTTP request is successful or not.
    // IF YOU DON'T, ios will CRASH YOUR APP for spending too much time in the background.
    this.backgroundGeolocation.finish(); // FOR IOS ONLY
  }, error => console.log(error));

  // start recording location
  this.backgroundGeolocation.start();

}
Context

good, working with the plugin in ionic that I have been a series of conflicts, the first was that I always marked this error with new versions of the plugin "Property 'subscribe' does not exist on type 'Promise'.", investigating I managed to find a stable version that did not mark me that error, the version is: "2.3.6", pero con esa version se tiene un detalle que es el startonboot que se detiene al reiniciar el celular, otra vez investigando encontre que actualizando en el alpha ya estaba solucionado ese detalle.
but since I am new in this the new configuration I do not know where to fit it and the configuration that already had me marks the following error:
typescript: .../Manuel Cabrera/Desktop/MyLoyaltyMX2_0_Mobile/src/providers/tracking/tracking.ts, line: 95
Property 'subscribe' does not exist on type 'Promise'.
  L94:  this.backgroundGeolocation.configure(this.config)
  L95:    .subscribe((location: BackgroundGeolocationResponse) => {
  L96:      console.log("debug del location " + location);

Error: Failed to transpile program
[DEBUG] Error: Failed to transpile program
at new BuildError (C:\Users\Manuel
Cabrera\Desktop\MyLoyaltyMX2_0_Mobile\node_modules@ionic\app-scripts\dist\util\errors.js:16:28)
at C:\Users\Manuel
Cabrera\Desktop\MyLoyaltyMX2_0_Mobile\node_modules@ionic\app-scripts\dist\transpile.js:159:20
at new Promise ()
at transpileWorker (C:\Users\Manuel
Cabrera\Desktop\MyLoyaltyMX2_0_Mobile\node_modules@ionic\app-scripts\dist\transpile.js:107:12)
at Object.transpile (C:\Users\Manuel
Cabrera\Desktop\MyLoyaltyMX2_0_Mobile\node_modules@ionic\app-scripts\dist\transpile.js:64:12)
at C:\Users\Manuel
Cabrera\Desktop\MyLoyaltyMX2_0_Mobile\node_modules@ionic\app-scripts\dist\build.js:109:82
at "< anonymous >"
If someone could help me, I would thank you for it, using the then and nothing happens

I'm sorry man, but this is hard to read, you're switching languages mid-sentence.
You literally just need to copy & paste the code from ionic-native. Your error is that you subscribe to the return value of .configure which returns a promise. It's not meant to be subscribed to. You subscribe to e.g. this.backgroundGeolocation.on('location').subscribe(location => console.log(location));
this.backgroundGeolocation.configure(config)
  .then(() => {

    this.backgroundGeolocation.on('location').subscribe((location: BackgroundGeolocationResponse) => {
      console.log(location);

      // IMPORTANT:  You must execute the finish method here to inform the native plugin that you're finished,
      // and the background-task may be completed.  You must do this regardless if your operations are successful or not.


fix cloudflare dev attempting to run aws lambda

Cloudflare dev did not previously check the warp.Runtime for file events. So it would try to run aws lambda's and crash.
Here I've just added the same check as can be seen above for the completeEvents and my crashing is gone

you're crushing it with these PRs ty


[CWS] fix IsThread & IsExecExec

What does this PR do?
This PR fixes the IsThread field value. This Field was always set to true for entry inserted from procfs. This PR refactor a bit the code to make this Field an Handler making use of the newly introduced IsExec field. The IsExec field is a dedicated function making the code more readable.
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Remove unsued function

bitcoinrpc is used instead

[Current coverage][cc-pull] is 94.95%

Merging [#55][cc-pull] into [master][cc-base-branch] will increase coverage by 0.57%

@@             master        #55   diff @@
==========================================
  Files             7          7
  Lines           320        317     -3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            302        301     -1
+ Misses           18         16     -2
  Partials          0          0

Powered by Codecov. Last updated by [abeaf71...74b02f1][cc-compare]
[cc-base-branch]: https://codecov.io/gh/ascribe/transactions/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/ascribe/transactions/compare/abeaf71e83ec443f1e4e6a03ab2a6aec2acb5a20...74b02f18eeba412961feeda0afdfa4012297cb7f
[cc-pull]: https://codecov.io/gh/ascribe/transactions/pull/55?src=pr


Protect against CSRF exploits

#5 was an exploration in that direction.

Enabled CSRF in Jenkins master: cf367d8c4b3e677144dc9973b628b66a2d1dd73d
ros_buildfarm now supports passing the crumb to all post requests: https://github.com/ros-infrastructure/ros_buildfarm/commit/2b80e986fcce1bec6f4cb9f7b4fdad0b42d30537


[entropy_src/rtl] Shift repcnt HT sampling pulse

In the repcnt_ht and repcnts_ht modules, this commit adjusts the timing
of the test_fail_pulse_o pulses to put them as close as possible to the
failing samples.  Previous to this commit the failure pulses would
be lined up with the sample after the failing sample.  This extra
delay could allow a window to pass with a failing REPCNT test.
It also creates several scoreboarding challenges in predicting
failing REPCNT outputs and statistics.
Signed-off-by: Martin Lueker-Boden<EMAIL_ADDRESS>

This PR supercedes #14083


[llvm] add features enable-{eh,ffi,bindings,terminfo,threads}

Adds missing features to LLVM

Related to #16232

They do not overlap through.

Yay, all the tests passed, this looks good to me.

@yurybura Thank you very much for the review :+1:

It seems that the osgearth failure is unrelated right?

Yes, this is a CI issue, we are working on it.


Control the broadcast channel lifecycle in a separate goroutine

Refs #3419
During the tests of the code orchestrating tECDSA signing in #3404, we realized some buffers get full and the broadcast channel keeps writing to them even though the receiver is no longer alive. This was fixed in #3418 by introducing an additional context in the asynchronous state machine that unregisters the handler if the state machine (receiver) exits sooner than the context. This has fixed the problem on the receiver side but we still need to fix the problem on the producer side. And this is what this PR is doing.
A separate goroutine controls the lifecycle of the handler. The message handler is removed from the channel if the context is done. This logic is placed in a separate goroutine because the call to handleWithRetransmission is blocking and we do not want to wait with removing the handler if that call blocks for a longer period of time, especially, when the underlying buffered channel is full.

I was testing this change along with the one from #3423 locally, using the same configuration as for the tests of #3404 where the problems were noticed. I've observed no single "message handler is too slow" warning. 7x10 signatures were produced in the first attempt.


Adding new users has the wrong I18n text

All three of Students, Graders, and Admins say "Add New File".

Working on this

@david-yz-liu, should it say "Add New Student" for Students, or "Ass New Grader" for Graders, or just "Add New" like in the French version? Thanks.


directus apply template doesn't work

On local works, but now that I have the postgres db on railway, not only is really slow the loading off collections, but eventually will not complete successfully. Tables are correctly created, but seems there is no content inside.
End with this error:
Applying template - AgencyOS to http://<IP_ADDRESS>:8055
Loading 76 collections and 700 fields.... !
TypeError: Cannot read properties of undefined (reading 'status')

Are you trying to load into a local instance? Or one hosted on Railway?
Because you mentioned Railway but the error you included shows you are loading into http://<IP_ADDRESS>:8055.
What does your config look like?

yes it is a local the instance. General speaking I am having troubles deploying the instance, if I use the template works but in this way I have no control over the env. So my strategy is to bootstrap over a deployed db and then deploy my docker file of directus. Without the env file auth doesn't work, I suppose because of CORS false, but is a different issue.
####################################################################################################

These values set environment variables which modify core settings of Directus.

Values in square brackets are the default values.

The following options are not all possible options. For more, see
https://docs.directus.io/self-hosted/config-options/

####################################################################################################
####################################################################################################
General
IP or host the API listens on ["<IP_ADDRESS>"]
HOST="<IP_ADDRESS>"
The port Directus will run on [8055]
PORT=8055
The URL where your API can be reached on the web. It is also used for things like OAuth redirects,
forgot-password emails, and logos that needs to be publicly available on the internet. ["/"]
PUBLIC_URL="/"
PUBLIC_URL="http://localhost:8055"
<EMAIL_ADDRESS>ADMIN_PASSWORD='password'
What level of detail to log. [info]
"fatal", "error", "warn", "info", "debug", "trace", "silent"
LOG_LEVEL="info"
Render the logs human readable (pretty) or as JSON (raw), [pretty]
"pretty", "raw"
LOG_STYLE="pretty"
Controls the maximum request body size. Accepts number of bytes, or human readable string ["1mb"]
MAX_PAYLOAD_SIZE="1mb"
Where to redirect to when navigating to /. Accepts a relative path, absolute URL, or false to disable ["./admin"]
ROOT_REDIRECT="./admin"
Whether or not to serve the Admin App under /admin. [true]
SERVE_APP=true
Whether or not to enable GraphQL Introspection [true]
GRAPHQL_INTROSPECTION=true
Limit the maximum amount of items that can get requested in one query.
QUERY_LIMIT_DEFAULT=100
QUERY_LIMIT_MAX=Infinity
The maximum number of items for batch mutations when creating, updating and deleting. ["Infinity"]
MAX_BATCH_MUTATION="Infinity"
Shared Redis server for things like caching, rate limiting, container synchronization, etc
REDIS="redis://@<IP_ADDRESS>:6379"
####################################################################################################
Database
All DB_* environment variables are passed to the connection configuration of a Knex instance.
Based on your project's needs, you can extend the DB_* environment variables with any config
you need to pass to the database instance.
#DB_CLIENT="sqlite3"
#DB_FILENAME="./database/data.db"
These match the databases defined in the docker-compose file in the root of this repo
Postgres
DB_CLIENT="postgres"
DB_HOST=".."
DB_PORT=15880
DB_DATABASE="railway"
DB_USER="postgres"
DB_PASSWORD=".."
CockroachDB
DB_CLIENT="cockroachdb"
DB_HOST="localhost"
DB_PORT=26257
DB_DATABASE="directus"
DB_USER="root"
DB_PASSWORD=""
MySQL 8
DB_CLIENT="mysql"
DB_HOST="localhost"
DB_PORT=3306
DB_DATABASE="directus"
DB_USER="root"
DB_PASSWORD="secret"
MariaDB
DB_CLIENT="mysql"
DB_HOST="localhost"
DB_PORT=3306
DB_DATABASE="directus"
DB_USER="root"
DB_PASSWORD="secret"
MS SQL
DB_CLIENT="mssql"
DB_HOST="localhost"
DB_PORT=1343
DB_DATABASE="directus"
DB_USER="sa"
DB_PASSWORD="Test@123"
OracleDB
DB_CLIENT="oracledb"
DB_CONNECT_STRING="localhost:1521/XE"
DB_USER="secretsysuser"
DB_PASSWORD="secretpassword"
SQLite Example
DB_CLIENT="sqlite3"
DB_FILENAME="./data.db"
MySQL 5.7
DB_CLIENT="mysql"
DB_HOST="localhost"
DB_PORT=3306
DB_DATABASE="directus"
DB_USER="root"
DB_PASSWORD="secret"
####################################################################################################
Rate Limiting
Whether or not to enable rate limiting on the API [false]
RATE_LIMITER_ENABLED=false
Where to store the rate limiter counts [memory]
memory, redis
RATE_LIMITER_STORE=memory
The amount of allowed hits per duration [50]
RATE_LIMITER_POINTS=25
The time window in seconds in which the hits are counted [1]
RATE_LIMITER_DURATION=1
####################################################################################################
Caching
Whether or not caching is enabled. [false]
CACHE_ENABLED=false
How long the cache is persisted ["5m"]
CACHE_TTL="30m"
How to scope the cache data ["system-cache"]
CACHE_NAMESPACE="system-cache"
Automatically purge the cache on create, update, and delete actions. [false]
CACHE_AUTO_PURGE=true
List of collections that prevent cache purging when CACHE_AUTO_PURGE is enabled. ["directus_activity,directus_presets"]
CACHE_AUTO_PURGE_IGNORE_LIST="directus_activity,directus_presets"
memory | redis
CACHE_STORE=memory
How long assets will be cached for in the browser. Sets the max-age value of the Cache-Control header ["30d"]
ASSETS_CACHE_TTL="30d"
####################################################################################################
File Storage
A CSV of storage locations (eg: local,digitalocean,amazon) to use. You can use any names you'd like for these keys ["local"]
STORAGE_LOCATIONS="local"
STORAGE_LOCAL_DRIVER="local"
STORAGE_LOCAL_ROOT="./uploads"
S3 Example (location name: DigitalOcean)
STORAGE_DIGITALOCEAN_DRIVER="s3"
STORAGE_DIGITALOCEAN_KEY="abcdef"
STORAGE_DIGITALOCEAN_SECRET="ghijkl"
STORAGE_DIGITALOCEAN_ENDPOINT="https://ams3.digitaloceanspaces.com"
STORAGE_DIGITALOCEAN_BUCKET="my-files"
STORAGE_DIGITALOCEAN_REGION="ams3"
Google Cloud Storage Example (location name: Google)
STORAGE_GOOGLE_DRIVER="gcs"
STORAGE_GOOGLE_KEY_FILENAME="abcdef"
STORAGE_GOOGLE_BUCKET="my-files"
A comma-separated list of metadata keys to collect during file upload. Use * for all
Extracting all metadata might cause memory issues when the file has an unusually large set of metadata
[ifd0.Make,ifd0.Model,exif.FNumber,exif.ExposureTime,exif.FocalLength,exif.ISOSpeedRatings]
FILE_METADATA_ALLOW_LIST=
####################################################################################################
Security
KEY="c23be181-3e13-4a67-90e2-829eded8768e"
SECRET="IGx2kFwqSWTgiohYCenyIcZyKYFjBXtv"
Unique identifier for the project
KEY="xxxxxxx-xxxxxx-xxxxxxxx-xxxxxxxxxx"
Secret string for the project
SECRET="abcdef"
The duration that the access token is valid ["15m"]
ACCESS_TOKEN_TTL="15m"
The duration that the refresh token is valid. This value should be higher than ACCESS_TOKEN_TTL resp. SESSION_COOKIE_TTL. ["7d"]
REFRESH_TOKEN_TTL="7d"
Whether or not to set the secure attribute for the refresh token cookie [false]
REFRESH_TOKEN_COOKIE_SECURE=false
Value for sameSite in the refresh token cookie ["lax"]
REFRESH_TOKEN_COOKIE_SAME_SITE="lax"
Name of the refresh token cookie ["directus_refresh_token"]
REFRESH_TOKEN_COOKIE_NAME="directus_refresh_token"
Which domain to use for the refresh cookie. Useful for development mode.
REFRESH_TOKEN_COOKIE_DOMAIN
The duration that the session cookie/token is valid, and also how long users stay logged-in to the App ["1d"]
SESSION_COOKIE_TTL="1d"
Whether or not to set the secure attribute for the session cookie [false]
SESSION_COOKIE_SECURE=false
Value of sameSite for the session cookie ["lax"]
SESSION_COOKIE_SAME_SITE="lax"
Name of the session cookie ["directus_refresh_token"]
SESSION_COOKIE_NAME="directus_session_token"
Which domain to use for the session cookie. Useful for development mode.
SESSION_COOKIE_DOMAIN
The duration in milliseconds that a login request will be stalled for,
and it should be greater than the time taken for a login request with an invalid password [500]
LOGIN_STALL_TIME=500
Whether or not to enable the CORS headers [false]
CORS_ENABLED=true
Value for the Access-Control-Allow-Origin header. Use true to match the Origin header, or provide a domain or a CSV of domains for specific access [false]
CORS_ORIGIN=true
Value for the Access-Control-Allow-Methods header [GET,POST,PATCH,DELETE]
CORS_METHODS=GET,POST,PATCH,DELETE
Value for the Access-Control-Allow-Headers header [Content-Type,Authorization]
CORS_ALLOWED_HEADERS=Content-Type,Authorization
Value for the Access-Control-Expose-Headers header [Content-Range]
CORS_EXPOSED_HEADERS=Content-Range
Whether or not to send the Access-Control-Allow-Credentials header [true]
CORS_CREDENTIALS=true
Value for the Access-Control-Max-Age header [18000]
CORS_MAX_AGE=18000
####################################################################################################
Argon2
How much memory to use when generating hashes, in KiB [4096]
HASH_MEMORY_COST=81920
The length of the hash function output in bytes [32]
HASH_HASH_LENGTH=32
The amount of passes (iterations) used by the hash function. It increases hash strength at the cost of time required to compute [3]
HASH_TIME_COST=10
The amount of threads to compute the hash on. Each thread has a memory pool with HASH_MEMORY_COST size [1]
HASH_PARALLELISM=2
The variant of the hash function (0: argon2d, 1: argon2i, or 2: argon2id) [2]
HASH_TYPE=2
An extra and optional non-secret value. The value will be included B64 encoded in the parameters portion of the digest []
HASH_ASSOCIATED_DATA=foo
####################################################################################################
Auth Providers
A comma-separated list of auth providers []
AUTH_PROVIDERS=""
AUTH_PROVIDERS="github"
AUTH_GITHUB_DRIVER="oauth2"
AUTH_GITHUB_CLIENT_ID="73e...4b"
AUTH_GITHUB_CLIENT_SECRET="b9...98"
AUTH_GITHUB_AUTHORIZE_URL="https://github.com/login/oauth/authorize"
AUTH_GITHUB_ACCESS_URL="https://github.com/login/oauth/access_token"
AUTH_GITHUB_PROFILE_URL="https://api.github.com/user"
AUTH_GITHUB_ALLOW_PUBLIC_REGISTRATION=true
AUTH_GITHUB_DEFAULT_ROLE_ID="82424427-c9d4-4289-8bc5-ed1bf8422c90"
AUTH_GITHUB_ICON="github"
AUTH_GITHUB_LABEL="GitHub"
AUTH_GITHUB_EMAIL_KEY="email"
AUTH_GITHUB_IDENTIFIER_KEY="login"
####################################################################################################
Extensions
Path to your local extensions folder ["./extensions"]
EXTENSIONS_PATH="./extensions"
Automatically reload extensions when they have changed [false]
EXTENSIONS_AUTO_RELOAD=false
####################################################################################################
Email
Email address from which emails are sent<EMAIL_ADDRESS><EMAIL_ADDRESS>What to use to send emails. One of
sendmail, smtp, mailgun, sendgrid, ses.
EMAIL_TRANSPORT="sendmail"
EMAIL_SENDMAIL_NEW_LINE="unix"
EMAIL_SENDMAIL_PATH="/usr/sbin/sendmail"
Email (Sendmail Transport)
What new line style to use in sendmail ["unix"]
EMAIL_SENDMAIL_NEW_LINE="unix"
Path to your sendmail executable ["/usr/sbin/sendmail"]
EMAIL_SENDMAIL_PATH="/usr/sbin/sendmail"
Email (SMTP Transport)
EMAIL_SMTP_HOST="localhost"
Use SMTP pooling
EMAIL_SMTP_POOL=true
EMAIL_SMTP_PORT=465
EMAIL_SMTP_SECURE=false # Use TLS
EMAIL_SMTP_IGNORE_TLS=false
EMAIL_SMTP_USER="username"
EMAIL_SMTP_PASSWORD="password"
Email (Mailgun Transport)
EMAIL_MAILGUN_API_KEY="key-1234123412341234"
EMAIL_MAILGUN_DOMAIN="a domain name from https://app.mailgun.com/app/sending/domains"
Email (SendGrid Transport)
EMAIL_SENDGRID_API_KEY="key-1234123412341234"

update, even with directus and postgres deployed still same error:
Loading 49 files... !
TypeError: Cannot read properties of undefined (reading
'status')


[Mobile Wallet] "Account Options" page needs label rename

Description:
In Mobile Wallet, Account Options page, the following corrections are needed.

"List Contacts" need to be renamed to "Contacts".
"Log Out" need to be renamed to "Logout/ Change Wallet".

Verified with the latest build, hence closing this ticket.


Model::is() gives false positive when models don't exist

Laravel Version: 5.8
PHP Version: 7.3
Database Driver & Version: MySQL 5.7

Description:
The Model::is($other) method is used to check if two model objects refer to the same database record. This works fine when both models exist and have been assigned primary keys. But if neither model has been persisted, it will always return true since null === null.
Steps To Reproduce:
$modelA = new Foo();
$modelB = new Foo();
var_dump($modelA->is($modelB));
// returns true but should return false

Proposed Fix:
Without primary keys to reference, there is no foolproof way to determine if the two model objects are really the same. However, we could make the test more accurate in this scenario by testing for identity with a === check in cases when the models don't exist.
    /**
     * Determine if two models have the same ID and belong to the same table.
     *
     * @param  \Illuminate\Database\Eloquent\Model|null  $model
     * @return bool
     */
    public function is($model)
    {
        return $this->exists ?
               $this === $model :
               ! is_null($model) &&
               $this->getKey() === $model->getKey() &&
               $this->getTable() === $model->getTable() &&
               $this->getConnectionName() === $model->getConnectionName();
    }

"belong to the same table" does it include their existence or just they are both related to the same table?

@akiyamaSM I'm not sure I understand your question. In both the existing and proposed versions of the method, the test includes checking for table/class, if that's what you mean.

It was a question about the description of the method, what they mean by "they blong to the same table".
do they mean there is a record already? or just that they are under the same of table. Hope I didn't make it worse.

is() doesn't provide an answer to "does either model exist in the database", just that the model 'belongs' to the same table and has the same id(even if null). With Eloquent, all models belong to a table that is either specified on the model class or inferred from the name of the class.
$user = new User;
$user2 = new User;
$user->is($user2); //true

$user = new User;
$post = new Post;
$user->is($post); //false

You can use the exists property to check if the model is actually in the database.
$user = new User;
$user->exists; //false

$user = User::find(1);
$user->exists; //true (if indeed the 'find' call was successful.

Yeah, I understand that. But is() should be testing to see if the two objects refer to the same record, which may or may not be the case, regardless of whether they've been persisted yet.

@adamthehutt I guess that's the key, if they are not yet persisted or at least one of them we can't compare, can we?

Right, but at the very minimum it shouldn't be returning true automatically in that situation. I think testing for identity with === makes sense as a fallback.

FWIW, the real solution to this problem is to implement an Identity Map for Eloquent, which would be amazingly useful.

Since the PR was rejected I'm going to close this. As suggested, please do the check in userland.


Add test for clasp create

This keeps coverage about the same, but checks another one off the list
Signed-off-by: campionfellin<EMAIL_ADDRESS>Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for discussion)

[x] npm run test succeeds.

-------------|----------|----------|----------|----------|-------------------|
File         |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
-------------|----------|----------|----------|----------|-------------------|
All files    |    48.31 |    34.26 |    48.57 |    49.54 |                   |
 clasp       |    43.97 |    34.26 |    44.04 |    44.86 |                   |
  index.js   |    43.97 |    34.26 |    44.04 |    44.86 |... 1286,1295,1299 |
 clasp/tests |      100 |      100 |      100 |      100 |                   |
  test.js    |      100 |      100 |      100 |      100 |                   |
-------------|----------|----------|----------|----------|-------------------|

[x] Appropriate changes to README are included in PR.

Pull Request Test Coverage Report for Build 78

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.1%) to 10.459%

Files with Coverage Reduction
New Missed Lines
%

tests/test.js
6
50.91%

Totals

Change from base Build 77:
0.1%

Covered Lines:
91

Relevant Lines:
648

💛  - Coveralls

Pull Request Test Coverage Report for Build 78

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.1%) to 10.459%

Files with Coverage Reduction
New Missed Lines
%

tests/test.js
6
50.91%

Totals

Change from base Build 77:
0.1%

Covered Lines:
91

Relevant Lines:
648

💛  - Coveralls


Fix version in rpm repodata/primary.xml.gz

The version listed in rpm repodata should only contain the rpm version (1.0.0) and not the combination of version and release (1.0.0-2). We correct this behaviour in primary.xml.gz, filelists.xml.gz and others.xml.gz.

        --- FAIL: TestPackageRpm/Repository/repomd.xml (0.05s)
            testlogger.go:60: 2023/07/20 08:45:06 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/packages/user2/rpm/repodata/repomd.xml for test-mock:12345, 200 OK in 8.0ms @ rpm/rpm.go:61(rpm.GetRepositoryFile)
            api_packages_rpm_test.go:199:
                	Error Trace:	/home/runner/work/gitea/gitea/tests/integration/api_packages_rpm_test.go:199
                	Error:      	Not equal:
                	            	expected: int(1731)
                	            	actual  : int64(1729)
                	Test:       	TestPackageRpm/Repository/repomd.xml

        --- FAIL: TestPackageRpm/Repository/repomd.xml (0.05s)
            testlogger.go:60: 2023/07/20 08:45:06 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/packages/user2/rpm/repodata/repomd.xml for test-mock:12345, 200 OK in 8.0ms @ rpm/rpm.go:61(rpm.GetRepositoryFile)
            api_packages_rpm_test.go:199:
                	Error Trace:	/home/runner/work/gitea/gitea/tests/integration/api_packages_rpm_test.go:199
                	Error:      	Not equal:
                	            	expected: int(1731)
                	            	actual  : int64(1729)
                	Test:       	TestPackageRpm/Repository/repomd.xml

Sizes should match the new situation now. Obviously responses get smaller now.

Are you sure about that? I could not find an official spec for the format but the examples in https://en.opensuse.org/openSUSE:Standards_Rpm_Metadata don't look like the RPM version.

Are you sure about that? I could not find an official spec for the format but the examples in https://en.opensuse.org/openSUSE:Standards_Rpm_Metadata don't look like the RPM version.

I'm pretty sure, yes, otherwise a dnf update tries to update each package to a "new version" where the release number is appended twice.
In the linked example, the release number is 70, and it is clearly not included in the "ver" attribute, whereas gitea would include it there.


CMake changes from main branch [PR: #557, PR: #742]

Description
This PR updates the cmake changes added to the main branch to the dev/IPv6_integration branch and related fix for warnings and build errors.
PRs:

#557
#742

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue
Updating dev/IPv6_integration branch wrt. main.


No data saved when import is cancelled

Start importing a large file, then cancel it. It seems like the data is gone. Is this the desired behavior?
taxi-data $ curl  -s 'http://www.opendatacache.com/data.cityofnewyork.us/api/views/gkne-dk5s/rows.csv' | gunzip -c | dat import - -d taxis
Wrote [+76563, -0].
^C
taxi-data $ dat datasets
files
taxi-data $ dat status
Current version is b152aac88d4f74d15a85c01c4d99b023aec2d362e2315853d6711934c0353d1e (latest)
0 datasets, 0 keys, 1 file, 1 version, 224 B total
Last updated just now (Wed Sep 02 2015 10:59:18 GMT-0400 (EDT))
taxi-data $ dat forks
b152aac88d4f74d15a85c01c4d99b023aec2d362e2315853d6711934c0353d1e

This is happening because the entire write is an transaction, https://github.com/maxogden/dat-core/issues/17

The transaction can be disabled by making this configurable, https://github.com/maxogden/dat/blob/ce996eaf3a7e5be4eb39dc6533d786d1112553c5/lib/import.js#L36

Aren't there other programs where if you ^C, it'll ask you a question? (not kill -9) We could ask if the user wants to keep the data or not.
Or we could put it on a fork.
Or we need another abstraction like git 'commits' ... just ideas

How about ^C stops the program with a message: "Interrupted before import could complete. Remove partially imported data with 'dat clean' or complete import by re-running the previous import command".

The confusing thing here is that the data is saved to disk, dat just doesn't know about it because its in an inconsistent state. I think we can detect incomplete transactions (ones that never had an 'end' saved to disk) and be able to at least find + remove them efficiently with a dat clean, right @mafintosh?

Right. It'd be nice to be able to see that data and use it as a data sample, though. If its on a fork, at least, that'd be awesome. If I could then dat undo, that'd do the trick (dat clean would remove other data too, might not be ideal.)

Agree dat undo could fix it, though I wonder what happens when your dat crashes during import and you dont do dat undo and then do another import


3.1.0 Phaser.Physics.Arcade.Sprite Resizing Doesn't Work

Hi Everyone,
I am trying to move into Phaser 3.1.0, this is my very first step into Phaser 3. I initialized a scene using Arcade Physics, everything is working great but i can not resize Sprites.
    create: function(){         this.physics.world.setBounds(0, 0, 400, 400);         var star = this.physics.add.sprite(128, 128, 'star');         star.width = 20;         star.height = 20;         star.setGravity(40, 100);         star.setBounce(1).setCollideWorldBounds(true);     },
According to documentation width is defined as:

The native (un-scaled) width of this Game Object.

I think it is an issue about scaling game objecs.
Thanks every greate one in this great community!

Use .displayWidth and .displayHeight (or the function .setDisplaySize(w,h)) to resize, as these will also adjust the sprite scale.

Oh thank you that worked.
But now, image and body moves seperately, https://i.hizliresim.com/bBLPdb.png
Modified code to this, but it didn't work:
    create: function(){         this.physics.world.setBounds(0, 0, 400, 400);         var star = this.physics.add.sprite(128, 128, 'star');         star.displayWidth = 20;         star.displayHeight = 20;         star.x = star.body.position.x;         star.y = star.body.position.y;         star.setGravity(40, 100);         star.setBounce(1).setCollideWorldBounds(true);     },

Yeah it seems like the physics body doesn't correctly update after modifying the sprite scale.
Needs some checking on the calculations there.

I discovered that, we need to set display origin 0 before resizing:
create: function(){         this.physics.world.setBounds(0, 0, 400, 400);         var star = this.physics.add.sprite(128, 128, 'star');         star.displayOriginX = 0;         star.displayOriginY = 0;         star.displayWidth = 20;         star.displayHeight = 20;         star.x = 0;         star.y = 0;         star.setGravity(40, 100);         star.setBounce(1).setCollideWorldBounds(true);     },
I used to scale everything mathematically on my previous games, that will be hard to get used to for me.

The physics body align issue has been solved in PR #3300

Sweet, thanks @pixelpicosean


PANIC in query-engine/connectors/sql-query-connector/src/database/operations/write.rs:73:22Could not figure out an ID in create

Hi Prisma Team! My Prisma Client just crashed. This is the report:
Versions

Name
Version

Node
v12.21.0

OS
rhel-openssl-1.0.x

Prisma Client
2.30.3

Query Engine
query-engine b8c35d44de987a9691890b3ddf3e2e7effb9bf20

Database
undefined

Logs
aphQLToJSError (/app/node_modules/@prisma/client/runtime/index.js:30059:16)
    at BinaryEngine.request (/app/node_modules/@prisma/client/runtime/index.js:29944:24)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async cb (/app/node_modules/@prisma/client/runtime/index.js:36464:26)
prisma:client:fetcher Error: The column `famunera_db.planner_lists.balance` does not exist in the current database.
    at BinaryEngine.graphQLToJSError (/app/node_modules/@prisma/client/runtime/index.js:30059:16)
    at BinaryEngine.request (/app/node_modules/@prisma/client/runtime/index.js:29944:24)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async cb (/app/node_modules/@prisma/client/runtime/index.js:36464:26)
prisma:client:fetcher Error: The column `famunera_db.planner_lists.balance` does not exist in the current database.
    at BinaryEngine.graphQLToJSError (/app/node_modules/@prisma/client/runtime/index.js:30059:16)
    at BinaryEngine.request (/app/node_modules/@prisma/client/runtime/index.js:29944:24)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async cb (/app/node_modules/@prisma/client/runtime/index.js:36464:26)
prisma:client:fetcher Error: The column `famunera_db.planner_lists.balance` does not exist in the current database.
    at BinaryEngine.graphQLToJSError (/app/node_modules/@prisma/client/runtime/index.js:30059:16)
    at BinaryEngine.request (/app/node_modules/@prisma/client/runtime/index.js:29944:24)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async cb (/app/node_modules/@prisma/client/runtime/index.js:36464:26)
prisma:client:fetcher Error: The column `famunera_db.planner_lists.balance` does not exist in the current database.
    at BinaryEngine.graphQLToJSError (/app/node_modules/@prisma/client/runtime/index.js:30059:16)
    at BinaryEngine.request (/app/node_modules/@prisma/client/runtime/index.js:29944:24)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async cb (/app/node_modules/@prisma/client/runtime/index.js:36464:26)
prisma:engine stdout  PANIC in query-engine/connectors/sql-query-connector/src/database/operations/write.rs:73:22
Could not figure out an ID in create
prisma:engine {
  error: SocketError: other side closed
      at Socket.onSocketEnd (/app/node_modules/@prisma/client/runtime/index.js:27696:24)
      at Socket.emit (events.js:326:22)
      at Socket.EventEmitter.emit (domain.js:483:12)
      at endReadableNT (_stream_readable.js:1241:12)
      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
    code: 'UND_ERR_SOCKET'
  }
}
prisma:engine { cwd: '/app/prisma' }
prisma:engine Search for Query Engine in /app/node_modules/.prisma/client
plusX Execution permissions of /app/node_modules/.prisma/client/query-engine-rhel-openssl-1.0.x are fine
prisma:engine { flags: [ '--enable-raw-queries', '--port', '46243' ] }
prisma:engine stdout  Starting a mysql pool with 3 connections.
prisma:engine stdout  Started http server on http://<IP_ADDRESS>:46243
prisma:engine Search for Query Engine in /app/node_modules/.prisma/client
plusX Execution permissions of /app/node_modules/.prisma/client/query-engine-rhel-openssl-1.0.x are fine
prisma:engine Client Version: 2.30.3
prisma:engine Engine Version: query-engine b8c35d44de987a9691890b3ddf3e2e7effb9bf20
prisma:engine Active provider: mysql
prisma:engine stdout  PANIC in query-engine/connectors/sql-query-connector/src/database/operations/write.rs:73:22
Could not figure out an ID in create
prisma:engine {
  error: SocketError: other side closed
      at Socket.onSocketEnd (/app/node_modules/@prisma/client/runtime/index.js:27696:24)
      at Socket.emit (events.js:326:22)
      at Socket.EventEmitter.emit (domain.js:483:12)
      at endReadableNT (_stream_readable.js:1241:12)
      at processTicksAndRejections (internal/process/task_queues.js:84:21) {
    code: 'UND_ERR_SOCKET'
  }
}
prisma:engine {
  error: Error: connect ECONNREFUSED <IP_ADDRESS>:46243
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) {
    errno: 'ECONNREFUSED',
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '<IP_ADDRESS>',
    port: 46243
  }
}

Client Snippet
// PLEASE FILL YOUR CODE SNIPPET HERE

Schema
// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE

=

@Stallion67 could you include your schema and the code you did to create this error?

I am having an issue with my  ID

: "\nInvalid prisma.users.create() invocation:\n\n\n  PANIC in query-engine/connectors/sql-query-connector/src/database/operations/write.rs:73:22\nCould not figure out an ID in create\n\nThis is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.\

@Stallion67 Please share your Prisma schema and a way for us to replicate the issue you're having.

Schema
model users {
ID                    Int                  @id @default(autoincrement())
username              String
fullname              String?
email                 String?              @unique
phone                 String?              @unique
role                  String?
partnerId             Int?                  @default(10)
IsOutGrower           Int?                  @default(0)
IsAggregator          Int?                  @default(0)
aggregatorID          Int?                  @default(34571)
FarmAcreage           Int?                  @default(0)
password_old          String?
password              String?
id_no                 String?
services              String?
phone_activation_code String?
phone_status          users_phone_status?  @default(not_verified)
email_activation_code String?
email_status          users_email_status   @default(not_verified)
account_status        users_account_status @default(not_verified)
subscription_status   Int                  @default(1)
wallet_amount         String               @default("0")
password_reset_key    String?
online_status         Int?
last_seen             String?
search_rank           String?
old_email             String?
deleted               Int                  @default(0)
country               String               @default("Uganda")
gender                String               @default("male")
dob                   String?
pro_dealin            String?
size_scale            String?
looking_for           String?
cover_picture         String?
profile_picture       String?
other_contacts        String?
website               String?
user_documents        String?
address               String?
reg_time              String
order_meta            order_meta[]
referral_partner      referral_partner[]
outgrowerproduct      outgrowerproduct[]
}

@Stallion67 Please share your Prisma schema and a way for us to replicate the issue you're having.

Schema
model users {
ID Int @id @default(autoincrement())
username String
fullname String?
email String? https://github.com/unique
phone String? https://github.com/unique
role String?
aggregatorID Int? @default(34571)
FarmAcreage Int? @default(0)
password_old String?
password String?
id_no String?
services String?
phone_activation_code String?
phone_status users_phone_status? @default(not_verified)
email_activation_code String?
email_status users_email_status @default(not_verified)
account_status users_account_status @default(not_verified)
subscription_status Int @default(1)
wallet_amount String @default("0")
password_reset_key String?
online_status Int?
last_seen String?
search_rank String?
old_email String?
deleted Int @default(0)
country String @default("Uganda")
gender String @default("male")
dob String?
pro_dealin String?
size_scale String?
looking_for String?
cover_picture String?
profile_picture String?
other_contacts String?
website String?
user_documents String?
address String?
reg_time String
}

@Stallion67 Thanks for getting back with your schema, what query did you perform?

prisma create query,
however my databasealready contains data so the query is trying to begin withID index 0
this is after migration

prisma create query,
however my databasealready contains data so the query is trying to begin withID index 0
this is after migration

prisma create query,
however my databasealready contains data so the query is trying to begin withID index 0
this is after migration

Similar to the other issue @Stallion67 the underlying problem here also seems to be missing columns in the database:
https://github.com/prisma/prisma/issues/15075#issuecomment-1239059270
In this case:
prisma:client:fetcher Error: The column `famunera_db.planner_lists.balance` does not exist in the current database.

I would suggest you also update to a much more recent version of Prisma, as it is very possible that this is a known bug in this year old version of Prisma. We can only support more recent versions.

Any success with updating @Stallion67?

Ping @Stallion67 - can you confirm this was caused by a mismatch between your database and schema? That would mean we can close this issue. Thanks.

Closing then until someone provides more information. Please comment or open a new issue. Thanks!


Button.Group throws error if Button is conditionally rendered inside

Description
Button.Group throws error if Button is conditionally rendered inside.
CodeSandbox/Snack link
https://snack.expo.dev/@looooooooong/button-group-null-bug
Steps to reproduce

Go to Snack link.

NativeBase Version
3.4.8
Platform

[ ] Android
[ ] CRA
[X] Expo
[ ] iOS
[ ] Next

Other Platform
No response
Additional Information
This happens when one of the group's children is null.

Thank you @Looooong for reporting this issue. We will look into it.

Hey @Looooong, This issue is fixed in v3.4.11.


suite: implement git_branch_exists with ls-remote

@zmc I do not understand why the test for git_ls_remote fails on travis-ci. When I run it locally it is fine. Any idea ?

@dachary it looks like the test in question tries to hit the network - that might be the problem, but even if it isn't I'd advocate using mock to avoid doing so

@zmc it does not use the network, that's what confuses me. dbeeb67393c2288b4ab8deac89731b7f4d933963 has a fixture creating a local git repository to not be network dependent.

@zmc the problem was with git author / email settings, fixed & repushed !


fix: 🐛 Icons do not scale with font-size when using spriteSheet: true for custom icon library

Checklist (for the issue creator)

[x] I have verified the bug exists in the latest version of @synergy-design-system/components (e.g. via pnpm install @synergy-design-system/components).
[x] I can provide a simple, reproducible example of the issue (e.g. via code-sandbox or sample code, ...).
[ ] I would be willing to provide a PR for this issue.

Version
The bug occurred with the following version of the component library: 2.10.1
Component
The issue arises when using the following component(s): syn-icon
Environment
The issue occurred with the following operating system(s): All
The issue occurred in the following browser(s): Chromium, Safari (Firefox not tested)
Description
When using SVG sprite sheets as custom icon library the icons size does not scale with the font size of the syn-icon component.
I use svg2sprite-cli to generate the sprite sheet from a given set of individual SVG icons. The library is registred using
registerIconLibrary('sprite', {
  resolver: (name) => `./assets/sprites/sprite.svg#${name}`,
  mutator: (svg) => {
    svg.setAttribute('fill', 'currentColor');
  },
  spriteSheet: true,
});

When adding height=100% and width=100% attributes to the <use> tag in the syn-icon's shadow dom the icon scales correctly. Maybe these should be added to icon.component.ts?
Thanks in advance.
P.S.: I also noticed that the code snippet in the documentation on 'Sprite Sheet Usage' seems to be wrong (the first resolver: (name) => { must be deleted).
Acceptance criteria

[ ] All DoD items successfully completed

@schilchSICKAG check if this can be solved with #641


Weird framebuffer issues after resizing.

Resizing the terminal can cause these kinds of issues.

This gets fixed when it goes from one entire window to another.

Fixed by clearing the screen every time it is being resized, the only thing i need to fix is to add back the title screen logo once the screen has been cleared
Will be up next commit!

wait, i just realised the way i took it is not compatible with windows
dammit

Found a workaround by checking for terminal size every loop cycle on Windows

ok im stupid and forgot since sigwinch doesn't exist on Windows it just crashes bru


AADSTS50011 error on Sign in pop up

Updated ClientId as instructed, Native app (I have tried both Converged application and Azure AD only application), auth works fine but then get
"AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: XXXXXXXXXXXX"  presented on auth popup.

@MarkFD01 Thanks for your feedback and glad to know that you are able to resolve it yourself.


Add xorriso to repo

[quote]xorriso copies file objects from POSIX compliant filesystems into Rock Ridge enhanced ISO 9660 filesystems and allows session-wise manipulation of such filesystems. It can load the management information of existing ISO images and it writes the session results to optical media or to filesystem objects.
Vice versa xorriso is able to copy file objects out of ISO 9660 filesystems. [/quote]
I couldn't say it any better, so I didn't try.
url is https://www.gnu.org/software/xorriso/
Talk to Thomas Schmitt<EMAIL_ADDRESS>I'm sure he would help and support it and help you in adding it as he has with many others.
Oh, and it is both command line and gui capable.

Transferred. :+1:

Added thanks to #84.

On 17/11/19 07:25, dylan wrote:

Closed #67.

Just a note that xorriso is also known as libisoburn (which contains it)
so I don't know which name it should really be under. ?Do we need the
full package for xorriso or the libisoburn version? Yes confusing I
know, it's just how Thomas Schmitt did it back then, and both names are
relevant. Maybe a note somewhere?
regards

Repology lists it as xorriso as it seems to be named this way in all major distributions.

On 17/11/19 11:05, dylan wrote:

Repology lists it as xorriso as it seems to be named this way in all major distributions.

No worries, I was just mentioning what Thomas had said in his email to
us in T2 a few weeks ago when it was queeried by me. I'm cc'ing him in
case he wants to reply to this list also.
To quote him
My apologies for creating this ambiguity. The reason lies back in 2008,
when the first packager preferred the 2-in-1 source tarball, with the
reasoning that this worked well with cdrskin in the libburn tarball.
Because of the difficulty to install .so without breaking the local
package management, i always had a xorriso-standalone tarball, which in
2010 became GNU xorriso.
Distros which use both, libisoburn and xorriso tarballs, most probably
have a duplication. Who installs libisoburn should also install its
xorriso binary. The size difference is substantial.
But as soon as the user needs a newer xorriso than provided by the
distro, it is time for GNU xorriso from source. It does not need
installation to places like /usr/bin, but can be run at the place were
it was built.
Therefore grub-mkrescue has an option --xorriso= by which one can use
such a built but not installed xorriso.
Both xorrisos get composed from the same sources. If linked with the
same set of optional libraries (like zlib) they are supposed to behave
identically.
Have a nice day
Thomas
End of quote.
regards
scsijon


change default write buffer size of lockcf to 32MB

What have you changed?
I set write_buffer_size of lockcf 32MB, whose previous default value is 128MB.
When TiKV write keys frequently into a TiKV node, there will be many tombstones in lockcf. If user want scan some keys  which are just inserted into TiKV, it would cost much CPU. Such as:
SELECT * from tableA order by create_time desc limit 100.
So we decrease size of memtable in lockcf to optimize to reduce cost of range query which include many tombstones.
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

No code

Does this PR affect documentation (docs) or should it be mentioned in the release notes?

Does this PR affect tidb-ansible?

Yes.

Will it introduce potential write stall problem?

/bench +tpcc

Please also change the value in etc/config-template.toml.

/merge


MLflow Export Experiment issue with fetching run_infos

The following python code is used to fetch the run_infos from an experiment. AFAIK this will not work correctly in scenarios there are over 5000 runs because the list_run_infos function is only set to default fetch 5000 runs and then provide a page token for the set of 5000 runs. The infos object has a token attribute which is the page token for the next list_run_infos call and returns None if there is no next page token.
infos = self.client.list_run_infos(exp_id)

Fixed with commit e57764ada6d6e1f5afddb17a67759a10dbcd6fbe. Added SearchRunsIterator.


ResourceException: Resource must be opened to be loaded

The following exception shows in the notice pane at startup:
java.lang.RuntimeException: com.avereon.xenon.resource.ResourceException: Resource must be opened to be loaded: program:task
com.avereon.xenon.resource.ResourceException: Resource must be opened to be loaded: program:guide
at com.avereon.xenon@1.0-SNAPSHOT/com.avereon.xenon.resource.ResourceManager$ResourceTask.call(ResourceManager.java:1576)
at com.avereon.xenon@1.0-SNAPSHOT/com.avereon.xenon.resource.ResourceManager$ResourceTask.call(ResourceManager.java:1543)

This ended up being caused by a difference between "created" resources and "open" resources. The logic behind creating a resource has been improved and is no longer dependent on the open resources collection.


find the irreducible tensors T_{0,1,2} of a product of two vectors in cartesian system

Implemented irreps in this commit


DEV-338 new options and type

Why aren't we using options instead of the new field types?

Options are a bit different than types.. You can have only one type, but multiple options.

I don't see a problem with that. Even when one parking space has one type. It matters what the client does with it.

👍

:+1:


Complete the development of the dropdown component (styling, tests, etc.)

The dropdown form component was incompletely added to the new form monorepo as part of https://github.com/AlaskaAirlines/auro-form/issues/1.
The component should be finished on spec with styling, tests, etc.
Issues raised

[x] Is select.js needed?
[x] Update tokens to correct Tier 3 values
[x] Does style match the blueprint?

:tada: This issue has been resolved in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


.org.xx is suggested as .org

Many countries have a .org subdomain, for example .org.uk, .org.au. Using one should not raise an error: it is very unlikely that someone would type .org.uk when they meant to type just .org, for example.

:+1:

Good point. PRs are welcome

OK, you have a pull request :)


half of code in html file has lost syntax coloring

VSCode Version: Code 1.6.1 (9e4e44c19e393803e2b05fe2323cf4ed7e36880e, 2016-10-13T15:27:10.246Z)
OS Version: Darwin x64 16.1.0
Extensions: ms-vscode.csharp-1.4.1

most code is red in color, file is fine and there are no errors. have tried new files with code pasted in etc. and have not been able to remedy. ?

@andrewgale1 Can you add a source example and let us know which color theme you are using?

theme is dark+

Hi,
earlier I posted a screenshot and theme.. but I figured it out. super embarrassing, it was an extra set of quotation marks.
this was the first thing I suspected when this started happening, and I checked and CHECKED and checked and could not find anything amiss. but today I saw that extra “.
i apologize for wasting your time.
all is well, thank you

On Nov 1, 2016, at 3:26 AM, Martin Aeschlimann<EMAIL_ADDRESS>wrote:
@andrewgale1 https://github.com/andrewgale1 Can you add a source example and let us know which color theme you are using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode/issues/14696#issuecomment-257533268, or mute the thread https://github.com/notifications/unsubscribe-auth/AUEg5fLLK1-ct79-8N90QSwBO9AMRRFIks5q5xPCgaJpZM4KkKDI.

@andrewgale1 No problem. Can you also paste the source code that shows the problem? What's interesting is where the red color starts.

Closing due to lack of information


Can't run game with "./gradlew game"

I create local repo on my machine. Follow instructions, but if I try do ./gradlew game i see this:
java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/libatk-wrapper.so]
either use fromURL(final URL url, final List urlTypes) or use the static setDefaultURLTypes(final List urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
Logs file here
Terasology-init.log
And, i think, that's my another problem, but i hope u can help. If I try run any build in my IDEA, i see this:
Exception in thread "main" java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(ImageIO.java:1394)
at org.terasology.splash.overlay.ImageOverlay.(ImageOverlay.java:38)
at org.terasology.splash.overlay.TriggerImageOverlay.(TriggerImageOverlay.java:30)
at org.terasology.engine.Terasology.configureSplashScreen(Terasology.java:206)
at org.terasology.engine.Terasology.main(Terasology.java:125)
OS - Ubuntu 18.04.3 LTS
java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

Can't replicate on Arch Linux,
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-b05)
OpenJDK 64-Bit Server VM (build 25.222-b05, mixed mode)

I ran into the same issue myself on Ubuntu 18.04.3 LTS. This was after freshly cloning the game.
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

Using this same setup I am able to compile and run Destination Sol without issue.
Some limited googling suggests that the issue may have something to do with reflections..

UPDATE:
Removing line 113 from TypeRegistry.java (.useParallelExecutor()) fixes the issue. Just one thing... I don't know why and I don't know what other repercussions there could be.. :P

This should be fixed if/when #3750 is merged

Out of curiosity what CPU do you have? I've got the 8750H on this laptop and don't have any issues with it.

Intel core I5-7500  3.40x4

And mine:
CPU: Intel® Core™ i5-8400 CPU @ 2.80GHz × 6
Graphics: Intel® UHD Graphics 630 (Coffeelake 3x8 GT2)
GNOME: 3.28.2

Merged the associated PR that in theory fixes this. @PavelAplevich could you try again with the very latest develop branch?

I can run the game. I think, all work's.


NOTES.txt has a bad substring causing the templates to not render

The NOTES.txt has an entry such as "The requested connection scaling tier for this deployment is: max {{ substr 4 10 .Values.solace.size }} connections." This substring logic is failing when we use the strings such as prod1k etc. for the solace.size parameter value.

Hi sushil-rxr, thanks for raising I'll look into this for the next update

@sushil-rxr  - kindly provide an update if this is still an issue


ARROW-8063: [Python][Dataset] Start user guide for pyarrow.dataset

Don't forget to trigger test-ubuntu-18.04-docs crossbow task before merging.

@bkietz thanks for the feedback!


Usage with Homestead

Question
Hi! I am having issues trying to run this using Homestead. When running npm run dev I can view the site, see my JS and CSS working, and in the browser console can see [vite] connecting..., then [vite] server connection lost. polling for restart..., and then finally an error WebSocket network error: The operation couldn’t be completed. Connection refused. It then tries to reload and this repeats until I stop it.
As I'm running it via Homestead, do I need to use the devServerInternal and checkDevServer options? I'm not really sure what to put in there or what I'd need to configure on the Homestead VM.
My config files are below.
Thanks! Plugin looks great and am excited to try Vite.
Additional context
// vite.php
<?php

use craft\helpers\App;

return [
    'useDevServer' => App::env('ENVIRONMENT') === 'dev',
    'manifestPath' =><EMAIL_ADDRESS>    'devServerPublic' => 'http://localhost:3000/',
    'serverPublic' => App::env('PRIMARY_SITE_URL') . '/dist/',
    'errorEntry' => '',
    'cacheKeySuffix' => '',
    'devServerInternal' => '',
    'checkDevServer' => false,
];

// vite.config.js
import ViteRestart from 'vite-plugin-restart';
export default ({ command }) => ({
  base: command === 'serve' ? '' : '/dist/',
  build: {
    manifest: true,
    outDir: 'craft/web/dist/',
    rollupOptions: {
      input: {
        app: 'src/js/app.js',
      }
    },
  },
  plugins: [
    ViteRestart({
      reload: [
          '/craft/templates/**/*',
      ],
    }),
  ],
});

Thanks a lot - that's great and makes sense re the devServerPublic. 🙏
If I run the npm run dev command inside Homestead, it runs, and going to my local domain in the browser loads the page with the styles etc. However, changing and saving the js, css, or twig file from my code editor does nothing.
If I SSH into Homestead and change the files in the terminal using nano it reloads as expected. Is this likely to be something wrong with my setup or with my config?
Here is my folder structure (I'm running all commands from the root (my-site) dir.
my-site/
├── craft/
│   ├── config/
│   │   └── vite.php
│   ├── templates/
│   |   └── index.twig
|   └── web/
├── src/
│   └── js/
│       └── app.js
└── vite.config.js

Appreciate any pointers but if this is nothing to do with the plugin, feel free to send me on my way 😅

Oh - for Homestead, you have to turn polling on.
Something like this:
import legacy from '@vitejs/plugin-legacy'
import ViteRestart from 'vite-plugin-restart';

// https://vitejs.dev/config/
export default ({ command }) => ({
  base: command === 'serve' ? '' : '/dist/',
  build: {
    manifest: true,
    outDir: './web/dist/',
    rollupOptions: {
      input: {
        app: '/src/js/app.ts',
      }
    },
  },
  plugins: [
    legacy({
      targets: ['defaults', 'not IE 11']
    }),
    ViteRestart({
      reload: [
          './templates/**/*',
      ],
    }),
  ],
  server: {
    host: '<IP_ADDRESS>',
    watch: {
        usePolling: true,
    },
  },
});

refs: https://vitejs.dev/config/#server-watch & https://github.com/paulmillr/chokidar#api

BOOM! You sir, have made my day!
Thanks so much for your help!

I'm having a similar issue w/Homestead. Can't get the npm run dev to load the site https://localhost:3000/ inside the homestead box. I get the following error:
This site can’t be reached. localhost refused to connect.
Running npm run build to generate the build files, changing 'useDevServer' => false'  and accessing the Craft project via hostname (https://domain.test') shows the craft vite plugin working properly.
Under the server block in vite.config.js I have the following:
  host: '<IP_ADDRESS>',
  https: true,
  watch: {
    usePolling: true,
  },
}```

and `config/vite.php` is set to ```<?php

use craft\helpers\App;

return [
    'useDevServer' => App::env('ENVIRONMENT') === 'dev',
    'manifestPath' =><EMAIL_ADDRESS>    'devServerPublic' => App::env('DEFAULT_SITE_URL'),
    'serverPublic' => App::env('DEFAULT_SITE_URL') . '/dist/',
    'errorEntry' => 'src/js/app.js',
    'cacheKeySuffix' => '',
    'devServerInternal' => '',
    'checkDevServer' => false,
    'includeReactRefreshShim' => false,
    'includeModulePreloadShim' => true,
    'criticalPath' => '@webroot/dist/criticalcss',
    'criticalSuffix' =>'_critical.min.css',
];```

Switching `devServerPublic` to `https://localhost:3000/` makes no difference

@siebird port 3000 is the port that the devServer runs off of. You load your website from the normal URL you always do.
The idea is that combined with the Vite plugin, your website will load your JS/CSS, etc. from the devServer


TypeScript re-write

Change-Type: major

@Page- can you removed the "required" tag on the node-4 job (which I removed as the Bluebird typings seemed incompatible) please?


How to use openpose to get 2D data

Thank you for your work.
I would like to know how to use una-dinosauria/3d-pose-baseline for this project: una-dinosauria/3d-pose-baseline, because he did not explain in detail how to use openpose
Looking forward to hearing from you

@ArashHosseini works , if i change the flag condition and avoid it

@basicvisual , could you elaborate on how you changed the flag condition to make it work?

@DannyYCCheng i removed the asserting condition. However i am not using open-pose as 2D detector and my results are way off


⚠ Bofrost.lu has degraded performance

In 6b60375, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1347 ms

Resolved: Bofrost.lu performance has improved in 8156fd5.


Colors

the studio runs perfect, but when you import the file to panda3d,it doesn't show any Colors

Hi!
If you mean the color that you can set in the Name and color section of the Object properties panel, then you are right, this color is not exported with the model. This is not a bug; the purpose of this "scene color" is merely to make it easier to tell different models apart in Studio itself.
If you want a color that you can export, you will have to apply a material to the model:

in the Material section of the Materials panel, choose a material (the default Material 0001 should do fine) and use a button in the Apply to objects group ("Selection" if the model is selected, or "Pick" to choose a particular model);
in the Basic properties section, click the "Flat color" color box to set the color you want.

Now when you export the model and load it up in Panda3D, you should see that color.
Let me know if this solves your problem!

Thank you


What is the Twitter hashtag for this summit?

#shocode? #shonancode?

Let's use #shocode since that's the short nickname for the event.

Sounds good. Thank you!


request for more TOs

I modeled the definitions on what should end up as sibling TOs.

Flag leaf area: A flag leaf anatomy and morphology trait (TO:0000832) which is associated with the area of the flag leaf (PO:0020103).

Polished grain length to width ratio: A grain length to width ratio (TO:0002731) which is determined from grain length and grain width on dehulled polished rice grain

Polished grain length: A grain length (TO:0000734) monitored after dehulling and polishing

Polished grain width: A grain width (TO:0000975) which is the width of the polished dehulled grain

Here are the new trait terms as requested:
[Term]
id: TO:0000996
name: flag leaf area
namespace: plant-trait-ontology
def: "A flag leaf anatomy and morphology trait (TO:0000832) which is the area of the flag leaf (PO:0020103)." [PMID:26841834]
creation_date: 2017-07-10
[Term]
id: TO:0000997
name: polished grain length
namespace: plant-trait-ontology
def: "A grain length (TO:0000734) measured on a dehulled, polished grain." [PMID:26841834]
synonym: "white rice grain length (narrow)" NARROW []
creation_date: 2017-07-10
[Term]
id: TO:0000998
name: polished grain width
namespace: plant-trait-ontology
def: "A grain width (TO:0000975) which is the width of the dehulled, polished grain." [PMID:26841834]
synonym: "white rice grain width (narrow)" NARROW []
creation_date: 2017-07-10
[Term]
id: TO:0000999
name: polished grain length to width ratio
namespace: plant-trait-ontology
def: "A grain length to width ratio (TO:0002731) measured on a dehulled, polished grain." [PMID:26841834]
synonym: "white rice grain length to width ratio (narrow)" NARROW []
creation_date: 2017-07-10

Perfect! Thanks


Automate releases

Make it easy to push new versions to the marketplace

This code will publish a new version of the extension when a new tag is added to the repo.
name: Publish VS Code Extension

on:
  push:
    tags:
      - '*'

jobs:
  publish:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout code
      uses: actions/checkout@v2

    - name: Setup Node.js
      uses: actions/setup-node@v2
      with:
        node-version: 'lts/*'

    - name: Install Dependencies
      run: npm ci

    - name: Install VSCE
      run: npm install -g vsce

    - name: Publish
      env:
        VSCE_PAT: ${{ secrets.VSCE_PAT }}
      run: vsce publish


Is it compatible with PHP 7.2?

I'll be using PHP 7.2.11+ on a new project.
I would like to know if this framework is compatible with it.
Closest answer I found for now is for PHP 7.0:
https://github.com/catfan/Medoo/issues/401

Definitely.


How to replace the removed CodecMatcher?

So I see CodecMatcher is deprecated on the releases page, but I don't see any information on why, what, why and how it's being "replaced" if at all?
I am trying to upgrade my app using v1 of this library. Should I implement this my self?

No you don't. On earlier stages of the spec developers planned to support multiple input formats with various Content-Type headers. And codec matcher served that purpose. Then they seemed to drop that idea and stick to JSON API MIME type. For this reason, it was dropped from the library.

Okey. Does the library contain a way to detect if the current request is one using the jsonapi spec?

As you probably know Laravel has PSR7 support though it's likely to be slower than the wrapper from Limoncello.
It was needed only 3 methods. I think the old wrapper should work fine and very likely in the future. In the worst case you would need one more which is a couple of lines of code.
Sorry for dropping it. I thought nobody needed that.

Btw, I've done some benchmarks recently for Lumen, Slim, and Limoncello. Though I've got no JSON API result to compare. Can please share some your performance results (e.g. swoole) that could be compared with any of them?

At the moment I only have one problem and thats with EncodingParameters class. I miss the fallowing methods (that used to be in it):

getPaginationParameters
getFilteringParameters
getSortParameters
getUnrecognizedParameters

It was nice to have one class to ask for all parameters. Now I need to implement my own.

Pagination, filters, and sorts are needed for fetching data from a database and not needed for the conversion. For this reason, they were removed.
If you use it for parsing input parameters and non-conversion tasks you can either have a look at how it is used in Limoncello Parser or consider using Limoncello App which does many other things as well.


🚀💻  Update CNAME to tides-transit.org

Describe the feature you want and how it meets your needs or solves a problem

As a user interested in finding the TIDES documentation, I want it to have an easy-to-remember website like tides-transit.org so that I don't have to fuddle around with github orgs/repo names in a URL.
Describe the solution you'd like
Add tides-transit.org as CNAME
Additional context

@themightychris has already procured the site
Just need to set up CNAME and settings in github repo

Thank you for this!

thanks @themightychris!
Tides-transit.org is now live and https enforced...woot!


Unable to use interfaces in defineProps when the props object is required

Version
3.2.26
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Navigate to the Comp.vue file and witness a syntax error after compilation.
What is expected?
defineProps compiles away to a valid expression that can be assigned to a variable and used in computed props
What is actually happening?
The code doesn't compile

As mentioned in the comment in the playground, the code compiles if:

I define Props here, but then I can't export it
I omit the const props = , but then I can't create computed props

Please, search existing issues and pull requests before opening issues, it saves maintainers a lot of time 🙏
this has already been reported in Vue-next repo

@posva Sorry for that. I didn't realize that the development of Vue 3 is carried out in a separate repository. I was actually confused when trying to file this issue for the same reason. And that explains why I didn't find anything while searching through the issues.
Moving forward, perhaps it'd be a good idea to add a note to the issue templates that the issues related to Vue 3 should be filed in another repository?


 I'm not exactly sure if it's only shield bash or both shield bash and attack at once.
Reddit thread about it
https://www.reddit.com/r/skyrimmods/comments/y5pnph/bashing_in_the_middle_of_an_animation_always/
Possible fix
A known bug with Valhalla Combat, there exists a fix https://www.nexusmods.com/skyrimspecialedition/mods/97195
Comment
I haven't tested it thoroughly, I just added the fix right after ValhallaCombat.esp and run game, exited inn and killed about 10 guards. Before the fix I killed every guard from almost full health with the backstab anim (and many other, even bandit chief 10 levels higher than me) and it even triggered on Zora Fair-Child (so it doesn't care if target is an enemy, friend or follower)
Modifications to the list
loadorder.txt
modlist.txt

Have added this fix in the next version. Thanks a ton for pointing this out!!


MVP - Weather Web App

Completed:

[x] Gitflow
[x] Github Actions
[x] ESLint
[x] Stylelint
[x] .gitignore
[x] package.json
[x] webpack
[x] ES6
[x] Error handling for promises or async/await.
[x] README

You can use my gif image above on your README if you like, it's more descriptive of your work from a first glance

Hi @shloch 👋
Thanks for the review, and the scripts to add. 👍 🙏
The gif looks good also! What tool did you use for it? 😃📝

@hello @cliftondavies , i use a MackBook, and the app for the .gif is called licecap, there's a windows version I think


chore(test): udpate all tests in spec/observables

update all tests in spec/observables/ to use pipeable operators and updated import sites

Awesome! Thanks, @natmegs!


feat: added open graph image

This is the solution for issue #61

This is the screenshot of the open graph

Great @Nakamcode , It sounds good. Thanks for making our website better.
Happy coding ❤.
Don't forgot to be a part of our community by joining us on Discord.


Hide OCS Banner correctly when on builder summer

What changed? Why?
Notes to reviewers
How has it been tested?

Review Error for ricardoMogg @ 2024-05-16 16:46:57 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help


Doesn't work in internet explorer 11

Hi, first of all thank you for great library!
I am using latest redux-auth master version from github and facing error in IE 11: "Multiple definitions of a property not allowed in strict mode".
http://redux-auth.herokuapp.com/ is affected as well.
Steps to reproduce: open http://redux-auth.herokuapp.com/ in IE 11 and review the console.
Kind regards,
Yuri.

Update: bug occurs only for bootstrap theme.
This PR fixes it: https://github.com/lynndylanhurley/redux-auth/pull/38


[Bug] pg_size and pg_num have no effect in the saved search execute method

Description
The execute() method for saved searches is not doing anything with pg_num or pg_size.
Steps to Reproduce

Try using pg_num or pg_size on a saved search execute() call.
In debug mode, notice that the default params are always in the request
Also, look at the code and see that they are not used.

Expected Behavior
To be able to use the pg_size and pg_num parameters when executing a saved search
Actual Behavior
The default values for the query are always used.

I can take this on.

@unparalleled-js - Should we update execute() so that it returns a generator, or are we relying on the user to supply pg_num and pg_size?
If it's the latter, do we just document that the user needs to handle the inevitable 400 error themselves, indicating they've reached the end?
Py42BadRequestError: Failure in HTTP call 400 Client Error: Bad Request for url: https://forensicsearch-east.us.code42.com/forensic-search/queryservice/api/v1/fileevent


[Theme Request]  Izumi Sagiri(Eromanga Sensei)

Who/What do you want to be featured?
Izumi Sagiri for Eromanga Sensei
What do they look like?

What type of theme?

[ ] Light Theme
[ ] Dark Theme

Additional Information (Optional)
You can use pink and gray as the main colors, but this is just a suggestion

Suggestion: Light Theme uses the white shirt outfit, while Dark Theme uses the blue jacket outfit.
White outfit is the one shown above by @sagirisense, while the blue jacket outfit is this one:

Also, perhaps part of the "Love me Onii-san!" update?

Thanks for saving me the trouble of having to create this issue!
I've been wanting to add Sagiri for a while now, and was planning on adding her in the next round of themes (once I get the time). I know what I want for the dark theme, because I like her dark jacket color. Will have to think about what the light theme looks like though.

I am currently debating on whether I need another light theme or not, as there is going to be one in the coming release.
I've got the dark theme that I wanted, it will look a like this (I might change some things)

However, this is a very convincing & adorable argument

I dunno, I'll see how I feel after I've completed the rest of the themes.


if a property name contain dash, it becomes a subtraction operation

For example, in a template
{{>iso-code}}
will return NaN
but "iso-code" just on property name

Note that the above reply concerns JsRender, not JsViews. See #311 for JsViews aspect.


feat(post): create react-360 post

Tech Talk - July 29, 2021

I was adding a new blog article and noticed your PR was still here, here's a couple quick feedback!

Thank you!


Move shortlinks to src/lib/public/links/links.json

The shortlinks data is more easily accessible from the entire website when placed in the /src/lib/public/ directory.
Resolves #737.

Resolves #756.


cursors with new presence API in share

I've updated this code to use the new presence API in Share. You get some nice stuff for free like a list of all currently connected sessions and you can store arbitrary data in the presence info for each session.

@aslakhellesoy
are there any chances this will be merged?
It looks like @josephg silently abandoned sharejs project and new owner (@nateps, I guess) has resumed activity but he hasnt touch presence branch which is very dangerous to all the work that is already done in this direction.
Should I go DIY route and implement cursors and presence by myself for my project or use this branch (and obsolete sharejs presence branch?)

Hi @efdi. Like you I have been waiting for presence support in ShareJS/LiveDB, but I don't have much hope that it will happen.
I did try to fix it myself on a fix-presence branch, but I find the code really difficult to work with and gave up.
I really don't know what to do.

@aslakhellesoy thanks for the reply. I think i'm going DIY.


Core, with net452 framework?

Moving the original issue - https://github.com/domaindrivendev/Swashbuckle/issues/780 here as it's related to SB 6x and ASP.NET Core ...
I'm not seeing a way to install Swashbuckle on an Asp.Net Core application using the net452 framework.
Swashbuckle 6.0 will only install on dnx framework.
Swashbuckle 5.0 is set up for OWIN
Is it possible to get Swashbuckle on a Core/net452 application

@rynowak - any ideas? Is it as simple as adding net452 here https://github.com/domaindrivendev/Ahoy/blob/master/src/Swashbuckle.Swagger/project.json#L32

We're installing into an  ASP.NET Core application targeting .NET 4.6.1 and it works just fine.
Given you're already targeting net451 it should work from from .NET 4.5.1 through to .NET 4.6.1.

@domaindrivendev yes - it's that simple. We go all the way down to 4.5.1 https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Core/project.json#L59
You may need some ifdefs though - #if NET451 and #if NETSTANDARD1_6 (and similar) are provided for you.

I was trying this today, and with current rc3 package, the test project fails with following information. The test project and api application project both target net452. When I change the targets to netcoreapp1.1, the exception goes away. To me it seems something is trying reference <IP_ADDRESS> version of  Microsoft.Extensions.DependencyInjection.Abstractions, while the version being used by Microsoft.AspNetCore.Mvc.Core & others is <IP_ADDRESS> or similar.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Extensions.DependencyInjection.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60
 (Fully-specified)
LOG: Appbase = file:///C:/work/Tests452/bin/Debug/net452
LOG: Initial PrivatePath = NULL
Calling assembly : Swashbuckle.AspNetCore.SwaggerGen, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=d84d99fb0135530a.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\PROFESSIONAL\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\vstest.executionengine.x86.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.Extensions.DependencyInjection.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60
LOG: Attempting download of new URL file:///C:/work/Tests452/bin/Debug/net452/Microsoft.Extensions.DependencyInjection.Abstractions.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.

Adding this to xunit test project's .csproj solved the issue for me. The build directory now contains a lengthy test.project.dll.config which has all the necessary binding redirects.
<PropertyGroup>     <TargetFramework>net452</TargetFramework>     <AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>     <GenerateBindingRedirectsOutputType>True</GenerateBindingRedirectsOutputType> </PropertyGroup>


Bug fix: Dont display empty item in free ip list

Description
Remove the empty item from the free IP list when we click on "Acquire New IP" in the networks section.
If we dont select any IP address from the list and click ok, it sends "ipaddress=-1" as the parameter which is not back compatible.
This fix ensures that no empty item is displayed and by default one valid ip selected. So when we click ok, "ipaddress=-1" wont be sent as a parameter to the api call.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?
1 . Navigate to "Networks" section in the main UI
2 . Select any network from the list.
3 . Click on "View IP address" button.
4 . Now click on "Acquire New IP" button on the top right. This will open up a new pop up window with drop down list of all IP address belonging to that network
5 . Select any of the IP address.

@blueorangutan package

@andrijapanicsb a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

thx for the fix @rakgenius!

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-510

LGTM - tested manually.

Merging based on 2 x LGTM - no tests needed - a simple JS change.


Fix fix typo: bitmp and sesseion

Proposed changes
1, bitmp change to bitmap
2, sesseion change to session

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run build-all

(From new mechine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.88 seconds
stream load tsv:          508 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          87.5 seconds inserted 10000000 Rows, about 114K ops/s
storage size:<PHONE_NUMBER>3 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230705185010_clickbench_pr_172750.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.57 seconds
stream load tsv:          455 seconds loaded<PHONE_NUMBER>9 Bytes, about 156 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          57 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
insert into select:          67.7 seconds inserted 10000000 Rows, about 147K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230706132416_clickbench_pr_173816.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 52.15 seconds
stream load tsv:          458 seconds loaded<PHONE_NUMBER>9 Bytes, about 155 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          56 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
insert into select:          69.5 seconds inserted 10000000 Rows, about 143K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230707050312_clickbench_pr_174152.html


Unable to modify aws-auth configmap for cluster created using EKS controller

Describe the bug
We have established a control cluster using terraform, which includes an active eks controller. Additionally, we have configured IRSA (IAM Roles for Service Accounts) and utilized a service account with the eks controller.
When we create a new cluster (testcluster) by generating an eks controller yaml file within the control cluster, the process successfully creates a new cluster. It is worth mentioning that I have also created nodegroups, roles, add-ons, and other related components, but these details are not pertinent to the current issue focused solely on the cluster.
By default, eks provides cluster access to the creating identity, in this case, the IRSA service account.
Could you please provide guidance on how to modify the aws-auth file immediately after creating an eks cluster using the eks controller, to grant cluster access to another user or role (specifically, the devops user/role used for logging into the AWS console)?
Steps to reproduce

create a cluster (control) , install eks with IRSA (https://aws-controllers-k8s.github.io/community/docs/user-docs/irsa/)
create a test cluster (testcluster) using eks controller yaml (let me know if you need a sample yaml. i have not shared as i feel it's not important)
try to modify aws-auth configmap using kubectl (not sure which profile to use for kubeconfig).

Expected outcome
A concise description of what you expected to happen.
want to know, how can we grant additional access to cluster immediately after creating eks cluster using eks controller. I can't use kubectl in this scenario to update aws-auth
Environment
dev

Kubernetes version 1.25
Using EKS (yes/no), if so version?  1.25
AWS service targeted (S3, RDS, etc.) eks

try to modify aws-auth configmap using kubectl (not sure which profile to use for kubeconfig).

EKS currently locks the cluster to be accessible only by the IAM User/Role that created the cluster. Whichever role you've configured to be assumed by the eks-controller, will be the one you need to use. If you're using cross account resource management, it's the role you're assuming in the target account. If you're using IRSA, it's the role attached to the service account. Or if you're using hard coded credentials, it's the role associated with those.

Totally agree! We also need convenient way for managing aws-auth. Right now I was forced to fix the role with which the cluster was created and allow me to make an assume role on it. Then I was able to fix aws-auth, but it is far away from automation. My target is to create everything in amazon account with ACK controllers in fully automatic way.

Cluster access management controls are now the recommended replacement for aws-auth config map, and fully support by the EKS ACK controller
https://aws.amazon.com/blogs/containers/a-deep-dive-into-simplified-amazon-eks-access-management-controls/

@mikestef9 Hi! Thanks! It is very interesting information. I will try to use new approach on new clusters.

/remove-lifecycle stale


Add methods for interacting with the current TagContext.

This PR adds methods for getting the current TagContext and setting the TagContext in a scope.  It also adds convenience methods for creating a builder from the current tags and setting the scoped tags with a builder.
The new methods correspond to methods for working with the current span.  (There are some differences, because the TagContext doesn't need to be started, and it doesn't have a parent-child relationship.)

Tagging
Tracing

TagContexts.getCurrentTagContext()
Tracer.getCurrentSpan()

TagContexts.withTagContext(TagContext tags)
Tracer.withSpan(Span span)

TagContexts.currentBuilder()
Tracer.spanBuilder(String spanName)

TagContextBuilder.buildScoped()
SpanBuilder.startScopedSpan()

Existing methods that don't use the current context:

Tagging
Tracing

TagContexts.emptyBuilder() and TagContexts.toBuilder(TagContext tags)
Tracer.spanBuilderWithExplicitParent(String spanName, @Nullable Span parent)

TagContextBuilder.build()
SpanBuilder.startSpan()

/cc @adriancole

Codecov Report

Merging #498 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master     #498     +/-   ##
===========================================
+ Coverage     90.36%   90.47%   +0.1%
- Complexity      616      622      +6
===========================================
  Files           117      117
  Lines          2284     2289      +5
  Branches        210      211      +1
===========================================
+ Hits           2064     2071      +7
+ Misses          163      162      -1
+ Partials         57       56      -1

Impacted Files
Coverage Δ
Complexity Δ

.../src/main/java/io/opencensus/tags/TagContexts.java
81.81% <100%> (+24.67%)
8 <4> (+5)
:arrow_up:

...ain/java/io/opencensus/tags/TagContextBuilder.java
40% <100%> (+6.66%)
3 <1> (+1)
:arrow_up:

...a/io/opencensus/trace/export/SpanExporterImpl.java
91.66% <0%> (+1.66%)
6% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Dunno about the currentBuilder and buildScoped.. tag context doesnt have a
lifecycle like a span. Do we really need these methods? How worse would it
be if there was only a scoping method?

@adriancole currentBuilder and buildScoped are just convenience methods.  My goal was to make it no harder to update the current TagContext than to create a new TagContext, since using the current context is the expected use case.  I wanted to shorten the code required to update tags and also make it harder to accidentally clear the existing tags.
With the convenience methods, a user can update the tags with
try (Scope scope = tagContexts.currentBuilder().set(KEY, VALUE).buildScoped()) {
  ...
}

instead of
try (Scope scope =
    tagContexts.withTagContext(
        tagContexts.toBuilder(tagContexts.getCurrentTagContext()).set(KEY, VALUE).build())) {
  ...
}

Thanks for giving an example of this. I see your point!

Thanks!


improving test coverage

Opening PR to view coverage %, however this PR is still a draft - dont merge!

@BlazeWasHere I'm going to strongly recommend you base this on dev -- the release branch gets force-pushed to when I rebase from dev, and it might be a tad aggravating for you to have to rebase every time :P

Actually, @BlazeWasHere I set up the branch synapsecns:tests/blaze-improvements for you -- it won't get force-pushed to (or even touched by me) so just change your base locally to that and we're golden.
I can confirm that your changes rebase cleanly onto that branch (no conflicts).

Also, in src/tokens.ts we could probably mock approveTokenSpend() somewhere using a private key, testing if the promise resolves. @bleaker0x do you want to attempt this, feel free to push into the branch.

Needed to change CRONOS_RPC_URI to https://cronos-rpc.heavenswail.one as the default cronos RPC really hates batching.

Ohhhh this is good to know, thank you.

Also, in src/tokens.ts we could probably mock approveTokenSpend()

There is a test for the ERC20 approve function, I can easily just port it over for this too.

@BlazeWasHere is this good to pull into dev? Rather, do you have more tests you'd like to add before I do so?

@BlazeWasHere is this good to pull into dev? Rather, do you have more tests you'd like to add before I do so?

you are good to go

@BlazeWasHere Had to do some screwy Git stuff to move your changes from here to dev, but they're now in the release branch :)
Check out the "Testing Improvements" bit of the PR message for #104 ;)


[Test only] Investigate Flink load test fails

Investigate #21696
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Load Tests Python Combine Flink Batch

At least Python combine load test is using flink 1.12 job server: https://pantheon.corp.google.com/gcr/images/apache-beam-testing/global/beam_portability/beam_flink1.12_job_server which has not been updated long time ago (>1 year).

Run Load Tests Python Combine Flink Batch

Run Load Tests Go Combine Flink Batch

Run Load Tests Python Combine Flink Batch

Run Load Tests Python Combine Flink Batch

Run Load Tests Python Combine Flink Batch

Python Error now becomes the same as go error:
RuntimeError: Pipeline load-tests-python-flink-batch-combine-1-1021132626_df5ef80a-43a7-4157-b9d5-ada850e6a7e5 failed in state FAILED: org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot map `null` into type `long` (set DeserializationConfig.DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES to 'false' to allow)
10:14:00  at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: org.apache.flink.runtime.rest.messages.job.JobDetailsInfo["maxParallelism"])

manually add --max_parallelism=5 to pipeline options does not work.

R: @tvalentyn

Set up a flink job server docker environment and a local flink cluster for flink 1.13, and I cannot reproduce this locally... The example job just succeeded. Adding --parallelism pipeline options the job never ends though, but I do not see the error message, maybe because local cluster does not have more than 1 nodes to submit the job.

LGTM


Fragment in Activity ID prevents it from being resolvable

Whilst working with this plugin I was encountering an issue where I wanted to do a look up on an Activity sent to me by wordpress-activitypub, but the structure of URL makes this impossible due to a fragment being included in the ID (URL) for the Activity - The fragment gets stripped out before reaching the server so the request ends up being for the Object inside the Activity rather than the Activity itself
Example:
I receive Activity with ID: https://mattwiebe.blog/?p=370#activity-create-2024-11-27T15:30:10Z which looks like:
{
  "id": "https://mattwiebe.blog/?p=370#activity-create-2024-11-27T15:30:10Z",
  "type": "Create",
  "published": "2024-11-27T15:30:10Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "cc": [
    "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/actors/0/followers"
  ],
  "sensitive": false,
  "object": {
    "id": "https://mattwiebe.blog/?p=370",
    "type": "Note",
    "attachment": [],
    "attributedTo"<EMAIL_ADDRESS>    "content": "
ActivityPub Office Hours Day 3

Starting now!

https://us02web.zoom.us/j/89230934907?pwd=9jPyy8IYhKeKjGf3qTWrzJ92Ta54Hr.1
",
    "contentMap": {
      "en": "
ActivityPub Office Hours Day 3

Starting now!

https://us02web.zoom.us/j/89230934907?pwd=9jPyy8IYhKeKjGf3qTWrzJ92Ta54Hr.1
"
    },
    "published": "2024-11-27T15:30:10Z",
    "tag": [],
    "url": "https://mattwiebe.blog/2024/11/27/activitypub-office-hours-day-3/",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public"
    ],
    "cc": [
      "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/actors/0/followers"
    ],
    "replies": {
      "id": "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/posts/370/replies",
      "type": "Collection",
      "first": {
        "id": "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/posts/370/replies?page=0",
        "type": "CollectionPage",
        "partOf": "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/posts/370/replies",
        "items": []
      }
    },
    "sensitive": false
  },
  "actor"<EMAIL_ADDRESS>}

When I make a request to https://mattwiebe.blog/?p=370#activity-create-2024-11-27T15:30:10Z to retrieve the Create activity again, I get back the Note contained within the Activity:
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "id": "https://mattwiebe.blog/?p=370",
  "type": "Note",
  "attachment": [],
  "attributedTo"<EMAIL_ADDRESS>  "content": "
ActivityPub Office Hours Day 3

Starting now!

https://us02web.zoom.us/j/89230934907?pwd=9jPyy8IYhKeKjGf3qTWrzJ92Ta54Hr.1
",
  "contentMap": {
    "en": "
ActivityPub Office Hours Day 3

Starting now!

https://us02web.zoom.us/j/89230934907?pwd=9jPyy8IYhKeKjGf3qTWrzJ92Ta54Hr.1
"
  },
  "published": "2024-11-27T15:30:10Z",
  "tag": [],
  "url": "https://mattwiebe.blog/2024/11/27/activitypub-office-hours-day-3/",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "cc": [
    "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/actors/0/followers"
  ],
  "replies": {
    "id": "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/posts/370/replies",
    "type": "Collection",
    "first": {
      "id": "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/posts/370/replies?page=0",
      "type": "CollectionPage",
      "partOf": "https://public-api.wordpress.com/wpcom/activitypub-1.0/sites/219408313/posts/370/replies",
      "items": []
    }
  },
  "sensitive": false
}

Hey @mike182uk This has nothing to do with the fragment, the plugin does not provide resolvable Activity-IDs (yet, this will come in one of the next updates). The fragment is currently only a hack, to have a unique ID.
However, we can change these IDs so that a correct error code is returned.

@obenland we do not persist activities yet, so there is no id we can use. This will be possible when we have the outbox.


NavQ+ documentation

Initial documentation for NavQ+ setup.

STP files are helpful, but not as directly useful for users without CAD software as STLs. Could you provide those, as well (or instead), for people who are just looking to slice your brackets and cases?

Yes, it can be added as an STL as well, I think part of the reason we go for STP files is that you have unit encoding that otherwise gets lost in STLs and our default is non-MKS (mmgs instead) meaning the STLs would need to be scaled potentially.

STP files are helpful, but not as directly useful for users without CAD software as STLs. Could you provide those, as well (or instead), for people who are just looking to slice your brackets and cases?

Yes, it can be added as an STL as well, I think part of the reason we go for STP files is that you have unit encoding that otherwise gets lost in STLs and our default is non-MKS (mmgs instead) meaning the STLs would need to be scaled potentially.

Argreed that STL is not a perfect (or even a good? ;) ) format, but it's the standard we've got for hobbyist slicers.