jdbc:sqlite Intellij

Evening,
I have scoured Stackoverflow and Oracle for the last two weeks but I cannot find solution and would really appreciate some help. This is the code I have so far (there is a copy on my repositorys called modus:
    public static void Connection() {

        final String connectionUrl = Password.getURL();

        try {

//            Class.forName("org.sqlite.JDBC");
            Connection con = DriverManager.getConnection(connectionUrl);
            System.out.println("Connected");
            //while(returnStatement.next()) {
            //System.out.println("rs.getString");
            //}

            } catch (SQLException e) {
            e.printStackTrace();
//        } catch (ClassNotFoundException e) {
//            e.printStackTrace();
//        }
    }

The password file has the following:
    private static final String TABLE = "modus.db";
    private static final String URL = "jdbc:sqlite:D:\\Users\\Duncan Skilton\\IdeaProject\\modus\\src\\model\\" + TABLE;

This is the error:
java.sql.SQLException: No suitable driver found for jdbc:sqlite:D:/Users/Duncan Skilton/IdeaProject/modus/src/model/modus.db
	at java.sql.DriverManager.getConnection(DriverManager.java:689)
	at java.sql.DriverManager.getConnection(DriverManager.java:270)
	at controller.databaseConnect.Connection(databaseConnect.java:16)
	at sample.Main.main(Main.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
	at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)

Were you able to find a solution?

The problem is not very clear to me. Also, is this still happening on the latest version?

Closing this as no feedback was received.


Offering unit testing help

After #20 is complete, I'd be interested in helping to write some unit tests. Would @joeldenning be able to write some expectations here so that I can fill out the setups?
The following are just ideas. I'm open to however you want to help me to help you guys add test coverage. Since you @frehner and @joeldenning have been so kind, I'd really like to find a way to repay that kindness and to give back to the single-spa community. :)
In other words, if I was provided information I would be able to write the test code:

Given the following setup (i.e. Arrange)
Under this action (i.e. Act)
I expect this (i.e. Assert)

And example might be:

Given a malformed import map
That a user tries to patch
I expect a 400 error with a message of "The import map was malformed"

Hey @dgreene1, sure that would be awesome. Lack of tests are a big thing holding back this project - there are a lot of organizations that use the latest docker image, but we don't have any confidence when merging that our changes don't break anything.
I think a few e2e tests would be the most useful place to start. Ones that boot up the web server and make network requests to it, verifying correct behavior. The web server defaults to using the file system as an IO method, and I think that fits the test. One challenge is ensuring that the test order execution doesn't matter - if there's only one import map on the file system, there's no way currently to reset it at the beginning of each test so that each test is starting from a clean slate. So that might be something to add.
As you dive into the code, I think you'll notice that it's sorta old and was originally written by a python developer with less experience in javascript. There are places where the code is a bit weird, but it gets the job done.
Here are a few test cases:

"Given a brand new import map, I can retrieve the empty map, update it via PATCH /services, and retrieve it after the update, verifying that the updated map has my newly changed module in it"
"Given a brand new import map, I can update it via PATCH /import-map.json, and retrieve it after the update. I expect the updated map to have all of my changes to the imports merged into it, but older modules to still exist if they were omitted in the PATCH"
"I can retrieve all environments, depending on my config file"

Once we have tests we also would want to run them in a CI process during every pull request. Travis CI, Circle CI, or Github Actions all work, and I'm happy to help get those set up by granting any permissions to them that they need to run in this project.

You can look at https://github.com/single-spa/import-map-deployer/pull/20 for reference, although I don't think I'd start on that branch since it's really old and has some issues. There used to be tests for this project a few years ago and that PR was an attempt to revive them. However, I think it would be better just to start from scratch - those tests are sorta nasty and test things from back when this project was called sofe-deplanifester and dealt with sofe manifests instead of import maps.


Compiling from source, ./configure, issue finding cudnn

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 1.3
Python version: 2.7
Bazel version (if compiling from source): 0.7.0
CUDA/cuDNN version: 7
GPU model and memory: Nvidia 1070 8GB
Exact command to reproduce: On ./configure

When following the building from source installation instructions, the first step involves running a ./configure.
During this script, you are prompted for the versions and locations of features you want support for in the build.
When getting down to the CUDA SKD version, you will get something like:
Please specify the CUDA SDK version you want to use, e.g. 7.0. [Leave empty to default to CUDA 8.0]: 9.0
I'm using 9.0...
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 6.0]: 7.0
I'm using 7.0...
However, if you type 7.0, you get the following:
Invalid path to cuDNN  toolkit. Neither of the following two files can be found:
/usr/local/cuda-9.0/lib64/libcudnn.so.7.0
/usr/local/cuda-9.0/libcudnn.so.7.0
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.0
But if you answer the following as:
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 6.0]: 7
It works.
The actual name is libcudnn.so.7, can can't find libcudnn.so.7.0. Otherwise it won't find it, and it looks like you have installed incorrectly.
Can we get a fix for this?

Yes, you have to use the name of the actual library that is installed.
Because the naming scheme is not very predictable and varies between platforms, we cannot really guess without risking bad side effects.


Cannot recognize 511

Kept recognizing 511 artifacts as 51 artifacts, so it would only scan 51 of my artifacts. Scan proceeded when I acquired 3 more artifacts. TYSM!

The scanner has trouble with repeat digits next to each other. As you found, managing the number of artifacts in your inventory is a good workaround. We're working on this issue but it's not a priority at the moment.

Duplicate of #48


Update modelCompiler

This changeset updates the modelCompiler to the latest available version. Additionally, the fresh config contents were pulled.
Gradle is also updated to the latest 7.5 release.

@dmdashenkov PTAL.


lsp_rename throws attemp to call a nil value

Describe the bug
When trying to do a lsp_rename, there is an error thrown for attempt to call a nil value.

Steps to reproduce

Put the cursor on a variable or a method
Type command :Lspsaga lsp_rename

Expected behavior
Should rename with no errors
Neovim version (nvim -v)
0.9.1
lspsaga commit
01f6117e535a1aa783b6d95c18628da4960df519
Terminal name/version
warp/v0.2<IP_ADDRESS>.03.stable_02

there is no lsp_rename just rename

I see. Thanks @glepnir !
Would you mind changing on the docs then ?

As it is misleading when looking for a setup.

thanks for catch it out. fixed.


Support 7.7 May 2023 release

Problem description
Support 7.7 May 2023 release
Feature request
Support 7.7 May 2023 release

Is this broken on 20230530 or will the existing version work?  I haven't tested it, but we may need to upgrade soon.

Hi @jschutte27,
The existing version won't work.


Add member reference support to Java indexer. [phab:D696]

Created by mazurak at 2016-02-06 02:34:22:
Make the Java indexer handle member references, and add tests that they're handled properly. Because constructor references are written "Type::new" (even while the internal name for a constructor is always ""), I added fake names for "new"s; there might be a better way to do this, but this was a straightforward one.

schroederc required changes at 2016-02-08 19:00:01

schroederc wrote at 2016-02-08 19:00:02:
Please add the following to RELEASES.md:
Notable additions:
 - Java indexer: add Java 8 member reference support

mazurak wrote at 2016-02-08 23:15:42:
Add note to RELEASES.md.

mazurak wrote at 2016-02-09 01:05:06:
Correct Git error.

schroederc accepted this revision at 2016-02-09 16:20:29

mazurak closed via commit e2328464cd0123f9c13261d8f818e5d729ad14b3 at 2016-02-10 00:52:23


[SourceKit] Verify the stdlib is loaded before creating an AST

We have seen a couple of crashes that look like they are being caused by sourcekitd being unable to load the Swift stdlib. Emit a proper error message explaining the issue instead of crashing.
This change assumes that all sourcekitd requests that create an AST require the stdlib. IMHO this is a reasonable assumption.
Fixes rdar://75740572 by catching the crash in the new check.

@swift-ci Please test


Make ContractInfoResponse.checksum non-optional

This requires a breaking change of ContractInfoResponse::new

ContractInfoResponse does not have a checksum and it is unclear of we ever need this.
What we really need for Instantiate2 is: query the checksum of a code given a code ID


Typescript Language Mode (5.5.4) hangs

Type: Bug
When working with a large Angular 18.2.1 project, Copilot Chat is causing the TypeScript Language Mode to hang. The status bar shows a refresh spinner spinning indefinitely next to 'TypeScript 5.5.4'. Using Extension Bisect in vscode narrowed it down to the Copilot Chat extension.
I'll look for filters or exclusion options in Copilot Chat settings as I am sure the project is simply too large for Copilot to fully reference. A nice to have option would be a right-click on file/folder -> Copilot -> include/exclude from Copilot.

Yes, disabling it does fix the issue in our Angular project, even without restarting VS Code. I wouldn't have guessed it was chat, but when using the 'Help: Start Extension Bisect' feature of VS Code, it narrowed it down to chat. When Bisect disabled chat the TypeScript service started working again within a few seconds. The only other thing I've noticed that slows down the TypeScript service is when enabling 'Settings >TypeScript > References Code Lens', but that feature never completely hangs the service.
To give you an idea, our project is up to 150 Angular components. The issue could be a combination of many factors. The issue occurs in VS Code Insiders Edition as well. We have no issues in our .NET and Python projects, which are considerably smaller.

Thanks. Can you also check if this only happens if you start a chat? For example, try clearing the current chat and then reloading VS Code. Interested to know if the problem also happens in that case

I didn't think about starting a new chat. :/
After starting a new chat, another error that I have been getting popped up stating "The JS/TS language service crashed 5 times in the last 5 minutes". However, after that message cleared the TypeScript service stopped refreshing and properly showed the version the project is using. Everything has been working fine for about 5 hours. I have not used the new chat session yet. I'll hold off from using it for the rest of the week to see if the problem returns with an unused chat session. I'll update this issue with my findings.

No TypeScript hangs for two days with an empty chat in the side bar. I'll start chatting a lot with it next week.

No issues last week. Starting a new chat seems to have resolved the issue. I'll use @workspace heavily and call it fixed after a couple more days.

Thanks for checking. Tentatively closing but let me know if this comes back


Doc is not available in site http://facebook.github.io/react-native (Props , Styles)

documentation is not available in (Props , Styles) in COMPONENTS when I click on link redirect to home  site ex:
When touch in component TextInput Text#style redirect automatically to home site.

React-native  doc version 0.20

cc @bestander

Thanks, will fix in a couple of hours
On Wednesday, 17 February 2016, Satyajit Sahoo<EMAIL_ADDRESS>wrote:

cc @bestander https://github.com/bestander
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/5964#issuecomment-185024938
.

it's solved for TextInput but i test with the Text Component and redirect to home when clic on the link View#Style...

Yeah, thanks, already making another patch
On Wednesday, 17 February 2016, Julio Seña<EMAIL_ADDRESS>wrote:

it's solved for TextInput but i test with the Text
https://facebook.github.io/react-native/docs/text.html#style Component
and redirect to home when clic on the link View#Style...
https://facebook.github.io/react-native/view.html#style @bestander
https://github.com/bestander
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/5964#issuecomment-185210011
.

fixed now


Available Builds and Engagements Email Address

In the "Getting access to the available builds and engagements," section, it states, "your... global administrator should send us an email to complete the on-boarding," but no email address is listed.

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

ID: f11a3974-3f3b-33b3-5a55-f0fa5c6d558f
Version Independent ID: b5fd581c-4f43-24cc-8821-2a8fc5f0a647
Content: Add-On Apps - Getting You Started - Business Central
Content Source: dev-itpro/developer/readiness/readiness-add-on-apps-getting-you-started.md
Service: dynamics365-business-central
GitHub Login: @v-liober
Microsoft Alias: v-liober

I have updated that information. Thank you. It should reflect on the next pull on Monday, June 3rd.
Lisa Oberg
Program Manager | Dynamics 365 Business Central | v-liober<EMAIL_ADDRESS>[cid:image003.png@01D4B8B7.E52D1550]@MSDyn365BChttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FMSDYN365BC&data=02|01|v-liober%40microsoft.com|1411f11b8dfa40c9ff6e08d68819bb6c|72f988bf86f141af91ab2d7cd011db47|1|0|636846074896650099&sdata=S%2B20ZOJrLkh7TK5Ot04MkFW%2Fi2BRWvYhxEQBwRL9nLY%3D&reserved=0 #MSDyn365BChttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fsearch%3Ff%3Dtweets%26vertical%3Ddefault%26q%3D%2523MSDyn365BC%26src%3Dtyah&data=02|01|v-liober%40microsoft.com|1411f11b8dfa40c9ff6e08d68819bb6c|72f988bf86f141af91ab2d7cd011db47|1|0|636846074896660093&sdata=rQdqHTjYvWtZkjfrl%2BufcEOI1oSZrWgYVYPJC2saSF8%3D&reserved=0
[Microsoft Logo]
From: spiritsip<EMAIL_ADDRESS>Sent: Wednesday, May 29, 2019 10:20 AM
To: MicrosoftDocs/dynamics365smb-devitpro-pb<EMAIL_ADDRESS>Cc: Lisa Oberg (Populus Group, LLC<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [MicrosoftDocs/dynamics365smb-devitpro-pb] Available Builds and Engagements Email Address (#592)
In the "Getting access to the available builds and engagements," section, it states, "your... global administrator should send us an email to complete the on-boarding," but no email address is listed.

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

ID: f11a3974-3f3b-33b3-5a55-f0fa5c6d558f
Version Independent ID: b5fd581c-4f43-24cc-8821-2a8fc5f0a647
Content: Add-On Apps - Getting You Started - Business Centralhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdynamics365%2Fbusiness-central%2Fdev-itpro%2Fdeveloper%2Freadiness%2Freadiness-add-on-apps-getting-you-started%23register-on-collaborate&data=02|01|v-liober%40microsoft.com|c8bd92789f274561e1a808d6e44911a0|72f988bf86f141af91ab2d7cd011db47|1|0|636947399814735823&sdata=pf%2BwaZSBVC9eRtGOMv4rEtv70ecdOulxefFcSc5Snck%3D&reserved=0
Content Source: dev-itpro/developer/readiness/readiness-add-on-apps-getting-you-started.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics365smb-devitpro-pb%2Fblob%2Flive%2Fdev-itpro%2Fdeveloper%2Freadiness%2Freadiness-add-on-apps-getting-you-started.md&data=02|01|v-liober%40microsoft.com|c8bd92789f274561e1a808d6e44911a0|72f988bf86f141af91ab2d7cd011db47|1|0|636947399814745819&sdata=NpIm39%2F8N77MR5ZkPP2lscuvOKAqSg0W5A4y%2FwWNQvQ%3D&reserved=0
Service: dynamics365-business-central
GitHub Login: @v-lioberhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv-liober&data=02|01|v-liober%40microsoft.com|c8bd92789f274561e1a808d6e44911a0|72f988bf86f141af91ab2d7cd011db47|1|0|636947399814745819&sdata=VLPI1I%2FKa95g6iLRUf8WScd%2BRySFBhRvd3BH%2BI1TRMU%3D&reserved=0
Microsoft Alias: v-liober

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics365smb-devitpro-pb%2Fissues%2F592%3Femail_source%3Dnotifications%26email_token%3DALJ34DEFC24FYZOG4N76WNDPX2NIXA5CNFSM4HQN5CLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWQPWDA&data=02|01|v-liober%40microsoft.com|c8bd92789f274561e1a808d6e44911a0|72f988bf86f141af91ab2d7cd011db47|1|0|636947399814755814&sdata=9AySjlfctFMZivYhGIeqAuCvUvPo%2BxzwBqEriHUM6pk%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALJ34DHKQNB3Q6ZSSVVID5TPX2NIXANCNFSM4HQN5CLA&data=02|01|v-liober%40microsoft.com|c8bd92789f274561e1a808d6e44911a0|72f988bf86f141af91ab2d7cd011db47|1|0|636947399814755814&sdata=OZPqXEVHdoP7HMKJzBaHjmd2z4rPIvk7PKfevOncV%2Bo%3D&reserved=0.


[onnxruntime] Update to v1.17.0

Changes
Update to latest version with enhanced feature support
References

https://github.com/microsoft/onnxruntime/releases/tag/v1.17.0
https://github.com/microsoft/vcpkg/issues/36545

Triplet Support

x64-windows
x64-linux
x64-osx

Configuration
"vcpkg-configuration.json" changes for the release.
{
    "registries": [
        {
            "kind": "git",
            "repository": "https://github.com/luncliff/vcpkg-registry",
            "packages": [
                "onnxruntime"
            ],
            "baseline": "..."
        }
    ]
}

Great job!
Let's port this update and OpenVINO integration to upstream vcpkg, thanks!


Find some outliers

Maybe these will be things like black holes! @katiebreivik
One open question is how much can we learn from just a measurement of the semi-amplitude? Do we have some expectations for where on the CMD would be interesting to look and what the semi-amplitude range we would expect with a baseline of ~650 days? Is there anything we should do in advance or just wait until we have a large sample?

Woot! (copied this plot from #6 to discuss in this context)

OK so the reason I brought up expanding the axis limits on your plot is that I think we'll have better luck looking for compact objects around more massive primary stars - especially if we can get to 1–5 Msun. Obviously there are competing selection effects here: more massive stars live less time and are rarer, but they are brighter so in a mag-limited sample we should see them over a larger volume. Do you think we can push your CMD grid cells down to BP-RP ~ -0.25?

@adrn: there are ~5 sources with BP-RP<0 across all magnitudes in your sample of plx-cut Gaia targets with measured RV-errors:

so given that sample, I don't think that we could reliably do much of anything. Do you think it would be possible to expand some of the cuts to get a larger sample?

Ah you are plotting observed BP-RP right, not reddening-corrected?

That sounds like an astronomy question :D
It's just the bp_rp column.

Ah, ok. The massive/young stars will also be biased toward the galactic midplane, so extinction will be more important on the blue end. So, as with any project 😆, I'm confused about whether we should work in observed BP-RP or dust-corrected colors...On one hand, the dust correction is imperfect so there could be spurious features in the CMD in extinction-corrected magnitudes. OTOH, the dust-corrected colors will map more directly to physical parameters (effective temperature / stellar mass / whatever)...hmmm

haha - yeah! It's definitely not obvious.

Here are some hacky figures from the results of 100 simulated populations of BH + bright stars in the Galaxy. These have already fulfilled a set of cuts:

orbital period less than 10 yr (so maybe a bit long for the baseline)
orbital motion of bright star on the sky is at least as large as 3 times the Gaia single pointing position errors
5 < V_ext < 12 (I pulled this from the Gaia RV literature for good RV precision)

I only have G and B-V, both corrected or non-corrected for extinction. Any of the funky striping you see (especially in the non-extinction-corrected plots) is because we have the same binary at different distances, so the brightness changes but the color stays the same. First, G vs B-V with a colorbar showing the semi amplitude:

As @adrn predicted -- many of the systems are SUPER affected by the extinction, this is even more pronounced with more massive stars being younger/closer to the disk:

For the histogram you showed, this is out of the gold sample right? Wouldn't APOGEE just miss most of the massive stars while Gaia might not?
Maybe a good idea is to target systems for which we can guess a mass based on photometry but have semi amplitudes such that the companion is likely to be more massive based on assumptions for orbital period, inclination, and eccentricity?

Awesome - thanks @katiebreivik! Which histogram were you asking about? The ones that I made above are all for all Gaia sources with reported RV errors, >= 3 RVS transits, and some cut on parallax S/N (@adrn would need to tell us the details about that one) so APOGEE doesn't enter.

Maybe a good idea is to target systems for which we can guess a mass based on photometry but have semi amplitudes such that the companion is likely to be more massive based on assumptions for orbital period, inclination, and eccentricity?

I think that this sounds like an excellent plan. Hopefully I'll have some initial test cases next week that we can look at in more detail.
For my purposes, the main question that I need to answer right now is whether it makes more sense to estimate the measurement noise as a function dereddened color or not, but I'm going to open a separate issue about that.

Thanks for clarifying! I was thinking that we were still considering the cross-matched Gaia+gold sample catalog!

Following up on the idea of limiting the parameter space --here is a figure for the minimum semi amplitude of a dark stellar candidate, modulo a few assumptions, as a function of mass and as a function of color for a bright ZAMS star. (The color would definitely have to be corrected so #8 will be important!)

The assumptions are:

min K means max orbital period, so I've taken the 650 day baseline
the requirement for BH candidate is that the dark companion to the bright star has a mass that is the maximum of (5 Msun,  the bright star mass), where 5 Msun is a slam dunk minimum BH mass
average value of sin(i) gives i=0.7 rad
it is easier to observe circular orbits with RVs than eccentric orbits so I chose e=0

With this approach, we are totally insensitive to any BHs that are less massive than their bright star companion, so this will probably be most successful for ~1 Msun stars with large semi amplitudes.


Bower package

Any chance on registering this repo in bower?

+1

+1

:+1:

:+1:

:+1:

+1

+1

+1

+1
you can still add this git repository to bower (or any) by running bower install URI.
bower install https://github.com/cowboy/jquery-tiny-pubsub.git --save-dev


[BUG] Errors in github actions

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Github actions fails i.e. https://github.com/nvim-flutter/flutter-tools.nvim/actions/runs/11200029728
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +47b8c363c6bca75a16d9f233071596b19d30fb60:refs/remotes/pull/392/merge
  Error: fatal: could not read Username for 'https://github.com/': terminal prompts disabled

Expected Behavior
Actions should not fail because of permission errors.
This may be because of an expired PAT. I see I do not have permission to change secrets, I do not see the organization/repo setting tab. @akinsho, could you grant me permission to change secrets?
Steps To Reproduce
Create PR, check actions.
Environment
No response
Anything else?
No response

Hi @akinsho,
I’m trying to get the release GitHub Action working again, but I’m encountering the following error:
Error: release-please failed: GitHub Actions is not permitted to create or approve pull requests.

It seems that this issue is due to a required setting that needs to be enabled in the organization or repository settings:
"Allow GitHub Actions to create and approve pull requests."
Unfortunately, I don’t have access to the settings tab for either the nvim-flutter organization or this repository. Could you either enable this setting or grant me access to make the change myself?
Thanks!


make stream use int64_t instead of uint64_t

Updating BodyStream to use signed int for length

@vhvb1989 You also need to change the implementation of Response::ConstructBodyBufferFromStream https://github.com/Azure/azure-sdk-for-cpp/blob/2877c959e18a2b14f0f47a44ac10f56afc5ef7e9/sdk/core/azure-core/src/http/response.cpp#L55

@vhvb1989 Rebase your changes on top of latest master branch, the CI should be able to pass.

@vhvb1989 This PR is already included in PR https://github.com/Azure/azure-sdk-for-cpp/pull/236. Maybe you want to close this one?

already applied this changes on previous PR


Windows 10 install failure

Versions

Python: 3.8.1 installed for ALL USERS and appears to be running fine.
OS: Windows 10 Pro
Kivy: latest stable (python -m pip install kivy==1.11.1) per site instructions
Kivy installation method: cmd line (Admin)

Description
First ever install.
Can't even start learning Kivy - won't install.
I don't know where to locate log files.  I see nothing new in teh virtual environment where I ran the install from.
When run, the Uninstall command says there is nothing to uninstall...so confirmation that nothing installed.
Code and Logs
(truncated output below. There are more errors but the output is quite lengthy)
(kivy_venv) C:\Users\steve\Envs\kivy_venv>python -m pip install kivy==1.11.1
Collecting kivy==1.11.1
Downloading https://files.pythonhosted.org/packages/1b/4d/3f8a720f561dc1eabe036c0d87c6ce9d02823275391265538e606f45e37a/Kivy-1.11.1.tar.gz (23.6MB)
|████████████████████████████████| 23.6MB 6.8MB/s
Collecting Kivy-Garden>=0.1.4
Downloading https://files.pythonhosted.org/packages/7d/68/decaee596ff8168a39432eb3949fc7c0be952ebb9467806823bffc165d48/kivy-garden-0.1.4.tar.gz
Requirement already satisfied: docutils in c:\users\steve\envs\kivy_venv\lib\site-packages (from kivy==1.11.1) (0.15.2)
Requirement already satisfied: pygments in c:\users\steve\envs\kivy_venv\lib\site-packages (from kivy==1.11.1) (2.5.2)
Collecting requests
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
|████████████████████████████████| 61kB 990kB/s
Collecting certifi>=2017.4.17
Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB)
|████████████████████████████████| 163kB ...
Collecting idna<2.9,>=2.5
Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
|████████████████████████████████| 61kB 1.3MB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl (125kB)
|████████████████████████████████| 133kB 6.4MB/s
Collecting chardet<3.1.0,>=3.0.2
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
|████████████████████████████████| 143kB 6.8MB/s
Building wheels for collected packages: kivy, Kivy-Garden
Building wheel for kivy (setup.py) ... error
ERROR: Command errored out with exit status<PHONE_NUMBER>:
command: 'C:\Users\steve\Envs\kivy_venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\steve\AppData\Local\Temp\pip-install-_is3vi6m\kivy\setup.py'"'"'; file='"'"'C:\Users\steve\AppData\Local\Temp\pip-install-_is3vi6m\kivy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\steve\AppData\Local\Temp\pip-wheel-lme1c836' --python-tag cp38
cwd: C:\Users\steve\AppData\Local\Temp\pip-install-_is3vi6m\kivy
Complete output (531 lines):
Using setuptools
User distribution detected, avoid portable command.
Using this graphics system: OpenGL
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
fatal: not a git repository (or any of the parent directories): .git
running bdist_wheel
running build
running build_py
creating build

https://github.com/kivy/kivy/issues/6563#issuecomment-560039155

I don't understand what this means.
The "release" is obviously out there....otherwise why would the site
instruct everyone to perform this action?
What am I supposed to do with this?
This is the only "Help" option available....did you really just fire off
this email and close my issue?
On Thu, Jan 9, 2020 at 2:37 AM matham<EMAIL_ADDRESS>wrote:

Closed #6687 https://github.com/kivy/kivy/issues/6687.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/6687?email_source=notifications&email_token=AMUZ4O52IHKOQRQDCAPFNHDQ43H4BA5CNFSM4KETYO4KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOV3P4VAA#event-2933901952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUZ4O5F7GP3TGDMFH5SWCLQ43H4BANCNFSM4KETYO4A
.

Sorry, I was hoping you'd understand the answer for the issue I linked.
While we did make a 1.11.1 release, we typically create pre-compiled wheels for each Python version. However, since the last release happened before py3.8 was released, no wheels for 3.8 was made at the time.
So when you try to install kivy for 3.8, instead of getting a pre-compiled wheel, you get a zip, which pip tries to compile on your system. But that fails because your system has not installed the deps to be able to compile kivy.
So the solution is to install kivy from master by running the command in the post I linked to.
I hope that clarifies it.

OK - thanks, this is much closer to the mark.
I do very much appreciate your stepping up to help.
So when I hit that link I see what looks like an ftp link to a "wheel" file?
Links for Kivy-examplesKivy_examples-2.0.0rc1-py2.py3-none-any.whl
https://kivy.org/downloads/ci/win/kivy/Kivy_examples-2.0.0rc1-py2.py3-none-any.whl
clicking on it does nothin however.
So breaking down this instruction:
pip install kivy[base] kivy_examples --pre --extra-index-url
I don't see what to substitute here....the above link is only for the
examples - even if it did work....
What is the URL for the kivy base?
Given this  syntax, what would you use?
(I don't even see the '--pre' option listed)
Usage:
pip install [options]  [package-index-options] ...
pip install [options] -r  [package-index-options] ...
pip install [options] [-e]  ...
pip install [options] [-e]  ...
pip install [options] <archive url/path> ...
--extra-index-url option requires 1 argument
On Thu, Jan 9, 2020 at 2:52 PM matham<EMAIL_ADDRESS>wrote:

Sorry, I was hoping you'd understand the answer for the issue I linked.
While we did make a 1.11.1 release, we typically create pre-compiled
wheels for each Python version. However, since the last release happened
before py3.8 was released, no wheels for 3.8 was made at the time.
So when you try to install kivy for 3.8, instead of getting a pre-compiled
wheel, you get a zip, which pip tries to compile on your system. But that
fails because your system has not installed the deps to be able to compile
kivy.
So the solution is to install kivy from master by running the command in
the post I linked to.
I hope that clarifies it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/6687?email_source=notifications&email_token=AMUZ4O2MGNNLYBUUXIUFKATQ456BFA5CNFSM4KETYO4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIRR5XA#issuecomment-572727004,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUZ4O6KK3DFADA5M4FKWZDQ456BFANCNFSM4KETYO4A
.

The exact command to use in the command line is pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/. When you run it, this will download and install kivy and kivy-examples as it it currently is in master (https://kivy.org/doc/master/installation/installation-windows.html#nightly-wheels).
You see more clearer instructions and background info for kivy master at https://kivy.org/doc/master/installation/installation-windows.html.
I'd also suggest to ask for further help on the discord channel because there are many people there who are available help, and we primarily use github issues for bugs so much fewer people read or respond to github issues. Feel free to ping me on discord there if you still have issues.

Cool.  The
https://kivy.org/doc/master/installation/installation-windows.html  site is
what got me here - LOL.
Looks like this worked - thanks!
Attempting to install the latest stable build from
https://kivy.org/doc/master/installation/installation-windows.html   failed

I'm not clear on why this one works and that one didn't - seems to have
to do with matching the Python 3.8.1 install (I did to have the latest
Python)....if I understand correctly, by following the instructions there I
was requesting a version that doesn't exist.

I'm also struggling with the virtual environments - I get the concept, and
I ran the kivy install from within my "activated" kivy VE, but I"m not
clear on how to pair up a specific Python version with a specific Kivy
version (ie:  installing one "within" the other, or the other way around).
This is kind of a test run as I"m looking into doing a Raspberry Pi project
where I will be repeating all of this on Linux, but as the project is a few
years old I wanted to test as much I could first, and also start learning
the languages/frameworks.
So I'll try to use the discord channel - the site link I went to before - I
presume you're referring to the User Forums for support/questions?
It's an empty page (and the Blog page is pretty sparse). User Forums page
shows just a Help link which takes you to Google Groups Help.  Searching
Google Groups I find a number of links for 'discord':  (217 matches)
Any specifics to help drill down?
[image: image.png]
On Thu, Jan 9, 2020 at 4:36 PM matham<EMAIL_ADDRESS>wrote:

The exact command to use in the command line is pip install kivy[base]
kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/.
When you run it, this will download and install kivy and kivy-examples as
it it currently is in master (
https://kivy.org/doc/master/installation/installation-windows.html#nightly-wheels
).
You see more clearer instructions and background info for kivy master at
https://kivy.org/doc/master/installation/installation-windows.html.
I'd also suggest to ask for further help on the discord channel
https://kivy.org/#support because there are many people there who are
available help, and we primarily use github issues for bugs so much fewer
people read or respond to github issues. Feel free to ping me on discord
there if you still have issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/6687?email_source=notifications&email_token=AMUZ4OZSQ2VIIFBFRNJVANLQ46KF3A5CNFSM4KETYO4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIR32QY#issuecomment-572767555,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUZ4O66O5GR5XRIRWPST4LQ46KF3ANCNFSM4KETYO4A
.

The https://kivy.org/doc/master/installation/installation-windows.html  site is what got me here - LOL.

On that page it shows how to install from pypi (where pip gets stuff from by default). However, since we have no 3.8 release wheel uploaded to pypi, it fails. The command that I gave you is listed on that page as an alternate installation to install from master hosted on our server, for which we do have 3.8 wheels.

but I"m not clear on how to pair up a specific Python version with a specific Kivy version

You shouldn't have to do this manually - paring kivy to a specific python version. All you normally do is check whether there's a release wheel for your python version (https://pypi.org/project/Kivy/#files) and if so pip will install it normally. If it doesn't exist, that's when you have to tell pip to find it elsewhere if it's available (e.g. on our server).

So I'll try to use the discord channel

The link is all the way at the end of the page I linked earlier: https://chat.kivy.org/

The exact command to use in the command line is pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/. When you run it, this will download and install kivy and kivy-examples as it it currently is in master (https://kivy.org/doc/master/installation/installation-windows.html#nightly-wheels).
You see more clearer instructions and background info for kivy master at https://kivy.org/doc/master/installation/installation-windows.html.
I'd also suggest to ask for further help on the discord channel because there are many people there who are available help, and we primarily use github issues for bugs so much fewer people read or respond to github issues. Feel free to ping me on discord there if you still have issues.

Thank you, your solution works)

Downloading the recent wheel from https://kivy.org/downloads/ci/win/kivy/ and installing via code 'python -m pip install filename.whl' worked for me


Base directory when running a code block

When I run this Python block code in a Jupyter-Obsidian note:
import os
print(os.getcwd())

The displayed result is the path to the root of the vault.
Would it be better to have the current working directory to be set to the directory of the current note instead?

See #66.


Use deferred credits in XRPEndpointStep

The XRPEndpointStep bypassed the logic in deferred credits and
incorrectly counted funds acquired during a payment as available for
use in the payment. It also incorrectly used the current ownerCount when
calculating the reserve instead of the owner count as it was at the
beginning of the payment (reducing the owner count is analogous to
acquiring funds during a payment.)
@scottschurr @nbougalis

:+1: Looks good to me.

Current coverage is 71.29% (diff: 100%)

Merging #1817 into develop will increase coverage by <.01%

@@            develop      #1817   diff @@
==========================================
  Files           871        871
  Lines         69944      69958    +14
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          49866      49880    +14
  Misses        20078      20078
  Partials          0          0

Powered by Codecov. Last update d8b85c0...4c2d28f

The change to rename the amendment from FlowV2 to Flow looks good.
Just for your consideration, RippleCalc.cpp still has quite a number of uses of the term flowV2 inside names.  Flow_test.cpp also uses "FlowV2 in a comment.  Do those uses still make sense since the amendment has been renamed?  Your call.
:+1:

:+1:

Squashed. @scottschurr I took care of the one comment in Flow_test. I left the reference to V1/V2 in RippleCalc. I'll refactor that when we decide to remove some of the test/compare code.


[Suggestion] Check for updates when opening the launcher.

Before fetching releases for Cataclysm DDA, the launcher could check the Catapult Github page for any new updates and automatically update after asking the user. There could also be a switch in Settings to enable/disable this feature.

I always found it funny how the launcher could update CDDA/CBN but not self-update.

Honestly, I don't even know how to approach self-updating. Catapult is one self-contained executable, how would it replace itself and then restart itself?
How would you approach this?

My first thought would be to spawn an updater child process to a temporary directory. From there you would terminate the parent process, download the zip, extract and overwrite in the existing directory. Run the catapult launcher again and terminate the child process.


Add logging configuration and update similarity score display

Pull Request Title
Enhancements and Improvements to Workspace Information Handling
Related Issue
N/A
Description
This pull request introduces several enhancements and improvements to the workspace information handling process. It includes updates to documentation, logger improvements, logging integration into the Streamlit app, and an alternative method for calculating similarity scores.
Type

[ ] Bug Fix
[x] Feature Enhancement
[x] Documentation Update
[x] Code Refactoring
[ ] Other (please specify):

Proposed Changes

Comprehensive documentation added to the get_score and get_similarity_score files.
Updates made to the logger.py file for improved modularity.
Logging integrated into the streamlit_app.py file.
Feature added to calculate similarity scores without using an API in streamlit_interactive.py.

Screenshots / Code Snippets (if applicable)

How to Test

Pull the latest changes from this branch.
Verify that documentation has been updated and is comprehensive.
Ensure the logger.py file functions as expected in different scenarios.
Test logging functionality in the Streamlit app by triggering various events.
Verify the alternative similarity score calculation method in streamlit_interactive.py.

Checklist

[x] The code compiles successfully without any errors or warnings
[x] The changes have been tested and verified
[x] The documentation has been updated (if applicable)
[x] The changes follow the project's coding guidelines and best practices
[x] The commit messages are descriptive and follow the project's guidelines
[ ] All tests (if applicable) pass successfully
[ ] This pull request has been linked to the related issue (if applicable)

Additional Information
These changes aim to improve the maintainability and functionality of the workspace information handling process. Feedback and further suggestions are welcomed.

@srbhr you can see GPT4 enable code review on this commit here : https://github.com/Devasy23/Resume-Matcher/pull/2
Also, i need to commit after linting it with black and isort

GPT-4 enabled code review ?

GPT-4 enabled code review ?

yes, by github app called senior-dev

@Devasy23 is this PR good to merge?

@Devasy23 is this PR good to merge?

Yes it's good to merge but for extra surety just check it once.
The major changes are in utils.logger where I modularised the functions, stremlit_interactive where I added the similarity score without api changes and added coloured rounded view of similarity score in streamlit_app.py

Okay, so we have black as a formatter. This needs to go in the readme, which needs updating and a separate PR.


[WIP] Deserialization: Heartbeat & Vote

Work in progress:

reduce code duplication in heartbeat deserialization
working Vote deserialization (test passes but still WIP)

Moving the common parts deserialization to mod.rs good idea!

Is this ready to merge?

Is this ready to merge?

Yes, it's ready 👍

Thanks Ismail

Thank you too :-)


prime_checker

Closing Issue/Referencing Issue
issue reference (#)
Changes Made In Pull Request

Yes, that was my first pull request.
And one thing I want to ask is about this mail I received. What exactly
does this mean?
"A third-party OAuth Application (Gitter Public Repo Access) with read:org
and user:email scopes was recently authorized to access your account."
On Tue, Feb 12, 2019 at 6:18 PM welcome[bot]<EMAIL_ADDRESS>wrote:

I can tell this is your first pull request! Thank you I'm so honored. 🎉🎉
🎉
I'll take a look at it ASAP!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ows-ali/Hacktoberfest/pull/188#issuecomment-462746421,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ApH0JgygRpTsbgALkSi5qO0vO3nUnsABks5vMrgYgaJpZM4a2UcN
.

@Anuraaag Nothing much, it just means that you used your Github account to log into Gitter, and Gitter has read access to your public repos.

Okay.
On Sat 16 Feb, 2019, 21:22 Lint<EMAIL_ADDRESS>wrote:

@Anuraaag https://github.com/Anuraaag Nothing much, it just means that
you used your Github account to log into Gitter, and Gitter has read access
to your public repos.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ows-ali/Hacktoberfest/pull/188#issuecomment-464357623,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ApH0JrUrGighE70sA4LlKBdO1qCfd-QSks5vOCkugaJpZM4a2UcN
.


Any chance you build an ARM64 docker image?

Hi,
Any chance you can also build an ARM64 (Raspberry Pi 4) docker image? Would appreciate it.

I'll try to set it up!

Just wondering if there has been any update on this?
Thanks!

Hi! No real update so far. I've been trying some easy way to integrate an ARM build in the Github workflows but haven't gotten to a solution yet. It's still on the radar though!

@vktr I'm trying to get arm64 PR going, but just noticed that the ninja binary that's used, is amd64 only so that would need to be compiled from scratch possibly..

I'm open to switching to regular make if that helps! If you can get a PR going with that, I'll switch in a heartbeat. Keep in mind also that there's a base image with pre-built dependencies, which might have to be removed since those are amd64 only for now.

It seems that building for arm64-musl is not possible.
/usr/local/src/porla/build # cmake -DCMAKE_EXE_LINKER_FLAGS="-static -Os" -DCMAKE_BUILD_TYPE=Release -DVCPKG_TARGET_TRIPLET=arm64-linux-musl-release -G Ninja ..
-- Running vcpkg install
error: Invalid triplet: arm64-linux-musl-release
Available architecture triplets:
vcpkg built-in triplets:
  arm64-windows
  x86-windows
  x64-windows-static
  x64-linux
  x64-windows
  x64-osx
  arm-uwp
  x64-uwp
VCPKG community triplets:
  arm64-ios
  x86-ios
  arm-neon-android
  x64-osx-release
  x64-mingw-static
  x64-uwp-static-md
  arm64-osx-dynamic
  x64-xbox-scarlett
  ppc64le-linux-release
  x86-mingw-dynamic
  x64-mingw-dynamic
  s390x-linux
  x86-android
  arm-windows-static
  arm-mingw-static
  x64-xbox-xboxone-static
  arm64-windows-static
  x64-openbsd
  x86-windows-v120
  arm64-osx-release
  x86-windows-static
  x64-linux-dynamic
  arm64-uwp-static-md
  x64-xbox-scarlett-static
  riscv32-linux
  x86-freebsd
  riscv64-linux
  arm64ec-windows
  arm-linux
  x86-windows-static-md
  x86-uwp
  arm64-android
  x86-mingw-static
  x64-freebsd
  arm64-uwp
  arm64-linux-release
  arm-mingw-dynamic
  riscv32-linux-release
  x86-linux
  arm64-mingw-static
  x86-uwp-static-md
  arm-android
  arm64-mingw-dynamic
  x64-windows-static-release
  x64-osx-dynamic
  s390x-linux-release
  arm64-windows-static-release
  ppc64le-linux
  x64-windows-static-md
  wasm32-emscripten
  x64-android
  arm-windows
  x64-linux-release
  x64-xbox-xboxone
  arm-uwp-static-md
  arm64-windows-static-md
  arm64-osx
  arm-linux-release
  armv6-android
  riscv64-linux-release
  x64-ios
  arm-ios
  arm64-linux
  x64-windows-release
Overlay triplets from /usr/local/src/porla/vendor/vcpkg-triplets :
  x64-linux-musl-release
-- Running vcpkg install - failed
CMake Error at vendor/vcpkg/scripts/buildsystems/vcpkg.cmake:893 (message):
  vcpkg install failed.  See logs for more information:
  /usr/local/src/porla/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:148 (include)
  CMakeLists.txt:6 (project)

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

It seems that building for arm64-linux-musl is not possible easilly at least..
/usr/local/src/porla/build # cmake -DCMAKE_EXE_LINKER_FLAGS="-static -Os" -DCMAKE_BUILD_TYPE=Release -DVCPKG_TARGET_TRIPLET=arm64-linux-musl-release -G Ninja ..
-- Running vcpkg install
error: Invalid triplet: arm64-linux-musl-release
Available architecture triplets:
vcpkg built-in triplets:
  arm64-windows
  x86-windows
  x64-windows-static
  x64-linux
  x64-windows
  x64-osx
  arm-uwp
  x64-uwp
VCPKG community triplets:
  arm64-ios
  x86-ios
  arm-neon-android
  x64-osx-release
  x64-mingw-static
  x64-uwp-static-md
  arm64-osx-dynamic
  x64-xbox-scarlett
  ppc64le-linux-release
  x86-mingw-dynamic
  x64-mingw-dynamic
  s390x-linux
  x86-android
  arm-windows-static
  arm-mingw-static
  x64-xbox-xboxone-static
  arm64-windows-static
  x64-openbsd
  x86-windows-v120
  arm64-osx-release
  x86-windows-static
  x64-linux-dynamic
  arm64-uwp-static-md
  x64-xbox-scarlett-static
  riscv32-linux
  x86-freebsd
  riscv64-linux
  arm64ec-windows
  arm-linux
  x86-windows-static-md
  x86-uwp
  arm64-android
  x86-mingw-static
  x64-freebsd
  arm64-uwp
  arm64-linux-release
  arm-mingw-dynamic
  riscv32-linux-release
  x86-linux
  arm64-mingw-static
  x86-uwp-static-md
  arm-android
  arm64-mingw-dynamic
  x64-windows-static-release
  x64-osx-dynamic
  s390x-linux-release
  arm64-windows-static-release
  ppc64le-linux
  x64-windows-static-md
  wasm32-emscripten
  x64-android
  arm-windows
  x64-linux-release
  x64-xbox-xboxone
  arm-uwp-static-md
  arm64-windows-static-md
  arm64-osx
  arm-linux-release
  armv6-android
  riscv64-linux-release
  x64-ios
  arm-ios
  arm64-linux
  x64-windows-release
Overlay triplets from /usr/local/src/porla/vendor/vcpkg-triplets :
  x64-linux-musl-release
-- Running vcpkg install - failed
CMake Error at vendor/vcpkg/scripts/buildsystems/vcpkg.cmake:893 (message):
  vcpkg install failed.  See logs for more information:
  /usr/local/src/porla/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:148 (include)
  CMakeLists.txt:6 (project)

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

Unfortunately, Ninja isn't the issue. I created a Dockerfile with a Ninja build step (works fine) and halfway through the vcpkg install it will fail, I'm unsure as to fix it but I'll find the Dockerfile I made

I got it to build, requires building ninja from source, and vcpg will compile from source due to no binary build.
It also requires at least 4GB of RAM (at least if running on actual Raspberry Pi for the arm64 version).

I got build-env built using docker buildx and physical hardware and it took 7910.8s to run which is ~2 hours.
docker buildx build . -f Dockerfile.build-env --builder=kube --platform linux/arm64,linux/amd64 --push -t registry.samipsolutions.fi/library/porla-build-env:20230605

Experimental docker image is at: registry.samipsolutions.fi/library/porla:dev that should work on arm64 and amd64. :)


echo node get media not returning all info

Just noticed today that the alexa play music example flow doesn't work correctly.
The msg.payload from the echo node (set to "get" "media") is missing the album art,name, queue info etc.
Guessing that this is a change by Amazon, anyone else having this issue ?

The problem seems to be that even when playing a track, get media shows the device as IDLE -
payload: object
clientId: "Domain:Application:Music"
contentId: null
contentType: null
currentState: "IDLE"
imageURL: null
isDisliked: false
isLiked: false
looping: false
mediaOwnerCustomerId: null
muted: false
programId: null
progressSeconds: 49
providerId: null
queue: null
queueId: null
queueSize: 0
radioStationId: null
radioVariety: 0
referenceId: null
service: null
shuffling: false
timeLastShuffled: 0
volume: 7


How can VC prevent double-spending attack?

A user can copy and paste the VC to a local disk, and after transferring VC to another user or a service delete the VC in the SoLiD POD, user can paster the VC back to his POD, pretended the VC is not spent.

I'm thinking if VC can be something like the Token ( especially NFT ) in the etherium.

Hi, do you still interested on this? We can set up a call to discuss about this, I have some technical thought on this recently.


workaround for bootstrap_sdk on an Ubuntu host

workaround for bootstrap_sdk on an Ubuntu host where /dev/shm is a symlink to /run/shm. Since we mount the hosts /dev (for losetup) this interferes with building python 2.7. The workaround is to disable the /dev/shm during python builds. A longer term fix would be to not mount the hosts /dev. Thanks for @marineam for suggesting the fix on IRC

Wow, sorry for letting this sit for so long. Can you clean up the commit message per https://github.com/coreos/scripts/blob/master/CONTRIBUTING.md? Otherwise, LGTM.

Superseded by https://github.com/coreos/scripts/pull/482.


Generate video from any prompt sequence

Hello, I saw on the project page that you showed the Generate video from any prompt sequence function, but I didn't seem to see this function in the demo. Will you launch this function?

Based on the paper, I believe there is both an image decoder model and a video decoder model that appear not to have been released yet. Hoping they release them soon, since this is potentially a killer feature of this model.

Thank you for your interest and inquiry. Indeed, we have both an image decoder and a video decoder model. The Emu2-Gen with image decoder has already been released(https://huggingface.co/BAAI/Emu2-Gen).  As for the video decoder, we plan to release it soon. We are currently working on organizing the inference code for video generation and aim to make it available as promptly as possible.

Thank you for your reply. If the model of the video is open source, can you remind me here? It's important to me.

Hello Team, thank you for the cool project! May I ask when you plan to release the video generation decoder? Thank you!


@broskoski => Add banner to promoted content

closes #6
Add banner to articles in promoted content channels.

Looks good to me, feel free to update with refactors or merge and address later!

Looks good!


Docs: explain focus moniter options

In the docs (https://github.com/vaxerski/Hyprland/wiki/Advanced-config#focusmonitor) it explains that there are four possible options but does not explain what they do this is not great for new users. BTW: love the work here it amazing!

done


Fix init hang issue

modules: mbedtls: Fix init hang issue
libc: common: Fix init hang issue
In device init phase, it will call _mbedtls_init before malloc_prepare
as mbedtls has higher priority defined in SYS_INIT..
_mbedtls_init() will call psa_crypto_init() and malloc buffer,
but z_malloc_heap is not initialized, which will cause device hang.
Should call malloc_prepare() before _mbedtls_init to fix this issue,
so exchange their priority to init in SYS_INIT.
Fixes #74980

I had issues because of this with the ethos-u drivers that’s currently requiring a malloc call during device driver initialization, which happens before malloc_prepare is called.
What would be the reason for not doing this ASAP during boot? Or is it a matter where drivers relying on this should be given a lower priority and done at a later stage?

I had issues because of this with the ethos-u drivers that’s currently requiring a malloc call during device driver initialization, which happens before malloc_prepare is called.
What would be the reason for not doing this ASAP during boot? Or is it a matter where drivers relying on this should be given a lower priority and done at a later stage (if possible, I’m not familiar with this)?

Services initialization is "complicated" now. The priority I suggest is just an example, it can be 0 as in this PR. I would just make it through a symbol in case a target needs a different priority. Since we are talking about the C library I don't see a problem having a specific symbol for that.

Malloc is kind of horrible in drivers and critical subsystems. It would be great if it could be avoided entirely.

Hi @keith-packard ,pls review again

Hi @keith-packard , can you please review again?

Hi @keith-packard @ceolin
pls review again, thanks

Malloc is kind of horrible in drivers and critical subsystems. It would be great if it could be avoided entirely.

An alternative here would be to enforce that: assert or panic if you get a malloc call before libc initialization and force subsystems that want to do clumsy things to finesse things themselves...

Malloc is kind of horrible in drivers and critical subsystems. It would be great if it could be avoided entirely.

While I tend to agree, this problem is really between mbedtls and libc initialization order. Not sure I characterize mbedtls as a driver.
But @andyross suggestion is a good one to generally consider to see if we can find other entities that are probably failing this priority inversion. Adding the following in the various alloc routines (malloc, aligned_alloc, realloc?, free?) should capture this problem. The z_malloc_heap is defined as a static but should be in the bss section but if we want to ensure that we could define it with an assignments to set to NULL:
	__ASSERT(z_malloc_heap.heap != NULL, "Priority inversion, malloc_prepare() has not been called");

@stephanosio need your attention


dangerous merge

Which problem is this PR solving?

Short description of the changes

sorry submitted request in unforked repository


Debug console does not announce type

Testing #222238

In the above scenario, one is string and the other is integer, but the type is not announced.

since the user is requesting the variable, they know what type it is. i'll ask the screen reader users I work with if this is something they'd like to handle differently, closing for now.

This issue might be unique to python, as the type might not be known until runtime.


Show Version App Upgrade SnackBar once

Description
MA-MA-2849
Add a description of your changes here.
Notes
How to test this PR
Reviewers
If you've been tagged for review, please "Start a review" with the Github GUI.

Code review: @danialzahid94 , @BenjiLee

Current coverage is 22.87% (diff: 0.00%)

Merging #831 into master will decrease coverage by <.01%

@@             master       #831   diff @@
==========================================
  Files           675        675
  Lines         56226      56228     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          12862      12862
- Misses        43364      43366     +2
  Partials          0          0

Powered by Codecov. Last update a3c5e1a...fca9db5


chore(ci): Run tests on the CI

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Any chance this can support SSR?

I am using this package with Next JS and I am having a hard time rendering this correctly on the server. Any way I can achieve that? I tried using window type and it throws a hydration error.

Can you please share a codesandbox link that reproduces the error?

Hey,
Here you go: link
I have integrated the Hook in Next JS. Once you open the app and disable javascript the text defaults to "."

There is no hydration error showing up on your codesandbox as you mentioned in the original issue.
Regarding the second comment - . is essential to how the correct computed lineHeight is detected and hence that must be the first string that is rendered in the node

I understand that but how do I show the actual text in the server before the client is hydrated?

You can render the plain text for first render and post that mount a component that handles the clamping.
Here's an example


Possible to enter a value not in results list?

Is it possible for a user to enter a value that isn't in the results list? For example, say this is a search for job locations, would it be possible to enter "Remote" as an option?

Hey @adambedford!
I just take a look at this case and it seems to work, the value is sent to the callback function so, you can use it.

The object sent is the one at the bottom of the image, { 'name': 'fake-address' }, you can use it in your placeChangedCallback
If you have any problem let me know or it doesn't work for you like it is working for me, let me know.
Daniel.

Hi @adambedford,
I am closing the issue, but, if you need more information or help, let me know.
Best regards,
Daniel.


npm install fails for name change

Hi there!
npm install node-alarmdotcom was not working for me, so I had to use npm install node-alarm-dot-com this morning.
I also noticed that the npm page (https://www.npmjs.com/package/node-alarm-dot-com) is still pointed to the old GitHub page (https://github.com/mkormendy/node-alarm-dot-com) which is broken.
Maybe these things are already in the process of being updated, but just wanted to let others know.

My apologies, I had put in a request to npmjs.org support team to remove/rename the package as I found that there is a bit of an ecosystem of names around Alarm.com and then further found out about the frontpoint project which is at its' core an alarm.com interface with a separate authentication front-end.
For the time being, please use:
npm install node-alarm-dot-com
https://www.npmjs.com/package/node-alarm-dot-com
https://github.com/mkormendy/node-alarm-dot-com

I have drastically changed this package to mirror work done by jhurliman.
The name and urls of the package will not change any further.
Please use:
npm install node-alarm-dot-com
https://www.npmjs.com/package/node-alarm-dot-com
https://github.com/mkormendy/node-alarm-dot-com

Oh sure. I take it npmjs.org won't support the name change?
Personally I thought the name change to make it consistent with the other alarm.com APIs was a good idea.

Something like that.


Fixes #50, changes for On/Off behaviour, "Siri not responding"

Another way to fix this, discussion in #50

Today its not working at all like it should with this PR. Close this and do not merge. Will continue testing and inform you.

Let's discus this in the relevant issue, till a proper solution is tested. #50


Add Slack signup info to readme

@facebook-github-bot shipit

Thoughts on just using a #draftjs channel in the reactiflux discord?

There's also this project which auto-sends Slack invites: http://rauchg.com/slackin/.

Using the reactiflux Discord sounds like a good move. I'll stick with this until I can figure out how to do that.


About test problem: without sqa

1.Thanks for the greate work for 3D scene QA understading and releasing the code.
2.I have a problem when I run the test. I directly use your trained parameters and use "python scripts/test.py --ckpt "path_to_model"  --split 'test' ", But it raise a problem showing like this:
Traceback (most recent call last):
  File "/home/sdp/SQA3D-master/ScanQA/scripts/test.py", line 441, in <module>
    save_list = test(args, SQA_TRAIN, SQA_VAL, SQA_TEST, path, answer_counter_list)
  File "/home/sdp/SQA3D-master/ScanQA/scripts/test.py", line 375, in test
    val_dataset, val_dataloader = get_dataloader(args, sqa, all_scene_list, args.split, DC, False, answer_counter_list, test=True)
  File "/home/sdp/SQA3D-master/ScanQA/scripts/test.py", line 136, in get_dataloader
    dataset = ScannetQADataset(
  File "/home/sdp/SQA3D-master/ScanQA/lib/sepdataset.py", line 138, in __init__
    scene_ids = sorted(set(record['scene_id'] for record in self.sqa))
AttributeError: 'ScannetQADataset' object has no attribute 'sq'

3.I read the correspoding code in epdataset.py:
   if split == 'train':
            # remove unanswerble qa samples for training
            self.all_data_size = len(sqa)
            if use_unanswerable:
                self.sqa = sqa
            else:
                self.sqa = [data for data in sqa if len(set(data['answers']) & set(answer_cands)) > 0]
            self.answerable_data_size = len(self.sqa)
            print('all train:', self.all_data_size)
            print('answerable train', self.answerable_data_size)
        elif split == 'val':
            self.all_data_size = len(sqa)
            if use_unanswerable:
                self.sqa = sqa
            else:
                self.sqa = [data for data in sqa if len(set(data['answers']) & set(answer_cands)) > 0]
            self.answerable_data_size = len(self.sqa)
            print('all val:', self.all_data_size)
            print('answerable val', self.answerable_data_size)

4.It seems like that there is no the split for "test" jugement, and the self.sqa is not assigned. I am appreciate if you give me some instruction about that.

Same question, have you solved it?

Same question, have you solved it?

yeah, I meet the same, did u solve it?


test branch

Jenkins: test C semantics

@dwightguth, I know it is for a different reason, but the c semantics seems to be failing on master also.


Adding custom s2i builder to OpenShift?

We are using a custom s2i (https://github.com/universityofadelaide/s2i-shepherd-drupal) - and to simplify the workflow, it would be good if we can add this to OpenShift.
I have read
https://docs.openshift.com/container-platform/3.3/creating_images/custom.html
https://docs.openshift.com/enterprise/3.1/creating_images/s2i.html but couldnt see how to add custom s2i builders to OpenShift.
Any help is appreciated.
Thanks

@magick93 to add a builder to openshift you need to define an imagestream for it:
https://github.com/openshift/origin/blob/master/examples/image-streams/image-streams-centos7.json#L6-L50
And the imagestream needs to indicate the image is a builder:
https://github.com/openshift/origin/blob/master/examples/image-streams/image-streams-centos7.json#L23
you'll need to create the imagestream in the openshift namespace (oc create -f yourimagestream.json -n openshift)
once you do that it will show up in the webconsole as an available builder image.


Double channel opening attempt

During v2.0 testing a channel was attempted to open twice:
[2022-05-29 10:47:20] - WARNING - Channel raid-reporting already neutral, skipping opening.
[2022-05-29 10:47:20] - WARNING - Channel raid-reporting already neutral, skipping opening.

I cannot replicate this - it seems to be just dodgy connections sometimes to the API or the loop drifts and runs again in the same minute. I cannot see anything in the migration document about loops and the schedule loop hasn't changed. The time updates also seem to go through ok.
I'll close this for now and reopen if it happens again.


Make master and node sizes configurable.

I've been playing with dok8s and found myself changing the machine spec in the file repeatedly. This seemed a bit cumbersome, so I decided to make the corresponding environment variables overridable.

Thank you!


Adding leader election leases permissions for openshift-controller-manager-sa

/assign @jkhelil @akram
Can one of you please check this out and lgtm when you get in?

/skip

/label docs-approved
/label px-approved
/label qe-approved

/assign @bparees
Required to fix https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_openshift-controller-manager/226/pull-ci-openshift-openshift-controller-manager-master-e2e-aws/1552708295335088128/artifacts/e2e-aws/gather-extra/artifacts/pods/openshift-controller-manager_controller-manager-dvll6_controller-manager.log

/lgtm


Proposal/RFC: Quick delete items from inventory view

Tap the Delete key after selecting a Simple item row to set its Quantity to 0.
Only works for Simple items currently.
Simple item rows now have a different color.

Just two notes:

Calling RefreshInventory without setting activeItemEdit will cause it to reset to the top. This can be problematic for larger inventories. I would set activeItemEdit before calling RefreshInventory then unset, or directly call inventoryListView.EnsureVisible
A color for Simple items that is more neutral to the white/grey theme is needed.

Just two notes:

Calling RefreshInventory without setting activeItemEdit will cause it to reset to the top. This can be problematic for larger inventories. I would set activeItemEdit before calling RefreshInventory then unset, or directly call inventoryListView.EnsureVisible
A color for Simple items that is more neutral to the white/grey theme is needed.

A color for Simple items that is more neutral to the white/grey theme is needed.

Thanks for the upstream change regarding inventory refresh issue. Still figuring out C# and whatever this designer stuff is called (WPF?).
I'm selecting a color that has a contrast ratio of 3 using this tool. The resulting color:
.
Is this acceptable?

A color for Simple items that is more neutral to the white/grey theme is needed.

Thanks for the upstream change regarding inventory refresh issue. Still figuring out C# and whatever this designer stuff is called (WPF?).
I'm selecting a color that has a contrast ratio of 3 using this tool. The resulting color:
.
Is this acceptable?

No worries. CyberCAT-SimpleGUI uses WinForms, which is an older but more reliable alternative to WPF.
It think it may be best to just scrap the alternating colors, it doesn't look too great with the limitations of a ListView. I've added the Simple/Modable type to the "Type" column (147d109d2cce695502cf340e2f08a7c55436866a) so that that info can still be seen at a glance.

No worries. CyberCAT-SimpleGUI uses WinForms, which is an older but more reliable alternative to WPF.
It think it may be best to just scrap the alternating colors, it doesn't look too great with the limitations of a ListView. I've added the Simple/Modable type to the "Type" column (147d109d2cce695502cf340e2f08a7c55436866a) so that that info can still be seen at a glance.

Alternate color removed & PR rebased. :D

Alternate color removed & PR rebased. :D


Upgrade libp2p-identity

A new version has been released. We should bump to be current

Turns out we don't want to upgrade yet.


Inconsistent AlertDialog Appearance

Are you a part of GSSOC' 21?

[x] Yes
[ ] No

Describe the bug
AlertDialog looks different - When deleting a note and logging out of app.
To Reproduce
Steps to reproduce the behavior:

Add some note folder
Delete it. Notice the delete AlertDialogBox
Now Log out. Notice the logout AlertDialogBox
Both seems different

Expected behavior
AlertDialogBox appearance needs to be consistent throughout the app. I think we have to make delete AlertDialog looks alike logout one.
Additional context
I can solve this issue, if relevant.
Screenshots

Go ahead with the changes @codeDamon
Make the Alert Dialog similar to logout
And do add before and after screenshots


test: Get rid of 4.9 pipeline

In v1.13 we stopped supporting the 4.9 kernel [1]. Therefore, we can remove the 4.9 CI pipeline for the main and v1.13 branches.
Previously, the 4.9 CI used to run with kube-proxy and KPR=disabled, while the 4.19 CI with kube-proxy and KPR=strict (aka mixed mode). This commit sets KPR=disabled in the 4.19 CI. The mixed mode is tested in the new ci-datapath GHA (minus the IPv6 until [2] has been resolved; this is fine).
[1]: https://github.com/cilium/cilium/issues/22116
[2]: https://github.com/cilium/cilium-cli/issues/1139

/test

/test

/test-1.24-5.4

/test-1.25-4.19

/test-1.25-4.19

/test

/test

/test

/test

/test

/test

/test

/test

/test

Blocking on this. I'm sorry because I understand you want to move on with these changes, but we really need to understand the impact for IPsec coverage

@pchaigno The IPsec packet path for this case was probably broken since the beginning. My changes in this PR just added more coverage which helped to discover the breakage. In addition, I created an issue for that - https://github.com/cilium/cilium/issues/23481.

Deprecating ginkgo (where is that documented?)

Mind explaining what you mean by "documented"? I think the consensus was that we all want to improve the CI situation which means that instead of holding on the convoluted Jenkins+ginkgo setup we should move to the new setup.

/test


tests: add exception/policy stats counters - v1

Add exception policy counters to the existing exception-policy tests
Add tests for flow-memcap command-line option and flow-memcap exception policy

exception-policy-flow-memcap doesn't work for now, as the values change for every run of the test - not sure how to fix that....

Replaced by: https://github.com/OISF/suricata-verify/pull/1178


[intro-to-pytorch]Part 3 - Training Neural Networks - autograd

In PyTorch v0.4.1, tensor printing now includes requires_grad and grad_fn information. Therefore, we don't need to print(y.grad_fn) any more.

Thanks for your feedback @HaelChan. As was pointed out, for v.0.4.0 you need to print the gradient function intentionally. We're sticking with v0.4 until v1.0 is stable, so leaving in that bit of code.
Thanks!


Add support for Modified Discrete Cosine Transform (MDCT)

🚀 The feature
The Modified Discrete Cosine Transform  (MDCT) is a perfectly invertible transform that can be  used for feature extraction.  It can be used as an alternative to MelSpectrograms especially where an invertible transform is desired such as audio synthesis in a more compressed space.
Motivation, pitch
I am working on a audio synthesis project and an invertible transformation that is desirable in this case as opposed to something like a MelSpectrogram. The MDCT is a viable alternative. However, there is no implementation of it in torchaudio.
Alternatives
I have tried working with MelSpectrogram transform. However, pitch reconstruction is cumbersome and requires implementation of complex neural vocoders which is undesirable in my case.
Additional context
There is a numpy implementation  Zaf  as well as a pypi package mdct.  I would like to assist in the porting of these implementations to torchaudio. However, I require some guidance on how to go about it. Any help would be appreciated.
Currently I have a naive implementation of a 1 to 1 copy of the  Zaf  implementation in pytorch. I think there is room for a lot of optimization.
import math
from typing import Callable, Optional, Union

import torch
from torch import Tensor
from torch.nn import functional as F

def mdct(x: Tensor,
         window: Union[Callable[..., Tensor], Tensor],
         window_length: int,
         hop_length: Optional[int] = None,
         center: bool = True,
         pad_mode: str = "reflect") -> Tensor:
    # Initialize the window
    if callable(window):
        window = window(window_length)

    if hop_length is None:
        hop_length = window_length // 2

    # Flatten the input tensor
    shape = x.shape
    x = x.reshape((-1, shape[-1]))

    # Derive the number of frequencies and frames
    n_freqs = window_length // 2
    n_frames = int(math.ceil(shape[-1] / hop_length)) + 1

    # Center pad the signal
    if center:
        x = F.pad(x, (hop_length, (n_frames + 1) * hop_length - shape[-1]),
                  mode=pad_mode)

    # Initialize the mdct
    x_mdct = torch.zeros((x.shape[0], n_freqs, n_frames), device=x.device)

    # Prepare the pre&post processing
    preprocess_arr = torch.exp(
        -1j * torch.pi / window_length *
        torch.arange(0, window_length, device=x.device)).unsqueeze(0)
    postprocess_arr = torch.exp(
        -1j * torch.pi / window_length * (window_length / 2 + 1) *
        torch.arange(0.5, window_length / 2 + 0.5,
                     device=x.device)).unsqueeze(0)

    # Loop over time frames
    i = 0
    for j in range(n_frames):
        # Window the signal
        x_segment = x[:, i:i + window_length] * window
        i = i + hop_length

        # Compute the fourier transform of the windowed signal
        x_segment = torch.fft.fft(x_segment * preprocess_arr)

        x_mdct[:, :, j] = torch.real(x_segment[:, :n_freqs] * postprocess_arr)

    x_mdct = x_mdct.reshape(shape[:-1] + x_mdct.shape[-2:])

    return x_mdct

Hi @Kinyugo
Welcome to torchaudio project, and thanks for the proposal.
This sounds a good addition to torchaudio. cc @pytorch/team-audio-core
Here is the general steps to add it to torchaudio.

Add stateless implementation (the base function) to torchaudio.functional. It seems that the implementation suits in functional.py near spectrogram / mel scale.
[can be deferred] Add object-oriented implementation, which wraps the functional and cache the window and other parameters, to torchaudio.transforms.
Add test* to torchaudio_unittest/functional. The difficulty here is that how to define the "correctness" of implementation. One way to do is to port the mdct as utility and compare the result against them. 4. [Optional] If the implementation should support autograd and torchscript, these tests should be added as well. This should be easy as the tests fixtures are already there so it would be just a few lines of code.
Add documentation for functional and transforms.

*If you are not used to writing a test, let us know, we can take over.
Notes:

You can open a PR at any point so that we can comment on the code directly. No need to finish the above steps before opening a PR.
If at some point, it becomes difficult for you to keep working on the contribution, let us know, we are happy to take over and see it lands.

Now about the implementation;

I think looping through the frames and calling fft each time will be slow. At a glance, there seems to be no dependency across time axis. Would it be possible to vectorize the computation there? (stack the segments and call fft once)
Though the existing implementations (Spectrogram and such) accepts callable as window function, this is unnecessary and does not add value. (because users can just call the function and create window before calling the function) So I suggest to remove it.

Also please refer to CONTRIBUTING.md for setting up the development environment.

@mthrok  Thank you for the guidelines on how to contribute.
About the implementation:

Borrowing an idea from other implementations, I think it is possible to define the operations using 1D convolutions so that we ditch the for loops.
The window as a callable is a convenience to allow the user to pass either kaiser bessel derived or vorbis window functions both of which will be implemented.

Let me know of your thoughts and suggestions on how we can go about it.

@mthrok I managed to get a working vectorized implementation of the MDCT algorithm. However, I have trouble setting up the development environment on my local machine to open a PR. How do I go about it?

Hi @Kinyugo, you can refer to Contributing.md to get started with dev environment set up and process. Feel free to let us know if you encounter any errors while doing so!

Hello @carolineechen. I followed the steps in the contributing guide but ran into some problems installing the package i.e: python setup.py develop. While building sox I am running into an error:
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install']' returned non-zero exit status 1.

Hi @Kinyugo, can you post the full error message, as well as your environment, so we can get a better idea of what the error is?
To get the environment versions, you can use
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

Full Error Message
/home/kinyugo-maina/Learning/ML/AudioGeneration/torchaudio/audio/third_party/sox/../install/lib/libvorbisfile.a  /home/kinyugo-maina/Learning/ML/AudioGeneration/torchaudio/audio/third_party/sox/../install/lib/libvorbis.a  /home/kinyugo-maina/Learning/ML/AudioGeneration/torchaudio/audio/third_party/sox/../install/lib/libogg.a  /usr/lib/gcc/x86_64-linux-gnu/9/libgomp.so  /usr/lib/x86_64-linux-gnu/libpthread.so && :
/usr/bin/ld: cannot find -lmkl_intel_ilp64
/usr/bin/ld: cannot find -lmkl_core
/usr/bin/ld: cannot find -lmkl_intel_thread
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/kinyugo-maina/Learning/ML/AudioGeneration/torchaudio/audio/setup.py", line 182, in <module>
    _main()
  File "/home/kinyugo-maina/Learning/ML/AudioGeneration/torchaudio/audio/setup.py", line 147, in _main
    setup(
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
    self.run_command(cmd)
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
    cmd_obj.run()
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/command/develop.py", line 34, in run
    self.install_for_development()
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/command/develop.py", line 114, in install_for_development
    self.run_command('build_ext')
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
    self.distribution.run_command(command)
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
    cmd_obj.run()
  File "/home/kinyugo-maina/Learning/ML/AudioGeneration/torchaudio/audio/tools/setup_helpers/extension.py", line 78, in run
    super().run()
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 84, in run
    _build_ext.run(self)
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
    self.build_extensions()
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
    self._build_extensions_serial()
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/kinyugo-maina/Learning/ML/AudioGeneration/torchaudio/audio/tools/setup_helpers/extension.py", line 153, in build_extension
    subprocess.check_call(["cmake", "--build", "."] + build_args, cwd=self.build_temp)
  File "/home/kinyugo-maina/miniconda3/envs/torchaudio/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install']' returned non-zero exit status 1.

Environment
Collecting environment information...
PyTorch version: 1.14.0.dev20221023
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: KDE neon User - 5.26 (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.24.1
Libc version: glibc-2.31

Python version: 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:35:26) [GCC 10.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.31
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] torch==1.14.0.dev20221023
[conda] blas                      2.116                       mkl    conda-forge
[conda] blas-devel                3.9.0            16_linux64_mkl    conda-forge
[conda] libblas                   3.9.0            16_linux64_mkl    conda-forge
[conda] libcblas                  3.9.0            16_linux64_mkl    conda-forge
[conda] liblapack                 3.9.0            16_linux64_mkl    conda-forge
[conda] liblapacke                3.9.0            16_linux64_mkl    conda-forge
[conda] mkl                       2022.1.0           h84fe81f_915    conda-forge
[conda] mkl-devel                 2022.1.0           ha770c72_916    conda-forge
[conda] mkl-include               2022.1.0           h84fe81f_915    conda-forge
[conda] pytorch                   1.14.0.dev20221023    py3.10_cpu_0    pytorch-nightly
[conda] pytorch-mutex             1.0                         cpu    pytorch-nightly

could you try downgrading mkl to version 2021.2.0, and then running
python setup.py clean
python setup.py develop

The issue is still persistent.

Hi @Kinyugo, sorry for the late reply, looks like this might be related to #2784 and we have a team member looking into this, hopefully it can be resolved soon and we'll update this issue when it is.
As you already have a working version offline, if you would like, it might also be possible for you to create a draft PR anyways in the meantime [but harder to verify if tests compile/pass locally], and we could provide some preliminary context.

Hello @carolineechen, I will look into creating a draft PR, as I would also appreciate some feedback on some design choices that I made.
Godspeed on resolving the issue. Thanks for your support.

Hi @mthrok & @carolineechen, I apologize for taking too long to get back to this. I have made an implementation of the MDCT algorithm in PyTorch here. Kindly let me know your thoughts. I will open a draft PR soon. Kindly help me out with the testing as I cannot setup the development environment on my machine. I will appreciate any help or feedback. Thanks for your support.

cc @nateanl

Not to hijaak the thread, but @Kinyugo what are your thoughts on PQMF?


Server crashes on exit

This has been going on for a bit, and is probably related to the cleanup code.  It doesn't really cause problems since it's only crashing after you request RAIS to exit... but it still is really annoying.

This is actually a problem after all, and potentially a big one.  Plugins don't get their Teardown methods run when this crash occurs.  In some cases it won't matter because the user has no plugins; and in some cases it's a concern, but only a minor one, such as losing a few JSON trace results.
But it could be devastating in some situations, such as the old S3 plugin which relied on Teardown to clean up the filesystem, or if somebody uses the JSON tracer plugin with a long time between writes, where a server crash could cost a lot of information.

It's worth noting that this seems to be new behavior, so it's probably a change to Go - you're never supposed to do what I did (passing nil in as a context.Context), but it only recently started crashing.  So this probably doesn't affect anybody.  Yet.


Annotation ??!

actually your module not works with classes that have annotation
because it doesn't minify the doc block above the variable ... just ignoring them
or your module does not support comments !

Doctrine doesn't work without annotations!

@bacinsky I'm interested in what you mean by caching them like an ordinary config.php file - could you please elaborate?
@seyfer Based off @EvanDotPro suggestion, I think the quickest approach would be to create a config key for telling superluminal which classes (or namespaces) to skip when caching.
ex:
// module.config.php
return array(
    'superluminal' => array(
        'exclude' => array(
            'Application\Entity',
            'OtherModule\NonEntityFolderWithEntity\SomeEntity'
        )
    )
    ....
);

I think this should be pretty straightforward to implement in my fork - I'll take a go at it. I also think we could keep an array of known classes/namespaces which break this cache, and simply ignore them ( #21 and I believe #24 for Zend\Db )


Add more repositories and zip archives

More Repositories
This adds all the current/old JavaScript-focused projects to the archive.

I will fix the security issues later.


Possible to load external SVG file?

Is it possible to load an external SVG file?

Yes, it's possible.
I guess that this issue can help you https://github.com/chrvadala/react-svg-pan-zoom/issues/44

Thank you!


Support Jenkins CI

This patch adds a Jenkins file example, it also modifies the E2E
kind script to support a new mode of operation: the bash service.
The modification was done to support running the scripts in a limited
privilege shell.

Another jenkins job is configured to update the admin list. It needs to be run from a PR and can be triggered using /update-admins

@martinkennelly @adrianchiris can you guys PTAL, thanks.

Thanks @AbdYsn ! will review this soon

testing mellanox CI:
/test-all

/test-all

/test-all

/skip-all

/test-e2e-nvidia-cx5

/test-e2e-nvidia-cx5

It seems the CI is not triggered, maybe I need to wait until this PR is merged so that admin list takes effect?

Is there a way to check the jenkins log? I didn't see the Details link in the Nvidia e2e test CI (maybe it is because the test is marked as skipped now)?

/test-all

/test-all

I assume as I am not on Admin list, I cannot run Jenkins job?
@AbdYsn

/update-admins Eoghan1232

/test-e2e-nvidia-cx5

It seems the CI is not triggered, maybe I need to wait until this PR is merged so that admin list takes effect?

That actually because there is no such trigger. currently because there is only a single test, and i did not want to tie it to CX5 devices, i did not add a subtest to job trigger, and it can be trigger using the /test-e2e-nvidia-all trigger. Also since the NVIDIA jenkins instance can not be accessed outside the company, the polling mechanism is used to trigger the jobs against the webhook mechanism. so there is a delay of at most 5 minutes until the trigger will take effet.

Is there a way to check the jenkins log? I didn't see the Details link in the Nvidia e2e test CI (maybe it is because the test is marked as skipped now)?

my mistake, forgot to enable them in the CI configuration, will do that shortly

update-

Correct, If you want to be added to the admin-list, then a patch should be proposed to add you to the admin list, and for you to actually be added, on the proposed patch a current admin should comment /update-admins and then merge the commit. A note here is that there is a daily job that would read the main branch admin-list and update the job admin list accordingly, so the admin list will be overridden once each day to align it with main branch. The other way to update it is to contact the maintainer of the verndor CI and ask him to update it manually.

Ah, I see.
Just to clarify.
Steps:
PR -> adding user to the admins list. (admin-list.yaml)
Admin comments: '/update-admins' before it is merged.
Then merge after.

/test-e2e-nvidia-all

/test-all

/test-all

/test-e2e-nvidia-all

/test-e2e-nvidia-all

/test-e2e-nvidia-all

@zshi-redhat can you try triggering it now with any of the supported phrases?

/test-e2e-nvidia-all

/test-all

I assume as I am not on Admin list, I cannot run Jenkins job? @AbdYsn

Correct, If you want to be added to the admin-list, then a patch should be proposed to add you to the admin list, and for you to actually be added, on the proposed patch a current admin should comment /update-admins and then merge the commit. A note here is that there is a daily job that would read the main branch admin-list and update the job admin list accordingly, so the admin list will be overridden once each day to align it with main branch. The other way to update it is to contact the maintainer of the verndor CI and ask him to update it manually.

Ah, I see. Just to clarify. Steps: PR -> adding user to the admins list. (admin-list.yaml) Admin comments: '/update-admins' before it is merged. Then merge after.

Yes, if you want to have the admin list updated immediately.

Checking the logs, /test-all

@AbdYsn BIG thanks for working on it ! 🚀