Move curve tests here

Description

Move the test templates that originally lived in curves to this repo, so that we can directly test the effects of changes to field and curve arithmetic. Currently I have only added tests for bls12_381 inside test-curves, but for the moment this suffices.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Wrote unit tests
[x] Updated relevant documentation in the code
[x] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer

Very glad we now have the tests in this repo

Very glad we now have the tests in this repo


Please don't use the qurator namespace

Apparently there is still a namespace problem when installing e.g. eynollah and sbb_binarization together and I think it should be resolved by not using "qurator" as part of the namespace (move "eynollah/" one level down and fix all references accordingly)
I've checked sbb_binarization and I don't think it should not conflict anymore but I'll check tomorrow to make sure. (@bertsky reported this in #106)
❗ However IF it still is a problem, then this is a serious bug that needs to be fixed ASAP

Installing eynollah and sbb_binarization (both main/master) into one Python 3.9 venv does not cause immediately visible breakage. I can call both tools' CLIs' --help:

Call
result

eynollah --help
works

ocrd-eynollah-segment --help
works

sbb-binarize --help
works

ocrd-sbb-binarize --help
works

Installing sbb_tools (master again) into the same venv also does not cause breakage with e.g. altotool --help, it seems. So I am somewhat questioning if there is still a problem but as didn't test the released versions this could happen for those.
What I did NOT test:
@bertsky mentioned installing in devel mode, and I didn't install it devel mode. This might be relevant in a way I don't see now. (I am also not recommending doing it, but that's not the point.)
What I am STILL saying:
Using the qurator namespace should be avoided. Not sharing a namespace makes life easier.
I don't think I have anything else to contribute here.

Ah, I see, this is because the revert by @bertsky is in main already. And there's not a problem in sbb_binarization anymore.
So this needs more investigation.
TODO:

[ ] revert the revert
[ ] test again with sbb_tools
[ ] verify that sbb_binarization really has no problem anymore.

Just a brief sidenote fyi - as of Eynollah 0.3.0, the model used by it for binarization is identical to the one of https://github.com/qurator-spk/sbb_binarization. As one of the next steps, binarization will be exposed as an invididual processing step in Eynollah, and eventually we will deprecate the separate https://github.com/qurator-spk/sbb_binarization project.

Just a brief sidenote fyi - as of Eynollah 0.3.0, the model used by it for binarization is identical to the one of https://github.com/qurator-spk/sbb_binarization. As one of the next steps, binarization will be exposed as an invididual processing step in Eynollah, and eventually we will deprecate the separate https://github.com/qurator-spk/sbb_binarization project.

I'd tentatively say that sbb_binarization is out of the picture anyway because it seems to be moved away from the qurator namespace.
→ Need to check the other projects in combinations.


CS Ed Week 2021 blog post

Import, format, adjust images, and edits for the CS Ed Week 2021 blog post.
Note: The Minecraft link (https://education.minecraft.net/en-us/resources/hour-code-2021) isn't live yet.
Closes #8579

@Jaqster - the Minecraft HoC link page is live now. Want to post?

Oh, yes please! :-)

Go ahead and tag the Approval box for me, thanks.


Handle loose files in layers outside of Hives and Files

This will be needed to support tracking the OS version as a file within
the container image.
@darrenstahlmsft  Can we try to get this verified and merged into Docker for 1.13?

Testing this change now.


Fix handling of sockaddr_un lengths

The returned length of AF_UNIX sockaddrs is significant, and generally
does not match the length of the entire structure. For filesystem
sockets, this is ignorable because the path is also NUL-terminated, but
for unbound sockets (e.g., a socketpair) or abstract-namespace
sockets (a Linux extension where the address is an arbitrary
bytestring), we need to keep track of the length.
Fixes #177. Also add a UnixAddr::new_abstract function and some better
handling of abstract-namespace socket addresses to fix #169.

Thanks! Merged ad87c3bdc99357f66af9260bce1eb6ae2cbfda98


[ARIES-1793] Upgrade to blueprint-core 1.10.0

Ok. I will revert. The issue with jpa is important though and actually not having interceptors in blueprint will cause big problems in many applications. So lets release a blueprint core 1.9.1 with just the interceptor fix but not the change that breaks camel. Can you point me to what broke camel?


Note to add IdentityModel to MVC client

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

thanks - but outdated now ;)


Remove test for redirect_uri being null when ApplicationInformation.grant_types contains "client_credentials" in FND002

[FB_03] Core Green Button Connect My Data test script [FND002] [POS] [R] Authorized GET access to ApplicationInformation entry no longer test for the redirect_uri field to be null if the ApplicationInformation grant_types field contains "Client Credentials".
Closing Issue


Basic file loading service

This is to introduce the basic structure idea of the Asset loader.
I have replaced an instance of a shader load from disk with the loader showing how it would be used.
I have modified main to get the launch path, this will probably need changes to fit styling elsewhere.
this PR resolves #24
EDIT: Corrected ticket number - Ruby.

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

Modified the issue number. Reviewing now.

What is happening with this PR?

@rob5300, could you please indicate what's blocking the PR or sign the CLA so someone else can pick it up if you no longer wish to contribute it?
We plan on closing this tomorrow if we've not gotten a response so someone else can start on this a new.

CLA not signed, branch is currently over 200 commits behind and hasn't been committed to since 9th November. Closing this PR and reopening the ticket.


Added new entries to AdvertFlags table

Fixes #487

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

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

Guess I need Spell Check for Markdown in Code next :-)

@aczechowski, is this ok to merge now?


#341 Migrate Integration of logs into Apache Kafka topic

Migrated article https://help.aiven.io/en/articles/4888136-kafka-logs-integration

Thank you! Agree with the suggestions, added them.


How to split a bezier path

Hi Adam,
I am trying to split a path with another path like so:
let splitterPath = UIBezierPath(rect: someRect)
UIColor.black.setStroke()
splitterPath.lineWidth = 3
splitter.stroke()

UIColor.green.setFill()
splittingPath.fill()

// returns empty array
splittingPath.uniqueShapesCreatedFromSlicing(withUnclosedPath: splitterPath)

However, uniqueShapesCreatedFromSlicing returns an empty array. I was hoping for a green shape to be returned without the extraneous part outside the black box(splitterPath).

Please let me know if I am missing something and how to get the desired result.

That'd odd, it should be giving you two shapes if i'm understanding correctly. the green portion inside the black box and the smaller triangle green portion outside the box. Can you reply with the contents of each path? if you print description of them in the Xcode console debugger, then it'll print out an obj-c representation of the path. that'll help me track down specifics of what might be going on.

print(splitterPath.debugDescription)
path = [UIBezierPath bezierPath];
[path moveToPoint:CGPointMake(19.000000, 26.870058)];
[path addLineToPoint:CGPointMake(201.000000, 26.870058)];
[path addLineToPoint:CGPointMake(201.000000, 121.000000)];
[path addLineToPoint:CGPointMake(19.000000, 121.000000)];
[path closePath];

print(splittingPath.debugDescription)
path = [UIBezierPath bezierPath];
[path moveToPoint:CGPointMake(19.000000, 39.000000)];
[path addCurveToPoint:CGPointMake(19.000000, 39.000000) controlPoint1:CGPointMake(19.000000, 39.000000) controlPoint2:CGPointMake(19.000000, 39.000000)];
[path addLineToPoint:CGPointMake(19.000000, 19.000000)];
[path addLineToPoint:CGPointMake(19.000000, 121.000000)];
[path addCurveToPoint:CGPointMake(19.000000, 121.000000) controlPoint1:CGPointMake(19.000000, 121.000000) controlPoint2:CGPointMake(19.000000, 121.000000)];
[path addLineToPoint:CGPointMake(201.000000, 121.000000)];
[path addLineToPoint:CGPointMake(201.000000, 121.000000)];
[path addCurveToPoint:CGPointMake(201.000000, 121.000000) controlPoint1:CGPointMake(201.000000, 121.000000) controlPoint2:CGPointMake(201.000000, 121.000000)];
[path addLineToPoint:CGPointMake(201.000000, 39.000000)];
[path addLineToPoint:CGPointMake(201.000000, 39.000000)];
[path addCurveToPoint:CGPointMake(201.000000, 39.000000) controlPoint1:CGPointMake(201.000000, 39.000000) controlPoint2:CGPointMake(201.000000, 39.000000)];
[path addLineToPoint:CGPointMake(220.000000, 39.000000)];
[path addLineToPoint:CGPointMake(220.000000, 39.000000)];
[path addCurveToPoint:CGPointMake(206.564971, 33.435029) controlPoint1:CGPointMake(214.960887, 39.000000) controlPoint2:CGPointMake(210.128162, 36.998220)];
[path addLineToPoint:CGPointMake(200.000000, 26.870058)];
[path addLineToPoint:CGPointMake(195.778175, 31.091883)];
[path addLineToPoint:CGPointMake(195.778175, 31.091883)];
[path addCurveToPoint:CGPointMake(176.686292, 39.000000) controlPoint1:CGPointMake(190.714692, 36.155365) controlPoint2:CGPointMake(183.847137, 39.000000)];
[path addLineToPoint:CGPointMake(19.000000, 39.000000)];

ah, the issue is that splittingPath needs to b a closedPath. It does end at the same point it starts at, but needs to have an explicit closePath element. splittingPath.close() should do the trick

I was the under the impression that returning back to the starting point is same as .close(). Two values are getting returned after closing the path now. Thanks a lot!

I was the under the impression that returning back to the starting point is same as .close(). Two values are getting returned after closing the path now. Thanks a lot!

Glad that sorted it! :)

It is working in most cases but there are some corner cases where it doesn't. Here, uniqueShapesCreatedFromSlicing returns 1 value in the array instead of 2.


Fix saving bug in Tester

don't save all the boxes, only per class

Yes ! I've fixed that in my refactoring branch, I should merge it soon. Just need to write a new readme


Retest this please

Tokens expiring, testing fixing them.

Tokens updated!

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:93368cd3c959bbd0ee9947dd85456861443d2864


All matchers should implement equals and hashCode methods.

Equals and hashCode methods are in general useless when one uses Hamcrest for testing. But I want to build a library for mocking Apache HttpClient and I plan to build it on top of  Hamcrest Matchers. I want to test if my code generates correct set of matchers. Now I need to write:
assertTrue(urlConditions.hostConditions.get(0).matches("localhost"));
but I would prefer to write
assertThat(urlConditions.hostConditions,contains(Matchers.equalTo("localhost")));
to do so Matchers would have to implement equals and hashCode methods.

This would be a big change for an unusual requirement. Can you provide a bit more context for what you think your tests would look like?

Why do you think it is a big change? I see it rather small, equals and hashcode are very simple and can be even generated automatically.
I'm writing a library for mocking Apache HttpClient. It will work similarly to WireMock. A user will be able to write:
httpClient.onPost("http://ww.example.com")
.withParameter("foo",equalsTo("abc"))
.withRefrence(emptyString())
.doReturn("Example");
Suche a code will generate a set of Matchers. Later when someone executes HTTP request using that client and it matches all Matchers it returns response "Example".
Part of working on the library is testing. I want to check if a generated set of Matchers contains expected ones.
Is this explanation enough?
If you don't mind I could try to implement them on my own.

The effort would be that we would have to enforce it across all the Matchers we've implemented, which is quite a lot. If it was part of the protocol, then other people implementing Matchers would also have to add them. Question, are you generating new Matchers, or just combinations of existing matchers?


How to use the papaya-builder.jar?

Start here: https://github.com/rii-mango/Papaya/wiki/How-To-Build-Papaya


Error: Minified React error

Sorry! I don't know that much about the error. It showed "An error occurred in Ignition's UI. Please open an issue on [the Ignition GitHub repo] and make sure to include any errors or warnings in the developer console."
The console error as follows:
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=symbol&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Hey @msbshabi, please try upgrading Ignition using following command:
composer update spatie/laravel-ignition -W

If that doesn't work, please check out this issue: #107


[deploy] Allow artifact overrides to define if a pom should be skipped for verification

As described at https://github.com/jreleaser/jreleaser/discussions/1705#discussioncomment-10424478 there may be times when skipping a single pom from being verified by pomchecker may be a good idea.

🎉 This issue has been resolved in v1.14.0 (Release Notes)


Fix New object from variable name

Can you provide a test ( PHP test case) ?Thanks for the pull request !

Thanks ! :+1:


String.substr() improperly replaced with String.charAt()

Hi. Somewhere, (I assume in PeepholeReplaceKnownMethods.java), String.substr() is replaced with String.charAt().
I think you missed an exception where this should be left as substr(). It seems string.substr(-n) (for positive n)  behaves like string.substr(string.length - n), where string.charAt() returns an empty string for any negative argument.
Thanks!

I believe we don't replace it with charAt() if there's only one argument to substr():
https://github.com/google/closure-compiler/blob/42b5447485da83a7730c2f0739bb7d8415a0f48b/test/com/google/javascript/jscomp/PeepholeReplaceKnownMethodsTest.java#L360
Is this replacement happening in your compilation?

Ah, you're right, and my example is bad, sorry!
If we add a second argument, string.substr(-5, 1), it does seem to use charAt(). Removing the second argument leaves it at substr(), but changes the behavior of substr().
Note that this is not a problem for me. I changed my code to use length - n. Only trying to help :-)

@Ondross Hmm. Apparently I read the specs wrong or something. I'll fix this. Thanks for the report!


Col seems to have some default padding

As the the title indicates, Col seems to come with some default padding. Is this intended behaviour?

It is intentional and explained here: https://getbootstrap.com/docs/4.5/layout/grid/#how-it-works

Okay, thank you.


Division by zero

‘a’ initialized to 0
https://github.com/google/glog/blob/ba8a9f6952d04d1403b97df24e6836227751454e/src/signalhandler_unittest.cc#L61
Division by zero
https://github.com/google/glog/blob/ba8a9f6952d04d1403b97df24e6836227751454e/src/signalhandler_unittest.cc#L62

This is intended since it's a unit test.


Reader

@freddyisaac I haven't seen this PR before. It's looking good so far, good job! Any instructions on how I could test it before merging?


[Event Request] codeunit 5763 "Whse.-Post Shipment" - OnAfterTransferPostShipment

Can you add SuppressCommit to event OnAfterTransferPostShipment in codeunit 5763 "Whse.-Post Shipment"?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 13270.


Adding a package-lock.json and npm-shrinkwrap.json file

Not sure if this will fix all the issues people have experienced, but this will lock the version of bcoin to 1.0.0-beta.12, which certainly fixed my issues.
For example, as of today (9/15/2018), if you just run npm install the bcoin version you get will have bcoin.KeyRing PascalCased, whereas the mbexport code expects bcoin.keyring (all lowercase)

Dear David,
Been installing the node.js 14.15.1 Windows 64 version and following the instructions and also installing "npm install -g mbexport". In the command prompt I'm getting some errors. Not sure on how to proceed extracting my private key from the Multibit HD 0.5.1 as mbexport doesn't seem to work.
Have attached a screen shot (hiding the wallet directory as I'm not sure if that contains some vital info).
Thanks
Anders


Bad Handshake / SSL errors

Hi,
Been getting a lot of these while searching Kat for the last few days, on versions 2.0.9 - 2.0.11
2016-05-05 12:03 WARNING  kat           kat-nores       Search resulted in: ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'sslv3 alert illegal parameter')],)",)
    verify_ssl_certificates: no
    discover:
      what:
        - movie_list: allmyfilms
      from:
        - kat:
            category: movies
            verified: yes
        - torrentz:
            reputation: verified
    template: movietemplate
    priority: 9
    seen: local
    #assume_quality: 480p bluray h264 mp3
    quality: hdrip+
    #  - xvid+
    delay: 10 hours```

An issue with Kat, or a bug?

What version of python?

2.7

On 6 May 2016, at 06:48, Or Carmi<EMAIL_ADDRESS>wrote:
What version of python?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

2.7.what? Is it 2.7.3, 2.7.9 or 2.7.10 or what?

Sorry. 2.7.9

On 6 May 2016, at 07:20, Claus Vium<EMAIL_ADDRESS>wrote:
2.7.what? Is it 2.7.3, 2.7.9 or 2.7.10 or what?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Just some updates on this. I've tried
sudo pip install requests[security]
It's all up-to-date. I have noticed that running the command manually with no-cache and discover-now avoids the errors sometimes. It's difficult to pinpoint when it's going to fail.
/usr/local/bin/flexget -c /home/pi/flex/config.yml execute --discover-now --now --no-cache --tasks
Via cron and also the Scheduler, it always results in the SSL error.

Renaming the task - this worked on the first run without errors. Subsequent runs produced the error
I replicated the task on another config and db, with a much smaller movie-list, and it almost always works. This is run manually from the command line.

I'm at a loss. Let me know if I can help with other commands or logs


Search is including files outside of the project

VSCode Version: 1.0.0
OS Version: Windows 10

Steps to Reproduce:

Ctrl+Shit+f
Search for the word "skip", at least that's what I used.

Expected results: The results would only show from the project content
Actual results: Results are being returned for file matches in the Visual Studio Code folder under Program Files.

My settings.json file looks like this.
// Place your settings in this file to overwrite default and user settings.
{
    "search.exclude": {
        "**/.git": true,
        "**/node_modules": true,
        "**/tmp": true,
        "**/bin": true,
        "**/doc": true
    },
    "files.exclude": {
        "**/.git": true,         // this is a default value
        "**/.DS_Store": true,    // this is a default value
        // alternative version
        "node_modules": true,   // this excludes the folder
                                // only from the root of
                                // your workspace
        "typings": true,
        "bin": true,
        "tmp": true,
        "doc": true
    }
}

Somehow you managed to open this file and as such it will show up in the search results. Just open it and press Ctrl+K W to close it for good.

@bpasero That is not a solution. Your answer doesn't even solve anything. Try to understand the problem.


improves validation on rename

fixes #47791
fixes #44549

@tsalinger please resolve conflicts against latest master and then I will review this.

@tsalinger thanks for this PR, merging in.


Restore the value of 'FollowRedirects'

hence the value is global to all the JVM...

@abayer: any idea why jenkins ci fails? It seems that we get that in all pull requests.

I'm guessing there's a CI check that doesn't allow kubernetes-pipeline-plugin to be compiled with java 1.8? https://github.com/jenkinsci/kubernetes-pipeline-plugin/blob/master/pom.xml#L314-L315.  Can this be changed?

Retesting now that we've added circleci to the mix.

@iocanel Any news on this?

@iocanel Ping?

@iocanel Ping?

I don't understand why this PR is getting ignored. It's a serious problem for Jenkins users and needs to be fixed ASAP. See PR to update center above for explanation and proposed blacklisting of 1.3.

I see that this is actually already fixed by 739e675db0 so can probably be closed.

I am very thankful for this plugin. Being able to spin up immutable agents and destroy them after use is great. However I am unable to update my plugins because of the issue reported here.
Was this fix released in or before 0.12? I am experiencing this issue consistently.

@sbeckwithiii https://github.com/jenkinsci/kubernetes-pipeline-plugin/commit/739e675db06e3685fa8b998fc1fa2f41d8de37f2 has been never released from what I see.
CC @jstrachan and @iocanel

@oleg-nenashev: In general this project has never done an actual release. Intend to do one soon.

@daniel-beck: This pull request is not getting ignored. The pull request introduces

@iocanel The PR creator allows you to commit to their PR branch:
https://github.com/igreenfield/kubernetes-pipeline-plugin/edit/master/devops-steps/src/main/java/io/fabric8/kubernetes/pipeline/devops/elasticsearch/ElasticsearchClient.java?pr=/jenkinsci/kubernetes-pipeline-plugin/pull/31
So it's an obvious, trivial problem that's easy to fix for you on the GitHub API in seconds.

@daniel-beck: Yes, I can! Still that doesn't make it my responsibility. As a reviewer my role is to highlight the issue and request a change.
I don't intend to debate this further. Since there are people that want this change to be merged I'll fix it myslef.

These commits along with a fix have been merged as part of #51. So I am closing this.

@iocanel Thank you. Could you release this fix? See https://github.com/jenkins-infra/backend-update-center2/pull/159 for more information why this is important.

@daniel-beck: I intend to release today at some point.


Allow enabling/disabling all services in the config.toml configuration

At the moment the supabase/config.toml allows us to disable some services e.g.
[realtime]
enabled = false

https://github.com/supabase/cli/blob/6eee42fe379c9199172a92604e66b4cfed2b0721/internal/utils/templates/init_config.toml
but it looks like some services are not configurable in the config file: for example by default it looks like the imgproxy and edge-runtime services are always getting started (i.e. their containers are started) on supabase start.
It seems like there is an exclude flag in the supabase start sub-command to disable them manually
supabase start --exclude 'imgproxy,edge-runtime'

https://github.com/supabase/cli/blob/6eee42fe379c9199172a92604e66b4cfed2b0721/docs/supabase/start.md
Is this by design or an oversight?
Should there be sections in the config file supabase init creates and all other commands respect, such as
[imgproxy]
enabled = false

[edgeruntime]
enabled = false

Then we no longer have to enable/disable some services in the config and some on the command line via exclude flag.
System information

OS: Linux
Version of CLI: 1.145.4 (latest)

closing as a duplicate of https://github.com/supabase/cli/issues/1414


How to fix it I can't get log keylogger

Possibly it was not enabled when you built the client or you are using a client with an older version than the server.


Use "Server Group" colors in "Recent Connections" pane

Is your feature request related to a problem? Please describe.
I often have to work with the "Recent Connections" pane due to bug #8867. I have quite a few recent connections and it's difficult to quickly select the right one, especially differentiating between our different environments (e.g. staging vs production).
Describe the solution or feature you'd like
The "Saved Connections" pane organizes saved connections by Server Group, which we've defined with specific colors (e.g. red=Production, green=Staging). It would be helpful if the "Recent Connections" pane could do the same kind of display. (I would also like both panes to keep the groups expanded or closed, i.e. remembering how I left them, either expanded or not.)
Our recent connections pane currently looks like this:

Contrast that with the "Saved Connections" panel:

Describe alternatives you've considered
An alternative approach could be to add a colored/labeled badge in front of each connection row, which would allow the recent connections pane to continue sorting by most-recently used. Right now we've resorted to naming our server connections with (prod) and (staging) to try and provide us more context, but I personally have a hard time parsing the list quickly without color.
Ideally we would end in a place where adding (environment) after each server connection name would not be required at all, and could be inferred from the server group name/color.

We've redesigned the UX for the Recent Connections since this issue was opened.  Please let us know if you have any suggestions on the current UX.  Thanks!


scaling of foot ligaments

Is your feature request related to a problem? Please describe.

Currenlty there is no code to easily scale the properties of ligaments present in the foot.
Describe the solution you'd like

Added boolean to AdaptOpenSimModel
 and function to scale the ligaments based on body mass (pcsa) and length (resting length).
Describe alternatives you've considered

Programmatically calculating the new values and maually adding them to the model.
Additional context

/
Are you willing to contribute in the development of this feature?

Yes.

Input needed on how to do the length scaling: what ratio should we use? Keeping in mind that, ideally, it should be possible to get the values through the OpenSim API.

OpenSim scale tool does scale the resting length (tested with OpenSim 4.5 beta)
I added a function to the linked branch that scales the ligament property pcsa_force proportional to mass^(2/3)


This is a decent bit of tedious work (which is why it hasn't been done yet.) I can facilitate it with some vim macros, but there will be edge cases, so results from macros need to be manually validated. My guess is that I'll do it in the following steps:

[x] Replace assert_equal(a, b) with assert a == b
[x] Replace assert_not_equal(a, b) with assert a != b
[x] Replace raise SkipTest() with pytest.skip()
[x] Replace @raises(...) with with pytest.raises(...)
[x] Replace assert_almost_equal, probably with things from numpy.testing
[x] Replace various methods in test_helpers that are built on nose
[x] Clean up any remaining bits that aren't included above
[x] Remove nose from the build process

Adding Python 3.12 to the CI matrix will come in a later PR.

This is ready for review and comment. Without review, I will merge this after at least 24 hours, no sooner than Fri 26 Apr 02:00 GMT (Thu 25 Apr 21:00 my local).
This is a huge PR in terms of changes, but all of them are individually small and repetitive. I converted legacy nose to pytest with the help of a number of vim macros. But do at least take a look at the many nose-based puns I've been making in commit messages, as well as in the PR title/branch name. Otherwise, like most of my jokes, these will be spoken into the void, only for my own amusement.

But do at least take a look at the many nose-based puns I've been making in commit messages, as well as in the PR title/branch name. Otherwise, like most of my jokes, these will be spoken into the void, only for my own amusement.

Thanks for the heads up, I do appreciate them :grinning: Will walk through the PR and see how far I get

Changes should be all addressed! Take a look when you can, @sroet, and mark it green if ready!
Replies to a couple other points:

you sometimes go for assert x and sometimes for assert x is True from assert_equal(x, True), either one is fine by me (while I think assert x is technically the better replacement)

Yeah, I agree. First macro I added was (of course) assert_equal(X, Y) to assert X == Y. Eventually I saw enough of the assert_equal(X, True) that I made a macro to make it into assert X (and assert not X for False). Which one you see depends on how far into the process I was when I hit that file.

I did run a grep -R "nose" ./ on this branch and it only matched a .git object

git ls-files | xargs grep "nose"  😉 I have far too many random untracked files in my OPS directory.... (But that's how I found the random mention in an ipynb).


How to insert as plain text

Hi,
I wanna to insert key like @requester as plain text. Do you have any option for this? Already when I export text from Quilljs it's return:
@Request

I wanna to see in export this:
@Request

How do you export? Sounds like you want it as plain text without html? Have you tried quill.getText()?
https://quilljs.com/docs/api/#gettext

In php I use it for solve problem
$html = preg_replace('#
(.*?)
#', '', $html);

and javascript
https://stackoverflow.com/questions/822452/strip-html-from-text-javascript


Error in dataset generation in file type

Describe the bug
If I click the "Previous" button after uploading a file, I need to upload the file again from the beginning. It did not happen in version 3.2.0
To Reproduce
Steps to reproduce the behavior:

Go to Dataset and generate new dataset
Select data type - File
Upload a file
Click on Previous

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@jeongeunkwon The behavior has been changed because of new multi-file upload feature. When we upload only single file, we could keep the context by uploaded file name. But, for multi-file upload, this is impossible. So, we cannot keep the upload context any more. This is inevitable fall-back.
Closing issue.


Replace Serpo's Console link

other PR closed cause my fork was having an utter stroke. here

Thanks.


Query on iot edge - with blob storage

Hi,
i am following the below link to setup blob-storage connectivity from our edge device
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-blob?view=iotedge-2020-11
I see that the blob storage container is running and also when i inspect the container it is associated to the volume (I am using the docker Volume i created for this)
Is it a feasibility that i can connect to this local storage account from Azure Storage Explorer? I tried and this doesnt seem to work. Unlike the example i am running docker in Ubuntu 18.0.4 and when i try to connect i get the below error
Connection string : DefaultEndpointsProtocol=http;BlobEndpoint=http://device.domain.com:11002/accountname;AccountName=accountname;AccountKey=accountkey
Error message in brief is as below:
etails:
{
"name": "RestError",
"message": "The value for one of the HTTP headers is not in the correct format.\nRequestId:d6a5e046-e4ab-4476-85c1-bb05d246656d\nTime:2021-01-11T16:24:17.8097750Z",
"__zone_symbol__error": {
"originalStack": "Error: The value for one of the HTTP headers is not in the correct

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

ID: d574f299-1f45-ad1b-755f-ced23163a60a
Version Independent ID: 54532d7c-60b0-8522-9455-4ec094af9cb4
Content: Deploy blob storage on module to your device - Azure IoT Edge
Content Source: articles/iot-edge/how-to-deploy-blob.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@ramakrpr we'll review your feedback and get back to you shortly. Thanks.

@ramakrpr we'll review your feedback and get back to you shortly. Thanks.

@ramakrpr see a related issue: https://github.com/MicrosoftDocs/azure-docs/issues/66716
Can you try using Azure Storage Explorer version 1.9.0 ?
Thank you. We are reporting the bug to the Product Team and may need to enhance the doc.
fyi @kgremban

@ramakrpr see a related issue: https://github.com/MicrosoftDocs/azure-docs/issues/66716
Can you try using Azure Storage Explorer version 1.9.0 ?
Thank you. We are reporting the bug to the Product Team and may need to enhance the doc.
fyi @kgremban

@ramakrpr can you also confirm what is the version of azure-blob-storage module? You should be able to confirm on iotedge logs or in the portal what tag did you use for the image URI? You can retrieve a list of all available tags for azure-blob-storage at https://mcr.microsoft.com/v2/azure-blob-storage/tags/list
fyi @arduppal

@ramakrpr can you also confirm what is the version of azure-blob-storage module? You should be able to confirm on iotedge logs or in the portal what tag did you use for the image URI? You can retrieve a list of all available tags for azure-blob-storage at https://mcr.microsoft.com/v2/azure-blob-storage/tags/list
fyi @arduppal

@asergaz had to unforatunately delete the edge device but setting up another one now. will share the details ASAP meanwhile

@asergaz had to unforatunately delete the edge device but setting up another one now. will share the details ASAP meanwhile

@ramakrpr - Can you Please try the version 1.4.0 and let us know if you still facing this issue.
Thanks,
Arpita

@ramakrpr - Can you Please try the version 1.4.0 and let us know if you still facing this issue.
Thanks,
Arpita

@arduppal 1.4.0 seems pretty old? you want me to try this one ?https://github.com/microsoft/AzureStorageExplorer/releases/tag/v1.4.4

@arduppal 1.4.0 seems pretty old? you want me to try this one ?https://github.com/microsoft/AzureStorageExplorer/releases/tag/v1.4.4

@ramakrpr version 1.4.0 of azure-blob-storage module.

@ramakrpr version 1.4.0 of azure-blob-storage module.

@asergaz and @arduppal thanks both
ok it seems now working with 1.4, atelest i am able to connect to the local blob from storage explorer
however i see that the blob/file uploaded is not being transffered to Az storage a/c...but maybe another issue that needs to be checked .
the container logs though says that the blob container is found

@asergaz and @arduppal thanks both
ok it seems now working with 1.4, atelest i am able to connect to the local blob from storage explorer
however i see that the blob/file uploaded is not being transffered to Az storage a/c...but maybe another issue that needs to be checked .
the container logs though says that the blob container is found

@asergaz and @arduppal
this seems to be working for me, maybe one last question
For both local storage as well as az storage a/c auehentication from the module i believe the only supported option now is using the key? Are there any feasibility/plans to use something more secure? for example maybe an SPN / Managed identity?

@asergaz and @arduppal
this seems to be working for me, maybe one last question
For both local storage as well as az storage a/c auehentication from the module i believe the only supported option now is using the key? Are there any feasibility/plans to use something more secure? for example maybe an SPN / Managed identity?

Hello @ramakrpr I am glad you are now unblocked :)!
Regarding your other question

Are there any feasibility/plans to use something more secure? for example maybe an SPN / Managed identity?

In our doc we just mention Azure Storage SAS connection string as the possibility: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob?view=iotedge-2020-11#devicetoclouduploadproperties

The best place to discuss questions not related with a document (for example security concerns you may have when using SAS keys) is Microsoft Q&A. For asking a new feature to the IoT Edge Service please use feedback.azure.com/iotedge
@arduppal if there is an alternative way like "SPN/Managed Identity" please can you share?
Thank you so much @ramakrpr for all your time. As the original issue is resolved we will now close this thread.
If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hello @ramakrpr I am glad you are now unblocked :)!
Regarding your other question

Are there any feasibility/plans to use something more secure? for example maybe an SPN / Managed identity?

In our doc we just mention Azure Storage SAS connection string as the possibility: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob?view=iotedge-2020-11#devicetoclouduploadproperties

The best place to discuss questions not related with a document (for example security concerns you may have when using SAS keys) is Microsoft Q&A. For asking a new feature to the IoT Edge Service please use feedback.azure.com/iotedge
@arduppal if there is an alternative way like "SPN/Managed Identity" please can you share?
Thank you so much @ramakrpr for all your time. As the original issue is resolved we will now close this thread.
If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


PyGlider input ability and DOIs to paper

What does your PR do?
add dois to visbeck 2002 and todd 2017 (#39)
Permit loading of pyglider netcdf format into gliderad2cp
Fix error in detection for ADCP mounting position (upward vs downward facing)

Tests are failing after the fix to grid2d function. This is expected. We'll need to upload a new set of test data when this PR is ready

I've uploaded new test data for the changes to grid2d. Make the following changes to gliderad2cp/download_example_data.py:
server = "https://zenodo.org/record/10606484/files/"
        "processed_shear_160_to_210.nc": "sha256:fe4ee1367b4a16916d22f9fc7db7f1349fc66df1e42e68369dc3994b4655eb5f",
        "processed_velocity_160_to_210.nc": "sha256:479f81f5e3c501b9df007ff7ac357653d474f9f847661d05ea1fbf4d6c818528",

ad2cp dataset shasum needs updating too:
 "adcp_profiles_160_to_210.nc": "sha256:ee74a61af86547be0ea40d5bc6e09b88fdf89f87c4e48940a8f9fc694c2717b5",


navigation tree on left spells Azure as Aure

Fix typo

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

ID: 6f764ac2-98eb-c67a-c464-96a1de4e0727
Version Independent ID: 2b2be60a-7f7d-ec66-5b91-9cc4b63dcbaa
Content: Troubleshoot an Application Gateway in Azure – ILB ASE
Content Source: articles/application-gateway/create-gateway-internal-load-balancer-app-service-environment.md
Service: vpn-gateway
GitHub Login: @genlin
Microsoft Alias: genli

@mganeshphani Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@genlin I am unable to edit the menu, otherwise I would fix this typo.

@mganeshphani Thanks for pointing out the problem. I will submit a pull request to fix it.


Process Terms and Conditions

[ ] Draft the process Terms and Conditions (this is also a legal document like the contract T&Cs. Includes things like dispute resolution, and who folks will be informed who won etc.
[ ] Revisions to process and contract T&Cs - comments from OSME

Duplicate - have rolled all the T&C issues into a 'legal framework' issue


Mistake in listed limitations for SelectUniqueValue function

The notes for the SelectUniqueValue function state that the function only works with Workday to AD provisioning. I believe it also works with SuccessFactors to AD provisioning.

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

ID: e45c1eab-f7b4-c472-4ab2-e4e36e360b69
Version Independent ID: 744f941b-6356-0193-a7a6-b4713ed55179
Content: Azure AD Connect cloud sync expressions and function reference
Content Source: articles/active-directory/cloud-sync/reference-expressions.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@ZollnerdMSFT
Thanks for your feedback! We will investigate and update as appropriate.

@ZollnerdMSFT
Thank you for pointing this out! I've created a PR to update the documentation and it's currently waiting for the author to review and sign off.
I will now close out this issue. Please allow some time for the author to review and the changes to reflect.
Thank you for your time and patience!


Uncaught TypeError: Cannot read property 'length' of undefined

While installing batarangle updated extension for beta:6 with angular 2 beta 0 application(No backward compatibility?)
Build using
Node v4.2.1
NPM 3.3.10
TypeScript 1.6.2
tsd 0.6.5
build successful
with warnings and no error
$ npm run build

<EMAIL_ADDRESS>build /home/ubuntu/workspace/batarangle
npm run webpack --colors --display-error-details --display-cached

<EMAIL_ADDRESS>webpack /home/ubuntu/workspace/batarangle
webpack

ts-loader: Using<EMAIL_ADDRESS>and /home/ubuntu/workspace/batarangle/tsconfig.json
Hash: b2e17d08e62d1b5080fd
Version: webpack 1.12.2
Time: 25173ms
Asset     Size  Chunks             Chunk Names
app.js  5.43 MB       0  [emitted]  app
entry.js  2.04 MB       1  [emitted]  entry
devtools.js  3.32 kB       2  [emitted]  devtools
channel.js  2.62 kB       3  [emitted]  channel
backend.js  2.71 kB       4  [emitted]  backend
app.js.map  5.87 MB       0  [emitted]  app
entry.js.map  2.25 MB       1  [emitted]  entry
devtools.js.map  5.44 kB       2  [emitted]  devtools
channel.js.map  4.04 kB       3  [emitted]  channel
backend.js.map  4.01 kB       4  [emitted]  backend
[0] multi entry 28 bytes {1} [built]
[0] multi devtools 28 bytes {2} [built]
[0] multi channel 28 bytes {3} [built]
[0] multi backend 28 bytes {4} [built]
[0] multi app 40 bytes {0} [built]
+ 539 hidden modules
WARNING in ./~/json-formatter-js/dist/bundle.js
Critical dependencies:
1:113-120 This seems to be a pre-built javascript file. Though this is possible, it's not recommended.
We will update the readme to explicitly state which version is supported to avoid confusion. Thanks for bringing it up!


STATISTICS-5: Migrate "o.a.c.math4.stats" from Commons Math( Interval Module )

Closing as inactive for 4 years


Unable to build master with Scons 3.0.4 and MSVC 2017

Godot version:
Godot master, latest commit 78fcbb8
OS/device including version:
Windows 10, Python 3.7.2, Scons 3.0.4, MSVC 2017
Issue description:
The Windows installer of Scons has been deprecated so the only way to install Scons is through pip.
With pip install scons the latest production version 3.0.4 is installed and Godot build script seems not to work with it and prints out this error:
scons: Reading SConscript files ...
IndexError: list index out of range:
  File "C:\GitHub\godot\SConstruct", line 3:
    EnsureSConsVersion(0, 98, 1)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Script\SConscript.py", line 665:
    env = self.factory()
  File "c:\programs\python3\lib\site-packages\scons\SCons\Script\SConscript.py", line 645:
    default_env = SCons.Defaults.DefaultEnvironment()
  File "c:\programs\python3\lib\site-packages\scons\SCons\Defaults.py", line 88:
    _default_env = SCons.Environment.Environment(*args, **kw)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Environment.py", line 982:
    apply_tools(self, tools, toolpath)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Environment.py", line 107:
    env.Tool(tool)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Environment.py", line 1789:
    tool(self)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\__init__.py", line 296:
    self.generate(env, *args, **kw)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\default.py", line 40:
    for t in SCons.Tool.tool_list(env['PLATFORM'], env):
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\__init__.py", line 1266:
    c_compiler = FindTool(c_compilers, env) or c_compilers[0]
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\__init__.py", line 1169:
    if t.exists(env):
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\msvc.py", line 292:
    return msvc_exists(env)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\MSCommon\vc.py", line 759:
    vcs = cached_get_installed_vcs(env)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\MSCommon\vc.py", line 524:
    ret = get_installed_vcs(env)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\MSCommon\vc.py", line 535:
    VC_DIR = find_vc_pdir(ver)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\MSCommon\vc.py", line 344:
    comps = find_vc_pdir_vswhere(msvc_version)
  File "c:\programs\python3\lib\site-packages\scons\SCons\Tool\MSCommon\vc.py", line 306:
    vc_pdir = os.path.join(vsdir[0], 'VC')
When I install Scons version 3.0.3 (pip install scons=3.0.3) Godot builds without any problems.

That's weird, I think many other users are able to build with SCons 3.0.4 and MSVC 2017. What VS 2017 version is it (Community, Professional, Enterprise)?
CC @bdbaddog

Can you run the following and paste the output:
'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe'
Also:
set SCONS_MSCOMMON_DEBUG=SCONS_VSLOG.txt
And then run SCons
and add that file as an attachment?

Output of the vswhere.exe is:
Visual Studio Locator version 2.5.2+gebb9f26a3d [query version <IP_ADDRESS>008]
The only line in the debug file is:
DEBUG:SCons.Tool.MSCommon.common:trying to find VC 14.1
If this issue is due to my configuration I'm sorry to waste your time but I have seen the same error in an issue with MSVC 2019 so I thought that it might be connected.

try vswhere -product "" -legacy
Also
vswhere -product "" -prerelease

vswhere -products "*" -legacy and vswhere -products "*" -prerelease print the same output as a bare vswhere command.

how about
vswhere -all -prerelease
On Sat, Mar 2, 2019 at 8:00 PM Martin Novák<EMAIL_ADDRESS>wrote:

vswhere -products "" -legacy and vswhere -products "" -prerelease print
the same output as a bare vswhere command.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/26461#issuecomment-468975648,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFBNMZ4owOsjQo_hY-zZMEdO73CVyAOks5vSx60gaJpZM4bZ70o
.

Testing on Windows 10 Home with freshly installed Python 3.7.2, SCons 3.0.4 and latest VS 2017 Community.
Before I installed MSVC, I got the same backtrace as OP. I checked with @bdbaddog and this has been fixed in SCons master, it now properly reports missing compiler:
$ scons --version
SCons by Steven Knight et al.:
        script: v3.0.5.alpha.yyyymmdd.387e1f36f19d7a1e5f06cad4d6e87d84893c3ac2, 2019-03-15 22:17:20, by bdbaddog on Williams-MacBook-Pro
        engine: v3.0.5.alpha.yyyymmdd.387e1f36f19d7a1e5f06cad4d6e87d84893c3ac2, 2019-03-15 22:17:20, by bdbaddog on Williams-MacBook-Pro
        engine path: ['c:\\program files\\python37\\lib\\site-packages\\scons\\SCons']
Copyright (c) 2001 - 2019 The SCons Foundation

$ scons
scons: Reading SConscript files ...

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "C:\Dev\Godot\godot.git\SConstruct", line 3, in <module>

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "C:\Dev\Godot\godot.git\SConstruct", line 65, in <module>
No valid target platform selected.
The following platforms were detected:
        windows

Please run SCons again with the argument: platform=<string>
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.

Now back to 3.0.4 and with MSVC properly installed (with C++ components), I get:
$ scons --version
SCons by Steven Knight et al.:
        script: v<IP_ADDRESS>a41ed6b288cee8d085373ad7fa02894e1903864, 2019-01-20 22:51:36, by bdeegan on kufra
        engine: v<IP_ADDRESS>a41ed6b288cee8d085373ad7fa02894e1903864, 2019-01-20 22:51:36, by bdeegan on kufra
        engine path: ['c:\\program files\\python37\\lib\\site-packages\\scons\\SCons']
Copyright (c) 2001 - 2019 The SCons Foundation

$ scons p=windows
scons: Reading SConscript files ...
Configuring for Windows: target=debug, bits=default

scons: *** SDK version '10.0A' is not supported
File "./platform/windows\detect.py", line 146, in setup_msvc_auto

I'll gather the relevant debug output asked above in the next comment.

Note: everything on the previous comment and on this one is from running SCons within git-bash.exe.
I'll check afterwards if things are different in the VS command prompt.
$ "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
Visual Studio Locator version 2.5.2+gebb9f26a3d [query version <IP_ADDRESS>008]
Copyright (C) Microsoft Corporation. All rights reserved.

instanceId: a61eae66
installDate: 15/03/2019 14.46.13
installationName: VisualStudio/15.9.9+28307.518
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
installationVersion: 15.9.28307.518
productId: Microsoft.VisualStudio.Product.Community
productPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe
isPrerelease: 0
displayName: Visual Studio Community 2017
description: Free, fully-featured IDE for students, open-source and individual developers
channelId: VisualStudio.15.Release
channelUri: https://aka.ms/vs/15/release/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
releaseNotes: https://go.microsoft.com/fwlink/?LinkId=660692#15.9.9
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=660708
updateDate: 2019-03-15T21:46:13.2020168Z
catalog_buildBranch: d15.9
catalog_buildVersion: 15.9.28307.518
catalog_id: VisualStudio/15.9.9+28307.518
catalog_localBuild: build-lab
catalog_manifestName: VisualStudio
catalog_manifestType: installer
catalog_productDisplayVersion: 15.9.9
catalog_productLine: Dev15
catalog_productLineVersion: 2017
catalog_productMilestone: RTW
catalog_productMilestoneIsPreRelease: False
catalog_productName: Visual Studio
catalog_productPatchVersion: 9
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productRelease: RTW
catalog_productSemanticVersion: 15.9.9+28307.518
catalog_requiredEngineVersion: 1.18.1049.33485
properties_campaignId:
properties_channelManifestId: VisualStudio.15.Release/15.9.9+28307.518
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe

SCons logs with SCONS_MSCOMMON_DEBUG: SCONS_VSLOG.txt
$ "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -products "*" -legacy
Visual Studio Locator version 2.5.2+gebb9f26a3d [query version <IP_ADDRESS>008]
Copyright (C) Microsoft Corporation. All rights reserved.

instanceId: a61eae66
installDate: 15/03/2019 14.46.13
installationName: VisualStudio/15.9.9+28307.518
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
installationVersion: 15.9.28307.518
productId: Microsoft.VisualStudio.Product.Community
productPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe
isPrerelease: 0
displayName: Visual Studio Community 2017
description: Free, fully-featured IDE for students, open-source and individual developers
channelId: VisualStudio.15.Release
channelUri: https://aka.ms/vs/15/release/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
releaseNotes: https://go.microsoft.com/fwlink/?LinkId=660692#15.9.9
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=660708
updateDate: 2019-03-15T21:46:13.2020168Z
catalog_buildBranch: d15.9
catalog_buildVersion: 15.9.28307.518
catalog_id: VisualStudio/15.9.9+28307.518
catalog_localBuild: build-lab
catalog_manifestName: VisualStudio
catalog_manifestType: installer
catalog_productDisplayVersion: 15.9.9
catalog_productLine: Dev15
catalog_productLineVersion: 2017
catalog_productMilestone: RTW
catalog_productMilestoneIsPreRelease: False
catalog_productName: Visual Studio
catalog_productPatchVersion: 9
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productRelease: RTW
catalog_productSemanticVersion: 15.9.9+28307.518
catalog_requiredEngineVersion: 1.18.1049.33485
properties_campaignId:
properties_channelManifestId: VisualStudio.15.Release/15.9.9+28307.518
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe

$ "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -products "*" -prerelease
Visual Studio Locator version 2.5.2+gebb9f26a3d [query version <IP_ADDRESS>008]
Copyright (C) Microsoft Corporation. All rights reserved.

instanceId: a61eae66
installDate: 15/03/2019 14.46.13
installationName: VisualStudio/15.9.9+28307.518
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
installationVersion: 15.9.28307.518
productId: Microsoft.VisualStudio.Product.Community
productPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe
isPrerelease: 0
displayName: Visual Studio Community 2017
description: Free, fully-featured IDE for students, open-source and individual developers
channelId: VisualStudio.15.Release
channelUri: https://aka.ms/vs/15/release/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
releaseNotes: https://go.microsoft.com/fwlink/?LinkId=660692#15.9.9
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=660708
updateDate: 2019-03-15T21:46:13.2020168Z
catalog_buildBranch: d15.9
catalog_buildVersion: 15.9.28307.518
catalog_id: VisualStudio/15.9.9+28307.518
catalog_localBuild: build-lab
catalog_manifestName: VisualStudio
catalog_manifestType: installer
catalog_productDisplayVersion: 15.9.9
catalog_productLine: Dev15
catalog_productLineVersion: 2017
catalog_productMilestone: RTW
catalog_productMilestoneIsPreRelease: False
catalog_productName: Visual Studio
catalog_productPatchVersion: 9
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productRelease: RTW
catalog_productSemanticVersion: 15.9.9+28307.518
catalog_requiredEngineVersion: 1.18.1049.33485
properties_campaignId:
properties_channelManifestId: VisualStudio.15.Release/15.9.9+28307.518
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe

$ "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease
Visual Studio Locator version 2.5.2+gebb9f26a3d [query version <IP_ADDRESS>008]
Copyright (C) Microsoft Corporation. All rights reserved.

instanceId: a61eae66
installDate: 15/03/2019 14.46.13
installationName: VisualStudio/15.9.9+28307.518
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
installationVersion: 15.9.28307.518
productId: Microsoft.VisualStudio.Product.Community
productPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe
isPrerelease: 0
displayName: Visual Studio Community 2017
description: Free, fully-featured IDE for students, open-source and individual developers
channelId: VisualStudio.15.Release
channelUri: https://aka.ms/vs/15/release/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
releaseNotes: https://go.microsoft.com/fwlink/?LinkId=660692#15.9.9
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=660708
updateDate: 2019-03-15T21:46:13.2020168Z
catalog_buildBranch: d15.9
catalog_buildVersion: 15.9.28307.518
catalog_id: VisualStudio/15.9.9+28307.518
catalog_localBuild: build-lab
catalog_manifestName: VisualStudio
catalog_manifestType: installer
catalog_productDisplayVersion: 15.9.9
catalog_productLine: Dev15
catalog_productLineVersion: 2017
catalog_productMilestone: RTW
catalog_productMilestoneIsPreRelease: False
catalog_productName: Visual Studio
catalog_productPatchVersion: 9
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productRelease: RTW
catalog_productSemanticVersion: 15.9.9+28307.518
catalog_requiredEngineVersion: 1.18.1049.33485
properties_campaignId:
properties_channelManifestId: VisualStudio.15.Release/15.9.9+28307.518
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe

In "x64 Native Tools Command Prompt for VS 2017", scons p=windows works out of the box.
As per https://docs.godotengine.org/en/latest/development/compiling/compiling_for_windows.html#compiling, I think it's actually expected that things don't work out of the box in cmd.exe or git-bash.exe.

In the end the issue I get in git-bash.exe is a duplicate of #26485.
The original backtrace from OP is what happened when MSVC is not found at all, so I assume their was a misconfiguration. With MSVC properly installed, I don't get the backtrace with SCons 3.0.4.
That backtrace issue is now fixed in SCons master, so closing.


Not published but routable

For a page, there is a behavior of confusion when he defined as unpublished but available.
I thought that configured so, we would have access to the page by knowing its URL, but would not be displayed in the menu.
Well no, it sends me on the 404 page

Please don't confuse page status with page visibility. If a page is not published then it isn't neither routable nor visible. Not routable pages are pages used internally like the not found (error 404) page, which cannot be directly reached but is still necessary to the system.
If you're wondering how to make pages invisible from the menu, currently the only way to do this is to remove the number prefix from the page folder. For example, if I want to hide the page Typography, which folder name is 3-typography, I have just to rename the folder to typography. Actually this is quite confusing and complex to do everytime.
Thanks for the feedback, I'll add a way to set page visibility in the Admin Panel.

Thank you for the clarification.
So in fact routable means "system page".
Thank you for the tip to put a page not visible in the menu ;)
Formwork is awesome!

Other question, Not published = Draft ?

Yes, you can think that's like a draft.
Please don't change any language string, it would break the consistency across the translations. I think it's rather clean and understandable.

Not precisely, that's why I'm refining the translation.
Another example with the role "User", the best would be "Editor".

fr.yml.zip

Your translation is really useful but please don't use issues to post your translations, Pull requests are there for a reason. Make a PR and we'll discuss about the changes you propose.
However I'm not going to accept "Draft" instead of "Not published". The content of language strings should reflect their names, which in this case is page.status.not-published, and have to be consistent with other translations.

Thanks for the feedback, I'll add a way to set page visibility in the Admin Panel.

Done in last commit b92e10c.


Feature: allow Zod validation to run for client-only contract implementations

Hello!
First of all, I'd just like to say this library is great and makes defining API contracts a breeze. Thanks for working on it!
It seems that the zod schemas are not executed in client-only implementations. This confused me as the docs led me to believe that defining zod schemas within contracts will cause request payloads to be validated, regardless of whether the contract is used on client or server.
The validation of input data is useful to catch bugs in downstream code.
Furthermore, using zod for transforming input data is extremely useful, even if you don't want failed validation to stop a request from being sent.
Beyond that, including zod schemas in a contract also means any consumer of the contract incurs the bundle size cost of zod. It seems wasteful to have defined a contract using zod schemas and not be able to use the benefits of zod, even though it is included in the browser bundle.

For context, I work on a client-only team and we use this library to define a contract against a backend API server which is managed by another team. So, we don't have control over the server-side validation and would love to have the additional control of optionally validating our requests against this API, as well as having access to zod transformations.
I would be happy to work on this functionality if needed.

The seems to be an extremely specific need; I've never heard of needing to run request validation on the client before. In addition:

even if you don't want failed validation to stop a request from being sent.

Zod will not output "transformed" data if validation fails. That's just something that you can't do.
Another issue is that transformations are usually intended to run only once on the server. If you run transformations on the client, the data might end up failing validation on the sever or being improperly transformed twice. Think of something like z.number().transform(v => v * v). As unrealistic as this specific example may be, we cannot account for the use-cases where some might be using non-idempotent transforms.
In your case, if you must, you can just use a custom client and manually call Zod's .parse() before passing the data to tsRestFetchApi

Zodios has a client-side validation and I can tell from own experience – it's a very bad idea however good it might have seen initially:

Zod is a forced dependency in the browser
error handling becomes much more complex (BE and FE errors, obviously, behave differently)

I've never heard of needing to run request validation on the client before

It's called... Form validation.
I was just diving into ts-rest, and I think I misunderstood the value prop. If we are defining contracts between BE and FE, it makes sense for validation to happen at both levels, as is best practice with any fullstack application.
Any reasonable FE is going to have to do input validation on top of ts-rest, because this package does not expose runtime validation for non-server contexts.
In short: modern frontends do perform validation, and most already use zod.
Very odd to omit this kind of functionality and seems to assume that all frontends are old-school form-submission applications relying solely on BE 400s.

I think we're mostly saying the same thing.
But your stance seems to be: duplicate your business logic and have two different schemas for BE and FE validation.
I would suggest you expose the runtime validation (optionally) in the FE clients. Yes, an endpoint signature and a FE form can differ in content. But quite a bit of the time, they are identical. At any rate, zod schemas can be joined or extended. Just my two cents 👍


Setting path to streamlink's executable AppImage only works without filename extension

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
After an excruciating amount of time trying to get streamlink work I realized the problem as stated in the title. So setting custom streamlink path in Chatterino lead to behaviour:
First:
"/home/schim/AppImages/streamlink.AppImage" -> chatterino.streamlink: Got error code 1
Then renaming the AppImage:
"/home/schim/AppImages/streamlink" -> works as intended
Screenshots
No response
OS and Chatterino Version
Chatterino 2.4.6 (commit eb8c7f2 modified) built with Qt 6.5.3 Running on KDE Flatpak runtime, kernel: 6.6.6-76060606-generic, running from Flatpak

While this can be expected behaviour, it did not occur to me as Streamlink Twitch GUI recognizes the executable regardless of the filename extension. Maybe adding a note in above the custom path box would suffice as the user is not aware how Chatterino handles the executable

The StreamLink errors/messaging can mention what the default binary path is, and what it expects the binary's name to be :+1: This would be a good first issue for someone looking to contribute

I'd say this is resolved by the improved documentation in #5076


feat: [sveltekit-pod] 4. Add Kit on the main site

resolves #384

Background
The website has attempted to include all the kits appropriately but may need some added configuration to display correctly.
Acceptance

[x] Ensure the kit displays on the website
[x] Add any missing logos for technologies as needed

Result:

@ihardz I'd change it so that SvelteKit is the "Framework" then remove Svelte. I think this is a case where we're just having 2 items and should update design to support the fact that there's only 2.


tetra/LOAD and tetra/UNLOAD have weird issues at times

Can get the script stuck

Fixed with queueing improvments.


Add Bahrain

Contributing a new country ?

[x] Have you checked to ensure there aren't other open Pull Requests for the same country?

Create a new class in the Countries directory. It should extend the Country class.
Add a test for the new country in the tests directory.
Run the tests so a snapshot gets created.
Verify the result in the newly created snapshot is correct.

There has been some discussion about using that library.
Here is why we haven't used it: https://github.com/spatie/holidays/blob/main/src/Countries/Turkey.php#L11

ok i update the code


[WC-2202] Enabling Playwright workflow

Pull request type

Test related change (New E2E test, test automation, etc.)

Description
As the first step of this migration, we can migrate the test and enable the execution in the CI using the workflow for Firefox E2E testing. This workflow runs weekly and shouldn’t affect our E2E test for every PR.
What should be covered while testing?
Automation should pass.

e2e tests failing though

e2e tests failing though

Thanks, I'm waiting for the pie chart fix PR to rebase this one.


Differentiate user leaving / kicked / banned

Nah, not worth handling whether I have access to the audit log


Allow multiple targets in test suites

Naming conflicts can arise when using targets with the same name in different suites

Your PR is queued. See the queue page for details.

Pre-tested commit build failed.

@bot-gradle test and merge

I've triggered a build for you.

Pre-tested commit build failed.

I've triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.


refactor(deps): Replace trivy-iac/pkg with defsec/pkg

Addresses: https://github.com/aquasecurity/trivy/issues/5626

@nikpivkin could you take a look at reviewing this?

LGTM


Separate original values to training and testing sets, and use them to create the model

Done, not this way but similarly


[Improvement] Monitor node connection status

https://pub.dev/packages/flutter_offline

https://pub.dev/packages/connection_status_bar

Implemented flutter_offline
Branch: connection_status


Disable cmp_http test on AIX

AIX has permission problems of the form:
lsof: can't open /dev/mem: Permission denied
lsof: can't open /dev/kmem: Permission denied

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

This pull request is ready to merge

Thanks. Merged to master.


A policy with monitor compliance restricts using the camera

Created a policy with compliance rule set to Monitor with the camera disabled. When the device user is trying to use the camera app it restricts using the camera.
As the compliance rule is to monitor this should allow the user to use the camera.

Labels - 3.1.0-M7, bug, high

Compliance actions is removed since only enforce is available. Fixed with - https://github.com/wso2/carbon-device-mgt/pull/785/commits/88054f9075a2b47c77b17f29517aa2750f547101


My Swagger.JSON related to a DTO is not updating the schema based upon the definition in the API.XML file being update?

have an ASP.NET Core app and using Swashbuckle.ASP.NECore 5.5.1.
My DTO class is (I removed the XML Comments):
public class ArticleBankDTO : BaseDTO
{
    public int ID { get; set; }

    public List<ArticleTagDTO> ArticleTags;

    public List<ArticleDTO> Articles;

    public List<ArticleSourceDTO> Sources;

    private ArticleBankDTO() { }

    public ArticleBankDTO(int id, List<ArticleTagDTO> articleTags, List<ArticleDTO> articles, List<ArticleSourceDTO> sources)
    {
        if (id <= 0)
        {
            throw new ArgumentOutOfRangeException(nameof(id));
        }

        ID = id;
        ArticleTags = articleTags ?? throw new ArgumentNullException(nameof(articleTags));
        Articles = articles ?? throw new ArgumentNullException(nameof(articles));
        Sources = sources ?? throw new ArgumentNullException(nameof(sources));
    }

Inside the Get on my Controller I have:
            var result = await ControllerRepository.GetArticleBankAsync(articleBankdID);

            if (result == null)
            {
                return NotFound();
            }

            return Ok(Mapper.Map<ArticleBankDTO>(result));

I look at my API.XML file generated for the ArticleBankDTO and it is:

In the Swagger.JSON it is reflected as:

And my Swagger UI is:

I have cleaned the solution and rebuilt the solution and the changes do not make it through to the SWagger.JSON. I am using Visual Studio 2019 Community Edition.
In my startup.cs I have in ConfigureServices:
        services.AddSwaggerGen(setupAction =>
        {
            setupAction.SwaggerDoc(
                $"JobAssistOpenAPISpecification",
                new Microsoft.OpenApi.Models.OpenApiInfo()
                {
                    Title = "ArticleBank API",
                    Version = "1",
                    Description = "Through this API you can access ArticleBank.",
                });

            var xmlCommentsFile = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml";
            var xmlCommentsFullPath = Path.Combine(AppContext.BaseDirectory, xmlCommentsFile);

            setupAction.IncludeXmlComments(xmlCommentsFullPath);
        });

I have modified the comments in my DTO class and it makes it all the way through to the Swagger.JSON.

Please create a minimal app (i.e. starting from empty project) that repro's your issue and post to github so I can pull down and troubleshoot

Please create a minimal app (i.e. starting from empty project) that repro's your issue and post to github so I can pull down and troubleshoot

Closing due to inactivity

@mlenart1010 Did you manage to resolve the issue?
I saw that you set version="1" instead of "v1". AFAIK the code should be
new Microsoft.OpenApi.Models.OpenApiInfo()
                {
                    Title = "ArticleBank API",
                    Version = "v1",
                    Description = "Through this API you can access ArticleBank.",
                });


passport.authenticate not calling next middleware when authentication fails

I have no login page but rather login appears on every page. I want to redirect user back to the same page they were on regardless of whether authentication was successful (with appropriate flash messages)
Take the following code:
app.post('/login', validateLogin, passport.authenticate('local-login'), function(req, res) {

    var redirectUrl = '/';

    if(req.body.to.length > 0){
    	redirectUrl = req.body.to;
    }

    console.log("JUST BEFORE REDIRECT");
    res.redirect(redirectUrl);
});

I only see the final middleware above being called if authentication is passed. If it fails then passport appears to be redirecting me to /login in the form of a get request. In my app this page doesn't exist.
If I pass an additional options object as a parameter in the passport authenticate function then this works:
app.post('/login', validateLogin, passport.authenticate('local-login', {

successRedirect : '/', // redirect to the secure profile section
	failureRedirect : '/signup', // redirect back to the signup page if there is an error
	failureFlash : true, // allow flash messages

}

));

But in doing this I lose the ability to choose where to redirect the user to. It seems that passport takes control over where the user is redirected to if authentication fails. How can I fix this? Or is it a bug? Must passport authenticate be the last middleware in the chain if authentication fails?

Try using the failWithError option. It's not documented, but you can see an example in #458. Close this issue if this solves your problem.


Support for Kernel build with vexriscv-smp.

Summary
Currently WIP: Add support for the risc-v Litex port for targeting the vexriscv_smp core. Uses the work implemented in #8643, referencing #8602. I'm using the qemu-rv port as inspiration for how everything should be put together, but I'd greatly appreciate feedback on if I'm heading in the correct direction.
Obviously, it's a WIP. The build for the non-smp core is broken, and there's a bit hacking here and there. I'm just trying to get something working first.
Impact
On completion, the additions should enable:

Still use the current vexrisc core for 'flat builds'
Use the vexriscv_smp core for a kernel build, build applications against this configuration into a romfs, a run from userspace.

Here's what I have working:

Build the kernel.
Build the applications with the exported build, load them into a ramdisk, mount this during the kernel bringup, and launch a application (hello world).
MMU.

Here's what's currently not working, or implemented:

I can't seem to set the compare register for m-timer. As a workaround, I'm using the peripheral timer, timer0.
I haven't turned on the MMU.
Interrupts with the PLIC are not reliable. I've had to juggle the the isr dispatch to read the LITEX_PLIC_CLAIM register and then offset it. But I'm not sure if this is correct.
I'm finding that there are quite a few not implemented instructions in arch_elf.c. I'm adding them in as I come accross them. So far it's enough to get the hello_world example up and running.
I'm not certain UART interrupts are working, again back the the PLIC implementation.
litex_head.S - Seems to be enough to get things running. But there could be something missing here which is stopping the PLIC from working as expected.
The VPage addresses and ranges I've setup seem to be OK, but I'm not sure if I'm going to run into issues down the line.

Testing
There's currently quite a large set of external tools used for testing. If someone would like to run this locally, I can provide a rundown on request.

qemu for whatever reason allows/handles the access from S -> M mode, maybe @masayuki2009 can explain how that >actually works. I think there is something in the command line options that allows this.

In qemu-rv implementation with BUILD_KERNEL, we call up_mtimer_initialize() before transiting to S-mode.
In addition, I added qemu_rv_exception_m.S to handle qemu_rv_mtimer_interrupt() which sends an S-mode software interrupt. In qemu_rv_ssoft_interupt(), it calls nxsched_process_timer()` if g_stimer_pending is true.
As you can see in the qemu_rv_ssoft_interupt(), it also needs to handle IPI (Inter-Processor Interrupt) for SMP which we assume to use ACLINT instead of CLINT. Because ACLINT can send IPI in S-mode directly.
https://github.com/riscv/riscv-aclint/blob/main/riscv-aclint.adoc

In qemu-rv implementation with BUILD_KERNEL, we call up_mtimer_initialize() before transiting to S-mode. In addition, I added qemu_rv_exception_m.S to handle qemu_rv_mtimer_interrupt() which sends an S-mode software interrupt. In qemu_rv_ssoft_interupt(), it calls nxsched_process_timer()` if g_stimer_pending is true.
As you can see in the qemu_rv_ssoft_interupt(), it also needs to handle IPI (Inter-Processor Interrupt) for SMP which we assume to use ACLINT instead of CLINT. Because ACLINT can send IPI in S-mode directly.
https://github.com/riscv/riscv-aclint/blob/main/riscv-aclint.adoc

Thanks for the detail - this explains the differences we've been observing between Vexriscv and qemu. We are still learning how this works and appreciate the information.

stripped down SBI for NuttX

This sounds very interesting: integrating with the build system is nice and clean and interesting for us. If you are open to sharing this we are definitely interested. Ultimately our focus is just to get this working, so if we can leverage your experience and existing work that would be greatly appreciated.

Sure I can provide what I have. I use the stripped version for debugging myself so it has been "somewhat" maintained. There are some issues that need to be fixed though, especially support for SMP mode needs patching. I will not be implementing any of this myself so if you decide to use it it is up to you to maintain.
Keep in mind, that it is a VERY STRIPPED down version. The SBI host has many responsibilities like resolving and emulating instructions that are not implemented into the CPU itself, and this stripped version does none of that. I still STRONGLY suggest using OpenSBI (or something similar) as it is a complete implementation, unless you are 100% sure you wont need its wide feature set.

@pussuw Thanks for the feedback and your port on nuttSBI. Admittedly, I had underestimated exactly what was required to get things working correctly.
I ended up finding and using the Litex port of openSBI, which is the same used in the Linux on Litex Vexriscv project.
Currently, the port works, however I still need to integrate openSBI into the build system. There's a few ways I could do this:

Add it into the current Make.defs under arch/risc-v/src/opensbi. Keeping in mind that it would be pointing to a different repository.
Add something similar as (1) in arch/risc-v/src/litex.
Add instructions on where it it, and how to build it. Let the end-user go through this process.

The openSBI binary is currently loaded to gateware separately from the kernel, so I'm in favour of (3). However, I've can understand the desire to manage the build process as part of Nuttx. In that case, should the built openSBI binary just be placed in the root nuttx directory, along with the kernel?

@acassis I'll be happy to move the documentation over, once this PR is getting close to completion.

In regards to the elf address locations. I still have two which I have stubbed out, like this:
diff --git a/libs/libc/machine/risc-v/arch_elf.c b/libs/libc/machine/risc-v/arch_elf.c
index 9efa483722..cc5c5579c3 100644
--- a/libs/libc/machine/risc-v/arch_elf.c
+++ b/libs/libc/machine/risc-v/arch_elf.c
@@ -413,7 +413,7 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym,
           offset = (long)sym->st_value + (long)rel->r_addend - (long)addr;
           uint32_t val = _get_val((uint16_t *)addr) & 0xfffff000;

-          ASSERT(offset && val);
+          // ASSERT(offset && val);

           /* NOTE: we assume that a compiler adds an immediate value */

@@ -584,6 +584,10 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym,
           *(uint16_t *)addr = (uint16_t)(sym->st_value + rel->r_addend);
         }
         break;
+      case R_RISCV_GOT_HI20:
+        {
+        }
+        break;
       default:
         berr("ERROR: Unsupported relocation: %ld\n",
              ARCH_ELF_RELTYPE(rel->r_info));

This currently 'works', at least I can load and run the applications I'm building. Although, it's not an ideal solution. Previously I've been using this documentation, but I'm unsure of the correct way to implement R_RISCV_GOT_HI20. Perhaps someone could provide some guidance?

This currently 'works', at least I can load and run the applications I'm building. Although, it's not an ideal solution. Previously I've been using this documentation, but I'm unsure of the correct way to implement R_RISCV_GOT_HI20. Perhaps someone could provide some guidance?

I've resolved this issue by building our toolchain with newlib. The relocation involving the GOT table were resulting from musl. See  #8886.


Add a webhook for Travis CI

Doesn't work since Travis and Discord don't use a compatible format. There are various workarounds on Google but a lot of them seem to be downloading a script and executing it, which I thought – "maybe not" to (at least for now).


Rails credentials support

Adds support for optionally setting the OpenAI access token through your Rails credentials file, instead of OPENAI_ACCESS_TOKEN environment variable.

That would be great!


How to contact you?

I'm one of a few admins running the RTX Remix Discord server, and I'd like to PM you regarding dxwrapper and your work on it. If you could please provide a method to do so, that'd be great 🙂. Thank you

I am not on Discord.  But you can email me if you like.  I can give you my email address.

That would be great :)

My email address is<EMAIL_ADDRESS>

Added my email to the last (deleted) post.  Let me know if you did not get it.

I got it, thank you. I'll be sending an email relatively soon


Fixed #32653 -- Made quoting names in the Oracle backend consistent with db_table.

ticket-32653

buildbot, test on oracle.

@carltongibson Thanks for checking :+1:


LUIS bot not working on Azure Portal Web Chat or iframe

Describe the bug
After deploying ToDoBotWithLuis I cannot test it in Azure Portal Web Chat or iframe in web page.
Version

Version:  1.1.1
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[x] macOS
[ ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Create a new bot
Choose Todo with LUIS template
Start bot locally, enter the LUIS authoringKey and select westeurope region
Open Bot Framework Emulator - IT WORKS, the bot shows "Hi, how can I help today?" response + buttons
Navigate to "Publish" page and publish the bot
Open Azure portal and navigate to the target Bot Service
Open "Test in Web Chat" page
No response from the bot
Type "help" - No response from the bot

Expected behavior

I expect to see "Hi, how can I help today?" response. The bot isn't working.
Screenshots

Additional context

Opening browser console inside Azure Portal Test Chat I notice several errors.
One of them is a failed network request to https://webchat.botframework.com/v3/directline/conversations/any-string/activities
Response body:
{
  "error": {
    "code": "BotError",
    "message": "Failed to send activity: bot returned an error"
  },
  "httpStatusCode": 401
}

I experience the same issue when I try to embed the bot as an iframe in an HTML page

Hi @leopuleo 401 errors typically (not always) means some sort of misconfiguration with the appId and/or appPassword. Did you configure these values in the Composer settings? Or just in the publishing profile? Additionally, are they configured in the Web App/App Service's. If you can check all three, that would be a good start.

Also; are you publishing to an existing resource or a new one?

I am closing this issue as it doesn't seem to be a blocking issue. Feel free to reopen or comment, if you still need to get this resolved.


Rename SECURITY.md to SECURITY.mdd

SECURITY.md is a markdown file, hence it has a .md file extension. I don't know what the .mdd extension is for, and I don't think this file needs it. I'll close the PR for now. Feel free to comment and explain your reasons for changing the file extension.


SAK-34106 - In resources, warning message shows as success

This would be the change
Before:

After:

LGTM, thanks, @adrianmticarum

@adrianmticarum Thank you so much for your contribution.
Would you mind to sign an ICLA and submit it to<EMAIL_ADDRESS>?
More info at:
https://www.apereo.org/licensing/agreements
https://www.apereo.org/licensing/agreements/icla

@mpellicer I have already signed the ICLA in the online form available at this link: https://www.apereo.org/licensing/agreements

Perfect, thank you so much.


unusual console messages when first loading a web page with webworkers only configured in Program.cs

Describe the bug
Blazor WASM resources appear as if loaded multiple times, as shown in the browser console, it previously only appears once:
dotnet Loaded 17.94 MB resourcesThis application was built with linking (tree shaking) disabled. Published applications will be significantly smaller if you install wasm-tools workload. See also https://aka.ms/dotnet-wasm-features

Also, the current error appears when the page is first loaded, also twice:
blazor.webassembly.js:1  Error: One or more errors occurred. (Could not find 'synchronizeDbWithCache' ('synchronizeDbWithCache' was undefined).
Error: Could not find 'synchronizeDbWithCache' ('synchronizeDbWithCache' was undefined).
    at http://localhost/_framework/blazor.webassembly.js:1:368
    at Array.forEach (<anonymous>)
    at l.findFunction (http://localhost/_framework/blazor.webassembly.js:1:336)
    at w (http://localhost/_framework/blazor.webassembly.js:1:5079)
    at http://localhost/_framework/blazor.webassembly.js:1:2872
    at new Promise (<anonymous>)
    at b.beginInvokeJSFromDotNet (http://localhost/_framework/blazor.webassembly.js:1:2835)
    at Object.vn [as invokeJSJson] (http://localhost/_framework/blazor.webassembly.js:1:58849)
    at http://localhost/_framework/dotnet.runtime.8.0.5.gongq8hbow.js:3:178364
    at Tl (http://localhost/_framework/dotnet.runtime.8.0.5.gongq8hbow.js:3:179198))
    at Jn (http://localhost/_framework/dotnet.runtime.8.0.5.gongq8hbow.js:3:31614)
    at Tl (http://localhost/_framework/dotnet.runtime.8.0.5.gongq8hbow.js:3:182415)
    at do_icall (wasm://wasm/03f7fb96:wasm-function[2658]:0xd6e5a)
    at do_icall_wrapper (wasm://wasm/03f7fb96:wasm-function[2543]:0xd1dce)
    at mono_interp_exec_method (wasm://wasm/03f7fb96:wasm-function[2536]:0xc3cfc)
    at interp_entry (wasm://wasm/03f7fb96:wasm-function[2612]:0xd51f2)
    at interp_entry_static_0 (wasm://wasm/03f7fb96:wasm-function[2634]:0xd5cb6)
    at wasm_native_to_interp_System_Private_CoreLib_ThreadPool_BackgroundJobHandler (wasm://wasm/03f7fb96:wasm-function[16013]:0x35ed45)
    at mono_background_exec (wasm://wasm/03f7fb96:wasm-function[3547]:0x1074b9)
    at e.<computed> (http://localhost/_framework/dotnet.runtime.8.0.5.gongq8hbow.js:3:215551)

Other than those messages, the page actually loads and functions as normal.
To Reproduce

Started with a Blazor .Net 7 (WASM+ASP.NET Core) hosted app.
Upgraded app to .Net 8.
Followed the steps in README.md to add SpawnDev.BlazorJS.WebWorkers in program.cs

Expected behavior

No duplicate information messages.
No error messages.

Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser: MS Edge
Version: MS Edge 124.0.2478.97 (Official build) (64-bit)

The same error ('synchronizeDbWithCache' was undefined) appears and looks like the code just quits at line:
var webWorker = await _webWorkerService.GetWebWorker();
No exception message or anything.
public async Task<List<object>> GetToListAsync(Type entityType, CancellationToken cancellationToken = default, bool doSync = true)
{
    if (doSync)
    {
        //_listenerService.TriggerSyncStart(entityType);
        //await _syncService.SyncRemoteWithLocal(entityType, cancellationToken);
        Console.WriteLine("Getting ISyncService from _webWorkerService.TaskPool.GetService<ISyncService>()");
        var webWorker = await _webWorkerService.GetWebWorker();
        Console.WriteLine($"Got WebWorker instance Id {webWorker?.LocalInfo.InstanceId}");
        var service = webWorker.GetService<ISyncService>();
        Console.WriteLine($"Got ISyncService from _webWorkerService.TaskPool.GetService<ISyncService>() instance Id {_webWorkerService.InstanceId}");
        await service.SyncRemoteWithLocal(entityType, cancellationToken);
        Console.WriteLine("Finished SyncRemoteWithLocal using _webWorkerService.TaskPool.GetService<ISyncService>()");
    }
    return await _unitOfWork.GetListAsync(entityType,cancellationToken);
}

I'm likely missing something but can't figure it out!

Please include the contents of the Program.cs and *.csproj. from the Blazor WASM project that is having the issue.
None of those errors mention anything related to SpawnDev.BlazorJS.WebWorkers. It is possible the issue is related to (possibly a conflict with) something else you are using.

Expected behavior

No duplicate information messages.

You are using the package SpawnDev.BlazorJS.WebWorkers which uses Workers for multi-threading. When a new worker starts up, it is starting your Blazor WASM app in a worker, which outputs to the console of your Window scope. You are seeing those workers starting up.

Searching the entire solution for synchronizeDbWithCache returned no results.
Maybe the besql library is not happy to start in a web worker mode.
I also tried updating to the latest Nuget package 2.2.98.
This is my .sln and files from Visual Studio, the main configuration runs with a docker-compose project so it may be a hassle to run unless you already develop on docker.
 Be sure you understand the caveats before publishing an application with
// offline support. See https://aka.ms/blazor-offline-considerations

self.importScripts('./service-worker-assets.js');
self.addEventListener('install', event => event.waitUntil(onInstall(event)));
self.addEventListener('activate', event => event.waitUntil(onActivate(event)));
self.addEventListener('fetch', event => event.respondWith(onFetch(event)));

const cacheNamePrefix = 'offline-cache-';
const cacheName = `${cacheNamePrefix}${self.assetsManifest.version}`;
const offlineAssetsInclude = [ /\.dll$/, /\.pdb$/, /\.wasm/, /\.html/, /\.js$/, /\.json$/, /\.css$/, /\.woff$/, /\.png$/, /\.jpe?g$/, /\.gif$/, /\.ico$/, /\.blat$/, /\.dat$/ ];
const offlineAssetsExclude = [ /^service-worker\.js$/ ];

async function onInstall(event) {
    console.info('Service worker: Install');

    // Fetch and cache all matching items from the assets manifest
    const assetsRequests = self.assetsManifest.assets
        .filter(asset => offlineAssetsInclude.some(pattern => pattern.test(asset.url)))
        .filter(asset => !offlineAssetsExclude.some(pattern => pattern.test(asset.url)))
        .map(asset => new Request(asset.url, { integrity: asset.hash, cache: 'no-cache' }));
    await caches.open(cacheName).then(cache => cache.addAll(assetsRequests));
}

async function onActivate(event) {
    console.info('Service worker: Activate');

    // Delete unused caches
    const cacheKeys = await caches.keys();
    await Promise.all(cacheKeys
        .filter(key => key.startsWith(cacheNamePrefix) && key !== cacheName)
        .map(key => caches.delete(key)));
}

async function onFetch(event) {
    let cachedResponse = null;
    if (event.request.method === 'GET') {
        // For all navigation requests, try to serve index.html from cache
        // If you need some URLs to be server-rendered, edit the following check to exclude those URLs
        const shouldServeIndexHtml = event.request.mode === 'navigate';

        const request = shouldServeIndexHtml ? 'index.html' : event.request;
        const cache = await caches.open(cacheName);
        cachedResponse = await cache.match(request);
    }

    return cachedResponse || fetch(event.request);
}

Maybe the besql library is not happy to start in a web worker mode.

That is probably very close to true. Its Javascript script was not being loaded at all in your workers. Loading scripts from your index.html into web workers is opt in, in part, due to the likeliness of compatibility issues with most scripts.
Javascript dependencies in WebWorkers

Minor change to your index.html to enable the Besql script in web workers. You may need to enable other scripts as needed.
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>RihalDotnetTemplateWasm</title>
    <base href="/" />
    <link href="css/app.css" rel="stylesheet" />
    <link rel="icon" type="image/png" href="favicon.png" />
    <link href="RihalDotnetTemplateWasm.Client.styles.css" rel="stylesheet" />
    <link href="manifest.json" rel="manifest" />
    <link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
    <link rel="apple-touch-icon" sizes="192x192" href="icon-192.png" />

    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
    <link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
    <link href="_content/Z.Blazor.Diagrams/style.min.css" rel="stylesheet" />
    <link href="_content/Z.Blazor.Diagrams/default.styles.min.css" rel="stylesheet" />

        <svg class="loading-progress">
            <circle r="40%" cx="50%" cy="50%" />
            <circle r="40%" cx="50%" cy="50%" />
        </svg>

        An unhandled error has occurred.
        Reload
        🗙

While looking at your Program.cs I saw the below line which I believe is unnecessary, and may cause other issues.
builder.Services.RegisterServiceWorker<SyncServiceWorker>();

That line registers a copy of your Blazor app to run as the service worker with an instance of SyncServiceWorker that will handle service worker events, but the rest of your setup conflicts with that setup. However, it looks like you want a Javascript ServiceWorker (which you provided code for above) instead. If that is the case you should remove the line above from your Program.cs.

This magical line webworker-enabled solved the main issue. The db error no long appears when first loading the page. Now I'm getting stackoverflow exception when syncing the data but that's probably something else.
I completely missed the JavaScript dependencies section.
As for the Service Worker that was an experiment when I failed to get Web Workers running. I'll remove it.
I'll investigate the cause of the new error and submit a fresh issue if it's relevant. Many thanks for your help!