Indexing for Instant Search every time I reload

When I press Ctrl+Shift+F to search my project it indexes it for instant search, whichj is quite a slow preocess. It does this every day, it's like it does not save the index it built.
Steps to Reproduce
PRess Ctrl+Shift+F and enter some text
Expected behavior: Search results
Actual behavior: Sits there with "Indexing for instant Search"
Versions
Release 1.12 build 1.12.0-17621 Linux

I get this same issue on Windows 10 Professional
And after about 20 minutes, the indexing is still not done.
Versions
Release 1.12 build 1.12.0-17621 (release d3b783b99)

Same here on Linux (elementary OS Loki 64-bit)...

Well, this is interesting. Tried this on Windows 10 - at first it was as you described. Then I went off the search and did it again, and it worked, highlighting the text searched for both in the text and on a line at the bottom.
Restarting the program a few times, it still worked as said, both with Ctrl + Shift + F, and with Ctrl + F.
If there's anything I can do to fix the bug for first, and someone can explain the work to be done, I'd be happy to.

I too have daily problems with the indexing. Often it never stops, it will index for hours. Even if it does not have any files to index, i.e. when I add "*" to the filter. Brackets is great but I absolutely hate the search, it is never working.
Maybe you can have it write out everything to the logs so I (and other people affected) can upload the log files so any bugs are easier to track down.

Brackets is great but files search is painfully slow.   This is on Macbook 2011.    Using Finder to bypass Brackets search which is MUCH MUCH faster.   Great product, please fix SLOW file search.   It used to be "instant"

This always worked well for me. I used the search project a lot.
For the last few weeks it's been impossible to use it. I'm not sure what happened. Maybe since I updated the macos on to 10.15.1

I am having this problem as well...
Anyone saw any responses here???


Add an example for how to hide default scrollbar on desktop platform.

fixes https://github.com/flutter/flutter/issues/108159
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Can you update this with the latest from master before merging? There were some recent updates to ``` code analysis, updating will make sure this does not get reverted if there is an issue. :)
https://discord.com/channels/608014603317936148/608116355836805126/1007046877994303638


Only require Lookup classes if not defined to allow lookup extensions

This will allow for extending Geocoder with additional lookups that come from the application, not shipped with the gem.
# in app/libs/geocoder/lookup/my_preciousss.rb
module Geocoder::Lookup
  class MyPreciousss < Google
  end

  class MyOther < Google
  end
end

# config/initializers/geocoder.rb
Geocoder::Lookup.street_services << :my_preciousss
Geocoder::Lookup.street_services << :my_other

# > Geocoder.configure(my_preciousss: { api_key: 'abcdef' })
# > Geocoder.configure(my_other: { api_key: 'fedabc' })

# > Geocoder.search("Paris", lookup: :my_preciousss)

An example use case for this is, when we have several groups of users in the application, or tenants who use Google paid services and we want to properly separate these paid services. Since Geocoder Configuration is a Singleton, we cannot do this by creating an "instance" of the Geocoder with different api_key(s). As a workaround, you can define Google Lookup subclasses and define a different api_key for each of them.
The main problem I am trying to solve here is that you cannot define different api_keys for particular lookup service for different geocoder instances in one process at runtime.

@januszm this is a very nice solution! I'd only suggest one thing: can we change the name of the new method to instantiate_lookup?

@alexreisner it's done!

Thanks!


amplify push fails after removing a model from schema.graphql

Describe the bug
Can not remove a model from schema.graphql after it was pushed/deployed.
To Reproduce
Steps to reproduce the behavior:

Initial schema.graphqltype User @model {
  id: ID!
  invitations: [Invitation] @connection(name: "UserInvitations")
  last_name: String
  first_name: String
}

type Invitation @model {
  id: ID!
  date: String
  sentTo: User @connection(name: "UserInvitations")
  state: String
}

amplify push
Update schema.graphql and remove Invitationtype User @model {
  id: ID!
  last_name: String
  first_name: String
}

amplify push
Update failed with the following errorEmbedded stack [ARN of User stack] was not successfully updated. Currently in
UPDATE_ROLLBACK_IN_PROGRESS with reason: Export ******************:GetAtt:UserDataSource:Name
cannot be deleted as it is in use by [NAME of ConnectionStack stack]

Expected behavior
Be able to remove models from schema.graphql and push/publish the changes.
Additional context
Tested using the AWS Amplify Console deploy and amplify-cli locally, version 1.1.6.

Hey can you try deleting the @connection directives first. Perform the push. Then remove the @model type and push again. Let me know if that works.

Hey @mikeparisstuff thanks for the suggestion.
But it doesn't work, the same result. Also, for additional information. After the amplify push failed, I restored the @connection in the schema, then, run amplify push again and it fails again now with the error

No resolver found. Service: AWSAppSync; Status Code: 404; Error Code: NotFoundException

@kstro21 Are you still stuck on this and able to reproduce with the latest version of the CLI? We weren't able to reproduce this behavior on our end.

@kaustavghosh06 I had to deploy to a new env then migrate my data.
Haven't tried it anymore. I will test it again in a new environment and will be back with the feedback.

Hi, @kaustavghosh06 same result. It is not working, but now I think I know the reason and probably will come back with a PR.

@kaustavghosh06 I've added a PR #1182 that will solve this one.

We're waiting for this fix, I hope @kstro21 's solution works :)


Update docs to clarify return value for handlePastedText

Summary
Docs for handlePastedText are a bit unclear about what it should be returning. According to the Cancelable Handlers section, all should return 'handled' or 'not-handled', but the section for handlePastedText mentions returning a boolean. This has caused some confusion in draft-js-plugins-editor here: https://github.com/draft-js-plugins/draft-js-plugins/issues/806

Closing in favor of fixing draft-js-plugins-editor to accept boolean returns in addition to 'handled'|'not-handled' see: https://github.com/draft-js-plugins/draft-js-plugins/issues/806


PMM-10724 Added custom pxc operator version with fixes for civo provider

Test name
Status

api-tests
passed


storage: push go-docker images

Signed-off-by: Boris Glimcher<EMAIL_ADDRESS>

Also, you need to add a matching job into poc-storage-skip.yml as well.

done


UsbDk automatic disable usb-device

When I make a request, the device is disconnected from the computer, "URB_FUNCTION_ABORT_PIPE" is called, followed by an error. Is it normal or not?

We do not understand the question. Can you please describe your experience in details? What does it mean: "When I make a request"? Where you see that "URB_FUNCTION_ABORT_PIPE is called"? etc

I have code
import usb.core
import usb.util
from usb.backend import libusb1
from ctypes import c_void_p, c_int
import time

backend = usb.backend.libusb1.get_backend(find_library=lambda x: "libusb-1.0.dll")
backend.lib.libusb_set_option.argtypes = [c_void_p, c_int]
backend.lib.libusb_set_option(backend.ctx, 1)
device = usb.core.find(idVendor=0x25A7, idProduct=0xfa7c, backend=backend)
print(device)

def get_battery():
    req =  device.ctrl_transfer(bmRequestType=0x21, bRequest=0x09, wValue=0x0308, data_or_wLength=bytes(
        b"\x08\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x49"), wIndex=1)
    usb.util.dispose_resources(device)
    time.sleep(4)
    result = device.ctrl_transfer(bmRequestType=0xa1, bRequest=0x01, wValue=0x0308, data_or_wLength=40, wIndex=1)

    usb.util.dispose_resources(device)
    usb.util.release_interface(device, 0)
    print(f"Message received from the mouse: {list(result)}")

if __name__ == '__main__':
     get_battery()

When usbdk send request
device.ctrl_transfer(bmRequestType=0x21, bRequest=0x09, wValue=0x0308, data_or_wLength=data, wIndex=1)"

my usb device disconnects from my computer, and connect after request

What you expect this request will do?

I send a request to a usb device to get a battery charge, but I need it to continue working during the request

It looks like the device is not happy with the request and does the internal reset (disconnects from the bus and reconnects again).


Cannot reproduce results following docs/notebooks/robustdg_getting_started.ipynb

I have followed instruction from docs/notebooks/robustdg_getting_started.ipynb, but I encountered CUDA out of memory, so I have halved the batch size from 256 to 128. The accuracy is slightly lower than 96.1, like 95.575 or 96.02. That is OK, but my T-SNE Plots are very bad (attached) compared to the given figure. My MIA accuracy is much higher than that on the notebook, typically 65-70, and matchdg has slightly higher MIA accuracy. It is also strange that I ran out of memory with 16 GB memory.

I managed to modify the code using nn.DataParallel to run on two GPUs with batch size 256, but the results are similar as above.  Another T-SNE plot is attached.

I really appreciate any help you can provide.

Thanks, Ardor! Typically for batch size 256, you need 32 GB GPU memory. However, for smaller batch sizes like 128, the validation checks frequency for MatchDG Phase-I needs to be changed, and we should be able to achieve similar performance. I will work on it and make the results more easily reproducible with smaller batch sizes.
Regarding MI attacks, the results need to be updated and I suggest you can follow this paper for results. I will soon update them in this repository. But your observations are consistent with Figure 1 of our paper on privacy, ERM gets between 65-70 percent MI attack accuracy (using classifier attack) and MatchDG is slightly higher.
Regarding the T-SNE plots, I am not sure and will take a look. However, I think match function metrics are better to evaluate the representation learnt. Did you observe any discrepancy using the match function metrics? You can find the exact commands to run in the reproducing results notebook. I have also mentioned them below for convenience:
python test.py --dataset rot_mnist --method_name matchdg_ctr --match_case 0.01 --match_flag 1 --pos_metric cos --test_metric match_score

Hi Ardor, the code has been updated to follow the new results in our paper. The issues that you mentioned above should be resolved now.


State doesn't inherit destroy method

State extends Group, and Group has a robust destruction method that cleans up components. However, State doesn't actually invoke Group.destroy! This means that the State Time Helper plugin won't ever terminate its clocks, which could lead to memory leaks. (Small ones, but they come with a performance hit.)

We can't call Group.destroy from State, as it would be overzealous and destroy properties necessary for state reuse. I've implemented a components.removeAll call, which has the desired result. Other destruction behaviours appear to be as desired.


Closing a pane does not reset the PowerShell text position

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable): 0.3.2171.0

Steps to reproduce

Create a PowerShell tab
Press enter until the text covers most of the window
Split the view horizontally
Close the bottom pane
Start typing

Expected behavior
Text appears at previous cursor line
Actual behavior
Text appears in blank space. Screenshots of process:

So this is definitely a psreadline bug, though it does seem unique to Windows Terminal. Notably, I can't seem to repro a similar scenario in a conhost window:

Do a wsl.exe powershell.exe to get a conpty running powershell in a conhost window.
fill the buffer
Resize down so the prompt is in the middle of the buffer
Resize up again
type anything

If this was a purely psreadline or conpty bug, then this wouldn't repro in this scenario. We'll need to do something better with the Terminal specifically.

This is partially related to the fact that PowerShell saves and restores your cursor position across taking prompt input. That's also the cause of #2267.

Okay with #4741 merged, this is still happening. I'm pretty sure PsReadline is saving the cursor position at the start of the prompt, and restores the position when it wants to redraw the terminal. Though, the question I have is "why isn't this happening if you just decrease, then increase the height of the terminal"

This discussion from VTE seemed relevant, but I'm not sure
https://gitlab.gnome.org/GNOME/vte/blob/master/doc/rewrap.txt
Shell prompt
────────────

If you resize the terminal to be narrower than your shell prompt (plus the
command you're entering) while the shell is waiting for your command, you see
weird behavior there. This is not a bug in rewrapping: it's because the shell
redisplays its prompt (and command line) on every resize. There's not much VTE
could do here.

As a long term goal, maybe readline could have an option where it knows that
the terminal rewraps its contents so that it doesn't redisplay the prompt and
the command line, just expects the terminal to do this correctly. It's a bit
risky, since probably all terminals that support rewrapping do this a little
bit differently.

@lzybkr, @stevel-msft
Any ideas what might be going on here? I'm thinking that PSReadline is restoring the cursor relative to the bottom of the viewport, but I don't know where in PSReadline's code I'd go to check that out.

The cursor position is saved after the prompt here.
Console resizing has always a bit of problem, but mostly nobody noticed when the code was originally written because resizing used to be awkward. I considered moving away from .Net to INPUT_RECORD to get the resize events early in Win10 when resizing a console became much easier, but that would have made the code much less portable so I'm glad I didn't.

BTW, @daxian-dbw maintains PSReadLine now.

Okay I'm just pasting here for my future reference code that looks relevant
This issue: https://github.com/PowerShell/PSReadLine/issues/682
and the associated PR: https://github.com/PowerShell/PSReadLine/pull/694
Which pointed me to this function
https://github.com/PowerShell/PSReadLine/blob/198a64390e713214df20ef580f7a546b5c3ac1e8/PSReadLine/Render.cs#L985-L1000
I can't be sure that's actually it, but that's certainly something to look into.
It looks like I've got 2.0.0 on my powershell 5 instance, and 2.0.0-beta3 on my powershell 6.2.3 instance.
Though, reading through that, it looks like _console.CursorTop might already be wrong at that point in the call. Looks like that function is just trying to see how many rows the input line takes, then is setting the _initialY to be that many rows above the cursor. So I'd think the cursor was already wrong at this point.
I'll keep digging

A simpler repro from #5254

Steps to reproduce

Open Terminal in full screen
Type ls
unmaximize the window
maximize the window
type ls again and see that ls is not positioned correctly

This may have been fixed in an updated PsReadline. Just need to confirm.

🎉 This issue was addressed in 3074, which has now been successfully released in v2.2.0-beta5. 🎉

Just confirmed over here that this looks like it was fixed in PSReadline 🙌


Parse localizable strings comments

This is an attempt to start implementing #232.

[x] Switch to a regex for parsing .strings files so we can capture comment.
[x] Warn when a duplicate key is encountered in a .strings file (previously the last value was silently chosen the winner).
[ ] Include comment that precedes .strings file entry, if present, in R.generated.swift.

I'm a bit stuck on the last part, where we carry the parsed strings comment all the way through to R.generated.swift. I'd appreciate some guidance! (Or if someone wants to just take it from here, go for it!)

Very cool! Thanks for this PR!
I quickly scrolled through this, I'll look in to it more deeply when I have some more time.
The warnings about duplicate identifiers should be part of the code generation step, not the parsing step. That's because multiple files can be merged together at code generation time. When parsing it is not yet known which keys will become duplicate unique identifiers.
In this case that means the parseString function should actually return a list of tuples (or structs) instead of the dictionary it returns now.
As for the rest of it; I'll take a closer look later, or maybe someone else will before that.

The warning I added is meant for duplicate keys in a single file; I thought there was a todo somewhere about maybe adding a warning for that. NSPropertyListSerialization just silently takes the last of the duplicates.

Standard R.swift behaviour for duplicate keys (single file or not), is to skip generating code for that key and only print a warning.
An extra feature would be to extend that behaviour to strings files. That means collecting all keys (including duplicates within a single file), and have the code generator print the warnings (which it already does).
This also allows for extensibility in the future, where some other process between the parser and the code generator does something with all the keys. Like show them to the user or filter them based on some heuristic.
Again, this is an additional feature that R.swift currently doesn't have. But the reason for building a custom parser, instead of using the plist parser, is to enable additional features.

Here's a first attempt at the rest of this PR, getting the parsed .strings file entry comment into the generated documentation comment. No idea if this is the right way to do this, so feedback very welcome!
I removed the warning emitted during parsing (thanks @tomlokhorst for patiently explaining). We can add it to the appropriate place sometime later. Here's the todo I was talking about that mentions this warning, if anyone's curious (shout out to fellow Nolan creating that file).
I've also modified the regex a bit to only consider a comment directly preceding (i.e. up to 1 line away from) a .strings file entry as associated with that entry. Previously the comment atop the file was getting attached to the first entry, and that's not helpful. Unfortunately (?) I couldn't figure out how to do this entirely with the regex.

It's been a month, is there anything I can do to move this PR along? Y'all won't hurt my feelings if you share what you don't like about it!

Hey Nolan, sorry for leaving this PR hanging for over a month...
Due to both me and @mac-cain13 being busy with other things, R.swift maintenance is on a bit of a summer break at the moment.
Unfortunately that means issues and pull requests start stacking up. Sorry about that.
The next thing I plan on doing for this PR is;

Test this branch agains my internal apps using R.string.*, to see if anything breaks.

Hopefully I'll find the time to do that in the next week or so.

No worries, enjoy the break!

One thing that would be nice to add to this PR: Tests :-)

[ ] In ResourceApp add a comments.strings which has different keys with comments
[ ] In ResourceAppTests/StringTests add XCTAssertEqual to check if the comments are correctly parsed

I just tested this on my biggest project using R.string.*.
The parser works great! It didn't skip anything, I did find a accidental duplicate key in my project.
I think these should be the test cases:
/* comment doesn't belong to any key */

"key1" = "One";

/* comment belongs to key2 */
"key2" = "Two";

"key3" = "Three"; /* comment belongs to key3 */
"key4" = "Four";

/* first part of comment for key5 */
"key5" = "Five"; /* second part of comment, should be merged */

/* big, multiline, comment
 * belonging to key6
 */
"key6" = "Six";

Also nice to have are single line comments:
// comment doesn't belong to any key

"key1" = "One";

// comment belongs to key2
"key2" = "Two";

"key3" = "Three"; // comment belongs to key3
"key4" = "Four";

// first part of comment for key5
"key5" = "Five"; // second part of comment, should be merged

// big, multiline, comment
// belonging to key6
"key6" = "Six";

Tests sound good! I have a question about how to implement them. Does it make sense to include a comment property on StringResource? I don't anticipate these comments being useful to have in code, I had expected them just to be in the Quick Help. However that makes them more difficult to test. Any suggestions for how to test the generated comments?

Yes, I do think it makes sense to add a comment property.
The StringResource exists to expose all values that R.swift has collected to third party libraries to build against. I don't think there's a reason to exclude the comments from that.
Indeed, the tests can also use the comment: String? property.

Cool, that makes sense. I've added the comment property in my fork of R.swift.Library and updated the submodule here; I'll open a PR over there once this one's in good shape.
Thanks for so patiently explaining like every part of this project to me as I go.
I started messing with the regex to consider //-comments and both leading and trailing comments. I got pretty lost. I tried again with an NSScanner approach and despite the inflation in lines of code it seems clearer to me. There are currently failing strings tests but they're cosmetic; I need to nail down what the merged comments should look like and then test that they look like that. I'll look into the other test failures too, but that's all for today.

The comment property is now available in the StringResource in the master branch of R.swift.Library.

I've created a Swift 3 version of this PR: https://github.com/mac-cain13/R.swift/pull/283


[Task][Styling][Filing Home] Squished centering and integrated Alerts

Fixed via a number of design reviews on this page.


Fixes for ProtocolView

any-object representation in ADL

Closing as LLC View will be replaced with Swagger view.


Enable implicit Parquet to Kusto types conversion

Added configuration option that enables implicit Parquet to Kusto types conversion.

@sloutsky


Fixing flag name for db_file

Coverage remained the same at 86.105% when pulling 73ad3eb5a3eb3192226e3cdeabcc8b4e4735712a on mtlynch:db-file into 56b1dab8d1273ce9218b16bc14b6cc5dbf582da9 on JeetShetty:master.


⚠ Empornium has degraded performance

In 4aa194f, Empornium ($EMP) experienced degraded performance:

HTTP code: 500
Response time: 1310 ms

Resolved: Empornium performance has improved in 027a722 after 6 minutes.


Search editor stopped showing partial results

Issue Type: Bug
Recently when I do a large (many GB of files) text search from the Search sidebar, it shows almost instant results as the results accumulate across those files.
However, when I click the link from search to "Open in editor" the search behavior has changed. The Search: tab shows a spinning progress indicator for a long time, until all results are ready then it suddenly populates the results.
I think we need to revert since this is a regression. It should show partial results as they are discovered, and not show a blank page for a long time. It makes it feel like search is hanging, and I become impatient waiting for nothing to appear.
For example clone http://github.com/MicrosoftDocs/azure-docs/ and search for string: https://azuremarketplace.microsoft.com/marketplace/apps
VS Code version: Code 1.61.0 (ee8c7def80afc00dd6e593ef12f37756d8f504ea, 2021-10-07T18:13:09.652Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.92GB (4.04GB free)

Process Argv
--crash-reporter-id a79d1c81-fab0-47ee-be85-209d21b1bf06

Screen Reader
no

VM
0%

Extensions (42)

Extension
Author (truncated)
Version

vscode-sidebar
Acr
1.2.0

LinkCheckMD
bla
0.3.1

docs-toc
cil
1.5.0

markdown-table-prettify
dar
3.5.0

vscode-markdownlint
Dav
0.44.4

docs-article-templates
doc
0.2.11

docs-authoring-pack
doc
0.1.15

docs-build
doc
0.3.7

docs-images
doc
0.0.9

docs-linting
doc
0.0.7

docs-markdown
doc
0.2.100

docs-metadata
doc
1.0.7

docs-preview
doc
0.3.57

docs-scaffolding
doc
0.0.11

docs-visual-areas
doc
0.2.1

docs-yaml
doc
0.2.7

vscode-pandoc
Dou
0.0.8

gitlens
eam
11.6.1

markdown-table-formatter
fcr
2.2.3

sort-json-array
fvc
3.0.1

vscode-pull-request-github
Git
0.31.0

json-compact-prettifier
ina
1.1.0

json2csv
kha
0.0.1

wordcounter
kir
2.3.0

prettify-json
moh
0.0.3

csharp
ms-
1.23.15

python
ms-
2021.10.1317843341

vscode-pylance
ms-
2021.10.0

jupyter
ms-
2021.9.1001312534

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.3

azure-account
ms-
0.9.9

azurecli
ms-
0.5.0

github-issues-prs
ms-
0.9.3

powershell
ms-
2021.10.0

vscode-commons
red
0.0.6

vscode-yaml
red
0.23.0

code-spell-checker
str
2.0.9

Poplink
ted
0.3.2

vscode-markdown-table-format
Tom
1.0.1

vscode-asa
usq
0.0.2

markdown-pdf
yza
1.4.4

(1 theme extensions excluded)

A/B Experiments
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vshan820:30294714
vscod805:30301674
vsccppwt:30377799
bridge0708:30335490
bridge0723:30353136
vsqsis300:30374797
vsaa593:30376534

The search editor has always not provided partial results, though what you may be experiencing here is that we sometimes directly copy the results over from the search view (for instance when the set of results has been modified), which should be instant; whereas at other times recompute the entire result set in order to provide context lines, which would take some time in larger repos.
Additionally, we did recently add the search.maxResults setting and change the default limit from 10,000 to 20,000, which could be a cause for some of the slowness.

Ah, yes that repo is absolutely massive... I recommend using workspaces to only open a subset of the folders, or perhaps configuring search.exclude to better filter out the sections you don't want to wait for. The search editor itself has never shown partial results due to problems related to maintaining a consistent ordering of the results as they stream.


[BUG] 537 is not published on pub dev

This PR is merged but not deployed on pub dev...
https://github.com/bluefireteam/photo_view/pull/537

@renancaraujo

@renancaraujo ?


[Dropdown] - Search gets more results than it should

Steps to Reproduce

Search a short text on a .ui.search.dropdown with fullTextSearch true
Example: "rose" on this jsfiddle: http://jsfiddle.net/bcqdq91e/7/
See the results.

Expected
With the 2nd dropdown I must get only 2 results.
Result
Get more results.
Version
Semantic-UI 2.1.7
Testcase
Please see this fiddle
http://jsfiddle.net/bcqdq91e/7/

I just noticed that the way Semantic UI's dropdown does its fuzzy search is by the ordering of the queries' characters. (https://github.com/Semantic-Org/Semantic-UI/blob/master/src/definitions/modules/dropdown.js#L744)
In the "rose" example, it first looks for an "r", then looks for an "o" after the first match, then for an "s" after the second match… and so on.
That's why the "Barcelo" entry appears for "rose" but disappears for "roses". The matches are: "BARCELO GRAND FARO LOS CABOS - ALL INCLUSIVE". For "roses", there's no S after the final E, so it's discarded as a result.
Maybe this is intended behavior (so it's not a bug per se), but it'd be more natural to use a Levenshtein-based algorithm with a short edit distance or something like that, as an improvement.

I see.
So this basically breaks some sections in my current project because before this was working "fine".
I have opted for Dropdown and remote content and care by myself for the search.
http://semantic-ui.com/modules/dropdown.html#remote-content
I need to fix my other .ui.search dropboxes :C

@ardamose123 thanks for the reply ^^

We implement fuzzy search, this is adapted from this repo. This is similar to mistyping a search query into google.com.


Merge AlephBFT into Blockchain sample node

For our hackathon we started: https://github.com/prince-chrismc/pyrsia-sandbox/tree/aleph-substrate-node
This needs to be rebased and moved to the example + library so we can get starting with making improvements

Criteria

have all the code compile in this repository
example should do consensus over AlephBFT

This is blocked by https://github.com/pyrsia/pyrsia/issues/320


for (const x in #b) is allowed

🔎 Search Terms
Private identifier, for...in
🕗 Version & Regression Information

This changed between versions 4.5.5 and 4.6.4

⏯ Playground Link
https://www.typescriptlang.org/play/?ts=5.5.0-dev.20240603#code/MYGwhgzhAECC0G8BQ1oGIBGAKAlIlq0AZgPYBO0WwJAdhAC7RjQCWN6Geyh0Avgf35A
💻 Code
class A {
  #b() {
    for (const a in #b) {
    }
  }
}

🙁 Actual behavior
No errors
🙂 Expected behavior
Error: Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression
Additional information about the issue
Noticed this while working on https://github.com/typescript-eslint/typescript-eslint/pull/9232. There's a very suspicious condition in code: https://github.com/microsoft/TypeScript/blob/5a4134470128a062a8297f404dfb3321f8f55798/src/compiler/checker.ts#L33699
    function checkGrammarPrivateIdentifierExpression(privId: PrivateIdentifier): boolean {
        if (!getContainingClass(privId)) {
            return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);
        }

        if (!isForInStatement(privId.parent)) {
            if (!isExpressionNode(privId)) {
                return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);
            }

            const isInOperation = isBinaryExpression(privId.parent) && privId.parent.operatorToken.kind === SyntaxKind.InKeyword;
            if (!getSymbolForPrivateIdentifierExpression(privId) && !isInOperation) {
                return grammarErrorOnNode(privId, Diagnostics.Cannot_find_name_0, idText(privId));
            }
        }

        return false;
    }

I don't know what isForInStatement is supposed to do there. I was unable to find the commit that introduced this—git blame took me to #44648 but that didn't have this condition.

Launched bug fix #58798 it seems that some of the logics were introduced in the bug fix #46824 .
Some of the thoughts here: first into logic getContainingClass(), after that,  check whether it's in a for-in block and privId is the initializer part of the for-in, if so, this would be caught by the checkForInStatement().
Then into the isExpressionNode() logic, which would only allow privId be the left side of the In-expression, which the problem of right sight of for-in block would solved with a Error Diagnosis.
After these logic, we can make sure only privIds in In-expression come out and then we check its declaration.


Bump libssh2 to 1.6.0

Looks like this is outdated now, since master is on 1.6.0

It seems master is still on libssh2 1.4.3. Should this issue be reopened?

Yeah, looking at the libssh2 directory, the current libssh2.h file states it's version is 1.4.3


implement EDTF validationDataType for Literals

Why was this change made?
Fixes #3301 - implements EDTF validation for Literals.
After:

How was this change tested?
unit tests added akin to those for dateTimeStamp, dateTime and integer literal validationDataType
Which documentation and/or configurations were updated?

BUILD:  integration test appears to be choking on edtf package.  Does something need to change in our docker container?

@justinlittman   It appears that the esm module needed for serializer-jsonld-ext upgrade does NOT play nicely with the edtf module.

From the failed integration test, it looks like a polyfill is needed for assert. I added it.

What makes you say
|  It appears that the esm module needed for serializer-jsonld-ext upgrade does NOT play nicely with the edtf module.
?

See https://github.com/inukshuk/edtf.js/issues/35


⚠ Secret-Cinema has degraded performance

In 98b5221, Secret-Cinema ($SC) experienced degraded performance:

HTTP code: 200
Response time: 1525 ms

Resolved: Secret-Cinema performance has improved in d01c3a4 after 7 minutes.


Fast model switching (UI/UX)

I want to be able to switch between models more quickly.
Currently, it requires multiple mouse clicks and searching (and long distances between clicks).
(Model favorites or keyboard support for autocomplete suggestions come to mind)

makes sense, i'm gonna add a command-palette (cmd+k) similar to vscode's for fast model switch and other stuff with just keyboard


light.yeelink_color5_6757_light fails

Эта ошибка возникла в кастомной интеграции.
Logger: homeassistant.helpers.entity
Source: custom_components/xiaomi_miot/core/xiaomi_cloud.py:444
Integration: Xiaomi Miot Auto (documentation, issues)
First occurred: 11 марта 2022 г., 22:27:23 (84 occurrences)
Last logged: 07:29:26
Update for light.yeelink_color5_6757_light fails
Update for binary_sensor.lumi_v2_768e_motion_sensor fails
Update for alarm_control_panel.lumi_mgl03_b83a_arming fails
Update for binary_sensor.lumi_v2_6147_magnet_sensor fails
Update for binary_sensor.lumi_v2_3464_motion_sensor fails
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 411, in connect
self.sock = ssl_wrap_socket(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/local/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/local/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
socket.timeout: _ssl.c:1112: The handshake operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 385, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='ru.api.io.mi.com', port=443): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 535, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 752, in async_device_update
await task
File "/config/custom_components/xiaomi_miot/binary_sensor.py", line 341, in async_update
await super().async_update()
File "/config/custom_components/xiaomi_miot/binary_sensor.py", line 126, in async_update
await super().async_update()
File "/config/custom_components/xiaomi_miot/init.py", line 1234, in async_update
results = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 47, in get_properties_for_mapping
rls = self.get_props(pms)
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 62, in get_props
return self.request_miot_spec('prop/get', params)
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 71, in request_miot_spec
rdt = self.request_miot_api('miotspec/' + api, {
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 157, in request_miot_api
rsp = self.request_rc4_api(api, params, method, **kwargs)
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 444, in request_rc4_api
response = self.session.post(url, data=params, timeout=timeout)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 577, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 532, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='ru.api.io.mi.com', port=443): Read timed out. (read timeout=10)

Check your network.

Checked, maybe trouble in Nabu Casa. All other network parameters are normal


Fix cookies not saving, and SteamID

This allows functions marked with nolimits in QueueCommand (lua.js) have infinite run time (BE CAREFUL!)
This stops cookies from dying, and stops SteamID from being changed from sandboxed lua

i'm sorry for the dumb commit in the commits since i am bad at git


sidecar history equivalence relation should use what we have in plugin-kubectl/get

Problem

the current default history comparator for the sidecar is sameCommand, which is fragile; e.g. k get pod mypod -o yaml versus k get pod mypod -o yaml -n default which should present as one history entry, but... won't

the comparator approach we use for overriding is not serializable (important for snapshot/replay)

An example scenario:

k apply -f ...
k get -o yaml
k apply -f to update
k get -o yaml

Before replay, you would see two sidecar history entries, because the kubectl plugin offers a comparator that respects resourceVersion; after replay, you will only see one, because the comparator does not survive serialization.
Proposal

Get rid of the comparator in MMR (mark as deprecated until the next major)
Use the comparator from plugin-kubectl as the default
Add resourceVersion, if it's not already, to MMR

no longer relevant with inline sidecar


tf.repeat fails with jit_compile when repeats is a tensor!

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information:

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Ubuntu 20.04.3
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):compiled from source
TensorFlow version (use command below):2.5.6
Python version:3.8
Bazel version (if compiling from source):bazel 4.2.1
GCC/Compiler version (if compiling from source):9.3.0
CUDA/cuDNN version:NA
GPU model and memory:NA

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
tf.repeat fails if the repeats argument is a tensor
Describe the expected behavior
Contributing

Do you want to contribute a PR? (yes/no):
Briefly describe your candidate solution(if contributing):

Standalone code to reproduce the issue
import tensorflow as tf
import tensorflow_probability as tfp
import numpy as np

####
#### test repeat within jit_compile
####

repeats = tf.constant([10, 5, 1])

@tf.function(jit_compile = True)
def repeat_vector(x):
    return tf.repeat(x, repeats, axis=-1)

x = [1., 2., 3.]
repeat_vector(x)

Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
2021-11-01 19:00:56.491404: I tensorflow/compiler/xla/service/service.cc:171] XLA service 0x221bf60 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-11-01 19:00:56.491446: I tensorflow/compiler/xla/service/service.cc:179]   StreamExecutor device (0): Host, Default Version
2021-11-01 19:00:56.496213: W tensorflow/core/framework/op_kernel.cc:1692] OP_REQUIRES failed at xla_ops.cc:247 : Invalid argument: Detected unsupported operations when trying to compile graph __inference_repeat_vector_58[_XlaMustCompile=true,config_proto="\n\007\n\003CPU\020\001\n\007\n\003GPU\020\0002\002J\0008\001\202\001\000",executor_type=""] on XLA_CPU_JIT: Where (No registered 'Where' OpKernel for XLA_CPU_JIT devices compatible with node {{node Repeat/boolean_mask/Where}}){{node Repeat/boolean_mask/Where}}
The op is created at:
File "test_repeat.py", line 20, in <module>
  repeat_vector(x)
File "test_repeat.py", line 14, in repeat_vector
  return tf.repeat(x, repeats, axis=-1)
Traceback (most recent call last):
  File "test_repeat.py", line 20, in <module>
    repeat_vector(x)
  File "/home/mabba/tf_cpu_source/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 885, in __call__
    result = self._call(*args, **kwds)
  File "/home/mabba/tf_cpu_source/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 956, in _call
    return self._concrete_stateful_fn._call_flat(
  File "/home/mabba/tf_cpu_source/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 1963, in _call_flat
    return self._build_call_outputs(self._inference_function.call(
  File "/home/mabba/tf_cpu_source/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 591, in call
    outputs = execute.execute(
  File "/home/mabba/tf_cpu_source/lib/python3.8/site-packages/tensorflow/python/eager/execute.py", line 59, in quick_execute
    tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.InvalidArgumentError: Detected unsupported operations when trying to compile graph __inference_repeat_vector_58[_XlaMustCompile=true,config_proto="\n\007\n\003CPU\020\001\n\007\n\003GPU\020\0002\002J\0008\001\202\001\000",executor_type=""] on XLA_CPU_JIT: Where (No registered 'Where' OpKernel for XLA_CPU_JIT devices compatible with node {{node Repeat/boolean_mask/Where}}){{node Repeat/boolean_mask/Where}}
The op is created at:
File "test_repeat.py", line 20, in <module>
  repeat_vector(x)
File "test_repeat.py", line 14, in repeat_vector
  return tf.repeat(x, repeats, axis=-1) [Op:__inference_repeat_vector_58]

Hi @sanatmpa1! Could you please look at this issue ? It's replicating in 2.5,2.6 and nightly.

@MedAbdelkaderAbba,
Can you take a look at this documentation which says,

The jit_compile API has must-compile semantics: either the entire function is compiled with XLA, or an errors.InvalidArgumentError exception is thrown.

As per the error trace, it says that No registered 'Where' OpKernel for XLA_CPU_JIT devices compatible with node and since you have an unsupported operation, InvalidArgumentError is thrown which is expected. Can you try using auto-clustering for your case and try if it helps? Thanks!

@sanatmpa1,
I am not sure I understand the auto-clustering part. I tried to set the following options in the code but nothing changed:
import os
  os.environ['TF_XLA_FLAGS'] = '--tf_xla_auto_jit=2 --tf_xla_cpu_global_jit``

Also, my concern is that the above code workd fine when the argument ''repeats" was a list
import tensorflow as tf
import tensorflow_probability as tfp
import numpy as np
import os
os.environ['TF_XLA_FLAGS'] = '--tf_xla_auto_jit=2 --tf_xla_cpu_global_jit'
####
#### test repeat within jit_compile
####

#repeats = tf.constant([10,5,1])
repeats = [10,5,1]
@tf.function(jit_compile = True)
def repeat_vector(x):
    return tf.repeat(x, repeats)

x = tf.constant([1., 5., 10.])
tf.print(repeat_vector(x))

this behavior is counter intuitive.

The support for Where op in XLA was added recently and should be available in TF nightly.
@MedAbdelkaderAbba Could you please try to run the original code snippet again to check if this is resolved?
Thanks!

@MedAbdelkaderAbba This issue is not replicating in the latest TF versions, could you please refer to the attached gist and confirm the same?
Thanks!


Conditional requiredIf breaking on change

See http://stackoverflow.com/questions/32641467/conditional-validation-in-vuejs for details of problem and code. Essentially, I am trying to conditionally require different fields based on a boolean value. Validation seems to break if the boolean is changed from false to true and back to false.
If someField is true, I want fieldA to be required. If someField is false, I want fieldA to  NOT be required, fieldB and fieldC to be required.

I'd really appreciate some thoughts on this. Please let me know if further information is required. Thanks!

Sorry for late reply.
I checked your stackoverflow code.
Sorry, I cannot understand this essential issue.
Would you provide a your reporting code with jsfiddle ?
That time, I would appreciate if you provide a reproducible to me.

I honestly don't know how else to explain it. If a condition (observerEntry) is true, two fields (shiftEntry.observerFirstName, shiftEntry.observerLastName) need to be required while a third field (shiftEntry.member) is not required. If observerEntry is false, shiftEntry.observerFirstName and shiftEntry.observerLastName are NOT required and shiftEntry.member IS required. So. all three fields need to be required_if based on the boolean observerShiftEntry.
I was able to solve this not using the validation library but I'd like to see if it's possible using vuejs-validator. Here is a jsfiddle with the code NOT using your library to show the desired result - https://jsfiddle.net/6gpryhep/
If the  Role is anything but blank or "Observer," the form will validate when a "Member" is selected. If it is set to "Observer," the form will validate after First Name and Last Name have been entered. This is based on the computed boolean of observerShift. So, again, First Name and Last Name are "required if" observerShift is true.

Thank you for your jsfiddle code !!
I tried to  reproduce you have a problem.
https://jsfiddle.net/kazupon/gqLdjL3d/5/
Is this right ?

The desired result is shown in the jsfiddle I provided. If the role is anything but empty or "Observer" and a Member is selected, the form validates successfully. If "Observer" is set but the First Name and Last Name fields are not entered, the form is invalid.
In your example, the form is only valid if the Member is selected (so Role anything other than empty or Observer) AND the First Name and Last Name fields are not empty. The First Name and Last Name fields should only be required if Observer is not set. Likewise, Member should only be required if Role is not set to Observer.
Also, your fiddle is displaying the same behavior I noticed previously - when the page loads, the Member field is blank and highlighted in red indicating the error. If showObserver is set to true and then back to false, validation on the member field seems to break and the validation object becomes empty { }

Close


Bash Package Manager Addition

Previously in the description of the Bash language, there was no mention of bash package managers. This pull request is primarily addressing that.

As well as fixes to the bash scripting, I have added another programming language; Batch scripting. Though it is similar to Bash scripting, it is a separate language and therefore deserves its own place in the library.

Thank You For Contributing!


Callback function not called when a user does a custom json transaction (steemmonsters) through steemkeychain in one tab and a transfer transaction (kryptogames) through steem keychain in other tab at exactly the same time

Callback function of kryptogamers is not called when a user does a custom json transaction (steemmonsters) through steemkeychain in one tab and a transfer transaction (kryptogames) through steem keychain in other tab at exactly the same time.


Feature/port form changes

SEEK ANZ recently changed the API of their form components to deprecate the inputProps format in favour of directly accepting the props individually on the root level component.
This change makes it easier to work with forms-ui, the simple alternative to redux-form developed from the SEEK ANZ candidate team.
SRP team ran into some serious troubles involving redux-form and IME input for Chinese characters, so we're pretty keen to get off it.  Picking up this change will help us there.

Note - I don't actually know if there are breaking changes yet, I intend to test it out in a spike branch in SRP.  I've opened the PR early to demonstrate the changes, will amend the description if it's not backwards compatible
(SEEK ANZ released these changes as a feature bump rather than a breaking change so hopefully? 🤷♀ )

Tested in SRP, appears to be backwards compatible!  Is anyone else using form controls from the styleguide that could potentially be impacted?

Seems to be fine, we are merging changes from the seek style guide right? I assume they have been properly checked in there and it is a matter of it not breaking our stuff. In which case I will trust your testing.


Failed to parse iso8583 packet.

I started ISO Host Emulation and “Self Test” Clients:
node socketQueue.js --upstreamHost=localhost --upstreamPort=5000 --listenPort=8080 --vv --echoServerPort=5000
I used your example:
curl -H "Content-Type: application/json" -X POST -d '{ "0": "0200",  "3": "0",  "4": 1000,  "7": "0818160933",  "11": 618160,  "12": "150820130600",  "22": "056",  "24": "200",  "25": "00",  "35": "4850781234567891=19082012232800000037",  "41": 992468,  "42":<PHONE_NUMBER>43,  "49": "810",  "55": "9f2608571f1e10d4fa4aac9f2701809f100706010a03a4b8029f37045bb074729f3602000c950500800010009a031508189c01009f02060000000010005f2a02064382023c009f1a0206439f03060000000000009f3303e0f0c89f34034403029f3501229f1e0835313230323831358407a00000000310109f41030000565f340101" }' http://localhost:8080
I got this error:
2016-08-31 22:43:34 - info: The queue is empty
2016-08-31 22:43:39 - info: Client ::1:6798 connected
2016-08-31 22:43:39 - info: Client ::1:6798 sent data (656b)
2016-08-31 22:43:39 - verbose: [POST...H...]
2016-08-31 22:43:39 - info: ::1:6798: Warning! Failed to parse iso8583 packet. W
on't queue!
2016-08-31 22:43:39 - info: Client ::1:6798 <end> event
2016-08-31 22:43:39 - info: Client ::1:6798 <close> event

It seems to work previously....

Hi!
The reason why you get this error is you run the service using --listenPort=8080 option, that opens raw ISO-8583 service on port 8080. You should use --listenHttpPort=8080 instead. Or you can use both, but with different ports specified.

Oppsss, I got it wrong. Thanks anyway.

Also, please keep in mind that in order to produce a correct packet you need no update the field 12 to the current data, where value should be formatted as YYMMDDHHmmss.
No problem! Feel free to ask. Already made a change in the debug output that will make this situation more clear.

Hi,
I change the F12 already but still got packet expired output. Pls help to check. Thank you
{ "0": "0200",  "3": "0",  "4": 1000,  "7": "0922143500",  "11": 618160,  "12": "200922143500",  "22": "056",  "24": "200",  "25": "00",  "35": "4850781234567891=19082012232800000037",  "41": 992468,  "42":<PHONE_NUMBER>43,  "49": "810",  "55": "9f2608571f1e10d4fa4aac9f2701809f100706010a03a4b8029f37045bb074729f3602000c950500800010009a031508189c01009f02060000000010005f2a02064382023c009f1a0206439f03060000000000009f3303e0f0c89f34034403029f3501229f1e0835313230323831358407a00000000310109f41030000565f340101" }
2020-09-22 14:43:20 - verbose: http:::1:50016: Warning! Iso8583 packet is expired. Won't queue!
 [Purchase Request <expired>]

 Message Type Indicator [0].......................0200
 Bitmap [1].......................................3230058020c08200
 Processing Code [3]..............................0
 Amount, Transaction [4]..........................1000
 Transmission Date and Time [7]...................0922143500
 System Trace Audit Number [11]...................618160
 Time, Local Transaction [12].....................200922143500
 Pos Entry Mode [22]..............................056 (Card Data Input Mode: <Integrated circuit card read; CVV data

reliable>; Cardholder Auth Method: )
Function Code [24]...............................200
Pos Condition Code [25]..........................00
Track 2 Data [35]................................485078******7891=19082012232800000037
Card Acceptor Terminal Identification [41].......00992468
Merchant Id [42].................................000124642124643
Currency code, transaction [49]..................810
EMV Data [55]....................................9f2608571f1e10d4fa4aac9f2701809f100706010a03a4b8029f37045bb074729f
3602000c950500800010009a031508189c01009f02060000000010005f2a02064382023c009f1a0206439f03060000000000009f3303e0f0c89f3403
4403029f3501229f1e0835313230323831358407a00000000310109f41030000565f340101
================================================================================================

Hi! I suggest you compare the field 12 date with the log entry time. The values may differ one from another.

i dont understand by comparing log entry time, because I got the same error

Hi! You can find, debug and modify the logic that detects if packet is expired here: https://github.com/juks/iso-8583-socket-queue/blob/6dab9e2e4bf8e5f22d14b320fc0dbe050ba2e9ce/lib/iso8583/lib/packager/smartVista.js#L323

Hello I'm currently working on iso8583 system I tried updated the field 12 as requested and I got
2022-05-10 10:41:03 - info: Connecting to upstream server <IP_ADDRESS>:5000
2022-05-10 10:41:03 - info: Relay HTTP server is now running on port 3030
(node:22129) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
2022-05-10 10:41:12 - info: New HTTP socket
2022-05-10 10:41:12 - info: Client http:::1:51295 connected
2022-05-10 10:41:12 - info: Client http:::1:51295 sent data
2022-05-10 10:41:12 - verbose:
http:::1:51295
 [Purchase Request]

 Message Type Indicator [0].......................0200
 Bitmap [1].......................................3230058020c08200
 Processing Code [3]..............................0
 Amount, Transaction [4]..........................1000
 Transmission Date and Time [7]...................0818160933
 System Trace Audit Number [11]...................618160
 Time, Local Transaction [12].....................652175098172
 Pos Entry Mode [22]..............................056 (Card Data Input Mode: <Integrated circuit card read; CVV data reliable>; Cardholder Auth Method: <Signature Based>)
 Function Code [24]...............................200
 Pos Condition Code [25]..........................00
 Track 2 Data [35]................................485078******7891=19082012232800000037
 Card Acceptor Terminal Identification [41].......00992468
 Merchant Id [42].................................000124642124643
 Currency code, transaction [49]..................810
 EMV Data [55]....................................9f2608571f1e10d4fa4aac9f2701809f100706010a03a4b8029f37045bb074729f3602000c950500800010009a031508189c01009f02060000000010005f2a02064382023c009f1a0206439f03060000000000009f3303e0f0c89f34034403029f3501229f1e0835313230323831358407a00000000310109f41030000565f340101

================================================================================================
2022-05-10 10:41:12 - info: Writing to queue http:::1:51295 [0]
2022-05-10 10:41:12 - info: New queue item 0
2022-05-10 10:41:12 - info: Processing queue [pending 1 / total 1]
2022-05-10 10:41:12 - verbose: Queue keys dump: 0
2022-05-10 10:41:12 - info: Socket is not connected yet...
Please can someone help to explain why I'm getting this ?

Hi! As to the warning, I think you need to use node --trace-warnings as suggested to find the reason.
Socket is not connected yet... means there is no connection to the upstream host.

I can't point any specific community, but there have to be many. Also, there is a good web resource dedicated to iso8583: https://iso8583.info/

Hello mate, kindly, I'm having issues the with iso-socket-queue package, it
seems it does not accept an xml request body because the third party I'm
trying to integrate with. I would appreciate any form of help from you.
Thanks.
On Thu, May 12, 2022 at 10:09 AM Igor Askarov @.***>
wrote:

I can't point any specific community, but there have to be many. Also,
there is a good web resource dedicated to iso8583: https://iso8583.info/
—
Reply to this email directly, view it on GitHub
https://github.com/juks/iso-8583-socket-queue/issues/3#issuecomment-1124725572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASWBO2VORVWIJQXPFAQ6OGDVJTDFLANCNFSM4COGY5ZQ
.
You are receiving this because you commented.Message ID:
@.***>

Hi! It accepts no xmk but json format.


feat(MoneyInput): description in helper text like TextField

follow TextField for placing description in helper text

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Flatten DREAM data JSON files

The idea is for the JSON files to include array of {schema} (e.g. Tag, Organization) or {schema}CreateRequest objects (e.g. Grant, Challenge). This approach will simplify the validation of the JSON data and seeding the database.
For example, the challenge objects listed in challenges.json have their property organizerIds set to an array of PersonCreateRequest objects. However, this approach clashes with the ROCC schemas that says that organizerIds should be set to an array of string (Person ID). Here the proposed solution is to update the process that generates the JSON files to do the following:

Create a file persons.json that includes the list of Person object to create. For each Person object, set Person.id to a randomly generated id that follow the expected schemas of Person.id.
Update the Challenge objects so that Challenge.organizerIds include the correct Person IDs.

Extending this approach to all the properties of all the schemas when needed, the resulting JSON files will be compliant with the ROCC schemas.
The script that seeds the data base will then be responsible to replacing "temporary IDs" by "real ID" once the objects have been created. Temporary IDs must only be generated for objects that have their IDs generated by the API service (Grants, Challenges, Persons, etc.).
@rrchai Please update the file via a PR that target #82

Thanks @tschaffter:
My original approach was to

use persons object (organizers) from challenge object to seed the persons
then add new property (organizerIds) into challenge object using the response personIds

"challenges": [                                         "challenges": [
    {                                                     {
            ...                                               ...
      "organizers": [a,b,c],   --> get personIds -->     "organizers": [a,b,c].
            ...                                          "organizerIds": [a-id, b-id, c-id]   --> seed challenge
                                                              ...
    }]                                                    }]

So the advantage of this approach is that we do not need to create a new persons.json file or worry about the order, but caveats will be we have to use any type since organizers is not in challenge schema and also it could be hard (at least to me) use multiple responses, such as grantIds.
I agree with you and I feel your approach is better and way cleaner.
I will update/add the following files:

[ ] two challenge.json: one still contain organizers, another use organizerIds with fake Ids
[ ] person.json

I hope that can help your testing.


MathJax

I'm using MathJax with your wonderfull parser. I already read the issue https://github.com/erusev/parsedown/issues/369 and followed the recommandation on https://github.com/erusev/parsedown-extra/issues/81.
It works fine, here is a preview of the result : Derivative rules
My problem is that I have to escape MarkDown characters to avoid problems. I noticed that with editors like Jupyter Notebook, you don't have too.
Instead of
$$ Q_{V_A} = 3 $$
I have to write :
$$ Q\_{V\_A} = 3 $$
I also have to escape inline markup \\( and \\) which is a bit tedious.
What is your recommandation to overcome these issues ?

But

oble

For this specific case, I think it should work okay:

In general the best action would be to have an extension to Parsedown prevent the parsing of things inside mathjax delimiters.
I think that this shouldn't be done in Parsedown core – since in general, markdown should work inside $$ and other mathjax delimiters. Having it not work might be surprising for those not using mathjax.


Cannot find WinForm Form Dialog triggered from Word Add-In

Hello,
I'm using WinAppDriver driven by Appium, trying to test a Word Add-In WinForms application, currently running into an issue trying to locate a dialog that appears.
The issue: We have a Microsoft Word COM Add-In that has a button on it that we use to open up a Form Dialog (calling xxx.ShowDialog(this). We have been using the both sessions and the wordElement callingxxxSession.FindByName, xxxSession.FindByAccessibilityId, xxxSession.FindByXpath, and xxxSession.FindByClass but still cannot find it.
I have opened up Inspect.exe and can hover over the dialog and it will bring show properties of the Dialog (confirming the Name and AutomationId and other values like Children controls and it's Ancestors), it does not show where it this element exists in the TreeView view of Inspect.exe which is on the left hand side.
Has anyone had this issue?
//This is how we are setting up the Sessions:
WindowsDriver<WindowsElement> driverWinWord;
WindowsDriver<WindowsElement> driverDesktop;
AppiumOptions optionsWinWord;
AppiumOptions optionsDesktop;

optionsWinWord = new AppiumOptions();
optionsWinWord.AddAdditionalCapability("app", "winword");
optionsWinWord.AddAdditionalCapability("appArguments", fileName);
optionsWinWord.AddAdditionalCapability("ms:waitForAppLaunch", "6");

driverWinWord = new WindowsDriver<WindowsElement>(new Uri(url), optionsWinWord);

optionsDesktop = new AppiumOptions();
optionsDesktop.AddAdditionalCapability("app", "Root");

driverDesktop = new WindowsDriver<WindowsElement>(new Uri(url), optionsDesktop);

var wordElement = driverWinWord.FindElementByClassName("OpusApp");

We have tried calling FindXXX within retry logic and tried using Appiums WebDriverWait technique in case it needed more time to find the element.
I have also looked at the PageSource of both of our sessions and cannot see the dialog in the XML, so I am pretty confident it isn't a timing issue, just that WAD cannot see it (even though Inspect.exe sees it, but just doesn't know where it is with regards to the rest of the controls on the desktop).
Any advice?
Let me know if you need some more information.

Get a WindowsElement to the word document
Navigate xml search for the popup relative to than element
I generally search by window title, rather than class

Thanks for getting back to me. We already get a WindowsElement for the instance of Word, can you show me what you mean to do an XML Search? Or do you mean XPath?

My guess based on
driverWinWord = new WindowsDriver(new Uri(url), optionsWinWord);
is
popupWindow = driverWinWord.FindElementByName(popupName) as WindowsElement;

At the moment we are unable to find this element within our session (I have tried FindByName, FindByAccessibilityId, FindByClass etc).

We are already trying this.

", it does not show where it this element exists in the TreeView view of Inspect.exe which is on the left hand side." Do you mean that inspect does not show the element.

Its not the entire code base, but it should get you started.
You will have to prune away the sanity checks (window visible etc)
 parentWindowName is the title of the word document being edited.
     for the file SpellCheck.docx is would be "SpellCheck.docx - Word"
StrWindowClass is the class name of the popup
    for the spell check popup it is "bosa_sdm_msword"
popupName is the name of the popup
    for spell check it is "Spelling: English (United States)"

GetRootWindow returns a WindowsElement to the Word application relative to the root

  public static WindowsElement FindClassPopupWindow(string parentwindowName,
                                                      string strWindowClass,
                                                      string popupName,
                                                      Int32 intDelayInSeconds)
  {
     Boolean bIsVisible;
     IntPtr intHandle;
     WindowsElement CreateNewProjectWindow;
     WindowsElement popupWindow;
     Int32 intTimeout;
     Int32 loopCount;
     Int32 loopLimit;

     bIsVisible = GuiTestUtilities.GuiRootAccess.IsRootWindowVisible(parentwindowName, 16);
     Assert.IsTrue(bIsVisible, "Root window not visible " + parentwindowName);

     intHandle = Utilities.OSWindowApi.FindClassPopUp(parentwindowName,
                                                      strWindowClass,
                                                      popupName);
     Assert.AreNotEqual(0, intHandle, "Popup window not visible" + popupName);

     Utilities.OSWindowApi.SetWindowFocus(intHandle);
     intTimeout = intDelayInSeconds + 10;
     CreateNewProjectWindow = GetRootWindow(parentwindowName, intTimeout);
     Assert.IsNotNull(CreateNewProjectWindow);

     loopCount = 0;
     loopLimit = (intDelayInSeconds + 2) / 3;
     popupWindow = null;
     while ((popupWindow == null) && (loopCount < loopLimit))
     {
        try
        {
           popupWindow = CreateNewProjectWindow.FindElementByName(popupName) as WindowsElement;
        }
        catch
        {
           loopCount += 1;
           popupWindow = null;

        }
     }
     return (popupWindow);

  }

", it does not show where it this element exists in the TreeView view of Inspect.exe which is on the left hand side." Do you mean that inspect does not show the element.

In the Inspect.exe tool there is a Left and Right view, the Left is a Treeview of all the controls laid out as a tree (parent > child etc), on the right is information about a highlighted tool. When I hover over the dialog I have information appearing about the dialog element in the Right  view, but not in the Left (as in it cannot show me who the parent element is).
Below is an example of an element appearing correctly in both left and right views (it is the "Paste" button in MSWord)

For our dialog it does not show or highlight it in the left view. I have tried going through each node and it is not there. However I can see information about it in the right hand control
Hope that makes sense?

Its not the entire code base, but it should get you started. You will have to prune away the sanity checks (window visible etc)
 parentWindowName is the title of the word document being edited.
     for the file SpellCheck.docx is would be "SpellCheck.docx - Word"
StrWindowClass is the class name of the popup
    for the spell check popup it is "bosa_sdm_msword"
popupName is the name of the popup
    for spell check it is "Spelling: English (United States)"

GetRootWindow returns a WindowsElement to the Word application relative to the root

  public static WindowsElement FindClassPopupWindow(string parentwindowName,
                                                      string strWindowClass,
                                                      string popupName,
                                                      Int32 intDelayInSeconds)
  {
     Boolean bIsVisible;
     IntPtr intHandle;
     WindowsElement CreateNewProjectWindow;
     WindowsElement popupWindow;
     Int32 intTimeout;
     Int32 loopCount;
     Int32 loopLimit;

     bIsVisible = GuiTestUtilities.GuiRootAccess.IsRootWindowVisible(parentwindowName, 16);
     Assert.IsTrue(bIsVisible, "Root window not visible " + parentwindowName);

     intHandle = Utilities.OSWindowApi.FindClassPopUp(parentwindowName,
                                                      strWindowClass,
                                                      popupName);
     Assert.AreNotEqual(0, intHandle, "Popup window not visible" + popupName);

     Utilities.OSWindowApi.SetWindowFocus(intHandle);
     intTimeout = intDelayInSeconds + 10;
     CreateNewProjectWindow = GetRootWindow(parentwindowName, intTimeout);
     Assert.IsNotNull(CreateNewProjectWindow);

     loopCount = 0;
     loopLimit = (intDelayInSeconds + 2) / 3;
     popupWindow = null;
     while ((popupWindow == null) && (loopCount < loopLimit))
     {
        try
        {
           popupWindow = CreateNewProjectWindow.FindElementByName(popupName) as WindowsElement;
        }
        catch
        {
           loopCount += 1;
           popupWindow = null;

        }
     }
     return (popupWindow);

  }

Ok great thank you. I will see if this helps and will report back.

", it does not show where it this element exists in the TreeView view of Inspect.exe which is on the left hand side." Do you mean that inspect does not show the element.

In the Inspect.exe tool there is a Left and Right view, the Left is a Treeview of all the controls laid out as a tree (parent > child etc), on the right is information about a selected/highlighted element. When I hover over the dialog I have information appearing about the dialog element in the Right view (like Name, ControlType, AutomationId, ClassName etc etc), but not in the Left (as in it cannot show me who the parent element is).
Below is an example of an element appearing correctly in both left and right views (it is the "Paste" button in MSWord)  For our dialog it does not show or highlight it in the left view. I have tried going through each node and it is not there. However I can see information about it in the right hand control
Hope that makes sense?

It do not particularly like using Inspect or Accessibility Insights.
Sometime it is necessarily to get the actual XML time synchronous with the execution of the testing code. (ie what Inspect see and what your test code sees may be different)
You can dump the session XML using
  public static void SaveSourceToFile(WindowsDriver<WindowsElement> session,
                                      string strFile)

  {
     bool bExists;
      var source = session.PageSource;

     Assert.AreNotEqual(source.Length, 0);

     bExists = Utilities.OSFileUtilities.DoesFileExist(strFile);
     if (bExists)
     {
        Utilities.OSFileUtilities.DeleteFile(strFile);
     }

     System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
     System.Xml.XmlTextWriter w = new System.Xml.XmlTextWriter(strFile,
                                                              System.Text.Encoding.BigEndianUnicode);
     xmlDoc.LoadXml(source);

     xmlDoc.WriteTo(w);
     w.Close();

  }

It do not particularly like using Inspect or Accessibility Insights. Sometime it is necessarily to get the actual XML time synchronous with the execution of the testing code. (ie what Inspect see and what your test code sees may be different)
You can dump the session XML using
  public static void SaveSourceToFile(WindowsDriver<WindowsElement> session,
                                      string strFile)

  {
     bool bExists;
      var source = session.PageSource;

     Assert.AreNotEqual(source.Length, 0);

     bExists = Utilities.OSFileUtilities.DoesFileExist(strFile);
     if (bExists)
     {
        Utilities.OSFileUtilities.DeleteFile(strFile);
     }

     System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
     System.Xml.XmlTextWriter w = new System.Xml.XmlTextWriter(strFile,
                                                              System.Text.Encoding.BigEndianUnicode);
     xmlDoc.LoadXml(source);

     xmlDoc.WriteTo(w);
     w.Close();

  }

Amazing thank!!

@DLightstone so for the above attached code FindClassPopup() I have assumed the line Utilities.OSWindowApi.SetWindowFocus(intHandle); is essentially:
[DllImport("user32.dll")]
public static extern bool SetForegroundWindow(IntPtr hWnd);

Is that correct?
At the moment I am struggling with what is: Utilities.OSWindowApi.FindClassPopUp(parentwindowName, strWindowClass,popupName);.
Are you able to share some light what these do please, I am trying to follow your example to find the dialog form. Cheers

FindClassPopUp is part of the sanity checks
It get the Windows window handle to the popup
you can eliminate the sanity checks
 bIsVisible = GuiTestUtilities.GuiRootAccess.IsRootWindowVisible(parentwindowName, 16);
 Assert.IsTrue(bIsVisible, "Root window not visible " + parentwindowName);

 intHandle = Utilities.OSWindowApi.FindClassPopUp(parentwindowName,
                                                  strWindowClass,
                                                  popupName);
 Assert.AreNotEqual(0, intHandle, "Popup window not visible" + popupName);

 Utilities.OSWindowApi.SetWindowFocus(intHandle);

=======================

@DLightstone  Ah I see! Thank you for confirming that.

@DLightstone apologies for not getting back to this sooner, with the holidays and ramping back up into work only just getting a chance to get back to you.
Unfortunately approach didn't make the difference. I appreciate the process that this code is essentially refreshing our Driver when there are changes made to the UI (like in my scenario the new Dialog box). However I was still unable to locate the Dialog using this.
Does anyone have any other ideas?

To dump the XML just before you want to look for the popup.
using  public static void SaveSourceToFile(WindowsDriver session,
string strFile)
See which windows are visible.

I will do that now.

Thank you @DLightstone for your assistance.
Finally figured out what was going on (well sort of) - essentially the framework we use to create a COM Add-In (AddinExpres) seemed to be sandboxing the dialog so we could never see or access it through Appium. Basically the way we instantiated the dialog it seemed to appear underneath the AddinExpress panel, however by calling the instantiation code in a different way was able to run it so that it would appear in Word as a control that I could access via Appium.
I think I may raise this with the framework and see if they can provide me with a reason it didn't work the original way.

@hicks86
Good to learn that.
I also made some discoveries.
In particular locating Word Documents via the document title (ie document name) is not a good idea.
Seems Microsoft used the title to convey status information as part of the title.
If you search on the document name only you may not find anything
To locate popups,  I decided FindByClass (of the popup) is more reliable

Ah yes @DLightstone  we have since moved away from trying to find it by name and do so via FindByClass() as well.
Thank you again I have learnt a fair bit during this invetigation proces aswell!!


Fix race condition in task redispatcher test

What changed?
Fix race condition in task redispatcher test

Why?
Fix race condition

How did you test it?
go test -run TestRedispatcherSuite  -race -v -count=100 passes

Potential risks
N/A

Coverage increased (+0.01%) to 68.87% when pulling 49a562cc4515ccc106401d2e4d040e3ab13c1706 on yycptt:fix-redispatcher-test into 24196c01f923648fe0b0317212c0cffed2a50dca on uber:master.


Error: Class "PDO" not found

When ever I visit the stats page or the dashboard it triggers an error. See below

It appears that its referencing a database but Grav is a flat CMS. Whats going on here? is this a bug?

Grav is a flat CMS (no database), but the grav-plugin-page-stats plugin store its statistics in a SQLite database.
So your PHP configuration must load sqlite driver.

Just to add, I encountered this when I was updating my localhost version, as Laragon by default does not enable sqlite in the php.ini. Maybe this should be included with installation advice/warnings, just in case.


[RMT] Allow reading of more data than fits into the peripheral's allocated RAM

Motivations
I'm trying to use the ESP's RMT peripheral to read more data than fits into its allocated RAM, so I'm looking to be able to write the incoming data into a longer buffer as it arrives by keying off of the relevant interrupts.
Solution
It looks like this functionality is already present for transmitting data in esp_hal::rmt::TxChannel (implementation) which differentiates between a channel transmitting a signal once vs. looping it.  SingleShotTxTransaction seems to do exactly what I was thinking of, except it reads from the longer buffer rather than writing to it.
Alternatives
The other option I'd considered was using the built-in DMA support that Espressif's docs mention, but it seems worse for a couple reasons.
A) DMA support for the RMT peripheral only exists on the ESP32S3 (and even there it's only for a single TX and a single RX channel), so it's less broadly useful
B) Building out DMA support looks like a much more involved process.
Given that it's more broadly-applicable and a blueprint seems to already exist in the form of SingleShotTxTransaction, I think that mirroring that functionality on the receive side is probably the better option.
Additional context
I'm happy to take a crack at shipping this change.  It'd be my first time submitting anything to the project, but it seems like a fairly self-contained change and doesn't look like it would require breaking changes.  That said, it might make sense to rename RxTransaction to ContinuousRxTransaction and change the RxChannel's receive method to receive_continuously or something for the sake of consistency between the transmit & receive sides.

👍
The TRM chapter about Wrap RX mode is what you need:

Great!  I'm finishing out a round of changes on a board I'm designing (actually the round of changes that necessitates this particular software change), and after that order goes out I'll get started on this -- likely in a couple days


Is there an existing issue for this?

[X] I have searched the existing issues.

Are you aware of the differences between iOS and Android background message handling?

[X] I understand that iOS and Android background messages behave differently, and I've designed my application with that in mind.

Do you have an active Apple Developer account?

[X] I have an active Apple Developer account.

Are you using a physical iOS device to test background messages?

[X] I am using a physical iOS device to test background messages.

Have you enabled "Remote Notifications" & "Background Mode" (Checking options for "Background Processing" & "Remote Notifications") in your app's Xcode project?

Have you created an APNs key in your Apple Developer account & uploaded this APNs key to your Firebase console?
yes without apn how notification trgiged in my app
Have you disabled method swizzling for Firebase in your app?

Are you sending messages to your app from the Firebase Admin SDK?
Future _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
print("msg: in function");
WidgetsFlutterBinding.ensureInitialized();
if (Platform.isAndroid) {
await Firebase.initializeApp(
options: const FirebaseOptions(
apiKey: 'AIzaSyDuGaX-9sEp22nlUAMv9BmnXdjLseJShsI',
appId: '1:338997931820:android:3f902c4690325716f54689',
messagingSenderId: '338997931820',
projectId: 'i-see-you-76767',
storageBucket: 'i-see-you-76767.appspot.com',
));
} else {
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
}// Ensure Fireb
Have you requested permission from the user to receive notifications?

[X] I have the relevant permission to receive notifications.

Have you used the 'Console' application on your macOS device to check if the iOS device's system is throttling your background messages?
nothing happen in log when background notification recieved
Additional context and comments
please give me proper guidence

Hi @MtoagF, this appears to be a duplicate of: https://github.com/firebase/flutterfire/issues/13442

I also have the same issue T_T

To many developers facing this issue , i don't understand what are doing firebase team

and they close this issue its not closed ...

@MtoagF, This issue was close because there's already an existing issue pointing to the same problem. That issue is still opened.


Ambiguous implicit conversion with FHIR R4

The following library:
library Query version '1'
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0' called FHIRHelpers

context Patient

define TestMedicationOrders:
  ["MedicationRequest"] M
	  where M.doNotPerform is true

Produces the error "Ambiguous implicit conversion between System.Boolean and System.Boolean"

The issue is that several of the implicit conversions in the FHIR model info are declared multiple times, and the conversion map internally isn't checking for duplicate conversions correctly, so it shows up as ambiguous conversion targets.

This issue needs to be applied to the v14 branch as well, as soon as that is merged to master

Addressed in v1.3.18-SNAPSHOT


Categorize content on qiskit optimization documentation

Classify the tutorials on the following links using the description table defined on this structure. You can add your summary on a comment below

[ ] Categorize qiskit optimization getting started page
[ ] Categorize qiskit optimization tutorials

As the content audit was deprioritized (see https://github.com/Qiskit/qiskit_sphinx_theme/issues/226#issuecomment-1477909804), closing for now.


[Rendering] Adds IsOrthographic case for AmbientOcclusion

Adds IsOrtho case for AmbientOcclusion that will work with orthographic cameras.
PR Details
Makes ambient occlusion work with orthographic cameras.
Description

The projection matrix of the current render view gets checked for orthographic projection
The shaders have a new generics variable IsOrtho that selects the right method to restore view depth and position
The Draw method of AmbientOcclusion sets the variable and adapts the projection parameters accordingly
Ambient occlusion only modulates RGB, not alpha

[ ] Needs cherry-pick to master branch

Good links that helped to make this PR:
Stride AO algorithm paper:
https://research.nvidia.com/publication/alchemy-screen-space-ambient-obscurance-algorithm
SSAO comparison, claiming stride one has the best quality to performance ratio:
http://frederikaalund.com/a-comparative-study-of-screen-space-ambient-occlusion-methods/
Reconstruct view position for ortho:
https://www.derschmale.com/2014/03/19/reconstructing-positions-from-the-depth-buffer-pt-2-perspective-and-orthographic-general-case/
Related Issue
Works well in our repo, see https://github.com/vvvv/VL.Stride/pull/505
Not tested in Stride Game Studio due to #1141
Motivation and Context
We had to use an orthographic camera for a large scale media installation.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

LGTM.
Two things:

We use IsOrthographic in various locations. Maybe better to switch to that? (however I agree even Stride is not consistent with itself because we also have methods such as Matrix.OrthoLH.
One extra thing to do is to find all .sdeffectlog files and add AmbientOcclusionBlur.IsOrthographic: false in the AmbientOcclusionBlurEffect parameters (just search/grep in the repo).

Xen2's suggestions have been implemented so I'll just merge this in then. Thanks !

Thanks!


Question about TEMPLATES config

I have a question about the TEMPLATES config in this project. It looks like this"
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        # Add dist to
        'DIRS': ['dist'],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

As we see  'DIRS'  has a list that looks like this  ['dist']. I want to know how the Django finds this directory which is outside of the Django project directory?

Paths are relative to current working direvtory (manage.py) and that's where dist would be


Preserve name of default branch in core::Term::ConstMatch

At the moment, we throw away the name of the binder when elaborating pattern matches to ConstMatch with a default branch
eg
match x {
    0 => 1,
    y => y,
}

elaborates to
match x {
    0 => 1,
    _ => _,
}

This patch preserves the name of the binding, making the elaborated core more readable

This is great, thanks!


Creating a Wallet with various useful functions

Project title
Creating a wallet
Project Description
With the help of which a user can
1> deposit ether to his wallet ,
2> send ether to another account and
3> check his own ether account balance.
This also comes with various restrictions imposed like only the owner can transfer ether to the reciever which is much needed in this case.
Domain

[x] Solidity

Are you contributing under any open-source program ?
SSOC22

Hey,  I would like to work on this issue.

@legendarykamal are u still working on this ?

I love to do this task .. Sir

hey everyone thanks for showing interest but this I guess already has been implemented.

@Vikash-8090-Yadav I am modifying this to an advanced version of creating a wallet, So please assign me this task.
I have updated the description :+1:

// @Vikash-8090-Yadav Please assign me and review the PR thanks

@Vikash-8090-Yadav this would be added in the level2 folder can we atleast have intermediate label for this ?

@legendarykamal  nope as u done only the basics things . Better try next time


Browser Compatability

Unable to run demo in IE11, Woring fine in Chrome.

Hari, I would recommend using this component altogether if you're planning on using Internet Explorer 11.   The fact that it wasn't test on Internet Explorer 11 indicates that it's not a high-priority and should be a clue as to where development effort is being focused on.   I think that would really be the safest conclusion.

Ya, we only target latest - 1.

@amcdnl I'm not sure I understand your comment.  Internet Explorer 11 is the latest version of that browser.


connect external to mySQL

Can i connect external to mySQL with MySQLworkbench ?

Here the same. I changed the my.cnf bind address but nothing

Ok, fixed, by connecting like this:
mysql -h localhost -P 3306 --protocol=tcp -u root


Fix destructuring with fallback

With this PR we properly permit destructurings to specify fallbacks:
function f1(options?: { color: string, width?: number }) {
    let { color, width } = options || {};  // Was error, now ok
}

function f2(options?: [string, number?]) {
    let [str, num] = options || [];  // Was error, now ok
}

Previously we would complain that "Initializer provides no value for this binding element and the binding element has no default value".
Fixes #26235.

@typescript-bot test this
@typescript-bot run dt

@typescript-bot test this
@typescript-bot run dt

Will this also work with non-optional properties/elements?
function f1(options?: { color: string, width: number }) {
    let { color, width } = options || {};  // does this result in 'color: string | undefined' and 'width: number | undefined'?
}

function f2(options?: [string, number]) {
    let [str, num] = options || [];
}

Will this also work with non-optional properties/elements?

We need a few more tweaks to that work. We currently consider (options || {}).color to be an invalid property access, but it ought to be allowed since we know we'll read undefined from the object literal.

@typescript-bot test this
@typescript-bot run dt

@ajafff
Will this also work with non-optional properties/elements?

@ahejlsberg
We need a few more tweaks to make that work. We currently consider (options || {}).color to be an invalid property access, but it ought to be allowed since we know we'll read undefined from the object literal.

I don't think that's right?
The protection here is not just for runtime error, but also for typos. As @RyanCavanaugh implied in his comment, the intention is to catch errors like this:
function getColorOption(options: { color: string }) {
  return (options || {}).colour;
}

To clarify: this change is brilliant and very helpful. Thanks a lot!!
Allowing the same for non-optional fields is what sounds wrong to me.

...the intention is to catch errors like this

Your example with the misspelled property is still an error (the || {} doesn't affect the type as the left argument is known to always be truthy). But consider this:
function getColorOption(options?: { color: string }) {
  return (options || {}).color;
}

Here we now add undefined to the resulting type because it is known we'll read undefined from a property that doesn't exist in an object literal.

@ahejlsberg it's actually possible for typos to sneak into the fallback object literal:
function getColorOption(options?: { color: string }) {
  return (options || {colour: 'red'}).color;
}

Would it make sense to use the LHS type as contextual type for the RHS and do excess property checking? Or would that break all other uses of fallback objects?

This is a breaking change in prettier. See #31762 for details.


Would the ldump be serialized, as it is called with pure require?

There could be issues, as the ldump._upvalue_mt itself isn't statically deserializable. If the ldump was reloaded, _upvalue equality in lua5.1/luajit would break, causing errors when deserializing upvalues.


Migrate customers away from storing large files in GitHub

User Story
As a Modernisation Platform Engineer
I want to prevent binaries from being stored in the modernisation-platform-environments repository
So that the repo is kept to a manageable size.
Value / Purpose
Storing large files in the modernisation-platform-environments repository affects all users of the repo as it will increase how much is pulled down during a git clone.
As there is little to no commonality in how these large files are used (ie. they tend to be customer-specific) then either customers should set up alternative storage (eg. S3) or the Modernisation Platform team should set up an appropriate way for these files to be stored and retrieved.
This improve the user experience as discussed in the context/background section.
Context / Background
Originally raised via Slack here: https://moj.enterprise.slack.com/archives/C01A7QK5VM1/p1729258958424539
Also as an issue here: https://github.com/ministryofjustice/modernisation-platform-environments/issues/8339
In short, if we pick this issue up for a sprint we should consider how best to move customers away from storing files in Git, rather than S3. Storing binaries in the repo pushes its size up significantly. There are interim steps we can take but GitHub is not an ideal location for storing large files given our broad range of users.
Useful Contacts
No response
Additional Information

Can we implement GitLFS as an interim step?
Who do we need to discuss this with (eg. Who is storing large files in modernisation-platform-environments)
Are we better off having customers manage their own storage needs (maybe not as they will be cross-account?)?
If we are to do this for them, what would provide them with the best solution?

Definition of Done

[ ] Raise this issue with affected customers
[ ] Gather user needs
[ ] Which solution is best for customers?

[ ] Customer lead approach?
[ ] MP provided approach?

[ ] Subordinate ticket(s) raised

Without wanting to define the solution I imagine something like this would be the path to take:

Raise awareness with customers
Implement GitLFS in the interim
Put solution in place
.gitignore large files (zip archives? gzip? executables?)

From executing the following command in the modernisation-platform-environments repository I can see the following teams storing zip files in GitHub:

team
archive total size

apex
24M

ccms-ebs
65M

contract-work-administration
24M

corporate-staff-rostering
1M

digital-prison-reporting
1M

edw
5M

electronic-monitoring-data
55M

tribunals
4M

xhibit-portal
1M

By way of comparison the total size of all .tf files according to du is around 11M.

application
contacted
outcome

apex
yes

ccms-ebs
yes
customer issue raised

contract-work-administration
yes

corporate-staff-rostering
yes
customer issue raised

digital-prison-reporting
yes
resolution in progress

edw
yes

electronic-monitoring-data
yes

tribunals
yes
customer issue raised

xhibit-portal
yes
discuss w/ support team

Still waiting on further customer action - once there's been some more movement I'll put a PR in to introduce *.zip to the modernisation-platform-environments .gitignore file.


Updated testing section of the readme

This PR closes #61. There was no fault in the current code base but the readme only lacked a description of how to set up the dev environment for executing the test cases.

The extended text regarding testing provides little additional contextual information.
The fact that pytest is used and that tests are located in the test folder is obvious from the "run pytest command"; thus, it does not provide an additional value for a reader.
This subsection in the README could be better used by describing aspects of the testing strategy.
For example, apart from unit tests, integration tests use the classifier and labeling model to verify the whole pipeline.
One aspect that needs to be added is that the model files must be present to run the tests.


Spelling errors in README.md

ALL CAPS showing them below! Last one, probably meant to be "diverse"?
More than 700 years ago, a massive disaster changed the course of history. The world was plunged into centuries of darkness, but the event also introduced the Adanadi - The Gift- a strange mark that appeared on all life. This mark would have a massive impact on HUMANITYH. CENTURERS later, the Earth is healing. New, advanced nations have risen. Ancient legends stir.
Coyote & Crow is a tabletop roleplaying game set in an alternate future where colonization of the Americas never happened. In this world that is both familiar and entirely new, you'll take on the role of heroic characters adventuring in a changing landscape.
Coyote & Crow is a bold look IINTO a different future full of possibilities and fresh perspectives, created and developed by a DIVER, Indigenous-led team.

Fixed in 1.0.1