Add option to impose RMSD restraint on core heavy atoms and nearby protein CA atoms

This PR adds the option for imposing an RMSD restraint on core heavy atoms and nearby protein CA atoms.
Enabling this option also adds a virtual (zero force) bond between the small molecule and protein, and between any protein chains, ensuring the whole system is imaged together.
@dominicrufa : Any suggestions on where to add a unit test?

probably somewhere here, though im not sure what the test will actually do? just make sure that the custom cv force is actually there in the hybrid system?

probably somewhere here, though im not sure what the test will actually do? just make sure that the custom cv force is actually there in the hybrid system?

I'm presuming we currently have a test that runs the FAH setup pipeline on a very small protein:ligand system. I'd just want to add a variant of that (or modify it) to also try imposing the RMSD restraint.

I just ran into this issue (https://github.com/openmm/openmm/issues/2913) which means that I need to add a zero-energy CustomBondForce between protein and ligand. I'll add that now.

probably somewhere here, though im not sure what the test will actually do? just make sure that the custom cv force is actually there in the hybrid system?

I'm presuming we currently have a test that runs the FAH setup pipeline on a very small protein:ligand system. I'd just want to add a variant of that (or modify it) to also try imposing the RMSD restraint.

we do run the RelativeFEPSetup (which is essentially the fah setup before minimization) on the host guest system to test the deterministic geometry map. to test that there does indeed exist a customcv force added to the hybrid_system, you can just copy/paste the RelativeFEPSetup class initializer in a test below this test and just assert that there is an rmsd force in the hybrid system

@dominicrufa : Could you take this PR over and finish it up? Perhaps @glass-w can help. I realize I'm juggling too many things, but we need to get this in this week. Thanks!

@dominicrufa : Could you take this PR over and finish it up? Perhaps @glass-w can help. I realize I'm juggling too many things, but we need to get this in this week. Thanks!

Sure, i'll give it a shot.

@dominicrufa : Just bumping this---would be great if you could take a look at adding a test to finish this up!

@dominicrufa : Just bumping this---would be great if you could take a look at adding a test to finish this up!

@dominicrufa : Can you help add a test and merge this?

@dominicrufa : Can you help add a test and merge this?

as a sanity check, should the rmsd force be using pbc?

as a sanity check, should the rmsd force be using pbc?

as a sanity check, should the rmsd force be using pbc?

Since I also add a virtual bond between the protein chains and the protein and ligand, these will all be imaged together, so we don't need to use PBC with RMSDForce.
@dominicrufa : Are there other things needing my review/input here?

@dominicrufa can you work with @mikemhenry to get this finished up and merged?

@dominicrufa can you work with @mikemhenry to get this finished up and merged?
I wrote a test for this branch. the only error in the PR tests right now reads:

ModuleNotFoundError: No module named 'openff'
which is causing the failures. @mikemhenry , I'm not too familiar with what has gone / is going into refactoring, but if this can be fixed, the PR should be ready to merge

ModuleNotFoundError: No module named 'openff'

This presumably has to do with the namespace change as the openff toolkit moved to conda-forge.
This also needs to be rebased or have master merged in.

Working on the PR right now --
@dominicrufa
can you make sure my merge looks good here? https://github.com/choderalab/perses/pull/748/commits/8d9c9fd9e682fe9d9363a999a8294440e9814f22
It looks like flatten torsions has been merged in, so I had to manually resolve some merge conflicts. They were straightforward but  would like someone to double check them!

This looks ready to merge, and I checked to make sure the test actually runs:
https://github.com/choderalab/perses/pull/748/checks?check_run_id=2116303508#step:9:60

Thanks! It looks like there are some failures on the nightly OpenMM dev builds that we can address with the OpenMM folks?
____________ ERROR collecting perses/tests/test_coordinate_numba.py ____________
ImportError while importing test module '/home/runner/work/perses/perses/perses/tests/test_coordinate_numba.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/share/miniconda/envs/test/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
perses/tests/test_coordinate_numba.py:6: in <module>
    from perses.rjmc.geometry import check_dimensionality
perses/rjmc/__init__.py:1: in <module>
    from perses.rjmc import geometry, coordinate_numba, coordinate_tools, topology_proposal
perses/rjmc/topology_proposal.py:14: in <module>
    import openmoltools.forcefield_generators as forcefield_generators
/usr/share/miniconda/envs/test/lib/python3.8/site-packages/openmoltools/__init__.py:26: in <module>
    from openmoltools import amber_parser, system_checker, utils, packmol, openeye, amber, cirpy, gromacs, schrodinger
/usr/share/miniconda/envs/test/lib/python3.8/site-packages/openmoltools/amber_parser.py:4: in <module>
    import simtk.openmm.app.element as element
E   ModuleNotFoundError: No module named 'simtk.openmm.app.element'
____________ ERROR collecting perses/tests/test_geometry_engine.py _____________

The failures on nightly are related to this issue:
https://github.com/openmm/openmm/issues/3022
We need to fix packages upstream like openmoltools to either use a try and accept block so we can support the namespace change OR change the imports so the backwards compatibility from openmm works out of the box.

change the imports so the backwards compatibility from openmm works out of the box.

This sounds like the correct solution! The changes shouldn't be too extensive. Could you help tackle this?
It should be quick-and-dirty since we eventually want to deprecate openmoltools and replace it entirely with openff-toolkit functionality, but we unfortunately aren't quite there yet!

@mikemhenry @dominicrufa We need to get this merged in ASAP and a new release cut when able!


No Data Points Collected After Successful Deployment?

Hello, I have recently installed, enabled, and configured this app. As you can see here, the Cluster Info is properly populated with information scraped from my cluster. Additionally, the generated data source, as shown here, indicates that the configuration is working properly.
However, as seen here, no Data Points are being collected by Grafana for any other automatically generated Dashboards.
I have manually modified my prometheus.yml file for the Prometheus server running on my Cluster to contain the kubernetes-kubelet Job as well as deployed the required Kube Exporter and Kube State Metrics deployment manifests, which are happily running on my cluster right now.
Is there something else I need to do? The cluster is configured using the SSL Certificates found within my ~/.kube/config file.

EDIT: It appears that the user associated with the certificates in my ~/.kube/config file doesn't have the required permissions to list resources in the cluster as indicated by the following example log from the kube-state-metrics pod.
    k8s.io/kube-state-metrics/collectors/resourcequota.go:67: Failed to list *v1.ResourceQuota: resourcequotas is forbidden: User "system:serviceaccount:kube-system:default" cannot list resource "resourcequotas" in API group "" at the cluster scope
How should I properly create a user  to remediate this?

@zimmertr
use this guide: https://docs.bitnami.com/kubernetes/how-to/configure-rbac-in-your-kubernetes-cluster/
generate a new certificate with the proper access, and itll work fine.

Hi  @cbluth, I implemented the steps in that Bitnami guide as an Ansible playbook found here.
Here is the ClusterRole that the user uses and here is how it is bound to the user.
However, despite this, Grafana throws this error when I configure it with the generated certificates.
Furthermore, if I attempt to run any command with the user context, it says I'm unauthorized.
$> kubectl --context=grafana-prometheus-scraper get pods -n grafana
error: You must be logged in to the server (Unauthorized)

Any ideas?


Twitter account is temporarily restricted

Visiting https://twitter.com/toptout_me (authenticated or in private mode) return:
Caution: This account is temporarily restricted
You’re seeing this warning because there has been some unusual activity from this account. Do you still want to view it?
Searching twitter return this article "Help with locked or limited account":
https://help.twitter.com/en/managing-your-account/locked-and-limited-accounts

Yeah, and I can't post anything:

This request looks like it might be automated. To protect our users from spam and other malicious activity, we can’t complete this action right now. Please try again later.

No idea why and how to fix: linked article is no help - I don't get a captcha or anything like that. Meh...

I have some kinda guesses of why this happening after reading on twitter help site:

you using some private network to accsses twitter (Tor / VPNs, etc...) which is shame if twitter block/fight them,
your account password/email was reported as being hacked? or something related, such as results from sites like https://monitor.firefox.com/
my fault :( trying to promote the project by reply tweeting to relevant tweets which had some success (likes + github follower) but also unfortunately 1 accusing of spamming which I don't know maybe reported the user?! or some twitter AI/ML auto stuff did it?

Still not sure at all, maybe something else...
is there any information in the account why it's happening? or how to contact twitter support which is likely the next needed step, probably using this form: (for suspended or locked accounts)
https://help.twitter.com/forms/general?subtopic=suspended
There also article "About suspended accounts" which link to above "Help with locked or limited account":
https://help.twitter.com/en/managing-your-account/suspended-twitter-accounts

Fixed.

Hello,
We’re writing to let you know that your account is now unlocked. We’re sorry for the inconvenience.
A little background: We have systems that find and remove automated spam Twitter accounts, and it looks like yours was flagged as spam by mistake. This can happen if an account exhibits automated behavior in violation of our rules.
We apologize for the mixup, and hope to see back on Twitter soon.
If you need to get in touch with us again, please file a report through your Twitter app or our forms page, as this account isn’t monitored for replies.
Thanks,
Twitter


Generate ident of macros to call

I'm in the process of writing a fast small matrix library in Rust, and I have a bunch of code that looks like this:
impl_Mat!(2, 3, Mat2x3, unroll_Mat2x3, Vec2, unroll_Vec2, Vec3, unroll_Vec3, Mat3x2, unroll_Mat3x2);

where unroll_Mat2x3, unroll_Vec3, etc, are other macros. I've tried to use concat_idents, but I can't get it to work to generate idents of other macros I can call. I would like to just write:
impl_Mat!(2, 3);

and just have everything generated automatically.
Something else that would be useful would be a way to convert an int to an ident. Currently there's no way to unroll loops except to do it for each possible count (unroll_2, unroll_3, etc), so the only way is to fake it by manipulating uints to idents.

Let's continue to track this as part of the work on the concat_idents feature. https://github.com/rust-lang/rust/issues/29599


controllerAs syntax name conflicts

Hi,
Something I have discovered today with regards to the controllerAs syntax in Angualr 1. In my Angular 1 application I try to apply the component architecture by using directives to define individual components. The directive has its own controller with controllerAs: 'vm'. I also use angular-ui router for navigating between views. What I have discovered is that if I have a route defined with controllerAs: 'vm' and then I use a directive within the view that defines controllerAs: 'vm', the vm of the parent controller gets overwritten. The behaviour is the same even with isolated scope on the directive. If however I specify different names in the controllerAs parameter for router and the directive (ex controllerAs: 'componentVm') all works fine.
I was wondering if I am doing something wrong? If not and if this is the intended behaviour it would probably be a good idea to add something to the styleguide mentioning potential controllerAs name conflicts when using component architecture in Angular 1 with directive specific controllers.
Kind regards
Jusef

The style guide already says:
"Note: When working with larger codebases, using a more descriptive name can help ease cognitive overhead & searchability. Avoid overly verbose names that are cumbersome to type."
So I think @johnpapa has this covered well. Perhaps a slight improvement would be to mention that using nested controllers counts as "larger codebases".
(However... if you're building with well isolated components, you probably have few very explicitly nested controllers even in large projects.)

That section of the style-guide is quite new, and probably could be expanded/improved a bit IMO.
See this conversation for more info: https://github.com/johnpapa/angular-styleguide/issues/462

Feel free to make a PR to add a short bit on nesting controllers, if you think it wil help

I'm a bit new to Angular and just transition from angular 1.4.8 to 1.5.0. I had the same problem, when nesting a directive. The parent directive would controllerAs property as 'vm' was overwritten by the child directive. adding an isolate scope to the child fixed the issue for me, but I can see where these can cause a problem.

Feel free to make a PR to add a short bit on nesting controllers, if you think it wil help

In my experience with naming Angular 1 controllers, out of the available options it makes the most sense to rename them after the component itself. This would only fall down with nesting of the same type of component inside one type, which in experience with a large app does not come up often.

So to clarify, I would suggest changing this rule in the style guide to recommend using the name of the component.

Use vm until it's not clear. Then use a more descriptive name.
That's what I like.

I had the same issue as the one jusefb reported in November 2015. We had changed some directives to be controllerAs: 'vm'. In one case a controllerAs: 'vm' did not have an isolated scope (but in all other cases the  controllerAs: 'vm' directives did have an isoloted scope). Adding scope: {}, to the one  controllerAs: 'vm' directive that didn't have an isolated scope fixed the problem.


Weird issue with layering

Using the default bootc-image-builder command, I'm unable to create something like this in a Containerfile:
FROM quay.io/centos-bootc/fedora-bootc:eln

RUN echo "root:root" | chpasswd
RUN podman create --name hello --restart=always -p 8080:8080 cdrage/helloworld

I'm getting the error:
ostree container image deploy --imgref=ostree-unverified-image:dir:/tmp/tmpo2itqhqp/image --stateroot=default --target-imgref=ostree-remote-registry::quay.io/podai/test --karg=rw --karg=console=tty0 --karg=console=ttyS0 --karg=root=LABEL=root --sysroot=/run/osbuild/tree
error: Performing deployment: Importing: Parsing layer blob sha256:fddea510d1419a5023604a90d8b1a832d777a836e4344590dfd0b999355233b7: error: ostree-tar: Processing deferred hardlink var/lib/containers/storage/overlay/4f2c33229347e298a539cd86ec91e881b6e445b45f0bc46448e86e4bd0103e7e/diff/usr/bin/perl: Failed to find object: No such file or directory: var: Processing tar via ostree: Failed to commit tar: ExitStatus(unix_wait_status(256))
Traceback (most recent call last):
  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 140, in <module>
    r = main(stage_args["tree"],
        ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 135, in main
    ostree_container_deploy(tree, inputs, osname, target_imgref, kopts)
  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 109, in ostree_container_deploy
    ostree.cli("container", "image", "deploy",
  File "/run/osbuild/lib/osbuild/util/ostree.py", line 202, in cli
    return subprocess.run(["ostree"] + args,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ostree', 'container', 'image', 'deploy', '--imgref=ostree-unverified-image:dir:/tmp/tmpo2itqhqp/image', '--stateroot=default', '--target-imgref=ostree-remote-registry::quay.io/podai/test', '--karg=rw', '--karg=console=tty0', '--karg=console=ttyS0', '--karg=root=LABEL=root', '--sysroot=/run/osbuild/tree']' returned non-zero exit status 1.

⏱  Duration: 23s

Even after adding RUN ostree container commit to the Containerfile, it does not make a difference.

This issue is unrelated to b-i-b (whose job is to transform container images into disk images) - it's more an issue for https://github.com/centos/centos-bootc today (which is the operating-system-as-container base image).

The (slightly) longer answer here today is that you need to do https://centos.github.io/centos-bootc/builds/#embedding-application-containers - in theory we could perhaps try to translate build-time podman create invocations into quadlets...

Ah, thank you. I for some reason expected it to be near 100% exact like a normal operating system so something like adding a RUN command to start on boot would have it boot up. Thank you for the documentation, I'll go through https://centos.github.io/centos-bootc/builds/#embedding-application-containers

Although I see why you filed it here, because we failed at deployment time and not build time which is a bit surprising...hmm

Closing as this is resolved with documentation now.


Fixed the issue explained below.

While using the max duration feature, if we set the end time earlier than the start time when the start time is close to '00:00', the time range picker was calculating the hour like 43:20, 33:45, etc.
Warning: Not tested for other usage scenarios.

this was a more general bug that was fixed in 2.1.0 now, thanks


Warn users when API token is used in Trusted Publishing project

First part of https://github.com/pypi/warehouse/issues/14171
If a user uploads files using an API token to a project that has a Trusted Publisher configured, send an email to all the project's users notifying them of the API token use, suggesting they remove it and use Trusted Publishing instead.
This warning is only sent if the upload is for a new release of the project. Uploads of files for existing releases do not trigger the warning.

This warning is only sent if the upload is for a new release of the project. Uploads of files for existing releases do not trigger the warning.

Per discussion in #14171, I think this should:

send the email on the first file uploaded, regardless of whether it is creating a new release or not
only send one email per API token, ever

That all sounds okay, except:

We could even relax the requirement of only warning about API tokens scoped to a single project. If a user uses a token scoped for multiple projects to upload to one of them, with a trusted publisher already existing, they'll still get the warning only once.

I don't think we could relax this, because we want to send this to all owners/maintainers of the project, not just the user who owns the token. So a user might use a account-wide token to upload to two different projects: we'd want to send a notification for each usage in that case.
And we probably shouldn't exclude account-wide API tokens from this notification, so an association table between tokens <-> projects seems to still make the most sense.
One other thing: we should make sure these notifications are immediately actionable. It would be ideal if they linked to a URL where the user could immediately revoke the token in question.

@di
Alright, then I'll summarize what we've got so far, because we changed a lot from the previous discussion. Before we had:

Also, we only care about API tokens scoped only for that single project
only send one email per API token, ever
Yep: we want to email the user who can take the action, not other users

And now we have:

Send warnings for API tokens both project-scoped and account-level scoped.
Send only one email per (API token, Project) combination
Send the email to all of the project's maintainers

Is that accurate, or did I miss something?

Closing this in favor of https://github.com/pypi/warehouse/pull/15641


No mention of P4/5 requiring special request in all documentation

In https://docs.microsoft.com/en-us/power-bi/admin/service-premium-what-is#capacity-nodes it states that P4/P5 Premium nodes are "By special request only". This however in this documentation https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-capacity#sku-memory-and-computing-power the mention about special requests is missing.

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

ID: 72fa2a8f-51b8-14fc-5c99-7875d009d5f3
Version Independent ID: 2bd4bd19-28f7-7c64-2a5f-fb2b368ab088
Content: Capacity and SKUs in Power BI embedded analytics - Power BI
Content Source: powerbi-docs/developer/embedded/embedded-capacity.md
Service: powerbi
Sub-service: powerbi-developer
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi @t-foster2021,
Thank you for letting us know about the missing P4/P5 SKU information - I added it to SKU memory and computing power.
Thanks,
Kesem


c.IsSet returns true for empty env vars

I want to be able to differentiate between empty env vars and unset env vars, but they are treated the same right now:
package main

import (
	"fmt"
	"os"

	"github.com/urfave/cli"
)

func main() {
	app := cli.NewApp()
	app.Name = "boom"
	app.Usage = "make an explosive entrance"
	app.Flags = []cli.Flag{
		cli.StringFlag{
			Name:   "thing",
			EnvVar: "THING",
		},
	}
	app.Action = func(c *cli.Context) error {
		fmt.Printf("isset: %t\n", c.IsSet("thing"))
		return nil
	}
	os.Setenv("THING", "")
	//os.Setenv("THING", "set")

	app.Run(os.Args)
}

This prints
isset: false

If you uncomment the commented out line it prints:
isset: true

I need both cases to be treated as set. Right now I have some ugly workarounds to do this.

Hi @vikstrous,
Thank you for bringing this up. I've gone back and forth on how to treat empty env vars, but I think I agree with you that they should be treated as set and override any defaults defined on the flag. I could see applications depending on this behavior, but given that IsSet only actually worked with env vars (#502) as of this past month (and hasn't been officially released), I'm OK with modifying it.


rxjs install issues

related to https://github.com/ReactiveX/rxjs/issues/4456#issuecomment-452164765 - rxjs install hangs during yo @inrupt/solid-react, to fix it, remove package-lock.json:
   create test/__mocks__/useLdflex.js
   create yarn.lock
Installing dependencies...
⸨            ░░░░░░⸩ ⠸ extract:rxjs: sill extract<EMAIL_ADDRESS>extracted to /Users/michiel/gh/michielbdejong/solid-app-from-generator/node_modules/.staging/rxjs-38e51734 (9025ms)
⸨            ░░░░░░⸩ ⠸ extract:rxjs: sill extract<EMAIL_ADDRESS>extracted to /Users/michiel/gh/michielbdejong/solid-app-from-generator/node_modules/.staging/rxjs-38e51734 (9025ms)
⸨            ░░░░░░⸩ ⠸ extract:rxjs: sill extract<EMAIL_ADDRESS>extracted to /Users/michiel/gh/michielbdejong/solid-app-from-generator/node_modules/.staging/rxjs-38e51734 (9025ms)

~/gh/michielbdejong/solid-app-from-generator $
~/gh/michielbdejong/solid-app-from-generator $ npm install

~/gh/michielbdejong/solid-app-from-generator $ npm install rxjs

~/gh/michielbdejong/solid-app-from-generator $ rm package-lock.json
~/gh/michielbdejong/solid-app-from-generator $ npm install rxjs
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.

+<EMAIL_ADDRESS>added 2 packages from 7 contributors and audited 2 packages in 5.076s
found 0 vulnerabilities

Actually, to be more precise, npm install<EMAIL_ADDRESS>hangs. npm install<EMAIL_ADDRESS>does not.

This issue was fixed with release 0.5.0


add broker requestID

Codecov Report

Merging #254 into master will increase coverage by 0.08%.
The diff coverage is 85.1%.

@@            Coverage Diff             @@
##           master     #254      +/-   ##
==========================================
+ Coverage    68.8%   68.89%   +0.08%
==========================================
  Files         162      162
  Lines       22494    22510      +16
==========================================
+ Hits        15478    15508      +30
+ Misses       5800     5785      -15
- Partials     1216     1217       +1

Impacted Files
Coverage Δ

broker/query_compiler.go
59.45% <ø> (ø)
:arrow_up:

broker/executor.go
0% <0%> (ø)
:arrow_up:

broker/query_plan_agg.go
84.3% <100%> (+0.58%)
:arrow_up:

datanode/client/query_client.go
60.86% <66.66%> (+0.57%)
:arrow_up:

broker/handler.go
10.44% <75%> (+10.44%)
:arrow_up:

broker/query_plan_non_agg.go
76.03% <77.77%> (-0.24%)
:arrow_down:

subscriber/common/job/driver.go
71.98% <0%> (+1.41%)
:arrow_up:

controller/mutators/etcd/schema_mutator.go
60.94% <0%> (+1.77%)
:arrow_up:

memstore/backfill_manager.go
92.07% <0%> (+4.95%)
:arrow_up:

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 f25da26...0e96249. Read the comment docs.


Fix breaking changes of #15409

Description
Fix breaking changes of #15409

Related Issues
Resolves #15463
Check List

[ ] ~Functionality includes testing.~
[ ] ~API changes companion pull request created, if applicable.~
[ ] ~Public documentation issue/PR created, if applicable.~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

❕ Gradle check result for 8e83f3a: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Flay tests #14294


fix android ssl import error (PyBaseExceptionRef/VirtualMachine/conve…

adapt mod layout changes

@coolreader18 could you review this PR?


Fix path to bundle.js

Bug Fix: prevents 404 on nested routes

Errrmagerrrrd a peeee errrrr from merrrrrgderrrr


Fixes for settings attribute error.

Hi Matias,
I have fixed this settings attribute error, please have a look over it.

I don't see the changes, could you update the pull request?


Hyprlock 0.6.0 breaks outer_color when specified as a decimal

Regression?
Yes
Hyprlock Info and Version
Hyprlock version 0.6.0
 Hyprlock config
input-field {
  size = 300, 250
  rounding = -1
  outline_thickness = 30
  outer_color = rgba(129, 162, 190, 85)
  inner_color = rgb(29, 31, 33)
  font_color = rgb(100, 100, 100)

  check_color = rgb(204, 136, 34)  # override outer_color while checking the pw (could take a while sometimes - pam lockouts)
  fail_color = rgb(204, 34, 34)  # override outer_color and fail message color if auth failed
  fail_transition = 500 # transition time in ms between normal outer_color and fail_color
  fail_text = # Leave this empty (amt of attempts and fail reason shown with labels)

  hide_input = true
  fade_on_empty = false
  placeholder_text = # Leave this empty

  position = 0, 0
  halign = center
  valign = center
}

Compositor Info and Version
 System/Version info
Hyprland 0.46.2 built from branch  at commit 0bd541f2fd902dbfa04c3ea2ccf679395e316887  (version: bump to 0.46.2).
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.2.6
 hyprcursor 0.1.10
 hyprgraphics 0.1.1

flags set:
debug

System Information:
System name: Linux
Node name: voyager
Release: 6.12.4-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 09 Dec 2024 14:31:57 +0000

GPU information:
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo [1002:15e7] (rev c4) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Description
For some reason, specifying the outer_color using rgba with decimal color channel values doesn't seem to work, leading to the outer color being invisible.
This became an issue after updating from hyprlock 0.5.0 to 0.6.0.
I also tried doing: outer_color = rgba(129, 162, 190, 0.85) instead of the 85 for alpha, but this still didn't work. However, using the hex  code: outer_color = rgba(81a2bed8) renders the circle properly.
Note: This also applies to check_color & fail_color.
This might be a hyprlang issue rather than a hyprlock one, however, I'm not certain, I'm reporting it here as that's where I observed it.
How to reproduce
Set outer_color in the input-field to an rgba value that uses decimal numbers to specify the individual color channels.
Crash reports, logs, images, videos
When outer color is specified using decimal values:

When outer color is specified using a hex value:

I see the same issue with check_color, fail_color, capslock_color and numlock_color. Maybe that's also what's causing #594?
inner_color and font_color seem to work correctly

I see the same issue with check_color, fail_color, capslock_color and numlock_color. Maybe that's also what's causing https://github.com/hyprwm/hyprlock/issues/594?

I did mention that fail_color & check_color also cause this. But capslock_color & numlock_color are a good shout, also with bothlock_color too.

Maybe that's also what's causing https://github.com/hyprwm/hyprlock/issues/594?

Definitely not. This issue has to do with numlock & capslock colors taking precedence over fail_color & check_color. Also, that issue occurs in 0.5.0 too, this one is 0.6.0 only.

@ItsDrike regressor is https://github.com/hyprwm/hyprlock/commit/578246b9967dec77c56993dc55ca192d35ba9bb7
Works when removing spaces from the args e.g. rgba(129,162,190, 85).


CI failure: error, found error log!

Set title to be in the format CI:
error, found error log !!!
Copy-paste the output the test failure.
---------spiderpool-controller-864c4f48df-wrz58--------
error, in spiderpool-controller-864c4f48df-wrz58, found error, Goroutine took lock !!!!!!!
{"level":"WARN","ts":"2022-11-28T11:43:29.995Z","logger":"Debug-Lock","caller":"lock/lock_debug.go:110","msg":"Goroutine took lock for more than 0.20 seconds","Seconds":0.381094313,"Goroutine":" 157"}

{"level":"DEBUG","ts":"2022-11-28T11:43:29.996Z","logger":"IP-GarbageCollection","caller":"gcmanager/tracePod_worker.go:55","msg":"sending signal to gc pod 'ns4049-797261545/deploy-1-4050-25375101-6874fd5d94-slgvv' IP"}
{"level":"DEBUG","ts":"2022-11-28T11:43:29.996Z","logger":"IP-GarbageCollection","caller":"gcmanager/pod_cache.go:68","msg":"delete deploy-1-4050-25375101-6874fd5d94-slgvv pod cache successfully"}
goroutine 157 [running]:
goroutine 157 runtime/debug.Stack()
goroutine 157 	/usr/local/go/src/runtime/debug/stack.go:24 +0x72
goroutine 157 github.com/spidernet-io/spiderpool/pkg/lock.(*internalRWMutex).Unlock(0xc00076e080)
goroutine 157 	/src/pkg/lock/lock_debug.go:59 +0xcd
goroutine 157 github.com/spidernet-io/spiderpool/pkg/gcmanager.(*PodDatabase).DeletePodEntry(0xc00076e080, {0xc000f73900, 0x10}, {0xc000f51890, 0x26})
goroutine 157 	/src/pkg/gcmanager/pod_cache.go:69 +0x305
goroutine 157 github.com/spidernet-io/spiderpool/pkg/gcmanager.(*SpiderGC).handlePodEntryForTracingTimeOut(0xc000156100, 0xc0010be480)
goroutine 157 	/src/pkg/gcmanager/tracePod_worker.go:56 +0xa68
goroutine 157 github.com/spidernet-io/spiderpool/pkg/gcmanager.(*SpiderGC).tracePodWorker(0xc000156100, {0x2e75330, 0xc000399880})
goroutine 157 	/src/pkg/gcmanager/tracePod_worker.go:30 +0x21e
goroutine 157 created by github.com/spidernet-io/spiderpool/pkg/gcmanager.(*SpiderGC).Start
goroutine 157 	/src/pkg/gcmanager/gc_manager.go:132 +0x1ba
{"level":"DEBUG","ts":"2022-11-28T11:43:30.060Z","logger":"SpiderIPPool-Informer","caller":"ippoolmanager/ippool_informer.go:500","msg":"update SpiderIPPool 'auto-deployment-ns4325-560101416-deploy-23-4326-646078621-v6-9e8e52e6894f' status TotalIPCount to '0' successfully"}

Upload the zip file generated from that test failure.
ipv6Only-debuglog.txt (1).zip
Copy-paste the link of the CI build where that test failure has happen.
https://github.com/spidernet-io/spiderpool/actions/runs/3563923464/jobs/5987372727
Include any output from logs that you think may be relevant (to ease GitHub searches).

After testing, the logger will cost external time duration which will affect the lock.
https://github.com/spidernet-io/spiderpool/blob/053cf609ee6cf106750c9583da21acfe364d26e5/pkg/gcmanager/pod_cache.go#L56-L69


Add rendering for dcterms:source in ontology metadata

Text or HTML at least.

Renders both URI and text, as of commit https://github.com/RDFLib/pyLODE/commit/cf27eeda5028c2de5a2329e28a3230aae9225ce9


Add REGEX cheatsheet

Descriptions

add more contents or commands / keyboard shortcuts / tags and attributes / properties in -cheatsheet.md file

Expected behavior

Enrich the *-cheatsheet.md file by adding more frequently used commands / keyboard shortcuts / tags and attributes / properties.

Screenshots or Links

If applicable, add screenshots or a modified UI link to help explain your contribution.

Additional Context

Please, directly create a pull request and @mention your pull request id here like #150

Please, fill free to contribute to this project. Anyone including newcomers can make a contribution to this repo by adding basic Commands or Keyboard Shortcuts or tags, attributes, and properties and take a part in an open-source project.


Unable to deliver cards.

Versions
botbuilder: 4.18.0
nodejs: 18.15.0
chrome: 117.0.5911.2
MacOS
Describe the bug
I have a Ms Teams bot which sends adaptive cards to users, for most of the times bot is functioning fine but for few of our users cards are not getting delivered, I have checked all third party app related policies/permissions and everything seems normal
I have checked my webserver logs as well and the API requests are yielding 200 for all notifications, let me know if I can provide any other log traces.

Thanks @sahil-mesh, I'm looking into this.

Thanks for your patience @sahil-mesh,
Asking some clarifying questions:

What version of Microsoft Teams are the affected users using? (Desktop, Web, Mobile, Version Number)
Are there any specific regions or networks where the issue is more prevalent?
Can you provide a step-by-step guide on how to reproduce the issue?
Is the issue consistent for the affected users, or does it happen intermittently?
Are there specific times of the day when the issue is more prevalent?
Are there any specific adaptive cards that are not being delivered, or is it random?
How is the bot sending these adaptive cards? (e.g., proactive messages, in response to user queries)
Are the affected users part of a specific group, department, or organizational unit?
Are there any error messages displayed on the bot or Teams when the issue occurs?

Closing due to inactivity. @sahil-mesh, please re-open and provide additional information requested above. Thanks


feat: Ionic serve cordova plugins browser support

Type: feat
Ionic Version: 2.x
Platform: desktop browser
Ionic serve is an astonishing way for a rapid app development. But its benefits are seriously limited when relying on cordova plugins which do have browser support (e.g. facebook login, google maps) since it doesn't inject cordova. If Ionic serve were to support browser enabled cordova plugins, it would speed up development in many cases tremendously. Thanks for consideration!

Hello! Thanks for opening an issue with us! As this issue is more related to the cli than the framework i will be moving this issue over to that repo. Thanks for using ionic!

This issue was moved to driftyco/ionic-cli#1012


Unsigned response rejected even when "strict" is false

Unsigned SAML responses are rejected with the message "No Signature found. SAML Response rejected" even when setting "strict", "wantMessagesSigned" and "wantAssertionsSigned" to "false".

wantMessagesSigned and wantAssertionsSigned are specific flags when the SP expects an specific signed element.
SAML standard requires at least the Assertion or the whole message to be signed, otherwise, if there is no Signature, there is no way to verify that the IdP generated the message.


How to build with optimization flags turned down for gdb debugging?

Im probably just missing this, but yotta is presumably optimizing code so my yt debug sessions leave me with a lot of <optimized out>
Presumably id set a flag somehow?

Are you building with yotta build -d ? That should be --debug-build

Yup, use -d/--debug-build to reduce optimisation. I noticed this flag could be documented better, so I'm leaving this issue open to track that.

Nope, thats what I was looking for. Yeah not sure I ran across that in any documentation, but always possible I missed it.


Adding some debugging messages to help debug a build failure

Adding some more info to debug #962 if it occurs again

Codecov Report

Merging #964 into master will decrease coverage by 0.02%.
The diff coverage is 92.85%.

@@             Coverage Diff              @@
##             master     #964      +/-   ##
============================================
- Coverage      67.6%   67.57%   -0.03%
+ Complexity     4469     4467       -2
============================================
  Files           367      367
  Lines         29070    29081      +11
  Branches       3690     3691       +1
============================================
- Hits          19652    19651       -1
- Misses         8398     8404       +6
- Partials       1020     1026       +6

Impacted Files
Coverage Δ
Complexity Δ

...om.github.ambry.router/SimpleOperationTracker.java
91.66% <100%> (+1.5%)
26 <0> (+1)
:arrow_up:

...ain/java/com.github.ambry.router/PutOperation.java
89.42% <50%> (-0.6%)
81 <0> (-1)

...b.ambry.network/BlockingChannelConnectionPool.java
62.6% <0%> (-3.05%)
7% <0%> (-1%)

...github.ambry.rest/AsyncRequestResponseHandler.java
88.59% <0%> (-2.29%)
23% <0%> (ø)

.../java/com.github.ambry.router/DeleteOperation.java
91.91% <0%> (-1.48%)
43% <0%> (-1%)

...in/java/com.github.ambry.network/SocketServer.java
82.78% <0%> (-0.41%)
13% <0%> (ø)

...in/java/com.github.ambry.store/BlobStoreStats.java
70.81% <0%> (-0.24%)
82% <0%> (ø)

...c/main/java/com.github.ambry.network/Selector.java
82% <0%> (+3.59%)
45% <0%> (+1%)
:arrow_up:

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 b011f63...f53e116. Read the comment docs.


check of _resource_callback != NULL disappeared in recent commit

In commit ea74c8525ba37a5676a397e4a5984a924f324180 (Fix observation handling)
in file source/m2mresourceinstance.cpp line 217-220
check if (_resource_callback) before its usage was removed.
That leads to crash.

ARM Internal Ref: IOTCLT-465

Thanks for your finding. Check is added back in commit https://github.com/ARMmbed/mbed-client/commit/c795e87bef047cc7f59e1f3a3b2b6cba6251802f.


[SP-5751] Backport of PDI-18972 - Out of Memory Errors can occur when…

… using Excel Writer step (9.1 Suite). Revert BACKLOG-31404.

:white_check_mark: Build finished in 33m 46s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:ok_hand: All tests passed!
Tests run: 3737, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

@ssamora

@pentaho/moseisley


Split css does not have keycloak resource path preprended

I'm pretty new to react and this is more of a question than an issue and it may not even be an issue with this library.
Some background on what I'm trying to achieve:
I would like to use a single Keycloakify project to render different themes for multiple clients based on the clientId kc context value. In the past, I would simply extend a theme and append to the styles property with the file path to client specific css to override the previous styles. Is there a way to do that with this library?
I first tried to import the css path as I do with favicon import client1Favicon from "app/assets/client1/favicon.ico"; and append that to styles but I had no luck with that as the value was an object. But I'll continue looking into this, there may be some webpack option I can use to address this.
I also tried using code splitting feature to generate multiple css files but I now receive 404s as the Keycloak resource path is not prepended, example:
https://REDACTED/auth/resources/31exq/login/keycloakify/build/static/css/main.761845f0.chunk.css
https://REDACTED/static/css/4.75c36a70.chunk.css

Only the main.* chunks are available. Would it be possible for this to be fixed in the build-keycloak-theme scripts?
Here's a snippet of my components:
Main component:
const Component = lazy(() => {
  return Promise.resolve(import("./path/to/component2"));
});

export const Login = ({ kcContext, ...kcProps }: KcContextLoginComponent) => {
  return (
    <Suspense fallback={<DefaultLogin {...props} />}>
      <Component {...props} />
    </Suspense>
  )
};

Component2
import "./component2.scss";

const Component2 = memo((props: KcContextLoginComponent) => {
  return <Login {...props} />;
});
Component2.displayName = "Component2";

export default Component2;

Here's my resulting build folder directory build_keycloak/src/main/resources/theme/keycloakify/login/resources/build/static:
.
├── css
│   ├── 3.976b061b.chunk.css
│   ├── 3.976b061b.chunk.css.map
│   ├── 4.1a7cc1a2.chunk.css
│   ├── 4.1a7cc1a2.chunk.css.map
│   ├── main.1bbd513a.chunk.css
│   └── main.1bbd513a.chunk.css.map
├── js
│   ├── 2.62a3ec59.chunk.js
│   ├── 2.62a3ec59.chunk.js.LICENSE.txt
│   ├── 2.62a3ec59.chunk.js.map
│   ├── 3.f64e32e6.chunk.js
│   ├── 3.f64e32e6.chunk.js.map
│   ├── 4.30b8d41c.chunk.js
│   ├── 4.30b8d41c.chunk.js.map
│   ├── 5.66f9d5bf.chunk.js
│   ├── 5.66f9d5bf.chunk.js.map
│   ├── main.66a4253a.chunk.js
│   ├── main.66a4253a.chunk.js.map
│   ├── runtime-main.0d72eac6.js
│   └── runtime-main.0d72eac6.js.map
└── media
    ├── banner.8160ab86.png
    ├── favicon.0c02463a.ico
    ├── favicon.5d99451e.ico
    ├── favicon.81150f84.ico
    ├── favicon.9115d06a.ico
    ├── favicon.9921761b.ico
    ├── favicon.ec5b0a49.ico
    ├── favicon.f5926395.ico
    ├── favicon.f6bfd61d.ico
    └── logo-text-300x63.e429c0bd.png

Hi @hugocortes thanks for reaching out,
The fact that the resource is not prepended should be fixable by me.
But I'll need an access to the source of your repo where you have Keycloakify setup to see exactly what is going on.

Awesome! Here's the repo to KcApp usage https://github.com/hugocortes/keycloak-themes/tree/master/src/app/components/KcApp.
When debugging on local with yarn start, styling does work as expected

I think I understand the problem. Fixing...

It was hard, but I am happy to annonce that it is fixed.
Thanks for reporting


Error Module

I'm using Joomla 3x, Php 7.3
When i open the module editor, show this:
Parse error: syntax error, unexpected '?' in /home/****/public_html/modules/mod_bppopup/fields/bpdonate.php on line 82

Hi. Are you sure that this is PHP 7.3? The ?? operator was introduced in PHP 7.0
Can you copy the content of System/System Information/Download as text ?

Sorry, my php versão was 5.6, i change to 7.3 and works

Happy I could help :)


Beta testers..

I need beta testers for the current version of tmi.js. I have created a wiki page with all the important changes. Make a backup of your application!
I am looking for any kind of bugs you may encounter or missing features. Please post your issues here. Keep this GitHub issue for bugs and missing features only, it is not for general discussion. For the moment, the standalone version is not hosted on any cdn yet, you will have to download it from GitHub (located in the tests/browser directory).
If you are running it without any problems, post your feedback here.

.isMod expects the channel to exist
Calling client.isMod(channel, user.username) in the chat event causes this:
....\tmi.js\lib\client.js:885
    if (this.moderators[utils.normalizeChannel(channel)].indexOf(utils.normali
                                                        ^
TypeError: Cannot read property 'indexOf' of undefined
    at client.isMod (....\node_modules\tmi.js\lib\client.js:885:57)
    at client.<anonymous> (....\index.js:1379:51)
    at client.emit (events.js:129:20)
    at client.handleMessage (....\node_modules\tmi.js\lib\client.js:355:26)
    at client._onMessage (....\node_modules\tmi.js\lib\client.js:701:10)
    at WebSocket.onMessage (....\node_modules\tmi.js\node_modules\ws\lib\WebSocket.js:414:14)
    at WebSocket.emit (events.js:110:17)
    at Receiver.ontext (....\node_modules\tmi.js\node_modules\ws\lib\WebSocket.js:797:10)
    at ....\node_modules\tmi.js\node_modules\ws\lib\Receiver.js:473:18
    at Receiver.applyExtensions (....\node_modules\tmi.js\node_modules\ws\lib\Receiver.js:360:5)

===
Missing emitSelf
The module is also currently missing the emitSelf arguments to be sent to the chat and action events.
===
_sendMessage only expects \u0001ACTION
Action messages sent using client.say might start as /me instead of \u0001ACTION so rather than the action event being fired, the chat event does.

isMod() should be fixed now..
emitSelf isn't really missing, I took the opportunity to remove it and now it triggers the chat and action events when you send a message using client.say or client.action..
As for sending the /me command sent with client.say, I will fix later today.. I need some sleep :smile:
Thanks for reporting these bugs, I really appreciate it :+1:

emitSelf or fromSelf as in an argument when  the chat/action events are emitted to determine whether the message came from the bot itself or elsewhere. Thinking about it, is it possible to determine if someone was banned/timed-out by the bot (and other commands run by the bot)

Do you have an aversion to using libraries for things? Like, could I send a
pull request for using an in memory database for the cached user info? Or
do you want to keep dependencies to a minimum?

@AlcaDesign Just added fromSelf, totally forgot about this one. It's not possible to know who banned a user using the chat. As far as I know, the only way to do this is under the channel settings, you can see banned users and hover the mouse on the user.

@celluj34 I don't mind using libraries, if they cannot be browserified, make sure to ignore them in gruntfile.js and package.json. Also, make sure it doesn't break the browser version.. If you need to compile your changes, type grunt and it will update the /tests/browser/tmi.js and /tests/browser/tmi.min.js files.

With regards to say, action, and possibly whisper, can we just have a single method, like chat, that can determine the direct message type to send?

Like if the bot bans someone, could that be emitted or would it be best to make a function within my own script to alias ban so I could get this data?
Thanks for all of the hard work! :thumbsup:

If your bot is doing the banning, then it has to call the library to do so.
Couldn't you also write to some log or store that somewhere within your
application?

@celluj34 I do agree with the single method, I will add it but I won't remove the chat, action and whisper events so that people don't get confused :smile:
@AlcaDesign I think it would be better to do this on your end.. Also, client.say now supports commands.
Keep me updated if you find any other bugs!
Thank you! :smiley:

Receiving a whisper throws error
Simply sending a whisper to the bot (on a group server) crashes the bot.
....\node_modules\tmi.js\node_modules\irc\lib\irc.js:748
                        throw err;
                              ^
TypeError: Cannot read property '1' of undefined
    at client.handleGroupMessage (....\node_modules\tmi.js\lib\client.js:566:71)
    at Client.<anonymous> (....\node_modules\tmi.js\lib\client.js:690:14)
    at Client.emit (events.js:129:20)
    at iterator (....\node_modules\tmi.js\node_modules\irc\lib\irc.js:745:26)
    at Array.forEach (native)
    at Socket.<anonymous> (....\node_modules\tmi.js\node_modules\irc\lib\irc.js:740:15)
    at Socket.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)
    at Socket.Readable.push (_stream_readable.js:126:10)
    at TCP.onread (net.js:529:20)

Oops, should be okay now :smile:

Cannot run .toLowerCase() on non-string
Perhaps use .toLowerCase() after the ltrim ?
....\node_modules\tmi.js\node_modules\irc\lib\irc.js:748
                        throw err;
                              ^
TypeError: undefined is not a function
    at Object.normalizeChannel (....\node_modules\tmi.js\lib\utils.js:18:29)
    at client.<anonymous> (....\node_modules\tmi.js\lib\client.js:466:49)
    at queue.next (....\node_modules\tmi.js\lib\timer.js:32:8)
    at queue.run (....\node_modules\tmi.js\lib\timer.js:19:10)
    at client.handleGroupMessage (....\node_modules\tmi.js\lib\client.js:471:27)
    at Client.<anonymous> (....\node_modules\tmi.js\lib\client.js:690:14)
    at Client.emit (events.js:129:20)
    at iterator (....\node_modules\tmi.js\node_modules\irc\lib\irc.js:745:26)
    at Array.forEach (native)
    at Socket.<anonymous> (....\node_modules\tmi.js\node_modules\irc\lib\irc.js:740:15)

Yeah fixed it.. not sure why NPM is so slow with the update..

Make sure current version is v0.0.11

Still throws the "TypeError: Cannot read property '1' of undefined" error.

Is it happening when you connect ? Or when someone types something in chat ?

Whisper on a group server

Okay found the problem, bumping version very very soon :smile:
Thanks!

irc.client is being returned as an empty object for me. I have even tried using the example code on the update page. It is being used in a browser environment with angular and NW JS. It was all working fine with twitch-irc and have followed the instructions to update it to tmi.js

@DigitalKris Are you using the node.js version or the browserified version ? I did not try the module with NWJS, but I know that it works with Electron.

@Schmoopiie its the browser version.

Might be something that I am doing wrong, but when I try and get the bot to respond to a command, it crashes and gives me this error:
[09:08pm] info: Connecting to <IP_ADDRESS> on port 80..
[09:08pm] info: Sending authentication to server..
[09:08pm] info: Connected to server.
[09:08pm] info: Joined #amperpil
[09:08pm] info: [#amperpil] <amperpil>: Boop
[09:08pm] info: [#amperpil] <amperpil>: &ping
/Volumes/SKYNET/AmperBotV2/node_modules/tmi.js/lib/client.js:1017
    if (message.toLowerCase().indexOf("/me ") >= 0) {
               ^
TypeError: Cannot read property 'toLowerCase' of undefined
    at client.say (/Volumes/SKYNET/AmperBotV2/node_modules/tmi.js/lib/client.js:1017:16)
    at client.<anonymous> (/Volumes/SKYNET/AmperBotV2/main.js:27:14)
    at client.emit (events.js:118:17)
    at client.handleMessage (/Volumes/SKYNET/AmperBotV2/node_modules/tmi.js/lib/client.js:363:26)
    at client._onMessage (/Volumes/SKYNET/AmperBotV2/node_modules/tmi.js/lib/client.js:725:10)
    at WebSocket.onMessage (/Volumes/SKYNET/AmperBotV2/node_modules/tmi.js/node_modules/ws/lib/WebSocket.js:414:14)
    at WebSocket.emit (events.js:110:17)
    at Receiver.ontext (/Volumes/SKYNET/AmperBotV2/node_modules/tmi.js/node_modules/ws/lib/WebSocket.js:797:10)
    at /Volumes/SKYNET/AmperBotV2/node_modules/tmi.js/node_modules/ws/lib/Receiver.js:473:18
    at Receiver.applyExtensions (/Volumes/SKYNET/AmperBotV2/node_modules/tmi.js/node_modules/ws/lib/Receiver.js:360:5)

I'm using nwjs, which does come with a window object.
This code causes some unwanted behavior in my case, can't use require() as expected
https://github.com/Schmoopiie/tmi.js/blob/971571e6ba2a5996a1026c0fff29da0361ba9364/lib/client.js#L1272

I have been trying to reproduce the errors you guys are having with NWJS but no success, could you provide me with an example that isn't working ? This is what I've been doing https://s3.amazonaws.com/tmijs/debug/nwjs_tmi.rar .. I use async just to see if require still work when using the module. If you check the console, everything is fine..
@AmperPil Something is wrong with your client.say(channel, message) function, are you sending the channel and the message ? Looks like your message is empty (undefined).

@Schmoopiie Gah, that was simpler than I thought. Forgot to set the channel it was going to, as I only put the message in.

@AmperPil Okay, no problem :+1:
There will be more "checks" later to catch this kind of mistake ;-)

@Schmoopiie turns out you can't source the script in the head tag. Once I put the script after any html, like you had done, it worked :)
Thanks and keep up the awesome work :+1:

Oh, great! Still a weird issue ;-)

How would I connect to both the chat server as well as the group server without running two copies of the  bot? I'm currently using this but it only picks a random server out of the two.
random: ['chat', 'group']

Sorry I should have been more clear, and understand this isn't high priority.
I want to use it in node context via var tmi = require('tmi.js') instead of a script tag, and also expect the irc fallback to work.
Non working example (click the hamburger menu in nwjs to open dev tools) https://www.dropbox.com/s/fi66zibxnsp7f06/nwjs_tmi_npm.zip?dl=0
For now I removed all window checks in my local version and it works as expected

user.emote became user.emotes but the change is not explicitly documented on the wiki

#channel vs channel in event callbacks, should tmi.js be stripping all hashes? For example twitch-irc used to return the channel without # from the hosting event

@AmperPil You need to create 2 different instances because it's 2 different connections. This is what they do on Twitch.tv :smile:
@mccxiv Oh okay, now I understand. I will add to the wiki that emote became emotes. I think making it plural make sense because there can be many emotes in the variable. We are now normalizing all events that returns the channel name, so they all have #. I will make a note in the wiki for this one, if you see something different like this, please continue to report in this issue. This is going to be useful for the other developers who wants to upgrade to this module.

How are you going to set up JS tests? Do you have a preferred framework or something in mind so we can have test coverage before submitting PRs?

@celluj34 I was thinking about mocha, and for further testing I might just create a fake chat server to send and receive messages..

@Schmoopiie you could try to point to localhost and trigger events that way

Pushed a new version (0.0.16) to NPM and CDN. Group chat servers are now supported with WebSockets (so it should work on the browser now), so I removed everything IRC-related from the library.

I've noticed some issues where it seems to stop receiving data but no disconnect event is fired.
Also, when coming back from sleep/hibernation it claims to still be connected, but once you send data it finally triggers disconnect.
Sorry for the vague report but I figured I'd put the issue out there for now. I'll try to reproduce when I have time.

Sure, if you can confirm that it is still happening sometimes and also if the sleep/hibernate is causing the same issue, I will see what I can do. I'm a bit busy this week so take your time :smile:

Is there a way to filter debug messages? With twitch-irc I used debug: true, debugIgnore: ['ping', 'chat', 'action', 'timeout'] and I'd like to do something similar as not being able to ignore chat makes it troublesome to read the debug info I would like to see when my bot is in a channel of ~10k users.

@thedist Yes, I am planning to bring back this feature on this module too.. I don't have any ETA though, this week I'm quite busy :smile:

Just an update, looks like this commit solved my reconnection issues :+1: https://github.com/Schmoopiie/tmi.js/commit/8b965855c7dbbbec64c75eb151e9d643a038d3f3

seems like the slowmode event no longer provides the third parameter, length

@mccxiv Yes, it's a know "issue" and it is because of the new NOTICE system by Twitch. We might work on an alternate way to get the length but it is not a priority :smile:

Is it possible to use the ROOMSTATE capability?
On Jul 23, 2015 2:49 PM, "Schmoopiie"<EMAIL_ADDRESS>wrote:

@mccxiv https://github.com/mccxiv Yes, it's a know "issue" and it is
because of the new NOTICE
https://github.com/justintv/Twitch-API/blob/master/IRC.md#notice system
by Twitch. We might work on an alternate way to get the length but it is
not a priority [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/Schmoopiie/tmi.js/issues/3#issuecomment-124222185.

@celluj34 It is already implemented:
client.on("roomstate", function(channel, state) {
    console.log(state);
});

Is this the place for suggestions, or is there a separate spot for that?

Probably the forums?

Ah, thank you ^^;

On Aug 2, 2015, at 3:19 AM, Jacob Foster<EMAIL_ADDRESS>wrote:
Probably the forums?
—
Reply to this email directly or view it on GitHub.

Hi there,
I just found that if you try to send a message(using say mehotd) to a channel that you are NOT connected, the program crashes.
Error:
client.js: 714
self.userstate[utils.normalizeChannel(channel)]["message-type"] = "chat";
TypeError: Cannot set property 'message-type' of undefined

Thanks @larzuk91, will fix this bug this weekend :smile:

Hi, I just found that
Invoking "connect" method on client more than once before it stablishes a connection, crashes the application
This is silly but I had to add a reconnect button to my clients, and well ... they are not very smart xD


Refactor the heaviest of lifters

This function gives me nightmares:
https://github.com/talmolab/biogtr/blob/a47c48b84535632290ab7757d65abbfd787d69bc/biogtr/models/transformer.py#L444-L483
This is especially salient due to the fact that this is so deep in the call stack (TransformerDecoderLayer <- TransformerDecoder <- Transformer <- GlobalTrackingTransformer <- GTRRunner <- ...).
This induces so many code paths it's nearly impossible to trace:
https://github.com/talmolab/biogtr/blob/a47c48b84535632290ab7757d65abbfd787d69bc/biogtr/models/transformer.py#L457-L458
https://github.com/talmolab/biogtr/blob/a47c48b84535632290ab7757d65abbfd787d69bc/biogtr/models/transformer.py#L460
Why??? It's just for self-attention, so why not just keep it in that conditional a few lines down??
https://github.com/talmolab/biogtr/blob/a47c48b84535632290ab7757d65abbfd787d69bc/biogtr/models/transformer.py#L462-L465
And surely we can come up with better names than tgt, tgt2, tgt3??
https://github.com/talmolab/biogtr/blob/a47c48b84535632290ab7757d65abbfd787d69bc/biogtr/models/transformer.py#L467-L481

Both here and in the upstream Transformer.call, let's fix the variable names, disambiguate "target"/tgt, memory, and canonical key/query/value nomenclature.

Done in #36


Add 'after' parallel to 'depends'

after only implies order
depends implies two-way dependency

We ran into a problem where we needed one container ('registrator') to be started before others, but restarting the registrator would restart all depending containers too (which was not what we wanted). Splitting 'after' and 'depends' should fix this issue.

@jovandeginste this looks good. I want to get some time to test out but thanks for submitting and apologies for taking a while to get back to you.

Obsoleted by #393


min_tls_version nows defaults to 1.2

File: ee/ucp/admin/configure/ucp-configuration-file.md, CC @gbarr01
min_tls_version | no | Sets the minimum TLS version for the controller to serve. Valid options are tlsv1, tlsv1.0, tlsv1.1, and tlsv1.2. An empty string defaults to TLS version 1.0.
As per UCP 2.2.6+, min_tls_version now defaults to 1.2 and not 1.0 as per the chart.
Code reference:
https://github.com/docker/go-connections/blob/master/tlsconfig/config.go#L69

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


FNIRSI GC-01: wrong device temperature statistics

Hello!
I have the device with ch32f103 processor. It shows the incorrect temperature: 9 °C when the environment is 28 °C.
Photos
Also my device resets the current date and time after rebooting. But the time zone is saved correctly. Perhaps it's my battery problem?

Regarding the real-time clock. The date and time should work correctly. If it doesn't, check the button battery's voltage (it should be a CR1220). It should be around 3 V. If it doesn't, replace it!
And the temperature discrepancy is expected. STM32F103 and compatible microprocessors are not temperature calibrated in the factory. This means there can be a variation of up to ± 20 °C from the actual value, because the temperature sensor of different production batches can be phyiscally different.
To fix this, there should be a setting to calibrate this. That's actually a question I have been asking mytself. And this question goes to everyone who reads this. Does it make sense to show uncalibrated temperature? Should there be settings to fix this? In order to keep things simple, I think it would be best to not show temperature at all (if it's wrong, it makes no sense as it confuses more than helping).

My device shows the temperature 13 to 15 degrees Celsius higher (ambient temp is 24, GC shows 38). In my opinion it doesnt make sense to show it, if there is no way to calibrate.

Agreed. Next beta will replace device temperature with device battery voltage (which makes more sense).

I just released beta21 which fixes this.
https://github.com/Gissio/radpro/releases

Unfortunately it turns on and the screen is blank (probably the background color, does not seem to be white). I can hear particle clicks and particle LED flashes, but nothing else. Key presses don't help.

My bad. Try beta22 now!

beta22 works and shows the battery voltage.
4.539V connected to USB, after disconnecting it slowly settles for cca 10 minutes down to 3.780 and than slower as it discharges.

Nice!

Can I make a request? It would be great if you can measure the discharge curve of the battery so the battery indicator shows a correct value.
This would imply fully charging the device, and taking note of the voltage value every 10 minutes. It would be great if you do this with the screen off. Can you do this?

I can try tomorrow. I am thinking of ways to automate this. Wouldn't it be possible to log it internally?

It would be, but I think it takes less time to do this manually than for me to program the code.

Ok, I will give it a try tomorrow then

I can test both of my devices with the power profiler in a few days.
I even plan to do different Setups
Brightness max/Display on all the Time vs Brighness min/Sleep after 30sec and a few in between

A measurement on one device should be enough.
Use only brightness max/display on all time so the measurement takes less time.
Thanks in advance!

Btw... would it be possible to enable a Temp Offset?
I have a big'ish diff in both directions
Roomtemp 23°
Device 1 14°
Device 2 27.5°

Temp offset setting would be nice.
I am still collecting the voltage values. The battery lasted whole day yesterday and still has 3.533V. After having it switched off for the night I have charged it up for 30s and when the voltage dropped back to the last value from yesterday, I have resumed logging.

Same, i did a Sleep after 30s run yesterday and do a always on min brightness at the moment :)

Here is my voltage log: Fnirsi-GC-01-voltage-log.txt
The device turned off after the last value of 3.042V
Parameters during test:

Interval 10 minutes
Display sleep after 30 seconds
Display brightness level High
Rad Pro version 2.0beta22

They say an image is worth a thousand words.

Thanks for all the hard work!

Updated curve is available in 2.0rc01!


GIT: introduce Aliases

Shortcuts make life easy

Why U So Perro

😂😂😂

literally dies

Semx

@CyberJalagam go and study for exam

Chek WhatsApp wen

Also die wen 🌚

chatting here is way better then telegram

chatting here is way better then chatting on telegram

Hehe semx

@CyberJalagam Checked

@CyberJalagam Checked

Again Chek wen

@CyberJalagam Again checked

K gn sleep tight wet dreams

@CyberJalagam Same to u

👉👴👈


Hashicorp GPG Key breached, update key used to verify terraform binary and update to a patched terraform version

Key needs to be changed to the new Hashicorp GPG key with ID documented at https://www.hashicorp.com/security.
Background is https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512

As terraform verifies modules it downloads also using this GPG key, the terraform binary also needs an update. https://discuss.hashicorp.com/t/terraform-updates-for-hcsec-2021-12/23570

#478 particularly solves this issue, but I think we also need to implement a secure code-signing way after we download the terraform executable.


No joy yet with version 0.1.20

@oeway thanks for the recent bump for Jupyter 4!
Installation succeeds, and I do see:
fd:1 JupyterLab extension imjoy-jupyterlab-extension is activated!

in the browser console. However, there is no ImJoy icon in the notebook bar or cell output either with the test at the bottom of the project README or with itkwidgets.

That's wired, I tested it with the latest Jupyter lab and it seems to be working. Will check when I have a slot.

@thewtex Thanks, I have just fixed it, please try it with imjoy-jupyterlab-extension==0.1.21. The previous version miss several files (removed by the upgrades scripts) and somehow my test notebook used the old version.
Anyway, it suppose to work now, if not please reopen the issue!

@oeway thanks for your attention to this!

Hi @thewtex Finally, sorry for the delay! The new jupyterlab should be supported now.
https://pypi.org/project/imjoy-jupyterlab-extension/
P.S. It was not easy to get it work, the whole jupyter extension system is so fragile and I couldn't easily get things work together.

@oeway thank you so much for the effort and attention to this! Awesome to have it updated!

P.S. It was not easy to get it work, the whole jupyter extension system is so fragile and I couldn't easily get things work together.

Yes, I have also experienced this :-)


Won't answer to play requests

Please tick all applicable boxes.

[x] I am using Python 3.5.3 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[x] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[x] The latest master version (release-260419)
[ ] The latest review version

What type of issue are you creating?

[x] Bug
[ ] Feature request
[ ] Question

Description of issue
The bot doesn't play any music, there's no voice activity coming from the bot. It doesn't answer to play, queue commands.
I tried giving it more permissions and made sure it have permissions to talk.
This is my config file:
options.txt
Steps to reproduce

Run the bot
Request song

Example:

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
musicbot.log

Duplicate of #1962


Add mention of HACKING.md to readme

I forgot to include this in PR #149. This commit restores the line mentioning HACKING.md in the voicekit branch (which was originally added in #36).
IMO having this in the readme is helpful, because its how I figured out how to set up Assistant on my Pi. I would have missed that these instructions existed otherwise and wasted a lot of time.

Thanks!


Define standard: point-based features (e.g. traffic lights)

@j-t-t can this issue be considered closed now that https://github.com/Data4Democracy/crash-model/pull/151 has been merged in?

Working on some updates to the implementation - right now the new features aren't added to the model via the pipeline, and some other minor things, but the standard has been defined, so what we're doing in 1.2 is done, I think


ARROW-2435: [Rust] Add memory pool abstraction.

Current implementation use libc for memory allocation and deallocation. This can't be ported cross platforms. We can add a memory pool abstraction for many use cases, such as:

Easy migration to other allocation api, such as the api use in rust alloc crate.
Logging.
Statistics updating.

This is looking good. Thanks @liurenjie1024

We should definitely isolate all memory alloc/free in the one file, which I think this PR does nicely. We just need to merge the windows changes and fix the oustanding issue where realloc is failing to free the old memory and I think we're good.

As CI is not currently setup for Windows I think it’s fine to push ahead with this change without windows support, then reopen the windows support jira and I’ll address it in a separate PR.
I seem to be the only person on Windows and momentum is more important at this stage of the rust implementation.
Once we have windows CI setup I think we try to keep windows support working on all PRs.

Hi, can anybody help to merge this?

@xhochy I think this looks good now?

Could we not use something closer to the hopefully-soon-stable Allocator API?

Or in other words: do you (@andygrove) think we should switch to the upstream API once it is stable?

@crepererum We can have memory pool as a wrapper allocator api so that we can have more functionality, e.g. statistics about memory usage

I'll let @xhochy handle it, since he commented on the PR.

I'm trying to add windows support for these changes and I have a few questions:

Why are we using *mut u8 instead of *const u8?
Why switch to usize for size instead of i64

Hi @paddyhoran,
in fact these are conventions inherited from allocator api, and here are my thoughts:

when you allocate a new piece of memory, in most cases it's used for storing data, and you need to write to it.
usize is a type designed for size and it has different length in different platforms for the sake of efficiency. If you use i64 in 32-bit platforms, it may be wasteful and hurt performance.

I commented on the JIRA but will comment here too.
We now have two different memory implementations but only one is actually
used.
Also my original code has libc calls scattered around instead of being
isolated in one file, which isn't good and has also meant having to deal
with Windows in multiple places instead of just in the memory related
source files.
I'm looking at this now to try and figure out what we should do. I think we
will just want to use Rust's allocator API anyway once that becomes stable
so I'm not sure we really need a pluggable memory pool but I guess we can
have that discussion later.
I'm thinking I should at least submit a PR to move all the current memory
handling into the memory.rs file.
On Thu, Apr 19, 2018 at 8:07 PM, Renjie Liu<EMAIL_ADDRESS>wrote:

Hi @paddyhoran https://github.com/paddyhoran,
in fact these are conventions inherited from allocator api, and here are
my thoughts:

when you allocate a new piece of memory, in most cases it's used for
storing data, and you need to write to it.
usize is a type designed for size and it has different length in
different platforms for the sake of efficiency. If you use i64 in 32-bit
platforms, it may be wasteful and hurt performance.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow/pull/1875#issuecomment-382943494, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA5AxJ5mPMV-2J42RGhcF6Yc-LK6HacSks5tqULcgaJpZM4TN3tE
.

Here is the PR:
https://github.com/apache/arrow/pull/1919
I haven't put a JIRA number on this yet.
On Thu, Apr 19, 2018 at 8:50 PM, Andy Grove<EMAIL_ADDRESS>wrote:

I commented on the JIRA but will comment here too.
We now have two different memory implementations but only one is actually
used.
Also my original code has libc calls scattered around instead of being
isolated in one file, which isn't good and has also meant having to deal
with Windows in multiple places instead of just in the memory related
source files.
I'm looking at this now to try and figure out what we should do. I think
we will just want to use Rust's allocator API anyway once that becomes
stable so I'm not sure we really need a pluggable memory pool but I guess
we can have that discussion later.
I'm thinking I should at least submit a PR to move all the current memory
handling into the memory.rs file.
On Thu, Apr 19, 2018 at 8:07 PM, Renjie Liu<EMAIL_ADDRESS>wrote:

Hi @paddyhoran https://github.com/paddyhoran,
in fact these are conventions inherited from allocator api, and here are
my thoughts:

when you allocate a new piece of memory, in most cases it's used
for storing data, and you need to write to it.
usize is a type designed for size and it has different length in
different platforms for the sake of efficiency. If you use i64 in 32-bit
platforms, it may be wasteful and hurt performance.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow/pull/1875#issuecomment-382943494, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA5AxJ5mPMV-2J42RGhcF6Yc-LK6HacSks5tqULcgaJpZM4TN3tE
.

My initial plan was to create three memory pool implementations: libc, windows and one using allocator api (which is only available in nightly channel). Since we are not sure when allocator api will get stable, I think it still deserves the effort on it.

@liurenjie1024 thanks.
I was looking at the C++ implementation for reference:

I see that we basically do a reinterpret_cast before using the *const u8 version.
I thought that usize is really for pointers, in the C++ implementation they use i64 for size

How do you feel about refactoring this implementation to use the functions in memory.rs once @andygrove's PR above is merged?

@paddyhoran Can you post a PR for that? If it really blocks windows support, I'm certainly happy to accept the refactoring.

@paddyhoran I think this is fine. Once you have done that I will then do another refactor to make the builders use the memory pool abstraction.

@paddyhoran I think this is fine. Once you have done that I will then do another refactor to make the builders use the memory pool abstraction.


Don't clip if path is undefined in SVG back-end

Fixes #10846
The PDF in the issue uses an empty path as the clipping path:
q
    W*
    n
Q

Because of this, display/svg.js attempts to call function cloneNode of an undefined object.

/botio-windows lint
/botio-linux preview

Thank you!


Cant use String as a constructor. & My Challenges are all reset automatically.

Challenge Bonfire: Repeat a string repeat a string has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function repeat(str, num) {
  // repeat after me
  return str;
}

repeat("abc", 3);

.

I done know where is the code that I have written, I usually log on to freeCodeCamp  from my office or use my PC at home, but now when i open all the challenges I find its reset. Any how i had a screenShot of this issue which i have attached.
The problem which I face is when I use the Global String object i.e. var str1=new String();
for this particular challenge It does not select the output as correct even though I get the expected output i.e, "".

You are correct, you can't use new String to declare a blank string, because the string constructor doesn't generate an empty string, it generates a String object.

More Information Here
Additionally, if you pay attention to the little warning symbol next to the code in the code editor, it tells you not to use String as a constructor:

Closing as this is not an issue with the site.
Happy Coding!


Extend <consumeResource: null> to Ammunition resource consumption if possible.

The way it works now feels unintuitive.
If you pass consumeResource: null to the item.use() for any other type of resource, it will force the item to not consume the associated resource.
By having the ammo consumption happen upon item.rollAttack() this has no effect.
Having all the resource types under the same dropdown "suggests" a uniformity, which is not 100% true in this case.

Would probably need to save the initial ItemUseConfiguration into the item chat card in order to read it again when rolling attacks from it.

Not relevant anymore since ammunition consumption is no longer part of the standard activation workflow


Please have the README point to the video

The README should point to the video of the creation of the code
https://www.youtube.com/watch?v=ilZ4-UWH6n8

good call. Took care of that.


 Magboots are a wanted enough item to justify having unique tech. There's not really a point to bundle them with anything else.
You could just make an "advanced tools" technology and bundle power drill, jaws of life, and experimental welder.

i dont think that jaws of life must be printable, because any sindy scientist can easily print jaws and break any door what he want

they can already do that with insuls so

@lzk228 research freeze is over, you can update this


integration README hyperlink links to nowhere

The problem
https://github.com/iMicknl/ha-nest-protect/tree/beta#retrieving-issue_token-and-cookies is not a real location
What version of this integration (ha-nest-protect) has the issue?
0.4b4
What version of Home Assistant Core has the issue?
2023.12.4
Device / Model
Nest Protect 2
Diagnostics information
No response
Home Assistant log
No response
Additional information
No response

ok, maybe this is some odd caching/browser error for me, suddenly showing up.


Browser list

I am trying to get my head around the frontend part and it's quite a mess.
There is an npm module just for that and it's gonna be used by several frontend tools.
The main decision is between supporting IE or not. I'd rather not and Microsoft is going to drop support for it in a year anyway.

I'm happy to not support IE.


Breaking change in 0.2.12

If you're not using the default web middleware group, pulling in 0.2.12 by running composer update will break your app as the middleware wont be applied anymore out of the box.
I'm all for this change but it should probable be tagged as a new minor pre-release (0.3.0) instead :)

Yeah, we probably should have, but I think it's too late for that now unfortunately. 😕
Sorry about that @AlexVanderbist!


updated airfoil (5.0.2)

Thank you for the contribution. It was merged directly as 057abdef291b8eac60adf450d3da356e542c727d to keep commit history cleaner. Your contribution is still credited to you.


Replace pretty matcher with karma-jasmine-diff-reporter

Fixes #260
Before:

After:

I also submitter a PR to override default background color, so we can make it less crazy (optionally): https://github.com/mradionov/karma-jasmine-diff-reporter/pull/8

Updated, so now it looks bit better:

Ping @chenglou ok?

God damn it I keep missing these pull requests!
Thanks a lot.

no problem. I guess pings work =)


Commented SecItemAdd and SecItemUpdate methods

Doesn't store anything in keychain.
https://github.com/liu044100/SmileTouchID/blob/master/SmileAuth/Classes/SmileKeychainWrapper.m#L245
Remember updated the pod. :)

Sorry about it, it is my mistake, Cocoapods show this line has unused error code, so I uncomment it and no more think about it,  sorry about it.
Now I have fixed it. Thank your very much.


Adjust iPad styles for emoji keyboards

The current iPad styles generate too small emojis.

This can be tested in the master branch.


Store the top k most frequently opened papers in the last Y days into the cache

Is your feature request related to a problem? Please describe.
It is a bit repetitive to download paper PDFs into the cache folder for a set of papers that we often need to open during a given period.
Describe the solution you'd like
Can we have an option to store the top k most frequently opened papers in the last Y days into the cache? (Maybe also optionally allow another set of papers to be always in the cache) This is handy for people who only need to search for something specific in a paper, as we don't need to wait for the paper to be downloaded every time.

Hey! Thank you for your thoughts!
I'm not sure I understand, could you elaborate? Do you mean to automatically download papers?
Right now the cache is used for any paper you download using PM, including using the download keyboard shortcut (#92). I'm not sure I understand what you mean by

store the top k most frequently opened papers in the last Y days into the cache

Do you mean something like (pseudo-code)
if today_is_a_new_day:
    top_k_papers = find_most_opened_papers(top=k)
    cached_papers = load_paper_memory_store()
    for paper in memory_papers:
        if paper in top_k_papers and paper not in cached_papers:
            download_to_paper_memory_store(paper)

Yes, exactly. Because in a given period of time, we often have a list of papers we need to refer to. Caching those papers automatically, would allow us to open them up without waiting for the arxiv downloads.

But currently you only have to wait for the Arxiv download once, if you ctrl/cmd + shift + s on the paper's page the paper will be downloaded to the cache (~/Downloads/PaperMemoryStore) and next times you can use that cached version.
In that context, that algorithm is very marginally more efficient than you choosing to download a paper from its page, is it not?

I see. That makes sense. Thanks.


Responsive : detailTemplate : Hangs When record edited

Steps to reproduce ->

Resize screen to small view so that columns can move to detail template view -
**

**

Expend to see hidden columns in detail view/DetailTemplate -

Click on edit for same row for which detail template is visible and save to update the new values -

Try to collapse to hide detialView/DetailTemplate and you have the issue -

For your reference here you get the imp files & Screens -

Index.cshtml : Index.txt
HomeController : HomeController.txt

Scripts & CSS File Used -

Note - No change to GridModel.cs, Player.cs, SortHelper.cs files.

We fixed that issue in the latest development version. You can find the latest build at https://github.com/atatanasov/gijgo/tree/development/dist/combined
Thanks for the feedback.


Dashed arrows and full arrow heads

using dashed arrows and full arrow heads, which are more similar to the original appearance

Any reason you like this more?
I don't like it because it is to similar to the boundary style.
Maybe someone else also vote for the original style - then you get persuaded me :)

Looking less similar to the boundary is a good point. However, being closer to the original raises the recognizability of those pictures.

Having the full arrow heads I'd agree with, but I don't like the look of the dashed lines in the original diagrams and would prefer solid.


spring-cloud-azure-appconfiguration-* hotfix release 1.2.9

release spring-cloud-azure-appconfiguration-* 1.2.9

spring-cloud-azure-appconfiguration-* has two version series 1.x.x and 2.x.x series, both are in development.
1.x.x should work under spring-boot 2.4
2.x.x should work after   spring-boot 2.4

we have just released 1.2.8 with spring-boot 2.4 which should be released within 2.x.x versions

/azp run java - spring - tests


Newest nuget does not run Install.ps1 => packages don't add anything to project

The newest nuget updates for visual studio 2015 removed Install.ps1 / Uninstall.ps1 support. The result is, adding SharpDX to a project leads to no references added.
I guess the packages should put the dll's properly into the libs (and into different .net targets for the different platforms).

The way SharpDX binaries are generated with the different versions ((DX11, DX12) * OS (Desktop, Windows Store...etc.) doesn't work well with nuget. If the install.ps1 is not working with VS2015 and as it has been causing some trouble in the past... I'm pondering to completely abandon support for nuget...  There will be soon a new release and I will check by then hot to improve the distribution.

Starting with 3.0.0 (alpha01), we have abandoned some old DirectX versions, OS platforms and .NET framework, so we are now able to target nuget in a more standard way.


Benchmarks Document

Create a benchmark document that explains some of the context and thinking behind how to create benchmarks and some of the more advanced topics like benchmarking dynamic weights dependent on storage.

The document should cover when and how to use DispatchResult vs DispatchResultWithPostInfo.

Need to discuss using VPN/Jenkins and how to run a single benchmark, all benchmarks in pallet/project.

Notes from video:

Use max values at first, run benchmark, then replace with the actual value in the #[pallet:weight] for the function.

Can we make Aramik's video public and add it to the Wiki?


Update Java staging clients with latest toolkit

Hmm I kind of want to separate out googleapis changes from toolkit changes. Could you do one of the following?

Do this regeneration from an older version of googleapis
Do a separate regeneration before this one (based on a previous toolkit version) which includes the updates from googleapis, get it submitted, then rebase this PR.

@garrettjonesgoogle  I will pick option#1 to use an older version of googleapis

@garrettjonesgoogle  PTAL

Updated to use 0.1.1 grpc gen packages and all the tests passed.

LGTM


[WIP] support custom options json

exploring a possible solution to https://github.com/rajasegar/ember-angle-brackets-codemod/issues/12

This works with the following command:
npx github:gavinjoyce/ember-angle-brackets-codemod#gj/options angle-brackets app/templates/components/operator/answer-bot --helpers "['ic-interface-icon']"
I should probably change the format of --helper to be comma delimited


Disable start/end hidden view.

Hello,
I have a scenario where I only need to swipe from the end (right to left swipe).
Everything works fine, except that I'm also allowed to swipe from the start (left to right swipe). Is there an property or an method I can use to disable this behavior? Or can you implement an feature like this?
I'm thinking this can be implemented rather easily because you will only have to verify if the getStartHiddenViewSize() and getEndHiddenViewSize() returned something bigger than 0 (to actually have an valid hidden view).
Thank you.

Having getStartHiddenViewSize() or getEndHiddenViewSize() returning 0 will always have the swipe return to the close position when you swipe in that direction, or are you asking for it not to be possible to go past 0 translation in the direction that shouldn't support swipe?

Hello @alex-townsend,
I'm referring to the second option. Where the swipe is disabled completely if the size of hidden view is 0, not getting past 0 translation in that direction.

I think that's a reasonable request. I'll add a flag that can be set for enabling this functionality. In the mean time, if you need it right now, you can get this behavior by implementing your own SwipeOpenItemTouchHelper.Callback class and override onChildDraw. Hopefully I'll be able to get to this sometime this week though.

Merged in #18 -- should have the added for preventing translation of zero-sized views.

Closing this out, if you have any issues with the new functionality or more suggestions, please feel free to open another issue.


New version: MixedSubdivisions v1.2.0

Registering package: MixedSubdivisions
Repository: https://github.com/saschatimme/MixedSubdivisions.jl
Created by: @saschatimme
Version: v1.2.0
Commit: 662f1cca2340b72f1c18d0d1a0f81f0c94328c34
Reviewed by: @saschatimme
Reference: https://github.com/saschatimme/MixedSubdivisions.jl/commit/662f1cca2340b72f1c18d0d1a0f81f0c94328c34#commitcomment-145467572
Description: A Julia package for computing a (fine) mixed subdivision and the mixed volume of lattice polytopes

please close

close


bug: ionic build ios fails with Apple Watch target

From @thomaswb on March 20, 2016 21:17
Type: bug
Ionic Version: 2.x
Platform: ios 9 webview
- //create a new blank Ionic 2 app

ionic platform add ios
ionic build ios // works
// Xcode > Add target > Apple Watch (WatchOS 2)
ionic build ios // fails with this error:

=== BUILD TARGET Watch Companion Extension OF PROJECT Companion WITH CONFIGURATION Debug ===
Check dependencies
target specifies product type 'com.apple.product-type.watchkit2-extension', but there's no such product type for the 'iphonesimulator' platform
** BUILD FAILED **

Copied from original issue: driftyco/ionic#5893

From @gylippus on March 21, 2016 16:30
+1
I can confirm we have the same issues. It's been so long since we haven't had to use Xcode just to run the app. :+1:

From @jgw96 on March 21, 2016 16:39
Hello @thomaswb ! Thanks for opening an issue with us! Here is a workaround that will hopefully work for you: run ionic run ios, this will fail but the project should be updated. Then you should be able to run the app from xcode directly and it should work. Sorry that this is kinda hacky!

From @jgw96 on March 21, 2016 16:39
I hope to have a better solution soon

Thanks for the workaround, Brandy. ionic build ios also works, in that it does all the things necessary to then run it in Xcode.

@thomaswb The workaround was from @jgw96. I just moved the issue to this repo. :grin: Glad it works for you, though!

I just updated to Xcode 7.3 and the problem seems to have gone away.

@thomaswb awesome! good to hear!

Hello all! As this issue seems to have been fixed i will be closing this for now. Thanks for using Ionic!


Inconsistent terminology for Heroku App ID

The current code uses SPRING_CLOUD_APP_NAME to identify an application name from within Heroku, but the API refers to the value in question as appId(). Keep as a wart or breaking-change to a consistent SPRING_CLOUD_APP_ID?
Note that the way I determine whether the local connector should activate is to look for spring.cloud.appId; if we extend that to an environment scan, the values would semantically mean the same thing, but the current logic would get a false-positive on the local connector, so that would need to be addressed somehow.

Since this library has been released for a while now and is in wider use, let's not implement this breaking change.


"Import yaml " button should be disabled when HPA autoscaling/v2beta2 API is not supported in the cluster

Version: Master
Steps

Create a GKE cluster or EKS cluster with K8s version 1.11
Navigate to HPA tab.

autoscaling/v2beta2 API is not available in these clusters and HPA will not be functional.
We should disable "Import yaml" button for HPA.

First, users can deploy other resources here. It's not just for HPA.
Second, users should still be able to import HPA with v1 version or v2beta1 version API. We should not block them in this case.


Fix Flex tests

Mocha tests are broken.
My guess is that it somehow tries to run internal tests for OUR deps (e.g. tests for cors and tests for mocha itself...).
This causes it to require a lot of additional deps:
mocha:
    "tape": "4.9.0",     "supertest": "1.2.0",     "should": "13.2.1",     "connect": "~3.6.6"
cors:
    "basic-auth-connect": "^1.0.0",
But eventually it fails anyway: https://ci.appveyor.com/project/inexorgame/inexor-flex/build/1.0.396/job/x1udyjgrg3doshl5#L305
Tests can be executed by yarn test
Evidence (these deps are required..)
https://github.com/expressjs/cors/commit/98f2ef4b7d24bd5b83272c7c275271c808fc4cb2
https://github.com/expressjs/cors/commit/8a448ccbf888ea8148c3608d48f3b093c56da98b

For whatsoever reasons the node_modules folders are now inside the module folders.. which the glob doesn't ignore.


Scroll top 0

Hi
I'm trying to scroll to top of the table when I click on a specific button.
I tried scrollTop prop but didn't change de scroll position, so I tried scrollToRow prop. Setting it to 0 (on intial state) worked but when the table re-renders when others events triggers will scroll to 0 (cause the initial state, I know...) and I just want to scroll when an specific event triggers.
What initial state should I set... or how I suppose to do that?
thankyou

+1

@ayozebarrera @amit1911 I checked the code and if you need to manage scroll you have to set overflowY prop to 'hidden' then you can change scroll props.
For example if you have a pagination and want to scroll on top on each page you have to set props - overflowY: 'hidden' and scrollTop: 0 and then if you want to have auto scroll set overflowY to 'auto'

Here a solution:
https://github.com/facebook/fixed-data-table/issues/288#issuecomment-249942491

I checked the code and if you need to manage scroll you have to set overflowY prop to 'hidden' then you can change scroll props.
For example if you have a pagination and want to scroll on top on each page you have to set props - overflowY: 'hidden' and scrollTop: 0 and then if you want to have auto scroll set overflowY to 'auto'

It's less than ideal because you have to disable scrolling by setting overflowY to hidden.
Lucky, we've fixed this quirk in our fork, https://github.com/schrodinger/fixed-data-table-2
The real pain point is the way FDT calculates a valid position for scrollToRow. It checks to see if scrollToRow is on screen, and if so, considers it 'scrolled to'
Thats obviously annoying when you want to make it at the top or bottom of teh table

@KamranAsif What's the reason of creating your fork? This project is not developing anymore?

@VladimirPal Sadly not. You can look at the amount of open issues and pull requests.
I hope FB does try and maintain it, we would love to contribute our work. But until then, we've been working on it ourselves

@ehzhang @pieterv Hi guys! First of all thank you for this great project. Just wondering is this project not developing anymore?


Insert image to wordpress from Java

In my project I am trying to insert images (insert from url) to wordpress posts through Java, I am using the wp_posts table of the wordpress. It works good when http url images are given,but when with https url its giving 403 exception. I found out Grab & Save plugin for wordpress but couldn't find how to use it through Java. Thanks in advance.

Hi,
This project is a very basic implemention of the API to create a post with Wordpress. It makes calls to the XML-RPC API of Wordpress so I am not sure what you mean by "using the wp_posts table of the wordpress".
Are you directly accessing the Wordpress database?
If so this library is probably not required.
Also, what is returning a 403 exception?
Are you able to provide a Gist or a project with example code of what you are trying to achieve?
Thanks


Resolves missing exports condition #22

Fixes #22  "WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte."

Remove "svelte" Field in package.json
Add export in package.json according to  https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition

Thanks – fixed in v2.2.1


PR: Enhance icon manager

Improve the charge of icons and images
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: Steff456

Hello @steff456! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/app/mainwindow.py:

Line 89:1: E402 module level import not at top of file
Line 102:1: E402 module level import not at top of file

In the file spyder/app/restart.py:

Line 182:5: E303 too many blank lines (2)

In the file spyder/utils/icon_manager.py:

Line 403:29: E128 continuation line under-indented for visual indent

In the file spyder/widgets/findreplace.py:

Line 129:47: E128 continuation line under-indented for visual indent