Trivial: missing return statement

Description
Trivial: missing return statement

Codecov Report
Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 95.24%. Comparing base (bafb859) to head (11ec9c3).
Report is 9 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #990      +/-   ##
==========================================
- Coverage   95.26%   95.24%   -0.03%
==========================================
  Files          54       54
  Lines        2134     2166      +32
==========================================
+ Hits         2033     2063      +30
- Misses        101      103       +2

Files
Coverage Δ

ols/src/query_helpers/docs_summarizer.py
98.03% <0.00%> (-1.97%)
:arrow_down:

... and 1 file with indirect coverage changes

/lgtm

/approve


[Open source] Exchangis1.0 adds an interface for deleting synchronization history.

Delete records in synchronization history
Description: jobExecutionId, delete synchronization history
The request URL:/api/rest_j/v1/exchangis/job/{jobExecutionId}/deleteJob
Request method: POST
删除同步历史中的记录
接口描述：jobExecutionId，删除同步历史记录
请求URL：/api/rest_j/v1/exchangis/job/{jobExecutionId}/deleteJob
请求方式：POST
{
"method": "/api/rest_j/v1/exchangis/job/{jobExecutionId}/deleteJob",
"status": 0,
"message": "Submitted succeed(提交成功)！",
"data": {
"jobExecutionId": "555node1node2node3execId1"
}
}

https://github.com/WeBankFinTech/Exchangis/pull/282，这个pr解决了


Make extension setting available to choose default between (non)-interactive

This should be easily overwriteable using a nested .vscode/settings.json.

https://github.com/stateful/vscode-runme/pull/1820 unlocks runme.terminal.interactiveIsDefault.


.ameba.yml config file ingored

VSCode shows problems, which are ignored in my .ameba.yml config file. When i run ameba from command line, all is OK (no problems).

I can confirm this is an issue in Ameba itself. The path in .ameba.yml has to be converted to the relative one.
Reproduction:
$ cat ameba/.ameba.yml
# This configuration file was generated by `ameba --gen-config`
# on 2021-04-21 10:00:29 UTC using Ameba version 0.14.3.
# The point is for the user to remove these configuration records
# one by one as the reported problems are removed from the code base.

# Problems found: 1
# Run `ameba --only Lint/UselessAssign` for details
Lint/UselessAssign:
  Description: Disallows useless variable assignments
  Excluded:
  - src/ameba/config.cr
  Enabled: true
  Severity: Warning

Working correctly
$ cd ameba
$ ameba /Users/me/Dev/repos/ameba/src/ameba/config.cr --format json --config /Users/me/Dev/repos/ameba/.ameba.yml
Finished in 833.72 milliseconds
184 inspected, 0 failures

Working incorrectly
$ cd ../
$ ameba /Users/me/Dev/repos/ameba/src/ameba/config.cr --format json --config /Users/me/Dev/repos/ameba/.ameba.yml

{"sources":[{"path":"/Users/vel/Dev/repos/ameba/src/ameba/config.cr","issues":[{"rule_name":"Lint/UselessAssign","severity":"Warning","message":"Useless assignment to variable `test`","location":{"line":124,"column":5},"end_location":{"line":124,"column":8}}]}],"metadata":{"ameba_version":"0.14.3","crystal_version":"1.0.0"},"summary":{"target_sources_count":1,"issues_count":1}}%

Closing in favour of https://github.com/crystal-ameba/ameba/issues/231
Thanks for reporting.


Reset Saleae when frozen

I do automated measurements using the Saleae Logic Pro 8 and the logic2-automation lib. I have an external trigger to start 10 s of analog measurement. It works quite well, but from time to time, the measurement does not stop properly. I don't get the expected results and the LED of the Saleae Logic Pro 8 stays in this cyan-ish color (instead of switching back to green after the measurement). After such an event, I have to unplug the Saleae to reset it and plug it in to use it again. I haven't found a way to connect to it or reset it after it freezes like that via software. It's a bit cumbersome when I want to do measurements over night and after only a couple of measurements, the Saleae freezes like this.
Is this a known problem? Is there a way to reset the Saleae by software? Would be great to have something like that, so that I could detect the freeze, reset the device and continue my measurements automatically.

@schmiph2 Thank for reporting this issue. We would love to add a method to reset the connection, or provide some kind of way of recovering from something like this.
Can you share more information on what you mean by the below statement? What is your automation script designed to do, and what exactly does the software do when the issue below comes up?

It works quite well, but from time to time, the measurement does not stop properly.

Sorry for late feedback, I could not reproduce the issue anymore. Might also be an issue with my code. Maybe reopen it again when it appears again.
Just for completeness:
I use the software in a headless mode with Xfvb, so, unfortunately, I can't really tell what the software does.


Documentation website down (alternative link in issue)

There's currently ongoing DNS issues with the new documentation site, creating this issue is to track status of firebase.flutter.dev.
As a workaround for now the documentation site can be viewed here: https://flutter-firebase-docs.web.app/docs/overview

Docs website domain is restored.


[FEATURE] Add some features for social links and homepage

Thanks for this amazing theme. I have searched hundreds of Hugo themes, and your theme is one of the best.
I am in no position to ask for anything from you, you have already done a lot, but I would love if you could add these features:
Feature 1:
An alternative links to Paypal, and Patreon like: Librepay, and Ko-fi.
Feature 2:
Add featured posts, and latest posts on the right side of home page as in hugo-clarity theme
Featured posts can be pulled out from frontmatter variable featured: true
Feature 3:
Add the ability to pin posts to the home page
Pinned posts can be pulled out from frontmatter variable pinned: true
I am sorry if I am asking for too many features, I wish I can add them as pull requests myself, but I am totally new to Hugo.

Hello
For Feature 1, links for Libreapay, and Ko-fi will be added soon!
For Feature 3. The post on the home page is sorted by time by default. To "Pin" a post, you can set the weight front matter for the post. The exampleSite is using this method to pin this post on the top.
For Feature 2, I don't see a way to fit a featured post section into the design pattern of DoIt theme. As mentioned before, the post on homepage is sorted by weight, then by postDate, so all the posts on homepage have been sorted by featured posts and latest posts already, a dedicated section does not seem to be very useful.

I tested it, and it works fine. Thanks!


Proxy support

Is proxy supported, for example https://github.com/chimurai/http-proxy-middleware
I would like to proxy /api to subdomain with http-server but I see only very basic -P param
Thank you

I'm not sure complex proxying is within the scope of http-server, this would be better suited for a library like express


chore(minifier): temporary remove try_fold_if_block_one and try_fold_if_one_child

They are not idempotent.

#7536  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Nov 29, 12:00 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


CSS in custom element

Discussed in https://github.com/TuSimple/naive-ui/discussions/2301

Originally posted by jbmolle January 27, 2022
Hi,
I'm trying to create a custom element from a Vue component with Vue 3 function defineCustomElement.
Let say the component is just a NaiveUI Button.
The problem is that in a Vue app NButton works perfectly but in a custom element there is no CSS style applied.
Actually NButton uses useTheme which renders the CSS classes with css-render. useTheme uses style.mount which calls document.head.appendChild or document.head.insertBefore. So we get inline stylesheets in the head of the page. The problem with Vue3 custom elements is that a shadow root is automatically inserted and so everything inside the custom element doesn't have access to the stylesheets in head.
Would it be possible to add a custom variable to mount.ts with the dom element where the style should be inserted. So per default it would include to document.head but if we give a specific element, it would insert it in a style tag in the shadow root.
Let me know what you think and if you see another solution.
Thanks,
JB

Hi there, any news about this ?
I'm also trying to create a little devtools isolated in a custom element, with vue's defineCustomElement and planning to use Naive UI inside


ActivityIndicatorView can not dismissing when UIAlertView is appearing on screen.

Hi,
Thanks for an excallent tool. I have one issue about dismissing the indicator view. When you show any UIAlertatew at screen before you startAnimating activity indictor, the activity indicator is not dismissable.
Could you please help me with this issue?
@ninjaprox
Thanks.

Don't you mind if creating or sending over an example project with the issue? I can help investigate and fix it from there.

in viewDidLoad:
`UIAlertView(title: "title", message: "message", delegate: nil, cancelButtonTitle: nil).show()
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
let loader = ActivityData(size: CGSize(width: 40, height: 40),
message: nil, messageFont: nil,
type: .circleStrokeSpin,
color: UIColor(red: 0.18, green: 0.72, blue: 0.93, alpha: 1.00),
padding: nil, displayTimeThreshold: nil,
minimumDisplayTime: 1,
backgroundColor: .clear,
textColor: nil)
NVActivityIndicatorPresenter.sharedInstance.startAnimating(loader, nil)
}`

I checked the example, and the behavior seems different from what you described. The animation is hidden behind the alert view, yet it's still able to dismiss after stopAnimating(). Anyway, what use case are you having NVActivityIndicatorView with UIAlertView?

We are using fabric to distrubuting our Beta apps, so when new version is available on fabric, automatically appears "new version is available" alert on screen at old versions of app. App goes through to Main page and fetching some data and runs
NVActivityIndicatorPresenter.sharedInstance.startAnimating(loader, nil) when UIAlertView on screen. After that
NVActivityIndicatorPresenter.sharedInstance.stopAnimating() not works.
When i debug this stopAnimating, i found hide(_:) method in NVActivityIndicatorPresenter.
fileprivate func hide(_ fadeOutAnimation: FadeOutAnimation?) {
        for window in UIApplication.shared.windows {
            for item in window.subviews
                where item.restorationIdentifier == restorationIdentifier {
                    if let fadeOutAnimation = fadeOutAnimation {
                        fadeOutAnimation(item) {
                            item.removeFromSuperview()
                        }
                    } else {
                        item.removeFromSuperview()
                    }
            }
        }
    }

i think, every item is window.subviews has no restorationIdentifier with "NVActivityIndicatorViewContainer".
I hope it will helps to understant my problem. 🙏🏼

It might be a niche case to have 2 "modals" displaying at the same time. I'd suggest dismissing the alert view first, then startAnimating(_:, _:), it also gives better UX in my opinion. Since I can't reproduce this issue on my side, could you help check the following:

Does it call hide(_:) at all?
If it calls hide(_:), is there any view with restorationIdentifier?
Try a delay between startAnimating(_:, _:) and stopAnimating(_:), it might help.

Close this, reopen if need be.


Revert "Add missing chart layout files for ExtManagementSystem"

replaces #7589
Reverts ManageIQ/manageiq#7541
ping @simon3z, @yaacov
just a rebase

LGTM
https://github.com/ManageIQ/manageiq/pull/7590 is merged, it fixes the original issue in another (better) way.

@dclarizio : please, merge


Dev Tim Gebert

Added alias for directories inside src
Added simple specification list with get and add methods
Added Api method to generate an sdk, and empty function to handle further logic
Added API method to add a specification

Could you also rename the pull request to something more descriptive like 'Add prototype APIs to generate and add specifications'?

The things i wanted changed are in now so i'm happy to approve 👍

Annd... i accidentally closed the PR LOL


Add example using the instructions array for a state RPC #84

This is an example program for using the instructions array for a state RPC.
It is meant to close issue "example using the instructions array for a state RPC #84"

@acheroncrypto @Aursen I am really thankful for the time and effort you put in to review my work. Please note that I have worked on the issues you raised.

@lastemp Thank you for addressing the problems, have you tested this and confirmed it works?

@lastemp Thank you for addressing the problems, have you tested this and confirmed it works?
Yes, I did my tests on local cluster and it worked. Please find the attached screenshot.

I don't think we have TypeScript installed in tutorials workspace and all other tutorials are using JavaScript. It might work for you if you have every dependency globally installed via npm but it won't work for other people.
Could you specify the necessary dev dependencies(typescript, ts-mocha...) in https://github.com/coral-xyz/anchor/blob/master/examples/tutorial/package.json#L18 ?

Thanks for the guidance, please note that I have now added the dev dependencies.

Thank you for your contribution. I don't think we need to add this to CI, so I'm merging it as is.

@acheroncrypto @Aursen I am so thankful and grateful for the valuable input you both provided.


:bug: Change description of application details binary section to Binary(Java)

Resolves: #1990


Update waitfor-transact-sql.md

Include formatting information for time_to_pass and time_to_execute.

Thank you @BraveJhawk for the help.


Adding 'hideOnClick' option

This adds an option to hide the tooltip when the target element is clicked.
In my app, I have a tooltip on a button that is moved / hides itself after it is clicked. When the button is clicked, the button disappears, but the tooltip stays present until I mouse over something else that has a tooltip (this is because the element has disappeared, and therefore can't trigger the mouseleave event). I fixed this bug by adding this option to hide the tooltip when the target element is clicked.

@lukeknep Does global method ReactTooltip.hide() work for you?


Implement stringer interface

Fixes #745.
Caused by https://github.com/golang-sql/sqlexp/commit/d42ba59f5c11011b1df5abc536ee75821c22bdac.

Could you port this to the microsoft fork? github.com/microsoft/go-mssqldb

Causing build errors in my project:
# github.com/denisenkom/go-mssqldb ..\..\go\pkg\mod\github.com\denisenkom\go-mssqldb@v0.12.0\token.go:790:79: cannot use info.Message (variable of type string) as type fmt.Stringer in struct literal:         string does not implement fmt.Stringer (missing String method)
Let me know if more details needed


refactor(autocomplete): Extract inner anonymous methods + add return types, ...

+ minor style changes/simplifications e.g. using null-aware operators.

lgtm, thanks!


specify compiling instructions

hey there,
i would like to get the changes in #1 but there's no release, so i wanted to compile it myself but uuh no compiling instructions? what version(s) of python do you use to compile this?

if you have python3 installed you just need to run it with py script.py
the one dependency that may not already be installed is requests
I wanted to publish the binary release but I somehow couldn't compile it...

well i think i found it

@KarBoy2314PL
figured out what's wrong and published binary, sorry for the inconvenience!
also if you still want to run it directly
py -m pip install requests
py -m pip install pillow
py resource_backports.py


Test for valid use of (S)NPE API

This PR attempts a solution to #23 without (yet) introducing test categories a la @pytest.mark.slow (see https://github.com/mackelab/sbi/blob/86256e02c1080965795e65062c4ab9d3a19015d2/tests/linearGaussian_snpe_test.py#L196)

btw, when run, this unit tests results in:
        # For torch < 1.8 log_abs_det_jacobian is returned for each dimension.
        if vals.ndim > 1 and vals.shape[1] == dim_parameters:
            vals = vals.sum(-1)

>       assert (
            vals.numel == batch_size
        ), "Mismatch in batch size, took sum over whole batch?"
E       AssertionError: Mismatch in batch size, took sum over whole batch?

../../sbibm/utils/torch.py:105: AssertionError

which is related to #15 I guess

which is related to #15 I guess

Yes, this is due to #15. @janfb will fix this beginning of next week, that will iron it out

Cheers!


Publish GCN Notices from VOEvent-formatted files

Extend a command-line client to ingest GCN Notices (VOEvents) and post them using VOEvent JSON serialization. Similarly to how scimma publish operates, should read in XML files.
Schema: http://www.ivoa.net/documents/Notes/VOEventJSON/20171014/VOEventJSON.pdf
As for possible libraries to leverage, there's https://github.com/timstaley/voevent-parse. VOEventLib and pygcn are both GPL-licensed.
It may make more sense to split up the client into the core client library to just interact with the Kafka broker via scimma (scimma-client) and distinct sources that would ingest packets/files/etc from a variety of methods into the scimma ecosystem. In this case, we could have a library that would just handle GCN notices and leverage pygcn for this. That single library would be GPL licensed but the rest (and the core client) would still be BSD licensed without causing issues.

@myNameIsPatrick I have a very simple gcn reader that outputs JSON in a stand-alone repository:
https://github.com/scimma/gcn2stdout
I'm working on another program named voevent2scimma that will read input from gcn2stdout (or any other program that outputs VOEvents in  a specified format) and publish to scimma. I plan for it to take the program to use to get VOEvent messages as a configuration parameter. It will import the scimma client library and use it to interact with the scimma server.
I have a question about the format of input messages to the scimma client. Should the client accept XML and do the parsing or should it take JSON (if so, what format)?
Currently, gcn2stdout outputs JSON, but it would be easy to make it output raw XML.

@rdt12, that URL returns a 404 error for me, I may not be a member of that repo if it's private.
That plan sounds reasonable to me. I'd rather the client accept JSON with the schema defined in the URL in the first comment. I see slight differences in the schema just due to how XML can have duplicate keys, but it should almost be one-to-one.
I have started work on the schemas for VOEvents and Circulars, as a way to more finely control the data products we support. The VOEvent data class is here: https://github.com/scimma/client_library/blob/master/scimma/client/models.py#L11. As long as the JSON packet is read in via json.loads or similar, you should be able to unpack it into the data structure by doing:
from scimma.client import models

msg = json.loads(msg_json)
voevent = models.VOEvent(**msg)

and then to send it to the client, you can serialize it like:
packet = json.dumps(voevent.todict())

Right now it's a bit of boilerplate for not much gain, but I could imagine defining methods which give some value to the structures, like client-side validation, serialization, etc. Currently what it does give you are structures with pre-defined defaults and will complain if the data you're trying to pass in is malformed in some way.

@myNameIsPatrick You should have access to the repo now.


Bump jenkins ver

First of all, a lot of changes are to solve requirements made by bumping the Jenkins version/test-harness as that forced a lot of Enforcer rules.
Other than that, there's mostly some changes to Selenium tests since stuff has changed in Jenkins 2.
I also added some environment specific stuff as I had to make the tests run on Windows/WSL, but that should be backwards compatible.

Awesome! Thanks for your magnificent effort, @erikhakansson!


rsync cannot track the changes on goofys mounted S3

Hi,
Question 1:  RSYNC cannot track the changes on goofys mounted  S3, is this an expected behaviour ?
As we want to migrate the data from EFS to S3, but we might not be able to shut down the application and wait for the entire EFS to finish the copy to S3, therefore, we might be doing the initial rsync first then do the subsequent incremental rsync.
I have around 830MB files in EFS (/mnt/efsnfs) for proof of concept testing, and I have done the 1st rsync.
I also have another directory to do the initial rsync (from /mnt/efsnfs to /mnt/ec2nfs)
1st I deleted abc.sh file on /mnt/efsnfs
[root@ip-10-86-13-161 mnt]# rm ./efsnfs/abc.sh
rm: remove regular empty file ‘./efsnfs/abc.sh’? y
2nd  I did the update rsync to the NFS
[root@ip-10-86-13-161 mnt]# rsync -a -v -r /mnt/efsnfs/ /mnt/ec2nfs/
sending incremental file list
./
data/xnat/home/work/cache/nrg.data
data/xnat/home/work/cache/org%002ehibernate%002ecache%002einternal%002e%0053tandard%0051uery%0043ache.data
sent 389209 bytes  received 592 bytes  41031.68 bytes/sec
total size is 817026110  speedup is 2096.01
3rd However, when I did the rsync on the Goofys, it did an initial rsync again.
[root@ip-10-86-13-161 mnt]# rsync -a -v -r /mnt/efsnfs/ /mnt/S3dev/
sending incremental file list
./
data/
data/xnat/
data/xnat/archive/
data/xnat/archive/test011/
data/xnat/archive/test011/arc001/
data/xnat/archive/test011/arc001/abc_MR1/
data/xnat/archive/test011/arc001/abc_MR1/dcmtoxnat.log
data/xnat/archive/test011/arc001/abc_MR1/SCANS/
Questions 2: Even for the initial rsync there are some performance differences. Is the performance look like normal ?
Note: I am running this at t2.medium in ap-southeast-2, i mounted specifying the region, where the S3 bucket sits.
goofys --debug_fuse --debug_s3  —region ap-southeast-2 BUCKETNAME /mnt/S3dev/
Rsync:
1st from EFS to S3
time rsync -a -v -r /mnt/efsnfs/ /mnt/S3dev/
sent 817326082 bytes  received 57187 bytes  1,076,212.34 bytes/sec
total size is 817021756  speedup is 1.00
real12m39.031s
user0m4.689s
sys0m3.343s
2nd from EFS to local FS
sent 817004385 bytes  received 57108 bytes  28,668,824.32 bytes/sec
total size is 816703616  speedup is 1.00
real0m28.086s
user0m4.379s
sys0m2.865s
3rd from EFS to hosted NFS (in the same AZ, an EC2 hosted NFS)
time rsync -a -v -r /mnt/efsnfs/ /mnt/ec2nfs/
sent 817320922 bytes  received 57187 bytes  8,383,365.22 bytes/sec
total size is 817016294  speedup is 1.00
real1m36.785s
user0m4.616s
sys0m5.068s

Could you try time rsync --inplace --size-only -a -v -r <src> <dest>. Alternatively you can replace --size-only with --modify-window=NUM because S3 does not allow an explicit modification time. Note that -a mostly doesn't do anything because goofys does not fake ownership/group/permission and does not support symlink.
Using --no-implicit-dir (goofys option, not rsync) would also improve performance for initial rsync. Also consider disable both --debug_s3 and --debug_fuse as they both slow things down.

another thing that can be done to speed up subsequent rsync is run find first:
$ find /mnt/S3dev/ > /dev/null
time rsync --inplace --size-only -vrWO /mnt/efsnfs/ /mnt/S3dev/

That's because find does readdir which would populate the stats cache faster than rsync (which does individual lstat). Depends on the amount of files you have you may want to increase --stat-cache-ttl and --type-cache-ttl
closing for now, reopen if you think there's something that goofys need to change


Error loading PCL after converting it to Turtle format

Below are the error messages from Protege:

From Turtle parser:

 org.openrdf.rio.RDFParseException: Expected an RDF value here, found ';' [line 999912]

From Turtle Syntax parser:

org.semanticweb.owlapi.rdf.turtle.parser.ParseException: Encountered " ";" "; "" at line 1100522, column 130.
Was expecting:
    ")" ...

Steps to reproduce:

Download pcl.owl file.
Run the following ROBOT command to covert it to Turtle format:

$ robot convert -i pcl.owl --format ttl -o pcl.ttl

Open the output file in Protege.

@johardi if you are using a version of ROBOT older than 1.9.5, then you may be running into this issue: https://github.com/ontodev/robot/issues/1129
It's been fixed in the latest ROBOT.

I successfully generated and opened the Turtle file via following the given steps. This was tested on macOS 14.3.1, ROBOT v1.9.5 and Protégé 5.6.3.


[WIP] Use functors to factorise environments

Currently on hold because of an error.

I think the pcuic tactic is now broken when it has to deal with decl_body and such. Any idea how to fix this @mattam82?


created a new file called vcodez.xyz.json

nvm somethings are not right at the moment and will take some time to be fixed

@Miya25 Any progress here?

@Miya25 Any progress here?

yeah but it will take time, the problem seems to be big


Improvement to sampling positions management

This PR improves how sampling positions are managed by the Acquisition Function plugin.
Additionally, the dependency of the labels manager to store sampled positions is removed in favor of a sparse samples mask.

This solves #26


Fix plugin unzip call on windows

What does this PR do?
Fix the unzip call for plugins when running on windows, or any other platform that does not use a *nix path separator.
Motivation
It seems that the zip.FileHeader does not care about os specific file separator and instead always uses forward slashes. So to run on windows or other platforms with different path separators we cannot rely on os.PathSeparator when using its file name reference.
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

Interesting, and that there is not real option to configure a path separator in the FileHeader:
From (https://golang.org/pkg/archive/zip/#FileHeader):
    // It must be a relative path, not start with a drive letter (such as "C:"),
    // and must use forward slashes instead of back slashes. A trailing slash
    // indicates that this file is a directory and should have no data.

I guess there isn't any harm in hardcoding it if that is what is expected!


Maps compatibility with Xamarin Forms preview window

Is it possible to make ti work with the Xamarin Forms preview window like Maps would? the error currently says

Invalid XAML: Could not create a native instance of the type 'Google.Maps.MapView': the native class hasn't been loaded. It si possible to ignore this condition by setting ObjCRunTime.Class.ThrowOnInitFailure to false

This will help me design the elements on the page around the map

I don't support XAML preview in Visual Studio or Xamarin Studio.
(I don't know how to support it.)

why not just show nothing, right now it gets an error there and the whole page doesn't work. could you try returning a null page or a blank page if it is in the previewer?

I found the solution for me -  Xamarin.Forms XAML Previewer - Determine if in Design Mode in Code Behind and XAML similar to Blend — Xamarin Forums
I'll try apply to X.F.GoogleMaps.

I made it.
Render empty rectangle(fillColor = #008080) when FormsGoogleMaps.Init not called.
Also contains XAML Previewer for Visual Studio/Xamarin Studio.

Thanks! what build is it?

Yes, 1.7.1-beta4 including this.
Probably you should do listed operations:

Update Xamarin.Forms nuget package(each projects) to 2.3.3.x
Clean and Rebuild each projects
Restart Xamarin Studio

No problem?
Okay closed it.


[Enchancement] Text wrapping for longer sentences

Enhancement Request Template
Is your enhancement request related to a problem? Please describe.
The text on the canvas does not wrap after it hits the screen limit.
Describe the enhancement you'd like
I would like a feature where the text wraps itself up after a sentence reaches the screen limit.
Possible Implementation Details
Track the text limit, compare it with the screen size, and change the position of the text on the canvas
Additional context
Current:

https://github.com/user-attachments/assets/0ca7a1f3-489a-4c76-a1bb-6e714d847d0e
Suggested:
https://github.com/user-attachments/assets/39e89122-da5f-44c2-afa1-1bace37847b9
Optional Sections (if relevant):

Are you willing to submit a PR for this enhancement?  Yes
Does this enhancement require changes in documentation? No

Hey @suryanshsingh2001, I have a working solution for this can I submit a PR for this, also I have a few more issues/changes I found that can be helpful but I was not sure whether they were required or only I felt that these changes are required. How can I Proceed with those changes ??

@kirito05 Thanks for bringing this up! Feel free to submit a PR, and we'll take a look.
As for additional issues, you're welcome to raise them anytime. We’ll review and assign ypu accordingly. If they’re related to this issue, please mention them, and we can assess if they're necessary.


[BUG] Total Monthly Goals Appears Broken

I believe the "Total Monthly Goals" feature is not functioning correctly. It appears that it is correct in the current month, but when I go forward a month, it is extremely inflated. If I understand the intended function correctly, in a month with no money budgeted, the "Total Monthly Goals" should match the "Underfunded" amount. However, as you can see in my screenshot, the "Total Monthly Goals" is almost double the "Underfunded" amount. The underfunded amount looks accurate based on what I know of our budget, so I believe there is an issue with the way the Total Monthly Goals is being calculated in future months. It is strange, though, as others don't appear to be having the same issue, so please let me know if I am doing something wrong to end up with this result!
Edit: I have since discovered that all of the future months are off by the same amount! But I can't seem to locate where that amount is coming from, so it's still unclear what's causing this bug.

I have no idea if you guys worked on this at all, but mine randomly fixed itself! Hopefully it stays that way.


[Suggestion] Add levels related to flex-grow and flex-shrink

None of the existing levels is using flex-grow or flex-shrink. It may be a good idea to use these more advanced features too (it may be harder to visualize them with frogs though)

Thanks for the suggestion. Those properties are pretty tricky, but I'd still like to incorporate them into the game somehow. Same goes for a few values I skipped, like baseline, and stretch.

Yup would be really nice.
Good job !

+1

i imagine it would be frogs being wide or slim, following this example: http://codepen.io/HugoGiraudel/pen/9a9ad8fb040f5efaf4e749b49cae7281

Appreciate more exercises on align-content and align-items to really show the difference.

Could draw inspiration from the story of Tiddalik the Frog (https://en.wikipedia.org/wiki/Tiddalik).
In the telling of the myth, Tiddalik awoke one morning with an unquenchable thirst, and began to drink until all the fresh water was greedily consumed. Having one frog drink much of the water and grow could be a good background for why the frogs are growing/shrinking.

definitely it would be really nice to have some levels for flex-grow, flex-shrink and flex-basis and their shorthand.


Doesn't diplay a Scheduled Task which is configured for Windows 7, Windows Server 2008R2 in the task collection

Hi there,

I created a task on Windows 2008R2 server and set configured it for Windows 7, Windows Server 2008 R2.

I wrote this simple code after referencing the microsoft.win2k.taskscheduler to get a list of tasks on that server.
Imports Microsoft.Win32.TaskScheduler
Module Module1

Sub Main()
Dim a As New TaskService
a.TargetServer = "MyServer"
Dim TaskCollection As TaskCollection = Nothing
TaskCollection = a.GetFolder("").Tasks

End Sub

But it didn't return anything in the TaskCollection.

Can you please advise where I am going wrong?

Thanks,
RS
End Module
Originally posted: 2011-07-28T23:49:06

Instead of calling a.GetFolder("").Tasks to get the list of tasks from the root folder, call a.RootFolder.Tasks. The root folder under the Task Scheduler is not indicated the same way as the file system.
Originally posted: 2011-07-29T00:36:17

Hi Dahall,
Still Didn't work mate.
the window7/windows server 2008r2 configured task wasn't returned in the taskcollection
this is my code now, after your suggestion.
Dim a As New TaskService
a.TargetServer = "aubnesup11.au.ap.cbre.net"
Dim TaskCollection As TaskCollection = Nothing
TaskCollection = a.RootFolder.Tasks
Can you please reproduce this issue ?
Please create a task on a windows server 2008R2 (please don't create a basic task). on the configuration for, select windows 7, windows server 2008 r2, add a dummy action, schedule, save it.
then create a batch application, type my code after referencing Microsoft.Win2k.TaskScheduler.
Please advise,
Best regards,
rs
Originally posted: 2011-07-29T01:04:29

I don't have WS2008R2 installation to test this on. I have tested it on Win7 and don't have any problems. There is a chance you have permission problems on the remote machine that may be preventing you from reading the tasks. Search through the discussions as there are a few responses on the permissions needed for connecting to remote machines.
Originally posted: 2011-07-30T09:32:07

I've noticed on an export of a win7/2008R2 task that the version is 1.3, could this be why the task doesn't show, is it only looking for 1.1 and 1.2? (Just a shot in the dark)
Originally posted: 2011-08-03T19:52:29

Just to be clear, do any of the other tasks in the root folder show up when you query the Tasks property? There are always a number of system tasks that are both 1.1 and 1.2 that should show up as well.
Originally posted: 2011-08-04T16:22:44

Following works for me in Window Server 2003 and Windows Server 2008
TaskService ts = new TaskService();
Version ver = ts.HighestSupportedVersion;
bool newVer = (ver >= new Version(1, 2));
TaskFolder tf = ts.RootFolder;
Hope it will help full?
Best Regards
Ajay
Originally posted: 2012-07-16T06:57:24

Closed due to inactivity.
Originally posted: 2011-10-14T16:05:14


How can I rename the download it files with the keywords.

I would like to rename the download it files with the keywords.

edit image_downloader.py at  line 67:
file_prefix=args.keywords


Introduce workflow

[x] Ensure build works
[ ] Add syntax check with flake8

[ ]  Remove from tests. Use of f-strings not supported for version 3.6 and older.

[ ] Remove support for windows. (*Build failed)

[ ] Add test for conda environment


update cdm policies [skip ci]

Development of CDM AMS-III - AR policy with Tools #2765
Development of AMS-II.G with Tools #2766
Development of CDM's AMS-III.D. with Tools #2767

CDM AMS-III.D -<PHONE_NUMBER>.002409003
CDM AMS-II.G -<PHONE_NUMBER>.234977374
CDM AMS-III.AR -<PHONE_NUMBER>.130013003

CDM AMS-III.D -<PHONE_NUMBER>.043389003
CDM AMS-II.G -<PHONE_NUMBER>.784486003
CDM AMS-III.AR -<PHONE_NUMBER>.122909869


Add clipboard action

This PR does several things:

Moves plugin actions into a separate module. This will allow us to write new actions easier.
Add a new copy action that was originally started by @adnasa (#39)
New helper function to check or retrieve a prop via dot notation.

Coverage increased (+0.4%) to 83.129% when pulling 6632be26d3d1e5e35bdf945326371c6fea27e128 on add-clipboard-action into e0184010c78eba382ca4ecfb9a3bc45c02df0c7f on develop.

Coverage increased (+0.4%) to 83.129% when pulling 834204185d8ca06c72e3ec483f756baaa0819037 on add-clipboard-action into e0184010c78eba382ca4ecfb9a3bc45c02df0c7f on develop.


fix: SyncFilesItem.drop_src

It should be returning a complete copy
TODO:

[ ] Write new tests or update the old ones to cover new functionality.

This one needs a proper test probably around PackitAPI.update_dist_git, but not sure how to make the relevant test there.
Fixes #1975
RELEASE NOTES BEGIN
Fix files_to_sync filters not being applied properly
RELEASE NOTES END

Sorry for taking a while to come to this. I've added the simple test, but it is still not a functional test.  Preferably it would be a test of update_dist_git intercepting the call for sync_files(synced_files)

@LecrisUT thanks for the unit test! Do you want me to help you with the integration one?

@lbarcziova :pray: If you can please do. I am a bit swamped right now to learn how to do it.


RPC method 'snap_getAppKey' returns unexpected results

I am getting this error when attempting to sign a transaction in a snap RPC method:
MetaMask - RPC Error: transaction from address mismatch (argument="transaction.from", value="0x{ADDRESS}", code=INVALID_ARGUMENT, version=wallet/5.6.0)

I would expect the address signing this transaction to be the address connected to my dApp but the address signing the transaction seems to be something totally different (and doesnt appear to be in the first 20 addresses generated by my mnemonic).
My code looks like this:
import { ethers } from 'ethers';

wallet.registerRpcMessageHandler(async (originString, requestObject) => {

  switch (requestObject.method) {
    case 'sign':
      const provider = new ethers.providers.Web3Provider(wallet);
      console.log('received request', requestObject);
      const privKey = await wallet.request({ method: 'snap_getAppKey' });
      const ethWallet = new ethers.Wallet(privKey, provider);
      console.dir(ethWallet);

      const transaction = requestObject.params[0];
      return ethWallet.signTransaction(transaction);
    default:
      throw new Error('Method not found.');
  }
});

I resolved this by using the snap_getBip44Entropy_60 RPC method instead.
Here's a POC:
https://github.com/zaqk/metamask-snap-permisionless-transactions-poc


Cannot Establish connection

Sometimes clicking on the web extension to spin up the app might fail.. the main reason is the background service worker does complain about lost connection. To resolve this you need to reload the page.
Acceptance

[ ] Connection is stable

Task

[ ] fix connection issues in scatternote-chrome

same error

@DIWAKARKASHYAP try reloading the website you are trying to call scatterednote in

after clicking on extension , it show this

Didn’t show any login button?

Check if you are logged in on scatterednote.com. If so and is still showing that.
uninstall and install, then reload.
mid nothing still . I will try to uninstall mine and debug what might be the cause


JS: Functions and Scope

I have seen the roadmap given and I would like to contribute about Functions and Scope in JavaScript.
Directory
Topics/5.Syntax/6.Functions_And_Scope

Topics to be covered

What is Scope?
Types of scope in js?
Code example for each type.
What is the Lifetime of JavaScript Variables?
What is a function in js?
Basic function syntax.
What are parameters in functions?
types of functions?
What is function invocation?
What is the function return?
Why use functions?

Language: English
Frontend HTML,CSS Batch-6 (GWOC Contributor)

I want to contribute to this... please assign this issue to me.
Language: English
Frontend with HTML, CSS Batch-4: Chakit Gupta | Contributor

@Saurabh-crypto16 I'll come back to the issue and add some more information to it. After that, you may start contributing.

@Saurabh-crypto16 Please verify you're eligible to contribute to the JavaScript domain! I've assigned you the issue regardless.

Sir I am in batch 6 of frontend using html css js

@Saurabh-crypto16 @chakitg Pardon, there's been some confusion. The issue seemed to be related to the JavaScript domain. It isn't; I encourage you to request an assignment from the web development domain. Sorry!

I am a GWOC'21 contributor from Batch13 of FRONTEND HTML,CSS,JAVASCRIPT Please assign this issue to me. I assure you that this issue's title will be the same as my PR's title as well as I will be Contributing under the Guidelines and Code of Conduct.

Is this issue still on? I'd love tohelp

/assign

/assign


Update README.md in template.

So, now README.md in generated project looks like total garbage. We need to fix it.

Updated.


Extra URL parameter for USI origin

https://github.com/kusterlab/universal_spectrum_explorer/blob/feature/refactoring/support/js/internal/PeptideAnnotator.js#L36

/resolved


Repository links to non-Symphony program activities are broken

For example the plexus-interop link in the Plexus card goes to https://github.com/symphonyoss/plexus-interop :

Note that the GitHub URL provided in the activities.json file is correct.


react-tinacms-editor: link not saved when using keyboard shortcut

Given I'm editing content in the WYSIWYG on https://tina.io
When I try to create a link with CTRL-K
Then the URL field is not focused
Then the link is not added to the Markdown source
It works if I use the link button in the toolbar.
Demo: https://www.loom.com/share/88e460926044443b8c7752798470ccd8

Hey! I could reproduce it. I'd like to work on this issue

@Nrestrepo05 Thanks that'd be very helpful!

Hello! I have this question. If someone could answer it would be great!
https://community.tinacms.org/t/developing-cycle/599

Hey! I've been researching, and I think I know where this is happening, but I still can't find why. Here I'll tell you what I found:
(all this is in packages/react-tinacms-editor/src)

/plugins/Link/Popups/Form.tsx line: 55
view.state.selection.$anchor is different when we use the button and when we use the shortcut. This is the main issue. I find that this is happening here:

/plugins/Link/Popups/InnerForm.tsx line: 50
when we use the shortcut, the input is focused and it changes the activeElement of the browser, you can see it on /src/components/ProsemirrorEditor/index.tsx line 66. If we use the button, the input is focused but the activeElement does not change.

The problem is that when we want to save the link we are passing the selection position of the input, but this is only happening when we use the shortcut.
I think that I can fix this way much faster if you know some way of setting a debugger. I can see the stack trace I can figure out why this is happening.
thanks!


Authentication Client Errors

Aedes is not emitting mqtt connect errors like authentication errors: https://github.com/mcollina/aedes/blob/275bda32461ea8053c8610b8a3e5b6f0f838f1b6/lib/handlers/connect.js#L67-L83
How is this supposed to be done @mcollina ?
I'm suggesting emitting clientError with the specific error.

Apps may want to log not authorized events...

Ok, would you like to send a PR for that?


Make home page

Building home page for docs.celo.org

This update fixed welcome page issue but broke language again.


Remove the cinder icon field from the CSV

There are legal reasons why the cinder project mascot cannot be used as an icon in the operator, so this patch removes it.
The icon is not really important, since it's the openstack-operator the one that should be important in the catalog.
Jira: OSPRH-8413

/cherry-pick 18.0.0-proposed


How to do python -m accelerate script.py instead of accelerate launch script.py?

I have cases that I cannot use accelerate launch but I can use python -m and I would like this way of launching accelerate. (just like python -m torchrun script.py.
I wonder if there is a way of doing it?

cc @muellerzr

Or if there any other way to convert python -m torchrun script.py to the same effect of accelerate launch script.py? Any suggestion to achieve the effect of accelerate launch fast would be very helpful.

I guess just call https://github.com/huggingface/accelerate/blob/main/src/accelerate/commands/accelerate_cli.py will solve the problem

@hepengfe documenting this in https://github.com/huggingface/accelerate/pull/1457
However doing python -m accelerate.commands.launch is enough


Scale Gizmo Dimensions individually to prevent weird morphing

Scaling the Gizmos individually in each direction based on the view distance in the particular direction.
This will reduce the existing issues of weird gizmo scaling when you for example position the editor view in front of an object with active gizmos and move only to the left or right.

Hi Byterset! I tried out your change but it removes the ease of being able to select the gizmo from far away for an actor. When I zoom far out the gizmo is now very tiny unlike before it would maintain a decent size for selection. So I'd like to keep the gizmo always easy to select from any distance. Do you have an example of the weird morphing you're experiencing with the gizmo currently?

Heya, yeah you are right it is also nice to have the gizmo at a constant scale no matter the distance.
Example: let's say you are in the editor in the example scene and you have aligned your view roughly with that of the camera looking straight at the pumpkin and select it so the gizmos are visible. Now if you move back the gizmo scales fine and keeps its size like you intend to. If you move horizontally only the distance to the gizmo increases anyway and it will scale up and look weird  and unnatural. So this happens especially if the object moves closer to the edge of the viewport.
If you look at the unity editor for example I think they have a very nice implementation. There the gizmos scale with distance to always keep the same size on the screen but they don't have the unusual growth when moving in the directions of the view plane.
I hope this explains what I mean in an understandable way :)

I have realized that my approach was far to simplistic, I changed the code to resemble the way other Editors are handling gizmo scaling. This will preserve your intention of always keeping the gizmos at a convenient constant size but will also take care of the disproportunate scaling when the object is not in the center of the view as i described in the comment before.

Ok cool I like it. The gizmo now always keeps a good size and never gets too small. Also the weird scaling you were talking about is gone. Neat little formula for scaling! I'll merge and then I think I'll pull your code into a new method along with the code below it. Whenever I see my own comments describing some following block of code I like to try and extract it into a well named function. I think this is a good place to do so. I actually haven't looked much at the gizmo code in a while lol. Thanks for helping improve the gizmo!


[CT-1116] [Bug] adapter.get_relation ignores database argument

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
adapter.get_relation seems to ignore database argument and use the target database anyway.
Expected Behavior
The right database is used.
Steps To Reproduce

I have a model, defined as below, which checks if it already exists in the same schema, but in another table. If it exists - it prints a log message and reads data from there:
{{ config({ "materialized":"table" }) }}

{%- set relation = adapter.get_relation(
    database="integrated",
    schema=this.schema,
    identifier=this.identifier) -%}

{% if relation is not none %}

{{ log(relation.database ~ '.' ~ relation.schema ~ '.' ~
       relation.identifier ~ " already exists", info=true) }}

select * from {{relation}}

{% else %}

... (e.g. creates an empty table or do nothing if exists)

{% endif %}

I have 2 databases: dev and integrated.

In dev I have that table already created, in integrated - not.

The database specified in the active target is dev.

Now, when running dbt run -m "<model_identifier>", I would expect it to do nothing in dev database. But, instead of that I get:
02:41:51  1 of 1 START table model some_schema.some_model ................... [RUN]
02:41:52  integrated.some_schema.some_model already exists
02:41:52  1 of 1 ERROR creating table model some_schema.some_model .......... [ERROR in 0.80s]

02:41:55  Completed with 1 error and 0 warnings:
02:41:55
02:41:55  Database Error in model <model_identifier>
02:41:55    Schema some_schema does not exist in the database.

so adapter.get_relation claims to be able to find the table in the integrated database - although it doesn't exist there. And because it doesn't exist - the run fails when it tries to actually read the data from there.

PS that's only a dummy example to visualise the issue, please don't focus on the logic itself
Relevant log output
No response
Environment
- OS: macOS Monterey 12.5.1
- Python: 3.9.11
- dbt:

  Core:
  - installed: 1.2.1
  - latest:    1.2.1 - Up to date!

  Plugins:
  - redshift: 1.2.1 - Up to date!
  - postgres: 1.2.1 - Up to date!

Which database adapter are you using with dbt?
redshift
Additional Context
No response

Okay, I get some more info. I have added debug statement:
{%- set relation = adapter.get_relation(
    database="integrated",
    schema=this.schema,
    identifier=this.identifier) -%}

{{ debug() }}

{% if relation is not none %}

{{ log(relation.database ~ '.' ~ relation.schema ~ '.' ~
       relation.identifier ~ " already exists", info=true) }}

select * from {{relation}}

and then I got:
     20     context.vars['relation'] = l_0_relation
     21     context.exported_vars.add('relation')
---> 22     yield to_string(environment.call(context, (undefined(name='debug') if l_0_debug is missing else l_0_debug)))
     23     yield '\n'
     24     if (not t_1((undefined(name='relation') if l_0_relation is missing else l_0_relation))):

But now, what's interesting - the debug mode was entered twice: at the beginning of the run (so as I assume during compilation) and during execution.
During the first visit, I got:
ipdb> l_0_source_relation is None
True

which is correct. But - during the second visit (so the one which started just after 03:13:24  1 of 1 START table model some_schema.some_model ................... [RUN]) I got:
ipdb> l_0_source_relation
<RedshiftRelation "integrated"."some_schema"."some_model">

So the cause is hidden somewhere here.

Looking at docs that behaviour actually makes sense, because it's related to the difference between the parse phase and the execution phase:
https://docs.getdbt.com/reference/dbt-jinja-functions/execute
and it also explains why l_0_relation was initially None - because adapter.get_relation wasn't triggered. But there's still an issue in the execution phase as it should be evaluated to None then as well.

@jaklan Thanks for the thorough writeup, and for detailing your follow-up investigation! An important piece of this puzzle: This is a cross-database query on Redshift. I'm assuming that you're using RA3 nodes.
I have a sense of what's going on here. Could you check the logs that are run during the second visit (execution time)? I would expect dbt to be running a query along these lines, since you're asking it to perform a lookup of "integrated"."some_schema"."some_model", and the schema "integrated"."some_schema" is not already cached:
    select
      'integrated' as database,
      tablename as name,
      schemaname as schema,
      'table' as type
    from pg_tables
    where schemaname ilike 'some_schema'
    union all
    select
      'integrated' as database,
      viewname as name,
      schemaname as schema,
      'view' as type
    from pg_views
    where schemaname ilike 'some_schema'

See the issue? It's trying to access information about "integrated"."some_schema", but by querying pg_tables + pg_views in the current database (target.database). Instead, we'd need this to use a cross-database query, and the Redshift docs tell us that pg_catalog is not supported:

To get metadata across databases, use SVV_ALL* and SVV_REDSHIFT* metadata views. You can't use the three-part notation or external schemas to query cross-database metadata tables or views under information_schema and pg_catalog.

Proposed resolution
In cases where we're trying to access metadata on relations outside the current database, we need redshift__list_relations_without_caching to use svv_tables, instead of the postgres__ version
of the macro (pg_tables + pg_views).
I don't have a good sense of whether accessing that view is faster or slower than the pg_* views, or if there are any other gotchas. If it's faster or the same speed, we could switch to using svv_tables always. If it's slower, we should have conditional logic to use it only when needed (if schema_relation.database != target.database), otherwise pg_* views when available.
I'm going to mark this one a help_wanted, and move it over to . We'd welcome community contribution for it.
Logistical note: We don't currently have RA3 nodes running in CI, since they're still much more expensive at the lowest end than 2nd-gen node types, but we should take another look at finally setting some up to test this sort of functionality.


Prompt for where to save after recording

After running asciinema rec, the reference python client prompts the user with the option to upload or save locally to a temp file. We currently do not prompt and instead always upload.

I recommend using dialogue or linefeed for this task!
Thanks ao much for making this tool by the way! I will use it from now on!


Optimize --put-root-index

This is an optimization for --put-root-index. Currently the root index is written always, and locks the root object. We only need to update the root index when a new directory is created, so we should check if the directory where we are placing the new object is in the list of directories. This is important when uploading multiple wheels simultaneously when there may be contention around the root index file.
I also bounded moto to v4 since the new version is incompatible with the current tests.

I'm afraid I don't have time to continue this PR at the moment. I'll revisit when I have more time.


Vet-Clinic: Animal table

Hi there,

Activities done in this project:

[x] Created database vet_clinic.
[x] Created a table named animals in the previously created database.
[x] Inserted data into the table.
[x] Filtered data from the table using queries.

Screenshots of queries being run on the terminal are attached below.

@Deepakdanger Thank you so much sir!


Downloadpptx

please check this piece of code that includes download functionality. Thanks!

good job, girls.


C++ compiler under Windows

Comment:
What is the compiler and version used under Windows to build the OCP dynamic library?
I would need it to compile another library for use with OCP objects and ensure ABI compatibility.
I'd expect we need the same compiler as is the case with Linux (where ocp 7.7.2 is built with gxx_linux-64 version 12.*)

I think we found it: https://github.com/conda-forge/ocp-feedstock/blob/1a6735df560209c68a06e202219cca7346b27fbd/.ci_support/win_64_python3.11.____cpython.yaml#L5
...
cxx_compiler:
- vs2019
...

That is the right place to look @bernhard-42 . I have done this successfully on win/mac/linux, so feel free to reach out if you run into issues.


Update sbt-pgp to 2.0.0

Updates com.jsuereth:sbt-pgp from 1.1.2 to 2.0.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.jsuereth", artifactId = "sbt-pgp" } ]

labels: semver-major

looks like this fails. Maybe sbt-pgp has an issue, or requires more careful migration?

Looks like a plugin incompatibility. sbt-ci-release depends on sbt-pgp, so we can just get rid of that dependency here.


support for git-worktree broken

Several on the team use git-worktree for our day-to-day workflow.
This recent change on how to calculate the dart-vm version broke support for git-worktree.
Here are some additional details:
why git-worktrees?
Worktrees allow to have many local folders working on a single git repo. It makes it very easy to switch context between branches and share them across working spaces without having to push and pull them from multiple git repos. They also support having separate gclient files, so they can all get build and tested separately. This is especially useful to do some parallel work: one can run test suites on one branch, while developing on another.
what broke?
It's no longer possible to build the sdk inside a worktree.
why things broke?
The way worktrees are implemented, is that the main git repo has all the information for each worktree under the .git folder. Each linked worktree just has a directory under the main git repo's .git/worktrees folder. However, the worktree itself doesn't have a .git folder, instead it as a  .git file that says where the worktree folder is. For example:
git-repo/.git/ # a folder, the .git folder for the main git repo
git-repo/.git/worktrees/w1/  # a folder, a .git-like folder for the worktree w1
w1/.git  # a file, the contents point to git-repo/.git/worktrees/w1/

The breaking change assumes we can read a file under .git/logs/HEAD, this works in the default worktree, but fails in any other worktree where .git is a file and not a folder. Note there is a logs/HEAD file in the workspace's folder:
git-repo/.git/logs/HEAD # HEAD for the main git repo
git-repo/.git/worktrees/w1/logs/HEAD # HEAD for the w1 worktree.

@stereotype441 @zanderso

ping on this one --- is this something that's being fixed?
/cc @rmacnak-google
/cc @whesse

I kept using a patch on my local branch and every now and then keep getting bugged by this.
I created this patch https://dart-review.googlesource.com/c/sdk/+/127485 that uses the suggestion from @jensjoha, thoughts?

During the code-review with Zach, we came up with another idea, which is to keep the references to the .git logs, but make the location of the git folder configurable.
I have updated the CL, and once it lands you will be able to build under a git-worktree by doing:
echo "default_git_folder = \"../../sdk/.git/worktrees/wk1\"" >> out/ReleaseX64/args.gn

This command seems to work for me:
[ ! -d ".git" ] && cat .git | awk -F ":" '{print $NF}' | awk '{$1=$1};{print "default_git_folder = \"" $0 "\""}' >> out/ReleaseX64/args.gn


Update post_command.dart

Just testing, do not merge.

⬇ Builds generated by Codemagic for commit d1d76698828594b58229046aaf8389fdac26a49e ⬇
This is a custom message.

Android

macOS

  Download link

  Download link

(expires Mon, 20 Jan 2025 13:56:04 GMT)Codemagic build: 6766c8154ede54c8c33724e4; comment generated with Codemagic App Preview


add dynamic icon and tooltip

hi,
my approach for #1 , adds a subtle icon and success feedback

Thanks for the PR,
I would prefer the copy icon visible at all times, just for a better user experience and indication that this cell can be copied.
Also, if we could stick to <x-heroicon-o-duplicate /> icon, that would be great.
Other than above, great PR. thanks for your help.
Looking forward for the changes.

tastes are different 😉
for a project the client doesn't want to have the table full with icons, maybe i make the fading and the actual icon configurable

should be good to go

thanks for the updates, I will review now

Please merge =)

@saadj55  did you review,?


Office gallery automation updates

I made the following changes

removed the YAML metadata from the readme file
added a YAML file with the metadata info

These changes allow us to automatically update the Office gallery (https://developer.microsoft.com/en-us/office/gallery) with information for this tool. This means whenever this tool is referenced in the Office / Teams Portals, the user will be seeing the most up-to-date information.

PR merged manually


Fixed #33633 -- Skipped some test_utils tests on databases that don't support transactions.

The testing framework has some different behaviors for backends not supporting transactions. Mostly in TestCase._fixture_setup and TestCase.setUpClass. Skip them.

@zhangyangyu Thanks :+1: Welcome aboard :boat:


[Bug] [Config] Dependency conflict with using seatunnel-config-shade

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I am try to use seatunnel-config-shade library to generate config file out of seatunnel. But find some issue.
Sample Code
Config config = ConfigFactory.parseFile(new File(configFilePath));
 // resolve with global properties
return config.root().render(CONFIG_RENDER_OPTIONS);

Then I use this result submit to SeaTunnel via RestAPI.
error message
java.util.LinkedHashMap cannot be cast to java.util.ArrayList

The submitted config to SeaTunnel is:
{
    "sink" : {
        "Console" : {}
    },
    "source" : {
        "FakeSource" : {
            "schema" : {
                "fields" : {
                    "name" : "string",
                    "age" : "int"
                }
            },
            "row.num" : 16,
            "parallelism" : 2,
            "result_table_name" : "fake"
        }
    },
    "env" : {
        "job.mode" : "BATCH",
        "parallelism" : 2,
        "checkpoint.interval" : 10000
    }
}

Issue
The generated config format is not right, the right format should be:
"source" : [ {xxxxx} ]

But error format is :
"source" : {xxxxx}

Related code
In config-shade, we rewrite the ConfigParser, when key is source, transform, sink, we will cast it as SimpleConfigList
https://github.com/apache/seatunnel/blob/132278c06a6f2af12934b948f65f8baf4b69db79/seatunnel-config/seatunnel-config-shade/src/main/java/org/apache/seatunnel/shade/com/typesafe/config/impl/ConfigParser.java#L131
https://github.com/apache/seatunnel/blob/132278c06a6f2af12934b948f65f8baf4b69db79/seatunnel-config/seatunnel-config-shade/src/main/java/org/apache/seatunnel/shade/com/typesafe/config/impl/ConfigParser.java#L253
And when parse config file, we has a type cast the source to List<Map<String, Object>>
https://github.com/apache/seatunnel/blob/132278c06a6f2af12934b948f65f8baf4b69db79/seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/utils/ConfigShadeUtils.java#L142
But If using origin typesafe-config  to parse Config File, It will read source as   SimpleConfigObject. So when cast to List
we will got exception.
What did I do

Delete seatunnel-config-base  library, find it will get NoClassDefFoundError error
using arthas to check check the class,
I find the overwrite class under this folder https://github.com/apache/seatunnel/tree/dev/seatunnel-config/seatunnel-config-shade/src/main/java/org/apache/seatunnel/shade/com/typesafe/config all will load from seatunnel-config-shade
the not overwrite class will load from seatunnel-config-base

About Env
This also rediculous, In my local desktop, mac/windows it can work well.
But In sometime on special env, it will got this issue.
Now I am using Centos7, it will got issue.
SeaTunnel Version
2.3.8
SeaTunnel Config
demo batch config file

Running Command
out of seatunnel, using `seatunnel-config-shade` library to generate config

Error Exception
java.util.LinkedHashMap cannot be cast to java.util.ArrayList

Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

related issue https://github.com/apache/seatunnel/issues/5700

cc @hailin0

This pr fix the issue https://github.com/apache/seatunnel/pull/7893


modifying the GSU _GA for int8

This is a fix for some of the rocBLAS CI test failures. It covers I8II and 4xi8II.

Thanks for the quick turnaround on this Babak. Did you run the failing rocBLAS tests with this version of Tensile and confirm it passes now?

Could you provide some more detail?

how the failed case worked before your previous change and how your previous change caused the issue?
how the fix works?

@benjaminulmer rocblas tests passed with a build from a similar branch. I will re-build rocblas with this commit and re run the failed cases again.

@nakajee The whole point of this (and the previous) PR was to allow singlebuffer GSU with HSS/BSS, which is working fine, but is getting rejected. Currently, the only option for HSS/BSS is MultipleBuffer which requires some memory allocation. HSS/BSS are getting rejected here: (if computeName != state["ProblemType"]["DestDataType"].toName():). To have singleBuffer GSU for HSS/BSS  we need to change the condition to (computeName != state["ProblemType"]["DataType"].toName()). Note that for singleBuffer GSU with  /HHS/BBS/BSS/HSS, _GA should be singleBuffer, unless all other types where _GA=None.
Modifying this condition, changes _GA for 4xi8II (and I8II) from None to singlebuffer. Since we no longer use 4xi8II, I did not test this code for this case. That was the reason for the rocBlas failures.

@nakajee The whole point of this (and the previous) PR was to allow singlebuffer GSU with HSS/BSS, which is working fine, but is getting rejected. Currently, the only option for HSS/BSS is MultipleBuffer which requires some memory allocation. HSS/BSS are getting rejected here: (if computeName != state["ProblemType"]["DestDataType"].toName():). To have singleBuffer GSU for HSS/BSS we need to change the condition to (computeName != state["ProblemType"]["DataType"].toName()). Note that for singleBuffer GSU with /HHS/BBS/BSS/HSS, _GA should be singleBuffer, unless all other types where _GA=None.
Modifying this condition, changes _GA for 4xi8II (and I8II) from None to singlebuffer. Since we no longer use 4xi8II, I did not test this code for this case. That was the reason for the rocBlas failures. By adding not state["ProblemType"]["DestDataType"].isInt32(), I excluded I8II/4xi8II from _GA changing.

Thanks for your comment.
So, the point is

previous change excluded only I8
the new change excludes both I8 and 4xi8

This part is a bit confusing...
It might be better to put some additional comment in python code....

Correct, Initially, I was only excluding I8, here I excluded 4xi8, as well. I will add a comment once the tests pass.


Movie Information Website

Developer Checklist

[x] Followed guidelines mentioned in the readme file.
[x] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[x] Starred ⭐ the Repo (Optional)

Summary
Will give all relevant details of any movie
Screenshot

Live Project Link
https://movie-app-ackermanlevi1.netlify.app/

@PBJI pls check and merge Movie Information Website #858


Fix validation errors about using unsupported linear filtering

Description
Most of the samples, and parts of the framework, just build samplers using linear filtering and mipmap-modes. This is only guaranteed to be supported for a handful of formats. On my hardware this results in a large number of validation errors.
Fixes #923
General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes do not add any regressions
[x] I have tested every sample to ensure everything runs correctly (those that run for me at least)
[x] This PR describes the scope and expected impact of the changes I am making

Note: The Samples CI runs a number of checks including:

[x] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[x] My changes build on Linux

Sorry, needed to rebase to resolve merge conflicts.

Sorry, I needed to rebase this due to merge conflicts in mobile_nerf.cpp

Rebased again after yesterday's merges caused more conflicts

More merge conflicts I'll need to look at again - sigh.
I can't seem to get this past 2 approvals before someone else merges something.

That's annoying.
@marty-johnson59 : I don't think we need three approvals on this. It's just a bugfix and the code is perfectly fine. Can we merge once Gary has fixed the current merge conflicts?

@marty-johnson59 : I don't think we need three approvals on this. It's just a bugfix and the code is perfectly fine. Can we merge once Gary has fixed the current merge conflicts?

Thanks Sascha, that would be great if possible.

OK, I'll merge. LMK if this causes problems.


It would be good to have some const strings for the names of engines

Created enums and utility classes that list the available engines

Created enums and utility classes that list the available engines


Bugfix: Handle undefined input in createEditor

Short circuiting createEditor when input is undefined
This issue popped up when I was using a o2o model that was configured as inline, that itself has other inlines to m2m models, and when attempting to click the CTA to add a new m2m instance.
I believe this could be a symptom of the pagedown script finding references to elements that are not apart of the editor.
This patch is a bandaid and there may be a better solution for the situation/issue I have encountered.

Good idea

Thanks, this has been pulled in in https://github.com/timmyomahony/django-pagedown/releases/tag/2.2.0


Use google tensorstore to read/write to zarr?

I expect you're already aware of this @tomwhite , but I wanted to ask whether or not you thought the google-tensorstore project might be useful in cubed. @rabernat suggested benchmarking its performance against zarr-python + fsspec. Presumably any improvement to the I/O speed would considerably increase the performance of cubed? Stephan recently released an xarray interface to tensorstore but it seems like that's not the right entry point for using it with cubed.

Yes, I saw this and think it could be very interesting for Cubed.

Presumably any improvement to the I/O speed would considerably increase the performance of cubed?

Hopefully, but we'd have to try it out to see.

I tried swapping out Zarr for TensorStore here: https://github.com/tomwhite/cubed/tree/tensorstore. All unit test pass, except for test_resume (since TensorStore doesn't have a way of accessing Zarr's nchunks_initialized).
There were a few challenges due to differences in handling structured arrays, which we use for reductions like mean, but it looks like things would work. We probably will want a way to specify the array storage in the spec so users can select the one they want.
I haven't done any performance testing, but the current branch is sufficiently developed to try that.


Batch Upscaling Changes File Names

I'm upscaling images that have to keep their exact file name, some of the file names end in numbers like 'r2image.200.png' and 'r2image.300.png' 'r3image.200.png'
If I upscale these images one at a time the file name stays the same, but if I do multiple images it'll remove the numbers at the end, if certain files become the same name when the numbers are removed one of them is overwritten. So like 'r2image.png' and 'r3image.png'. Turning off overwrite mode doesn't fix this it just adds a suffix to the end while still removing numbers.

Is that issue still appearing if you change ".200" to "-200" for example?

Nope! Good idea I could use Bulk Rename Utility for a workaround, thanks!

glad that it works for you :) some software has issues with parsing filenames with dots in it. i have had plenty of issues in my own software and its not even resolved as of yet. (it tries to get the filename, to create a default output folder, and misses "removing" the extension type due to it, and removes everything after the first dot).
Might be related, thats why i share it.

Just wondering if this bug was ever fixed, or is the project dead?


Added filename_original attribute for getting original name

filename attribute only returns the renamed UNIX timestamp one.

Thanks for the contribution, merging now.


Speed up GFF3 -> DB script

By grouping multiple database insert calls into an executemany style statement (that can wrap many inserts into a single transaction, and thus save per-transaction costs in the inner loop).

Fixed in #1085


Hovering on inlay hints duplicates them

"typescript.inlayHints.parameterNames.enabled": "all",
 "typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": true,
"editor.inlayHints.enabled": "on",

Cannot reproduce anymore.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Override client template parameters.gotmpl

Problem statement
I'd like to override the parameters.gotmpl default template file specified here:
https://github.com/go-swagger/go-swagger/blob/master/generator/templates/client/parameter.gotmpl
I've created a new parameters.gotmpl file and am passing it via the --template-dir flag to my swagger generate client command:
swagger generate client --spec=/repo/swagger.yaml --template-dir=/repo/templates ...
However, the generated client code does not seem to be picking up my changes to parameter.gotmpl. I tried placing parameter.gotmpl under a templates folder, as well as under a client folder beneath a templates folder.
Am I using --template-dir incorrectly? Is it not possible to override the client parameter.gotmpl template?

P.S. Unless I remove the Copyright line, I receive the following error:
can't evaluate field Copyright in type *generator.GenOperation

Update: It seems if I include all the .gotmpl files in templates/server, templates/client, and templates/validation, and then modify the templates/client/parameter.gotmpl file directly, the changes are included in the generated client code.
However, I'd really like to just have to pass the one parameter.gotmpl file to --template-dir than pull in all the other .gotmpl files (especially since I'm not modifying the other ones).

@ilinamitra : is it possible for you to share your parameters.gotmpl file here?
Also, could you elaborate more on copyright line. Are you removing that line from your own parameters.gotmpl or the one provided in source code?

parameter_gotmpl.txt
Yes no problem, All I did was remove the Copyright line, and added an extra comment on line 61 to indicate that the generated code is coming from my template instead of the default.
As I mentioned above, my template does get picked up if I include multiple other .gotmpl files under the client, server, and validation directories.

@ilinamitra : Just to be clear,

you are creating a new directory
placing your template file inside it as parameter.gotmpl
This does not work unless you include multiple other gotmpl files under client server, validation dir (When you say multiple other do you mean all the templates or some of them)
When it does work on including everything the modified template gives you copyright error on omitting that line.

Is this the correct flow of what's happening?

Hi @EleanorRigby
I think I figured out the issue, I had placed the original parameter.gotmpl file under the wrong path. Now I have it under the right path, and no longer need the other .gotmpl files. Apologies for the noise!


QueryDSL 4.0 queryFactory.select(Projections.bean()) is broken

QTrade trade = QTrade.trade;
JPAQueryFactory queryFactory = new JPAQueryFactory(entityManager);
JPAQuery query = queryFactory.select(Projections.bean(Trade.class, trade.price, trade.quantity)).from(trade);
System.out.println(query.toString);

Generates
select trade.price, trade.quantity from Trade trade
instead of
select new model.Trade(trade.price, trade.quantity) from Trade trade

How about the execution? Does it work?
Querydsl serializes all complex projections types in a flattened way, the mapping to results happens when the result is consumed, that's why it looks different then what you expect.

Closing, since the serialization is generic, but the functionality works.


I have just tried a random m3u8 stream and it does seem to work, although it takes a while for the stream to start playing. Feel free to open an issue to track problems that you might be having.


FIle to say which services to ignore

.fluxignore (in the repo) lists patterns for services (resources?) that fluxctl, syncing and automation should ignore.

How do the things in here get expressed?
While we are still concerned with "services" in flux, it is easy -- line items are services. However:

we plan to include other kinds of resource, like config maps
if it's going in a file in the repo, it seems least surprising (and easiest to maintain) if it refers to the files in that repo.

Perhaps we really want two features:

Protect a running service (or more generally, resource) from deletion, if it's not defined in the repo.
Ignore specified files that are in the repo, but aren't supposed to be made into resources in the cluster.

Locking a service already protects it from automation and fluxctl release; it could also protect it from sync. The question is whether that information is better in the repo, or in the service. It can't be attached to file, since it will not always refer to something that has a file. On the other hand, we don't want to accumulate garbage in the instance's config, where garbage is records of locked things that don't exist any more.

Upgrading this to size/medium, based on my uncertainty of how it should work. If someone can write down a concise specification, we can downgrade it again ...

Discussed on call.
Use cases:

Manually started on the cluster, don't want it to get deleted because it's not in the repository.
1.a. Temporarily testing a new image.
1.b. Running a container to access a DB.
Manifest in the repo that you don't want to be k8s.

Both use cases can be solved by parsing a k8s annotation in the manifest.
metadata:
  annotations:
    "flux.weave.works/ignore": "true"

(Open to suggestions on the annotation name. Standard annotations keys seem to be a URL. And the value is a string type.)
Then the diff tool would need to parse and check whether the manifest in the cluster or the repository has an ignore flag. If either of them have an ignore flag, then the resource is skipped.

If either of them have an ignore flag, then the resource is skipped.

I'm not sure about this, so I made a table.
cluster \ repo | ignored       | not ignored   | absent
---------------+---------------+---------------+------------
 ignored       | nothing       | [1]           | nothing
 --------------+---------------+---------------+------------
 not ignored   | [2]           | update        | delete
 --------------+---------------+---------------+------------
 absent        | nothing       | create        | [3]
 --------------+---------------+---------------+------------

[1] The file does not have the annotation; the cluster resource does. How would this happen? Maybe if you created the resource from the file, then applied the annotation to it. In which case you probably want to leave it alone. But: you may have removed the annotation from the file to remove that protection, so it should be applied. Hm.
[2] The resource does not have the annotation; the file does. Again, the annotation was added to the file, or removed from the resource, after the fact. Taking [1] as a model, the difference can be ignored, or the resource can be updated to match the file.
[3] How did you even get here.

Yes good points. That's why I thought the logic "if either have an ignore, nothing will happen to that resource" is the simplest thing to do.

It's definitely the simplest thing to do; and, there are remedies if if is not what you want, although you have to reach outside flux to use them.
Let's bimble through some examples ..
Say I have a deployment that I want to take out of sync for a while, so I can mess around with it manually. I most likely want the failsafe to be that if the cluster is recreated, the deployment goes back in sync -- i.e,. I want to leave the file in the repo as-is. Therefore: leave resources marked as ignore alone, even if not so marked in the repo.
Other way around:
I have a manifest in the repo which corresponds to a running resource, but I have decided to take it out of sync permanently, so I add the annotation to the manifest file (but not to the cluster resource). If I now remove it from the cluster, it will not be created again. If I recreate the cluster from the files, it will be run in the cluster but then be ignored.
What should happen if I remove it from the repo though? The file is gone; the cluster resource does not have the annotation; so it will get deleted on the next sync. I honestly can't decide if this is more or less surprising than leaving it alone!

Yes, that is what will happen. And given the logic, is expected.
Regarding the bottom question: deletion. That is more part of the deletion logic than it is the ignore logic. If the deletion policy states that if a file doesn't exist in the repo, it will be deleted from the cluster, then that is what will happen.
So that is not really a worry for the ignore logic.

And given the logic, is expected.

My aim was not to figure out what was expected given the logic we are ourselves proposing. It was to figure out what a person using it, not party to this discussion, might reasonably expect.

Regarding the bottom question: deletion. That is more part of the deletion logic than it is the ignore logic. If the deletion policy states that if a file doesn't exist in the repo, it will be deleted from the cluster, then that is what will happen.
So that is not really a worry for the ignore logic.

It certainly is a worry for the ignore logic if someone might reasonably expect to use the ignore logic to protect something from deletion, but find that it is deleted regardless. That's arguably the case: I am told that adding the ignore annotation to a resource will stop it being synced; so I add the annotation to the file, then later remove the file, expecting that since I said it was ignored, nothing will happen. But it's deleted.

:+1:

expecting that since I said it was ignored, nothing will happen. But it's deleted.
If they added the annotation to the running manifest, then it would not be deleted.

I.e. add the annotation to anything that you want flux to ignore.

If they added the annotation to the running manifest, then it would not be deleted.
I.e. add the annotation to anything that you want flux to ignore.

Now the user has to have a model in their head about where to add the annotation to get the right result, rather than a simple rule. You may say "add the annotation to what you want to ignore" is a simple rule -- but this ignores the fact that if you add it to the file, and it didn't exist in the resource, it will be propagated, whereas this won't happen in other circumstances. See what I mean?
Maybe it's possible to explain it in a different simple rule.

but this ignores the fact that if you add it to the file, and it didn't exist in the resource, it will be propagated,

Actually is that even correct? If you add it to the file, it'll get ignored, so not synced, and the resource will stay the same.

There's probably other ways to do it, but probably not a simpler way. Because whether we like it or not, there are two sources of truth. Purely because the user can do things manually on git or on the cluster.
But yes, if you add the annotation to the file in git and there is nothing on the cluster, the result will be still nothing on the cluster. Because you've told flux to ignore that file.
 However it is parsed.

Imaginary documentation (does this cover it?):
Ignoring resources
Sometimes you want flux to ignore a resource for the purpose of sync.

To ignore a resource or manifest, give it the annotation flux.weave.works/ignore=true. If you do this to a resource (e.g., with kubectl annotate ...), it won't be affected if the corresponding manifest is different or absent. If it's applied to a manifest in the repo, the corresponding resource won't be updated or created.

Yes, almost perfect. The I reword the last part with a rule, then some examples.
Once annotated, flux will not alter any repository or cluster resource with that namespace/name id.
For example, If you annotate a resource in the cluster, flux will completely ignore that resource, even if you make changes in the repository. If you annotate a file in the repository, the corresponding cluster resource won't be updated, created or deleted.

This was implemented as part of "git sync" and made more visible in #618.


ASP.Net SignalR issue with latest Microsoft.AspNetCore.Http.Connections.Client

Hi
We are facing an issue with Asp.Net SignalR on Azure when upgrating our website to use the latest Microsoft.AspNetCore.Http.Connections.Client (v3.0.0) which was released recently.
We are running an ASP.Net App Service in Azure backed by an Azure SignalR instance cofigured in Default mode.
We are currently using Microsoft.AspNetCore.Http.Connections.Client version 1.1.0 in our app (which works with Microsoft.Azure.SignalR.AspNet.1.1.1), but when we try to use the latest version we receive the following errors and warnings:
2019-10-17 13:30:01.5158 | ERROR | [Microsoft.Azure.SignalR.AspNet.ServiceConnection]Failed to connect to '(Primary)https://xxxx.service.signalr.net', will retry after the back off period. Error detail: Method not found: 'System.Threading.Tasks.Task Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.DisposeAsync()'.. Method not found: 'System.Threading.Tasks.Task Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.DisposeAsync()'.. Id: 5b5fbc34-5182-4ab6-a6e2-073d030852cf
2019-10-17 13:30:01.5158 | WARN | [Microsoft.Azure.SignalR.AspNet.ServiceConnection]Connection 5b5fbc34-5182-4ab6-a6e2-073d030852cf got unexpected exception in StarAsync.
2019-10-17 13:30:02.6809 | WARN | [Microsoft.Azure.SignalR.AspNet.NegotiateMiddleware]Client negotiate failed: Azure SignalR Service is not connected yet, please try again later.
2019-10-17 13:30:14.6693 | WARN | [Microsoft.Azure.SignalR.AspNet.NegotiateMiddleware]Client negotiate failed: Azure SignalR Service is not connected yet, please try again later.
2019-10-17 13:30:24.6788 | WARN | [Microsoft.Azure.SignalR.AspNet.NegotiateMiddleware]Client negotiate failed: Azure SignalR Service is not connected yet, please try again later.
2019-10-17 13:30:34.6772 | WARN | [Microsoft.Azure.SignalR.AspNet.NegotiateMiddleware]Client negotiate failed: Azure SignalR Service is not connected yet, please try again later.
2019-10-17 13:30:48.6757 | WARN | [Microsoft.Azure.SignalR.AspNet.NegotiateMiddleware]Client negotiate failed: Azure SignalR Service is not connected yet, please try again later.

In the version 3.0.0 changelog for Microsoft.AspNetCore.Http.Connections.Client I can see that some methods have been removed or changed, specifically the following two have been removed which appear to match with the SignalR errors being logged:
namespace Microsoft.AspNetCore.Http.Connections.Client.Internal
{
    public interface ITransport : IDuplexPipe
    {
        Task StartAsync(Uri url, TransferFormat transferFormat);
        Task StopAsync();
    }
}

Can you please confirm that we cannot upgrade to the latest (v3.0.0) of

Microsoft.AspNetCore.Http.Connections.Client
Microsoft.AspNetCore.Connections.Abstractions
Microsoft.AspNetCore.Http.Connections.Common
Microsoft.AspNetCore.Http.Features

if we are using Microsoft.Azure.SignalR.AspNet.1.1.1 (the other libraries have the Client dll as a dependency)?
If this assumption is correct, are you able to provide a timeline as to when the Azure SignalR will be updated to support the latest Client dll?

Thanks for reporting the issue. We are actively investigating the issue and will provide you an ETA soon.

Hi @vicancy
Thanks for your quick work on this, it is really appreciated.  Can you confirm if this is fully fixed now or should we wait for a new release of the Microsoft.Azure.SignalR.AspNet library?  If the latter, are you able to provide any indication on when that might be available?

@marshall76963 we will release 1.2 this week to fix the issue.


Any implementation on Ubuntu?

Hi, it looks like a really useful tool. Is there any implementation on ubuntu?

Hey sorry, don't have a ubuntu implementation.  If I were to do this again I'd definitely try and make it more cross-patform.

Ok, still thank you for your response.


Add into method to Enumeratee

This isn't really necessary but it can be convenient sometimes.

Codecov Report

Merging #190 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
+ Coverage   97.16%   97.17%   +<.01%
==========================================
  Files          25       28       +3
  Lines         847      849       +2
  Branches       50       52       +2
==========================================
+ Hits          823      825       +2
  Misses         24       24

Impacted Files
Coverage Δ

core/src/main/scala/io/iteratee/Enumeratee.scala
98.84% <100%> (ø)
:arrow_up:

.../src/main/scala/io/iteratee/internal/package.scala

...js/src/main/scala/io/iteratee/fs2/TaskModule.scala

...e/src/main/scala/io/iteratee/modules/package.scala
87.5% <0%> (ø)

...src/main/scala/io/iteratee/scalaz/TaskModule.scala
100% <0%> (ø)

.../src/main/scala/io/iteratee/monix/TaskModule.scala
50% <0%> (ø)

...vm/src/main/scala/io/iteratee/fs2/TaskModule.scala
100% <0%> (ø)

...les/src/main/scala/io/iteratee/files/package.scala
66.66% <0%> (ø)

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 f3a18c6...ce5d0e4. Read the comment docs.


Meeting (Project Management) -  Wednesday, 29th November, 2023

Welcome
SingularityNET-Archive contains a history of the activities of the SingularityNET Ambassador Program.
Video Recording
Our goal
Our goal is to provide a collaborative platform for the SingularityNET-Archive community to share knowledge, ideas, and best practices. We welcome contributions from anyone interested in SingularityNET, whether it's a new project, code example, or documentation.
Action Items
Mark Action Items in each issue as follows -

[ ]  [Action Item] - @ assignee

Previous meeting

https://github.com/SingularityNET-Archive/SingularityNET-Archive/issues/49

Links:

Project Board
Archival Workgroup proposal
Archive GitBook

Present:

[x] Andre
[x] Stephen
[x] Vani
[x] Peter
[x] Love
[x] Onyeka

Archive

[x] Add to meeting summary channel
[ ] Close meeting issue (to ensure charge in correct month)
[x] Meeting uploaded to YouTube and Timestamped
[x] Meeting recorded in Archive GitBook

Previous in series: #71

Automation is still not changing status after issue creation. I think it might be project board related. This is an Organisation Project board and not a repo project board. Its the only difference I see between this action and the other working action we have.

The meeting template for the Archive WG will be "Narrative Template" and list decisions and action items
Other content will be on the GitHub project board.

Next in series: #77


🐛: Can't change a species value by referencing its ID

Contact Details
No response
Location
runBiosimulations
What happened?
When running the attached SED-ML file, biosimulations claims there's an error:
target /sbml:sbml/sbml:model/sbml:listOfSpecies/sbml:species[@id='X'] is not a valid XPath to an attribute of a model element

The repeated task in question:
    <repeatedTask id="task5d_begin" range="uniform_linear_for_X" resetModel="false">
      <listOfRanges>
        <uniformRange id="uniform_linear_for_X" start="0" end="0.5" numberOfSteps="50" type="linear"/>
      </listOfRanges>
      <listOfChanges>
        <setValue modelReference="network6_closed_lowx" target="/sbml:sbml/sbml:model/sbml:listOfSpecies/sbml:species[@id='X']" range="uniform_linear_for_X">
          <math xmlns="http://www.w3.org/1998/Math/MathML">
            <ci> uniform_linear_for_X </ci>
          </math>
        </setValue>
      </listOfChanges>
      <listOfSubTasks>
        <subTask order="0" task="task5d_low"/>
      </listOfSubTasks>
    </repeatedTask>

This is incorrect.  Here is an example from the L1v3 spec that does this exact thing:
<repeatedTask id="task1" resetModel="true" range="current">
  <listOfRanges>
     <uniformRange id="current" start="0" end="10" numberOfPoints="100" type="linear" />
  </listOfRanges>
  <listOfChanges>
    <setValue target="/sbml:sbml/sbml:model/sbml:listOfParameters/sbml:parameter[@id=’J0_v0 ’]"
 range="current" modelReference="model1">
     <math xmlns="http://www.w3.org/1998/Math/MathML">
       <ci> current </ci>
     </math>
   </setValue>
 </listOfChanges>
 <listOfSubTasks>
   <subTask order="1" task="task0" />
 </listOfSubTasks>
</repeatedTask>

It actually is impossible to target a particular attribute in this case: the only possible attributes would be the 'initialConcentration' or 'initialAmount' attributes.  But the model is not in its initial state; it is in the middle of a simulation.  Alternatively, the value might have been set by an InitialAssignment, in which case any attribute value would have been overwritten.  Alternatively alternatively, the value might be set by its concentration but its mathematical meaning might be its amount, or visa versa.  Setting the 'initialConcentration' attribute when the 'initialAmount' attribute was already set would be a validation error.
Here's the relevant bit from the L1v4 spec, where I tried to clarify the intent here:
"The change is calculated from the Math of the Calculation, and applied to the target of the Change.
In this context, a target that points to an XML element (either the target of the ComputeChange
or a target of a child Variable) is referencing that element’s mathematical meaning. For some model
languages (such as SBML), this means that the model state must be initialized, so the element value can
be read (in the case of a Variable) or changed (in the case of a ComputeChange)."
"In contrast, a target that points to an XML attribute simply is referencing that attribute’s value, which
may be read or set directly in the XML document without initializing the whole model"
What made it happen?
[ran the model]
Version
Production (Deployed on a .org domain)
What browsers are you seeing the problem on?
No response
Relevant log output
Task Andrews2023_Figure5.sedml :: task5d_begin (failed, 0.0 s)
Exception: ValueError
target /sbml:sbml/sbml:model/sbml:listOfSpecies/sbml:species[@id='X'] is not a valid XPath to an attribute of a model element
Standard output and standard error
No output was produced.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

https://run.biosimulations.org/runs/63a38f3b50b2d034bd787e83#tab=log

Andrews2023_Figure5.omex.zip

We adhere to Xpaths. This is not an XPath to an attribute. The SED-ML examples diverge from true XPaths.

It is indeed not an Xpath to an attribute; it's an Xpath to an element.  Which is what SED-ML calls for in this situation.

Quoting (again) from the spec:
"In this context, a target that points to an XML element (either the target of the ComputeChange
or a target of a child Variable) is referencing that element’s mathematical meaning."

We conceived of SED-ML as agnostic and modular to model language. To enable modularity, we felt its essential for all XML changes to have a clear definition in terms of manipulation of the XML DOM of definitions of models. This SBML example breaks this modularity by relying on a specific connection between the typical implementation of SBML and its XML encoding. Basically, this forces each simulation tool to implement model changes rather than allowing changes to be applied by a generic implementation of SED-ML. For SED-ML adoption, we felt its important to minimize the requirements on simulation tools.

I'm not sure what you mean by 'we' here.  Are you saying that you're planning to support SED-ML only insofar as it complies with what you hoped it would be?  I mean, you've already been instrumental in extending SED-ML to be able to apply to other model languages where an ID always just has the interpretation of 'its current mathematical meaning'.  Which is great!  I don't know why you're resistant to afford the same consideration to XML-based languages, like you're punishing them for being community standards.
SED-ML Level 1 version 3 and SED-ML Level 1 version 4 do things this way.  They always have.  There is, in fact, no other way to accomplish several very basic tasks in SED-ML.  If you feel like you can't support it, despite supporting several non-standard languages that do exactly the same thing, I suppose that's a choice you can make, but that makes Biosimulations useless to anyone who wants to use SED-ML Level 1 to perform repeated tasks in XML-based languages.
Furthermore, this issue is only going to become more obvious when moving to the sorts of problems that SED-ML L2 is being designed to solve.  Any hybrid simulation is going to require any interpreter to be able to set/get element values partway through simulation; it's vital to the very concept of everything the Vivarium does.
I agree that it's a nice little bonus you get if you happen to be able to make changes by only manipulating the input model file.  It's cute!  It means that you can expand your library of ODE simulators to include tools that don't allow you to set values partway through a simulation, assuming that the SED-ML doesn't ask for it. But when the SED-ML does ask for it, it means that, sadly, those tools can't be used to perform those simulations any more, because what is being asked includes that capability.  This is something that's going to happen all the time for all sorts of different reasons for practically every simulator, and is just One Of Those Things.
But Biosimulations refusing to run a valid SED-ML file is a bug.  Which is why I filed the issue in the first place.

(This issue still needs to be re-tagged 'bug'.)


Enhancement: Display the File size (of the File being downloaded)

Thanks

for me, in onUpdate(), fileSize is always -1. and, hence, progress is always zero. When a download completes Fetch shows its fileSize and progress(100) both.

Sorry. Didn't have a close look at what FETCH offers. long downloadedBytes, long fileSize
My bad. Thanks.


Problem with creating and opening Blazor project in Visual Studio 2017

Hi!
I have problem with creating base Blazor project in VS17. I stick to the instruction on Blazor website. When i click OK in last window nothing happens.  VS back to the main window. Sometime VS is trying to load project but after a few seconds is not responding. I created and run with success project from the command line. Even when I open project which i made from command line, VS start not responding after a few seconds.
VS17 - 15.8.7
DotNetCore - 2.1.403

So i Solved the problem. Open Visual Studio Installer and check if it needs any files to be download. If it will not help, do a repair in Visual Studio Installer