Check/update table schema

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
[na] The description lists all applicable issues this PR seeks to resolve
[na] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description
This PR modifies the UpdateSQLFeedsMain entry class as follows:

It checks for missing tables/columns and columns with incorrect types in the namespaces referenced in the projects listed in a deployment.
It prints a report of issues and statements to execute to upgrade each namespace

Command-line options for UpdateSQLFeedsMain are changed as follows:

the parameters for SQL statements and filters are removed - SQL statements are automatically generated by the new SqlSchemaUpdater class.
a new parameter is added to select the kinds of namespaces (EDITOR, SNAPSHOTS, VERSIONS) to upgrade. If a database has many feed versions, I recommend to initially upgrade editor and snapshot namespaces (use option EDITOR-SNAPSHOTS) before upgrading feed versions (see remarks).

Behind the scenes / other remarks:

New SqlSchemaUpdater class and new related classes that perform the work.
Tests for checking tables and columns and performing an upgrade.
Importing a feed version or a snapshot with a missing table (e.g. feed_info for old feeds) into the editor seems to work, so we don't need to upgrade them all, hence the suggestion to only upgrade editor/snapshot namespaces.
Importing a feed version or a snapshot in which the column types is wider from current column types (e.g. from string to integer) may fail, so I would still recommend to migrate all feed versions. Yes, only the most recent feed version can be imported into the GTFS editor, but if users delete certain feed versions and attempt to edit from older ones, this could result in an import failure into the editor.

Items to resolve:

Does it play well with changes from #439?

Report excerpts (with namespaces redacted):
[...]
Project 511 SFBay
- FeedSource Napa 1f489355-xxx...
      - editor: chwt_xxx...
          Missing table: translations
          Missing table: attributions
          Issues in table: feed_info
            Missing column: feed_id
            Missing column: default_lang
            Missing column: feed_contact_email
            Missing column: feed_contact_url
          Issues in table: routes
            Missing column: continuous_pickup
            Missing column: continuous_drop_off
          Issues in table: stops
            Missing column: platform_code
          Issues in table: pattern_stops
            Missing column: continuous_pickup
            Missing column: continuous_drop_off
          Issues in table: transfers
            Incorrect type for column: transfer_type expected: smallint actual: varchar
          Issues in table: stop_times
            Missing column: continuous_pickup
            Missing column: continuous_drop_off
  - Snapshots (1/25 with valid namespace)
    - test snapshot: smuc_xxx...
          Issues in table: feed_info
            Missing column: feed_id
          Issues in table: transfers
            Incorrect type for column: transfer_type expected: smallint actual: varchar
- FeedSource Rio Vista Delta Breeze 1ff21034-xxx...
      - editor: jjbv_xxx...
          Issues in table: stop_times
            Missing column: fare_units_traveled
            Incorrect type for column: continuous_pickup expected: smallint actual: varchar
            Incorrect type for column: continuous_drop_off expected: smallint actual: varchar
[...]
-- Overview of changes that should be performed:
[...]
-- 511 SF Bay/Napa/editor
CREATE TABLE chwt_xxx.translations ... (using Table.createSqlTable)
CREATE TABLE chwt_xxx.attributions ... (using Table.createSqlTable)
ALTER TABLE chwt_xxx.feed_info ADD COLUMN IF NOT EXISTS feed_id varchar, ADD COLUMN IF NOT EXISTS default_lang varchar, ADD COLUMN IF NOT EXISTS feed_contact_email varchar, ADD COLUMN IF NOT EXISTS feed_contact_url varchar;
ALTER TABLE chwt_xxx.routes ADD COLUMN IF NOT EXISTS continuous_pickup smallint, ADD COLUMN IF NOT EXISTS continuous_drop_off smallint;
ALTER TABLE chwt_xxx.stops ADD COLUMN IF NOT EXISTS platform_code varchar;
ALTER TABLE chwt_xxx.pattern_stops ADD COLUMN IF NOT EXISTS continuous_pickup smallint, ADD COLUMN IF NOT EXISTS continuous_drop_off smallint;
ALTER TABLE chwt_xxx.transfers ALTER COLUMN transfer_type TYPE smallint USING transfer_type::smallint;
ALTER TABLE chwt_xxx.stop_times ADD COLUMN IF NOT EXISTS continuous_pickup smallint, ADD COLUMN IF NOT EXISTS continuous_drop_off smallint;
-- 511 SF Bay/snapshot test snapshot
ALTER TABLE smuc_xxx.feed_info ADD COLUMN IF NOT EXISTS feed_id varchar;
ALTER TABLE smuc_xxx.transfers ALTER COLUMN transfer_type TYPE smallint USING transfer_type::smallint;
[...]
-- 511 SF Bay/Rio Vista Delta Breeze/editor
ALTER TABLE jjbv_xxx.stop_times ADD COLUMN IF NOT EXISTS fare_units_traveled integer, ALTER COLUMN continuous_pickup TYPE smallint USING continuous_pickup::smallint, ALTER COLUMN continuous_drop_off TYPE smallint USING continuous_drop_off::smallint;
[...]

A few changes are required. Also, it looks like class comments are being wrapped around 80 characters (see SqlSchemaUpdater). Is this correct? Other comments go up to the vertical line on the right of the editor... perhaps yours is at 80 chars?!

I tend to break sentences so that the pieces that go together are on the same line, but thanks for pointing out those that exceed the editor right gutter.


feat: init functions

@superbogy I'm gonna merge this, if there is other update needed we can publish with a new version.


Add warning to Start-PSPester if Pester module not found

Currently, if a user does not clone with the --recursive flag or run
git submodule update --init, Start-PSPester will fail to run due to
the Pester module missing. While the errorhints at the Pester module not
being found, there is no suggested way of fixing the issue presented to
the user.

Ancestor of #5069. Had an issue with a deleted submodule, so I closed this and made a new PR.


feat(k8s/binding,k8s/data,k8s): add a binding control loop

Fixes #17

Current coverage is 56.68% (diff: 47.05%)

Merging #33 into master will decrease coverage by 2.13%

@@             master        #33   diff @@
==========================================
  Files            12         14     +2
  Lines           153        187    +34
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits             90        106    +16
- Misses           54         70    +16
- Partials          9         11     +2

Powered by Codecov. Last update 8fce37e...9b89c14

@arschles I know there are some open questions surrounding deletion of different resource types, but I don't think the matter of whether we must unbind when a binding is deleted is in question, is it? Can I suggest a delete handler be added to this PR?

@krancour I'd like to get this PR merged so we can move on to testing steward-cf. I've captured the binding deletion logic in https://github.com/deis/steward-framework/issues/45

@arschles if you can either comment on or act on https://github.com/deis/steward-framework/pull/33#discussion_r88280778, then I think this LGTM.

@krancour I addressed that comment with https://github.com/deis/steward-framework/commit/1d19b5cf2fd43e07d1be442b6a78f9d6b7277e2e


Question: Why use this way expose webapi?

as title. what kind scenario use this way better? 😄

Publish the application logic layer directly as webapi.


WFLYCC0034: Closing leaked controller client after upgrade to 1.1.0.Alpha1

I've just upgraded the Wildfly Maven Plugin version in Hawkular Metrics to make use of the new skip attribute in start and shutdown goals.
It works fine, except that I get this warning at the end of the build (when the goals are not skipped, of course):
WARN: WFLYCC0034: Closing leaked controller client
WFLYCC0030: Allocation stack trace:
at java.lang.Thread.getStackTrace(Thread.java:1552)
at org.jboss.as.controller.client.impl.RemotingModelControllerClient.<init>(RemotingModelControllerClient.java:74)
at org.jboss.as.controller.client.ModelControllerClient$Factory.create(ModelControllerClient.java:494)
at org.jboss.as.controller.client.ModelControllerClient$Factory.create(ModelControllerClient.java:200)
at org.wildfly.plugin.common.AbstractServerConnection.getClient(AbstractServerConnection.java:157)
at org.wildfly.plugin.server.StartMojo.execute(StartMojo.java:217)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

See https://travis-ci.org/hawkular/hawkular-metrics/builds/52765806#L1780
It only happens when building the whole project. It is a multi-module project and two sub-modules use the plugin for integration testing.
When only one of the sub-modules using the plugin is built, this warning does not show up.
Any idea?

Yeah looks like I'm not closing the connection. It's a bug, but it shouldn't be a huge deal.

Fixed as part of PR #35

Thanks for fixing issue. I'll try the changes as soon as the new version is
released.
2015-03-13 23:30 GMT+01:00 James R. Perkins<EMAIL_ADDRESS>
Closed #31 https://github.com/wildfly/wildfly-maven-plugin/issues/31.
—
Reply to this email directly or view it on GitHub
https://github.com/wildfly/wildfly-maven-plugin/issues/31#event-252788243
.

Hi @jamezp , do you plan to release an Alpha2 or GA? Do you know when you'll have time to do it?

I'll try to do an Alpha2 this week. I want to change as much as I can before GA.

Would you mind to announce it on Wildfly dev mailing list? Or replying
here? I'll give it a try.
2015-03-23 19:18 GMT+01:00 James R. Perkins<EMAIL_ADDRESS>
I'll try to do an Alpha2 this week. I want to change as much as I can
before GA.
—
Reply to this email directly or view it on GitHub
https://github.com/wildfly/wildfly-maven-plugin/issues/31#issuecomment-85131269
.

Alright Alpha2 has been released.

Thanks a lot! It works fine with Hawkular Metrics.


Add SECURITY.md

Hey there!
I belong to an open source security research community, and a member (@aravindd007) has found an issue, but doesn’t know the best way to disclose it.
If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)

Hi @JamieSlome,
A security policy has been created. Thanks for pointing it out!


/lib64/libc.so.6: version `GLIBC_2.18' not found Serverless

Unable to import module 'handler': /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /var/task/minify_html.cpython-36m-x86_64-linux-gnu.so)

I'm running an Aws lambda function using serverless with DockerizePip=True
A quick search in google didn't fetch me any known fixes.
edit:
I've stopped using this, can't fix it.

It sounds like the GNU C library is missing. It might be located in a different place; try doing a root file search and updating LD_LIBRARY_PATH. If it's not installed, you'll probably need to install it. Some cursory Google searches did come up with very similar situations and potential solutions (note I haven't tested them myself):
https://bitsanddragons.wordpress.com/2018/04/11/importerror-lib64-libc-so-6-version-glibc_2-18-not-found-on-centos-7/
https://stackoverflow.com/questions/33655731/error-while-importing-tensorflow-in-python-2-7-in-ubuntu-12-04-glibc-2-17-not
If you need further help, provide more details such as the environment, how it was installed, Python version and path, etc.

It sounds like the GNU C library is missing. It might be located in a different place; try doing a root file search and updating LD_LIBRARY_PATH. If it's not installed, you'll probably need to install it. Some cursory Google searches did come up with very similar situations and potential solutions (note I haven't tested them myself):
https://bitsanddragons.wordpress.com/2018/04/11/importerror-lib64-libc-so-6-version-glibc_2-18-not-found-on-centos-7/
https://stackoverflow.com/questions/33655731/error-while-importing-tensorflow-in-python-2-7-in-ubuntu-12-04-glibc-2-17-not
If you need further help, provide more details such as the environment, how it was installed, Python version and path, etc.

thanks for the help @wilsonzlin
I'm too lazy to continue this issue.
I'm too unfamiliar with gnu c stuff.
I was using this minifier along with another one. It was working really fine outside of Aws lambda fn.
Although it was useful to optimize the email further, I'm happy even without this for now.

thanks for the help @wilsonzlin
I'm too lazy to continue this issue.
I'm too unfamiliar with gnu c stuff.
I was using this minifier along with another one. It was working really fine outside of Aws lambda fn.
Although it was useful to optimize the email further, I'm happy even without this for now.

For anyone having this on AWS (probably applies to Vercel too), then this issue is relevant pertaining to the included glibc version:
https://github.com/aws/aws-lambda-base-images/issues/59


Fedora 22: "Package 'xext', required by 'xinerama', not found" when compiling

I get the following error when running scons platform=x11
scons: Reading SConscript files ...
sh: i586-mingw32msvc-gcc: command not found
sh: x86_64-w64-mingw32-gcc: command not found
sh: i686-w64-mingw32-gcc: command not found
Package xext was not found in the pkg-config search path.
Perhaps you should add the directory containing `xext.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xext', required by 'xinerama', not found
OSError: 'pkg-config xinerama --cflags --libs' exited 1:
  File "/data/thecodethinker/godot/SConstruct", line 223:
    detect.configure(env)
  File "./platform/x11/detect.py", line 127:
    env.ParseConfig('pkg-config xinerama --cflags --libs')
  File "/usr/lib/scons/SCons/Environment.py", line 1579:
    return function(self, self.backtick(command))
  File "/usr/lib/scons/SCons/Environment.py", line 597:
    raise OSError("'%s' exited %d" % (command, status))

I've tried adding the xext.pc path to PKG_CONFIG_PATH but it doesn't change the error.
Any ideas?

It seems the groupinstall i used installed the 32bit xext and not the 64bit one.
Installing the 64bit lib works.


MergeLog needs the configuration of the node to be opened

Hi, Ale. Have set restricted rules on the configuration. Now to execute the nodes, it is necessary to open the Configuration Node Dialog.


Add ST_DWithin that casts to geography

To allow searching distance in meters

I ran into this issue tonight. I'm not entirely sure why it doesn't work when others do.


⚠ Processors has degraded performance

In 1644cb5, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 45 ms

Resolved: Processors performance has improved in 1566e89.


Angular/Typescript client generated with many trailing whitespaces and empty lines

Running nswag 10.6 to produce a Typescript / Angular client from swagger.json produces a file full of trailing whitespaces and empty lines.
Version:

NSwag command line tool for .NET 4.6+, toolchain v10.6.6324.32485 (NJsonSchema v8.33.6323.36213) (x64)

Here is a screenshot of a modified file due to the addition of these trailing whitespace.

I'm currently working on replacing the template engine for all templates (NSwag and NJsonSchema). During this endeavor I will also clean up white spaces...


Documentation request - any limitations and some example suggestions

This is a really exciting package, thanks so much for putting it together. I think it fills a critical gap in the ecosystem.
Just a couple of suggestions in case it is helpful:

An example showing theming options would be great (https://tabulator.info/examples/5.5#theming)
An example showing form validation https://tabulator.info/examples/5.5#validation
An example showing the download/copy pasting options https://tabulator.info/examples/5.5#clipboard and https://tabulator.info/examples/5.5#download
A list of any known functionality that users shouldn't expect to work

Hi @iainmwallace
Thanx for the input, we definitely need to add more examples.


looking forward to see this awesome widget in jcenter/maven

Thanks for your great job.
Looking forward to see this awesome widget in jcenter/maven, and I can integrate LabView with gradle.
Thanks

thanks, please wait a few days...  :)

You can also use it directly from jitpack

thanks, i'll try tonight~~~

@smeegoan tks buddy, already add gradle maven support.


Clean automata-learning code, enable used, and remove unused tests

There is still some junk code lying around which we should get rid of. Also, there are some tests that are unused, and some tests that are just plain ignored. We should deal with both and get the learning library up to par with the other two.

This actually depends on #42.


"Roles not created by" may be incorrect

When adding a new group under "Users & Authentication > Groups", there is a list of roles that says "Roles not created by {vendor}":
https://github.com/rancher/dashboard/blob/fec4ca64b73e2eb2fa0fee1b8d857c834e3c6537/shell/assets/translations/en-us.yaml#L4606

This, to me, sounds backwards. This is a custom role that I created. Should the "not" be removed here?

I think this was originally meant to be "Rancher", to distinguish them from original, built in roles.
We would need to review if that sentiment should stay and if so not reference the vendor string.

Worth noting: I've customized the name of my system, so it does not say Rancher. That makes it even weirder, since its really my customized system it's talking about: "Roles not created by Foo".


wait-on ignore 403 response code

I have a workflow with the (for this example relevant) steps:
- name: Start BE containers for E2E tests
  run: ./gradlew backendDockerRun --stacktrace

- name: Cypress run UI tests
  uses: cypress-io/github-action@v2
  with:
    start: npm run mock-server, npm run start
    working-directory: proj-web/webapp
    wait-on: 'http://localhost:4200, http://localhost:8060, http://localhost:8070, http://localhost:8080, http://localhost:8090'

The first step starts multiple backends in different docker containers.
The cypress action should then wait for the backends to be running on ports 8060, 8070 etc.
The problem is that the backends return a 403 Forbidden when waited on and the cypress action's wait-on times out.
Technically a 403 means that the server is reachable and thus wait-on should succeed.
Maybe a flag wait-on-ignore: 403 would help with this problem.
Or is there already a solution for this?

I doubt this is a good feature to implement. Most of the time if I need something like this, I would provide a "ping" API endpoint to check


<class 'custom_components.midea_ac_lan.sensor.MideaSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using;

HA core version
2024.1.5
Intergration version
v0.3.22
Device type and model
Air Conditioner 00000Q12
Used App
NetHome Plus
The description of problem
Hello,
I'm getting error with Midea AC LAN integration, is there any solution to fix this ?
The logs
Entity sensor.153931628088393_current_energy_consumption (<class 'custom_components.midea_ac_lan.sensor.MideaSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
Entity sensor.152832116460949_current_energy_consumption (<class 'custom_components.midea_ac_lan.sensor.MideaSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues

Same here. I am trying to find a way to monitor the power consumption of my Midea ACs (Midea Breezeless and easy pro) without success. I just saw the same warning in my logs. Did you find any solution on this?

HA core version
2024.2.1
Integration version
v0.3.22
Device type and model
Air Conditioner 00000Q13 (0)
Air Conditioner 00000Q1F (0)
Used App
NetHome Plus
Same here too !
The log
Entity sensor.142936511726741_current_energy_consumption (<class 'custom_components.midea_ac_lan.sensor.MideaSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
could you provide a solution?


Respect custom morph types

This adds support for custom morph map settings in Laravel.
Could be something for v2 release.
Currently, the morphed types are saved with the FQDN.
Now a configuration like this:
use Illuminate\Database\Eloquent\Relations\Relation;

Relation::morphMap([
    'user' => \App\User::class,
    'subscription' => \Laravel\Cashier\Subscription::class,
]);

..will result in database entries like, e.g order_items:
+----+----------------+--------------+--------------+----------+
| id | orderable_type | orderable_id | owner_type   | owner_id |
+----+----------------+--------------+--------------+----------+
|  7 | subscription   |            3 | user         |        1 |
+----+----------------+--------------+--------------+----------+

@sandervanhooft in case you consider this PR, there should be a additional 2.x branch. I can add a UPGRADE file if necessary.

Hi @mmachatschek ,
Can you elaborate on what issue this is solving / feature this is adding? Haven't worked with MorphMaps before.

@sandervanhooft Let's say you set the following configuration in Laravel:
use Illuminate\Database\Eloquent\Relations\Relation;

Relation::morphMap([
    'user' => \App\User::class,
]);

This tells Eloquent to use the string user as *_type on the morph table instead of App\User
In cashier-mollie you set the *_type e.g. owner_type with the get_class($owner) instruction directly. This way the tables contain the FQDN so App\User.
When querying these tables with Eloquent, you wont be able to find any entries because the owner_type is set to the FQDN.
A even better solution would be to not directly Model::create instead create a new instance of the model and associate the corresponding morph relation. I like this approach much more, so I gladly update the PR again.
e.g.
use App\User;
use Laravel\Cashier\Credit\Credit;

$owner = User::first();

$credit = new Credit([
  'currency' => 'EUR',
  'value' => 1000
]);

$credit->owner()->associate($owner);
$credit->save();

Custom morph types https://laravel.com/docs/master/eloquent-relationships#custom-polymorphic-types

@sandervanhooft
Simply put, the problem that the MorphMap solves the problem is the pain of refactoring model names (or namespaces) when using morph relationships.
Example: I move my App\User to the App\Models\User namespace. Using the get_class() implementation, my order items will now not be associated with my users anymore 💥 .
With a MorphMap, I can change
Relation::morphMap([
    'user' => \App\User::class,
]);

to
Relation::morphMap([
    'user' => \App\Models\User::class,
]);

and then everything will work again (of course, granted that I used the MorphMap when the OrderItems etc. were created).

@sandervanhooft If you want me to pick up the work mentioned here, let me know:

A even better solution would be to not directly Model::create instead create a new instance of the model and associate the corresponding morph relation. I like this approach much more, so I gladly update the PR again.

@sandervanhooft If you want me to pick up the work mentioned here, let me know:

A even better solution would be to not directly Model::create instead create a new instance of the model and associate the corresponding morph relation. I like this approach much more, so I gladly update the PR again.

Can you explain why you think this is better? I only see two DB calls instead of one?


Added proper display of locations to avoid confusions

Displaying more location info in the location summary in app inspector.

All looking swell now. Merging.


server software installation instructions

Hi,
I cannot find the instructions to install the opencollective server software on my own machines. Could you please let me know where they are ? Something similar to the Discourse Installation HOWTO.
Thanks in advance!

The Open Collective software is Open Source but its only supported mission is to be operated on Open Collective servers. It's tailored highly specifically to this needs.
This is the reason there is no steps to install it on your own server. You're free to try but you will likely hit many problems.
If you're interested in installing it for development purpose, there are steps in https://github.com/opencollective/opencollective-api and https://github.com/opencollective/opencollective-frontend explaining how to do so.

That makes Open Collective a centralized service that exclusively depends on a single legal entity. Should this entity fail, the Open Collective users will not be able to continue to use the software. In my opinion this is a critical bug and should be fixed. Part of the Open Collective mission is to enable user independence, not to tie them to an exclusive relationship with a single organization.
Please re-open this issue and tag it as a bug. It may take years before it is fixed. But it should not be dismissed as an issue that is not worth addressing.
Thanks !

I closed it because it was duplicate. Feel free to open a new one and re-articulate what you have been saying here.

Part of the Open Collective mission is to enable user independence

Where is that coming from?

I closed it because it was duplicate.

Where is the duplicate ?

Part of the Open Collective mission is to enable user independence

Where is that coming from?

I'm not sure if you're joking or not :-) In any case, here it is. The Open Collective values read:

Openness: We work in the open, use public slack, our code is public. We strive to be reachable and welcoming.

The code being Open Source (MIT) is desgined to avoid vendor lock-in. When a software can only be run by a single organization, it is the definition of a vendor lock-in. It is a variation of being Open Core, i.e. releasing most of the code to the public and omitting essential parts such as the installation instructions. In other words the code in available to everyone in theory, but in practice it is under the exclusive control of a single entity.

Resilience (people come and go) A successful company survives its founders. We try to do things in a way anyone can pick up after and carry on.

If all people who have the unwritten skills to install the service within the organization go at the same time, the knowledge is lost. Documenting the installation process contributes to the resilience of the organisation.

Where is the duplicate ?

Nevermind, https://github.com/opencollective/opencollective/issues/2608 is the duplicate. Thanks for keeping this one open.

N


Revert simple-icons 11.11.0

This reverts commit d1703c0592371c99db1c46cc3ead9cd4bc09a22e.
Not really sure what happened here.
Checked this on a review app and locally - no issues, but if I try to deploy docker image sha256:e77392c2f4cfa1a9da6a7754fd26911f560bc522e3fc0d56ee7386b910b0c5b1 to staging, it won't pass a health check. Previous images deploy fine.
Going to try reverting this for now.

OK that fixes it
but I don't know why :/


Fixed total count of VkDescriptorType in vkCreateDescriptorPool

VkDescriptorPoolSize array can contain more than one of same VkDescriptorType.
The specification does not restrict, that of each VkDescriptorType only one, unique element has to be present in VkDescriptorPoolSize.

cherry-picked and pushed to master
Thanks for the fix!


Update latest version to v0.5.1

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Which issue(s) this PR fixes:

Part of #1368
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/lgtm


Mixer client: mixc should send valid attribute encodings when attribute vocabulary is available

The contract between Mixer client and Mixer is they agree on a vocabulary and the client will always send correctly encoded attributes across the wire.
At present mixc makes the user specify attribute types on the command line. There is an auto detect feature that detects type based on attribute value.
Proposal: When --attribute-manifest is specified, mixc must encode attribute based on the declared types.
This protects the user inadvertently sending incorrectly encoded attributes via mixc.

Alternative proposal:
mixs should expose a reflection API that allows mixc to query manifests from mixs. That would eliminate a dependency on the config from mixc.


Switch to bash and fix shellcheck warnings.

Resource scripts use features that are not standard in posix sh, such
as [[]] tests. Also, the sh that ships with alpine treats
build_urls as empty when not quoted in [[ ! -z $build_urls ]].
Rather than handling edge cases in alpine sh, this patch switches to
bash and incidentally fixes some shellcheck warnings.
cc @drnic

New image built & pushed


upgrade to Sentis 2+ ?

Hi,
first of all - thanks a lot for the work. I am experimenting with your Midas package but I also wanted to try diffusers - which depend on transformers which depend on this utils package.
However, it is compatible with Sentis 1.6 not 2+ - namely the changes are listed here:
upgrade
I tried to replace TensorFloat with Tensor and the same for int which works fine but I am not sure how to replace the IBackend with graph calls.
Do you plan to update to new version or are you passed that?
Thanks for the heads up.

Hey, thanks for reaching out.
you've pointed to the root of the issue: I was relying on Ops/IBackend heavily in all of these repos, thus updating to newer Sentis versions is a bit difficult.
What I've done in the main development branch in the diffusers/transformers/sentis-utils repos is to update to my own fork of Sentis that exposes the backend classes again, since they're still used internally.
But none of this is in any released package on OpenUPM yet, so right now your only options are to go with 1.6, or use the latest package versions directly from GitHub and update the dependency to the forked package.
As for future plans: I honestly don't know. Exposing the IBackend classes works for now, but I'd rather not have to fork of course.

Thanks a lot for such a fast response. I totally understand. If I would be working on this, I will drop an update but I can not guarantee it at this point.


For each new MediaCodec should create a new AndroidSurfaceTexture

If after the android hw MediaCodec has been initialized we reset the current stream(QAVPlayer::setSource({})) and try to initialize a new one on the same object, we will get a media codec initialization error:
07-06 12:11:07.399 23011 25266 E BufferQueueProducer: [SurfaceTexture-0-23011-0](id:59e300000003,api:3,p:23011,c:23011) connect: already connected (cur=3 req=3) 07-06 12:11:07.399 23011 25266 E SurfaceUtils: Failed to connect to surface 0xbf66e008, err -22 07-06 12:11:07.399 23011 25266 E MediaCodec: nativeWindowConnect returned an error: Invalid argument (-22) 07-06 12:11:07.400 23011 23207 E MediaCodec: configure failed with err 0xffffffea, resetting...
If I understand correctly, this is because we are using the same QAVAndroidSurfaceTexture object
Q_GLOBAL_STATIC(QAVAndroidSurfaceTexture, androidSurfaceTexture);
so we should create a new one for each new QAVHWDevice_MediaCodec object.

Thanks for the contribution.
So after this fix, there is no  Failed to connect to surface error?

Yes, when re-initializing the stream on the same object, the error was not reproduced and accordingly the stream also plays validly.


Add connection and disconnection implementation for ScyllaDB

The connection/disconnection parts for #13

before we close this issue, let's make sure to support cql auth/compression in our cql mod.

Implemented


Tighten Up AST with Operand Type

Recently introduced an Operand Type which encompasses both Identifiers and Struct Properties (ParameterCall). This opens up the opportunity to tighten up the AST, which currently allows any Expression node to be inserted into places where clearly only operands would work.
An example:
type ParallelFunctions struct {
	Token        Token
	InferredType *Type
	Expressions  []Expression
}

Areas affected:
ParallelFunctions - Fault specs have run blocks where the logic of what happens in a single loop of the model is defined. Multiple functions can execute in parallel.
IndexExpression - Not yet fully implemented but allows historic values to be accessed in the model. Typically looks like foo[3]
StockLiteral - Pairs are defined as map[Expression]Expression but keys can't be anything other than Identifiers
FlowLiteral - See above
ComponentLiteral - See above

This was actually done ages ago. Cleaning up old issues :)


Add AppFolio to the list

Thanks for the PR! Could you link to the company's main career page instead (i.e. http://www.appfolioinc.com/jobs)? I want users to be able to find out a bit about the company before they apply.

Sure!

Merged in! I appreciate your help :)


Break long words, round two

Closes #1185, closes #1482
#1186 updated for OpenFL 6 and Lime 5.
Relies on #1660 for properly testing multi-byte characters, like Japanese. Probably relies on #1066 if you plan on testing with different text formats.
I've tested every case mentioned in #1185 and #1186 plus more. The only thing I've found that is inconsistent with Flash is here, which isn't really important and probably isn't even documented to begin with.
cc: @larsiusprime if you have any ability of testing this or giving me test cases.

This might be for another issue, but the Japanese full stop 。 doesn't act like a period. It will get bumped onto a new line all by itself if the text is too long to fit otherwise.
It might be because of all that empty space in the right half of the character versus how small a period is. I'm not sure if periods are explicitly handled in OpenFL, but this (and other) full stop characters would have to be handled there.


Add callers and roles methods to manager

This could return a collection object which could assign permissions to multiple callers or roles at once.

This commit it should not be here. This is from mine fork.


[Question] With TLS changes in April, do I need to change anything?

Hi,
I recently received this email about TLS changes, I'm using version 2.11 in an old project - do I need to change anything except update the package version so Postmark continues to work after April?
Link from email
https://postmarkapp.com/updates/upcoming-tls-configuration-changes-for-api-users-action-may-be-required

Hi @mzzovko,
The package itself will continue to work without upgrading, though you will want to make sure your connection to Postmark is using TLSv1.1+.
The requirements to connect to Postmark after the TLS changes are:

PHP version 5.5.19 or higher
cURL version 7.34.0 or higher
OpenSSL version 1.0.1 or higher

You can further test against our test API endpoint, this endpoint acts how our standard endpoint will work after the upgrade. You can do this by temporarily setting the BaseURL to point to the test endpoint, to validate your system works with these changes:
use Postmark\PostmarkClient;
use Postmark\PostmarkClientBase;

// Temporarily set the BaseURL globally to point to the test endpoint
PostmarkClientBase::$BASE_URL = "https://api-ssl-temp.postmarkapp.com";

$client = new PostmarkClient("<server token>");

Let me know if you have any questions on this!

@briankerr Regarding the cURL requirement you mentioned, I have a machine running with version 7.29.0 (according to PHP Info) that does work with the new endpoint as shown in your code above. Is this expected?

@briankerr Is there anything I can look for in the email headers to ensure that the received email was actually processed by the test endpoint? Might be useful for client assurance that their test sends are actually going through the intended endpoint.

@netcarver Hi Steve 👋 I'm checking with some colleagues on your questions (I want to make sure I have an accurate answer). After speaking with them, I'll follow-up with you (most likely, tomorrow, the 9th).

@netcarver Hi Steve! Thank you for your patience.
cURL version 7.34.0 is the first version of cURL to default to TLSv1.2. So it is possible to use an older version of cURL, though those connections default to an older version of TLS "out of the box" if you will. It looks like you're Red Hat and they've included a default for a higher default version of TLS as part of the OS for 7.29. Since we've verified your connection is TLSv1.2, you're good here.
When it comes to finding the hostname endpoint you're using, since this is a rare type of cutover, we don't give visibility into this within our UI since we normally only have api.postmarkapp.com. If you were looking for additional assurances, you could use our custom metadata feature to pass which endpoint your API call is making to see that in our UI. Though I don't think this is necessary for your situation.

Thanks both @briankerr & @netcarver  - I've tested it and it works 👍


add signal quality metrics to wireless stats

Adding missing signal quality data to client
stats.
Summary

Checklist

[x] No AI generated code was used in this PR

Related issues

resolves #

Added this metrics:


Computed Stage Damage requires a terrain file?

I am working on the computed stage damage editor and i was getting an exception when clicking the "Compute Curves" button.

My study doesn't have a terrain file:

I think all we need to do is add a validation check for the terrain file before we try to compute.

@Brennan1994 Do we really need the terrainLayer for all inventories? Seems like we should only need it if the inventory uses this option:

I'm tracking this rule: if using hydraulics in HDF, a terrain must have been uploaded fora successful stage damage compute, independent of the source for terrain data.

I am not sure what HDF stands for, but it sounds like we should add to the existing validation when the user clicks the compute button that a terrain exists. This would only take me a few minutes.

HDF is the type of file.
Sounds good, thanks.


Append block from url sync and async

haven't added recording files

Can one of the admins verify this patch?

/azp run python - storage - ci

/azp run python - storage - ci


Two-way mapping between Backstage service dependencies and PagerDuty

Is your feature request related to a problem? Please describe.
Today we use Backstage as a main source of truth for service dependencies as we sync with multiple providers and therefore leverage Backstage as the default place to go to search for this information.
Describe the solution you'd like
We would like that our dependencies would be mapped to PagerDuty and kept in sync. We don't have service dependency configurations in PagerDuty and therefore we don't take a lot of advantage of PagerDuty's service mapping and status pages. We would like to but it just takes to much effort to do these configurations in multiple places.
Describe alternatives you've considered
We have considered to implement some scripts to sync Backstage and PagerDuty using the PagerDuty REST APIs. But if this feature would be brought into the plugin we would save a lot of time and I believe this is useful for other customers as well.
Additional context
This feature was requested by @brianphillips and the Shutterstock team.

Work as started to implement this feature and our current implementation starts with a one-way sync between Backstage and PagerDuty, having Backstage as the primary source.
All users that I interviewed at this point in time use Backstage as their "source of truth" and are looking for solutions to have their service dependencies mapped to external tools (like PagerDuty).
Our current approach is to extend the Entity Processor to look into existing annotations in each Backstage Entity and create the corresponding service dependencies in PagerDuty automatically. Below are the proposed mappings that we are looking to implement.

Backstage Annotation
PagerDuty equivalent

ownedBy
Team

DependsOn
Technical Service

DependencyOf
Technical Service

partOf
Business Service

hasPart
Business Service

We are looking for feedback on this proposed implementation. Feel free to comment directly on this issue.
@brianphillips calling you out on this one 😎

I am rethinking the above approach a little bit to allow two-way sync from day one. Would it be helpful to have a setting in the PagerDuty Advanced Configuration Page to allow users to select their preferred sync behaviour:

Backstage is the main source
PagerDuty is the main source
Merge dependencies from both sides (this would take dependencies on both sides and make sure they match)

Would this be an ok approach?

@t1agob I think the overall approach is :ok_hand: I do have questions/concerns about how any completely automated approach will handle an existing Backstage<->PagerDuty setup that is currently configured in a non-synchronized fashion. Will all new services be created on the PagerDuty side? How will unmapped Backstage owners be mapped to a new PagerDuty team? What about members of those teams? Will they be synchronized as well?

Got it! I will break this into different features because I don't have enough information on team and user syncing. I need to collect more information on real usage. I'll focus this effort on services exclusively as it was stated in the initial problem we are trying to solve.
Regarding your first concern, we have a scaffolder action available for user to automatically create services in PagerDuty but is everyone using it? I cannot guarantee.
This is actually one of the limitations of service dependency sync because we can only sync dependencies for services that are mapped into Backstage entities. So, for it to work, users of the plugin need to either add a service-id annotation to their Backstage entities (by using the scaffolder action or not) or use the new Service to Entity Mapping capabilities that we introduced in the latest version.

Closing this issue as it is now possible to sync services between Backstage and PagerDuty. As discussed above, team sync and Business Service integrations will be left for a later stage as it was out of scope of the initial issue and we don't have enough information about their usage on Backstage. Release 0.15.0 adds support for the following:

Backstage Annotation
PagerDuty equivalent

DependsOn
Technical Service

DependencyOf
Technical Service

‼ Important: Due to a Backstage design decision it is not possible to fully overwrite the relations specified in each entity's configuration file. For that reason the option to synchronise strictly from PagerDuty side is not available.


Xamarin.iOS - How to set custom size to material floating button

I'm using the material Component package "Xamarin.iOS.MaterialComponents" and setting up Bottom App Bar with center floating action button. But there is no property available for setting size. I need to set custom sizes.

We'd need more information about what the obj-c equivalent use case is here.  It's possible there are more API's added for this in v0.92 which we are currently working on binding.

yes @Redth  If, we need to set custom height and width for that floating action button, there is no properties for that,  I mean, we should use the default properties of Normal, Small, there is no set access for height and width.

Honestly we are at the mercy of which API’s Google provides in the native library. We just bind them. So if it’s one we are missing and have not exposed that is fixable but if the API you want to use doesn’t exist on the native side I’m afraid you’re out of luck.

@Redth I want to make my first code contribution to Xamarin and picked this issue as an experiment. I found this interface for the Floating Button. In this interface, there do seem to be methods for setting minimum and maximum sizes.
 [BaseType(typeof(Button),
        Name = "MDCFloatingButton")]
    interface FloatingButton
    {
        [Export("mode", ArgumentSemantic.Assign)]
        FloatingButtonMode Mode { get; set; }

        [Export("imageLocation", ArgumentSemantic.Assign)]
        FloatingButtonImageLocation ImageLocation { get; set; }

        [Export("imageTitleSpace")]
        nfloat ImageTitleSpace { get; set; }

        [Static]

        [Export("defaultDimension")]
        nfloat DefaultDimension { get; }

        [Static]

        [Export("miniDimension")]
        nfloat MiniDimension { get; }

        [Static]
        [Export("floatingButtonWithShape:")]
        FloatingButton Create(FloatingButtonShape shape);

        [DesignatedInitializer]
        [Export("initWithFrame:shape:")]
        IntPtr Constructor(CGRect frame, FloatingButtonShape shape);

        [Export("initWithFrame:")]
        IntPtr Constructor(CGRect frame);

        [Export("setMinimumSize:forShape:inMode:")]
        void SetMinimumSize(CGSize minimumSize, FloatingButtonShape shape, FloatingButtonMode mode);

        [Export("setMaximumSize:forShape:inMode:")]
        void SetMaximumSize(CGSize maximumSize, FloatingButtonShape shape, FloatingButtonMode mode);

        [Export("setContentEdgeInsets:forShape:inMode:")]
        void SetContentEdgeInsets(UIEdgeInsets contentEdgeInsets, FloatingButtonShape shape, FloatingButtonMode mode);

        [Export("setHitAreaInsets:forShape:inMode:")]
        void SetHitAreaInsets(UIEdgeInsets hitAreaInsets, FloatingButtonShape shape, FloatingButtonMode mode);

        [Export("expand:completion:")]
        void Expand(bool animated, [NullAllowed]  Action completion);

        [Export("collapse:completion:")]
        void Collapse(bool animated, [NullAllowed]  Action completion);
    }

From here, I tried finding the implementation for this interface, while I couldn't find it, I found this in https://github.com/xamarin/XamarinComponents/blob/master/iOS/MaterialComponents/samples/MaterialSample/ButtonsSamples/ButtonsViewController.cs
Button button;
		public Button Button {
			get => button;
			set {
				RemoveButton ();
				button = value;
				ContentView.AddSubview (button);
				AddButtonConstraints ();
			}
		}

		#endregion

		#region Constructors

		public ButtonTableViewCell (IntPtr handle) : base (handle) { }

		#endregion

		#region Cell Life Cycle

		public override void PrepareForReuse ()
		{
			base.PrepareForReuse ();

			RemoveButton ();
		}

		#endregion

		#region Internal Functionality

		void AddButtonConstraints ()
		{
			if (UIDevice.CurrentDevice.CheckSystemVersion (9, 0)) {
				button.CenterYAnchor.ConstraintEqualTo (ContentView.CenterYAnchor, 0).Active = true;
				button.TrailingAnchor.ConstraintEqualTo (ContentView.TrailingAnchor, -offset).Active = true;
			} else {
				var centerYAnchor = NSLayoutConstraint.Create (button, NSLayoutAttribute.CenterX, NSLayoutRelation.Equal, ContentView, NSLayoutAttribute.CenterX, 1, 0);
				var trailingAnchor = NSLayoutConstraint.Create (button, NSLayoutAttribute.Trailing, NSLayoutRelation.Equal, ContentView, NSLayoutAttribute.Trailing, 1, -offset);
				NSLayoutConstraint.ActivateConstraints (new [] { centerYAnchor, trailingAnchor });
			}
		}

There is also a createButton method in this file which has a switch statement to create a FloatingActionButton although the place of this file seems suspicious to me!
It seems that based on this info, maybe the floating button component is not being created using just a direct binding to a library of Google and is actually being rendered using code from the Xamarin team. If you can verify this and let me know, I can dig more into this and see if any code changes are needed and can let you know and finally make my first code contribution


VPC Bridge Lambda Resource

A limitation of resource types is that they cannot talk to a VPC, since the handler is not running in the same account as the deployed resources. I'd like to explore the idea of a resource design where we install a Lambda "locally" in the same account to act as a bridge to VPC resources. This would require an RPC mechanism to allow the handler to communicate with the local VPC lambda.

The "invent-and-simplify" way to do this, is by having an ENI in each customers account (which might need big changes on the AWS side).
Either way this is solved, we should try to avoid creating a (lambda) bridge for every resource or stack (this re-introduces some lambda-backed custom resource problems). Maybe the bridge is create before out of band?
Other things beside lambda that can attach to a VPC:

Step Functions
CodeBuild
Maybe VPC Lattice (but this also has an hourly price)

If we do this out of band, having a single bridge that could be used by many resources, how would we implement that in a generic way? One use case is a resource that allows you to create a database schema from a template, without relying on the data API. It would need to connect to an RDS instance using the native connector, which would need to be installed as part of the bridge.
Agree on the ENI solution, but that's a design change that will take significant time, so an interim workaround here might benefit customers who don't want to wait.

If we do this out of band, having a single bridge that could be used by many resources, how would we implement that in a generic way? One use case is a resource that allows you to create a database schema from a template, without relying on the data API. It would need to connect to an RDS instance using the native connector, which would need to be installed as part of the bridge.

I would do it like this:

Create a template bridge.yaml that you can deploy one or multiple times (and turn it into a SAR app?)
Each bridge stack can export a BridgeArn (under ${AWS::StackName}-Bridge-Arn) and can be connected to one or more DBs (depending on how the bridge works this might be an input to the bridge stack, or a SG you give access in your DB stack(s)).
When you use the Community::MySQL::Schema resource, you specify the bridge-arn as a property.

When you need to create a schema, you have the option to:

create one bridge that can access all your DBs
create a bridge per DB (maybe putting them in your DB stack)
create a bridge inside the stack that creates the schema.


Why not model the path of a swinging foot with just one polynomial?

Hi Alex! Under Section IV.B of your paper presenting TOWR you say you use three cubic polynomials for parameterizing end-effectors in swing phase as well as contact forces:

"(...) These can represent typically varying force and motion profiles while still keeping the problem as small as possible. (...)"

I understand why you would want to use more than one polynomial for modelling the contact forces during a stance phase, but I don't understand why you would want more than one polynomial for the Cartesian path of a swinging foot. Could you please help me understand this? Thank you in advance!
(This may be related to #35.)

Hi Henrique! yes, sure. For instance considering the polynomial describing the foot z (height) position: we want the foot to lift, fulfill possibly some position constraint of maximum swing height and then lower back to the ground. All while approaching zero velocity at takeoff and landing. There are just not enough DoFs in a third order polynomial for that. The xy-motion of the swing might very well be describable with a single polynomial, but was just easier and cleaner to implement using multiple polynomials here as well. Hope this makes it clearer👍

It is very clear now. Thank you! :slightly_smiling_face:


Add translatable interface stub for content entities

This is a stub for the TranslatableInterface. Note that this stub will be unnecessary for Drupal 10.1+ (see https://www.drupal.org/project/drupal/issues/3269177). Nevertheless, it may be useful for users that run a prior version of Drupal.
This change is a little bit aggressive because it creates a stub for the TranslatableInterface directly, although only tests for content entities are provided. We could be more passive by basing the stub on the ContentEntityBase.

Need some advice on how to approach the failure in the baseline test.

Thank you!


Bug Report userState React Hooks

Expected Behavior
When using "const [devices, setDevices] = useState([])" or any statefunction inside the scaning from 'startDeviceScan' the event stops
Current Behavior
The event stop and no more devices are found
Context
[CoreBluetooth] API MISUSE: <CBCentralManager: 0x281ab8af0> has no restore identifier but the delegate implements the centralManager:willRestoreState: method. Restoring will not be supported
2020-01-19 20:06:06.293648+0100 Zipforce[23222:18432691] [CoreBluetooth] XPC connection invalid
[RxBLEKit|DEBG|19:06:06.301]: CentralManager(10765437680) didUpdateState(state: poweredOn)

Library version: 1.1.1
Platform: OS.
Platform logs (XCode):

const bleManager = new BleManager();

    const [deviceScan, setDeviceScan] = useState(false)
    const [devices, setDevices] = useState([])

    const stopDeviceScan = () => {
        console.trace('stopDeviceScan')
        bleManager.stopDeviceScan()
        setDeviceScan(false)
    }

    const addDevice = (device) => {
        console.trace('addDevice')
        console.log(device.id, device.name, device.localName)
        if (device.isConnectable &&
            device.localName &&
            devices.findIndex((x) => x.id == device.id) === -1) {

            setDevices([...devices, {
                id: device.id,
                name: device.name,
                localName: device.localName,
                isConnectable: device.isConnectable,
                rssi: device.rssi
            }])
        }
    }

    const startDeviceScan = () => {
        console.trace('startDeviceScan')
        bleManager.startDeviceScan(null, { allowDuplicates: false }, (error, device) => {
            if (error) {
                console.error(error)
            } else {
                addDevice(device)
            }
        })
    }

    useEffect(() => {
        console.trace('Init - Timer')
        let timerId = setTimeout(() => {
            stopDeviceScan()
        }, 15000)
        return () => clearTimeout(timerId);
    }, [])

    useEffect(() => {
        console.trace('Init')
        setDevices([])
        setDeviceScan(true)
        const subscription = bleManager.onStateChange((state) => {
            switch (state) {
                case 'PoweredOn':
                    console.trace('PoweredOn')
                    subscription.remove();
                    startDeviceScan()
                    break;

                default:
                    break;
            }
        })
    }, [])

    useEffect(() =>{
        console.log('useEffect',devices)
    },[devices])

I've noticed the same thing when using monitorCharacteristicForService().  If I try to update state inside of my listener function, it only runs once and then stops.

Can you send me more logs from the native side?

Also experiencing this, has anyone found a workaround?
For us the stream of characteristics from Characteristic.monitor is interrupted when useState is called
(By the way the library is great)

I am expierencing the same thing! Whenever i use setState, i need to reconnect...

The issue does not occur if you move the search function outside of the main function

@senner007 Thanks for the quick reply! But how exactly do you mean that? Outside of the Component?

@Krister-Johansson I think your expected behavior description is incorrect.

@senner007 Thanks for the quick reply! But how exactly do you mean that? Outside of the Component?

Extract the search function and pass in a function to update the state

@senner007
But isnt this exactly whats happening here:
      const startDeviceScan = () => {
        console.trace('startDeviceScan')
        bleManager.startDeviceScan(null, { allowDuplicates: false }, (error, device) => {
            if (error) {
                console.error(error)
            } else {
                addDevice(device)
            }
        })
    }

Because you scan, and call another function with the device to save it to the state

Yes, it is the same and it also works for me.  I can't reproduce the issue then....

This seems to be the same issue here i am facing:
https://github.com/Polidea/react-native-ble-plx/issues/627

I dont see that the scanning stops, but I do see that this:
  setDevices([...devices, {
                id: device.id,
                name: device.name,
                localName: device.localName,
                isConnectable: device.isConnectable,
                rssi: device.rssi
            }])

needs to be this :
  setDevices(prevDevices => [...prevDevices, {
                id: device.id,
                name: device.name,
                localName: device.localName,
                isConnectable: device.isConnectable,
                rssi: device.rssi
            }])

hmmm i tried this.. but this does not resolve the issue for me... really weird that i have this problem only with useState... if i use a Class-Component and not Functional-Component with setState i dont have this issue at all!

Just to make things clear. You shouldn't create BleManager inside the component. Is that true in your case?

@Cierpliwy Wow! Just tried it! Fixed my problem!
I ve been trying to fix this for at least 2 Days now...
But how come this works inside a Class-Component:
import React, { Component } from 'react';
import { Platform, View, Text } from 'react-native';
import { BleManager } from 'react-native-ble-plx';

export default class SensorsComponent extends Component {

  constructor() {
    super()
    this.manager = new BleManager()
    this.state = {info: "", values: {}}
    this.prefixUUID = "f000aa"
    this.suffixUUID = "-0451-4000-b000-000000000000"
    this.sensors = {
      0: "Temperature",
      1: "Accelerometer",
      2: "Humidity",
      3: "Magnetometer",
      4: "Barometer",
      5: "Gyroscope"
    }
  }
.....

Taken from https://www.polidea.com/blog/ReactNative_and_Bluetooth_to_An_Other_level/

There problems with how hooks are used in the initial code. This has to do with closures.
devices array will always be empty in addDevice()

Yeah, example was prepared to be concise. In general I highly recommend to create clear separation between BLE logic and UI of your application.

@Cierpliwy Could you explain why the BleManager cannot be created inside the component?
Also, it would be extremely helpful to have an example react-native-ble-plx implementation using functional components. Do you know if this exists?

It can be instantiated using functional approach. It's just that the first example has errors. See what I wrote about the closure issue

i believe the problem arrises from the state hook causing a re-render.
i fixed it by useRef for the manager and useReducer, rather then useState for storing the devices i get back from the scan.

i believe the problem arrises from the state hook causing a re-render.
i fixed it by useRef for the manager and useReducer, rather then useState for storing the devices i get back from the scan.

Could you please post your code?

i believe the problem arrises from the state hook causing a re-render.
i fixed it by useRef for the manager and useReducer, rather then useState for storing the devices i get back from the scan.

Could you please post your code?

i've moved all of this into a context manager but i can post a few snippets diggin into the IED history ;)
they probably won't work as is, but it'll get you going in the right direction
setup a reducer and actions to dispatch:
const initialState = [];
const  reducer = (state, action) =>  {
  switch (action.type) {
  case 'add':
    return [
      ...state,
      {
        id: action.device.id,
        name: action.device.name,
        device: action.device
      }];
  case 'set':
    return action.devices;
  case 'clear':
    return initialState;
  default:
    return state;
  }
}
  const clear = () => ({type: 'clear'});

  const addDevice = (device) => ({
    type: 'add',
    device
  });

setup the useReducer and useRef hooks:
const [devices, dispatch] = useReducer(reducer, initialState);
const manager = useRef(new BleManager());

intialize the bleManager and start a scan:
  const scan = () => {
    manager.current.startDeviceScan(null, null, (error, device) => {
      if (error) {
        console.log(error);
        return;
      }
      console.log(device.name);
      dispatch(addBLE(device));
    });
  };

  const startScan = () => {
    dispatch(clear());
    const subscription = manager.current.onStateChange((state) => {
      if (state === 'PoweredOn') {
        scan();
      }
    }, true);
  };

call startScan with a useEffect or a button, that'll start the scan, to see the data, loop through devices
{devices.map((device, index) => {
   console.log(device.id)
})}

hope this helps

You need to place your manager = new Manager() code outside of the function or class. Otherwise react renders a new manager on every state change.

How would I access the manager on another screen?
I know I have to only call new once on it. But just passing the initialized manager to every the screen then doesn't seem right.
What's the solution to this?

How would I access the manager on another screen? I know I have to only call new once on it. But just passing the initialized manager to every the screen then doesn't seem right. What's the right way of doing this?

using global.bluettothManger = new Manger()


Remove version: Tencent.QQMusic version 18.51

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: http://dldir1.qq.com/music/clntupate/QQMusic_Setup_1851.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 911)


Fix camera control panel

remove dependencies from cameracontrol.py and fixes testCameraControl (so travis CI for linux should be green, hopefully)

@mauricefallon next time you update to Director master, please test that the robot camera following had retrained the same behavior.


Support all options for exporting JSON, Parquet, CSV

see: https://github.com/duckdb/duckdb/discussions/8896#discussioncomment-6982114

not really relevant given the change in approach to Arrow.


Render lilypond33c

This PR renders lilypond33c. It supports the slur[placememt] attribute.
Divergences

lilypond seems to omit a slur in the second measure.
Guitar Pro 7 incorrectly clobbers slurs.
vexml always renders slurs from the note head.

lilypond

vexml

osmd

MuseScore 4

Guitar Pro 7

Soundslice

@rvilarl is there a way to tell a vexflow.StaveTie to render from the tip of a note stem instead of the note head?

@rvilarl is there a way to tell a vexflow.StaveTie to render from the tip of a note stem instead of the note head?

@jaredjj3 you can do that with Curve

I see... vexflow.StaveTie really is for just ties, which are for notes of the same pitch. I thought ties were for general use based on https://github.com/0xfe/vexflow/wiki/Tutorial#step-5-ties--run-. Thank you so much!

I see... vexflow.StaveTie really is for just ties, which are for notes of the same pitch. I thought ties were for general use based on https://github.com/0xfe/vexflow/wiki/Tutorial#step-5-ties--run-. Thank you so much!

They do not have to be notes of the same pitch, but the ties have to go from notehead to notehead. For example, you cannot do that with a curve:

Leaving some notes here for implementation.

Slurs are represented as Curve in vexflow.
Curves need one or two notes to render.
Curves may have one note when it is interrupted by a new System.
Curves specify the position that they are rendered: either at the note head or the outer edge of the note stem (if it exists).
The bezier curve orientation seems to be a f(curve.y0, curve.y1). It can be controlled with the invert option.
Curves can specify control points that affect that shape of the curve.

I need an algorithm for determining curve options. I propose the following:

Calculate the slur placement using the slur[placement] or the positions of the start and end notes. When the voice ascends or ends up on the same pitch, the placement should be above. Otherwise, the placement should be below.
Calculate the stem directions of the start and stop notes. The possible outcomes are up, down, none, and undefined.
Calculate the curve positions based on the stem directions.
Infer the orientation from the curve start and stop coords. The possible outcomes are concaveup and concavedown.
Invert when placement is above and orientation is concaveup or when placement is below and orientation is concavedown.

After experimenting a bunch, I'm coming to the conclusion that I'll need to calculate the control points of the bezier curve for slurs. There's some prior art in OSMD, but this is an expensive detour right now.
I'm going to try to find a simple solution that works for lilypond33c, and then a more complete solution later.

After experimenting a bunch, I'm coming to the conclusion that I'll need to calculate the control points of the bezier curve for slurs. There's some prior art in OSMD, but this is an expensive detour right now.
I'm going to try to find a simple solution that works for lilypond33c, and then a more complete solution later.

Let me know if some logic should be added to vexflow

@rvilarl, yes actually, that would be great. I feel like Curves should work in most cases and that I'd only have to specify the control points in exceptional cases. Would you let me know if you have capacity to work on this in vexflow please? If so, I'll pause on this vexml implementation and wait for what you come up with. Let me know if you'd like me to file a bug against vexflow.

The constructor has a type bug. Curve objects can be partial, but the constructor forces you to specify Note instead of Note | undefined.

In CurveOptions, I'd like the option specify whether I want the Curve opening to be up or down. Otherwise, I have to mimic the calculation that vexflow does to figure out the direction of the opening, and my implementation will know too much about how vexflow works.  Maybe a property like openingDirection?: 'up' | 'down' | undefined.

The biggest ask I have is that vexflow dynamically calculates cps when not provided one in CurveOptions. Currently, it will just use the default cps that the Curve constructor sets. As I was migrating slurs from StaveTie, I thought it would be a similar experience where Curve would just mostly work. However, I had no idea how cps were control points that influenced the shape of the curve until I opened up the Curve implementation and studied it. It probably would be a good experience for vexflow users to not have to specify this.

@jaredjj3 please raise the issue and wait.

I think I can get away not calculating control points. I played with vexflow ascending and descending voices with slurs placed above and below: https://jsfiddle.net/jco31qxn/155/
I just need to figure out the invert: true cases. I think it's a f(from.y, to.y, from.stemDirection, to.stemDirection, from.curvePosition, to.curvePosition).  In https://jsfiddle.net/jco31qxn/212/ I set invert: false for all the curves and I played with some configurations.

when the from and to notes are defined, the curve opens the same direction as the to note's defined stem
when only one note is defined, the curve opens the same direction as the note's defined stem
when the stem of the critical note is undefined, the curve behaves according to the direction of the auto stem


labhub.py: add migrate_issue plugin

Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.
The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.
Also includes tests to check functionality.
Closes https://github.com/coala/corobo/issues/518
Reviewers Checklist

[ ] Appropriate logging is done.
[ ] Appropriate error responses.
[ ] Handle every possible exception.
[ ] Make sure there is a docstring in the command functions. Hint: Lookout for
botcmd and re_botcmd decorators.
[ ] See that 100% coverage is there.
[ ] See to it that mocking is not done where it is not necessary.

Requested changes made, @meetmangukiya

Requested changes made, @jayvdb

Made a few changes as requested, @jayvdb

Will do @meetmangukiya

@random-access7 can you please make the requested changes?

@nvzard, will do by tonight.

@gitmate-bot rebase

@random-access7 can you please resolve the merge conflicts? And we will make sure it merges before anything else so it doesn't lead to more conflicts


(Unwanted) Notifications "Certificate will expire in xx days"

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
It seems that for HTTP(S) monitors a notification is triggered whenever a certificate expires in 21 or 14 or 7  days and each day if expiry is in less than 4 days.
I am aware of the option to "Ignore TLS/SSL error for HTTPS websites" but an "expiry notice" is not an "error".
Is there any option to change this behaviour or toggle it on/off?
🐻 Uptime-Kuma Version
1.12.1
💻 Operating System and Arch
Ubuntu 20.04
🌐 Browser
Chrome / FF / Edge
🐋 Docker Version
20.10.12
🟩 NodeJS Version
No response

I am planning to add a checkbox for this.


pkg/config: add k8s validation on metadata.name

This forces TracingPolicy to follow the same constraint on the metadata.name value when it is loaded directly as when it is added as a Kubernetes object.
I used the k8s package validation since it was already a dependency!
This is related to https://github.com/cilium/tetragon/pull/652.

@mtardy I suspect that the test failures are related to tracingpolicies that we define in-line in some of our unit tests. Might be worth checking those to make sure they have a conformant name field.

@mtardy I suspect that the test failures are related to tracingpolicies that we define in-line in some of our unit tests. Might be worth checking those to make sure they have a conformant name field.

Correct! I checked the project with rg "kind: TracingPolicy" -A2 | rg -e "name: \"[^_]*_.*$"

I should have realized that my regex was not selecting my intended invalid_name in my template... I used this one to select more rg "metadata:" -A1 | rg -e "name: \"[^_]*_.*$"

I renamed things like __x86_something into x86-something: https://github.com/cilium/tetragon/pull/661/files#diff-1623695c95cb31f804db6b5ceb8e6dad79810fd8038a36618e0c0e76bd5e0637R1019, it makes less sense but it's valid :D

I forgot that uppercase letters are not okay 😐 rg "metadata:" -A1 | rg -e "name: \"([^_]*_.*|[a-z-]*[A-Z]+[a-z-a]*)", there was an issue with testing-file-matchArgs that was transformed into testing-file-match-args which makes less sense also but is compatible.


run the deduplication job on an interval

Deduplicating the installation queue has removed the blockage in the queue. Syncs are working again 🥳

However, there must still be a bug / configuration issue somewhere that causes jobs to be processed twice, which would explain why the queue explodes like this (each job adds a new job to the queue and if it gets processed twice, it will add 2 new jobs, which will add more jobs and so on).
To mitigate this issue until we found the cause for it, this PR adds code to run the deduplication job every couple of minutes.

closing. replaced by an external cron job that triggers the deduplication regularly


Implement Cloudfront Origin Access Identity

Description of your changes
Work in progress. Implement Cloudfront Origin Access Identity via ACK generator.
Fixes #919
I have:

[x] Read and followed Crossplane's [contribution process].
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Created an OriginAccessIdentity and successfully used it with a Cloudfront Distribution.
Updated Comment
Deleted Managed resource

I've updated the PR to rebase on the ACK updates. Some of the acm/acmpa failed check-diff as they needed to update their Copyright year to 2021.

@stevendborrelli this is fixed in master now - can you do a rebase again ? sorry for this =)

@haarchri I've rebased again.


replaced npgather

replaced npgather "using only tinygrad". The performance is similar.
I'm still getting my feet wet.

gather is already supported now and this essentially will be replaced by the mask rcnn training PR

understood, thanks!


Update README.md

elsif
hi kevin, ruby sux i hope this fixed it

i thought it was a jekyll issue and not a jinja issue, i thought wrong

@benon33. Thanks for pointing out the issue. I found a solution to the problem that (1) allows the pyproject.toml snippet to be cut-and-paste into the pyproject.toml file, (2) does not cause an error when Jekyll renders the README.md for GitHub Pages, and (3) still looks reasonable in raw Markdown file.
The fix is included in v0.7.0.


redirect popular blog links

change default origin in openziti.io proxy to docs site while handling popular blog links as redirects to blog site

is there a way to be able to test this sort of change somehow?

Sanity checked with CloudFront's built-in functional tester. That eliminates the majority of the risk. I can show you how it works if you want. I didn't promote this new version to Production yet.

Sanity checked with CloudFront's built-in functional tester.

Is that a step that should be added to doc somewhere? I only asked because it's not possible for me to do it myself "easily" is all


Changelog for v0.2.7

Ticket to track quick dev of a changelog:
Changes were https://github.com/mapbox/mapbox-studio/compare/8f4992d173...17e948eec

aafb737957ef57aefb6f90378a5743021489644e and 314692ad56dedb1bb8e5bceabbf6729abad1c5e5


[Improvement] Add build.properties files to grails folders

In Groovy Grails Tools Suite GGTS (and similar Eclipse products) when add a new Grails compiler you can only set the name and select the folder but if the folder not contains a build.properties file with only one propertie (i.e: grails.version=2.4.4) then the wizard not recognize as apropiated compiler folder and not continue.
When I download a grails compiler in zip file the build.properties exists with the corresponding version.

This is not an sdkman problem, as we merely redirect to the zip found on the Grails download page. You would have to raise this with the Grails team, or otherwise with GGTS.


[BugFix] fix empty conjuncts of left join

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

For such SQL: select * from t0 left join t1 on false

The false predicate would be pushdown to right table, so right side of join would be empty
And the join conjuncts would be empty, the left join should output the left side, but actually it's not

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

@Mergifyio backport branch-2.

@Mergifyio backport branch-2.4

run starrocks_be_unittest

need a case to cover this problem

run starrocks_admit_test

run starrocks_be_unittest


Standardize Services Section Element Sizes for Mobile View

I've noticed an issue with the sizes of elements in the services section on mobile devices. I'd like to take ownership of this issue and work on standardizing the sizes for a consistent presentation across different screen sizes.
Could you please assign this issue to me?

Could you please assign this issue to me?

You can

Start working on it

Assign this issue to me.
As a full Stack Developer and 1 Year experience I can Write optimized code and Make it responsive.

@Nithin9585 Can get update on this issue?

Ya I have solved the issue I will commit soon!.

@Nithin9585 What's the updates on this?

ANY UPDATES?

Unassigned. No activity

Could you please assign this issue to me?
I am GSSOC Contributor.

@varshith257 Thank you for assigning me this issue.

Can you tell me how to tackle this issue and in which should I do changes??
It's my first time, so I am bit confused.
On Wed, 7 Aug 2024, 16:11 Vamshi Maskuri, @.***> wrote:

Assigned #5
https://github.com/Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/issues/5
to @Jay-ARORA-5572 https://github.com/Jay-ARORA-5572.
—
Reply to this email directly, view it on GitHub
https://github.com/Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/issues/5#event-13790438541,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFZNIOVLK6ABN7JWQKVNN7TZQH2WVAVCNFSM6AAAAABHO2YDFGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTG44TANBTHA2TIMI
.
You are receiving this because you were assigned.Message ID:
<Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/issue/5/issue_event/13790438541
@github.com>


gear3: map all borrow procs to inline

mapping
(call ~3 foo.1.tesg7afhq1 1 x.2 4 x.2)

to
(dconf VarId.0.tesg7afhq1
   (call foo.0.tesg7afhq1
    (dconf
     (i -1) x.2)
    (dconf
     (i -1) x.2)))

TODO

[ ] supports external symbols: replace them after importSymbol is finished

What is this? Just treat a borrow pragma like InlineC.


“View Columns” and "Filter Table" icons not show

Config

/**
 * Data Table
 */
/* eslint-disable */
import React from 'react';
import MUIDataTable from "mui-datatables";

// page title bar
import PageTitleBar from '../../../components/PageTitleBar/PageTitleBar';

// rct card box
import RctCollapsibleCard from '../../../components/RctCollapsibleCard/RctCollapsibleCard';

// intl messages
import IntlMessages from '../../../util/IntlMessages';

class DataTable extends React.Component {
  render() {
    const columns = ["Name", "Title", "Location", "Age", "Salary"];
    const data = [
      ["Gabby George", "Business Analyst", "Minneapolis", 30, "$100,000"],
      ["Aiden Lloyd", "Business Consultant", "Dallas", 55, "$200,000"],
      ["Jaden Collins", "Attorney", "Santa Ana", 27, "$500,000"],
      ["Franky Rees", "Business Analyst", "St. Petersburg", 22, "$50,000"],
      ["Aaren Rose", "Business Consultant", "Toledo", 28, "$75,000"],
      ["Blake Duncan", "Business Management Analyst", "San Diego", 65, "$94,000"],
      ["Frankie Parry", "Agency Legal Counsel", "Jacksonville", 71, "$210,000"],
      ["Lane Wilson", "Commercial Specialist", "Omaha", 19, "$65,000"],
      ["Robin Duncan", "Business Analyst", "Los Angeles", 20, "$77,000"],
      ["Mel Brooks", "Business Consultant", "Oklahoma City", 37, "$135,000"],
      ["Harper White", "Attorney", "Pittsburgh", 52, "$420,000"],
      ["Kris Humphrey", "Agency Legal Counsel", "Laredo", 30, "$150,000"],
      ["Frankie Long", "Industrial Analyst", "Austin", 31, "$170,000"],
      ["Brynn Robbins", "Business Analyst", "Norfolk", 22, "$90,000"],
      ["Justice Mann", "Business Consultant", "Chicago", 24, "$133,000"],
      ["Addison Navarro", "Business Management Analyst", "New York", 50, "$295,000"],
      ["Jesse Welch", "Agency Legal Counsel", "Seattle", 28, "$200,000"],
      ["Eli Mejia", "Commercial Specialist", "Long Beach", 65, "$400,000"],
      ["Gene Leblanc", "Industrial Analyst", "Hartford", 34, "$110,000"],
      ["Danny Leon", "Computer Scientist", "Newark", 60, "$220,000"],
      ["Lane Lee", "Corporate Counselor", "Cincinnati", 52, "$180,000"],
      ["Jesse Hall", "Business Analyst", "Baltimore", 44, "$99,000"],
      ["Danni Hudson", "Agency Legal Counsel", "Tampa", 37, "$90,000"],
      ["Terry Macdonald", "Commercial Specialist", "Miami", 39, "$140,000"],
      ["Justice Mccarthy", "Attorney", "Tucson", 26, "$330,000"],
      ["Silver Carey", "Computer Scientist", "Memphis", 47, "$250,000"],
      ["Franky Miles", "Industrial Analyst", "Buffalo", 49, "$190,000"],
      ["Glen Nixon", "Corporate Counselor", "Arlington", 44, "$80,000"],
      ["Gabby Strickland", "Business Process Consultant", "Scottsdale", 26, "$45,000"],
      ["Mason Ray", "Computer Scientist", "San Francisco", 39, "$142,000"]
    ];
    const options = {
      filterType: 'dropdown',
      responsive: 'stacked'
    };
    return (

        <PageTitleBar title={<IntlMessages id="sidebar.dataTable" />} match={this.props.match} />

MUI-Datatables is a data tables component built on Material-UI V1.
            It comes with features like filtering, view/hide columns, search, export to CSV download, printing, pagination, and sorting.
            On top of the ability to customize styling on most views, there are two responsive modes "stacked" and "scroll" for mobile/tablet
            devices. If you want more customize option please Click  here

        <RctCollapsibleCard heading="Data Table" fullBlock>
            <MUIDataTable title={"Employee list"} data={data} columns={columns} options={options} />
        </RctCollapsibleCard>

    );
  }
}

export default DataTable;

Issue

In last five days it's display filter and view column icon but now I have installed it and run with npm start it doesn't show. Why it's may happening .
Your Environment

Tech
Version

mui-datatables
1.1.7

node
9.0

OS
Ubuntu 16.04 LTS

I am also facing the same issue.

@gregnb "material-ui-icons": "^1.0.0-beta.36"

@gregnb i am using the same version as well.

Please upgrade to 2.0.0-beta-2 and let me know if you have any issues. Since material-ui-icons is no longer being used and it has now moved into the material-ui name space the peer dependencies now look like:
    "@material-ui/icons": "^1.0.0-beta.43",
    "material-ui": "^1.0.0-beta.45",

so you would need to switch to @material-ui/icons

Did that but its still not working.

Still not working this is my package.json file.
{
  "name": "my-first-app",
  "version": "1.0.0",
  "description": "A Material Design App",
  "scripts": {
    "start": "webpack-dev-server --mode development --hot --open",
    "build": "webpack --mode production"
  },
  "keywords": [],
  "author": "shubham",
  "license": "ISC",
  "devDependencies": {
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.4",
    "babel-preset-env": "^1.6.1",
    "babel-preset-react": "^6.24.1",
    "babel-preset-stage-2": "^6.24.1",
    "clean-webpack-plugin": "^0.1.19",
    "css-loader": "^0.28.11",
    "extract-text-webpack-plugin": "^3.0.2",
    "file-loader": "^1.1.11",
    "html-loader": "^0.5.5",
    "html-webpack-plugin": "^3.2.0",
    "mini-css-extract-plugin": "^0.4.0",
    "node-sass": "^4.8.3",
    "react": "^16.3.1",
    "react-dom": "^16.3.1",
    "react-hot-loader": "^4.1.2",
    "redbox-react": "^1.6.0",
    "sass-loader": "^6.0.7",
    "uglifyjs-webpack-plugin": "^1.2.4",
    "url-loader": "^1.0.1",
    "webpack": "^4.5.0",
    "webpack-bundle-analyzer": "^2.11.1",
    "webpack-cli": "^2.0.14",
    "webpack-dev-server": "^3.1.3"
  },
  "dependencies": {
    "@devexpress/dx-react-core": "1.1.1",
    "@devexpress/dx-react-grid": "1.1.1",
    "@devexpress/dx-react-grid-material-ui": "1.1.1",
    "@material-ui/icons": "^1.0.0-beta.43",
    "autosuggest-highlight": "^3.1.1",
    "axios": "^0.18.0",
    "babel-polyfill": "^6.26.0",
    "chart.js": "^2.7.2",
    "classnames": "^2.2.5",
    "date-fns": "^2.0.0-alpha.7",
    "downshift": "^1.31.4",
    "draft-js": "^0.10.5",
    "firebase": "^4.12.1",
    "globalize": "^0.1.1",
    "google-map-react": "^0.34.0",
    "jquery": "^3.3.1",
    "leaflet": "^1.3.1",
    "material-ui": "^1.0.0-beta.45",
    "material-ui-pickers": "^1.0.0-rc.5",
    "moment": "^2.22.0",
    "mui-datatables": "^2.0.0-beta-2",
    "rc-queue-anim": "^1.4.1",
    "react-addons-update": "^15.6.2",
    "react-autosuggest": "^9.3.4",
    "react-beautiful-dnd": "^6.0.2",
    "react-big-calendar": "^0.19.0",
    "react-bootstrap-sweetalert": "^4.3.1",
    "react-chartjs-2": "^2.7.0",
    "react-countup": "^3.0.3",
    "react-custom-scrollbars": "^4.2.1",
    "react-d3-speedometer": "^0.3.2",
    "react-dnd": "^2.6.0",
    "react-dnd-html5-backend": "^2.6.0",
    "react-draft-wysiwyg": "^1.12.11",
    "react-dragula": "^1.1.17",
    "react-epic-spinners": "^0.2.1",
    "react-intl": "^2.4.0",
    "react-joyride": "^1.11.4",
    "react-jvectormap": "0.0.2",
    "react-leaflet": "^1.9.1",
    "react-loadable": "^5.3.1",
    "react-notifications": "^1.4.3",
    "react-number-format": "^3.3.0",
    "react-quill": "^1.2.7",
    "react-redux": "^5.0.7",
    "react-router-dom": "^4.2.2",
    "react-router-redux": "^4.0.8",
    "react-select": "^1.2.1",
    "react-sidebar": "^2.3.2",
    "react-slick": "^0.23.1",
    "react-star-rating-component": "^1.4.1",
    "react-swipeable-views": "^0.12.13",
    "react-text-mask": "^5.3.0",
    "react-toggle-switch": "^3.0.4",
    "react-tooltip": "^3.4.1",
    "react-twitter-widgets": "^1.7.1",
    "reactstrap": "^5.0.0",
    "recharts": "^1.0.0-beta.10",
    "redux": "^3.7.2",
    "redux-thunk": "^2.2.0",
    "screenfull": "^3.3.2",
    "slick-carousel": "^1.8.1",
    "style-loader": "^0.20.3",
    "weather-icons": "^1.3.2"
  }
}

When i remove hot module replacement in my app it's working fine. While working with hot module it doesn't work.
May be this is issue please try it with HMR and you will get this issue.

I still don't have an issue. Try the following:
git clone https://github.com/gregnb/mui-datatables.git
cd mui-datatables

open package.json and add the following line to scripts:
"start": "cross-env NODE_ENV=development webpack-dev-server --hot --open",

and then npm run start
and you will see the icons.

@gregnb Try it with redux + react-hot-loader.

@shubham81407 I installed those two packages and it still works. I'm not really sure what issue you are having at this point. If you can provide me access to a repo so I can download it I would love to give you a hand

https://github.com/shubham81407/reactjs-starter-kit

@gregnb did you checked my repo.

Just pulled it down. I'm seeing your issue now very weird. I'll try to find the root cause

So the options are there when the Toolbar component renders. I think the next step will be to isolate the MUIPopover component and see if that just does not work with react-hot-loader.

So after digging around the issue is coming from react-hot-loader because every component is wrapped in a ProxyComponent. Because of this MUIPopover would fail because the child.type would never display MUIPopoverContent or MUIPopoverTarget.
A simple work around to this:
      if (child.type === MUIPopoverContent || child.type === <MUIPopoverContent />.type) {

and
      } else if (child.type === MUIPopoverTarget || child.type === <MUIPopoverTarget />.type) {

I'll do a release this weekend and that should solve the issue

This issue should be resolved. Upgrade to version 2.0.0-beta-3


Can Nuitka create extension modules that works with more Python versions.

I wonder if there is a way to create a pyd file that will work with other versions of python (not only the version with which it was created)?
I created the pyd with python version 3.9 but then I couldn't use it with other versions like 3.8 or 3.6.

The created extension modules fit only precisely for the Python version they are created for nothing else. If you want to support multiple Python version, you need compile with each version.
It will (for Python3) produce filenames ignored by all other versions, so you could put them in the same place alongside. The Python2 filename will be bad in this regard as it will load with Python3's but not be recognize as an extension module, including the Python version in the extension module filename is new in Python3.


Consistency check modifications CMSTRANSF-683

The CE runs and has problems finishing, currently, it's using the redirection machine. The commit updates the information pointing directly to the dcache main xrootd endpoint for CMS

GGUS: https://ggus.eu/index.php?mode=ticket_info&ticket_id=163013


Need assistance connecting Skungee

I don't seem to understand what's wrong here, both servers are running on the same machine so I set the host to localhost and it still can't connect and just immediately goes into keep alive mode.
Need assistance
Skungee (Bungeecord):
https://pastebin.com/sTYEmdsh
Skungee (Spigot):
https://pastebin.com/sY5qbg2K

Sorry if this took to long to respond, if you need further help, you can contact me on Discord for faster support LimeGlass#1070


Unable to locate packages

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{T265 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Ubuntu 20.04

Kernel Version (Linux Only)
(5.4)

Platform
Raspberry Pi 3

Issue Description
Hello! I have been working with the T265 tracking camera for around 2 months and am attempting to transfer the system to a RaspberryPi 3, but have run into issues with downloading the SDK. I have been using the official guide for Linux downloads and keep getting stopped at the steps for downloading the -dkms and -dbg packages and keep receiving the error message that they are unable to be located. I am unsure how to proceed and would appreciate any guidance on the subject. Thanks!

I am also having this issue with a Jetson Xavier AGX on Ubuntu 20.04
Cannot download the dkms and dbg packages for the life of me to get working with the L515 LIDAR.


Update README.md

Codecov Report

Merging #15 (fe886d8) into main (1172910) will increase coverage by 5.24%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   90.90%   96.15%   +5.24%
==========================================
  Files           2        5       +3
  Lines          11       26      +15
  Branches        0        1       +1
==========================================
+ Hits           10       25      +15
  Misses          1        1

Impacted Files
Coverage Δ

lib/services/pokemon/model.ts
100.00% <100.00%> (ø)

lib/services/pokemon/slices.ts
100.00% <100.00%> (ø)

lib/utils.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Origin not used in width/height/x/y

Firstly, great work! Framer is amazing!
Now I'm not sure if this is an issue, so please just ignore if it's intentional, but I've noticed that setting width and height (or reading x/y) of a layer doesn't seem to respect the origin point in the same way that setting its scale does (it seems to use the top left).
Is this intentional?
(apologies if this is the wrong forum for such a question)

This is not the answer you're looking for but...
Framer uses div elements to display the visuals of Layers. The width and height of the layer map directly to the width and height properties of the element, which is always calculated from the top left. In contrast, Framer uses the element's transform property for scale and rotation (and 3D transformations). The good news is that the origin for these changes is adjustable! The value resides in the div's transform-origin CSS property . If you need, you can access this in framer like so:
layer.style.transformOrigin = "0% 0%"  # This sets the origin to the top left so to match the width and height origin.

As @IanBellomy said, this is expected behaviour. Please feel free to open another issues if you find any more bugs and ask questions our facebook group  for a quicker response time.


Improved error handling

Our LevelDB wrapper often just returns -1 instead of a specific error because LevelDB stupidly reports errors as arbitrary strings. I'm not sure what to do there except try to parse them...?
The rest of the code sometimes just uses assertions instead of proper error reporting too.
I'm pretty happy with just using fprintf for logging. We could be a little bit better with our messages though.

Right now we have both UV errors (from libuv) and DB errors (from the database layer, derived from MDB). The first problem is that sometimes we mix them up (they're both plain ints). The second problem is that we can't expect clients of the server API (#39) to understand or care about the difference.
I don't know what the solution is here. Either unifying them or converting them to our own error code type...
This almost certainly has some security repercussions.


Can't find the template within the gallery

If I try to search for the template within the Gallery I can't seem to find it.

Yes i made a typo when releasing a new feature.. due to that it was removed
from the gallery.. i resubmitted now but have to wait for it to propagate..
Regards,
Kees van den Bos
*CookieFirst *
Plantage Middenlaan 42a
1018 DH, Amsterdam
The Netherlands
Website: https://cookiefirst.com
On Wed, 6 Mar 2024 at 15:37, tahergalal @.***> wrote:

If I try to search for the template within the Gallery I can't seem to
find it.
—
Reply to this email directly, view it on GitHub
https://github.com/cookiefirst/gtm-template/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWLYT7RNSBREZ3FPS3DXFO3YW4SWRAVCNFSM6AAAAABEJFZJYSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TCNRVHE4DMNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add new solution

Add new solution using regular expressions.

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

Closes #XXXXX

Hi @jason-sheehy
It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬


Add install instructions to JSDocs.

R: @jeffposnick @addyosmani @gauntface
This seems like the best way to get them into the micro site.

@jpmedley  can you check if you are able to generate jsDocs from this?
I was about to open an issue about this as this page appears empty to me
https://workboxjs.org/reference-docs/latest/module-workbox-background-sync.html

I already did. I visited every page that I touched. Background sync is thin, not because of a bug, but because no one has written it yet.
I though the install might trigger some discussion so I wanted to submit it as it's own PR. I plan to go through the JSDocs and even them up, but that will be a separte PR.

cool sure, though every js file in src has its jsDocs

I mean the stuff in index.js's.


[BUG] Wikimedia link not working

This template is ONLY to be used for reporting bugs in the code.

Location

Chapter 3 Notebook 6
Current Behavior

Link not working
https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-pages-articles-multistream14.xml-p6197595p7697594.bz2
--2021-03-31 18:04:43--  https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-pages-articles-multistream14.xml-p6197595p7697594.bz2
Resolving dumps.wikimedia.org (dumps.wikimedia.org)... <IP_ADDRESS>, 2620:0:861:1:208:80:154:7
Connecting to dumps.wikimedia.org (dumps.wikimedia.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-03-31 18:04:43 ERROR 404: Not Found.

Expected Behavior

Possible Solution

Steps to Reproduce

1.Run the notebook
Context (Environment)

google colab
Possible Implementation

@kartikay-bagla I think wikimedia links will continue to change, one way would be to fix on a version and have a copy of that is a bucket or a drive.