DBZ-191 support default value of column in mysql

@gunnarmorling @jpechane
a minimum implementation;
Hope to giving some guidance and suggestions;

This PR is a minimum implementation;  Just want to verify that the way parsing default value is correct or not and hope any one can give me some guidance and suggestions;
Thanks!

I tested the current master with this branch merged in on a MySQL 5.6 with various defaults and got the following error:
Caused by: io.debezium.text.ParsingException: Unexpected exception while parsing statement CREATE TABLE "my_table" (
	...
	"my_date" datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
	...
Caused by: java.lang.IllegalArgumentException: Unexpected value for JDBC type 93 and column my_date DATETIME NOT NULL DEFAULT VALUE 0000-00-00 00:00:00: class=class java.lang.String
	at io.debezium.jdbc.JdbcValueConverters.handleUnknownData(JdbcValueConverters.java:1242)
	at io.debezium.jdbc.JdbcValueConverters.convertTimestampToEpochMillis(JdbcValueConverters.java:424)
	at io.debezium.jdbc.JdbcValueConverters.lambda$converter$20(JdbcValueConverters.java:302)
	at io.debezium.connector.mysql.MySqlDdlParser.convertDefaultValueToSchemaType(MySqlDdlParser.java:797)
	at io.debezium.connector.mysql.MySqlDdlParser.parseCreateColumn(MySqlDdlParser.java:759)
	at io.debezium.connector.mysql.MySqlDdlParser.parseCreateDefinition(MySqlDdlParser.java:735)
	at io.debezium.connector.mysql.MySqlDdlParser.parseCreateDefinitionList(MySqlDdlParser.java:583)
	at io.debezium.connector.mysql.MySqlDdlParser.parseCreateTable(MySqlDdlParser.java:395)
	at io.debezium.connector.mysql.MySqlDdlParser.parseCreate(MySqlDdlParser.java:298)
	at io.debezium.connector.mysql.MySqlDdlParser.parseNextStatement(MySqlDdlParser.java:169)
	at io.debezium.relational.ddl.DdlParser.parse(DdlParser.java:286)

Not exactly sure why this happened. The default value for date is actually exactly in the format that @jpechane asked about in the review above.

To add onto my previous comment:
Seems like Conversions.java:toLocalDateTime() does not expect a String but instead wants the input to be a date type. Conversely, MySqlDdlParser.java:convertDefaultValueToSchemaType() passes the string "0000-00-00 00:00:00" down to the various converters even though the JDBCType is Types.TIMESTAMP.
Should probably convert that string to a valid java time object at some point along the way, but i'm not exactly sure what the right place would be.

@MrTrustworthy You are right;
string "0000-00-00 00:00:00" will not appear in binlog, so the input data in toLocalDateTime() will not get string type and can work correctly; When I have add MySqlValueConverters.java in MySqlDdlParser, MySqlValueConverters have to handle much more input data type;
It seems I have to add more method to convert multiple input data type ;

The issue seems to be a bit more complex, and I'm not entirely sure that I completely understand the approach that debezium uses to serialize default values. Using your last commits, there are warnings in the MySqlValueConverters.java:
WARN  MySqlValueConverters:659 - Unexpected JDBC DATE value for field my_date with schema org.apache.kafka.connect.data.SchemaBuilder@5286a6e0: class=class java.lang.String, value=0000-00-00
This causes an error later in TableSchemaBuilder.addField():309 because the schema builder expects an INT64 instead of a String as default value.

@MrTrustworthy
em.. I have not a good idea how to convert date type correctly; And in my submited code, I have not support converting date, timestamp and other date type;

@sweat123 It seems it is necessary to add a support for text to type conversion to all values supported by MySQL. For formatting dependent types I propose to delegate the conversion to a separate utility class. In the first step it would just parse the default formatting, in the next one we should enable user to set the format. It would be similar to what we have right now for wal2json plugin in PostgreSQL.

@sweat123 I've pushed changes into the branch

hadnling of default nulls is simlified
a conversion for some of datatypes was added

Please take a look if it is ok for you. If you are still interested in working on PR it would be great if you could verify all supported datatypes and add converter for those that requires it.

For the record - we expect this PR to be put on hold for a while - https://gitter.im/debezium/dev?at=5ae2c16862316e0505055d73

https://github.com/debezium/debezium/pull/510  new branch was created. Current branch  can't now pass the integration test due to UnwrapFromMongoDbEnvelopeTestIT.class


top() and bottom() now returns the time for every point

URL for relevant page?
influxdata/influxdb#8289
What products and version are you using?
InfluxDB 1.3.0
top() and bottom() are being modified so they return the actual time numbers always rather than following the standard time grouping rules. That also affects the ordering so they will not always be from greatest to least or least to greatest, they'll be organized by time and then the standard rules we use now.

TOP()

[ ] Update example 4:

> SELECT TOP("water_level",3),"location" FROM "h2o_feet" WHERE time >= '2015-08-18T00:00:00Z' AND time <= '2015-08-18T00:54:00Z' GROUP BY time(24m) ORDER BY time DESC
name: h2o_feet

time                 top   location
----                 ---   --------
2015-08-18T00:48:00Z 7.11  coyote_creek
2015-08-18T00:54:00Z 6.982 coyote_creek
2015-08-18T00:54:00Z 2.054 santa_monica
2015-08-18T00:24:00Z 7.635 coyote_creek
2015-08-18T00:30:00Z 7.5   coyote_creek
2015-08-18T00:36:00Z 7.372 coyote_creek
2015-08-18T00:00:00Z 8.12  coyote_creek
2015-08-18T00:06:00Z 8.005 coyote_creek
2015-08-18T00:12:00Z 7.887 coyote_creek

[...]
Notice that the GROUP BY time() clause does not override the points’ original timestamps. See [Issue 1](#**TK **) in the section below for a more detailed explanation of that behavior.

[ ] Update issue 1:

Issue 1: TOP() with a GROUP BY time() clause
Queries with TOP() and a GROUP BY time() clause return the specified
number of points per GROUP BY time() interval.
For
most GROUP BY time() queries,
the returned timestamps mark the start of the GROUP BY time() interval.
GROUP BY time() queries with the TOP() function behave differently;
they maintain the timestamp of the original data point.
Example

The query below returns two points per 18-minute
`GROUP BY time()` interval.
Notice that the returned timestamps are the points' original timestamps; they
are not forced to match the start of the `GROUP BY time()` intervals.
> SELECT TOP("water_level",2) FROM "h2o_feet" WHERE time >= '2015-08-18T00:00:00Z' AND time <= '2015-08-18T00:30:00Z' AND "location" = 'santa_monica' GROUP BY time(18m)

name: h2o_feet
time                   top
----                   ------
                           __
2015-08-18T00:00:00Z  2.064 |
2015-08-18T00:06:00Z  2.116 | <------- Greatest points for the first time interval
                           --
                           __
2015-08-18T00:18:00Z  2.126 |
2015-08-18T00:30:00Z  2.051 | <------- Greatest points for the second time interval
                           --

BOTTOM()
Waiting to hear about https://github.com/influxdata/influxdb/issues/8474 to update the BOTTOM() documentation.


[BEAM-1149] Explode windows when fn uses side inputs

This basically reverts https://github.com/apache/incubator-beam/commit/38f0b11cc9028cf347e3c96b6e6116e5a5a9972d and adds some comments and a test.
R: @kennknowles

Running various test suites manually to skip the Jenkins queue, since this should make it into the release.

LGTM, merging.


Columns behave like rows [Display: block instead of flex]

Checklist:

[x] I updated to the latest version available
[x] I cleared the cache of my browser
Version: v0.1.1
Browser and Operating System: Brave, Windows 11 (Browser and OS independent bug)

Description of problem:
I'm not being able to have cards behave like columns. Instead, all cards occupy a whole row, even if they have differing sizes that would fit in the 12-grid system.
This is something I can easily fix if I inspect the elements and add display: flex to the .container-fluid class.
This behavior is both OS and browser independent. I've tried on both Mac and Windows, with my default browser (Brave -> Chromium) as well as Safari
Current behavior:

Elements have the correct size, but they span a whole row.
Expected behavior:

Adding display: flex; to .container-fluid fixes the problem. Of course if I reload this is gone.
This is because .container-fluid inherits display: block; from the div default styles. This disables flex.

Additional information:
I installed this addon through HACS.
My dashboard configuration looks like this:
views:
  - title: Home
    panel: true
    cards:
      - type: custom:bootstrap-grid-card
        cards:
          - type: col
            class: col-sm-hidden col-md-3
            cards:
              - type: custom:search-card
          - type: col
            class: col-sm-12 col-md-9
            cards:
              - type: custom:search-card
              - type: entities
                entities:
                  - light.07580048e868e757f421
                  - light.main_light
                  - light.table_lamp
                  - type: custom:slider-entity-row
                    entity: cover.motorized_blinds
                title: Bedroom
                show_header_toggle: false
                state_color: true

Am I doing something wrong?
I'd be happy to help, although I have no experience with lovelace addons. I believe this should be a simple fix.

Closed it. Not sure if this is the right solution, but I just added a row card as a parent for all the other columns. This works for me

There is very little editing of the divs and style in this addon, it heavily relies on bootstrap to do most of the magic. I must admit I haven't tried using columns without rows before, is that a thing when using bootstrap elsewhere? I that is the case, I could look into  adding that feature.


Rebuild for aarch64 and ppc64le

Fixes #37

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/arm-arch @conda-forge/libcxx This is ready for review/merge.

@isuruf Addressed that in https://github.com/conda-forge/libcxx-feedstock/pull/41


Add missing installing instruction for automaxprocs

Following the instructions led to
go install github.com/google/zoekt/cmd/zoekt-index
/home/ngirard/go/src/github.com/google/zoekt/cmd/zoekt-index/main.go:30:2: cannot find package "go.uber.org/automaxprocs/maxprocs" in any of:
        /usr/lib/go-1.10/src/go.uber.org/automaxprocs/maxprocs (from $GOROOT)
        /home/ngirard/go/src/go.uber.org/automaxprocs/maxprocs (from $GOPATH)

@googlebot I signed it!
Le ven. 2 août 2019 à 23:44, googlebot<EMAIL_ADDRESS>a écrit :

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot
I signed it!) and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google.com/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fgoogle%2Fzoekt%2Fpull%2F96
for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/zoekt/pull/96?email_source=notifications&email_token=AAAX6MR5KSN4GH63EMHZYYTQCSTDFA5CNFSM4IJBHOM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3O46KI#issuecomment-517852969,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAX6MU7WRUVQEXTAUCI3STQCSTDFANCNFSM4IJBHOMQ
.

which Go version are you using? The module spec should have handled this for you.

please use the procedure mentioned in CONTRIBUTING for sending me code.
thanks,

which Go version are you using? The module spec should have handled this for you.

I did sudo apt install golang-go on Ubuntu 19.04, which brought
golang-1.10-go 1.10.4-2ubuntu1

@ngirard try running go get github.com/google/zoekt/... first


Add parsing for nionswift

[ ] Generalized store data for all cases that were observed in Christoph's lab from the Nion data from the last 5 years
[ ] Generalized mapping table for all metadata from the above-mentioned collection
[ ] Testing with old example dataset and linting


release-notes: add initial release notes for the v94 release

PR Template and Checklist
Please complete as much as possible to speed up the reviewing process.
Readiness and adding reviewers as appropriate is required.
All PRs should be reviewed by a technical writer/documentation team and a peer.
If effecting customers—which is a majority of content changes—a member of Customer Success must also review.
Readiness

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Release notes for the v94 release.
Checklist

[ ] Run spelling and grammar check, preferably with linter.
[ ] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[ ] Review for wordiness
[ ] Match tone and style of page/section.
[ ] Run make linkcheck.
[ ] View HTML in a browser to check rendering.
[ ] Use semantic newlines.
[ ] follow best practices for commits.

[ ] Descriptive title written in the imperative.
[ ] Include brief overview of QA steps taken.
[ ] Mention any related issues numbers.
[ ] End message with sign off/DCO line (-s, --signoff).
[ ] Sign commit with your gpg key (-S, --gpg-sign).
[ ] Squash commits if needed.

[ ] Request PR review by a technical writer and at least one peer.

Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.

Still missing the aktualizr release notes, but wanted to open the pr to check if I'm adding to the right location :-)

For ak I think this is the release notes, from jira:

Offline update bundles are now tied to a specific tag and device type. This is enforced by a new signed metadata file added to the bundle by fioctl >= 0.42.
Applications can be included in offline update bundles by using new factory configuration parameters (containers.offline.enable and containers.offline.app_shortlist), instead of having to enable image preloading. See Offline - Updates — FoundriesFactory 93 documentation for mode details.
Update events and callbacks are now enabled during offline updates.
Applications state verification, removal and pruning are now performed by the composectl tool.
Bug fixes.

@detsch @mike-sul ^^

Docs for 240c4cda7f00f4a728550ab6efb8a94ce8b7e3e6 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2696/docs/artifacts/html/index.html

Still missing the aktualizr release notes, but wanted to open the pr to check if I'm adding to the right location :-)

yep!

For ak I think this is the release notes, from jira:

Offline update bundles are now tied to a specific tag and device type. This is enforced by a new signed metadata file added to the bundle by fioctl >= 0.42.
Applications can be included in offline update bundles by using new factory configuration parameters (containers.offline.enable and containers.offline.app_shortlist), instead of having to enable image preloading. See Offline - Updates — FoundriesFactory 93 documentation for mode details.
Update events and callbacks are now enabled during offline updates.
Applications state verification, removal and pruning are now performed by the composectl tool.
Bug fixes.

@detsch @mike-sul ^^

I wrote that based on a internal list of changes Mike Sul sent on Slack. @mike-sul can you take a look just to make sure no relevant information was lost in the process?

fioctl >= 0.42

They are seem fine. However I get 404 when I try to open the v94 release notes on the docs generated by this PR.

Docs for 82ec0f6263fd50c487bf2e0e5b2ba23633f98581 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2700/docs/artifacts/html/index.html

Docs for 10c22b2a6289b2aeb8c5b36e33000a7d28b2f455 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2701/docs/artifacts/html/index.html

@kprosise good from my side, feel free to merge if fine by you.


Roadmap for v1.0.0

Hi! I'll resume developing the template and this is my roadmap:
Requirements for v1.0.0

[x] Support kss-node v2.x
[ ] Publish to package managers (npm, bower)
[ ] More compatibility with user css (https://github.com/htanjo/kss-node-template/issues/7)
[ ] Update document and demo

Feature plans in v1.x

Responsive design
Permalink of each section
Copy to clipboard (like Bootstrap docs)

If you have any ideas, feel free to tell me. PR is also welcome!

I drop some features from 1.0.0 for quick release.


update groupId for fcrepo-transform

See: https://jira.duraspace.org/browse/FCREPO-1670

Resolved with: https://github.com/fcrepo4-exts/fcrepo-camel/commit/5461e0c137f3d89fd6fd776d144dae5f7fac4c4f


Field problems in SIEM dashboards

I am not knowledgeable when it comes to the ELK stack so I have just followed the Easy Install doumentation to install LME by using the shell script, which has worked so far. However,  when I enable the SIEM detection engine as in 4.2, I get an error every time I visit /app/SIEM:
[illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [event.module] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
Also, the External alert count panel has a spinning circle and doesn't populate; changing the 'Stack by' in that panel will cause the error to repeat.
To Reproduce
After following all LME instructions up to 4.2, with data being shipped to ELK from the Windows Event Collector via Winlogbeat, browse to /app/siem/ in Kibana.
Expected behavior
No error
Screenshots

Windows Event Collector

Server 2019 v1809
WEC Config V0.3
Winlogbeat Config V0.3
Winlogbeat.exe version 7.9.1
sysmon config V0.3
sysmon executable V11.11

Linux Server

Docker version 19.03.12
Docker compose stack file version 3.8
Ubuntu 18.04.5 LTS

I am not a developer and I'm not very experienced with Docker or ELK so it may well be user error!

Hello Simon,
Thanks for the report. We are looking into this and will provide an update once we have a solution.
Thanks,
Duncan

Any updates on this? Having the same issue with my install.

any updates on this ???

any updates on this ???

Hello. We are aware of the issue, the root cause and have a mechanism to fix - we are looking at the easiest way of providing that solution to everyone

Hello. We are aware of the issue, the root cause and have a mechanism to fix - we are looking at the easiest way of providing that solution to everyone

Perfect. Thank you.

Perfect. Thank you.

is there any timescale on this ? as i need to showcase this install i am doing to some top brass - wont look good if there are errors all over the place - thanks dudes

is there any timescale on this ? as i need to showcase this install i am doing to some top brass - wont look good if there are errors all over the place - thanks dudes

Did the solution to this issue get published somewhere?

Hi @splurggy, @ipswichschool @kcmark1 @SimonAccordDS  (and everyone else who might be reading)
A new branch was pushed to the repo last night (https://github.com/ukncsc/lme/tree/0.4-pre-release). It is a pre-release of the next version which includes a fix for this issue.
Details of how to upgrade are in the https://github.com/ukncsc/lme/blob/0.4-pre-release/docs/upgrading.md document, which provides some background to the issue, and how to resolve.
If you are willing to test and report back if things are resolved, that would be helpful. Whilst the code changes have passed our testing, we would still recommend making a snapshot of your logs if you are relying on them.
A full changelog includes:

Updated to ELK stack 7.11.1
Added quotes to logstash passwords to prevent issues with certain characters in passwords
Added additional output to deploy script to guide users through various stages of the install/update/uninstall process and reduce bug reports
Merged dashboard versions into single file managed by git and removed outdated visualisations
Updated existing documentation to fix inconsistencies and clarify instructions
Updated dashboards to ECS compliant fields
Updated dashboards to resolve several existing issues with null fields and to clarify the purpose of the MITRE alerts dashboard
Updated the WEC config to resolve duplicate query IDs, include additional events and store events in RenderedText format
Removed deprecated OSMap functionality
Migrated GeoIP enrichment from logstash filter to elastic pipeline
Included index mapping template exported from winlogbeat-7.11.1 and customised for LME, and updated install script to deploy this automatically for new installs
Added LME config file storing versioning and hostname info, created on install
Automated initial dashboard install and fixed dashboard update script so that it correctly deploys latest dashboards from git if enabled
Added new deploy script method to deploy new index mapping, pipeline updates, dashboard installs and write the config version to support manual upgrade for existing users
Added "upgrading" documentation to walk users through the manual steps required when calling the above method
Bug fixes for existing install function to correctly enable automatic updates for Ubuntu and to resolve vm.max_map_count configuration within Docker
Bug fixes for the uninstall function to ensure it properly cleans all the existing files up from the Docker stack and leaves the swarm
Added checks to ensure that LME is stored in the correct location (/opt/lme) and modified the deploy script so that it can be referenced from any working directory provided it's stored in the correct location
Modified the existing update and dashboard update methods to only run when the LME version is set to 0.4, to prevent existing installations automatically updating without manual user intervention (as this requires re-indexing)
Added alternative suggested sysmon.xml configuration option
Updated copyright and authors list

Closing this issue as it should be resolved now.


migrate first module only

I'm facing strange something:
As you see in the image I moved users migrations to User module, also I removed the database and factories from composer.json from autoload part.
when I run php artisan migrate:fresh --seed (amigfs in the image),
It should not migrate the modules databases, Right?

it migrate User Module tables.
and migrate (failed_jobs, settings, media) from the Laravel migration folder
skip the second module database tables.
after that it show error (Target class [DatabaseSeeder] does not exist)

I added to composer classmap to autoload part, It solved the above error.
"autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/",
            "Modules\\": "Modules/"
        },
...
}

but also not seeded the User module.
Note: if I run (php artisan module:migrate --seed User & php artisan module:migrate --seed Blog)  it works fine.
I need when I run (php artisan migrate:fresh --seed) that migrate (failed_jobs, settings, media) with thier seeds only.

Hi,
when you call php artisan migrate:fresh --seed, the seed data is generated using this section of the Laravel framework:
https://github.com/laravel/framework/blob/cf9513219e80608aded783e33a30f8e8d145f6c2/src/Illuminate/Database/Console/Migrations/FreshCommand.php#L91-L98
By default, when the --seeder option is not passed, the command uses the Database\Seeders\DatabaseSeeder class.
To use this with a modular system, you have two options:

Pass the seeder class when calling the command:
php artisan migrate:fresh --seed --seeder="Modules\Base\Database\Seeders\DatabaseSeeder"

Or bind the Database\Seeders\DatabaseSeeder class to your target class. To do this, add the following line to the BaseServiceProvider.php file in the register method:
public function register()
{
    $this->app->bind(
        'Database\\Seeders\\DatabaseSeeder',
        \Modules\Base\Database\Seeders\BaseDatabaseSeeder::class
    );
}

Replace \Modules\Base\Database\Seeders\BaseDatabaseSeeder::class with your desired class. In this example, I used the Base Module.

Thank you for reply.
In the first,
I moved Users to User module and i set the priority 10000 in User/module.json.
I moved Setting to Setting module  and i set the priority 9999 in Setting/module.json.
I moved Blog to Blog module  and i set the priority 9998 in Blog/module.json.
Then I apply the second option you mentiond, its success in migration and UserDatabaseSeeder only.
How to resolve it to seed other modules?

@greatsami
When binding seeders to the base, you need to locate the seeders from modules and call them. I've provided a sample code snippet below that utilizes the glob function to find seeders, converts them to namespaces, and then calls the seeders.
$files = glob(base_path('Modules/*/Database/Seeders/*.php'));

$seeders = array_map(function ($item) {
    return str_replace(['/', '.php'], ['\\', ''], ltrim($item, base_path()));
}, $files);

$this->call($seeders);

Thank you @alissn
Its work :)


chore: bdd-gh-1583959447 to 0.0.1

chore: Promote bdd-gh-1583959447 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


Update email to 1.2.2

Please update my adapter ioBroker.email to version 1.2.2.
This pull request was created by https://www.iobroker.dev c0726ff.

1.2.2 created 25.12.2023
690 user
OK


Genome Biology link is wrong?

The first line of the README links to here but I think you want it to link here? Or at least correct the DOI link.

Sorry, the DOI seems still broken, it's the correct DOI...

Replaced the doi with the url until it starts working again.


refactor checkerboard

About the PR

clean up the checkerboard setup code
this PR includes #19047
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

no cl

Thank you for the changes. I apologize for the delays in getting back to look at this. I'll come back and help get this done this coming week.


Dill, stop hitting yourself

Dill used to send Arvo moves to itself to unwrap %flog tasks. Now it just unwraps and recurses internally.

Fixed and rebased. PTAL @joemfb

Arvo moves will always have a certain amount of performance overhead -- at least some extra function calls -- although hopefully eventually nearly negligible. There's conceptual overhead from creating new events, though. It clutters up |verb, for example, and if we do duct-based tracing, it'll pollute that with essentially spurious moves.
Also, there's a fair amount of wire parsing for each move. If we switch paths to (list dime), that cost should go almost to zero, but for now, the extra moves probably do matter for performance at least a little.


SSL Policy > (TLS) Client Authentication (Preview) concept missing

Hello.
There's a preview feature that enables TLS Client Authentication configuration under SSL Settings > Client Authentication. However, it doesn't seem like current documentation reflects this. Could you please either point to or add the appropriate page so there won't be any misconfiguration for folks that are eager to test this new feature?
For reference, (I think) this is the az cli docs merge for the same feature: https://github.com/Azure/azure-cli/pull/16762

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

ID: 4973b6d3-d3b9-69b6-75d1-6c6e03a37480
Version Independent ID: 68ae78c3-5118-741a-58c9-9fdf9512a9f3
Content: TLS policy overview for Azure Application Gateway
Content Source: articles/application-gateway/application-gateway-ssl-policy-overview.md
Service: application-gateway
GitHub Login: @amsriva
Microsoft Alias: amsriva

@rolandnyamo, Thanks for reaching out. We will investigate and update this thread.

@rolandnyamo, Appreciate your patience. The portal released earlier than expected but we'll be publishing docs soon.

@rolandnyamo, we are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Unsupported major.minor version 52.0 using AspectJ 0.9.10

After the last update I am receiving the error :
Error:(14, 0) Cause: com/uphyca/gradle/android/AndroidAspectJPlugin : Unsupported major.minor version 52.0
http://stackoverflow.com/questions/10382929/unsupported-major-minor-version-51-0
have you compiled using Java 8?

fixed via ef856acc910cc12986f0c4e9b94f6fc891cce6e8 and released as 0.9.11, thanks.

thanks!


[question] Mounting local directories to VM

While working on enabling authn, I want to run dex within the VM.  To allow me to work on a dev build, I wanted to mount some host directory within the VM so I could run dex via a Service Unit by altering ~/kube-solo/cloud-init/user-data.  Can you tell me how to do this?
I'm currently looking at the sources so I might end up figuring it out myself.  I've tried a few things already and spent enough time on it to see if I could get help.

just use nfs volume /Users/my_user:/Users/my_user

That will work just fine, I forgot you were mounting this.  Thanks a lot.

I'm not sure this is working and it could be my own issue.  Whenever my service tries to start, I get this: /Users/notyou/workspaces/go/src/github.com/coreos/dex/bin/dex-worker: No such file or directory  I'm not saying there is a kube-solo issue but I'm not having luck.  Here is my modification to ~/kube-solo/cloud-init/user-data:
    - name: dex.service
      command: start
      content: |
        [Unit]
        Description=Dex
        Documentation=https://github.com/coreos/dex
        Requires=etcd2.service docker.service flanneld.service persistent-data-checks.service
        After=etcd2.service docker.service flanneld.service persistent-data-checks.service
        [Service]
        ExecStart=/Users/jwhitlock/workspaces/go/src/github.com/coreos/dex/bin/dex-worker \
          --tls-cert-file=/Users/jwhitlock/kube-solo/certs/dex.pem \
          --tls-key-file=/Users/jwhitlock/kube-solo/certs/dex-key.pem \
          --listen="https://<IP_ADDRESS>:5556" \
          --issuer="https://<IP_ADDRESS>:5556" \
          --clients=/Users/jwhitlock/workspaces/go/src/github.com/coreos/dex/static/fixtures/clients.json.sample \
          --connectors=/Users/jwhitlock/workspaces/go/src/github.com/coreos/dex/static/fixtures/connectors.json.sample \
          --email-cfg=/Users/jwhitlock/workspaces/go/src/github.com/coreos/dex/static/fixtures/emailer.json \
          --users=/Users/jwhitlock/workspaces/go/src/github.com/coreos/dex/static/fixtures/users.json.sample \
          --html-assets=/Users/jwhitlock/workspaces/go/src/github.com/coreos/dex/static/html \
          --no-db
        Restart=always
        RestartSec=10

Of course, I also updated apiserver.service to depend on dex.service.

I think I ran into some environmental issue that caused corectl.app to bust and kube-solo.app to bust as well.  Blowing them both away, reinstalling the latest versions and now /Users/notyou is mounted as expected.  No idea what Gremlins were in my machine but it appears to be fixed.

those f..k Gremlins are always the problem :)


Error when importing new (not cached) module ... does not provide a module

This issue happens when adding import of newly not yet imported module (that is not in cache yet). If it is in cache event on new run there is no error.

Code and steps to reporoduce can be taken from here:
https://github.com/whitecolor/fusebox-issues/tree/master/xstream-extra-import

@whitecolor That's kind on invalid ES6 javascript. All your imports must be at the top of your module.

Please add all the packages to package.json. I can't run it. And instructions on how to launch it

Well first it is not ES6, it is Typescript =) It should be compiled just fine to ES5, I just grouped lines that should be uncommented.

If you clone the repo from repo root you should change dir to xstream-extra-import, as it is a monorepo, that contains multiple projects. In the dir run npm install and npm run watch

yep @whitecolor that's invalid and defeats the purpose of using import syntax, I am not sure how typescript even compiled it. you can't do for example
function(){
 import "./bla"
}

In your example you will get the syntax error: An import declaration can only be used in a namespace or module.
My code is valid in terms of ES/TS language syntax. Imports do not define any order they just should be placed in module's root scope, placing on top is just a matter of readability.
Anyway, you can change it to "valid syntax", the error still will be here.

I see the bug yep, the cache has been always tricky. That's why I suggest you restart your fuse process when adding a new module

That's why I suggest you restart your fuse process when adding a new module

You are not serious, are you? This definitely should not be user's responsibility. Flow especially, standard flow (and adding/removing modules is a part of standard flow) should be absolutely flawless, transparent and seamless.

listen, it doesn't bug most of the people, and most of the time caching works. Let me remind you - this is an open source, and you are not paying money for it. Feel free to investigate the problem instead of ranting

it doesn't bug most of the people,

And I really wonder why? They don't add new modules/imports to projects? So maybe I'm doing something wrong?
Usually, there is a lot of things that don't bother most of the people, and that doesn't mean that those things should not be accomplished. You probably know what happens often when average most of devs try a project and it doesn't work as expected and gives an error - they don't go to github/gitter they just leave it alone and say: well maybe some next day ~me~ this project will be luckier.

Feel free to investigate the problem instead of ranting

I'm not just ranting. I think this is quite a fundamental bug, so it definitely should not be there, and I believe it should be really not hard for authors to fix such things, esp considering that the project in the active stage of development and you know/remember all your codebase very well.

@whitecolor we are trying our best, and input, investigations, like yours helps us to make fuse better.
it is a valid bug, and we had bugs around caching before and we got down to them and fixed them. what @nchanged  is saying above does not mean we will not fix it, he is trying to say we are really doing our best and working on this on a daily basis. but when you said > You are not serious, are you? I am sure you agree that the tone was not helpful.
please work with us to make fuse better for you and for others and we promise we will do our best :)

Yeah sorry for the tone, sometimes my style may seem conflicting and intolerant, though I don't mean this way.

@whitecolor no problem, thanks for the cooperation and rest assured we will keep working hard to fix your issues :)

Hello,
I also have an issue with the same error message, but different context. Error is : ~/node_modules/reactstrap-tether/src/js/tether.js does not provide a module.
I am using an alias to load reactstrap-tether because Fusebox can't load the built version on Quantum mode.
alias: {
      "reactstrap-tether": '~/node_modules/reactstrap-tether/src/js/tether.js'
}

Wrong alias
~ if you homeDir.
alias: {
      "reactstrap-tether": `reactstrap-tether/src/js/tether.js'
}

clear the cache

It doesn't work for me. Uncaught SyntaxError: Unexpected token export on line: export default TetherBase;
Btw, I don't import reactstrap-tether in my code, it is a dependency of a dependency.

you were supposed to import a transpiled module a from node_module, not the source

clear the cache

This recommendation sounds like fuse-box mantra =) Isn't cache is cleared automatically now on launch?

@whitecolor only if fuse.js has changed

Does it check file's text content?
I would prefer to be cleared it each time, just not to create this extra hassle for users, and for authors not to repeat cache mantra ever again.

@whitecolor you can set cache: false as a temporary work around (not ideal I know). I have just started contributing so my knowledge isn't as in depth but I will certainly take a look to see if I can resolve this issue.

#1483

@Gustorn follow the linked issue ;-)

FuseBox v4 Major Upgrade
As of today, the latest major version of FuseBox v4 is available in fuse-box@next. FuseBox has undergone a full re-write from scratch, learning from its mistakes in the previous versions.
There are a lot of improvements, speed and config wise.
Get started here
We are still working on the documentation and polishing before the major release. We are getting very close. And we need help testing.
npm install fuse-box@next

Most of the issues that I am closing have been resolved, however, if you find that your issue is still relevant in v4 don't hesitate to re-open or (better) create a new one with v4 configuration.


Updates?

Hi - I found the project, super cool. Noticed you haven't put out updates in a while. I made a few modifications on a local branch, including refactoring it to work with Maven (would like to push a version out to Maven central). FWIW seems to run fine on Big Sur with this initialization:
        WebView webview = new WebView()
                .size(800, 600)
                .title("Test")
                .resizable(true)
                .url("https://theoryofgeek.com/")
                .addJavascriptCallback("callback", x ->
                {
                    System.out.println(x);
                });
        webview.show();

I'd like to make a few tweaks to the API as well, e.g. instead of using finalize in WebappJniExtractor switch to a try-with-resources instead. Also add a bunch of additional test cases and perhaps some GitHub Actions to verify everything works on macOS, Windows. Probably update to the latest version of the core lib as well.
Would you prefer I submit this stuff to your repo as PRs, or just fork and run with it, or...?

Thanks.   I'd like to put some more time into this, but just haven't been able to in quite a while.  Those changes sound great!   Please do a PR, and I'll pull them in.


Build error in Docker ubuntu-22.04

/root/credentials-fetcher/api/src/gmsa_service.cpp:4:10: fatal error: 'credentialsfetcher.grpc.pb.h' file not found
#include <credentialsfetcher.grpc.pb.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make[2]: *** [api/CMakeFiles/cf_gmsa_service_private.dir/build.make:79: api/CMakeFiles/cf_gmsa_service_private.dir/src/gmsa_service.cpp.o] Error 1
make[2]: Leaving directory '/root/credentials-fetcher/build'
make[1]: *** [CMakeFiles/Makefile2:247: api/CMakeFiles/cf_gmsa_service_private.dir/all] Error 2
make[1]: Leaving directory '/root/credentials-fetcher/build'
make: *** [Makefile:139: all] Error 2

Thank you for reaching out @justas05 . We will take a look at the error and get back to you. One question, do you see this error when cloning the repo and without making any changes to the code? Or do you see this only on your PR branch?

This is the next error. I commented out lines 186 to 191 in the file
https://github.com/aws/credentials-fetcher/blob/mainline/CMakeLists.txt to
disable tests

@jamolina, were you able to see it?

Hey @justas05. I believe @bhallasaksham just pin pointed the issue. We expect to send a fix soon.

@justas05 could you try again? @bhallasaksham just pushed a fix for this

@jamolina, thank you! It seems the problem has been resolved. But the first time I ran it I got an error with make -j.
In file included from /root/credentials-fetcher/api/src/gmsa_service.cpp:4:
/root/credentials-fetcher/build/api/credentialsfetcher.grpc.pb.h:7:10: fatal error: credentialsfetcher.pb.h: No such file or directory
    7 | #include "credentialsfetcher.pb.h"

I then tried running it with make and the build completed successfully. Perhaps there is a race somewhere.

We could not reproduce the error. What are you using for the TIME_ZONE argument?

This error occurred when building on Ubuntu without Docker. I did not set the TIME_ZONE value.

We tested this in a couple of Ubuntu instances and it worked successfully the first time. Since the original issue has been resolved and your PR is unblocked, we can close this issue for now. If you encounter it again and find a way to reproduce it, feel free to open a new issue.

Thanks a lot!


Sept release doc update

[ ] add tutorial for Terraform as infra provider to Dev Hub
[ ] add tutorial for azdo to Dev Hub
[ ] publish azure.yaml
[ ] sync ref (not sure if we need this.)

@puicchan I believe this is complete. Please reopen if need be.


New project: seq2rel

Hi! Submitting some of our recent work that used AllenNLP for inclusion in the gallery :)
Project metadata:
{
  "title": "A sequence-to-sequence approach for document-level relation extraction",
  "authors": [
    {
      "name": "John Giorgi",
      "twitter": "@johnmgiorgi",
      "email"<EMAIL_ADDRESS>      "affiliation": "University of Toronto",
      "google_scholar_author_page": "https://scholar.google.ca/citations?user=TNFEhK4AAAAJ&hl=en",
      "s2_author_page": "https://www.semanticscholar.org/author/John-Giorgi/37585306"
    }, {
      "name": "Gary Bader",
      "twitter": "@garybader1",
      "email"<EMAIL_ADDRESS>      "affiliation": "University of Toronto",
      "google_scholar_author_page": "https://scholar.google.com/citations?user=22M9eisAAAAJ&hl=en",
    },{
      "name": "Bo Wang",
      "twitter": "@BoWang87",
      "email"<EMAIL_ADDRESS>      "affiliation": "University of Toronto",
      "google_scholar_author_page": "https://scholar.google.com/citations?user=37FDILIAAAAJ&hl=en",
    },
  ],
  "submission_date": "2022-04-03",
  "github_link": "https://github.com/JohnGiorgi/seq2rel",
  "paper_link": "https://aclanthology.org/2022.bionlp-1.2/",
  "allennlp_version": "2.9.0",
  "datasets": [
    {
      "name": "CDR",
      "link": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4860626/"
    },
    {
      "name": "GDA",
      "link": "https://link.springer.com/chapter/10.1007/978-3-030-17083-7_17"
    },
    {
      "name": "DGM",
      "link": "https://aclanthology.org/N19-1370/"
    },
    {
      "name": "DocRED",
      "link": "https://aclanthology.org/P19-1074/"
    }
  ],
  "tags": ["named entity recognition", "coreference resolution", "relation extraction", "seq2seq"]
}

Description:
Motivated by the fact that many relations cross the sentence boundary, there has been increasing interest in document-level relation extraction (DocRE). DocRE requires integrating information within and across sentences, capturing complex interactions between mentions of entities. Most existing methods are pipeline-based, requiring entities as input. However, jointly learning to extract entities and relations can improve performance and be more efficient due to shared parameters and training steps. In this paper, we develop a sequence-to-sequence approach, seq2rel, that can learn the subtasks of DocRE (entity extraction, coreference resolution and relation extraction) end-to-end, replacing a pipeline of task-specific components. Using a simple strategy we call entity hinting, we compare our approach to existing pipeline-based methods on several popular biomedical datasets, in some cases exceeding their performance. We also report the first end-to-end results on these datasets for future comparison. Finally, we demonstrate that, under our model, an end-to-end approach outperforms a pipeline-based approach.

Sorry for the delay.


AlertsContext and TxQueueContext; CRA3 & React hooks

Upgrade to CRA3 (implementing TxQueueContext the same way as AlertsContext was becoming too complex, especially since TxQueue items need to update themselves); closes https://github.com/paritytech/substrate-light-ui/issues/288
Store TxQueue in context; closes https://github.com/paritytech/substrate-light-ui/issues/245
Split Alerts in separate context and allow multiple alerts
Use React hooks (hooks can only be used in function components, and because a single class component cannot consume two contexts at the same time, I had to refactor several components and make them function components; not sure it that made things clearer in all cases but couldn't really see a way around that)
The transfer route will show the list of transactions from the TxQueue until the user clicks "New transfer". This way, if the user navigates during the transaction, they can come back after to the transfer page to see the details of the transaction, even after it's completed.

Nice! Could you rebase on top of #293? I don't have any old nodes anymore and would like to test this

I am resolving merge conflicts with master after hasty merging #279 - paying for my mistake


Dart -> Engine rolls failing due to web engine test failures

The failure is
00:12 +54 -1: test/canvaskit/embedded_views_test.dart: HtmlViewEmbedder does not crash when resizing the window after textures have been registered [E]
  ImageCodecException: Failed to decode image using the browser's ImageDecoder API.
  Image source: test
  Original browser error: Error: Failed to construct 'ImageDecoder': Failed to read the 'data' property from 'ImageDecoderInit': The provided value is not of type '(ReadableStream or [AllowShared] ArrayBuffer or [AllowShared] ArrayBufferView)'.
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 1129:37   Object.wrapException
  ../../../../lib/src/engine/canvaskit/image_web_codecs.dart 207:7          <fn>
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 308:19  _wrapJsFunctionForAsync.closure.$protected
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 333:23  _wrapJsFunctionForAsync.<fn>
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 238:3   Object._asyncStartSync
  ../../../../lib/src/engine/canvaskit/image_web_codecs.dart 137:5          CkBrowserImageDecoder._getOrCreateWebDecoder
  ../../../../lib/src/engine/canvaskit/image_web_codecs.dart 80:11          <fn>
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 308:19  _wrapJsFunctionForAsync.closure.$protected
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 333:23  _wrapJsFunctionForAsync.<fn>
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 238:3   Object._asyncStartSync

logs: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791755201668024865/+/u/felt_test:_chrome-unit-linux/stdout
PR: https://github.com/flutter/engine/pull/38929/checks?check_run_id=10688642972
Probable commits causing this issue:

572d545 [dart:_js_interop] Add dart:_js_interop by Srujan Gaddam · 19 hours ago base
0673894 [pkg:js] Disallow @staticInterop synthetic and @anonymous constructor tear-offs by Srujan Gaddam · 19 hours ago
b9002bf [ddc] Inline js_util transformation methods by Srujan Gaddam · 19 hours ago
f043318 Update CFE expectations and fix top-level external members by Srujan Gaddam · 19 hours ago
9c8051b [pkg:js] Lower @staticInterop external anonymous and non-anonymous constructors by Srujan Gaddam · 19 hours ago
bb20923 [pkg:js] Lower external top-level package:js members by Srujan Gaddam · 19 hours ago
1e06e37 [pkg:js] Lower external static @staticInterop class members by Srujan Gaddam · 19 hours ago

cc: @srujzs

It looks like the change in constructor lowerings has caused this. I reverted it for a similar reason to unblock google3 here: https://dart-review.googlesource.com/c/sdk/+/279180. Is it possible to try the roll with this revert?

The engine framework rollers are failing see https://github.com/flutter/flutter/issues/118632 , waiting for a revert https://dart-review.googlesource.com/c/sdk/+/279141 to land before restarting the roller.

this error has now been fixed.


Support trends

Now mastodon has trending system

Codecov Report

Merging #63 into master will decrease coverage by 0.6%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master      #63      +/-   ##
============================================
- Coverage     54.25%   53.64%   -0.61%
  Complexity      147      147
============================================
  Files            44       45       +1
  Lines           800      809       +9
  Branches         80       80
============================================
  Hits            434      434
- Misses          352      361       +9
  Partials         14       14

Impacted Files
Coverage Δ
Complexity Δ

.../java/com/sys1yagi/mastodon4j/api/method/Trends.kt
0% <0%> (ø)
0 <0> (?)

...ain/java/com/sys1yagi/mastodon4j/api/entity/Tag.kt
12.5% <0%> (-20.84%)
1 <0> (ø)

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 38937fd...dcabd5b. Read the comment docs.

Trending API was abolished


push.on('registration', not fired in iOS

cordova 7.1.0
cordova platform 6.3.0 android
phonegap-plugin-push 2.1.3
index.js:
onDeviceReady: function() {
app.push = PushNotification.init({
android: {},
ios: {
"sound": true,
"vibration": true,
"badge": true
},
windows: {}
});
app.push.on('registration', function(data) {
alert(data.registrationId);
});
app.push.on('error', function(e) {
alert(e.message);
});
app.push.on('notification', function(data) {
alert(data.message);
});
  alert("last msg");
}

log:
Push Plugin register called
PushPlugin.register: setting badge to false
PushPlugin.register: clear badge is set to 0
PushPlugin.register: better button setup
FCM Sender ID (null)
Using APNS Notification
active
PushPlugin skip clear badge

PushPlugin skip clear badge
Resetting plugins due to page load.
Finished load of: file:///var/containers/Bundle/Application/4BB51A79-506Capp/www/index.html
void SendDelegateMessage(NSInvocation *): delegate (webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
Push Plugin register called
PushPlugin.register: setting badge to false
PushPlugin.register: clear badge is set to 0
PushPlugin.register: better button setup
FCM Sender ID (null)
Using APNS Notification
active
PushPlugin skip clear badge

Push Plugin register called
PushPlugin.register: setting badge to false
PushPlugin.register: clear badge is set to 0
PushPlugin.register: better button setup
FCM Sender ID (null)
Using APNS Notification

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md


docs(piping): add note about chunked transfer encoding

I spent several hours today figuring out why I was unable to pipe a file in a request to a Flask (or any Python WSGI) server, so I figured I would share that knowledge with everyone else.

Thanks


How to solve this and where should I import hammarjs?

Error on while serve ...
Uncaught TypeError: Cannot read property 'HammerGestureConfig' of undefined
at eval (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), :1374:19)
at eval (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), :4:3)
at eval (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), :5:2)
at eval ()
at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9)
at Object.../../../../script-loader/index.js!../../../../ngx-gallery/bundles/ngx-gallery.umd.js (ngx-gallery.umd.js?a77f:1)
at webpack_require (bootstrap 9c131f2476d0485fe041:54)
at Object.2 (scripts.bundle.js:112)
at webpack_require (bootstrap 9c131f2476d0485fe041:54)
at webpackJsonpCallback (bootstrap 9c131f2476d0485fe041:25)

Hi @Lijojohnka
At first you have to install hammerjs
npm install hammerjs --save
and then import in component which is using gallery. You can see example in my demo app:
https://github.com/lukasz-galka/ngx-gallery-demo/blob/master/src/app/app.component.ts
If this is not working please give me more info. You can also create simple app and push to github or use plunker https://plnkr.co/edit/D1tdBCeFo6L9tMOCOb9p?p=preview

Hi  @lukasz-galka
i had already install hammerjs in project and also import it in component.. but the error still remains,
when i try to re-install it , the below msg is shown in npm ..
D:\sampleApp>npm install hammerjs --save
<EMAIL_ADDRESS>D:\sampleApp
+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open 'D:\sampleApp\node_modules\ng2-image-gallery\package.json'
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

Hi @Lijojohnka, so gallery is working fine and there is problem only with hammerjs?
Could you give me output from npm list --depth 0

Gallery is working fine but the touch and gestures are not working .
New Text Document (2).txt


AutoRestBaseUrl is not thread safe, causes failures in concurrent applications

The runtime implementation of AutoRestBaseUrl for retrieval of the URL is not thread safe, since it results in the iteration on and clearing of a hashmap without putting the iterate and clear in a critical section. This manifests itself specifically in the scenario where someone is using a custom BaseUrl template and running a parallel application (say, create multiple files in ADLS in parallel).
From the customer who encountered this issue:
The exception is coming from the line where it is looping over the entryset:
for (Map.Entry<CharSequence, String> entry : mappings.entrySet()) {
Right after that loop it calls mappings.clear() so if the RequestFactory is shared by multiple threads (which I think it is), then one thread could be iterating over the set, which another calls mappings.clear().

Fixed in https://github.com/Azure/azure-sdk-for-java/pull/779.


reports-sprint4

Hi Arti, I made changes to the table such as sorting and removing the submit button and made it only dropdown submit event. Please merge the code. Thanks.


Picture + webp

webp should be smaller in size than any other format. Except AVIF. Requires https://github.com/jpanther/congo/pull/645 PR first
Support is good:

https://caniuse.com/picture
https://caniuse.com/webp

Related to https://github.com/jpanther/congo/discussions/644

I agree that adoption on this is getting better all the time and so it would be great to be able to use webp images, although I do wonder if we still need to have a fallback in case it's not supported by the browser? Should this be something that's a configuration flag in the theme?

My personal preference is to keep fallback. Regarding configuration: useWebp with default true?

I can refactor code to use https://github.com/stereobooster/hugo-ideal-image if you want

I can refactor code to use https://github.com/stereobooster/hugo-ideal-image if you want

I'm not particularly interested in including external modules into the base theme.

It's not a module, just an example implementation. I will inline all the code (which is picture.html) and then reuse it everywhere

closed in favour of https://github.com/jpanther/congo/pull/693


Sort by

Add interactive sort button to enable users to change the sort order of listing results: Most Popular, Category, Tag, Search.
You will need this backend: https://github.com/aml-development/ozp-backend/pull/325
You will need to do a 'make reindex_es'

Suggest increasing .sortBy  width from 140px to 190px so that all options are readable
also, should we have a discussion on default option based on results?

Sort By functions as expected on both the main Center screen and Search result screen. . :+1:

Issue: sort by state does not change or reflect accurately sort order of returned results when clicking on a category from center home:
STR:

On "Center Home" sort "Most Popular" by "Ratings: Low to High"
Click on "Communication" Category in left navigation

Results: return results are in default state but sort by state is still "Ratings: Low to High" which does not match order of returned results
Expected Results: sort by state matches order of return results or state defaults to "Sort By"

@rkenyon1969, good catch.  @mleeBoeing, the same happens with filtering on Listing Type or Organizations.  The Search box does reset the state of the Sort By menu.


Add subtract function and test

Resolves #4

@ns-rse thanks for spotting that and for your suggestions. I've merged it in!


Error:The target "ResolvePackageAssets" does not exist in the project. Error:Unable to build assembly reference

Release Type: Official Release
Version: 3.1
Platform(s): Windows 10
Just installed Xenko3.1 beta. Whenever i try to create a new game(or using any template), i am getting this error. See the screenshot.
Screenshots

Log and callstacks
Verbose:Generating MyGame...
Verbose:Process dependencies for MyGame...
Verbose:Restore NuGet packages for MyGame...
Verbose:Loading Assets from Package [Xenko.Engine.xkpkg]
Verbose:Loading Assets from Package [Xenko.Graphics.xkpkg]
Verbose:Loading Assets from Package [Xenko.Particles.xkpkg]
Verbose:Loading Assets from Package [Xenko.Video.xkpkg]
Verbose:Generating .Windows...
Verbose:Process dependencies for .Windows...
Verbose:Restore NuGet packages for .Windows...
[C:\Users\avika\.nuget\packages\xenko.core\<IP_ADDRESS>-beta01-0313\build\Xenko.Core.targets(110,38)]: Error:The target "ResolvePackageAssets" does not exist in the project.
Error:Unable to build assembly reference [C:\Users\avika\Documents\Xenko Projects\MyGame\MyGame\bin\Debug\net461\MyGame.dll]
Verbose:Loading Assets from Package [MyGame.xkpkg]
Verbose:Loading Assets from Package [.Windows.xkpkg]
Warning:Can't load Game assembly
Verbose:Compiling game assemblies...
Verbose:Game assemblies compiled...

Does that happen if you use a different project name?

yup. Here is what happens when i try to create from FPS template.

Verbose:Process dependencies for MyFPS.Game...
Info:Upgrading project [MyFPS.Game] to use [Xenko.Core] from version [<IP_ADDRESS>-beta01] to [<IP_ADDRESS>-beta01-0313] will be required
Verbose:Restore NuGet packages for MyFPS.Game...
Verbose:Loading Assets from Package [Xenko.Engine.xkpkg]
Verbose:Loading Assets from Package [Xenko.Graphics.xkpkg]
Verbose:Loading Assets from Package [Xenko.Particles.xkpkg]
[C:\Users\avika\.nuget\packages\xenko.core\<IP_ADDRESS>-beta01-0313\build\Xenko.Core.targets(110,38)]: Error:The target "ResolvePackageAssets" does not exist in the project.
Error:Unable to build assembly reference [C:\Users\avika\Documents\Xenko Projects\MyFPS\MyFPS.Game\bin\Debug\net461\MyFPS.Game.dll]
Verbose:Loading Assets from Package [MyFPS.Game.xkpkg]
Warning:Could not deserialize object of type !MyFPS.EffectController,MyFPS.Game; replacing it with an object implementing IUnloadable:
(Lin: 2102, Col: 54, Chr: 122673) - (Lin: 2103, Col: 24, Chr: 122733): Unable to resolve tag [!MyFPS.EffectController,MyFPS.Game] to type from tag resolution or registered assemblies
Warning:Could not deserialize object of type !MyFPS.FpsCamera,MyFPS.Game; replacing it with an object implementing IUnloadable:
(Lin: 2369, Col: 54, Chr: 138418) - (Lin: 2370, Col: 24, Chr: 138471): Unable to resolve tag [!MyFPS.FpsCamera,MyFPS.Game] to type from tag resolution or registered assemblies
Warning:Could not deserialize object of type !MyFPS.Player.WeaponScript,MyFPS.Game; replacing it with an object implementing IUnloadable:
(Lin: 2373, Col: 54, Chr: 138669) - (Lin: 2374, Col: 24, Chr: 138732): Unable to resolve tag [!MyFPS.Player.WeaponScript,MyFPS.Game] to type from tag resolution or registered assemblies
Warning:Could not deserialize object of type !MyFPS.Player.PlayerController,MyFPS.Game; replacing it with an object implementing IUnloadable:
(Lin: 4869, Col: 54, Chr: 286149) - (Lin: 4870, Col: 24, Chr: 286216): Unable to resolve tag [!MyFPS.Player.PlayerController,MyFPS.Game] to type from tag resolution or registered assemblies
Warning:Could not deserialize object of type !MyFPS.Player.PlayerInput,MyFPS.Game; replacing it with an object implementing IUnloadable:
(Lin: 4872, Col: 54, Chr: 286354) - (Lin: 4873, Col: 24, Chr: 286416): Unable to resolve tag [!MyFPS.Player.PlayerInput,MyFPS.Game] to type from tag resolution or registered assemblies
Warning:Could not deserialize object of type !MyFPS.Player.AnimationController,MyFPS.Game; replacing it with an object implementing IUnloadable:
(Lin: 5755, Col: 54, Chr: 339122) - (Lin: 5756, Col: 24, Chr: 339192): Unable to resolve tag [!MyFPS.Player.AnimationController,MyFPS.Game] to type from tag resolution or registered assemblies
Verbose:Compiling game assemblies...
Verbose:Game assemblies compiled...
Verbose:Generating MyFPS.Windows...
Verbose:Process dependencies for MyFPS.Windows...
Verbose:Restore NuGet packages for MyFPS.Windows...
Verbose:Loading Assets from Package [MyFPS.Windows.xkpkg]

Hmm, It looks like a nu-get error, did you have trouble at all installing 3.1 beta?


Fix access to array element

Accessing a topic /my_vec/data[0] of type std_msgs/msg/Int64MultiArray was not working (topic not plottable).
In ROS2 a sequence represents the array, not a TYPE[].
A _parse_type_sequence was created to replace _parse_type on one occasion.
Also, removed restriction "no field specified in topic name" as the code accepts topics of primitive types without setting the data field.

The patch fails when e.g. publishing a rqt_py_common/msg/Val message and trying to enter the topic /test/floats:
[ERROR] [get_message_class]: Malformed message_type: double[5]
Traceback (most recent call last):
  File "rqt_plot/lib/python3.6/site-packages/rqt_plot/plot_widget.py", line 272, in on_topic_edit_textChanged
    plottable, message = is_plottable(self._node, topic_name)
  File "rqt_plot/lib/python3.6/site-packages/rqt_plot/plot_widget.py", line 167, in is_plottable
    fields, message = get_plot_fields(node, topic_name)
  File "rqt_plot/lib/python3.6/site-packages/rqt_plot/plot_widget.py", line 150, in get_plot_fields
    for slot, slot_type in field_class.get_fields_and_field_types().items():
AttributeError: 'NoneType' object has no attribute 'get_fields_and_field_types'

The same works without this patch.

Also using rqt_py_common/msg/Val I am able to plot individual items from the sequence without a problem: /test/floats[3] shows a line for the fourth item in the message.
Please provide reproducible steps for the problem you are experiencing.

There's been no response to this patch in quite a while, so I'm going to close this out.  If you are still having problems, feel free to reopen and provide the requested information.


Comments are unreadable.

Comments are too faint on my screen with Alacritty terminal. It's even worse with a smaller font. Barely readable
edit: this is a mocha theme

To be honest I don't see an issue here. Colors are done within catppuccin palette and style guide. When I look at the screen You provided it is normally readable to me. Maybe it's the matter of Your monitor settings or its quality?

The style guide has since been updated to use overlay2 which offers better contrast against base which is used for backgrounds.


USHIFT-2239: Destroy VM when virt-install exits with errors

Ready for review. The failure is not related to the change.

/test metal-periodic-test

/test metal-periodic-test

FIPS failures are not related to the current change
/override ci/prow/metal-periodic-test

/cherry-pick release-4.15


[FEATURE REQ] publisher/extractor for arm64

Please describe the feature.
Currently the executables only support Intel Chipsets. which means that they cannot run on M1 Macs.
Add a step in the build to produce arm64 executables

@ross-p-smith  thanks for the suggestion. In the meantime feel free to submit a PR as we are currently working in other more pressing items.


exec()

Describe the bug

I want to create a lot of variables

but i can't
Steps to reproduce
Windows+R
cmd
enter
briefcase new
enter
enter
enter
.....
src/helloworld/app.py
![image](https://user-images.githubusercontent.com/96899001/233837735-9b867506-f56e-4a97-8766-9b561b9699ce.png)
cmd
cd helloworld
briefcase dev
error
Expected behavior

Screenshots
No response
Environment

Software versions:

Briefcase:

Toga:

...

Logs

Additional context
No response

So - this isn't a bug; but it's complex side effect of interpreter optimisation. As a result of using exec(), the asdf symbol isn't obviously in the locals, and as a result, the variable lookup is being optimised in a way that causes an error.
print(locals()["asdf"]) will work, because it's doing a dynamic runtime lookup in the locals dictionary.
That said: using exec in code is almost always a bad idea, as it's a massive security risk. There are much better ways to achieve what you're done here.
Here's 3 better ways to create instances in a loop:

Add the object directly to locals(): locals()[i] = toga.Label(...)
Assign the values as attributes of the app: setattr(self, i, toga.Label(...))
Use a dictionary to store your instances:

labels = {}
...
labels[i] = toga.Label(...)

Of these, (3) is the one I'd recommend, as it's the most direct approach.

thx

emmm...help

If those are the only 3 lines of code, then you're trying to set a dictionary key on a local dictionary called labels, then a key on a dictionary stored as a class attribute named labels. However, you haven't shown the line where you define the dictionary. In the example code I provided labels = {} is a critical piece - you need to define the dictionary before you can use it.


[bump] client: 2.0.0-internal.2.2.0 => 2.0.0-internal.2.2.1 (patch)

Bumped client from 2.0.0-internal.2.2.0 to 2.0.0-internal.2.2.1, in preparation for releasing that patch version

Merging while Client Packages build finishes to unblock next steps in the release - it passed the build step.


iut: add gpio iut test case for zephyr upstream

there're two commits. remove the useless merge commit.

there're two commits. remove the useless merge commit.

done


OLS-373: Link to Jira: handling OpenAI-related parameters

Description
Link to Jira: handling OpenAI-related parameters
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #OLS-373

/lgtm

/approve


[task] - Develop the python package for the data generator

Description of the task
Develop a python package that can be installed and run as a module to be used as a data generator
Expected behaviour
It should support:

Run as CLI
Download an image from a static URL
Publish the image to a Kafka topic, retrieved from the env variables
Set the number of milliseconds to sleep

Closing as already merged


Add MVVM baselines for Java

Note: These will be deleted once we switch flows.

Current coverage is 78.91% (diff: 100%)

Merging #532 into master will not change coverage

@@             master       #532   diff @@
==========================================
  Files           248        248
  Lines          9089       9089
  Methods           0          0
  Messages          0          0
  Branches       1184       1184
==========================================
  Hits           7173       7173
  Misses         1608       1608
  Partials        308        308

Powered by Codecov. Last update 184ab47...620f914

We currently have tests that run samplegen on the checked-in Discoveries and compare the output against the (previous) baselines, correct?
Could you please add similar tests that exercise the MVVM samplegen on the checked-in Discoveries and compare the output against these new baselines? Hopefully it's as easy as calling a common test harness with two new parameters: which languages to use MVVM for, and where the MVVM baselines are located.

Reduced to 3 files

OK, talked offline. We will skip adding separate tests for these baselines. When we switch over to Java MVVM, we will overwrite the current Java baselines with the MVVM java baselines, and the test will exercise that. If we need to revert, reverting will revert both the codepath and the baselines, so test would go back to the old baselines.
@saicheems tells me that locally he's been overwriting the codepath and the baselines with MVVM versions to ensure things pass the compilecheck, and they do.

LGTM


False positive TS6133 (declared but never used) report.

% tsc --version
Version 2.0.6

class SomeClass {
	private method = () => {

	}

	public handler() {
		const {method} = this;
		method();
	}
}

and then compile file: tsc <file> --noUnusedLocals
Expected
No errors
Actual
TS6133.ts(2,10): error TS6133: 'method' is declared but never used.

Similar https://github.com/Microsoft/TypeScript/issues/11324 ?

@wallverb actually duplicate


RDF mappings report doesn't display mappings with multiple predicate values

The RDF mappings report from #1521 displays a single predicate per Drupal field but the RDF mapping yaml allows multiple potential mappings, e.g. Drupal title mapping to dcterms:title (appears in report) and rico:name (doesn't appear in report).
/cc @mjordan

Resolved with https://github.com/Islandora/islandora/pull/782.


how to set up global settings?

Hi, I am new here. I have questions about how to find kinds of IDs that needed to be filled in global.py.
DAVINCI_TOKEN = [Token of Discord bot] ##where to find this token?
SERVER_ID = [Server id here] ##where to find this ID?
SALAI_TOKEN = [Token of the Account from which you paid MidJourney ] ## solved through other post
CHANNEL_ID = [Channel in which commands are sent] ##where to find this ID?
Besides, how to invite DAVINCI Bot to my server on Discord Website

Using this project supposes that you know how discord bots work.
Check this link to know how to create a bot, invite it to the server and get its token.
Once, you activate the developper mode (like said in the article) you can right click the channel and you can copy the channel ID. Same for ID of the server (which discord calls guildID).

thanks a lot! I have already solved this problem follow your instruction.


another handful of fixes

The individual commits should be mostly self-documenting.

While I don't mind removing most of the indirection, I find it a little more interesting to explicitly need to declare the maps yourself now before safe use (unless you use the ApplyConfig, obv). Weird tradeoff of being indirect and having the maps defined for you vs direct and if you use 'em directly them you'll run into issues. Looks like it shouldn't be a drama though given how we use them (gosh I wish Go just make()'d the maps for you when you created a struct, that'd make it so dang easy).

Great set of QoL fixes, thanks for the lovely PR

Yeah, the pattern I've been going for in general is to replace NewBazBat() with func (bb *BazBat) Initialize(), which I have been thinking of as replacing one call with another (i.e., forgetting to call NewBazBat() is a nil pointer dereference, and forgetting to call Initialize() is some analogous panic), but the wider golang community and the stdlib seem to prefer the NewBazBat pattern and I'm not sure why.
I asked in #go-nuts about that map behavior and they called it autovivification and said it was bad, and I remember being moderately convinced at the time but I don't remember their arguments. https://github.com/goshuirc/irc-go/pull/11 did some autovivification-like behavior on the IrcMessage object (the tag maps became private members and were initialized only during the first relevant SetTag call).


Add more information to docs

Added js include and basic html for widget to get started.
Ticket #22

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Implemented Elvis ValueExpression (#34)

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

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

4 files (not in diff) in ...singdata/metal/token were modified. more

Partials -4
Hits +4

6 files (not in diff) in ...tal/expression/value were modified. more

Misses -1
Partials -9
Hits +10

1 files (not in diff) in ...ata/metal/expression were modified. more

Partials -2
Hits +2

3 files (not in diff) in ...metal/data/selection were modified. more

Partials -3
Hits +3

3 files (not in diff) in ...rsingdata/metal/data were modified. more

Misses -9
Partials -7
Hits +16

2 files (not in diff) in ...io/parsingdata/metal were modified. more

Misses -1
Partials -1
Hits +2

@@             master        #35   diff @@
==========================================
  Files            68         69     +1
  Lines           754        763     +9
  Methods           0          0
  Messages          0          0
  Branches        159        160     +1
==========================================
+ Hits            680        726    +46
+ Misses           48         37    -11
+ Partials         26          0    -26

Powered by Codecov. Last updated by [394e937...11067c1][cc-compare]
[cc-base-branch]: https://codecov.io/gh/parsingdata/metal/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/parsingdata/metal/compare/394e937d3f2d1e2fd1a628ee707246e82bdd2b45...11067c16be4e5ca496c4732d696724b26aa64539
[cc-pull]: https://codecov.io/gh/parsingdata/metal/pull/35?src=pr


Use connectivity store to manage connections to endpoints

We have already several issues regarding fail over connections to endpoints, or tracking block production of our chain, I would like to aggregate those issues here, and formulate an idea for tackling these. I found the currently unused connectivity_store implemented by @azackmatoff. While it doesn't fulfil the all the specs, I believe that this approach is what we want.
Connectivity Store Specs:

Needs to know all RPC nodes of a network
Needs to track block production of the nodes and return a bestEndpoint which is the one with the highest best block number. This endpoint is used for all networking.
In case the bestEndpoint changes, it handles resubscription of all websocket subscriptions.
Needs to identify block production issues, aka if all nodes stop producing blocks
Needs to know when the app/phone itself is offline

Maybe specs:

Handle the extrinsic queue

I might suggest randomizing the updated endpoints instead of finding the BEST one and direct all traffic there by this choice

I think the extrinsic queue is a separate concern, shouldn't mix.
I think so too.
Do we need to test rpc endpoints to see if indexing is enabled? Or do we assume hardcoding good endpoints only?
I think we should hardcode in the beginning, as it is simpler. Yes, I think we should only use endpoints that have offchain indexing enabled. Good point.
Is the set dynamic? Can the user change the endpoint set manually?
I think we should not be dynamic in the beginning. User can choose IMO, but this is also an extension.
I might suggest randomizing the updated endpoints instead of finding the BEST one and direct all traffic there by this choice
This is a good idea, although I would rather do: randomize "good" endpoints, good implying that they are producing blocks and are within close range of the bestHeader number known by the store.


Act based on file type

On Hazel I love to sort my downloads based on Kind, is there a way by which I can do it with "organize" too ?

Hi @parsanoori, do you mean by filetype?
If so you can definitely do that with organize. Here's an example which will move all mp4s into videos and play all mp3s with vlc and then move them to audio.
  - folders: ~/Downloads/
    filters:
      - extension: mp4
    actions:
      - move: ~/Downloads/videos/

  - folders: ~/Downloads/
    filters:
      - extension: mp3
    actions:
      - shell: 'vlc --play-and-exit "{path}"'
      - move: ~/Downloads/audio/
      ```

@quintrino is right, often filtering by extension works firne. I'm in the process of adding a MIME type filter for this purpose so you can filter by videos / images / application data (Pull request #109)

This is now included in the newest version v1.10.
https://organize.readthedocs.io/en/latest/page/filters.html#mimetype


[Feature]

Description
Adding redirection to the icons like facebook,instagram,etc
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I have read the Code Of Conduct
[X] The changes don't break the code
[X] Please attach the screenshots and video of the development work once it is done

Please assign this task to me


Big decrease in hash rate with new kernel

So I swapped out the kernel of @bitspill's pool gominer with this one: https://github.com/robvanmieghem/gominer/commit/8056519afd8f659991115b3f888b120049d73480.
The hash rate with the old kernel at intensity 24 was steady at 222 MH/s.
Now with the new one it shows 155 MH/s, also at intensity 24.
Setting the intensity higher than 24 changes nothing. During all tests the nvidia control panel displayed 99% GPU usage.
My card is a MSI Nvidia GeForce GTX 660 (This one, specifically: https://www.msi.com/Graphics-card/N660_TF_2GD5OC.html#hero-overview)
My CPU is Intel® Core™ i5-4690K CPU @ 3.50GHz × 4
OS: Ubuntu 15.10 x86_64

@Fornax96 No offense but I am closing this issue as nvidia cards perform a lot better with the cudaminer and opencl improvements mostly benefit amd cards.


feat(parameter): Add sortFacetValuesBy

Coverage decreased (-0.08%) to 78.204% when pulling 3b7697f2c3f4a201301b1a711ae694c0fdfe7d18 on feat/sortFacetValuesBy into 5788c7a47bf361758f41193e3bb78a85876d06f4 on master.


ERROR: failed to load model

Hello. I was trying to fold a ssDNA and I get the above error.
Running HHblits
Running PSIPRED
Running hhsearch
Running RoseTTAFold2NA to predict structures
Running on GPU
ERROR: failed to load model
Done
Any advice is appreciated.

Hello, GoldEagle93!
I am not part of the development team. But maybe it would be useful to share my thoughts while you wait for an official response. The fact that your error message just says "failed to load" without any PyTorch-specific errors leads me to think that the problem may be a missing file. Could you please confirm if you have the latest version installed run_RF2NA.sh a file that includes the following on line 130:
----model $PIPEDIR/network/weights/RF2NA_apr 23.pt \

Also, could you please check that RF2NA_apr 23.pt the file exists in your network/weight folder.
If my assumptions are wrong, then it's best to wait for further instructions from the developers. However, I think this check may be useful.
Best

Hello,
This is correct.  the network/weights/ folder needs to contain a file "RF2NA_apr 23.pt"

I do have that file in the weights folder. The rest of my installation is from the early days though.


rendering data and templates (rendering module)

Rendering module
Add rendering views (fetching and processing text, then rendering it onto templates) so they can be returned to the controller.
Public methods

[ ] Render view (view name)

this returns template view for now

Closed in #24
Renderer pulls selected view from the theme, the styles are parsed correctly


support mount dataset with subpath

Signed-off-by: xliuqq<EMAIL_ADDRESS>
Ⅰ. Describe what this PR does
support mount dataset with subpath（csi and sidecar）.
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
modify existed unit test, add TestGetMountedDatasetSubPath and TestInjectPodWithDatasetSubPath.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

BTW, are we going to support fuse sidecar mode in this PR? Or it is only for CSI mode? @xliuqq

/test fluid-e2e

/test fluid-e2e

/lgtm
/approve


Authorization Endpoints Broken

Request
Type: Get
URL: https://anilist.co/api/auth/access_token
Params:

grant_type = client_credentials
client_id = my client id
client_secret = my client secret

Response
Status: 404 - Not Found
Content: '{"error":{"status":404,"messages":["API route not found."]}}'
Oauth also appears to be broken. My website directs them to anilist's oauth flow where it asks them to hit approve or deny, but upon hitting approve your website redirects them to another endpoint on your end which is expecting a parameter that isn't passed.
They get redirected to:
http://anilist.co/api/auth/authorize?redirect_uri=https%3A%2F%2Fangelbot.vertinext.com%2Foauth%2Foauthcallback%2Fanilist&state=MY_STATE&response_type=code&client_id=MY_CLIENT_ID&grant_type=authorization_code&scope=
This page simply returns:
{"status":401,"error":"unauthorized","error_message":"Access token is missing"}
Instead of being sent back to my side so we can complete the flow and obtain an access token.

I might be wrong but I'm pretty sure its a post request not a get request for /api/auth/access_token?

It looks like last night's update has broken quite a few things.
When using the PIN flow, when you click accept, it tells you that the form will be sent insecurely. It looks like SSL somehow broke here. That message did not show up before.
Following the authentication flow as described in the documentation seems to be broken now too.
    error =     {
        error = "invalid_request";
        "error_description" = "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the \"grant_type\" parameter.";
    };
}

I've also noticed some errant behavior (or at least different from before).
When using a refresh token to re-authenticate, I am able to successfully get a new access token. However, a new refresh token is also returned, which is a new behavior. Previously, refresh tokens were (effectively) unchanging, and the same one could be used repeatedly for gaining new access tokens. This was extremely useful in testing applications (as temporarily hardcoding a refresh token is an easy and effective way to test a service layer, as no user interaction is required).
Is this an intended change? Either way, would it be possible for similar functionality to be added back to the API? I would definitely like to avoid having to manage refresh tokens when doing simple debugging and testing, if possible.

The new refresh token should be the same as your current one, you should be able to just ignore it.

In my testing in Postman, I've observed that executing an auth request with a refresh token will work the first time (using a given refresh token), and fail all times after that, giving the following error.

Also, just to make sure that my request is well-formed, I'm attaching a snip of what I've been sending.

Oh, so the parameters to request the access token have been changed to POST?

@AndyIbanez All of my auth methods have been using POST, both before and after the update last night, and I haven't experienced any problems (other than the refresh token one listed above).
I'm not sure what the intended verb is for them, but it seems like POST seems to be working.

Yeah before last night's update, it was a POST request but the parameters were in the URL. Double checking my code (that worked fine until yesterday's update), it looks like that is the case. I will move the parameters to the body later to see how it goes

Sending the data to the auth endpoints as form data instead of url params works. The OAuth flow seems to be working now too. So it appears that the answer is that the auth endpoints switched to post data.

I'll look into getting this fixed, sorry about this all.

@joshstar I'm not sure if this is due to changes that you may have pushed out in the past half hour or so, but it looks like the refresh token that gets returned after authenticating with a refresh token is the same as the one used. However, I am still unable to auth more than once (using that same refresh token gives the "refresh token is invalid" error).
Either way, thanks for looking into this.

@joshstar so it's going to go back to passing the parameters in the GET request? Just checking to see if I should change my logic.

Refresh token should be now working again, you may need to re-auth if you've tried to generate another refresh while it was bugged.
@AndyIbanez As far am I'm aware its always been a POST request, unless I'm looking at the wrong thing I can't find any code/docs stating it was a GET request. It might have just been that it accepted url parameters even though it was a POST request, if that was the case add back that functionality.

+1, It's returning 400 Bad Request for me saying grant_type parameter is invalid even thought I've added client_credentials

@joshstar
Currently I can't pass the access token as a Header. But it works when I do pass the access token as url parameter.

Should be
Authorization: Bearer {{accessToken}}

@JoshStar said:
@AndyIbanez As far am I'm aware its always been a POST request, unless I'm looking at the wrong thing I can't find any code/docs stating it was a GET request. It might have just been that it accepted url parameters even though it was a POST request, if that was the case add back that functionality.

It's fine as it is. It's better to make it a POST with URL encoded parameters. If anything, the way it was before was a little odd (making it a POST request, but sending the parameters in the URL).
I was just asking to see if I should consider my change as permanent or temporary.

What's the consensus on the refresh token going to be? Is it going to change every hour or is it going to stay the same permanently?
My tests run fine one hour and then they will break later. It all looks related to token refreshing.

@AndyIbanez I just attempted to hit the authorization endpoint with a refresh token that was generated roughly 8 hours ago, and I was able to get a new access token. That, along with what I believe @joshstar was implying, leads me to believe that they are now effectively permanent.

As far as I'm concerned I'm good with this. Post endpoints want form data, the authorization endpoints are working with those changes, not having expires is something I can easily deal with, OAuth is working great now and I've got my service back up and working for the end users. Unless we want to keep this open for extra discussion, I think it's good to close since we know how to fix it.

Regardless of whether is makes more sense or not this way I don't think a 'stable' api should have any kind of breaking changes, especially like this. I'm working on allowing oauth credentials to be sent in url parameters again like before the update, payload will still be accepted also. Should be live later today.
Sorry if I've been a little short tempered, this update did not go any where as smoothly as I'd hoped.

Okay fix is now live. refresh_token won't be returned went it shouldn't be either like before the update.

@JoshStar said:
Regardless of whether it makes more sense or not this way I don't think a 'stable' api should have any kind of breaking changes, especially like this.

I don't disagree, but keep in mind that when passing sensitive data in the URL, it can leak in more places than a request body could. Anything that can log visited URLs (this includes some routers) will include the whole URL query, and will include the access token (and refresh token when used) with it. Also think of school/workplace proxies and unsecured Wi-Fi.
So if the credentials can be sent in the URL, I encourage you to push people to stop doing that and use the request body instead.
It's a small risk IMO, but it's a small risk that can be easily avoided.

The access_token endpoint seems to be broken again.


Create doublyLL.cpp

doublyLL.cpp : Add Doubly LinkedList
Implementation of doubly linked list using C++
Closes #513

Thanks for contributing!


Custom EditorGUI DirectInteractorEditor is hiding XRDirectInteractor properties of XRI > 2.0.0

I was wondering why newer options like "Allow Hovered Activate" which I like to use do not show up.
Then I realized VR Builder provides a custom Editor, which seems to be outdated.
Why is there a custom editor at all in the first place?

Hi, thanks for reporting this issue! The first versions used a XRIT 1.0 prerelease version, that could be the reason there are custom editors for the interactors/interactable. Those editors might well be obsolete now, I'll investigate.

The editor didn't seem useful, and will be removed in the next version. Thanks!


[hotfix] InputGroup dropdown button's missing arrow

Using backgroundColor specified over background prevents the arrow (which is coming from a backgroundImage) from being hidden on the dropdown button inside of an InputGroup.

It might be worth it checking the code for more possible occurrences of this same bug.


Execution failed  [WinError 267] The directory name is invalid

On Windows 10 I'm getting WinError 267 every time the linter is run. I've determined that this is due to the --shadow-file option as the temp file it points to doesn't seem to exist.
For example:
mypy --shadow-file c:\user\username\Desktop\test.py c:\users\username\appdata\local\temp\tmpaz57pm.py c:\user\username\Desktop\test.py
will fail because the temporary file "tmpaz57pm.py" doesn't exist.
I'm not sure what is supposed to be responsible for creating the temporary file and why it isn't working. There doesn't seem to be an option in the linter settings to remove the --shadow-file option either.

The temporary file is created by SublimeLinter and then unlinked after its usage so it's hard to soo it by yourself.
But it says "directory name is invalid" and I don't see any naming issues here.  Did you maybe set a working dir, maybe even manually?  What is actually the output, debug info here?  I don't think we will just write mypy (t.i. not an absolute path plus ".exe") here.

The console in Sublime says [WinError 267] The directory name is invalid, but running the exact same command in the Windows command prompt gives the error mypy: can't read file 'C:\Users\username\Desktop\text.py': No such file or directory
The exact command shown in the Sublime console is C:\Users\username\AppData\Roaming\Python\Python38\Scripts\mypy.EXE --cache-dir c:\users\username\appdata\local\temp\SublimeLinter-contrib-mypy-username7dk9_t8ff6e7d --follow-imports silent --show-error-codes --show-column-numbers --hide-error-context --no-error-summary --shadow-file C:\Users\username\Desktop\test.py c:\users\username\appdata\local\temp\tmpj0_g1l.py C:\Users\username\Desktop\test.py
The command succeeds from the command prompt if I remove the --shadow-file option or if I manually create the temp file it's looking for (c:\users\username\appdata\local\temp\tmpj0_g1l.py in this case).

Ah, I (kind of) figured it out. For some reason it was using the working dir C:\Users\username\Documents\Python even though I didn't have any working dir set in my SublimeLinter settings. adding
{ 	"linters": { 		"mypy": { 			"working_dir": "" 		} 	} }
to my user settings fixed the problem. Still curious about where it was getting that directory from though.

Maybe you find it later.  Setting working_dir to the empty string, null, or not setting it at all should be indistinguishable.   If you use projects a wrong folder name in there could be the cause.   grepping the whole Sublime Text installation under c:\users\...\Roaming\Sublime Text 3 for C:\Users\username\Documents\Python might find something.

Turned out it was an old project file that had gotten moved but still had the old folder path C:\Users\username\Documents\Python in it. Clearing that up fixed the issue completely and the blank/null working_dir in the linter settings is no longer necessary. Thanks for the help!

🤹


multiple local notification

versions used:
"react": "0.52.0",
"react-native": "0.52.0",
"react-native-fcm": "^14.1.0"
can i looping, to show FCM.presentLocalNotification?
because when i looping this, only show one notification, thanks :)

you have to give different notification id?

ok thanks, it solved my problem


Question: Where do you get the asset images?

First off this is great! Been getting into Core Space myself lately and saw this in the newsletter so had to check it out.
I'd love to help contribute, I have a few ideas / ways to possibly expand, main thing I was wondering is how you are getting the asset images. They definitely don't seem scanned. I ask because I think this could be a great app to extend by including Skill icons + descriptions along with weapon icons and their meanings (something I'm constantly flipping through the book for).

Hi, I got the original files from Stew himself :) I sliced the necessary icons and packed them in a single file. The skill icons are on my todo list. I'm currently finishing the post game Trade Phase, listing all the items available for sale in the different trading posts.


swipe only with the arrow

is it possible to swipe only with the arrows ?

Yes,
by adding:
scrollEnabled={false}

@aliouchka did that solve your issue ?

Yes, Thank you :)
Le 2 août 2016 4:41 PM, "Guillaume de Sagazan"<EMAIL_ADDRESS>a
écrit :

@aliouchka https://github.com/aliouchka did that solve your issue ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/leecade/react-native-swiper/issues/202#issuecomment-236925883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB7QmiEihH_aUYE-SCC0_4kJ3dZW9JA1ks5qb1cwgaJpZM4JXKs6
.


Refactor: Rename lang_detector() to langdetect()

This PR renames the lang_detector() function to langdetect() for improved readability and alignment with standard naming conventions across the API.
Changes:
Renamed lang_detector() to langdetect().
Updated references in documentation and example code.

@shrijayan Thanks for the PR, the idea isn't wrong however right now API stability is the priority and I don't want to make a change just for the sake of it.
Please also note that tests would have to be updated and deprecation warnings set. The corresponding functions would also have to be removed at a later time in order to give users time to adapt, see issue #152. All in all it's not worth it.
So I'm refusing the PR, feel free to focus on the lemmatization algorithms or rules if you're interested.


BUG OCPBUGS-5465: Fix SLAVE port going to master or listening state

events were not sent out during this transition
add  3 more states
SLAVE to MASTER"
SLAVE to GRAND_MASTER
SLAVE to LISTENING
moves to HOLDOVER state

/jira refresh

/jira refresh

/jira refresh