ui.sortable + angularfire / firebase

I'm having really big issues in making ui.sortable work with angularfire / firebase when working with 2+ drag & drop lists on 2 models.
Technically what I'd like to achieve is working with 2 lists based on the same model with filters ( status:open, status:closed ), and when I drop an item from list a to list b it would simply change the model's status. Now that doesn't seem plausible at this stage from my research, so let's say we work with 2 models bound to a scope model.open, model.closed.
Issue 1 : The input data must be an array
It's super-easy to work with Firebase objects, as they auto-sync through 3-way-bindings. However currently it seems that ui.sortable requires an array. Arrays come with numeric indexes, which make it really hard to manage when you have multiple users working on the same data set at the same time.
E.g. I move list1[0] to list2, while somebody else is updating list1[1]'s value....
By using an Object I'd be moving list1["-ABC"] to list2, while the 2nd user would be updating list1["-DEF"]. No bigger concurrency issues here except handling a concurrent edit on list1["-ABC"] while it was moved to list2.
But even that can be handled by keeping them on the same model with a filter instead. Hence Object's keys are better for collaborative working.
Possible solutions :

Making ui.sortable work with Objects and doing list movements based on the Object's Key
Adding prototype methods to an Object to handle functions such as .splice() - seems messy

Issue 2 : Avoiding splice, pop, push, shift and unshift by using own methods
It's possible to work with Firebase and retrieve the data as an array https://www.firebase.com/docs/web/libraries/angular/guide/synchronized-arrays.html - however any operations that are done with splice(), pop(), push(), shift(), and unshift() won't be synced back to the server due to the dangers of numeric indexes and server-side changing data. ( See https://www.firebase.com/docs/web/libraries/angular/api.html#angularfire-firebasearray )
What Firebase suggests is instead using $add(), $remove(), and $save() methods with the array.
Possible solutions :

Is it possible to override the ui.sortable methods to use the above mentioned ones instead? So instead of using splice, push, etc, that we could define that it uses $add(), $remove(), and $save() instead? That way we'd have no sync problems, and the models update right away online and in the local models, so actually ui.sortable wouldn't have to update the arrays themselves.

Another solution that turned out very messy : Backing up the current array snapshot on beforeStop and update, and then deleting all old items at stop and finally re-adding items from the latest state to the firebase array. But this is a tremendously messy and error prone method while testing with one user alone; as basically each user keeps rewriting all data on every change.

Those are the 4 possible solutions. Any ideas? Overall I think a support for objects + keys would be really nice.

Related issues : https://github.com/firebase/angularfire/issues/19#issuecomment-31227995, https://github.com/firebase/angularfire/issues/200#issuecomment-39157760 and http://stackoverflow.com/questions/25896957/using-angular-ui-sortable-and-angularfire-is-there-a-way-to-save-the-new-order-t ( this one does the priority assignments on 'stop', doing that it saves the whole array back to firebase. However doesn't handle removing of moved items )
It would be really amazing if ui.sortable and angularfire/firebase could work out of the box!

You can build on top of that and implement callbacks for the remove and
receive options. I prefer this approach, since splicing an object isn't
going to be a performant solution (I think).
If you can provide me an example codepen, I could give it a try during
holidays.

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Hey @thgreasi, I have created a fix that currently works for me, by changing the sortable.js itself.
Check out the revision 2 of this gist : https://gist.github.com/mastef/0ae8ba7595cafad2c85f/revisions?diff=split
This works with an example code like :
	$scope.idea = $firebaseArray(fbutil.ref('todo/Idea').orderByPriority());
	$scope.idea.$loaded().catch(alert);

	$scope.inprogress = $firebaseArray(fbutil.ref('todo/InProgress').orderByPriority());
	$scope.inprogress.$loaded().catch(alert);

	$scope.done = $firebaseArray(fbutil.ref('todo/Done').orderByPriority());
	$scope.done.$loaded().catch(alert);

	$scope.sortableOptions = {
	  connectWith: ".connectList"
	};

Which basically moves one item between 2 $firebaseArrays. This specific example itself moves the item only between 2 different paths.
I've seen some of the examples that would allow similar behaviour by using applied filters and changing the moved object at drop ( e.g. just changing a property "status" to "idea", "inprogress", etc ), but haven't implemented that yet. That way it would only update a key/value of the item, instead of moving it between 2 paths which would be even nicer.
Should work nevertheless with that gist version. So I think the question would be - is it possible to override these callbacks without changing the main file?

:+1: That's great!
Maybe you could implement a firebase-friendly version of splice and monkey
patch on your model. Would that work with firebase?

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

@thgreasi that was my first thought, but I don't believe hacking splice would be the right way to work with firebase. Maybe @katowulf will have more insights on this, I've created a separate issue at https://github.com/firebase/angularfire/issues/687 for this

It will be nice to hear their opinion and ideas as well.
This should be better solved either in our side with a custom update
function, or in the developer's side where the array and firebase
collection should be kept in sync.
Maybe we can create a suggested integration example or configuration
extended plugin like https://github.com/thgreasi/ui-sortable-multiselection

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Maybe we can create a Proxy object for the firebase collection and override
splice in there!?!?
(So that the original firebase object is kept intact).
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Happy new year btw!
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Hi there. Just saw that firebase/angularfire#687
https://github.com/firebase/angularfire/issues/687 has been closed.
Should we also close this one after adding an integration example in
README.md ? Would anyone be interested on helping with the codepen example?
Thodoris Greasidis
Computer, Networking &
Communications Engineer

@mastef Just pushed 4f18c64b50b795dd3b499e40755b9deac538d056 that adds a firebase sortable integration example in README, based on the great code example noted in firebase/angularfire#687.
Any feedback would be great. Feel free to re-open in something seems wrong.


bugfix fix element revert on error in DataTypeArray::from_string

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.

add element revert on error for next_element_from_string
change revert from array_column to nested_column

Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.56 seconds
load time: 471 seconds
storage size:<PHONE_NUMBER>2 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230206063109_clickbench_pr_90694.html


Integrate FAB

Is there a way to integrate this lib without gradle? (I'm using IntelliJ IDEA as IDE)

Same issue here, considering utilizing another library instead.

@rcastill did you succeed with importing the library using answer from @RaymondBakkerMoonlightMultimedia?

No answer. Closing...


azure-files-volume.md: Don't use legacy subshell notation

Using the legacy subshell notation ` in bash is usually discouraged. Mixing the legacy subshell notation and the newer one $() is very discouraged, and confusing at the very least. I had to re-read this shell script a few times until I realized what was going on.

@doublej472 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @mlearned - Could you review the proposed changes and indicate whether the PR can be merged? Thanks.

#sign-off


Add Support For Alignas Keyword On Structs

Structs now support the alignas keyword.

oh my! i think https://github.com/visq/language-c is the current actual main, i merely migrated the repo history from darcs to git!
though i could catchup i suppose. is there a problem with the current maintainer? :)

Sorry, I didn't know that when I made the PR.


Update master to 1.2.4

Features:

Add automatic target generation for notify component service

Fixes:

Fix bug where existing media players would be added again on reconnect (resolves #136)
Fix bug where routines would not be found when many routines exist (resolves #145)

Changes:

Update online/active based on DOPPLER_STATE_CHANGE from websockets (resolves #133)
Update bluetooth state based on websockets (resolves #135)
Update new devices based on websockets
Change notify component to autoload - You may have to remove existing notify configuration to avoid _2 service
Add dev branch to custom_updater (resolves #143)
Update to alexapy 0.4.3 (resolves #145)

@keatontaylor We need the alexapy merge request merged in before we can push this.

@alandtse gitlab merged to dev, MR opened to go to master. https://gitlab.com/keatontaylor/alexapy/merge_requests/22
Feel free to merge to master here when ready.


Fix API for angr-bf

@rhelmot @subwire Can you check this out please?

everything's working on my end, and these look good!


How do i send GPS data to aws iot and use lambda to collect it back to any other computer

@Raghava248 could you please provide more details? Is this IoT specific question you are trying to get more info? If so, there is a separate project for IoT https://github.com/aws/aws-iot-device-sdk-embedded-C that you can look at.
While you can use KVS SDK to put any type of data, including GPS coordinates, the more specific data streaming services might be a better choice like Kinesis Data Streams.


Refresh airline colors

Hello, first off, this is my first PR ever, so sorry in advance if not everything is up to standard, I tried to follow every information i could find.
The purpose of this PR is to fix some errors with the Airline integration. I know there is also support for Lualine, but i haven't personally made that switch yet.
Things this changes:
VCS section styling:
For some reason, section B of Airline (second from the left, where i.e. Git branch is displayed) is styled exactly the same before as section C (Filename). By changing the background color, it looks much better. This is the same color that is used in Lualine for this purpose.
Replace mode:
I don't know if anyone uses replace mode not out of accident, but I noticed the colors for warning & error section were not applied in that mode. I changed this to match all the other modes by defining replace mode as a variation of insert mode. Different than in Lualine, I only set the red color on the left side of the status-line, because it is already used on the right for the error-section and looks kind of wrong otherwise.
I also could not find any documentation what so ever on Airline for "insert_replace", so assuming it is a deprecated configuration option, I removed it.
Terminal+Command mode:
I added different colors for these modes, where before they only used the color from normal mode. Terminal mode is defined as an exact copy of insert mode, which is the same configuration as used for Lualine. For command mode, I defined it as a variation of normal mode where the orange color (same as in Lualine) is only appiled on the left side, for the same reason as for replace mode, it is already used on the right side.
So please, let me know what you think! Obviously, colors are a subjective topic, but I feel like at least the changes for the VCS section are needed and where unintended before. For everything else, as I said, i tried to be as close to Lualine in everything to achieve the same same style. If needed, I can take some time to take before&after screenshots showing the changes I made.

Thanks!
Before

After


Invalid layer filter can cause an 'assert' to fail

This assert seems to be triggered if a valid filter can't be parsed from the YAML: https://github.com/tangrams/tangram-es/blob/master/core/src/scene/filters.cpp#L125
Malformed YAML is inevitable in the development process and should never cause a hard termination like this.

No problem with removing that assert, though we should also drop 'none' filters early.

we should  LOGW instead

resolved


Fix variables before use and forward

This is a proposed fix for Issue #203
It should work but I'm unsure about throwing the semicolon token part:
In essence it is required if we want to parse all @foward and @use rules because _parseVariableDeclaration doesn't throw it away itself (and some other part of the parser expect that behavior). I'm just throwing the semicolon without any further check because it isn't a problem if a file start with a semicolon in SCSS but let me know if we want to be a bit more conservative here.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: JeremiePat sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@aeschli Would it be worth trying to also solve issue #209 it this PR or should I open another one?

Thanks for the PR. I fixed it in a slighly different way through https://github.com/microsoft/vscode-css-languageservice/commit/ef2206162b1cd34618917f40ea65519827800cbb
This no longer enforce in the parser that @use or @forward rule are first.
This check should be done in a linter (likely the scss watcher that users run).

@JeremiePat A (separate) PR for #209 would be highly welcome!


Add missing default regiono in s3 client

Fixes #4193

Codecov Report

Merging #4194 (65d87f1) into master (c296a94) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4194   +/-   ##
=======================================
  Coverage   95.07%   95.08%
=======================================
  Files         480      480
  Lines       53031    53035    +4
=======================================
+ Hits        50421    50427    +6
+ Misses       2610     2608    -2

Flag
Coverage Δ

servertests
55.25% <ø> (-0.01%)
:arrow_down:

unittests
95.00% <ø> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

moto/batch/models.py
87.23% <0.00%> (-0.62%)
:arrow_down:

moto/iam/models.py
95.22% <0.00%> (+0.14%)
:arrow_up:

moto/iot/models.py
91.08% <0.00%> (+0.60%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c296a94...65d87f1. Read the comment docs.


Error at step 5

when entering this command
pac solution init --publisher-name <Name of the publisher> --publisher-prefix <Publisher prefix>
i get this error, is it caused by a missing prerequisite?
[ERROR] Unhandled Exception: System.MissingMethodException: Method not found: 'NLog.LogFactory NLog.LogManager.LoadConfiguration(System.String)'. [ERROR]    at bolt.cli.Session.Run(String[] args, String hostName, IEnvirons environs, IUserSettingsPersistence userSettingsPersistence, IOutputWindow outputWindow, Action errorCallback) [ERROR]    at bolt.cli.Session.Run(String[] args, String hostName, IOutputWindow outputWindow, Action errorCallback) [ERROR]    at bolt.Program.Main(String[] args)
[Enter feedback here]

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

ID: 42b01e51-8d80-08b1-2bd5-564c4756ad8a
Version Independent ID: 750ea5e8-1325-2593-024d-68e926488076
Content: How to use the sample components? (Power Apps Component Framework) - Power Apps
Content Source: powerapps-docs/developer/component-framework/use-sample-components.md
Service: powerapps
GitHub Login: @Nkrb
Microsoft Alias: nabuthuk

@o-utofbounds Thanks for contacting us. Did you try installing the latest version of the Power Apps CLI. Did you do all the steps provided in the doc. Can you share more information on what you actually did, so that it will be easy for us to find out the issue. You can also raise the issue in community forum. Our developers will help you resolve the issue.

I followed the steps provided, including latest version of the CLI

it seems it was caused by a old version of NLog being installed in the Global Assembly Cache by some sofwtare, after removing it from the GAC the "pac" command now work as expected


[BEAM-7911] Fix flakiness in avroio_test.py

Comparison data[last_char_index] == b'B' was never true in Py3 (LHS
is int, RHS is bytes).
Fix assertion on exception text.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @aaltay

This LGTM.
If the condition was never true, why the test was flaky? Should not it always fail?

It was intentionally corrupting data by replacing the last byte. It was failing to corrupt the data in 1 out of 256 cases, where the last byte was already 'B'.

This LGTM.
If the condition was never true, why the test was flaky? Should not it always fail?

It was intentionally corrupting data by replacing the last byte. It was failing to corrupt the data in 1 out of 256 cases, where the last byte was already 'B'.

Ack. Thank you for the fix. Much cleaner.


neovim neomake syntax checking is not working

I have neovim with neomake installed, but syntax checking and linting does not work
I do not have neither Syntastic nor deoplete installed. My assumption, based on the readme file of this plugin, is that syntax checking/linting should work.
nvim version
:version
NVIM v0.3.1
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG
-DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-
protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS
_VAR_FROM -I/tmp/neovim-20180721-48604-1emkq4l/neovim-0.3.1/build/config -I/tmp/neovim-20180721-48604-1emkq4l/neovim-0.3.1/src -I/us
r/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20180721-48604-1emkq4l/neovim-0.3.1/build/src/nvim/aut
o -I/tmp/neovim-20180721-48604-1emkq4l/neovim-0.3.1/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

relevant part of init.vim
...
  Plug 'neomake/neomake'
  Plug 'hashivim/vim-terraform'
  Plug 'juliosueiras/vim-terraform-completion'
call plug#end()
call neomake#configure#automake('nrwi', 500)

nvim checkhealpt
health#nvim#check
========================================================================
## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: Release

## Remote Plugins
  - OK: Up to date

## terminal
  - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
  - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
  - INFO: $TERM_PROGRAM='iTerm.app'
  - INFO: $COLORTERM='truecolor'

health#provider#check
========================================================================
## Clipboard (optional)
  - OK: Clipboard tool found: pbcopy
...
## Ruby provider (optional)
  - INFO: Ruby: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]
  - INFO: Host: /usr/local/var/rbenv/shims/neovim-ruby-host
  - OK: Latest "neovim" gem is installed: 0.7.1

Neomake log
12:32:49 [D +1.96] [-.-:1:1] automake: handling event BufWritePost.
12:32:49 [D      ] [-.-:1:1] Using setting automake.ignore_filetypes=['startify'] from 'global'.
12:32:49 [D      ] [-.-:1:1] automake: no enabled makers

And the same when I manually run
:Neomake
:Neomake: Nothing to make: no enabled file mode makers (filetype=terraform).

And that is acutally strange, because as I can see in https://github.com/juliosueiras/vim-terraform-completion/blob/master/autoload/terraformcomplete.vim
makers for terraform filetype should be defined

Same issue here.
NVIM v0.3.4
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20190113-94620-d8vv4n/neovim-0.3.4/build/config -I/tmp/neovim-20190113-94620-d8vv4n/neovim-0.3.4/src -I/usr/local/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/tmp/neovim-20190113-94620-d8vv4n/neovim-0.3.4/build/src/nvim/auto -I/tmp/neovim-20190113-94620-d8vv4n/neovim-0.3.4/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.3.4/share/nvim"

E492: Not an editor command: Terraform

Installed the plugins using Vundle.


GraphQL Execution Tool should support URL/headers as input at runtime

Current GraphQL Tool is very static https://python.langchain.com/docs/modules/agents/tools/integrations/graphql, one has to set up graphql url, headers etc at the time of configuring the tool.
This tool should follow Request*Tool, where individual request information is sent as input to this tool.  This way, GraphQL tool will become a generic and could be used to query different endpoints, or with different headers

No longer needed


Phi3.5V Server API Error: Forward step expected a PagedAttention input metadata.

Hi,
I am running the phi3.5 vision model using the below command on Apple M2 macbook:
'cargo run --release --features metal -- --port 1234 vision-plain -m microsoft/Phi-3.5-vision-instruct -a phi3v'
Everything loads fine, but when I query I get this error:
mistralrs_core::engine: prompt step - Model failed with error: Msg("Forward step expected a PagedAttention input metadata. This was not provided, please ensure that the scheduler config is correctly configured for PagedAttention.")
On the other hand, If I load the model using the python API everything works fine but I am not sure how to enable ISQ in python.
''
from mistralrs import Runner, Which, ChatCompletionRequest, VisionArchitecture
runner = Runner(
which=Which.VisionPlain(
model_id="microsoft/Phi-3.5-vision-instruct",
arch=VisionArchitecture.Phi3V,
),
)
''
Any idea what might be causing this and how to fix this?

Same thing happens with Phi-3.5-MoE.
For Phi-3.5-MoE: It looks like the default scheduler path can reach the NormalPipeline, which requires(?) paged attention metadata. Likely something similar is happening for the vision model.

Ah, so the quantized pipelines can handle the lack of paged attention metadata. @ytnvj2 can you retry with a quantized version of the model?

I might be misreading things, but it looks like Paged Attention is disabled for non-CUDA targets (including Metal).
https://github.com/EricLBuehler/mistral.rs/blob/366f9f02b7a55af8d8f32df33fd77ea6bcea8b5a/mistralrs-core/src/utils/mod.rs#L225-L233

Hi @JCRPaquin @ytnvj2 thank you for the details and all investigation! Indeed, you are correct the issue arises when there is a discrepancy there. This bug was caused by a regression from #753, and I just merged #759 which should fix this. Can you please confim this works?

@EricLBuehler thanks for the quick response! I'll try the fix in a few hours.

@EricLBuehler Tried out the fix and it works for me now. Thank you for the quick fix. Appreciate it.


Widen 'key' field and fix 'value' field resize

Coverage remained the same at 53.053% when pulling 486af0850d171e0396503ccb355c09e20ac6ffa4 on widen_secret_key_field into 6b879a09db06458ad82da708148222646fe63b67 on master.


keyword "interfacecheck" is ignored by "run_framework"

Issue Description
What did you expect to see happen?
run_framework should work with keyword interfacecheck
What did you see instead?
interfacecheck is ignored.
Do you have a suggested fix for the development team?
Please attach the input file(s) that generate this error.  The simpler the input, the faster we can find the issue.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or improvement?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest stable branch? If yes, is there any issue tagged with stable (create if needed)?
[x] 5. If the issue is being closed without a merge request, has an explanation of why it is being closed been provided?

@wangcj05 the closure checklist

Closure checklist passed... No email is needed since the problem was effecting a "testing" feature that we currently not expose to the users

Should do, I just get used to data-object rework branch.
On Mon, May 21, 2018 at 5:03 PM, Andrea Alfonsi - INL <
<EMAIL_ADDRESS>wrote:

Closure checklist passed... No email is needed since the problem was
effecting a "testing" feature that we currently not expose to the users
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_idaholab_raven_issues_440-23issuecomment-2D390808676&d=DwMCaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=vJsbMjnzR6ErmdvVqv2kNhwbKhk1o91w6B8VQ4EHCto&m=9uhi2lzr944XUYz-7pd9CjKIhlm6kq6XIMT7n6h5ihA&s=R8udXvoF-V8Uko9uaobuvdUV3L7V0Xnt7Y9gRrl1jPI&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AG-2D17y7X0ZCuMhei5lbbFCkVaLR1w89Uks5t00fXgaJpZM4Qtqe1&d=DwMCaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=vJsbMjnzR6ErmdvVqv2kNhwbKhk1o91w6B8VQ4EHCto&m=9uhi2lzr944XUYz-7pd9CjKIhlm6kq6XIMT7n6h5ihA&s=yE3pt5pKc0etyv0sY4f0gdD0l7fCaeoyn-47qDducpM&e=
.

--
Sincerely,
Congjian Wang
PhD, Nuclear Engineering Methods Development, INL
2525 North Fremont Ave., Idaho Falls, ID 83415-3860
Work Phone:<PHONE_NUMBER>


Upload Files to iCloudDrive

Hi,
Do you have any API to upload files to iCloud Drive.
Regards,
Neha

I do. However I've no plans to release and support this functionality.


Feature: Retrying failed connections

Hello!
While running helmper it tries to communicate with various sources, services and registries. Sometimes they don't respond in a timely fashion, thus rendering a `context deadline exceeded" error and exiting abruptly halfway through the execution. See example here:

{"time":"2024-05-29T12:56:01.142365493Z","level":"ERROR","msg":"signing digest: Head \"https://xyz.azurecr.io/v2/openebs/provisioner-nfs/manifests/sha256-f8a913f70026e86dae967050b6cd3790b81dd7c9c580aab306c3a0f36ca49b18.sig\": context deadline exceeded"}

It would be very useful to be able to adjust the timeouts through configuration, but also that helmper uses an exponential backoff mechanism for retrying the failed connection.

Ah, this is when running Cosign, I added this logic already for Helm. Thanks for raising this issue, will look into it 🙌


SyncClient hangs

The async Client works just fine, but the following SyncClient hangs:
#[tokio::main(flavor = "current_thread")]
async fn main() -> anyhow::Result<()> {
    let db = libsql_client::SyncClient::from_env()?;
    let response = db.execute("SELECT * FROM users")?;

    println!("{:?}", response);

    Ok(())
}

Thanks for reporting @hangj! I see that SyncClient gets stuck with your example, and gets unblocked once I change it from #[tokio::main(flavor = "current_thread")] to just #[tokio::main], so we probably block the current thread for something... I'll dig further

yeah, it's due to the fact we call futures::executor::block_on underneath, which clashes with single-threaded tokio runtime

Yeah, that's the reason.
But the real problem I think is that the libsql_client::SyncClient is not a real blocking client, I have to choose a runtime for it.


OpenAIChatCompletionService as both ITextCompletion and IChatCompletion throws error when executing Semantic functions

Describe the bug
Registering OpenAIChatCompletionService as both ITextCompletion and IChatCompletion does not work and it throws the following error:
Something went wrong while rendering the semantic function or while executing the text completion. Function: Prompts.SystemResponse Error: Invalid request: The request is not valid, HTTP status: 404. Details: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?
      Status: 404 (Not Found)

      Content:
      {
        "error": {
          "message": "This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?",
          "type": "invalid_request_error",
          "param": "model",
          "code": null
        }
      }

I have to also register an ITextCompletion service for the kernel to execute Semantic functions properly but the text completion with the text-devinci-003 model does not work properly, likely because it's not smart enough. For my use case, it returns invalid JSON most of the time.
To Reproduce
skprompt.txt:
Example input:
You are an AI assistant that helps people find information.

Example output:
{
    "name": "Helpful AI",
    "role": "I help people find information.",
    "thoughts": [ "I need to find information for people.", "What information do people need?", "How can I find information for people?" ]
}

SystemMessage: {{$systemPrompt}}

Respond only with the output in the exact format specified in the Example output, with no explanation or conversation.
Ensure your response is fully valid JSON.

test method:
public static async Task RunAsync()
    {
        var builder = Kernel.Builder
            .WithLogger(ConsoleLogger.Log)
            .Configure(c => c.SetDefaultHttpRetryConfig(new HttpRetryConfig
            {
                MaxRetryCount = 3,
                UseExponentialBackoff = true
            }))
            .Configure(config =>
            {
                config.AddOpenAIChatCompletionService("gpt-4", Env.Var("OPENAI_API_KEY"));
            });

        var kernel = builder.Build();

         kernel.ImportSemanticSkillFromDirectory(RepoFiles.SkillsPath(), "Prompts");

        var context = kernel.CreateNewContext();
        context.Variables.Set("systemPrompt", prompt);
        var systemPrompt = kernel.Func("Prompts", "SystemMessage");

        var result = await kernel.RunAsync(context.Variables, systemPrompt);

        Console.WriteLine(result.Result);

        if (result.ErrorOccurred)
        {
            return;
        }

        var systemResponse = JsonSerializer.Deserialize<SystemResponse>(result.Result);

        var systemName = systemResponse?.Name;
        var systemRole = systemResponse?.Role;
        List<string>? systemThoughts = systemResponse?.Thoughts;

        var sb = new StringBuilder();
        sb.AppendLine($"Name: {systemName}");
        sb.AppendLine($"Role: {systemRole}");

        for (var i = 0; i < systemThoughts?.Count; i++)
        {
            sb.AppendLine($"Thought {i + 1}: {systemThoughts[i]}");
        }

        Console.WriteLine(sb.ToString());

  }

Expected behavior
I should be able to register OpenAIChatCompletionService as both ITextCompletion and IChatCompletion and run Semantic Functions via the Kernel
Screenshots
Entire sample code with comments:
PromptTemplate:
Example input:
You are an AI assistant that helps people find information.

Example output:
{
    "name": "Helpful AI",
    "role": "I help people find information.",
    "thoughts": [ "I need to find information for people.", "What information do people need?", "How can I find information for people?" ]
}

SystemMessage: {{$systemPrompt}}

Respond only with the output in the exact format specified in the Example output, with no explanation or conversation.

Sample class:
public static class Example01_GenerateSystemResponse
{

    public static async Task RunAsync()
    {
        var builder = Kernel.Builder
            .WithLogger(ConsoleLogger.Log)
            .Configure(c => c.SetDefaultHttpRetryConfig(new HttpRetryConfig
            {
                MaxRetryCount = 3,
                UseExponentialBackoff = true
            }))
            .Configure(config =>
            {
                // I_SHOULDN'T_HAVE_TO_ADD_A_SEPARATE_TEXT_COMPLETION_SERVICE_FOR_THE_CHAT_SERVICE_TO_WORK, BUT_IF_I_DON'T, I_GET_AN_ERROR.
                config.AddOpenAITextCompletionService("text-davinci-003", Env.Var("OPENAI_API_KEY"));
                config.AddOpenAIChatCompletionService("gpt-4", Env.Var("OPENAI_API_KEY"), "", false);
            });

        var kernel = builder.Build();

        await RunWithKernel(kernel);
        await RunWithPromptGenerator(kernel);

    }

    // DOES_NOT_WORK_CONSISTENTLY
    public static async Task RunWithKernel(IKernel kernel)
    {
        kernel.ImportSemanticSkillFromDirectory(RepoFiles.SkillsPath(), "Prompts");

        var context = kernel.CreateNewContext();
        context.Variables.Set("systemPrompt", prompt);
        var systemPrompt = kernel.Func("Prompts", "SystemMessage");

        // THIS_WORKS_OCCASIONALLY, BUT_FAILS_WITH_INVALID_JSON_MOST_OF_THE_TIME
        var result = await kernel.RunAsync(context.Variables, systemPrompt);

        // THIS_CONSISTENTLY_FAILS_AS_IT_RETURNS_INVALID_JSON
        // var result = await systemPrompt.InvokeAsync(context);

        Console.WriteLine(result.Result);

        if (result.ErrorOccurred)
        {
            return;
        }

        var systemResponse = JsonSerializer.Deserialize<SystemResponse>(result.Result);

        var systemName = systemResponse?.Name;
        var systemRole = systemResponse?.Role;
        List<string>? systemThoughts = systemResponse?.Thoughts;

        var sb = new StringBuilder();
        sb.AppendLine($"Name: {systemName}");
        sb.AppendLine($"Role: {systemRole}");

        for (var i = 0; i < systemThoughts?.Count; i++)
        {
            sb.AppendLine($"Thought {i + 1}: {systemThoughts[i]}");
        }

        Console.WriteLine(sb.ToString());
    }

    // THIS_WORKS_CONSISTENTLY, BUT_HAVE_TO_USE_A_PROMPT_GENERATOR_TO_GET_THE_RESULT.
    public static async Task RunWithPromptGenerator(IKernel kernel)
    {
        var promptGenerator = new PromptGenerator(kernel);

        promptGenerator.AddPromptTemplate("SystemMessage", Path.Combine(RepoFiles.SkillsPath(), "Prompts"));

        var context = kernel.CreateNewContext();
        context.Variables.Set("systemPrompt", prompt);

        var systemPrompt = await promptGenerator.GeneratePromptAsync("SystemMessage", context);

        var chatGPT = kernel.GetService<IChatCompletion>();
        var chatHistory = chatGPT.CreateNewChat(systemPrompt);
        var result = await chatGPT.GenerateMessageAsync(chatHistory);

        Console.WriteLine(result);

        var systemResponse = JsonSerializer.Deserialize<SystemResponse>(result);
        var systemName = systemResponse.Name;
        var systemRole = systemResponse.Role;
        List<string>? systemThoughts = systemResponse.Thoughts;

        Console.WriteLine("======== System Response ========");
        var sb = new StringBuilder();
        sb.AppendLine($"Name: {systemName}");
        sb.AppendLine($"Role: {systemRole}");

        for (var i = 0; i < systemThoughts.Count; i++)
        {
            sb.AppendLine($"Thought {i + 1}: {systemThoughts[i]}");
        }

        Console.WriteLine(sb.ToString());
    }
}

Desktop (please complete the following information):

OS: Mac OSX
IDE: JetBrains Rider
I'm using source

Additional context
PromptGenerator just stores a  Dictionary<string, SemanticFunctionConfig> and a Method:
 public async Task<string> GeneratePromptAsync(string promptName, SKContext executionContext)
  {
      if (!_semanticFunctions.ContainsKey(promptName))
      {
          throw new ArgumentException($"Prompt '{promptName}' not found.");
      }

      var functionConfig = _semanticFunctions[promptName];
      var template = functionConfig.PromptTemplate;

      return await template.RenderAsync(executionContext).ConfigureAwait(false);
  }

Hi, I created  PR which reproduces one part of the issue. I hope this way we can keep this regression out forever
I belive this part of the issue is created by adding new properties in CompleteRequestSettings.ResultsPerPrompt the result I am receiving from the server is
Something went wrong while rendering the semantic function or while executing the text completion. Function: GLOBAL_FUNCTIONS.funce1d8a50ff39147fcb90d7523f8aa40f2. Error: Invalid request: The request is not valid, HTTP status: 400. Details: logprobs, best_of and echo parameters are not available on gpt-35-turbo model. Please remove the parameter and try again. For more details, see https://go.microsoft.com/fwlink/?linkid=2227346.
Status: 400 (BadRequest)
ErrorCode: BadRequest
Content:
{"error":{"code":"BadRequest","message":"logprobs, best_of and echo parameters are not available on gpt-35-turbo model. Please remove the parameter and try again. For more details, see https://go.microsoft.com/fwlink/?linkid=2227346."}}
this is the PR https://github.com/microsoft/semantic-kernel/pull/1061

I just looked into the code a bit, and it looks to me that both of the problems are the consequence that we are sending TextcompletionRequest to the ChatCompletion API. now this is really a great functionality but at the moment it is being handled by the API server which obviously does not work (on azure or openai side).
We should maybe try handlig it on a higher level and  checking if  SKFunction._aiService https://github.com/microsoft/semantic-kernel/blob/main/dotnet/src/SemanticKernel/SkillDefinition/SKFunction.cs#L372  can be casted to IChatCompletion and than it should be invoked as as IChatCompletion and not as ITextCompletion

We have a fix coming for this.

Issue resolved.


Secrets in imagePullSecrets  are not detected as in use.

    spec:
      imagePullSecrets:
        - name: coding-devos-regcred

secret/coding-devos-regcred deleted (dry run)

I have faced the same issue, created a PR, but I am not sure if @micnncim will accept new PRs or project is frozen

Sorry for being late, I just merged a PR from @tr3mor.


WIP: Cleanup of install script

A cleanup of the install script to make use of python venv and have some prettier logging of what it is doing.

After running the install script a user does need to log in and out of the shell to reload bashrc, haven't found a way to do this in a script to effect the current shell session it was started from.

After running the install script a user does need to log in and out of the shell to reload bashrc, haven't found a way to do this in a script to effect the current shell session it was started from.

fixed rhis :)


[RFC] Set dev as default branch? (@react-boilerplate/core)

ping @react-boilerplate/core — should we set dev as the default branch?

Nope because that means when people clone the repo they get that branch 😕
There is sadly no way to have a diversion between the default branch for PRs and for clones so this is sadly not feasible for us.

We can do that once react-boilerplate is an npm package, or make master branch a development branch

Yep exactly!


Obtain the sequence of restarting kafkat brokers with minimum cost

Goal:
This PR includes the commands and algorithms that help calculating a sequence
for restarting the kafkat brokers. The algorithm tries to minimize the restart
cost for the sequence using a greedy algorithm.
Definition of Cost:
The cost of each leader replica is defined as:
cost_of_leader_restart($broker, $partition) = replication_factor($partition) -
number_of_replica_restarted($partition)

And the cost of each broker is defined as:
cost_of_restart($broker) =  sum of cost_of_leader_restart($broker, $partition)
for all leaders on $brokers

Commands:
cluster-restart help                Print Help and exit
cluster-restart reset               Clean up the restart state
cluster-restart start               Initialize the cluster-restart session for the cluster
cluster-restart next                Calculate the next broker to restart based on the current state
cluster-restart good <broker>       Mark this broker as successfuly restarted
cluster-restart log                 Print the state of the brokers
cluster-restart restore <file>      Start a new session and restore the state defined in that file

Test:
We implemented spec tests for each of the class in this script.
In addition, we also ran this script against a staging zookeeper, and it worked correctly.
@lifeng5042

👍


Cross-Platform compatibility.

How does this library handles on multiple platforms?
Do I have to have one project for each platform with their own tdlib-netcore reference or having it in just one project and the library will take care of handling multiple platforms? (Eg: Windows, Linux, MacOS)

The binding library is platform neutral. ABI difference among supported platforms should be handled well by P/Invoke.
The use of native library NuGet packages is optional. It just helps you copy native libraries to the output directory when using .NET Core SDK. When published targeting a specific runtime ID, the meta native package will automagically reference a runtime package (containing native libraries) for that runtime.

The binding library is platform neutral. ABI difference among supported platforms should be handled well by P/Invoke.
The use of native library NuGet packages is optional. It just helps you copy native libraries to the output directory when using .NET Core SDK. When published targeting a specific runtime ID, the meta native package will automagically reference a runtime package (containing native libraries) for that runtime.

The binding library is platform neutral. ABI difference among supported platforms should be handled well by P/Invoke.
The use of native library NuGet packages is optional. It just helps you copy native libraries to the output directory when using .NET Core SDK. When published targeting a specific runtime ID, the meta native package will automagically reference a runtime package (containing native libraries) for that runtime.

So what I should do more exactly?
Can I copy the precompiled binaries of tdlib to my output directory and the library will do everything for me or I need another way of doing this?

The binding library is platform neutral. ABI difference among supported platforms should be handled well by P/Invoke.
The use of native library NuGet packages is optional. It just helps you copy native libraries to the output directory when using .NET Core SDK. When published targeting a specific runtime ID, the meta native package will automagically reference a runtime package (containing native libraries) for that runtime.

So what I should do more exactly?
Can I copy the precompiled binaries of tdlib to my output directory and the library will do everything for me or I need another way of doing this?

At last that's what tdsharp does, it detects the platform and automatically it will load the correct tdlib file https://github.com/egramtel/tdsharp/tree/db87391fd0846ac818b2aa3ef077ed13837c946b/TDLib/Bindings

At last that's what tdsharp does, it detects the platform and automatically it will load the correct tdlib file https://github.com/egramtel/tdsharp/tree/db87391fd0846ac818b2aa3ef077ed13837c946b/TDLib/Bindings

Can I copy the precompiled binaries of tdlib to my output directory and the library will do everything for me

In short, yes.
Given DllImport("tdjson"), .NET Core runtime (on non-Windows platform) will try to load the library with different prefix/suffix combinations, which will fall in CMake's default shared library naming convention on target platform (libtdjson.so etc).
https://github.com/dantmnf/tdlib-netcore/blob/25c5a33f04f7fc266ebdf338458ac88420e9b6d0/TDLibCore.JsonClient/Native.cs#L11

Can I copy the precompiled binaries of tdlib to my output directory and the library will do everything for me

In short, yes.
Given DllImport("tdjson"), .NET Core runtime (on non-Windows platform) will try to load the library with different prefix/suffix combinations, which will fall in CMake's default shared library naming convention on target platform (libtdjson.so etc).
https://github.com/dantmnf/tdlib-netcore/blob/25c5a33f04f7fc266ebdf338458ac88420e9b6d0/TDLibCore.JsonClient/Native.cs#L11

Can I copy the precompiled binaries of tdlib to my output directory and the library will do everything for me

In short, yes.
Given DllImport("tdjson"), .NET Core runtime (on non-Windows platform) will try to load the library with different prefix/suffix combinations, which will fall in CMake's default shared library naming convention on target platform (libtdjson.so etc).
https://github.com/dantmnf/tdlib-netcore/blob/25c5a33f04f7fc266ebdf338458ac88420e9b6d0/TDLibCore.JsonClient/Native.cs#L11

Thanks for everything. I still have some errors in the code for which I will get to later, more exactly it's with the build-managed script (RuntimeError) but I still need to be at my PC.
What I want to ask now, could I use tdlib.native to build the binaries?  (Since I can easily build for multiple platforms using travis.cli
https://github.com/ForNeVeR/tdlib.native

Can I copy the precompiled binaries of tdlib to my output directory and the library will do everything for me

In short, yes.
Given DllImport("tdjson"), .NET Core runtime (on non-Windows platform) will try to load the library with different prefix/suffix combinations, which will fall in CMake's default shared library naming convention on target platform (libtdjson.so etc).
https://github.com/dantmnf/tdlib-netcore/blob/25c5a33f04f7fc266ebdf338458ac88420e9b6d0/TDLibCore.JsonClient/Native.cs#L11

Thanks for everything. I still have some errors in the code for which I will get to later, more exactly it's with the build-managed script (RuntimeError) but I still need to be at my PC.
What I want to ask now, could I use tdlib.native to build the binaries?  (Since I can easily build for multiple platforms using travis.cli
https://github.com/ForNeVeR/tdlib.native

could I use tdlib.native to build the binaries

Yes, but take care of tdlib API version. You may need to re-run codegen of this project, or change submodule reference of that project.

could I use tdlib.native to build the binaries

Yes, but take care of tdlib API version. You may need to re-run codegen of this project, or change submodule reference of that project.


Minified Javascript for 0.3.7

Hi,
Thanks for the great library.
I would like to replace the 0.3.7 from 0.3.5 in our project.
But - the minified version is not available for 0.3.7.
I will use the uglifyjs for our use.
This is just for your information.

You can generate it yourself.


pinpoint V-2.0.4 ,docker install

why I can't open the web UI by the port of the file named docker-compose.yml ?

@binaryjerry
You will be able to access the web UI with the v2.0.4 image.
please don't try with the master branch. Things are updating for v2.1.0 at the moment


Limit Component List Include To Specific Sites

Some components in articles don't need to be used across all sites, how can we localize them to only specific sites? Example: rating component is used only on Grub.

Throwing some ideas out there:
pageHeader:
  _componentList:
    include:
      - simple-header (not:thecut, not:vulture)
      - top-stories
      - early-often (di)

GOOD: Quick to write, makes sense in context, easy include/exclude filtering
BAD: Custom syntax
pageHeader:
  _componentList:
    include:
      -
        name: simple-header
        sites:
          - di
          - press
          - selectall
          - scienceofus
          - betamale
          # not thecut, vulture
      - top-stories
      -
        name: early-often
        sites:
          - di

GOOD: No custom syntax
BAD: Verbose, no good way to exclude sites

I enjoy the first option. While the custom syntax does require more work, it's pretty handy and concise. Can we please do this?


CLOUDSTACK-9021 - Add right interface when test is executed against HyperV/VMware

The test now check the IP taking into account the right interface for VMware/HyperV (eth1).
@karuturi could you please have a look? Unfortunately, I do not have HyperV/VMware test environment.

Got LGTM from Sanjeev on the mail list:
On 03 Nov 2015, at 12:13, Sanjeev N<EMAIL_ADDRESS>wrote:

Ran one test

Test SSVM Internals ... === TestName: test_03_ssvm_internals | Status :
SUCCESS ===
ok

LGTM!!

Ping @remibergsma @borisroman @DaanHoogland
Cheers,
Wilder

change makes sense, I have no hyperv or vmware to test on.
LGTM

2 LGTMs merging.


Take care of dollar signs in secrets values

https://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html#appendReplacement-java.lang.StringBuffer-java.lang.String-

A dollar sign ($) may be included as a literal in the replacement string by preceding it with a backslash ($).

This change addresses it and also adds a few cases that an user is already using an escaped secrets value (e.g. value\$1234) and this change works well with the workaround.
Fix https://github.com/treasure-data/digdag/issues/687

@frsyuki Can you review this change when you get a chance?

@frsyuki Kindly ping

omg. LGTM!!

Thanks


[NETBEANS-1440] Fixed BadLocationException on triple click to select …

…text at EOF
Jira Link:https://issues.apache.org/jira/browse/NETBEANS-1440
Steps to reproduce the issue
1.let the very last line in the editor is empty
2.have the editor caret at the very last line
3.have the mouse cursor over the last line as well
4.double click, but don't release on the second click (i.e. down-up-down)
move the mouse to right

Please no. While it might be acceptable to do things like this in some cases, I think it would require a good argument on why that's the best solution. In this case, there appear to be at least two alternative fix candidates:
-LineDocumentUtils.getWordEnd apparently returns an offset that is beyond the document's length, so that might be fixed/changed to not do that. Probably simple, and while it might need some more double-checking, probably the best solution/fix.
-EditorCaret.mouseDragged could replace:
offset = LineDocumentUtils.getWordEnd(lineDoc, offset);
with something like:
offset = Math.min(LineDocumentUtils.getWordEnd(lineDoc, offset), c.getDocument().getLength())
but that feels somewhat hacky (i.e. why getWordEnd even returned the offset that is too high), but would still be better than catching the BadLocationException.

Thnaks @jlahoda ,I had implemented the review comments in latest commit.

I'm not sure if this is the right way to fix it.
https://github.com/apache/incubator-netbeans/blob/b54acfa82d2bc32ee63841191939a044fa0fbcd1/ide/editor.lib2/src/org/netbeans/modules/editor/lib2/DocUtils.java#L212 is actually used only twice,
once it is called with offset, docLenght() +1 on the other time offset, docLenght() (this one later causing the excepion to be thrown. I do not think that the intent of the two validation would be different. Changing the validation to docLenght() +1 in both calls, removes the exception. Though I'm not sure if that would be the right solution either. unfortunately the hg.netbeans.org is down so I can't check the code why is it called so different in those cases.

Fix:  had corrected  getWordEnd API of TextSearchUtils class in latest commit

@lkishalmi , can you please review the fix

I need to test this. What happens if there is no EOL character at the end of file?

If last character is not  '\n'  then there is no issue in double clicking and dragging the mouse to select text

@lkishalmi , request you to review the PR

Seems OK to me.

Tested. Works. The code seems reasonable.


New Column cuts of text

Since 4.7, the text inside the boxes is cut off due to the new column.

Thanks for the report! This is now fixed.


thread '' panicked at 'index out of bounds: the len is 1 but the index is 1'

commit: a8e032820f14cad3630299a1ae16c62dcf59f358
thread '' panicked at 'index out of bounds: the len is 1 but the index is 1', /Users/**/.cargo/git/checkouts/chalk-7b02fa8caa2cec94/039fc90/chalk-ir/src/fold/subst.rs:56:19
stack backtrace:
0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
1: core::fmt::write
2: std::io::Write::write_fmt
3: std::panicking::default_hook::{{closure}}
4: std::panicking::default_hook
5: std::panicking::rust_panic_with_hook
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::panicking::panic_bounds_check
9: <chalk_ir::fold::subst::Subst as chalk_ir::fold::Folder>::fold_free_var_ty
10: <chalk_ir::Ty as chalk_ir::fold::SuperFold<I,TI>>::super_fold_with
11: <chalk_ir::WhereClause as chalk_ir::fold::Fold<I,_TI>>::fold_with
12: chalk_ir::fold::subst::Subst::apply
13: chalk_ir::Binders::substitute
14: chalk_solve::clauses::program_clauses_for_goal
15: <chalk_solve::solve::slg::SlgContextOps as chalk_engine::context::ContextOps<chalk_solve::solve::slg::SlgContext>>::program_clauses
16: chalk_engine::logic::<impl chalk_engine::forest::Forest>::get_or_create_table_for_ucanonical_goal
17: chalk_engine::logic::<impl chalk_engine::forest::Forest>::get_or_create_table_for_subgoal
18: chalk_engine::logic::SolveState<C,CO>::ensure_root_answer
19: chalk_engine::logic::<impl chalk_engine::forest::Forest>::root_answer
20: <chalk_engine::forest::ForestSolver<C,CO> as chalk_engine::context::AnswerStream>::next_answer
21: chalk_solve::solve::slg::aggregate::<impl chalk_engine::context::AggregateOps<chalk_solve::solve::slg::SlgContext> for chalk_solve::solve::slg::SlgContextOps>::make_solution
22: chalk_engine::forest::Forest::solve
23: ra_hir_ty::traits::trait_solve_query
24: salsa::runtime::Runtime::execute_query_implementation
25: salsa::derived::slot::Slot<DB,Q,MP>::read_upgrade
26: salsa::derived::slot::Slot<DB,Q,MP>::read
27: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
28: salsa::QueryTable<DB,Q>::get
29: ::trait_solve
30: ra_hir_ty::method_resolution::iterate_method_candidates_by_receiver
31: ra_hir_ty::method_resolution::iterate_method_candidates
32: ra_hir_ty::infer::expr::::infer_method_call
33: ra_hir_ty::infer::expr::::infer_expr_inner
34: ra_hir_ty::infer::expr::::infer_expr
35: ra_hir_ty::infer::expr::::infer_method_call
36: ra_hir_ty::infer::expr::::infer_expr_inner
37: ra_hir_ty::infer::expr::::infer_expr_coerce
38: ra_hir_ty::infer::expr::::infer_block
39: ra_hir_ty::infer::expr::::infer_expr_inner
40: ra_hir_ty::infer::expr::::infer_expr_coerce
41: ra_hir_ty::infer::expr::::infer_expr_inner
42: ra_hir_ty::infer::expr::::infer_expr_coerce
43: ra_hir_ty::infer::expr::::infer_block
44: ra_hir_ty::infer::expr::::infer_expr_inner
45: ra_hir_ty::infer::expr::::infer_expr_coerce
46: ra_hir_ty::infer::infer_query
47: salsa::runtime::Runtime::execute_query_implementation
48: salsa::derived::slot::Slot<DB,Q,MP>::read_upgrade
49: salsa::derived::slot::Slot<DB,Q,MP>::read
50: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
51: ra_hir_ty::db::infer_wait
52: ra_hir::source_analyzer::SourceAnalyzer::new_for_body
53: ra_hir::semantics::Semantics::analyze2
54: ra_hir::semantics::Semantics::resolve_bind_pat_to_const
55: ra_ide_db::defs::classify_name
56: ra_ide::syntax_highlighting::highlight
57: std::panicking::try::do_call
58: __rust_maybe_catch_panic
59: ra_db::CheckCanceled::catch_canceled
60: ra_ide::Analysis::highlight_range
61: rust_analyzer::main_loop::handlers::handle_semantic_tokens_range
62: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

duplicated: #3945


Feat/4 UI homepage

UI for Front end
Created basic skeleton structure for front end. Used nextjs app roter
Components made

Landing page (user not logged in)
Logged in view (list of questions), consists of:

filter component
questions table component

created a question dialog pop up to show briefly the question details
navbar

Also set up docker for FE
Things to note

To view landing page (user not logged in), go to /(main)/page.tsx and change the boolean. To change after user authentication is completed
Current list of questions just as a const questions = string[] -> to change to data fetched from backend
TODO: Hooking up of backend for options drop-down filtering (difficulty, topic etc)
TODO: current search filter immediately filters out for topics with a match, to change to backend filtering

https://github.com/user-attachments/assets/862ede60-f12b-4502-a409-05e5c3008ca7

Also, tried running the docker and found that Zustand was not installed. Installed it for you and changed npm to pnpm in our docker file 🤗


Fix corrected command not being saved into fish history

This should fix #1027

Changes look good for me, but it seems like it breaks e2e tests - https://travis-ci.org/nvbn/thefuck/jobs/630646284#L3756

Yes, I need to get round to fixing those. Having trouble running the end to end tests locally atm.

@scorphus happy for you to suggest further changes; or reject this entirely if it doesn't fit with your future changes.  This is what I'm currently using at work, since the currently implemented method for updating the fish history simply doesn't work, and it's a bit frustrating, so thought I'd share!

Let me have a look at this again.

So, there are two reasons I think we should avoid changing the shell function. The main one is backward compatibility. A considerable number of users have the function hardcoded either in their config.fish or in some functions/fuck.fish. I've seen a lot of cases like that. Even some issues have that as a suggestion to improve the loading time of the shell.
Another reason is that it does not support a new feature I'm bringing together, which is the “edit command.” For that, I'd like to avoid having the commandline instruction added to the history.
That said, I think the commandline part of this PR should be moved into shell. I already have a working CL, which I'll submit shortly afterward as a new commit on top of yours. Then, you can review it.
Sounds good?

Sounds good to me! 👍

Hey, @davidhart82! I went ahead, as we usually squash commits by the same author that represent one single, “atomic” change, and squashed the two commits you had. So, authorship is preserved.
I'm looking forward to reading your thoughts on my proposed changes.
Thanks!

Hey @scorphus, changes look good to me!  Much neater given I had no idea folk hardcode the function directly in config.fish (I'm clearly spoiled with the power of my workstation ;)).
I'll give it a test and let you know how I get on...

This only appears to have failed since the coverage has dropped by 0.01%...

Looking good! I'll have time to review it over the weekend. Super!

Sorry to be the thread necromancer. Wondering if there is a reason 3.31 was never released?
There are a couple things I've been waiting a long while for and this one I've been desperate for since the issue was raised.

Sorry to be the thread necromancer. Wondering if there is a reason 3.31 was never released?
There are a couple things I've been waiting a long while for and this one I've been desperate for since the issue was raised.

Thanks for the reminder, @tonytamps! There're a few more issues/PRs that need to be solved/merged. All of the issues are already WIP. We're getting there!

Thanks for the reminder, @tonytamps! There're a few more issues/PRs that need to be solved/merged. All of the issues are already WIP. We're getting there!

All good. Thank you.

All good. Thank you.

BTW, I'm not entirely happy with how we managed to solve this issue, I guess I'll try some other approach(es).

BTW, I'm not entirely happy with how we managed to solve this issue, I guess I'll try some other approach(es).

Is there anything that can be done to push this forward? I've read the diff but I am not sure what the exact problem was.

I am not sure since when this issue exists but it also occured to me that fish complaints because the history merge command does not take any arguments so I would be very glad if this could be merged soon as it looks like a good fix to me

@septatrix: that issue (#1215) is fixed and released in 3.32. This PR addresses another issue.


Upgrade to cassandra 2.2.0-rc3

Hi,
its there a way to create a release candidate for you tool, or snapshot version and to push to maven repository ?

I really want to use this version, since they providing Custom TypeCodec
https://datastax.github.io/java-driver/2.2.0-rc3/features/custom_codecs/


challenge_auth param2 slot mask should return all populated slots

Fix: #1013
Because the populated slot store cert_chain may be not continuous, the get slot number logic is changed.
And the PR has passed unit test and emu test.
Signed-off-by: Wenxing Hou<EMAIL_ADDRESS>

I have added a function: libspdm_get_cert_slot_mask. Thanks.
This function can also be used for the issue :digest responder check slot will fail when the slot store cert_chain uncontinuously .

With #1043 we'll probably want to get rid of local_context.slot_count and have a function, libspdm_get_cert_slot_count, that scans for populated slots similar to libspdm_get_cert_slot_mask. In that case libspdm_get_cert_slot_mask would look like
uint8_t libspdm_get_cert_slot_mask(libspdm_context_t *spdm_context);

Alternatively, we could have one function that provides both the slot mask and the slot count since the for-loop can produce both values
void libspdm_get_cert_slot_mask_and_count (libspdm_context_t *spdm_context, uint8_t *slot_mask, uint8_t *slot_count);

Thanks. I have changed the function to libspdm_get_cert_slot_mask_and_count.


Add the possibility to edit a job offer after seeing the preview

This pull request adds the possibility to edit a job offer after seeing the preview
https://github.com/osscameroon/jobsika/assets/49993443/c97c38ee-4418-4fd7-a0cd-3f8e8c263f3e

Nice!


Float-bar support. The logic is to use array values [bottomY, topY] i…

Float-bar support. The logic is to use array values [bottomY, topY] instead of regular vals. SO if you use regular numbers chart will be not floated and bar start will be 0 by default. If you use array for value current update allowing to track this and use bottomY value from array instead of 0.)
Example:
http://pravopys.net/chartjs/samples/charts/bar/vertical.html

Thanks for this! This will close numerous issues linked to in https://github.com/chartjs/Chart.js/issues/4863

I would recommend updating the docs (docs/charts/bar.md)

Hi @simonbrunel, @etimberg!
This pull request for adding floating bar support. Can you check pls, so maybe it should be upgraded/changed.
This should fix #4863 issue.

I think it's a good start, I need to review it more deeply, but don't have time right now. I agree with the data format [min, max] (as suggested in #4863), but we need to be sure we are picking the right one because if it's merged, we can't change it until next major version.
We also need to be sure that:

it works with horizontal bars
it works with stacked bars

A few early feedback:

instead of duplicating the logic to pick the "right" value in each scale, it may be better to move it directly in getRightValue()? Though, that would need some investigation to be sure it doesn't break anything.
I would not introduce the new borderSkipped: 'none' value, but instead support borderSkipped: false|null.
I would not call it lowY or highY but low/hight or min/max
we will need unit tests

Hi @simonbrunel!
I have made changes according to your suggestions.
I have tested all chars, so here the links for you to test it also:
vertical char with linear scale
http://pravopys.net/chartjs/samples/charts/bar/vertical.html
vertical char with log scale
http://pravopys.net/chartjs/samples/charts/bar/vertical-log.html
vertical-stacked char with linear scale
http://pravopys.net/chartjs/samples/charts/bar/stacked-vertical.html
vertical-stacked char with log scale
http://pravopys.net/chartjs/samples/charts/bar/stacked-vertical-log.html
horizontal char with linear scale
http://pravopys.net/chartjs/samples/charts/bar/horizontal.html
horizontal  char with log scale
http://pravopys.net/chartjs/samples/charts/bar/horizontal-log.html
horizontal -stacked char with linear scale
http://pravopys.net/chartjs/samples/charts/bar/stacked-horizontal.html
horizontal -stacked char with log scale
http://pravopys.net/chartjs/samples/charts/bar/stacked-horizontal-log.html

@simonbrunel would you be able to take another look at this PR?

There are multiple approaches to handle {min, max} stacked bars:

a. ignore stacking (which seems the solution adopted in this PR )
b. stack height only (start at 0):

bar(0).y0 = 0
bar(0).y1 = bar(0).max - bar(0).min
bar(n).y0 = bar(n-1).y1
bar(n).y1 = bar(n).y0 + (bar(n).max - bar(n).min)

c. stack height (start at bar(0).min):

bar(0).y0 = bar(0).min
bar(n).y0 = bar(n-1).y1
bar(n).y1 = bar(n).y0 + (bar(n).max - bar(n).min)

d. stack from origin:

bar(0).y0 = bar(0).min
bar(n).y0 = bar(n-1).y1 + bar(n).min
bar(n).y1 = bar(n).y0 + (bar(n).max - bar(n).min)

a. can be achieved without stacking
b. can be achieved by stacking number data
c. implies no gap between bars but doesn't necessary start at origin
d. implies gap between bars
I don't think a. is correct because it's not "stacked" but then I'm not sure between b, c and d. Maybe d. is the best behavior (that's what @etimberg suggested in #4863) because it allows to implement c. as well by mixing {x, y} and number data.

I'm exposing different use cases and way to understand the "stacked" feature and I really want everyone on the same page because we can't change it after releasing. Since your implementation is the same as stacked: false on the y axis, it could be more useful to actually stack values when stacked: true. My first thought was c. since this kind of chart is pretty common but d. seems maybe more consistent.  Could be interesting to see what other charting libraries implement in this case.
My previous formulas wasn't maybe really clear: y0 and y1 are the calculated start and end values while min and max the original dataset values. I don't think we should make a difference between a single number v and an array of [min, max] (v == [0, v]). Here is a picture of the 4 implementations:

@gwyneblaidd, if I'm not wrong, your implementation is a., right?
@etimberg @benmccann thoughts?

@benmccann, @simonbrunel
I didnt check in case of stacked x, for me stacked y only had a sense here. And yes, in case of 4 datasets with only 1 value stacking on y, would be the same as in case with no stacking at all (nothing to stack actually). SO yes, it will be implementation  a on not stacked and stacked on y - and its the most correct solution from 4 presented.
but why do you thinks its the case -  stacked: false on the y axis? My code is checking if the scale is stacked to return correct Rightvalue in the case of stacking and also to set correct start (upgrade in calculation of bar pixels, stacking block)

Sorry, @simonbrunel, I just realized my mistake on the previous post, I will reply today with update

@simonbrunel sorry it took me a little while to respond
I understand a very clearly. I like it the most because it's so straight forward. The user can easily get any of the other behaviors by calculating the appropriate values and using them here
I basically understand d as well, but it seems a little weird to me that negative values are treated differently. The start value is added to the last end value, except if the value is negative and then you start over from 0. That seems a bit inconsistent to me
I do not understand what b and c are doing. I especially don't understand how the green bar is positioned for b and c
I also don't understand how stacked y is different from not stacked. I would propose stacking x only for vertical bar charts and y only for horizontal bar charts.

@benmccann, @simonbrunel
for now current pull requests allows to work bars withc stacked and not stacked if we are not mixing format, eg [[0,10], [30,70]] - so this will work. If we mix like [[0,10], [70]] it will not work correctly, so i got it like we need to make it work with mixing values in format of arrays and just numbers. But, for me its logically, that if you use array format, so stick to this format in this bar. But if we need to make things worjing with mixing formats i will update code.

@benmccann  a. behaves the same as stacked: false on both axis, so to me it's not a solution because it's not "stacking". The user can also "easily get any of the other behaviors by calculating the appropriate values and using them here" while not stacking (stacked: false, which is the default).

I basically understand d as well, but it seems a little weird to me that negative values are treated differently.

Right, that comes from the actual stack implementation, negative values are separated from positive ones, that's why I suggested to do the same for consistency since you would still have to process number data as before.

I suppose I'm leaning towards d in that case
What are b and c

@simonbrunel should we go with d? Or can you explain what b and c are if you think we should go with one of them?

@benmccann, @simonbrunel Tested it as well in my project and this pull request works well. I hope it will be available in Chart.js as soon as possible.

@benmccann b and c are stacking the bar quantity only (max - min) while d is stacking the bar max value (max - 0).

b: for example, if min represents the opening value and max the closing one, then the bar itself (max - min) represents the progress and stacking could be interpreted as the total progress, starting from 0 with no vertical gap between bars.
c: same as b but starts from the min of the first bar (examples)
d: I can't think of any use case actually?

All use cases are of course valid and introducing floating bars will allow user to implement all of them when stacking is turned off. That means stacked: true on the value axis will become a convenient feature to translate bar positions without modifying input data, so we need to pick the most natural/flexible implementation for that feature which is consistent with the current stacking behavior.
I'm not sure anymore which one we should implement!
@etimberg

I am currently trying to implement mixed graph with two overlapping bar charts and I noticed that the max tick value is not using the y value from array for stacked option.
So with the configuration of:
      labels: [
        'Value A',
        'Value B',
        'Value B',
        'Value B',
        'Value B',
        'Value B',
      ],
      datasets: [
        // Floating bar
        {
          type: 'bar',
          label: 'Price',
          backgroundColor: 'red',
          data: [
            [50, 150],
            [0, 105],
            [4, 50],
            [16, 63],
            [29, 30],
            [60, 94],
          ],
        },

        // Bar
        {
          type: 'bar',
          label: 'Quantity',
          backgroundColor: 'green',
          data: [
            40,
            70,
            100,
            30,
            59,
            85
          ],
        }
      ]
    };

// Create chart
    const mixedChart = new Chart(context, {
      type: 'bar',
      data: data,
      options: {
        animation: {
          animateScale: true,
          animateRotate: false
        },
        scales: {
          xAxes: [
            {
              stacked: true,
              barThickness: 30,
              gridLines: {
                offsetGridLines: true
              }
            },
          ],
          yAxes: [
            {
              ticks: {
                beginAtZero: true,
                // max: 150
              }
            },
          ]
        }
      }
    });```

max Y value calculated should be 150 (from first dataset), not 100 (from second dataset).

The issue itself seems to be in core.scale.js, where getRightValue() function does not use the y value from array if stacked option is enabled.

```		getRightValue: function(rawValue) {
			// Float-bar support. Check if array so be aware of min/max Y values. Return min for stacked chars and max for general char
			if (helpers.isArray(rawValue)) {
				if ((this.chart.options.scales.yAxes[0].stacked || this.chart.options.scales.xAxes[0].stacked) && !isNaN(rawValue[0])) {
					rawValue = rawValue[0];
				} else if (!isNaN(rawValue[1])) {
					rawValue = rawValue[1];
				}
			}
...

@AlexSapoznikov  yep, mixing both types of values like as array  [50, 150] and like integer 50 is an issue currently. That will be fixed in the next 1-2 days.

My preference is for option D since it appears to me to be a superset of option B. Ie, one can make option B using D by setting the low value to 0. Seems like that would be more flexible for users.

I agree with @etimberg that D seems more flexible than B or C. @simonbrunel should we go with D then?

D works for me then.

@etimberg , @simonbrunel, @benmccann
Can you check this implementation? Its D stacking for float bar support
http://pravopys.net/chartjs/samples/charts/bar/stacked-vertical-simon.html

I guess, all bars should to be in section of one month January (for current example)?
Like in stacked group http://www.chartjs.org/samples/latest/charts/bar/stacked-group.html

@uzlov its because the labels for datasets didnt fit the actual number of datasets in this page. I have created number of datasets to 2 and have put 2 labels. And it works fine, you can check - http://pravopys.net/chartjs/samples/charts/bar/stacked-vertical-simon.html

but i can try to change it. Just confirm its need to be done. Maybe we need to ask @simonbrunel? or just to do it? i know guys are pretty busy

i am there already

Please fix the failing tests. There are many failing with an error saying that helpers.isNaN is not defined

@gwyneblaidd could you also add some unit tests before this is merged?
There are example image-based unit tests you can follow in https://github.com/chartjs/Chart.js/tree/master/test/fixtures
Here's a PR explaining the process of creating those tests https://github.com/chartjs/Chart.js/pull/3988

@gwyneblaidd could you also add some unit tests before this is merged?
There are example image-based unit tests you can follow in https://github.com/chartjs/Chart.js/tree/master/test/fixtures
Here's a PR explaining the process of creating those tests #3988

checking and will do today-tomorrow

@gwyneblaidd this PR will need to be rebased. And just a reminder to please add unit tests so that we can merge this PR

Good job on this! Will this be finished any time soon? :) Exactly what chart.js has been missing for long time

@gwyneblaidd can you rebase this PR and add unit tests? I'd love to see this merged

Just for reference, new PR: https://github.com/chartjs/Chart.js/pull/6056


feat: Update FreeRTOS Kernel to version 10.1.1

Description
The latest FreeRTOS Kernel Version is 10.1.1 in the SVN repo. This
commit brings the same into the Amazon FreeRTOS.
Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

/bot run checks


⚠ Bofrost.fr has degraded performance

In ab83662, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1626 ms

Resolved: Bofrost.fr performance has improved in d49e917 after 6 minutes.


IAM role

what

Add iam role instead of user

why

Security

references

Closes https://github.com/cloudposse/terraform-aws-ses/issues/53

This is untested and I will close this until we have time to test it or a community member has time to test

/test all

/test all


Exclude .ts source files from releases

The presence of .ts original source files is causing issues for some users.
The task is to exclude .ts files in https://github.com/IBM/cloudant-node-sdk/blob/master/.npmignore (but not .d.ts).
See also the discussion at https://github.com/microsoft/TypeScript/issues/12358 .

Since the README-s are not including the imports right now, we should check whether this has an effect on importing when we are using Typescript.


If i had a macbook, i would fix the issue.

NVM I just needed to install the latest update!!


Added Solution To Problem 662

Maximum Width OF Binary Tree
Pull Request Template
What have you Changed(must)
Write here what you have changed in the codebase-I added a java solution for the problem 662 of Leetcode Maximum Width Binary Tree.
Issue no.(must) -
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me if not it will be marked as spam.
[ ] My file is in the proper folder
[ ] I am following clean code and Documentation.
[ ] I have added the title and what program will do first in the file
[ ] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

@fiddlytompkus you have to mention the issue number in the PR Body.


Use volumn not work

Run command  not work
docker run --name mysql -d -v /data/mysql:/var/log/mysql dockerfile/myql
Error:
150311 07:36:04 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150311 07:36:04 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

What's solve it?

Hello, if you can't wait for them to fix this issue you can consider using that

Hi @BenNG ,  are you sure the problem is a bug in dockerfile/mysql?

Hummm ... try  /data/mysql:/var/lib/mysql instead of
/data/mysql:/var/log/mysql ?
2015-03-11 14:34 GMT+00:00 qinpengfei2008<EMAIL_ADDRESS>
Hi @BenNG https://github.com/BenNG , are you sure the problem is a bug
in dockerfile/mysql?
—
Reply to this email directly or view it on GitHub
https://github.com/dockerfile/mysql/issues/4#issuecomment-78274607.

--
Cordialement,
Benjamin NGUYEN
Développeur
<EMAIL_ADDRESS>9 rue Maurice Mallet
92130 Issy-Les-Moulineaux
Téléphone : +33 (0)1 83 62 04 04
Télécopie : +33 (0)9 55 56 03 55
www.clicrdv.com

@BenNG  Sorry, I write command error, right command  is docker run --name mysql -d -v /data/mysql:/var/lib/mysql dockerfile/myql, an error occurred
150311 07:36:04 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150311 07:36:04 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

ok so I don't know... post en stackoverflow you will have more answers

ok，thanks @BenNG


The SSH URL with port display is incorrect

Description
Hi，
I found a  SSH URL showing error,  that the port number  is display  the username (or organization name).
I found this code location here ，and lost  publish SSH PORT
If the USE_COMPAT_SSH_URI=true setting is turned on, it is displayed correctly
Screenshots

Gitea Version
1.20.2
Can you reproduce the bug on the Gitea demo site?
No
Operating System
Debian with docker
Browser Version
EDGE

22 is the default SSH port so 22 can always be omitted

I see nothing wrong here ssh:// implies port 22. Just like https:// implies port 443. You wouldn't add :443 for HTTPS for example.

@wxiaoguang
If the USE_COMPAT_SSH_URI=true setting is turned on, it is displayed correctly
but,
USE_COMPAT_SSH_URI=false ,  then show git.homwork.local  [:22]  /GWork/XXX
BUT Here is
git.homework.local  [: GWork]   /XXX
, that  Gwork  is Port Number, XXX is Username
git can't connent   git.homework.local with GWork Port!!

https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
scp-like syntax for the SSH protocol: git clone [user@]server:project.git

@wxiaoguang
OK , I see.
it might indeed be a bit more troublesome.
I'm use vscode and it  recognize that URL as an HTTP address.


Make Website mobile friendly

On a mobile this happens when I scroll right. Anyway to make it work so nobody can scroll right on a mobile and the text is always in the middle of a screen?

Looks like @andreybo fixed it in #14, I do not experience it anymore on mobile.


ravedude documentation

Mention in the ravedude documentation what is a suitable avrdude versioin to be used (6.3)

Hi, thanks for the PR.
Instead of just documenting this in some README, I think it would be much better to have ravedude actually verify what version of avrdude is installed by calling avrdude -? and parsing the version string.  If the version is unsupported, it should bail out instead of letting people run into the issues.  This is going reach people much more likely than if we just have a small note in the README.
Would you be interested in implementing that?

Would you be interested in implementing that?

I would!  If you and @michelepagot don't object, that is. ;)
Is there a minimum version that we know of or is the idea to declare 6.3> because it is known to work fine?
Thanks in advance!

@luukvanderduim, that's awesome, please go for it!

Is there a minimum version that we know of or is the idea to declare 6.3> because it is known to work fine?

Yeah, let's not try to deal with older versions, it's enough of a mess as it stands.  avrdude 6.3 was released 2016 so I'd say there is no excuse for using older version in 2021.
Thanks for picking this up! :)

On Mon, Sep 13, 2021 at 08:05:08AM -0700, Luuk van der Duim wrote:

Would you be interested in implementing that?

I would!  If you and @michelepagot don't object, that is. ;)

Sent patches     :-)

Is there a minimum version that we know of
or is the idea to declare 6.3> because it is known to work fine?

Put minimum version in a variable, constant or other data structure
that enables future maintenance. Yes, sent patches ...
Regards Stappers
P.S.
It is not important what my opinion is on ravedude checking
which avrdude version is being used.
Important is there is software with 100 freedoms
001 freedom to use
010 freedom to share
011 freedom to study
100 freedom to modify

Closing as this is now superseded by #211.  Thanks @michelepagot for kicking off this topic.

Closing as this is now superseded by #211. Thanks @michelepagot for kicking off this topic.

Is it possible you meant #221, or am I missing something?

Of course, sorry!


Remove incompatible options.

(node:203950) DeprecationWarning: The option reconnectTries is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6
(node:203950) DeprecationWarning: The option reconnectInterval is incompatible with the unified topology, please read more by visiting http://bit.ly/2D8WfT6

Thx. I have updated version in NPM.


allow log for chainable relations

With this change we can now log chainable relations like this
protected static $logAttributes = ['user.role.name'];

Thanks for your work here!
I just had several code-styling and usage of functions change requests- that's why I've done it in a new branch and added you @RezaT1994 as the author of the first commit.
The idea is the same and it should work the same. 🎉

https://github.com/spatie/laravel-activitylog/releases/tag/3.15.0


RFP - Stacher

Checklist

[X] The package I am requesting does not already exist on https://community.chocolatey.org/packages;
[X] There is no open issue for this package;
[X] The issue title starts with 'RFP - ';
[X] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://stacher.io/
Direct download URL for the software / installer : https://cdn.stacher.io/builds/StacherSetup.exe
Software summary / short description:   BEAUTIFUL, MODERN GUI FOR YT-DLP - Stacher will automatically install YT-DLP on startup, however you can customize Stacher to use any fork you prefer.

/recheck


[IOTDB-2901] Refine codes of DataTypeMismatchException and checkDataTypeMatch

See JIRA: https://issues.apache.org/jira/browse/IOTDB-2901

Coverage increased (+0.01%) to 55.986% when pulling 3896bdc91d37bf0c44dacf92d420a23a30b4ea8f on improve/iotdb-2901 into fc0313ed8bc6abfb6e7c815df2dbafef898401ce on master.

@HTHou @MarcosZyk PTAL


MySQL

Hi, Can I  use this plugin for data extracted from MySQL via PHP?

I think so. You have to write a web service in PHP.
Luca
Il mar 16 lug 2019, 15:31 Edhant<EMAIL_ADDRESS>ha scritto:

Hi, Can I use this plugin for data extracted from MySQL via PHP?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KasperOlesen/DataTable-AltEditor/issues/36?email_source=notifications&email_token=ACLII2GQZAHVJWZRRE6DFNTP7XEU5A5CNFSM4IEA7POKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7PEKUQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLII2ATMEBD4OZTZ7XFZQ3P7XEU5ANCNFSM4IEA7POA
.

ok, I built a web service in PHP (I have 4 files:
select, insert, update, delete) all return data:
echo json_encode ($ json);
Here everything works ok - I checked in ARC
I understand that you should use the solution from example 3. Can you support me and indicate what needs to be changed?

Referring to
https://github.com/KasperOlesen/DataTable-AltEditor/blob/master/example/03_ajax_objects/example3.js
You have to change, at least, the following:

The columns definition, rows 3-31
The URL of your "select" ws, row 36

So far, you should be able to see your datatable.
Then, you should create functions to handle update, delete, insert, rows
69-97
For example, for "insert", you should adapt rows 72-73.
Il mer 17 lug 2019, 15:46 Edhant<EMAIL_ADDRESS>ha scritto:

ok, I built a web service in PHP (I have 4 files:
select, insert, update, delete) all return data:
echo json_encode ($ json);
Here everything works ok - I checked in ARC
I understand that you should use the solution from example 3. Can you
support me and indicate what needs to be changed?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KasperOlesen/DataTable-AltEditor/issues/36?email_source=notifications&email_token=ACLII2FWMASFRC76FAVG32TP74PBTA5CNFSM4IEA7POKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2EHZSQ#issuecomment-512261322,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLII2BHBP27DTRTFBP3JKLP74PBTANCNFSM4IEA7POA
.

Thank for your help, everything works :-)

Thank for your help, everything works :-)
Hi @Edhant,
I have the same problem. Please can you post your  soloution or contact me by mail
<EMAIL_ADDRESS>

can someone post a demo of mysql please
thanks

In what language? PHP? You may find dozen of results for "crud PHP mySQL".
E.g.  https://github.com/chapagain/crud-php-simple of course you must adapt
it for altEditor
Il mar 6 lug 2021, 16:34 TwinMist @.***> ha scritto:

can someone post a demo of mysql please
thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/KasperOlesen/DataTable-AltEditor/issues/36#issuecomment-874815176,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLII2BOZ7OAJWJHJLVCCRDTWMH6NANCNFSM4IEA7POA
.

Yes in php,
would be you able to create a mysql demo example in php for us please
i like the look of your layout
thanks

Sorry, I have no time for this now. I haven't used this plugin for a while.
Il mar 6 lug 2021, 17:17 TwinMist @.***> ha scritto:

Yes in php,
would be you able to create a mysql demo example in php for us please
i like the look of your layout
thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/KasperOlesen/DataTable-AltEditor/issues/36#issuecomment-874851634,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLII2GWFXB4VHTY2Y4V2E3TWMNCDANCNFSM4IEA7POA
.


Testing mode without IR reader module?

Hi and thanks for your work.  I want to test the HA integration before deciding to buy an IR reader. But it always ask for a connection when running the integration for the 1st time. I even tried to install it manually as custom component.
Could you pls help me to explain what I need to comment out in your code (config_flow.py?) to get the rest configured?
Thx, Jens

Hi, the module has a testing mode using a file instead of a serial connection, see https://github.com/vpathuis/ultraheat/tree/master/tests.
This won't work in the HA-integration however, since the HA-production environment won't allow me such testing modes.
But if you're testing locally you can try adding the following code just after reader = ultraheat_api.UltraheatReader(entry.data[CONF_DEVICE]), in both config_flow.py and __init.py:
    reader = ultraheat_api.FileReader("LUGCUH50_dummy.txt")

Place the dummy file in the same folder as the customer component code. I'm not entirely sure this works, haven't tested it this way.

Ihm, too bad, I thought I would be able to get the integration (even as a custom integration) up and running to see how the entities and addtl. entries are made available in HA. I'm not good at reading code and I have a Tasmota WiFi (MQTT) integration running but struggle to get the values sorted, assigned and show up in a meaningful way in the dashboard.
Learning from example is always the best.
So, I might end up buying the USB IR reader and give it a try.
Thx.

I'll try and see if I can set it up for you to test. I'll need a bit of time, perhaps later today.

Wow, works like a charm. Build an automation for the manual update. Thx.
OUTSTANDING SUPPORT"!"""


pinColor change not working on Android

Is this a bug report?
Yes
Have you read the Installation Instructions?
Yes
Environment
react-native: 0.58.5
react: 16.8.3
react-native-maps: 0.23.0
Steps to Reproduce
In my scenario, you can click together a route by dropping markers on the map. The first one is green ("start"), the last one is red ("end"), the middle one's are blue. So whenever a marker is added, the component renders again with the markers changing to the appropriate color. On iOS, this works perfectly and if I remember correctly, it was working on Android back in the day as well. Now, all subsequent markers keep the initially set color on Android ("red" for all after the first).
Expected Behavior
Marker color updates to the new one (blue) on Android, just as it does on iOS.
Actual Behavior
Marker keeps initially set color.
Reproducible Demo
Will try to follow up with a sample if you have issues. But changing color of a marker after a one second timeout should be setup enough to showcase the issue.

Also, I managed to hack together a fix using one of my favorite tools for unwilling React components: Using the "key"-attribute to force a rebuilt of the marker.
<MapView.Marker
    key={idx === self.props.track.markers.length - 1 ? "end" : idx}
    pinColor={idx === self.props.track.markers.length - 1 ? Colors.pureRed : Colors.boatBlue}/>

@RobTS did you try to set tracksViewChanges to true while changing the color?

@rborn I have the same problem, and set tracksViewChanges to true but still not working

On Android, I am seeing displayed pinColors that do not match what I set them to.
It is not consistent.  I set 50 pins to yellow and all are displayed yellow.
Then I reload app, set 50 pins to yellow, however some are displayed as yellow and maybe half are red?
tracksViewChanges true or false makes no difference.
    Pixel 3A running Android 64-bit

    "react": "^16.8.6",
    "react-native": "0.59.9",
    "react-native-maps": "^0.24.2",

Allowed colors for Marker are : red, tomato, orange, yellow, green,  gold, wheat, linen, tan, blue, aqua, teal, violet, purple, indigo, turquoise, navy and plum.
Like:
<MapView.Marker
pinColor={'green'}
...

I tried using only the colors @GabrielScalici mentioned but still no luck on Android.


Request to add sulci from UBERON

Hi @lzehl and @UlrikeS91,
would it be possible to pull the sulci and gyri from UBERON and add them as Uberonparcellation entities?
Many thanks!

@AnnaHilverling which ones are missing that you need?

@lzehl these are the entries I need for a dataset:

central sulcus: http://purl.obolibrary.org/obo/UBERON_0002916
precentral gyrus: http://purl.obolibrary.org/obo/UBERON_0022252
superior temporal sulcus: http://purl.obolibrary.org/obo/UBERON_0002734

@AnnaHilverling did you mean precentral SULCUS? The link to the UBERON entry is for that one. If you needed precentral gyrus, that one already exists as controlled term which has this UBERON ID: http://purl.obolibrary.org/obo/UBERON_0002703.

@UlrikeS91 No, I meant the precentral gyrus. Then I must have overlooked it. My fault.

should be solved now with #196


Re-use component for editing Locations #2287

As suggested on #2287 we can re-use EditorTemplate for Event\Edit.cshtml . for required field (Address1) we can pass additional parameter to the EditorTemplate:
@Html.EditorFor(m => m.Location, new { RequiredAddressOne = Model.EventType == EventType.Rally })

Great stuff, thanks @SirwanAfifi !


Multiple Gerrit servers support

Hi.
It's really sad that the plugin currently can only support one Gerrit server. Please consider adding multiple servers support soon - for example in my case, there are two departments using two Gerrit servers on the intranet but JIRA is common to the company.

Duplicate of #2


Release 3.2.0

Codecov Report

Merging #1800 (b9642d3) into main (77445d2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1800   +/-   ##
=======================================
  Coverage   65.09%   65.09%
=======================================
  Files         118      118
  Lines       14389    14389
=======================================
  Hits         9367     9367
  Misses       5022     5022

Impacted Files
Coverage Δ

src/irmin-test/store.ml
94.93% <0.00%> (-0.06%)
:arrow_down:

src/irmin-unix/fs.ml
68.38% <0.00%> (+0.64%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


package.ai.api.model does not exist

packages from ai.api seems to have been deprecated as api.ai has been changed to dialogflow v2. how do I fix this problem?

Do you have any sample code? So far the packages I have been using seem to be working fine.

i just made a pull request of this project and imported the project to create a new one, but the bot doesn't respond at all. pretty sure the credentials are working fine since i lent them to someone who tried to create an ios app

Can the app build? If so, dont forget to check your permissions in android itself.

i've checked the permissions. however, the app fails to build.

Getting the same error while trying to build the sample app.

Solution: You can see https://github.com/dialogflow/dialogflow-android-client/blob/master/docs/integration.md
This would work.


Fixed text domain in class-basic.php

Fixed text domain in class-basic.php

Summary by CodeRabbit

Documentation

Updated guidance text in the settings for enabling tracking and script positioning by disabling "Compatibility Mode," improving clarity and relevance.

@coderabbitai review

@coderabbitai review


Formatting input AnnData, methods to incorporate CAS results back to AnnData, Visualization

A couple of small things:

[ ] Basic reformatting of user AnnData input for CAS consumption
[ ] Basic methods for injecting CAS results back to AnnData (best call, weighted nearest neighbor, etc)
[ ] Basic methods to help with visualization
[ ] Some miscellaneous update to log message

@fedorgrab Just realized that I have a lot of missing Docstrings;  I have also branched off of your fg-authenticate branch. Do you want to merge your branch first and then I rebase this, or just merge this and get rid of fg-authenticate?

Let's merge first my fg-authenticate to main, then rebase mb_cli_helper_scripts from fg-authenticate to main.

Closing this as this is included in #48