Question on variable naming convention

Hey guys,
The DSC resource style guide dictates that camel case notation should be used for variable names.
I've had a small back and forth with @NarineM about that in the xPSDesiredStateConfiguration repo (PR90).
I understand that camel case notation is best practice in the .NET world but in PowerShell code parameters commonly dictate the variable naming convention, i.e. pascal case. I have had a look at the official PowerShell best practices on msdn and couldn't find anything on using camel case for variables. On the other hand they only mention pascal case in conjunction with function names explicitly.
My history with PowerShell dates back almost to PSv1 and from what I've seen over the years pascal case for variable names is the established best practice and works well with pascal case parameter names.
Could you explain your reasoning behind this decision?
Thanks in advance :-)

Sebastian

Hi @megamorf ,
Thanks for you input. We are indeed recommending pascal case for parameter names. There's no official PowerShell recommendation on that for local variables, however I've seen both pascal and camel case used for those. More important than what choice we make however is to use consistent convention for all DscResource modules. We decided to go with camel case since that was what majority of the initial modules were using and that's also convention used in pester. That's not saying one way is better than another, as it's just a matter of preference, but for consistency we had to choose one convention.
Karol

We updated the DSC Resource Kit Style Guidelines last week.
As @KarolKaczmarek stated before, the number 1 reason we dictate camelCase for variables is consistency.
The number 2 reason we do it is for clarity.
We use PascalCase for parameters to make it clear where the values for those variables are coming from. PascalCase is also used for function names so it's easy to remember that the variables in PascalCase go with the function. These parameters will also be in PascalCase when you call the function.
We use camelCase for all other variables to differentiate from parameters.
In addition, variables with a special scope (script, global, env) must specify that scope every time they are called to make it clear that they are not standard variables.
I'm not sure what happened in PR90, but I hope that answered your question and gave you some clarity.


enhanced submit button

Resolve issue: #10
The submit button styling has been improved for better user interface.

Good job @KhushiAgarwal-01 for enhancing the Button style, ⭐
I'm merging the PR now.
Thanks for the contribution.
Feel free to contribute/create more issues, if you've found!✌


feat: generate token and create own token

PR description
Describe your changes in detail here
Now you can regenerate a cryptographic token or you are able to create your own token by writing in the text field.
Currently, the rules are very simple, they have to be specified by the team in a more consice way. Additionally, I set it up so that the notification system is incorporated in this.
Definition Of Done (DoD)
This PR can be squashed / merged if

[x] a developer is assigned
[x] the PR is NOT estimated
[x] the PR is labeled
[x] the PR is NOT assigned to the current sprint
[x] a meaningful title has been set according to https://www.conventionalcommits.org/
[x] the PR is described in detail
[x] the PR links to an issue
[ ] the PR has been reviewed

Add additional conditions here if necessary for this PR
Fix: #118

The current rules for the token are just placeholders because I am unsure what the rules should be therefore we need to decide what is important

The current rules for the token are just placeholders because I am unsure what the rules should be therefore we need to decide what is important
1. min characters

2. what characters have to be in

3. numbers ?

4. etc.

see #118 reply

I ran into something very strange but i don't know why
with this updated function so every generated token has all the properties

I reach the maximum call stack size


Refactor add layer operations

Description
Move add layers from document layer to own file. Added unit test.
Issues Resolved
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.

Codecov Report

Merging #222 (84b518c) into main (bb947ed) will increase coverage by 2.54%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #222      +/-   ##
==========================================
+ Coverage   87.50%   90.04%   +2.54%
==========================================
  Files           6        7       +1
  Lines         176      221      +45
  Branches       24       27       +3
==========================================
+ Hits          154      199      +45
  Misses         16       16
  Partials        6        6

Impacted Files
Coverage Δ

...shboards-maps/public/model/map/layer_operations.ts
100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Build failure will be fixed after merging this: https://github.com/opensearch-project/geospatial/pull/210


OAK-7401: Changes kept in memory when update limit is hit in commit hook

Changes were committed to trunk.


[Issue 3578][pulsar-client-tools] Support CLI pulsar-admin subcommands for concise description

Motivation
Fixes #3578
Modifications
Print corresponding usage according to the parsed subcommand.

run java8 tests


Adjust to work with Octopus installed via cephadm

In Octopus the default way to install ceph is to use cephadm, which runs all the ceph daemons in Docker Containers. However, therefore the Ceph Nodes will have names conatining the Container ID. Especially the MDS Check is not working anymore in this case.
As a quick workaround, I suggest to make a substring check for the hostname instead of an exact string match, this should prevent reconfiguration of the nagios check.
replace Line 109 by:
 if name in mds.get_name():
and replace line 118 by:
 if not name in mds.get_name():

On the other hand it makes much more sence to use prometheus or similar to monitor such a volatile system


Two-to-one base H-bond connection layouted wrong

Steps to Reproduce

Go to Macro - Snake mode
Load from HELM using paste from clipboard: RNA1{R(C)P.R(C)P}|RNA2{R(U)P.R(U)P.R(U)P}$RNA1,RNA2,5:pair-2:pair|RNA1,RNA2,5:pair-5:pair$$$V2.0

Actual behavior
Two chains connected by two H-bond arranged wrong

Expected behavior
All chains arranged correctly

Probably the same problem with

RNA1{R(C)P.R(C)P}|RNA2{R(U)P.R(U)P.R(U)P}$RNA1,RNA2,3:pair-5:pair|RNA1,RNA2,5:pair-2:pair$$$V2.0
RNA1{R(C)P.R(C)P}|RNA2{R(U)P.R(U)P.R(U)P}$RNA1,RNA2,5:pair-2:pair|RNA1,RNA2,3:pair-8:pair$$$V2.0

Versions

Ketcher Version 2.28.0-rc.1 Build at 2024-12-03; 17:04:52
Indigo Version 1.27.0-rc.1.0-g8d656a341-wasm32-wasm-clang-19.0.0
Chrome Version 131.0.6778.109 (Official Build) (64-bit)
Win10

Issue found while testing - https://github.com/epam/ketcher/issues/5712

Verified.

Versions

Ketcher Version 2.28.0-rc.2 Build at 2024-12-10; 18:40:08
Indigo Version 1.27.0-rc.1.0-g8d656a341-wasm32-wasm-clang-19.0.0
Chrome Version 131.0.6778.140 (Official Build) (64-bit)
Win10


build firmware

How to build the firmware and what platform to use? esp-if or esp-open-sdk or arduino?
Can you tell me how to build it? ?

If you want to make your own modifications then you will need to set up a build environment, take a look at the intructionsm which will help you set up and environent :- https://github.com/maximkulkin/esp-homekit-demo/wiki/Build-instructions-ESP8266
You don't have to buld the code yourself, if you just want to run the firmware then follow the instructons in the Wiki to get the firmware onto your device.


[bugfix]: fix multi class prediction bug

fix multi class prediction bug

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.杨熙 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


ENH: handle configure_*() methods in code generation

Traveling today, feel free to merge+iterate yourself...
On Thu, Jun 9, 2016 at 9:45 PM, Jake Vanderplas<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/ellisonbg/altair/pull/127
Commit Summary

ENH: handle config_*() methods in code generation

File Changes

M altair/api.py
https://github.com/ellisonbg/altair/pull/127/files#diff-0 (16)
M altair/utils/visitors.py
https://github.com/ellisonbg/altair/pull/127/files#diff-1 (32)
M notebooks/auto_examples/area.ipynb
https://github.com/ellisonbg/altair/pull/127/files#diff-2 (8)
M notebooks/auto_examples/bar_grouped.ipynb
https://github.com/ellisonbg/altair/pull/127/files#diff-3 (8)
M notebooks/auto_examples/bar_grouped_horizontal.ipynb
https://github.com/ellisonbg/altair/pull/127/files#diff-4 (8)
M notebooks/auto_examples/stacked_area.ipynb
https://github.com/ellisonbg/altair/pull/127/files#diff-5 (8)
M notebooks/auto_examples/stacked_area_normalize.ipynb
https://github.com/ellisonbg/altair/pull/127/files#diff-6 (8)
M notebooks/auto_examples/stacked_area_stream.ipynb
https://github.com/ellisonbg/altair/pull/127/files#diff-7 (8)

Patch Links:

https://github.com/ellisonbg/altair/pull/127.patch
https://github.com/ellisonbg/altair/pull/127.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ellisonbg/altair/pull/127, or mute the thread
https://github.com/notifications/unsubscribe/AABr0PpGwX-rJVyuoqXbeFcEMFom1i-Uks5qKOvlgaJpZM4Iynhr
.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Great! I think this is OK to merge


GMMS-6682 - fix button cropping, text alignment and state text colors

@janoskernacsgenesys could you please attach screenshot how it looks like after your fix? Thanks


fix yt-dlp timeouts at low samples_per_shard

during runs with low samples_per_shard there is a very large proportion of failures due to "ERROR:
[download] Got error: The read operation timed out"

potential solutions:

increase yt-dlp timeout
add delay between connection starts


MultiKey Index  on dictionary keys?

Hi @mbdavid ,
great work on the new multikey indexes. do they also work with dictionaries?
like this:
customers.Insert(new Customer { Name = "John", Phones = new Dictionary<string, string> {
["1"] = "54-3533",
["2"] = ""43-4324"
});

var result = customers.Query(x => x.Phones.Keys.Contains("1")); // returns first document

Hi @vip32 , It's not possible with dictionary because dictionary are "embedded" document when transformed to BSON data type. If you need index data in dictionary, try create new virtual index field, like:
BsonMapper.Global.Entity<Class>().Index("phones", x => new BsonArray(x.Phones.Values));

ah ok, i see i can query embedded documents now (v3) https://github.com/mbdavid/LiteDB/issues/474
that will also solve my problem.


Add Organization Name to Project Options

Add an attribute to project options for populating the ORGANIZATIONNAME attribute in the main project group. This is generally used in the new file template header.

Believe I covered all the reorders


DATE_TIMEZONEINFO

Scope & Purpose
Integrate the changes from https://github.com/arangodb/arangodb/pull/13334 into devel.
Extra PR so that we can run Jenkins PR tests on it.

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[x] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required

Testing & Verification

[x] This PR adds tests that were used to verify all changes:

[x] Added new integration tests (e.g. in shell_server / shell_server_aql)

Link to Jenkins PR run:
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/13812/

Tests blue


[Builtins] Bake inference into 'KnownTypeAst'

WIP.

I'll do the same in a different (hopefully, much better) way after splitting TypeScheme into two parts: one for type checking and the other one for evaluation.


Suggestion: Maybe Implement PREFERRED_PHONE_ACCOUNT_ID

As per https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#PREFERRED_PHONE_ACCOUNT_ID

@NLLAPPS based on my preliminary investigations, the PREFERRED_PHONE_ACCOUNT_ID is used by dialer apps in conjunction with PhoneAccountHandle and PhoneAccount. All of these have been recently introduced in Android API 28. It seems like an advanced feature that is very specific for dialer apps (mainly dealing with TelecomManager), which I'm currently not prioritizing.

![Screen Shot 2022-07-06 at 10 51 52 AM](https://user-images.githubusercontent.com/4332753/177641047-fbaa04cf-b67e-4599-a036-cac2dfb

501b4.png)
I can certainly add in that field as part of the Phone entity but I'm not sure what exactly it is used for and how. It's going to take me days to investigate and document. It's probably related to a bunch of other things as I pointed out above.
I'll wait to add this until I get more time to investigate and until I complete more higher priority issues in the Project Roadmap.
For now, I will convert this to a discussion so that other people can participate if they are also interested 😁
Thanks!


Enable parallel execution for Gradle build

Would like to enable parallel execution for gradle build.
I could see a worthwhile boost to build times on my local machine:
(1) build and run tests:  66s --> 44s (save 33%)
(2) build and skip tests: 390s --> 290s (save 25%)
An alternative is to add "--parallel" when invoking gradlew.
Run with the change in gradle.properties for more than a week. Seems get no drawbacks but need some advices here.
@rdblue , works for you?

Works great for me!


S

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

### Tasks
- [ ] Add a draft title or issue reference here

@Sa9991
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

@Sa9991
We are going to close this thread if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Login with keypass storage doesn't work for new setups

This may be the same as #82 , but that ticket doesn't have enough details to be sure.
Since https://github.com/Netflix-Skunkworks/go-jira/commit/85298e9, the keypass login method only works if you're already logged in. This line makes it so that if the password isn't already there, it will fail the command, instead of asking for the password here.
This leads to:
./jira-darwin-10.6-amd64 login
panic: keyring: Password not found

I moved back to Version 0.1.9 in order to workaround setting up the keychain the first time, but after moving to latest version 0.1.14 I am still seeing this issue.

This should be resolved by 8d8167b02df92903ca0d6b9515059e3299efc1b9 FYI. I'm using it successfully now.

Closing, I think this was fixed in #104 as indicated.


Coding - 13 IDF : handle duplicated tokens and add other solution

The solution did not handle duplicated tokens in documents, it has been fixed by converting each document to a set
Another solution is also provided

Thank you for your contribution


Ripple should gracefully recover from an unsynced node

When attempting to sync the chain, I encountered:
NetworkOPs:WRN We are not running on the consensus ledger
and
LedgerConsensus:WRN Need consensus ledger: xxxx
From research it seems unless syncing from scratch, there seems to be a timer around how long rippled will attempt to sync up based around block height.
Additionally it seems the prevailing suggestion is to run ledger_cleaner by hand.. Why can't rippled retry grabbing confirmed ledgers it doesn't have on it's own without manual intervention?

So long as you keep rippled running, it will keep trying to get, and stay, synchronized with the network. The ledger cleaner is used for clean up a corrupt or possibly corrupt database, possibly caused by abnormal termination or a similar problem. The server will try to fill in history and catch up without manual intervention.
The server's number one priority is to keep up with the live network. Its number two priority is to push a continuous stream of events and changes to its clients. Its number three priority is to fill in missing history as configured.


Move all repeated tasks from setcronjob.com to Bull Repeated Jobs

cost optimization: setcronjob is a paid service
One less tool to use.
All cronjobs will be part of the same code base.
Easy setup for self-hosting.

@aptro - write a small report of what changes your made, in order to close the issue and the post it as a comment before closing the post.
In the closing commit you can mention:

the challenges that you faced
decisions that you took
changes made if any

Benefits of doing so:

It gives other contributors some sense of how engineering is done at this project (for other to learn the accepted practices)
It gives other contributors a sense of what fix was deployed without having to dive in to the codebase.
It is a reference for yourself as much as it is for others.

Here is an example of how it should be done - https://github.com/alexjv89/cashflowy/issues/88

We have added all existing crons i.e surface_crawl, weekly, monthly stat mails and UAM calculation to bull repeated job. https://github.com/OptimalBits/bull#repeated-jobs
Add a view for all the active repeat jobs.
A Cronjob can be deactivated from the bull dashboard(/bull).

commits: 5e2e5070007f98e7aef1d1db40eb7eb1b1b7d8c3


where is Dynamic and representation

It looks like still a alphazero,  can you Implementing  muzero in go game?

Just edit the config environment to say "go_9x9"

muzero have Dynamic and representation and prediction,  but you code do not have.

Also I can't figure out prediction, but feel free to implement it yourself

The representation F output is not policy and value.  It's an  s,  which is the input of Dynamic F or prediction F.
it's like this:  input ->  representation F ->  s,   s-> prediction F ->  p,v     s -> Dynamic F -> next s   next s ->  prediction F ->  p,v
you implemented doesn't look like  muzero.
you may need to read muzero paper more carefully.

I decided to just do AlphaZero, as I couldn't understand MuZero very well. However, I used Muax to build a trading algorithm using the true MuZero algorithm, which I will open source soon.


WIP: Remove preview for a specific URL in a message

I've added 3 commits to this draft PR.

The first commit adds a cross next to each URL preview, irrespective of whether or not you are the sender. Clicking on it removes the URL preview until the next reload.
The second one modifies the update_message_backend function to allow specifying a list of URLs on the message for which we'd like to remove the previews. This re-renders the message, similar to a content edit.
The third commit tries to add a separate end point to remove the preview for a specified URL in a message. This would need us to add a new action to notify the clients about the change.

@timabbott This PR is still a very early stage PR, but I'd like to know your thoughts on what would be a good approach to take for this feature, and also hear your thoughts on the UI/UX.
GIFs or Screenshots:

Meant to open it as a draft PR, but I guess I can't change that once I've opened it.

Hmm, interesting.  Conceptually, I like the approach in the second commit, in that we don't need to add complex new infrastructure, data storage, etc. in order to handle this sort of update to the message.  But we'd still need to take some care; one detail that's interesting here is what happens if a user clicks the X on multiple previews in a single message; a naive implementation would end up swapping which one was displayed rather than doing what the user wanted.  And it's actually not obvious to me how to make a nice implementation of that concept that handles the possibility of previews being deleted from multiple clients.
So possibly we do need to store a backend-only data structure, similar in form to Reaction, for managing which previews/URLs were requested deleted.  I guess the URLs are an effective map, because we only show one preview per URL in the message, so we don't need to worry about constructing a unique ID for the preview or anything.
Given that we already handle the previews via rerendering in the first place, I think it makes sense to go with that approach rather than using a BeautifulSoup type tool to modify the rendered content.  Structurally, we're trying to avoid doing that in production code (there are exceptions for things like data import), both because it's slow and because it opens up additional opportunities for security bugs to creep in.

@timabbott I've rebased this PR and pushed a few changes to try to remove URL previews for specific URLs. I'm not super happy with the changes, but I have been working on it in short windows of time, now and then. I feel a little stuck, and unsure about this PR, and I feel like a quick review and some thoughts from you would help me wrap this up.  Would you have the time to take a look at this, please?

Thanks for working on this @punchagan, this direction looks pretty reasonable.  We should probably change the URL to POST /messages/{message_id}/previews to be more consistent with our other REST URLs.
Another concern is that it adds an extra database query to the message rendering code path (effectively an extra RTT to the database).  I think with a tiny bit of work to reflect the fact that we know the preview_removed table will always be empty for a just-sent message, we could fix that and have it only impact rerendering performance (which is like 20x more rare and thus not a big deal).
We should also think about what the right behavior is for a message that's content is edited after removing a preview; do we want to clear the PreviewRemoved table for that message?  That might be a nice stopgap approach until we have a UI to re-add previews that had been removed -- one can just edit the message content and back.

Thanks for the review, Tim! Your comments are very helpful, I'll make some time in the next few days to work on this. :)

@timabbott I've pushed a few changes to this PR. Could you take a look when you get some time, and let me know what you think? Thanks!

@timabbott I ended up rebasing this PR and making some minor changes, since we were talking about URL previews for YouTube etc. Could you take a look at it, when you have some time? Thanks!

Closing in favor or #16231


fix: content not reactive

I noticed that the content wasn’t restored from local storage in dev. Turns out configuration.spec wasn’t reactive anymore, changes to it didn’t have any effect.
I traveled through the Git history to find out when this was introduced and it seems it was introduced with #1079, though I don't see any related change. Maybe a race condition?
Anyway, I think this PR fixes it. I’ve added a watcher for the spec configuration and added a helper method to useSpec to manually update the passed configuration.
I feel every watcher is introducing another problem, so I’d be open for an alternative solution that doesn’t involve a watcher. 👍

I feel every watcher is introducing another problem, so I’d be open for an alternative solution that doesn’t involve a watcher. 👍

Absolutely. The heavy dependence on watchers I have seen is both error prone and difficult to follow.


Horizontal timeline component

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
It would be great to be able to change the Timeline component's direction from vertical to horizontal.
The <Timeline> component could have a property "direction" that is by default set to "vertical". Simply doing something belong the lines of <Timeline direction="horizontal" /> would then modify its layout from top to bottom to left to right.
Examples 🌈
<Timeline position="alternate" direction="horizontal">
  <TimelineItem>
    <TimelineSeparator>
      <TimelineDot color="secondary" />
      <TimelineConnector />
    </TimelineSeparator>
    <TimelineContent>Secondary</TimelineContent>
  </TimelineItem>
  <TimelineItem>
    <TimelineSeparator>
      <TimelineDot color="success" />
    </TimelineSeparator>
    <TimelineContent>Success</TimelineContent>
  </TimelineItem>
</Timeline>

Motivation 🔦
Simply more easy customization of the Timeline component

Related to #24221 that has been closed without any news but a "waiting for 👍" card that does not seem to boost it.

This is not exist in mui, i am using this component chrono

Duplicate of https://github.com/mui-org/material-ui/issues/24221, please upvote that issue.


Estimate the gas cost of deploying a contract

Component
Forge, Cast
Describe the feature you would like
Coming from dapp.tools, I miss a seth estimate --create equivalent.
It would be great to add this option to cast estimate or maybe a --estimate flag for forge create to be able to get the estimated gas costs to deploy a contract.
Additional context
No response

@onbjerg would love to tackle this if it's available.

Assigned, let me know if you want to be unassigned for any reason :)


Homebridge doesn't start after Update Node/NPM

Hi, my homebridge doesn't start after Update NPM & Node for some Plugins.
The issue come from Bachome....
After remove plugin, my homebridge run normaly.
Sep 05 10:02:56 homebridge homebridge[20330]: [5.9.2021, 10:02:56] [homebridge-bachome] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.

Sep 05 11:14:48 homebridge homebridge[31320]: (node:31320) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 119)
Sep 05 11:14:48 homebridge homebridge[31320]: (node:31320) UnhandledPromiseRejectionWarning: Error: BacnetAbort - Reason:1
Sep 05 11:14:48 homebridge homebridge[31320]:     at processAbort (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:99:30)
Sep 05 11:14:48 homebridge homebridge[31320]:     at handlePdu (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:313:9)
Sep 05 11:14:48 homebridge homebridge[31320]:     at handleNpdu (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:342:5)
Sep 05 11:14:48 homebridge homebridge[31320]:     at self.receiveData (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:353:7)
Sep 05 11:14:48 homebridge homebridge[31320]:     at Socket. (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/transport.js:13:25)
Sep 05 11:14:48 homebridge homebridge[31320]:     at Socket.emit (events.js:400:28)
Sep 05 11:14:48 homebridge homebridge[31320]:     at UDP.onMessage (dgram.js:941:8)

I'm looking into this issue.
For the time being, according to the homebridge documentation, you cloud put the bachome plugin into its own child bridge to prevent slowing down other plugins.

Hey, i create a new instance for bachome plugin, but the bridge doesn't start...
Okt 05 19:47:35 homebridge homebridge[16511]: [5.10.2021, 19:47:35] Error: BacnetAbort - Reason:1
Okt 05 19:47:35 homebridge homebridge[16511]:     at processAbort (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:99:30)
Okt 05 19:47:35 homebridge homebridge[16511]:     at handlePdu (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:313:9)
Okt 05 19:47:35 homebridge homebridge[16511]:     at handleNpdu (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:342:5)
Okt 05 19:47:35 homebridge homebridge[16511]:     at self.receiveData (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:353:
Okt 05 19:47:35 homebridge homebridge[16511]:     at Socket. (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/transport.js
Okt 05 19:47:35 homebridge homebridge[16511]:     at Socket.emit (node:events:390:28)
Okt 05 19:47:35 homebridge homebridge[16511]:     at UDP.onMessage (node:dgram:931:8)
Okt 05 19:47:35 homebridge homebridge[16511]: [5.10.2021, 19:47:35] Got SIGTERM, shutting down Homebridge...
Any Idea?

Hi. something new about an update?

I have the code mostly ready and it's currently working on my machine. If i have time over new year I'll push out an update.
Sorry I didn't have time the past half year.

Update 1.4.0 is out now. Can you check, if this fixes the issue with your node version? The current version of the plugin is aimed at node versions >=16.10.0 and homebridge versions >=1.3.4

Hi, thank you for your work, but i my homebridge doesn't start after update.
Dez 08 20:12:12 homebridge homebridge[16978]: [8.12.2021, 20:12:12] Homebridge v1.3.8 (HAP v0.9.7) (Homebridge-Bachome) is running on port 51844.
Dez 08 20:12:14 homebridge homebridge[16978]: [8.12.2021, 20:12:14] Error: BacnetAbort - Reason:1
Dez 08 20:12:14 homebridge homebridge[16978]:     at processAbort (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:99:30)
Dez 08 20:12:14 homebridge homebridge[16978]:     at handlePdu (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:313:9)
Dez 08 20:12:14 homebridge homebridge[16978]:     at handleNpdu (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:342:5)
Dez 08 20:12:14 homebridge homebridge[16978]:     at self.receiveData (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:353:7)
Dez 08 20:12:14 homebridge homebridge[16978]:     at Socket. (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/transport.js:13:25)
Dez 08 20:12:14 homebridge homebridge[16978]:     at Socket.emit (node:events:390:28)
Dez 08 20:12:14 homebridge homebridge[16978]:     at UDP.onMessage (node:dgram:939:8)
Dez 08 20:12:14 homebridge homebridge[16978]: [8.12.2021, 20:12:14] [BAChome Dynamic Platform] BacnetAbort - Reason:1
Dez 08 20:12:14 homebridge systemd[1]: homebridge-bachome.service: Main process exited, code=exited, status=1/FAILURE
Dez 08 20:12:14 homebridge systemd[1]: homebridge-bachome.service: Unit entered failed state.
Dez 08 20:12:14 homebridge systemd[1]: homebridge-bachome.service: Failed with result 'exit-code'.
node version : 16.13.1
homebridge version : 1.3.8

Ok, there is no issue when i only use one thermostat.
If i tried a second one, my homebridge doesn't start.
[12/8/2021, 9:03:32 PM] [homebridge-bachome] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' was slow to respond! See https://git.io/JtMGR for more info.
[12/8/2021, 9:03:32 PM] [homebridge-bachome] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' was slow to respond! See https://git.io/JtMGR for more info.
[12/8/2021, 9:03:32 PM] [homebridge-bachome] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' was slow to respond! See https://git.io/JtMGR for more info.
[12/8/2021, 9:03:32 PM] Error: ERR_TIMEOUT
at Timeout._onTimeout (/homebridge/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:75:16)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
[12/8/2021, 9:03:32 PM] [BAChome Dynamic Platform] ERR_TIMEOUT
[12/8/2021, 9:03:32 PM] [HB Supervisor] Homebridge Process Ended. Code: 1, Signal: null
[12/8/2021, 9:03:37 PM] [HB Supervisor] Restarting Homebridge...

Hi, thank you for your work, but i my homebridge doesn't start after update.
Dez 08 20:12:12 homebridge homebridge[16978]: [8.12.2021, 20:12:12] Homebridge v1.3.8 (HAP v0.9.7) (Homebridge-Bachome) is running on port 51844. Dez 08 20:12:14 homebridge homebridge[16978]: [8.12.2021, 20:12:14] Error: BacnetAbort - Reason:1 Dez 08 20:12:14 homebridge homebridge[16978]: at processAbort (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:99:30) Dez 08 20:12:14 homebridge homebridge[16978]: at handlePdu (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:313:9) Dez 08 20:12:14 homebridge homebridge[16978]: at handleNpdu (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:342:5) Dez 08 20:12:14 homebridge homebridge[16978]: at self.receiveData (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:353:7) Dez 08 20:12:14 homebridge homebridge[16978]: at Socket. (/usr/local/lib/node_modules/homebridge-bachome/node_modules/bacstack/lib/transport.js:13:25) Dez 08 20:12:14 homebridge homebridge[16978]: at Socket.emit (node:events:390:28) Dez 08 20:12:14 homebridge homebridge[16978]: at UDP.onMessage (node:dgram:939:8) Dez 08 20:12:14 homebridge homebridge[16978]: [8.12.2021, 20:12:14] [BAChome Dynamic Platform] BacnetAbort - Reason:1 Dez 08 20:12:14 homebridge systemd[1]: homebridge-bachome.service: Main process exited, code=exited, status=1/FAILURE Dez 08 20:12:14 homebridge systemd[1]: homebridge-bachome.service: Unit entered failed state. Dez 08 20:12:14 homebridge systemd[1]: homebridge-bachome.service: Failed with result 'exit-code'.
node version : 16.13.1 homebridge version : 1.3.8

Is this happening when using multiple thermostats?

Ok, there is no issue when i only use one thermostat. If i tried a second one, my homebridge doesn't start.
[12/8/2021, 9:03:32 PM] [homebridge-bachome] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heating Cooling State' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:03:32 PM] [homebridge-bachome] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:03:32 PM] [homebridge-bachome] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' was slow to respond! See https://git.io/JtMGR for more info. [12/8/2021, 9:03:32 PM] Error: ERR_TIMEOUT at Timeout._onTimeout (/homebridge/node_modules/homebridge-bachome/node_modules/bacstack/lib/client.js:75:16) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7) [12/8/2021, 9:03:32 PM] [BAChome Dynamic Platform] ERR_TIMEOUT [12/8/2021, 9:03:32 PM] [HB Supervisor] Homebridge Process Ended. Code: 1, Signal: null [12/8/2021, 9:03:37 PM] [HB Supervisor] Restarting Homebridge...

This error seems from a BACnet device not responding. I can fix the warning, but if the device isn't responding, it won't fix your problem of the device not working.
Would you mind sharing your config? Once with two thermostats and with only one.

Hi, i test it with every thermostat, everytime when i add a second thermostat my homebridge doesn't start. I checked all objects AI / AV and all objecst are rechable. Any ideas?

Thank you lots for investing time into testing so thoroughly. To be frank, I don't have any idea why this is happening. I'll have to invest some time into modelling your environment on a controller and then test it on a live device.
I'll get back to you when I had time to do that. Sorry for the inconvenience.

I think it has something to do with node update?! Before i updated it works with this config.

Ok, i will check, Thank your for your work!
I test all thermostats alone and it works, so all objects are respond. i checked it also with yabe (bacnet browser).

I don't know, but it looks like the Adapter trys to get all objects at the same time.
I changed the ip of my bacnet controller, changed the device id... nothing works...
After a long time all values are  ok in my homekite / homebridge, but in the log there is always a error timeout
i can also change the setpoint for all of my thermostats and it works fine, but the it shows alwas the error...
Log:
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:13 homebridge homebridge[20292]: [14.12.2021, 09:22:13] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:35 homebridge homebridge[20292]: [14.12.2021, 09:22:35] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:35 homebridge homebridge[20292]: [14.12.2021, 09:22:35] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:35 homebridge homebridge[20292]: [14.12.2021, 09:22:35] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:35 homebridge homebridge[20292]: [14.12.2021, 09:22:35] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:35 homebridge homebridge[20292]: [14.12.2021, 09:22:35] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:35 homebridge homebridge[20292]: [14.12.2021, 09:22:35] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT
Dez 14 09:22:35 homebridge homebridge[20292]: [14.12.2021, 09:22:35] [BAChome Dynamic Platform] An error occured: Error: ERR_TIMEOUT

Ok, that's a bummer. I never had this issue, but I can understand, that some devices may get "overloaded" when too many requests are sent/received at the same time. I'll go ahead and close the issue, since it is a different problem now.
I'll open a new one as a reminder to add "rate limiting" and maybe even a "slow mode". I think it could be especially useful when one device hosts multiple accessories.


Test case for the qos traffic management api

Test case for the qos traffic management api

Code changes Released on 1.3.0 tag


How can I modify the Value field size(default is 2000) in AbpSettings table.

migrationBuilder.AlterColumn(
name: "Value",
table: "AbpSettings",
maxLength: 4000,
nullable: true,
oldClrType: typeof(string),
oldMaxLength: 2000,
oldNullable: true);
is it possible this way?

You can configure it under the OnModelCreating method.
https://docs.microsoft.com/en-us/ef/core/modeling/max-length#fluent-api

Thanks for your response. Actually AbpSettings table is asp.net boiler
plate's entity. So I am getting a reference error in  OnModelCreating .
Thanks & Regards,
Noushida K T
Senior Software Engineer - Microsoft Technologies
[image: cid:ii_144d3e1003a21d10]
Ph: +91<PHONE_NUMBER>
USA | UAE | INDIA
www.fingent.com
On Tue, Feb 26, 2019 at 5:19 PM maliming<EMAIL_ADDRESS>wrote:

You can configure it under the OnModelCreating method.
https://docs.microsoft.com/en-us/ef/core/modeling/max-length#fluent-api
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnetboilerplate/module-zero-forsaken/issues/432#issuecomment-467408619,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Acpl4OS1LCyXBLqHRlREfsplgcA46FE8ks5vRR9mgaJpZM4bR_fq
.

@Noushida could you share your code for OnModelCreating ? Setting entity is defined in Abp.Configuration namespace.


Can't start flexget on an Asuswrt Router

Expected behaviour:
I've been running flexget for years in this router. I normally don't update it because that breaks things, but I recently updated my router, and it required an entware reinstall, so I reinstalled flexget too. At first I was presented with memoryErrors, but I managed to avoid them by activating a swap file. Still, can't run flexget.
I expect that running 'flexget execute' parses an RSS source for series and sends them to transmission

Actual behaviour:
I get an error
Steps to reproduce:
Fresh install of flexget
Config:
My config file starts with a comment to remind me that I don't have to do changes on a certain location as it will be deleted on restart. My transmission password is a string with spaces in it, something like "password with spaces". This file has been working for years on a previous version of Flexget, so I know it's OK, but I also understand that plugins change with time and it might be outdated. I also tried commenting areas like the web server, or the transmission bit, but nothing worked, still the same error.
# I will move this file to home on boot. Remember to edit the original
# located at /mnt/Router_Stuff/scripts/.flexget
# Cron will make copies back to the hard drive on each run to update
# databases and stuff.

parser:
  series: internal
tasks:
  SeriesTask:
    rss: http://showrss.info/user/77890.rss?magnets=true&namespaces=true&name=null&quality=anyhd&re=null
    all_series:
      path: /mnt/Router_Stuff/Torrent/Series/{{series_name}}
    transmission:
      host: localhost
      port: 9091
      username: MyRealUsername
      password: MyRealPassword
web_server:
  run_v2: true

Log:
(flexget) Joel@RT-AC56U:/tmp/mnt/Router_Stuff/swap# flexget -c ~/.flexget/config.yml execute
Traceback (most recent call last):
  File "/tmp/mnt/Router_Stuff/flexget/bin/flexget", line 11, in <module>
    sys.exit(main())
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/__init__.py", line 42, in main
    manager.start()
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/manager.py", line 330, in start
    self.initialize()
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/manager.py", line 217, in initialize
    fire_event('manager.startup', self)
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/event.py", line 106, in fire_event
    result = event(*args, **kwargs)
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/utils/simple_persistence.py", line 183, in load_taskless
    SimplePersistence.load()
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/utils/simple_persistence.py", line 145, in load
    cls.class_store[task][skv.plugin][skv.key] = skv.value
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 293, in __get__
    return self.descriptor.__get__(instance, owner)
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/utils/database.py", line 141, in getter
    return json.loads(getattr(self, name), decode_datetime=True)
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/utils/json.py", line 112, in loads
    return json.loads(*args, **kwargs)
  File "/opt/lib/python2.7/json/__init__.py", line 352, in loads
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/utils/json.py", line 48, in decode
    return super(DTDecoder, self).decode(obj, **kwargs)
  File "/opt/lib/python2.7/json/decoder.py", line 364, in decode
TypeError: expected string or buffer

Additional information:
Some commands work, like flexget -V, which returns the latest version, flexget --help, that prints the help or flexget check IF AND ONLY IF the config file is bad (if it's valid, it prints the same error).

FlexGet version: latest, 2.13.6
Python version: 2.7.14
Installation method: described in this post in the forums (https://discuss.flexget.com/t/solved-cant-install-on-asuswrt-384-3/4043/3). Running on a virtualenv stored in an external HDD.
Using daemon (yes/no): can't run as a daemon
OS and version: Merlin's asuswrt 384. on an Asus RT-AC56U.
Running on a virtualenv stored in an external HDD.
Link to crash log:

2018-03-16 12:38 CRITICAL plugin                        Exception while loading plugin flexget.plugins.parsers.parser_guessit
Traceback (most recent call last):
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/plugin.py", line 396, in _load_plugins_from_dirs
    __import__(module_name)
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/flexget/plugins/parsers/parser_guessit.py", line 10, in <module>
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/guessit/__init__.py", line 6, in <module>
    from .api import guessit, GuessItApi
  File "/tmp/mnt/Router_Stuff/flexget/lib/python2.7/site-packages/guessit/api.py", line 151, in <module>
    default_api = GuessItAp2018-03-16 13:43 VERBOSE  check                         Pre-checked 19 configuration lines
2018-03-16 13:43 CRITICAL manager                       [/] The key `parser` is not valid here.
2018-03-16 13:43 CRITICAL manager                       Failed to load config file: Did not pass schema validation.
2018-03-16 13:43 VERBOSE  check                         Pre-checked 17 configuration lines
2018-03-16 14:09 VERBOSE  check                         Pre-checked 17 configuration lines
2018-03-16 14:10 VERBOSE  check                         Pre-checked 17 configuration lines
2018-03-16 14:26 VERBOSE  check                         Pre-checked 17 configuration lines

I'm not exactly sure which error you're reporting here. The crash log you've included shows your config is invalid.

The crash error was due to an invalid file, but as I said in my report, when the config file is invalid, flexget doesn't return any errors. When my config file is correct, as from 14h09 and onwards, I don't get any crash reports, but the error is like the one on my report: typeError expectedstring or buffer. That happens with flexget execute, but also with flexget check with a valid config file like the one I pasted and also with flexget --help

Deleting all the sqlite files in the directory where my config is fixes it, though! THANKS!

Seems similar to #2031.


Static predicate field names are inconsistent

There isn't a consistent name scheme for static predicate fields. We should decide on one of these formats:

No prefix or suffix: RIDERS
'Is' or 'can' prefix only: IS_FOOD
'Predicate' suffix: AIR_PREDICATE
'Is' or 'can' prefix and 'predicate' suffix: IS_AIR_PREDICATE
'Checker' suffix: DOOR_BREAK_DIFFICULTY_CHECKER
'Is' or 'can' prefix and 'checker' suffix: IS_DOOR_BREAK_DIFFICULTY_CHECKER
'Filter' suffix: BLOW_UP_FILTER
'Is' or 'can' prefix and 'filter' suffix: IS_BLOW_UP_FILTER
Just predicate: PREDICATE

I prefer only FILTER/CHECKER suffix without IS prefix.

I would prefer PREDICATE suffix without IS prefix

Imo a predicate is a function, so IS_FOOD makes the most sense to me, and fits with the style I tend to go with in my personal code.

I also prefer IS_FOOD or IS_FOOD_PREDICATE

Yes, I also prefer the IS_ suffix. More generally I think we should name Predicates and Functions as if they were methods.

Yes, I also prefer the IS_ suffix.

'Is' or 'can' prefix only: IS_FOOD

I vote for IS_ prefix only. It's just the most concise.

looking back, now i support is prefix. or we can alternatively have a 3rd person present tense verb, like HAS_EFFECT, REQUIRES_SOME_PERMISSION, etc.


Ellipsis for Errors Not Working

Describe the bug
The ellipsis style for error labels is not working. This is due to display: inline-block having been removed when fixing the styles.

Steps to reproduce

Have a very long error label
Label exceeds maximum width

Expected behavior
Error labels should have a maximum width.
Environment

Camunda Modeler Version: 5.2-rc.0

Additional context
Related to https://github.com/camunda/camunda-modeler/pull/3015

Fixed by https://github.com/camunda/camunda-modeler/pull/3077


Consider time zone difference when drawing the journal

In the client little attention is paid to the local time. Actually, in PST the origin of the journal graph is the time as if I'm in JST (i.e. 16 hours past).
This is contrary to the ETA calculation for missions or repairs, which correctly parses the Time from epoch in UTC and converts it into the local time.

Fixed with c6fd80821a51e3fce02603daa93436f1c2ee8243 by converting the table dat entries. The datetime points are converted into the timezone of the client, which is passed as a requestable object parameter.
Possibly this is ideally handled by propagating the timezone info of the entries, or simply by passing UTC data points, but it's not so easy to modify the data on client side.


Problem about match with cordova-hot-code-push-plugin

In latest Version , web server root  directory path  use as below:
  NSString *publicPath = [bundle pathForResource: @"www" ofType:nil];
but it's does not match with "cordova-hot-code-push-plugin",
because "cordova-hot-code-push-plugin" changed www folder to  external storage, not default www folder 。
Could some one tell me how to solve this problem please,thanks~

Does cordova-hot-code-push-plugin return/provide the path it will use?
If so, you can use Ionic.WebView.setServerBasePath(path); function to set the path to use.

Any news?


Consolidate CDS and generic/ram mempool code into single implementation

Currently there are two memory pool implementations in ES:

cfe_es_cds_mempool.c
cfe_esmempool.c

These two are very similar except that the CDS uses offsets rather than direct pointers, and it calls into the PSP to perform actual read/write functions.  It would not be very hard to consolidate these into a single implementation.
Each implementation consumes about 4-5kB of code/data space so this consolidation would make ES a little smaller in addition to making it cleaner.

Imported from trac issue 25.  Created by jphickey on 2015-01-21T13:33:26, last modified: 2019-03-01T15:27:58

Trac comment by jphickey on 2015-05-19 09:39:35:
This is an old enhancement that is yet to be merged in.  Higher priority items taking precedence right now.

With recent addition of a generic (offset-based) memory pool implementation that works with the abstract resource IDs in #917.  I have also tested that this works for CDS blocks too.  Discussed at 2020-09-30 CCB that this would be a good time to finally do this and make one mempool implementation.


Create a Coming soon page

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in others.
@Rajdip019

We are not looking for new components as well as pages right now.


TIC TAC TOE GAME.py

There is a similar Program in the Python folder of this Repo. However, I request you to add the description of the tic tac toe program in the readme and also add the details of it's complexity in the description too


Add totals row after listView

Hello,
I was wondering if is there a way to add a row at the bottom of a list view to display some aggregate data from the listview. For instance the sum or average of values of a column.
Thanks in advance, and thank you for this great piece of code!

You can still override the datagrid directive (see http://ng-admin-book.marmelab.com/doc/Theming.html#customizing-directives-templates). In general, when you don't find a way to achieve what you want through ng-admin config, there should always be a way to do it otherwise with Angular.js.


A task was canceled.

Start DateTime:
19/11/2015 14:46:07
Exception DateTime:
19/11/2015 14:46:41
Exception.Message:
A task was canceled.
Exception.StackTrace:
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Tweetinvi.Streams.StreamTask.d__28.MoveNext()
linvi, check this out:
http://stackoverflow.com/questions/15181855/why-does-taskcanceledexception-occur
http://stackoverflow.com/questions/19120675/httpclient-task-was-cancelled-how-to-get-the-exact-error-message

Have you received this error multiple times?

Yes, i get this a lot.

I think this issue mostly happens when the Timeout is reached, which is not an issue.
I don't think this is a problem but more issues with the connection and the WebRequest, not something that I could fix.

Great lib, but StartStreamMatchingAnyCondition doesn't work.


add: calculate_slope_and_intercept function in linear regression algorithm

insert code in the calculate_slope_and_intercept function  in pykitzoid/algorithms/linear_regression.go. bear in mind the format in which the dataset will be received (csv) and change the parameters and return types as you require. refer here

Hi! I'd like to work on this issue please

Assigned


Increase the linter timeout

Signed-off-by: Mohamed Abokammer<EMAIL_ADDRESS>

Codecov Report

Merging #150 (3ec1476) into main (5b8e421) will decrease coverage by 0.21%.
The diff coverage is 24.00%.

@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
- Coverage   63.38%   63.16%   -0.22%
==========================================
  Files         164      165       +1
  Lines       10284    10383      +99
==========================================
+ Hits         6518     6558      +40
- Misses       3045     3098      +53
- Partials      721      727       +6

Flag
Coverage Δ

e2e
48.94% <5.93%> (-0.28%)
:arrow_down:

integration
54.35% <4.25%> (-0.32%)
:arrow_down:

unittests
48.89% <58.13%> (+0.02%)
:arrow_up:

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

Impacted Files
Coverage Δ

cmds/admin_server/server/server.go
0.00% <0.00%> (ø)

cmds/contest-generator/config.go
47.19% <0.00%> (ø)

cmds/contest-generator/main.go
0.00% <0.00%> (ø)

pkg/logging/logger.go
15.15% <0.00%> (ø)

pkg/test/functions.go
77.77% <ø> (ø)

pkg/userfunctions/ocp/ocp.go
2.12% <0.00%> (ø)

plugins/testfetchers/uri/uri.go
3.57% <0.00%> (ø)

plugins/teststeps/sshcmd/sshcmd.go
1.20% <0.00%> (ø)

pkg/runner/test_steps_variables.go
63.09% <41.66%> (-1.01%)
:arrow_down:

cmds/clients/contestcli/cli/verbs.go
57.03% <50.00%> (ø)

... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Feature: Terms & Conditions

Terms and Conditions
Welcome to our awesome website! By using this website, you agree to the following terms and conditions that will make your browsing experience even more amazing. If you don't agree with these terms, it's like missing out on a virtual party, so please refrain from using our website.
Cookies, the Yummy Treats!
We love cookies! Not the kind you eat (though we love those too), but the digital cookies that make our website work smoothly. By using our website, you're giving us a virtual high-five to use these cookies. Don't worry, they don't have any calories, but they do help us enhance your browsing experience. For more details about how we use cookies, check out our Privacy Policy.
Sharing is Caring (Except for our Intellectual Property)
We're excited to share our awesome content with you, but please remember that all the cool stuff on this website belongs to us or our licensors. You can view and print pages for your personal enjoyment, but please don't get any wild ideas about republishing, selling, or copying our stuff. Sharing is caring, but not when it comes to our intellectual property!
Party Poopers (Linking Policy)
While we love making new friends, we may occasionally ask you to remove any links to our website that don't follow our rules. Please be a good party guest and respect our linking policy. We reserve the right to change these terms and conditions and our linking policy because we like to keep the party fresh and exciting.
You're Responsible for Your Content (Don't Be a Buzzkill)
We believe in freedom of expression, but please don't use our website to spread negativity or do anything illegal. You're responsible for the content you create or share, so keep it fun, respectful, and within the bounds of the law. If your content infringes on someone else's rights, you'll be responsible for the consequences. Let's keep the good vibes flowing!
No Gloomy Disclaimers (We're Here for Fun!)
We want you to have a blast on our website, so we've done our best to make it awesome. However, we can't guarantee that everything will be perfect or meet your expectations. So, we're not liable for any glitches, bloopers, or surprises you may encounter while partying with us. We're all about good times, but we're not responsible for anything beyond our control.


Getting Platform Exception

Error! Code: PlatformException(ussd_plugin_ussd_execution_failure, USSD_RETURN_FAILURE, null, null) - Message PlatformException(ussd_plugin_ussd_execution_failure, USSD_RETURN_FAILURE, null, null)
sendUssd works fine but sendAdvancedUssd is giving above issue. I'm running on android version 12

I think you are posting this issue in the wrong repository. sendAdvancedUssd exists only in https://github.com/EddieKamau/ussd_advanced

error! code: PlatformException(ussd_plugin_ussd_execution_failure, USSD_RETURN_FAILURE, null, null) - message: PlatformException(ussd_plugin_ussd_execution_failure, USSD_RETURN_FAILURE, null, null)
I'm getting the same error when trying with ussd_service package. Can you tell me possible fix.


Try to fix incomplete handling

Fixes #284 (maybe)
@zegervdv Could you test with it?

it still only launches the first request.

@zegervdv Sorry. I've updated PR. Please re-test it.

no worries, I really appreciate you putting time in this.
I've tried this version, but still only one request is going out.
I added some debug prints:
diff --git a/lua/compe/source.lua b/lua/compe/source.lua
index 9588a48..dfba338 100644
--- a/lua/compe/source.lua
+++ b/lua/compe/source.lua
@@ -164,6 +164,11 @@ Source.trigger = function(self, context, callback)
       self.revision = self.revision + 1
       self.status = 'completed'
       self.incomplete = type(result.incomplete) == 'boolean' and result.incomplete or (self.incomplete and incomplete)
+      if self.incomplete then
+        print("Source ".. self.name .." is incomplete")
+      else
+        print("Source ".. self.name .." is complete")
+      end
       self.keyword_pattern_offset = result.keyword_pattern_offset or state.keyword_pattern_offset
       self.trigger_character_offset = state.trigger_character_offset
       self.items = self:_normalize_items(context, result.items)

And I do not see the nvim-lsp source printing either. ( I do get spell and buffer printing something)

@zegervdv Could you provide your key sequence and what is your expected?
class Main {
  publi static void main(String[] args) {
    |
  }
}

S|, should send completion request
Sy|, if step-1 received isIncomplete=true, should send new completion request
...

well, if step 1 received isIncomplete=true or Results: null it sends a new request.

Hm... I think if step-1 received Results: null, we shouldn't send a new request...?
If we receive isIncomplete=true, we should send a request, it's understandable.
OK. I will investigate VSCode implementation... it sounds like a VSCode's bug...

I checked the VSCode implementation. After all, I think the server must return isIncomplete=true first.
If not, the completion-engine does not handle the source as isIncomplete=true.

But both vscode and nvim-completion send new requests after receiving Results: null.

isIncomplete = true(1) -> Results: null(2) is handled as isIncomplete = true.
Results: null(1) is not handled as isIncomplete = true.
If compe receives isIncomplete=true first, compe should send request again.

Sorry for my poor English... 😢

ok, so what I see is the first 2 or 3 requests get Results: null, and then eventually the server responds with isIncomplete=true.
So that means VSCode for some reason keeps sending requests to the server.
But that is not how it should be according to the LSP specification, right?

Could it be that VSCode sees there are no completion options (yet) and just keeps trying?
So if Results: null you just assume there was not enough info to provide completion yet, so try again later (e.g. after typing some more characters).
So it would be a separate path from the isIncomplete=true.

I think VSCode seems to just ignore such a situation.
https://github.com/microsoft/vscode/blob/main/src/vs/editor/contrib/suggest/suggest.ts#L214

but then where do those new requests come from?

I don't know at the moment. I want to know it.
Could you provide VSCode extension repo...?

I didn't want to know the server but VSCode extension, I want.
Hmm... I can't read the all of VSCode implementation...
I will investigate it more deeply but I don't know if I get the root cause or not, Sorry.

Even if I set it to 7 chars. it still returns null the first time. Maybe this is just a bug in the server which is hidden by either a bug in VScode or by the behaviour of the extension.

Probably, I understood it.
It's compe's bug.
I will fix it but it's dfficult so take a time.

Thanks. Let me know if you need me to test something.

@zegervdv Ah. Sorry. I think this problem should be solved in latest master.


Updates to code coverage script

Rather than having the same codeCoverage script copied (with very minor tweaks) in each repo, we are opting to have the CodeCoverage repo install the codeCoverage.sh script to /usr/local/probe/bin, and then you can invoke that script from the top level directory of whatever C++ repo you want code coverage info for. Each repo will have a mini script called scripts/unitTestRunner.sh that will have the special instructions on running the executable build/UnitTestRunner if necessary.

👍  @john-gress, @shwetabhandare please review

👍


Allow NetworkLoader to be configured with support for proxied requests

Hey there 👋
Currently it’s not possible to configure premailer-rails to proxy requests that NetworkLoader makes when fetching remote CSS, leading us to have to use monkey-patching like the following in order for Premailer to work;
# config/initializers/premailer_rails.rb

Premailer::Rails.config.merge!(
  # Snip!
  network_proxy_host: ENV['egress_proxy_host'],
  network_proxy_port: ENV['egress_proxy_port'],
)

class Premailer
  module Rails
    module CSSLoaders
      module NetworkLoader
        def load(url)
          uri = uri_for_url(url)

          if uri.present?
            request = Net::HTTP.new(uri.host, uri.port, Rails.config[:network_proxy_host], Rails.config[:network_proxy_port])
            request.use_ssl = uri.scheme == 'https'
            response = request.get(uri.request_uri)
            response.body
          end
        end
      end
    end
  end
end

It’d be pretty awesome to have premailer-rails take care of this for us though, allowing us to remove this monkey-patch — I believe the code above should pretty much work as is if you’re interested in making this change.
Thanks 🙃

I have a similar monkey patch for ignoring a self-signed certificate in development.
Perhaps it would be better to use a "downloader proc" instead of providing individual parameters.
Something like this:
def load(url)
  uri = uri_for_url(url) || return
  downloader = Rails.config[:network_downloader] || ->(uri) { Net::HTTP.get(uri) }
  downloader.call(uri)
end

Premailer::Rails.config.merge!(
  # With SSL options:
  network_downloader: lambda do |uri|
    Net::HTTP.start(
        uri.host, uri.port,
        use_ssl: uri.scheme == 'https',
        verify_mode: OpenSSL::SSL::VERIFY_NONE) do |https|
      https.request(req)
    end
  end,

  # With proxy:
  network_downloader: lambda do |uri|
    request = Net::HTTP.new(uri.host, uri.port, ENV['egress_proxy_host'], ENV['egress_proxy_port'])
    request.use_ssl = uri.scheme == 'https'
    response = request.get(uri.request_uri)
    response.body
  end
)

Not going to support this. But you have a working solution 😊 🐒🩹


Add MySQL-specific character for like escapes

Description
Adds \ as the "like escape character" for MySQLi driver.
This would fix https://github.com/codeigniter4/CodeIgniter4/issues/2210 but I'm curious if it would break other things.
Checklist:

[X] Securely signed commits
[X] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[X] Conforms to style guide

It looks like this does indeed break travis-ci, for Database/Live/LikeTest

Yes, I think this is not the correct way to handle this.


Thumbnail images are broken for large zoom values

STR: open the viewer#zoom=500, wait for the first page to render completely, then open the thumbnail bar.

Windows & Linux, FF34 & 37.

This is a regression from PR #4834.
/cc @dferer


improve error output formatting

The panic stack-traces are an eye-sore.

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #63   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines         712    712
=====================================
  Hits          712    712

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 6135c19...0963c6f. Read the comment docs.

ill take a look at this and merge in tonight, thanks for submitting!

I also got rid of that stuff function. Should be a separate PR, but w/e.


couple questions

Discount codes on individual products?
Quantity unlimited for a set product?
way to modify it to a membership payment system?

@RomanFire You can add many discount codes with different discount value, but for individual products is not supported.
Quantity unlimited is not supported.
You are free to modify this.


Some help menu items should be view menu items

The Help menu has "Welcome" and "Toggle Developer Tools". Those should be in the View menu.

No, no, no, it has absolutely noting to do with icons and absolutely nothing about window sizes and nothing about menu items in general. Oh, sorry; I see those suggestions were posted by a bot.
Sure, it is working as designed, but the design is flawed. I am saying that if I wanted to find tools such as Developer Tools and a Process Explorer then I would not look in the Help menu. I might look at the documentation but not the help menu items. Probably there should be a Tools menu. The original Visual Studio has an enormous list of items in the view menu and it has a Tools menu.
So was this closed by software without any human looking at it? That is why I get the feeling that the person did not even think about what I was saying. A real person would understand my original post.
The menu item to show the "Welcome" page should be in the View menu.


Issue with uploading transparent model

Hi! I am fairly new to code and 3D models, I am working on a project and was having trouble uploding a file via model viewer. I an using Blender and when exporting the model as a .glb, and then using this model on Github via model viewer, the component of the mesh which is supposed to be transparent is showing up as opaque. I have added an image of how the model is supposed to look like and how it actually looks like when uploaded. I have also included the code I used to upload the model. The model is two separate models appended together with the transparent portion using Alpha blend using Blender 2.82a. Thank you for any help/input!
How I want it to look like:

How it actually looks like:

Code Used:

<model-viewer
 alt="Model of Liver vasculature"
     src="Veinswithtranslucentouter1.glb"
	 style="width: 100%; height: 800px;"
	 preload
	 reveal-when-loaded
	 auto-rotate
	 camera-controls
 shadow-intensity="1"
></model-viewer>

Version
Browser Affected

[yes] Chrome
[ ] Edge
[ ] Firefox
[ ] IE
[ ] Safari

OS

[ ] Android
[ ] iOS
[ ] Linux
[yes ] MacOS
[ ] Windows

This looks like a glb export issue, unless you get different results with another viewer like https://gltf-viewer.donmccurdy.com/. I don't know Blender well enough to help much here, so I'd check with their forum. Also make sure you're on the latest version, as many of these glb exporters are in flux with bugs being fixed regularly.


"Not Found" + warnings on npm start (on develop branch)

Coucou,
Here is what I did:
git clone https://github.com/openwhyd/openwhyd-react
cd openwhyd-react
git checkout develop
git pull
npm i
npm start

Here is what I got on http://localhost:3000:
Not Found (with http code 200)
And what I got in the console:
Compiled with warnings.

Warning in ./src/containers/App.js

/Users/adrienjoly/Dev/_clients/openwhyd/openwhyd-react/src/containers/App.js
  14:3  warning  Useless constructor  no-useless-constructor

✖ 1 problem (0 errors, 1 warning)

Warning in ./src/containers/SignIn.js

/Users/adrienjoly/Dev/_clients/openwhyd/openwhyd-react/src/containers/SignIn.js
  1:17  warning  'Component' is defined but never used       no-unused-vars
  7:17  warning  'facebook_login' is defined but never used  no-unused-vars

✖ 2 problems (0 errors, 2 warnings)

Warning in ./src/containers/Mobile.js

/Users/adrienjoly/Dev/_clients/openwhyd/openwhyd-react/src/containers/Mobile.js
  19:3  warning  Useless constructor  no-useless-constructor

✖ 1 problem (0 errors, 1 warning)

Warning in ./src/actions/api/login.js

/Users/adrienjoly/Dev/_clients/openwhyd/openwhyd-react/src/actions/api/login.js
  12:3  warning  The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype  guard-for-in

✖ 1 problem (0 errors, 1 warning)

Warning in ./src/components/Playlist.js

/Users/adrienjoly/Dev/_clients/openwhyd/openwhyd-react/src/components/Playlist.js
  1:17  warning  'Component' is defined but never used  no-unused-vars

✖ 1 problem (0 errors, 1 warning)

Warning in ./src/components/Track.js

/Users/adrienjoly/Dev/_clients/openwhyd/openwhyd-react/src/components/Track.js
  16:7  warning  Expected an object to be thrown  no-throw-literal

✖ 1 problem (0 errors, 1 warning)

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

Did I do anything wrong?

See https://github.com/openwhyd/openwhyd-react/pull/3 for Docker development setup

using docker solves this issue.

While testing PR #10 (develop branch) locally, I realised that the Dockerfile proposed on PR #3 does actually not solve the problem. I'm still getting the same "problems" in stdout, and a Not Found page at /.

It seems that getting "Not found" on / is normal. The router doesn't define anything for this route.
Warning are, well, warnings. It's probably ok to ignore them.

Thanks for your reply, @mauricesvay.
During our call, @SkinyMonkey told me that this repo was actually abandoned. => He re-started from scratch, in a new repository, as explained there: https://github.com/openwhyd/openwhyd/issues/109#issuecomment-341988614
I'm waiting for his approval to delete this repository, and maybe initiate a collaborative effort to plug his front-end onto Openwhyd's current back-end.

I think we can remove this repository safely.
There's not much in it anyway.
I'll keep a local copy just in case. You can do the same if you want.
On Sun, Nov 5, 2017 at 12:57 PM, Adrien Joly<EMAIL_ADDRESS>wrote:

Thanks for your reply, @mauricesvay https://github.com/mauricesvay.
During our call, @SkinyMonkey https://github.com/skinymonkey told me
that this repo was actually abandoned. => He re-started from scratch, in a
new repository, as explained there: openwhyd/openwhyd#109 (comment)
https://github.com/openwhyd/openwhyd/issues/109#issuecomment-341988614
I'm waiting for his approval to delete this repository, and maybe initiate
a collaborative effort to plug his front-end onto Openwhyd's current
back-end.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openwhyd/openwhyd-react/issues/1#issuecomment-341992077,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAO2RIay4Unovk4VuLnfPmiRAC0ta4Msks5szfb5gaJpZM4Kk4-3
.

--
Adrien Candiotti
login : candio_a
epitech 2013 - astek - koala

I think I'll keep it opened, in order to not break hyperlinks to its issues.
Whenever we are ready, I can overwrite (git hard push) its source code.
Instead:

I removed the the URL of this repo from this issue's title: https://github.com/openwhyd/openwhyd/issues/109
I updated the repo's description, to route back to that issue