Mangafox not working

It downloads but there are no images.

Hi @Rishabh4275 can you please elaborate on what you are seeing and under what conditions you are seeing this? What OS/Python version/Branch/Commit are you using? Is there any exception being printed to the console?
Also, if you could provide the test case with which you are having problems that would help document the issue better.
I haven't checked this into full detail, but I tried with Chapter 670 of Bleach and I'm seeing long download times; I'm also getting an exception saying that manga_downloader couldn't download the images, so I'm guessing the download is timing out.
It is worth mentioning that in MangaFox's forums it looks like even when using their web interface people are having problems with loading images.
Here's an example of a chapter breaking on their site

After taking a deeper look at this I can confirm that while Mangafox is indeed experiencing problems with loading images in some chapters and some mangas, for valid chapters and valid mangas (that is, those that do load on their website) manga_downloader is not downloading the images, and in fact, trying to fetch the images is timing out.
This has to do with the way we are looking in the HTML source code of the page for the image URL. We use regex to parse and look for it, and it looks like the pattern for the mangafox.py plugin is no longer valid.
The current pattern we have for Mangafox is:
re_getImage = re.compile('"> of the a tag and the < of the img tag:

Loading...

This should be marked as a BUG, and I have a solution ready, I'll be submitting a Pull Request to fix this.


Add missing character and clarify meaning in dominoes-30k

Just a small typo I noticed when reading the documentation!

Thanks!


Remove optional fields when creating a default Parameter table

IP does not have a clear notion for generating required vs. optional default parameters when creating a Parameter table from IP's drop down menu item. IP should be filtered through to differentiate this. Right now, IP can get this type information when pulling information from Strateos's API by looking at the presence of a “required” field (https://developers.transcriptic.com/docs/input-types).  From here, IP should be updated so only required information are set when creating default parameter table. Users can then add in optional fields to their parameter table after the creation of the table.

Consider also two other alternatives:

Adding them as options in the creation dialogue
Adding them in, but with a default value of "optional" (or similar marking), and the user can then delete the row or leave it blank if they wish.

Implementation is setup to go off of alternative 1.

Consider also two other alternatives:

Adding them as options in the creation dialogue


Frozen core + Large Basis

@lweisburn and I have witnessed cases where using both frozen core and large basis can sometimes unexpected behavior in the initialization step. This issue serves a reminder to investigate what the core issue is, update this issue, and (hopefully) submit a fix

can you check if the same behavior is true for kbe? maybe also compare to the kbe_devel version if we missed out something?

@oimeitei Yes -- we will check both when we get a chance to look at this!


Test failure in TestZeto_AnonNullifierBatch

What happened?
2024-12-13T17:45:57.9114482Z time="2024-12-13T17:45:57.806Z" level=info msg="RPC[000000043] <-- pstate_queryContractNullifiers [200] OK (1.00ms)"
2024-12-13T17:45:57.9115871Z     e2e_test.go:182:
2024-12-13T17:45:57.9117760Z         	Error Trace:	/home/runner/work/paladin/paladin/domains/zeto/integration-test/e2e_test.go:182
2024-12-13T17:45:57.9120324Z         	            				/home/runner/work/paladin/paladin/domains/zeto/integration-test/e2e_test.go:108
2024-12-13T17:45:57.9122195Z         	Error:      	"[0xc000133ea0 0xc001066000 0xc001066070 0xc0010660e0]" should have 3 item(s), but has 4
2024-12-13T17:45:57.9123579Z         	Test:       	TestZetoDomainTestSuite/TestZeto_AnonNullifierBatch

What did you expect to happen?
Test should pass
How can we reproduce it (as minimally and precisely as possible)?
https://github.com/LF-Decentralized-Trust-labs/paladin/actions/runs/12320386661/job/34389518381?pr=479
Anything else we need to know?
No response
OS version
No response

Dup of #410


Try and match one login user to id user based on email and TRN

Context
When we migrate from ID to One Login and ‘Teacher auth’ for AYTQ, users will have to set up a new account. For those who were not matched automatically in ID and had to raise a support ticket there’s a fair chance they will have the same problem with Teacher auth. We’d like to relax the matching rules slightly for users who are coming from ID to reduce the chances of them needing to raise another support ticket.
Changes proposed in this pull request
Modify the matching process in Teacher Auth to look for an existing user in ID that has the same email address as the One Login user and a TRN linked to their account with verification level Medium. If there is a match, check that the verified last name and DOB match the last name and DOB on the teaching record linked to the ID TRN. If they match, assign the TRN to the Teacher Auth user.
Note there is very similar logic in place for working with TRN tokens today; this can likely be extended to cover the scenario above.
Checklist

[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Relax matching rules for users migrating from ID


Pull Request on GitHub

[x] Deal with too many commits in a pull request?
[ ] Force push?
[ ] Rebase?
[ ] Cherry-pick?
[ ] Squash?
[ ] Backend + frontend code in same feature branch or separate ones?

Deal with too many commits in a pull request
Used to squash commits in your local repo and force push to update the pull request.
Recently GitHub supports auto squash commits when merge a pull request.

Force push

Rebase

Cherry-pick

Squash

Backend + frontend code in same feature branch or separate ones?
Ideal they should be in same feature branch. But if there are limitations on the technology then you can use separated branches.

Resolve merge conflicts
GitHub supports resolve simple merge conflicts since Dec 2016.
Resolve simple merge conflicts on GitHub


HA_temperature_sensor - fails to join network (ConBee II) - with fix (TZ-965)

Answers checklist.

[X] I have read the documentation ESP Zigbee SDK Programming Guide and tried the debugging tips, the issue is not addressed there.
[X] I have updated ESP Zigbee libs (esp-zboss-lib and esp-zigbee-lib) to the latest version, with corresponding IDF version, and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.3-beta2
esp-zigbee-lib version.
1.3.2
esp-zboss-lib version.
1.3.2
Espressif SoC revision.
ESP32-H6
What is the expected behavior?
HA_temperature_sensor sample would be discoverable & fully join to an ConBee II coordinator
What is the actual behavior?
Failed to join ConBee II coordinator
Steps to reproduce.

Build HA_temperature_sensor sample
Try to join ConBee II network
Notice it fails to join correctly

More Information.
I believe this failure occurs because this line should be:
#define MODEL_IDENTIFIER                "\x07"CONFIG_IDF_TARGET

As CONFIG_IDF_TARGET when using an esp32c6 is 7 characters.
Changing this allows the ESP32 to join the ConBee II network.
Further to this issue however, even if the ESP32 successfully joins the network I note it is not fully recognized. I had this issue with the HA_on_off_switch sample also, but following the discussion here I was able to get the ESP32 to be recognized & controllable from the Phoscon App.
I realize there is an issue in the Zigbee ecosystem of interoperability but has anyone been able to get this sample fully recognized by a Zigbee coordinator (other than another ESP32)?
Many thanks

Further to this I tried mimicking a temperature sensor that is known to the ConBee II but without success. I was using:
// @ref: https://dresden-elektronik.github.io/deconz-rest-doc/devices/computime-salus/ss909zb_temp_sensor/
char modelid[] = {9, 'C', 'O', 'M', 'P', 'U', 'T', 'I', 'M', 'E'};
char manufname[] = {7, 'S', 'S', '9', '0', '9', 'Z', 'B'};

I see in the attributes a number that are not implemented by the sample code & I wonder if this is the issue?

@OOHehir ，
Based on the above description, it appears that the failure is related to the string content of model_identifier. If the following code is used, can the ESP32H2 be recognized by the ConBee II?
char modelid[] = {9, 'H', 'L', 'Q', 'D', 'Q', '0', '1', 'L', 'M'};
char manufname[] = {9, 'E', 'S', 'P', 'R', 'E', 'S', 'S', 'I', 'F''};

@xieqinan Thanks for the response. I've updated to commit 81ade242 of the SDK.  Unfortunately no improvement, the device joins the network:
I (166398) ESP_ZB_TEMP_SENSOR: Joined network successfully (Extended PAN ID: 00:21:2e:ff:ff:09:d2:20, PAN ID: 0x4b51, Channel:15, Short Address: 0xc787)

But seems to not to be fully recognized (Not visible in the Phoscon App). I've a Sonoff temperature sensor & notice that they have a 'Power Configuration' cluster. Perhaps that is required to 'fully join' the network?

@OOHehir,
I believe this is an ecological compatibility issue. We need to determine how the ConBee II recognizes the device. Is it based on the clusters residing on the device or the manufacturer code and model identifier? Could you try using an ESP32C6 device to simulate the Sonoff temperature sensor & notice device, including the carried clusters, manufacturer code, and model identifier, and then enable the device to join the ConBee II network? If the esp-zigbee-sdk lacks some APIs to accomplish this, please feel free to let us know.


Add: Radio Beverwijk [NL]

Channel Name
Radio Beverwijk
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
NL
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/NL
Languages
Nld
Categories (optional)
General
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
http://www.radiobeverwijk.nl/
Logo
https://dlprizi2qtumd.cloudfront.net/images/stations/radio-beverwijk-cover.png
Notes
No response

Man I know. But this radio have a TV version. All Radios I suggest to add have a TV version.

The only video stream I could find from the link you cited broadcasts security camera footage:


Load all publication details from Canto into Chado

For #67 will we need all the publication triage information from Canto.
See pombase/canto#1207

The triage status should be in the next load.  That's what we need soonest.


Fix for the now deprecated brower option parameter

The browser option parameter f'{driver_name}_options' has been deprecated in Selenium 3.8.0.
Browser option parameters are now standardized across drivers as options. firefox_options, chrome_options, and ie_options are now deprecated.

Yes but unfortunately it looks like this repo is no longer being maintained.
I would be happy to share a few more improvements/fixes but I don't think it's worth the effort as long as we don't know about the becoming of this project.

Hey @zacharyarnaise I would like to have this change packaged into a library ,and hosted on a repo, so that I could build  it from there. Would it be possible for you to do that?

I wouldn't mind, what dependency/packaging management tool are you using?
I know for instance that Poetry allows one to add git dependencies, it might be easier than hosting my repo for such a small change.

@zacharyarnaise I wouldn't mind anything, as long as there are instructions that tell me how to do it. However I would prefer pip. To give an idea ,I am using a conda virtual environment ,and use both pip and conda commands for pulling modules. Recently I tried building from repo by doing "pip install https://github.com/user/repo.git@branch"


Uncaught AssertionError [ERR_ASSERTION]: 5389 == 0

[Enter steps to reproduce:]

...
...

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught AssertionError [ERR_ASSERTION]: 5389 == 0
At assert.js:42

AssertionError [ERR_ASSERTION]: 5389 == 0
    at ClientRequest.onConnect (/app.asar/node_modules/tunnel-agent/index.js:160:14)
    at Object.onceWrapper (events.js:319:30)
    at emitThree (events.js:136:13)
    at ClientRequest.emit (events.js:217:7)
    at Socket.socketOnData (_http_client.js:472:11)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at TCP.onread (net.js:594:20)

Commands

Non-Core Packages
git-clone 0.2.0
teletype 0.13.3

Just found https://github.com/atom/atom/issues/14074, going to go ahead and close in favor of that issue if you want to subscribe there.  So if you have specific steps to reproduce, please let us know in https://github.com/atom/atom/issues/14074, thanks again for reporting :v:


no module found on search

closes #286
📑 Description
✅ Checks

[ ✅] I have updated the documentation as required
[ ✅] I have performed a self-review of my code

ℹ Additional context

this has changes of pr 285 also

@AKHIL-DyC  I agree with the proposal, it should be clear that there were no modules found. Can we use this instead of the card?

Can you center it in the middle of the screen? Also, I would remove the button since there already is one in the upper right corner and it might confuse.

@petar-cvit  changes made


Uncaught Error: The specified module could not be found./?\D:\Atom\app-1.40.1\resources\app.as...

[Enter steps to reproduce:]

...
...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\D:\Atom\app-1.40.1\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:166

Error: The specified module could not be found.
\\?\D:\Atom\app-1.40.1\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (D:/Atom/app-1.40.1/resources/app/static/<embedded>:1:714332)
    at get_KeyboardLayoutManager (D:/Atom/app-1.40.1/resources/app/static/<embedded>:14:2747069)
    at get_manager (D:/Atom/app-1.40.1/resources/app/static/<embedded>:14:2747171)
    at Object.getCurrentKeyboardLayout (D:/Atom/app-1.40.1/resources/app/static/<embedded>:14:2747297)
    at e.keystrokeForKeyboardEvent (D:/Atom/app-1.40.1/resources/app/static/<embedded>:14:1087835)
    at KeymapManager.keystrokeForKeyboardEvent (D:/Atom/app-1.40.1/resources/app/static/<embedded>:11:1246932)
    at KeymapManager.handleKeyboardEvent (D:/Atom/app-1.40.1/resources/app/static/<embedded>:11:1244917)
    at WindowEventHandler.handleDocumentKeyEvent (D:/Atom/app-1.40.1/resources/app/static/<embedded>:11:284329)

Commands
     -1:21.6.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -1:17 line-ending-selector:show (atom-text-editor.editor.is-focused)
     -1:14.1.0 go-to-line:toggle (atom-text-editor.editor.is-focused)

Non-Core Packages

Thanks for contributing!
We noticed that this looks like a duplicate of #14461 so you can subscribe there for updates if you'd like.  Also, if you have an anti-virus program running you can try temporarily disabling it and then reinstall Atom to see if that helps.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


ENH: validate method for location code groupings

Issue(s)

#50

_grouping = suggested_complete_grouping
_grouping_code_set = set()
_grouping_code_set.update
[_grouping_code_set.update(grouping["codes"]) for grouping in _grouping["grouping"]]
_grouping_code_set
_expected_set = locationcodes.get_code_set()
_expected_set - _grouping_code_set

From the transport notebook in zoll-foundation-group-project

Closing because the issue this was for was closed as not planned.


Yazi doesn't keep tab info on subsequent openings

Hi, I started using the plugin a couple of days to see how it compares against nvim-tree. I'm still trying to decide...
But I noticed that when I open yazi and create some tabs, then go back to editing and then open yazi again, that the tabs I had created disappear.
I think this may be a limitation of yazi itself, but it would be pretty useful if it could be implemented on the plugin.

I added this comment to the yazi Discord #thoughts channel 2 days ago:

At the moment you can write out CWD to a file on exit. Might be interesting to be able to write out state of yazi on exit as well. Where state is tabs and their CWD, which tab is active.

Maybe add a feature request for yazi?

I don't think this will be in scope for this plugin, sorry.
I know something like rnvimr can just keep an instance of the terminal file manager open, but that's a lot more complicated than this plugin as it doesn't just open a terminal window to display the program but actually uses RPC to communicate with it.
Maybe if yazi does add a way to easily store and reload state, I could add a special condition for it to load it's previous state. Not sure if other terminal file managers have this actually.
As an alternative, have you considered opening yazi as the parent process? So you just have a base yazi instance, and you just edit files from there, hence opening a new neovim instance each time? I see both options are not ideal though.


Mast: Watch chicofactorys(?:@hotmail.com)?

Mast requests the watch of the watch_keyword chicofactorys(?:@hotmail\.com)?. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

chicofactorys(?:@hotmail\.com)? has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Daniil in Charcoal HQ


Create Circle and Arrow and Draw

how to work on arrow ? Inside handleDocumentMousedown this function
var target = (0, _utils.findAnnotationAtPoint)(e.clientX, e.clientY); is returning null?
Please tell me why this is null

HI!
I have a little bit similar question on how to have arrow inside a radar that will show you the nerrest place to you!


Allow for optional source ref refs/heads/tags/vx.x.x

This PR is to address Issue #9.
When an Azure Pipeline run is triggered by a new tag, e.g. v1.2.0, the source ref is displayed as refs/heads/tags/v1.2.0 instead of the expected refs/tags/v1.2.0.  This results in this error.
ERROR: Unsupported source ref 'refs/heads/tags/v1.2.0'

This change updates the regex used to calculate the build version to allow for this unusual pattern.  I added 2 new tests for both milestone and release branches and they pass along with all previous tests.
Here is the output from the npm test command.
▶ npm test

><EMAIL_ADDRESS>test
> mocha --require ts-node/register 'src/**/*.spec.ts'

(node:61784) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

  BuildVersionCalculator tests
Checking commit 20270ef0ff3a2ce8d591a428a901bf4b9ec10011 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from trunk with releases (milestone) @unit
Checking commit 3e1f333dd65991bc69b7cde58bb3c0482a98637c mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from trunk with no releases (milestone) @unit
Checking commit 1a335ee30c9defdefd88687c3bd7bf9c77cd764d mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from feature (milestone) @unit
Checking commit 460ab76c584747e5c4de1cf39c24b53b948f9e81 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ can not strip branch prefix (milestone) @unit
Checking commit b1ff62cb3b1f818b6b1ceebdd3259fc6a71eacce mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ handles multi-part branch names (milestone) @unit
Checking commit 831c39e7f1faa1b9589428c17f8bf6ba560823d9 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from release branch commit with no tags (milestone) @unit
Checking commit 0beccb9060a7f4fe56d0fd544f278d606bdc518f mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from release branch tag (milestone) @unit
Checking commit 3f682b9c8eba67d527a0eb4b7b3d724708a4bfdc mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from release branch tag using refs/heads/tags (milestone) @unit
Checking commit 00cffdd8498c031d8aa3ae3da2f5bb42439b9f08 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from release branch commit with tags (milestone) @unit
Checking commit 616e7f994d632753a5ac6c2f14e282a5b9f4e70c mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ supports configuring the trunk branch name (milestone) @unit
Checking commit 56293069cd2c99d2410e95230209a59bee680dbf mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from trunk with releases (semver) @unit
Checking commit 121e99b3399369a77745a715d36c2f36a797b443 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from trunk with no releases (semver) @unit
Checking commit 0e4470ab8d44c5817cd773b7fff7d468627b343f mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from feature (semver) @unit
Checking commit 1617556b763b53fb17e81b98063ff8b1b3e8a447 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ can not strip branch prefix (semver) @unit
Checking commit<PHONE_NUMBER>f49971d1fd159bacf4f2ab808fe3b8 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ handles multi-part branch names (semver) @unit
Checking commit 4ff8f3868e83b2054d75aaa74eca6366654647d0 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ handles dots in branch names (semver) @unit
Checking commit 671ff0b0f36c053c17dd0e68bee56bb9807ea323 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ removes leading zeroes and empty identifiers in branch names (semver) @unit
Checking commit 79c1f95bb0a49815dc59dc4149184f519334d5a0 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from release branch commit with no tags (semver) @unit
Checking commit 3650b11c9feea59f305caf3318f661167a57615a mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from release branch tag (semver) @unit
Checking commit fc35c81f30c5a3f6530e41b68ae4c1aa4eeb947d mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from release branch tag using refs/heads/tags (semver) @unit
Checking commit 5d2df6cfb59743a20650aa910ff71f0012814dd2 mergeParent 0
Checking commit HEAD mergeParent 0
    ✔ detects correct build from release branch commit with tags (semver) @unit
Checking commit 2318b27abf4cb159827980f2ba04065084f89ae3 mergeParent 0
Checking commit HEAD mergeParent 0
Checking commit 2318b27abf4cb159827980f2ba04065084f89ae3 mergeParent 1
    ✔ increments version when building PR that targets master branch (semver) @unit
Checking commit 2f2d2e816eeddabfac57ffb4a2c96aaeba275b65 mergeParent 0
Checking commit HEAD mergeParent 0
Checking commit 2f2d2e816eeddabfac57ffb4a2c96aaeba275b65 mergeParent 1
    ✔ increments version when building PR that targets release branch (semver) @unit

  ConfigurationReader tests
    ✔ reads a fully-specified YAML configuration (Milestone_full) @unit
    ✔ reads a partially-specified YAML configuration (Milestone_partial) @unit
    ✔ reads a fully-specified YAML configuration (SemVer_full) @unit
    ✔ reads a partially-specified YAML configuration (SemVer_partial) @unit
    ✔ throws for a badly-specified YAML configuration (SemVer_no_strategy) @unit
    ✔ throws for a badly-specified YAML configuration (SemVer_invalid_base_number) @unit
    ✔ throws for an empty YAML configuration (SemVer_empty_file) @unit
    ✔ throws for a badly-specified YAML configuration (SemVer_invalid_strategy) @unit

  GitAbstractionUtils tests
    ✔ getReleaseBranches returns multiple matching branches (milestone) @unit
    ✔ getReleaseBranches supports configurable trunk (milestone) @unit
    ✔ getHighestReachableReleaseBranch returns correct branch from master (milestone) @unit
    ✔ getHighestReachableReleaseBranch returns correct branch from configured trunk (milestone) @unit
    ✔ getHighestReachableReleaseBranch returns correct branch from feature (milestone) @unit
    ✔ getHighestReachableReleaseBranch returns correct branch from master (semver) @unit
    ✔ getHighestReachableReleaseBranch returns correct branch from configured trunk (semver) @unit
    ✔ getHighestReachableReleaseBranch returns correct branch from feature (semver) @unit

  GitPrimitives test
    ✔ show should parse a command-line response correctly @unit
    ✔ should parse branches @unit
    ✔ should parse tags @unit
    ✔ should parse attached HEAD @unit
    ✔ should parse detached HEAD @unit
    ✔ log should parse multiple log entries @unit
    ✔ commitsCount should return count @unit
    ✔ listBranches should return an array of branches @unit
    ✔ isAncestor should return true if return code is zero
    ✔ isAncestor should return false if return code is non-zero
    ✔ getTaggedCommitsOnBranch should return the commit

  MilestoneVersioningStrategy tests
    ✔ parseReleaseNumber should parse a valid one-part release number @unit
    ✔ parseReleaseNumber should return null for an invalid (two-part) release number @unit
    ✔ parseReleaseNumber should return null for an invalid (bad prefix) release number @unit
    ✔ parseReleaseNumber should respect the prefix in options @unit
    ✔ parseReleaseNumber should handle an empty prefix in options @unit
    ✔ releaseBranchNumberRegex matches 'R1' as true
    ✔ releaseBranchNumberRegex matches 'R102' as true
    ✔ releaseBranchNumberRegex matches 'R0' as false
    ✔ releaseBranchNumberRegex matches '' as false
    ✔ releaseBranchNumberRegex matches 'R' as false
    ✔ releaseBranchNumberRegex matches 'R05' as false
    ✔ releaseBranchNumberRegex matches 'R1.2' as false
    ✔ releaseBranchNumberRegex matches 'R1,000' as false
    ✔ releaseBranchNumberRegex matches 'M1' as false
    ✔ tryParseVersionSourceFromTag matches 'v0.0' as true
    ✔ tryParseVersionSourceFromTag matches 'v0.1' as true
    ✔ tryParseVersionSourceFromTag matches 'v102.10' as true
    ✔ tryParseVersionSourceFromTag matches 'v0.0.0' as true
    ✔ tryParseVersionSourceFromTag matches 'v1.1.1' as true
    ✔ tryParseVersionSourceFromTag matches '' as false
    ✔ tryParseVersionSourceFromTag matches 'v' as false
    ✔ tryParseVersionSourceFromTag matches 'v1' as false
    ✔ tryParseVersionSourceFromTag matches 'v1.' as false
    ✔ tryParseVersionSourceFromTag matches 'v1.1.' as false
    ✔ tryParseVersionSourceFromTag matches '1' as false
    ✔ tryParseVersionSourceFromTag matches '001.0' as false
    ✔ tryParseVersionSourceFromTag matches '123.01' as false

  SemVerVersioningStrategy tests
    ✔ parseReleaseNumber should parse a valid one-part release number @unit
    ✔ parseReleaseNumber should return null for an invalid one-part release number (leading zero) @unit
    ✔ parseReleaseNumber should parse a valid two-part release number @unit
    ✔ parseReleaseNumber should return null for an invalid two-part release number (leading zero) @unit
    ✔ releaseBranchNumberRegex matches '1.0' as true
    ✔ releaseBranchNumberRegex matches '0.1' as true
    ✔ releaseBranchNumberRegex matches '1' as true
    ✔ releaseBranchNumberRegex matches '0' as true
    ✔ releaseBranchNumberRegex matches '0.0' as true
    ✔ releaseBranchNumberRegex matches '5.250' as true
    ✔ releaseBranchNumberRegex matches '' as false
    ✔ releaseBranchNumberRegex matches '05.2' as false
    ✔ releaseBranchNumberRegex matches '1.02' as false
    ✔ releaseVersionRegex matches 'v0.0.0' as true
    ✔ releaseVersionRegex matches 'v1.0.0' as true
    ✔ releaseVersionRegex matches 'v0.1.0' as true
    ✔ releaseVersionRegex matches 'v12.13.14' as true
    ✔ releaseVersionRegex matches 'v1' as false
    ✔ releaseVersionRegex matches 'v1.' as false
    ✔ releaseVersionRegex matches 'v1.0' as false
    ✔ releaseVersionRegex matches 'v1.0.' as false
    ✔ releaseVersionRegex matches 'v00.00.00' as false
    ✔ releaseVersionRegex matches 'v01.0.0' as false
    ✔ releaseVersionRegex matches 'v0.01.0' as false
    ✔ releaseVersionRegex matches 'v0.0.01' as false
    ✔ releaseVersionRegex matches 'v00.00.00' as false

  103 passing (72ms)

Fixes #9


[Bug]: Webserver settings not properly saved/derived if chosen web instance bound to single interface

Contact Details
<EMAIL_ADDRESS>What happened?
This Chromecast adapter has 1 or 2 drop configuration down values regarding web instances:

Web instance : Mandatory. This is the actual instance number (eg. web.0, web.1, etc).
Web server IP : Optional. This is only shown if the chosen web instance is bound to all interfaces.

I recently re-configured our IoB web instances to only listen on a single interface (good security practice).
What this means is that the Web server IP configuration option disappears and a null value is stored for adapter.config.webServer setting.
As a result, trying to play local files (by setting the appropriate state) causes the error messages, 'Sorry, cannot play file', 'Please configure webserver settings first!' to be logged.
Adapter Version
3.1.0
JS-Controller Version
4.0.23
Node JS Version
v16.17.1
NPM Version
8.15.0
Operating System
Debian
Relevant log output
2022-12-24 19:29:41.066  - error: chromecast.0 (8597) Nest_Mini- Sorry, cannot play file "/some/file/here.mp3"
2022-12-24 19:29:41.067  - error: chromecast.0 (8597) Nest_Mini- Please configure webserver settings first!

### Anything else?

_No response_

As an FYI, a workaround is:

Configure the required web instance to listen on all interfaces.
Configure the Chromecast adapter to use the required web instance. As the web instance is not using a single interface, the Web server IP option will be shown and the required address can be chosen.
Return to the web instance configuration and change to only listen on the required interface.

While this works, it shows a rather nasty problem that occurs when one adapter is reliant on another. There should be a more defined API/interface in place for configuration of such dependencies.

@GermanBluefox ... I will fix this after #103 is merged.

you just closed my ticket and marked it as a duplicate, but your workaround for me is not working because:

2. Configure the Chromecast adapter to use the required web instance. As the web instance is not using a single interface, the Web server IP option will be shown and the required address can be chosen.

My issue is I actually cannot change my adress

For the record, this mechanism is rather clumsy because if one re-configures their web adapter interface settings it may mean that any Chromecast adapter using that will stop working until it too is re-configured.
A slightly nicer way might be to remove the IP address option from the Chromecast adapter and have it work out the address to use by looking at web adapater and Chromecast device subnets (or some other logic?).


fix: remove deprecated key crash properties

BREAKING CHANGE: isSubBucket, isSubKeyedStack, and subKeyDepth have been removed from KeyCrashPageData

:tada: This PR is included in version 7.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Set-UserPhoto not availablle in ExchangeOnlineManagent 2.0.6

Hi,
It looks like Set-UserPhoto cmdlet became unavailable in the PowerShell module ExchangeOnlineManagement 2.0.6

However. it does  appear in ExchangeOnlineManagement 2.0.5

Just wondering if you can get in touch with the concerned team regarding this issue?
Thanks in advance,
Yuriy

@YuriySamorodov, if you use v2.0.6 to connect without using the -UseRPSSession switch, they you are using the short list of ~250 REST API backed cmdlets as described here:
https://docs.microsoft.com/powershell/exchange/exchange-online-powershell-v2#updates-for-version-206
It would appear that Get/Set-UserPhoto is not supported in REST API only mode (yet).
If your Connect-ExchangeOnline command includes -UseRPSSession, the Get/Set-UserPhoto cmdlets should be available.


Add DeepBlueCLI

"a PowerShell Module for Threat Hunting via Windows Event Logs" https://github.com/sans-blue-team/DeepBlueCLI

Thank you for your feedback! We've been working on major updates to FLARE VM over the last year.
The now revamped FLARE VM has just been released and will make the project more open and maintainable.
Please check out our blog post at https://www.mandiant.com/resources/blog/flarevm-open-to-public and give the new installation a try.
If this problem still persists with the new installation, please report:

new tools or tool-related issues at https://github.com/mandiant/VM-Packages/issues
ideas and issues related to the installer script and configuration at https://github.com/mandiant/flare-vm/issues

Please note that we use this message to close all legacy issues in this repository. We look forward to your feedback and support for the next generation of FLARE VM.


Critical issue with decimal precision

My requirement is to have a precision of two. But when i type any number, first decimal value is filled.
eg: if i type 54 then it shows like 0.54 instead of 54.00, if i type 545 it appears as 5.45 instead of 545.00
My suggestion is user should be able to input dot at their wish. Also need to have limit for max number to be entered

Facing the same issue. Its behavior should not work like this.

Hi. It's not an issue. Your requirement is different from how this mask works.

Hi , Can you provide the solution according to my requirement. Because  I have tried the solution it is not working.
From: César Mendonça<EMAIL_ADDRESS>Sent: Wednesday, March 07, 2018 7:33 PM
To: cesarrew/ng2-currency-mask<EMAIL_ADDRESS>Cc: msaqib09<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [cesarrew/ng2-currency-mask] Critical issue with decimal precision (#93)
Hi. It's not an issue. Your requirement is different from how this mask works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/cesarrew/ng2-currency-mask/issues/93#issuecomment-371154101 , or mute the thread https://github.com/notifications/unsubscribe-auth/AhgHqlx0OOJYB6-0VSIkhYncEOWYcBpbks5tb-3bgaJpZM4SZzgS .  https://github.com/notifications/beacon/AhgHqtU5K08IUwKoAkGn8axKcRbSoLepks5tb-3bgaJpZM4SZzgS.gif
Please see NETSOL's email Disclaimer and Warning at http://www.netsoltech.com/emaildisclaimer.php

@cesarrew  I think this is an issue. Basically if i type 54 then it should come as 54.00 and not 0.54 and if i try 444 it should come as 444.00 not as 4.44.

I as well would like to see a solution to this.

This behaviour should be configurable.

@ge0rgecz have you found any alternative to this component? I will also drop this component if anything better is out there.

@ge0rgecz  I would also be interested in an alternative component due to this issue which seems to stick.

Alternative for this component is standard CurrencyPipe from @angular/common. You can use this pipe on input field value too. Its good enough for my purposes. https://stackoverflow.com/questions/48321610/angular-4-how-to-use-currency-pipe-in-input-type

The precision setting needs work? Anyone was able to get around this problem?
The text-mask plugin suggested above does not have auto unmasking. You will have to manually unmask each input element, which is not a great option.
https://github.com/text-mask/text-mask/tree/master/angular2#unmasking-the-value-that-is-stored-in-the-model
https://github.com/text-mask/text-mask/issues/109

Did someone solve it?

My requirement is to have a precision of two. But when i type any number, first decimal value is filled.
eg: if i type 54 then it shows like 0.54 instead of 54.00, if i type 545 it appears as 5.45 instead of 545.00
My suggestion is user should be able to input dot at their wish. Also need to have limit for max number to be entered

Please Anyone Got solution for above raised point..

We need two files as below directive and pipe
DIRECTIVE  - my-currency-formatter.directive.ts
Pipe - my-currency.pipe.ts
import { Directive, HostListener, ElementRef, OnInit, Input, Renderer2, forwardRef } from '@angular/core';
import { MyCurrencyPipe } from '../pipes/my-currency.pipe';
import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';
const noop = () => { };
export const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => MyCurrencyDirective),
multi: true
};
@Directive({
selector: '[MyCurrencyFormatter]',
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR]
})
export class MyCurrencyDirective implements OnInit, ControlValueAccessor {
private el: HTMLInputElement;
// Keeps track of the value without formatting
private innerValue: any;
// Optional Parameter to allow for negative number interaction
@Input('allowNegative') allowNegative: boolean;
@Input('prefix') public prefix: any;
@Input('fractionSize') public fractionSize: any;
keyDownCount: number = 0;
constructor(
    private elementRef: ElementRef,
    private renderer: Renderer2,
    private formatcurrencypipe: MyCurrencyPipe,
) {
    this.el = this.elementRef.nativeElement;
}

// Placeholders for the callbacks which are later providesd
// by the Control Value Accessor
private onTouchedCallback: () => void = noop;
private onChangeCallback: (a: any) => void = noop;

// set getter
get value(): any {
    return this.innerValue;
}

// set accessor including call the onchange callback
set value(v: any) {
    if (v !== this.innerValue) {
        this.innerValue = v;
        this.onChangeCallback(v);
    }
}

// From ControlValueAccessor interface
writeValue(value: any) {
    if (value !== this.innerValue) {
        this.el.value = this.formatcurrencypipe.transform(value, this.fractionSize, this.prefix);
        this.innerValue = value;
    }
}

// From ControlValueAccessor interface
registerOnChange(fn: any) {
    this.onChangeCallback = fn;
}

// From ControlValueAccessor interface
registerOnTouched(fn: any) {
    this.onTouchedCallback = fn;
}

// On Focus remove all non-digit or decimal separator values
@HostListener('focus', ['$event.target.value'])
onfocus(value) {
    this.el.value = this.formatcurrencypipe.transform(this.el.value, this.fractionSize, this.prefix);
    this.el.value = this.formatcurrencypipe.parse(value, this.fractionSize, this.prefix);
}

// // On Blue remove all symbols except last . and set to currency format
@HostListener('blur', ['$event.target.value'])
onblur(value) {
    this.onTouchedCallback();
    this.el.value = this.formatcurrencypipe.transform(this.el.value, this.fractionSize, this.prefix);
    this.onChangeCallback(this.formatcurrencypipe.parse(this.el.value, this.fractionSize, this.prefix));
}

ngOnInit() {
    // this.el.value = this.formatcurrencypipe.parse(this.el.value, this.fractionSize, this.prefix);
    this.onChangeCallback(this.formatcurrencypipe.parse(this.el.value, this.fractionSize, this.prefix));
}

@HostListener('keyup', ['$event']) onkeyup(event) {
    this.onChangeCallback(this.formatcurrencypipe.parse(event.target.value, this.fractionSize, this.prefix));
    this.keyUp();
}

keyUp() {
    let e = <KeyboardEvent>event;
    if ([46, 8, 9, 27, 13, 110, 190].indexOf(e.keyCode) !== -1 ||
        // Allow: Ctrl+A
        (e.keyCode === 65 && (e.ctrlKey || e.metaKey)) ||
        // Allow: Ctrl+C
        (e.keyCode === 67 && (e.ctrlKey || e.metaKey)) ||
        // Allow: Ctrl+V
        (e.keyCode === 86 && (e.ctrlKey || e.metaKey)) ||
        // Allow: Ctrl+X
        (e.keyCode === 88 && (e.ctrlKey || e.metaKey)) ||
        // Allow: home, end, left, right
        (e.keyCode >= 35 && e.keyCode <= 39)) {
        // let it happen, don't do anything
        return;
    }
    // Ensure that it is a number and stop the keypress
    if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
        e.preventDefault();

    }
}

}
my-currency.pipe.ts
import { Pipe, PipeTransform } from '@angular/core';
const padding = "000000";
@Pipe({
name: 'myCurrency'
})
export class MyCurrencyPipe implements PipeTransform {
// private prefix: string;
private decimal_separator: string;
private thousands_separator: string;
private suffix: string;
constructor() {
// this.prefix='';
this.suffix = '';
this.decimal_separator = '.';
this.thousands_separator = ',';
}
transform(value: string, fractionSize: number = 2, prefix: string = ''): string {
if (parseFloat(value) % 1 != 0) {
  fractionSize = 2;
}
let [integer, fraction = ""] = (parseFloat(value).toString() || "").toString().split(".");

fraction = fractionSize > 0
  ? this.decimal_separator + (fraction + padding).substring(0, fractionSize) : "";
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.thousands_separator);
if (isNaN(parseFloat(integer))) {
  integer = "0";
}
return prefix + integer + fraction + this.suffix;

}
parse(value: string, fractionSize: number = 2, prefix: string = ''): string {
let [integer, fraction = ""] = (value || "").replace(prefix, "")
.replace(this.suffix, "")
.split(this.decimal_separator);
integer = integer.replace(new RegExp(this.thousands_separator, "g"), "");

fraction = parseInt(fraction, 10) > 0 && fractionSize > 0
  ? this.decimal_separator + (fraction + padding).substring(0, fractionSize)
  : "";

return integer + fraction;

}
}
In TEMPLATE we can use as
<input type="text"  MyCurrencyFormatter fractionSize="2" prefix="$"   />

We need two files as below directive and pipe
DIRECTIVE - my-currency-formatter.directive.ts
Pipe - my-currency.pipe.ts

import { Directive, HostListener, ElementRef, OnInit, Input, Renderer2, forwardRef } from '@angular/core';
import { MyCurrencyPipe } from '../pipes/my-currency.pipe';
import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';
const noop = () => { };

export const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => MyCurrencyDirective),
multi: true
};

@directive({
selector: '[MyCurrencyFormatter]',
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR]
})
export class MyCurrencyDirective implements OnInit, ControlValueAccessor {
private el: HTMLInputElement;
// Keeps track of the value without formatting
private innerValue: any;
// Optional Parameter to allow for negative number interaction
@input('allowNegative') allowNegative: boolean;
@input('prefix') public prefix: any;
@input('fractionSize') public fractionSize: any;
keyDownCount: number = 0;

constructor(
    private elementRef: ElementRef,
    private renderer: Renderer2,
    private formatcurrencypipe: MyCurrencyPipe,
) {
    this.el = this.elementRef.nativeElement;
}

// Placeholders for the callbacks which are later providesd
// by the Control Value Accessor
private onTouchedCallback: () => void = noop;
private onChangeCallback: (a: any) => void = noop;

// set getter
get value(): any {
    return this.innerValue;
}

// set accessor including call the onchange callback
set value(v: any) {
    if (v !== this.innerValue) {
        this.innerValue = v;
        this.onChangeCallback(v);
    }
}

// From ControlValueAccessor interface
writeValue(value: any) {
    if (value !== this.innerValue) {
        this.el.value = this.formatcurrencypipe.transform(value, this.fractionSize, this.prefix);
        this.innerValue = value;
    }
}

// From ControlValueAccessor interface
registerOnChange(fn: any) {
    this.onChangeCallback = fn;
}

// From ControlValueAccessor interface
registerOnTouched(fn: any) {
    this.onTouchedCallback = fn;
}

// On Focus remove all non-digit or decimal separator values
@HostListener('focus', ['$event.target.value'])
onfocus(value) {
    this.el.value = this.formatcurrencypipe.transform(this.el.value, this.fractionSize, this.prefix);
    this.el.value = this.formatcurrencypipe.parse(value, this.fractionSize, this.prefix);
}

// // On Blue remove all symbols except last . and set to currency format
@HostListener('blur', ['$event.target.value'])
onblur(value) {
    this.onTouchedCallback();
    this.el.value = this.formatcurrencypipe.transform(this.el.value, this.fractionSize, this.prefix);
    this.onChangeCallback(this.formatcurrencypipe.parse(this.el.value, this.fractionSize, this.prefix));
}

ngOnInit() {
    // this.el.value = this.formatcurrencypipe.parse(this.el.value, this.fractionSize, this.prefix);
    this.onChangeCallback(this.formatcurrencypipe.parse(this.el.value, this.fractionSize, this.prefix));
}

@HostListener('keyup', ['$event']) onkeyup(event) {
    this.onChangeCallback(this.formatcurrencypipe.parse(event.target.value, this.fractionSize, this.prefix));
    this.keyUp();
}

keyUp() {
    let e = <KeyboardEvent>event;
    if ([46, 8, 9, 27, 13, 110, 190].indexOf(e.keyCode) !== -1 ||
        // Allow: Ctrl+A
        (e.keyCode === 65 && (e.ctrlKey || e.metaKey)) ||
        // Allow: Ctrl+C
        (e.keyCode === 67 && (e.ctrlKey || e.metaKey)) ||
        // Allow: Ctrl+V
        (e.keyCode === 86 && (e.ctrlKey || e.metaKey)) ||
        // Allow: Ctrl+X
        (e.keyCode === 88 && (e.ctrlKey || e.metaKey)) ||
        // Allow: home, end, left, right
        (e.keyCode >= 35 && e.keyCode <= 39)) {
        // let it happen, don't do anything
        return;
    }
    // Ensure that it is a number and stop the keypress
    if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
        e.preventDefault();

    }
}
}

my-currency.pipe.ts
import { Pipe, PipeTransform } from '@angular/core';
const padding = "000000";

@pipe({
name: 'myCurrency'
})
export class MyCurrencyPipe implements PipeTransform {
// private prefix: string;
private decimal_separator: string;
private thousands_separator: string;
private suffix: string;

constructor() {
// this.prefix='';
this.suffix = '';
this.decimal_separator = '.';
this.thousands_separator = ',';
}

transform(value: string, fractionSize: number = 2, prefix: string = ''): string {

if (parseFloat(value) % 1 != 0) {
  fractionSize = 2;
}
let [integer, fraction = ""] = (parseFloat(value).toString() || "").toString().split(".");

fraction = fractionSize > 0
  ? this.decimal_separator + (fraction + padding).substring(0, fractionSize) : "";
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.thousands_separator);
if (isNaN(parseFloat(integer))) {
  integer = "0";
}
return prefix + integer + fraction + this.suffix;
}

parse(value: string, fractionSize: number = 2, prefix: string = ''): string {
let [integer, fraction = ""] = (value || "").replace(prefix, "")
.replace(this.suffix, "")
.split(this.decimal_separator);

integer = integer.replace(new RegExp(this.thousands_separator, "g"), "");

fraction = parseInt(fraction, 10) > 0 && fractionSize > 0
  ? this.decimal_separator + (fraction + padding).substring(0, fractionSize)
  : "";

return integer + fraction;
}

}

In TEMPLATE we can use as

My requirement is to have a precision of two. But when i type any number, first decimal value is filled.
eg: if i type 54 then it shows like 0.54 instead of 54.00, if i type 545 it appears as 5.45 instead of 545.00
My suggestion is user should be able to input dot at their wish. Also need to have limit for max number to be entered

Same situation happened with a customer... They got annoyed with this behavior. Would be nice if we have this behavior configurable, as suggested above.

Hi Folks,
While we do not have an alternative from the component self, I added the custom behavior on the way it suit my needs. Maybe that would help someone:
Basically I created two event handlers:
`
public currencyMaskFocus($event)
{
//getting current value
var value =  $event.currentTarget.value;
//splitting by the value by the decimal separator
var splitted = value.split(this.currencyFormatInfo.decimal);
//selecting the integer part, which will be replaced with what the user will type
//For example: 100,82 - where , is the decimal separator
//We would select 100
$event.currentTarget.selectionStart=0;
$event.currentTarget.selectionEnd=splitted[0].length;
}
public currencyMastKeydown($event)
{
//When the user presses ,
//We want to select the decimal part to allow editting only the decimal part
if($event.key==',')
{
//First of all, we cancel all event propagation and the default behavior!
$event.stopPropagation();
$event.preventDefault();
//Then we get the value itself
var value =  $event.currentTarget.value;
//Find out where the decimal separator ist
var start = value.indexOf(this.currencyFormatInfo.decimal)+1;
//select only the decimal part
//For example: 100,82 - where , is the decimal separator
//Would select only 82
$event.currentTarget.selectionStart=start;
$event.currentTarget.selectionEnd=start+this.currencyFormatInfo.precision;
}
}
`
As I am using the global configuration(CURRENCY_MASK_CONFIG), the currencyFormatInfo variable was injected like this via my class constructor:
constructor(@Inject(CURRENCY_MASK_CONFIG) private currencyFormatInfo: CurrencyMaskConfig) { }
Last but not least, I added the handlers on my input which holds the currencyMask directive:
<input type="text" currencyMask  (focus)="currencyMaskFocus($event)" (keydown)="currencyMastKeydown($event)" >
I know this solution is a bit "quick and dirty" but it solved this specific need.
Thanks and keep up the great work!
BR
Pedro

@pcbl  Hi, I have tried with your solution but I got an error

btw, I am using angular 7 for my project.

I also think this is an issue

I am facing issue too.  A client has been complaining about the default behaviour, and it seems silly that this library still does not support a normal input mode either by default or through configuration. Nobody starts typing numbers from the right; in fact, everyone I know starts typing numbers from the left.

I have custom directive for this. We also went throught this issues.
On Wed, Nov 21, 2018, 1:43 PM Pedro Castelo Branco Lourenço <
<EMAIL_ADDRESS>wrote:

My requirement is to have a precision of two. But when i type any number,
first decimal value is filled.
eg: if i type 54 then it shows like 0.54 instead of 54.00, if i type
545 it appears as 5.45 instead of 545.00
My suggestion is user should be able to input dot at their wish. Also need
to have limit for max number to be entered
Same situation happened with a customer... They got annoyed with this
behavior. Would be nice if we have this behavior configurable, as suggested
above.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cesarrew/ng2-currency-mask/issues/93#issuecomment-440574371,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPy2OP3VG-5jgi04DDj7gG5Pgeu2DGrks5uxQs-gaJpZM4SZzgS
.

Hi. It's not an issue. Your requirement is different from how this mask works.

so, how to fix it
can you give me example?

Sorry guys, but my available time to this project is very limited and I can't work on this new behavior.


Can HMR allow entry point modules with exports to be accepted by sibling entry point modules?

I have the following entries setup:
"entry": {
      "article": [
        "babel-polyfill",
        "router/initializer",
        "views/article.jsx"
      ],
      "articles": [
        "babel-polyfill",
        "router/initializer",
        "views/articles.jsx"
      ],
      "home": [
        "babel-polyfill",
        "router/initializer",
        "views/home.jsx"
      ]
    },

So a different entry chunk is generated for each view, and the router/initializer module can load arbitrary views by name (using require.ensure + contexts). Since the  initializer is always packaged into the same chunk as a particular view, requiring that view (using require.ensure) simply resolves immediately - it only every downloads a new chunk when trying to load a different view. This all works fine so far.
The problem is that HMR never considers the "current" view (i.e. the one packaged into that chunk) to be a dependency of anyone (not the initializer, nor the views/*.jsx context module). module.hot.accept(viewsContext.id, ...) doesn't do anything (nor does module.hot.accept(viewsContext.resolve('./home.jsx', ...). module.hot.apply({ignoreUnaccepted: true}, ...) never applies it. Only module.hot.accept() in home.jsx itself does. I assume this is because HMR only looks as far as "is this module an entry point?" and since it is, assumes there are no exports and it can only accept itself. That's not the case here though - there are exports - and they are used by another entry point module.
Is that what's actually happening, or is something else the problem?
If that is the case, can HMR be made to go through the dependency checking of entry point modules anyway, as long as they have exports?

Nvm actually...  problem was I shouldn't have set up my entries that way. I keep forgetting entry chunks can't do double duty as dynamically loadable non-entry chunks.

You can try it this way:
"entry": {
      "article": "./entry?views/article.jsx",
      "articles": "./entry?views/articles.jsx",
      "home": "./entry?views/home.jsx"
},

// entry.js
require("babel-polyfill");
require("router/initializer");
require(__resourceQuery.substr(1));
module.hot.accept(__resourceQuery.substr(1), function() {
  // here your accept handler
});

Or if you don't like the magic query string at the module, you can write a entry point per view...


Unexpected keyword argument 'df_max_freq' when max_features is used in Preprocessing

Setting max_features in Preprocessing throws the following error:
TypeError: init() got an unexpected keyword argument 'df_max_freq'
Example code
import string
from octis.preprocessing.preprocessing import Preprocessing

# Initialize preprocessing
preprocessor = Preprocessing(vocabulary=None, max_features=None,
                             remove_punctuation=True, punctuation=string.punctuation,
                             lemmatize=True, stopword_list='english',
                             min_chars=1, min_words_docs=0, max_df=0.9, min_df=0.1) #
# preprocess
dataset = preprocessor.preprocess_dataset(documents_path=r'dataset.csv')

I'm happy to help fix the issue.
OCTIS is an excellent library - keep up the great work.

Hi!
Thank you for reporting the issue! I fixed it in the dev branch. I'd wait for the fix of the other issues you opened before creating the next release.
Thanks again :)
Silvia


fixed an error when the source image have a very plain color and it c…

fixed an error when the source image have a very plain color and it can't found the most energy point.

Should opefully be released as 1.3.1 🤞
Thanks


feat: add unit tests for createHtmlTemplateFunction

Add some unit tests to this function so I know what it is doing.

Checklist

[x] run npm run test and npm run benchmark
[x] tests and/or benchmarks are included
[ ] documentation is changed or added
[x] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

Reminder to follow the conventional commits standard.

@galvez I've never seen these agitated-mahavira jobs before. They seem to be failing because I don't have some permission:

Already merged this in a duplicate PR.


jira column shown even when jira is disabled system wide

the findings list shows a jira column even when JIRA is disabled in system settings.

fixed in dev, so 1.10.0


From bash unable to create a role assignment for an Service Principal scoped to management group

When the same command from the terminal using the same login account, runs without error. If I use the same command in a bash script, then I get this error message. The Document reference doesn't include an example for role assignment for a management group. Could we add an example here please?
Any clue why this is failing?
Command Run: az role assignment create --assignee-object-id $sp_id --assignee-principal-type "ServicePrincipal" --role "Owner" --scope $mgmt_id
Error Message : The request did not have a subscription or a valid tenant level resource provider.

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

ID: 9dacfad8-cb2f-2534-3b29-89b0930a2252
Version Independent ID: 17325cd4-44c5-4069-d9f6-940a55f0f7c9
Content: az role assignment
Content Source: latest/docs-ref-autogen/role/assignment.yml
Service: azure-resource-manager
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@jiasli for awareness

Could you show me the output of failed command with --debug parameter?

This role assignment doesnt need an active subscription in the context so not sure why the error here.
The format of the scope is /providers/Microsoft.Management/managementGroups/<mgmt name>
Note that this works on a terminal directly but the same command is run part of the bash script that's when we get this error.

I see. I doubt some argument not correctly passed to cli because of the special character. I suggest that you add --debug in the end of the command, then you can see the params received by azure-cli in the first line. For example cli.knack.cli: Command arguments: ['kk', '--debug']

#25044 repots a similar error: The request did not have a subscription or a valid tenant level resource provider.. The root cause in #25044 in that the --scope is misspelled.


Change fonts and bookmarks label color

What should I edit to change font style and color of bookmarks label?

Can you take a screenshot about what you're referring to?

Font style of URL and color of bookmarks label.

This is how it looks for myself.
Do you have the inbuilt Firefox Dark theme selected?
Sometimes that overwrites whatever I've put in the theme.
Also, what OS & firefox version are you using?

Thanks! Bookmarks label color is fine now. What about font style?

toolbarbutton.bookmark-item{
font-weight:bold;
}

Not that, I am asking for font-family of URL and bookmarks label.

Not that, I am asking for font-family of URL and bookmarks label.

I'm sorry, I don't think I understand what you are referring to then. The code:

toolbarbutton.bookmark-item{
font-weight:bold;
}

would change "Amazon" above to bold.
If you're after font-family, then you can add whatever you like into that CSS class

Adding font-family in toolbarbutton.bookmark-item will do that?

Correct. I'd look into a CSS resource to find the types of properties you can put in for fonts.
Just be careful if you're referencing a font that isn't built into the system e.g. Google fonts, as they'd have to be imported first.

Okay, I will try and let you know.

It worked! Where to make changes for changing font-family of URL bar and settings menu?

If you're looking to learn, I suggest you read this:
https://www.reddit.com/r/FirefoxCSS/comments/73dvty/tutorial_how_to_create_and_livedebug_userchromecss/


[Chore] Configure CI for the project

We may need to separate it into iOS & Android task 🙏

Just make sure we have set up DI and BuildKonfig or we can create other tasks for these🙏


Fault Persistence

I would like to start a conversation around fault persistance.
We are considering to use the whole infrastructure in a quite complex architecture.
In this context I need to be sure that the software is resilience to any fault that may happen.
We successfully ran the a beta of the lora infrastructure => {loraserver + lora-app-server + lora-gateway-bridge + vernemq + redis + postgres} on a single machine and we are very happy with the results so far.
In the process of scaling we will spread the deploy of the components in different machine. Thus one of the most common problem I am expecting will be network partition.
What happens if suddenly Redis is not reachable any more? What about Postgres? What if the lora-app-server and the loraserver canno't communicate anymore? What is the MQTT server / cluster goes down?
Clearly I am starting my own investigation about these points but I simply wanted to get the conversation going and collect feedback.
@brocaar if you don't believe the issues is appropriate (it add too much noise, it is too broad, it is not useful for your workflow, whatever) feel free to close it. :)

I'm closing this issue. In case you would open this discussion again, please create a topic at https://forum.loraserver.io :-)


[Bug] Incorrect highlighting when using arbitrary values such as background-size, etc.

document:
https://tailwindcss.com/docs/background-size#arbitrary-values
Do not all highlight or highlight only length:.

Same here but with content-[''], breaks the rest of the highlight


how to hide indentline in telescope preview window?

i have telescopeResults and telescopePrompt excluded in my config already, indentline by default doesnt show on the preview window BUT it does start showing them when i cycle backwards in telescope i.e (Ctr + p) brings the indentline :c
https://user-images.githubusercontent.com/59060246/147361411-7231bba0-1a0f-4b70-93e6-4068947b6041.mp4

I can't reproduce this with the default telescope config.
Can you share yours?

https://paste.sh/jFLOSIZq#b16vmqEEVN9MaLZ3gftWJgFO
I use telescope-fzf-native.nvim for sorter

Looks like telescope doesn't set any filetype for the  preview window.
You can add "" to the excluded filetypes, and it should be gone.

Looks like telescope doesn't set any filetype for the preview window. You can add "" to the excluded filetypes, and it should be gone.

thanks a lot!


[Bug]: plugin css affect checkboxes

the checkboxes appear flat when enabling the plugin while using custom theme (like shimmering focus).
https://user-images.githubusercontent.com/38974541/166682489-c57b30a4-c49e-46a1-b778-238fbf022c80.mov

How can I reproduce that error? Do you mean any specific custom theme?

in the default theme, nothing's wrong. But when I switched to other themes (like its, minimal, shimmering focus, sanctum, primary) all of them have the same problem.

Ok, I probably found the issue, but I have to test it a little more and implement a workaround.

Ok, fixed in new release.


PipeTable: NewLine > Code Delimiter > Column Delimiter Precedence

Rule #7
A backtick/code delimiter has a higher precedence than a column delimiter |:

A new line inside of pipe tables should have a higher precedence than a code delimiter. Pipe tables are not designed for multi line cells, therefore code inside pipe tables may not be multiline.
Currently backticks that are not in the same cell break the complete pipe table. Example:
Col1 | Col2
---|---
first`|row`
second|row

Result:

Col1 | Col2
---|---
first|row
second|row

Desired:

			Col1
			Col2

			first|row

			second
			row

It is safer to recognize code blocks in one line only, as it only breaks that particular line, not the whole table. Example:
markdown-it demo

Hm, not sure I want to change that behavior for this, as markdown-it is not a ground truth either here (it is even incorrect, but it parse something as table while it should not)
It is currently a known differences with other markdown engines but there is no real consensus.
Ideally, I would like to introduce a mode that match GitHub Markdown behavior (as it is the most common usage of Markdown these days).

Hey, thanks for the reply!
I agree, a GFM option would be best.
I'll use Babelmark for comparisons in the future :)


Combat freezes when Asmodeus Tiefling SoulBlade Warlock gets hit in battle when empty of Spellslots

The Asmodeus Tiefling on Standard has Hellish Rebuke, and when she gets hit the Pop-Up to activate comes up.
My SoulBlade Warlock has Spell slots of lvl 3, the Hellish rebuke can only be activated with lvl 2 or 1 Spell slots, which means that no Spell slot is expended, but when the Warlock is out of Spell slots then the Pop-Up will still come up but regardless of what you choose the combat will freeze requiring a restart from a previous Save. This Freeze will not happen when the Warlock has at least 1 Spell slot left.
The Current Version of Solasta and Version <IP_ADDRESS> of Unfinished Business, no other mods.
Bugreport.zip

This is an engine limitation. Will try to prevent Hellish rebuke offering on warlock if race is Tiefling to avoid that.


docs: Add note on resource address match order

Documents how overlapping addresses are matched.
Draft until #6809 is merged and published.

Non-semantic line-breaks strike again.

That's alright, I want these for mdx files because we import JSX components a lot in the docs and use things like tables, so it's a net-positive I think.

Non-semantic line-breaks strike again.

That's alright, I want these for mdx files because we import JSX components a lot in the docs and use things like tables, so it's a net-positive I think.

I left the blog/ readme.mdx formatted without proseWrap so that it's better for writing longform and getting feedback on PRs for those.


ProviderEvaluation is hard to serialize / deserialize

We're trying to build a custom REST backend using spring that returns ProviderEvaluation objects serialized to json.
The current ProviderEvaluation class makes it very hard to deserialize it using jackson, because it uses lombok Builder and does not expose an empty default constructor.
Would it be possible to add the Jacksonized lombok annotation, so deserialization of these instances is possible?

@pulse00 thank you for bringing this up
I checked the implementation and we already have @Data annotation which helps jackson with simple fields. However, this is not true for ImmutableMetadata field [1] which fails for serialization. I will check what we can do from SDK point of view. Especially on the fact that we have an agreement to support serialization/deserialization of the mentions class.
A good alternative here would be to utilize a custom transporter type for your API, which you can wrap the ProviderEvaluation into with se/deserialize support
[1] - https://github.com/open-feature/java-sdk/blob/main/src/main/java/dev/openfeature/sdk/ProviderEvaluation.java#L17

I don't see why we shouldn't attempt to support this. It certainly makes sense.

@toddbaert yes, agree with this.
I opened the PR https://github.com/open-feature/java-sdk/pull/487 with a solution and also added unite tests to validate the support. Feel free to review and provide feedback.

It seems like this would require us to add Jackson dependencies after all. See thread here.
One of the core goals of the OpenFeature SDKs is to keep them low/no dependency. If there's a way to help @pulse00 out without adding one, I would prefer that.

@pulse00 does https://github.com/open-feature/java-sdk/pull/487 help your situation at all?

@pulse00 does #491 help your situation at all?

no, but having an empty constructor should help https://github.com/open-feature/java-sdk/pull/491
i will keep you updated if this works now with jackson.
On a more generic side: Are there any recommendations on how to implement a REST API that maps to the FeatureProvider interface? That's basically the reason i brought this up, because if you implement such an API with e.g. spring, you will need to serialize/deserialize ProviderEvaluation instances at some point?
Or am i missing something?

@pulse00 seems what you want is a way to transmit ProviderEvaluation as it is from your Java backend to the front end written in Javascript. Personally, I recommend decoupling Rest API DTO from your internals. In this case, ProviderEvaluation is an internal data structure that is not designed to be used by remote evaluations. The reason for this is that our current SDKs focus on in-process evaluations. Also, as this close PR https://github.com/open-feature/java-sdk/pull/487 suggests, it's not possible to support all de/serialization frameworks Java supports.
My recommendation would be to use a custom DTO with conversion logic for your use case. This will help your rest API to be more stable, decoupled from the internals of your Java backend and further add your own custom data where needed.

@Kavindu-Dodan makes sense. I somehow assumed because it's an implementation of a spec, that the types should also be transported over the wire. We'll go with converters then. thanks for the input!
Some input from me as a library user: The documentation was leading me a bit in the wrong direction i think. Because we can't use any of the existing providers, we started implementing our own using java.
Maybe it would be helpful to add a recommendation to the providers section, on how to implement a custom evaluation backend using an existing provider from an existing SDK?

@pulse00 I think you brought a unique use case to the discussion. Right now our SDKs are meant to be used by a single application. We can call this in-process evaluation where SDK connects to a provider where the provider obtains feature flags from an external system (see diagram of the documentation [1]). Hence, the entities we define in SDK are not meant to be de/serialized.

Maybe it would be helpful to add a recommendation to the providers section, on how to implement a custom evaluation backend using an existing provider from an existing SDK?

I think this is connected to the ongoing enhancement proposal we are discussing here [2]. With the current SDK model, this is not supported. But as we discussed, you can rely on custom DTOs to transmit evaluation data from your backend to a client (front end).
[1] - https://openfeature.dev/docs/reference/concepts/provider
[2] - https://github.com/open-feature/ofep/pull/67

Hey @pulse00 thanks for your comments here. I think I'm starting to understand your use-case a bit more now, and it's different than what I thought initially. I believe you're trying to do a few things the project isn't yet designed for (though interestingly, we have been working on a way to solve exactly your problem; more on that later).
I'd like to clarify a few things:

The SDK is not designed to help create a feature-flag backend. It's been designed to be a "bridge" between a vendor SDK (or a custom backend) and application code, running in the same process. In other words, the SDK is build to sit between your application code, and {insert-vendor-sdk} or some custom REST interfaces for a feature-flag API you'd build and run in-house. This is why we don't want to include serialization dependencies like Jackson into the SDK. They would not be used in most use-cases.
Consistent with the above, SDK objects (like the ProviderEvaluation) aren't meant to be DTOs. We expect the objects returned from some vendor SDK or HTTP client to be converted to these.

However, we are very interested in solving the sort of problem you're working on (I'm assuming based on the conversations above, you're basically trying to build a "proxy" for a feature-flag vendor or system, to expose it to web clients or otherwise). We've been working on something to help with this problem here. To sum it up, we're working on specifying a wire-protocol (hopefully both gRPC and HTTP) that could be easily implemented in a server to expose a standard feature-flag evaluation API. We would then generate compatible providers that would be compliant with this protocol, which you could plug-in to the OpenFeature SDK. You could look at this as a kit to easily build a proxy like the one I believe you want.

you're basically trying to build a "proxy" for a feature-flag vendor or system, to expose it to web clients or otherwise

Exactly that. We are working on a 10+ years old platform which has evolved over time, and each of the 20+ apps on the platform has their own way of dealing with feature flags. We though we could give a more generic approach a try (using open-feature) to make it easier to query for feature flags between apps and/or clients.
I do understand that if you start from scratch with a specific feature-flag backend, you wouldn't need to write a custom provider. But in our case (and i assume a lot of projects that evolved over a couple of years), the way we would like to introduce this is by first starting with existing backend logic that is exposed via the provider API.
The Flag Evaluation Wire Protocol you linked above seems like an interesting idea to solve this topic for users that want to adopt open-feature without a dedicated vendor backend.
However, i'm wondering what your recommended approach is for projects like i described above? Because as a developer,  i'm not sure if the benefit of having this SDK in our application code outweights the drawback of having to implement the serialization/deserialization of the protocol over the wire manually. If i do so, there's not much benefit over just having a custom REST api that exposes a similar API, as the java-sdk doesn't really do much other than implementing the spec.

I would encourage you to comment https://github.com/open-feature/ofep/pull/67 if my assumptions above are correct.

Sure, will do!

What you have mentioned here is an interesting usecase

We thought we could give a more generic approach a try (using open-feature) to make it easier to query for feature flags between apps and/or clients.

This is still possible and maybe we could help you here.

..the way we would like to introduce this is by first starting with existing backend logic that is exposed via the provider API.

I think this is what we need to clear up.
There should be a backend that acts as the flag management system (see diagram [1]). From OpenFeature point of view, the provider  interacts with this flag management system. For example, if you already have a database with feature flags, the flag management system implementation could simply expose the flags from that database. And this can be built from any preferred language.
Each OpenFeature SDK exposes a set of contracts. For example, check Java FeatureProvider [2]. And readily available OpenFeature compatible vendors expose their providers by implementing this interface (see flagd implementation [3]).
This provider implementation is a convertor/adopter from the flag management system to OpenFeature. In other words, OpenFeature provider implementation hides the REST API communication, DTO conversions and exposes feature flags in OpenFeature format. This is how we achieve vendor-agnostic feature flags.
Now if we map this to one of your JS Apps, this is how it will look like,
flowchart LR
    subgraph JS APP 1
    OpenFeature[JS SDK] ---> ProviderX[ProviderX JS]
    end
    ProviderX[ProviderX JS] --> |REST API| FlagSystem[Flag Management System]

Flag Management System - This will be a service that your write to expose your feature flags

REST API - This is a simple rest API that you define and control. Can be simple as accepting feature flag key and returning its value from the database. Do not bind our SDK entities here as this is not the intention of those entities.

ProviderX JS - This is a custom adopter that you write adhering to OpenFeature SDK contract.

You can have all the above sources internally but still use OpenFeature SDK. And eventually, if your org would think of migrating to a commercial flag vendor, you can simply exchange ProviderX with provider Y.
[1] - https://github.com/open-feature/spec/blob/main/specification/sections/02-providers.md#2-provider
[2] - https://github.com/open-feature/java-sdk/blob/main/src/main/java/dev/openfeature/sdk/FeatureProvider.java
[3] - https://github.com/open-feature/java-sdk-contrib/blob/main/providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/FlagdProvider.java#L60

@Kavindu-Dodan thanks for the detailed response. We'll go with an internal backend then and a custom provider that handles the serialization/deserialization then.

Happy to help you. Feel free to reach us if you have further doubts.


Extra dependencies in section "Modifying the Documentation"

In the readme file, section "Modifying the Documentation", instead of:
pip install sphinx matplotlib sphinx-gallery
perhaps it should be:
pip install sphinx matplotlib sphinx-gallery numpydoc sphinx_rtd_theme
What do you think?

Thank you, I will submit a PR for the change soon.