'google is undefined'

Hello,
I've tried to test the provided Sample App on my Google Nexus 4 (Stock 5.1.1), but unfortunately I get the following error using Google Chrome's Web Inspector:

Of course it does also not work, when the smartphone is not attached to my computer...
Is there any point, which I have missed? Do I have to specify any 'google'-poperty?
Would be awesome to get some feedback.
All the best,
Dominik

SampleApp hasn't been upgraded to use new Cordova whitelist features.
You can either implement the whitelisting (to allow requests to
maps.google.com) or disable whitelisting.
https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md
On Monday, August 3, 2015, Dominik<EMAIL_ADDRESS>wrote:

Hello,
I've tried to test the provided Sample App on my Google Nexus 4 (Stock
5.1.1), but unfortunately I get the following error using Google Chrome's
Web Inspector:
[image: backgroundgeolocation]
https://cloud.githubusercontent.com/assets/3056292/9037644/a6bd3332-39ed-11e5-8491-6fb5aa6bdc49.PNG
Is there any point, which I have missed? Do I have to specify any
'google'-poperty?
Would be awesome to get some feedback.
All the best,
Dominik
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/223
.

--
Snet form Gmail Mobile

$ cordova plugin add cordova-plugin-whitelist
rebuild and run.
On Mon, Aug 3, 2015 at 6:18 AM, Chris Scott<EMAIL_ADDRESS>wrote:

SampleApp hasn't been upgraded to use new Cordova whitelist features.
You can either implement the whitelisting (to allow requests to
maps.google.com) or disable whitelisting.
https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md
On Monday, August 3, 2015, Dominik<EMAIL_ADDRESS>wrote:

Hello,
I've tried to test the provided Sample App on my Google Nexus 4 (Stock
5.1.1), but unfortunately I get the following error using Google Chrome's
Web Inspector:
[image: backgroundgeolocation]
https://cloud.githubusercontent.com/assets/3056292/9037644/a6bd3332-39ed-11e5-8491-6fb5aa6bdc49.PNG
Is there any point, which I have missed? Do I have to specify any
'google'-poperty?
Would be awesome to get some feedback.
All the best,
Dominik
—
Reply to this email directly or view it on GitHub
https://github.com/christocracy/cordova-plugin-background-geolocation/issues/223
.

--
Snet form Gmail Mobile

--
Chris Scott
Transistor Software http://www.transistorsoft.com

Thanks :blush:
Adding the Whitelist Plugin solved the problem that 'google' is undefined. Unfortunately I have another issue that the background geolocation is not called, but I think I will open a separate issue for this.


It does not work as expected on value based texts

This is the text in english:
"cancelationDay": "{count, select, 1{Free cancelation {count} day before}  other{Free cancelation {count} days before}}",
and this is what I get when it's translated to German:
"cancelationDay": "{count, select, 1{Kostenlose Stornierung{count} Tage vorher} other{Kostenlose Stornierung count} Tage vorher}}",
as you see in the translated text in "other",  "count" shall be inside {} but its not. It's the same for all other languages.
it shall be {count} but it's count}
Also it does not respect the spaces. cancelation {count} and in translated it's Stornierung{count}
auto_translator: ^1.1.0

@amin79 Please update the auto_translator dependency in pubspec.yaml to the following:
auto_translator:
    git:
      url: https://github.com/theLee3/flutter_auto_translator.git

This will pull the 2.0.0 release candidate that I just pushed to Github. I have to update the docs and example before publishing. I would love to know if it resolves your issue.

Hello. Thank you for your work.
But I got following error:
Unhandled exception:
type '_Map<String, dynamic>' is not a subtype of type 'String'
#0      _buildTemplate (package:auto_translator/src/main.dart:206:53)
#1      _translate (package:auto_translator/src/main.dart:117:33)
#2      runWithArguments (package:auto_translator/src/main.dart:51:11)

@theLee3 I did it but still was V1. Then I deleted the .pub-cache folder and now I get this error:
Could not find a file named "pubspec.yaml" in https://github.com/theLee3/flutter_auto_translator.git

I tried once more and was able to get it run finally.
Now get this error:
RangeError (index): Invalid value: Not in inclusive range 0..34: -1
#0      _StringBase.[] (dart:core-patch/string_patch.dart:258:41)
#1      Translator._removeAddedWhitespace (package:auto_translator/src/translator.dart:130:20)
#2      Translator.translate (package:auto_translator/src/translator.dart:59:15)

#3      _translate (package:auto_translator/src/main.dart:168:21)

#4      runWithArguments (package:auto_translator/src/main.dart:49:5)

BTW. it seems that the problem I had for translation is solved in this version.

Well at least there's that! 🥳 LOL
I think I tracked down the last issue. One edge case unaccounted for.
Please run flutter pub upgrade and try again. Hopefully this will be the last time🤞
Ensure that the version printed to the console is 2.0.0+1.

Hi. I tested it. Everything works :)
Thank you for your support


Some general questions about OpenFPGA

1-We have a tech-mapped netlist. When I synthesize a netlist from Design Compiler it generates its sdf file too. So that we can run realistic simulations on it. However now we have auto-mapped netlist already. How can we obtain its sdf file? Also there are sdc timing constraints generated. However those are adapted to PTM_40nm technology. For example there is a constrained as "set_max_delay -from fpga_top/cbx_1__0_/chanx_left_in[0] -to fpga_top/cbx_1__0_/chanx_left_out[0] 2.272500113e-12" in cbx_1_0.sdc. How and where can we define that delay value for our technology. I'm trying to map an architecture to our 250nm technology.
2- In SOFA and CLEAR fpgas k4n8 architecture is preferred. Why is it? Is there a better architecture which has higher performance like k6n10 etc.?

@mattvlsi

If you have a tech mapped netlists, we suggest you to use SDC files when resynthesis on some circuits or blocks are required.

We are trying our best in OpenFPGA to generate the SDC files for you. When you see like

set_max_delay -from fpga_top/cbx_1__0_/chanx_left_in[0] -to fpga_top/cbx_1__0_/chanx_left_out[0] 2.272500113e-12

the delay number is extracted from the timing numbers defined in FPGA architecture. It is a step forward to our vision as described in https://openfpga.readthedocs.io/en/master/_images/fpga_sdc_motivation.png

However, it is not so satisfying these days. We have realized this limitation and are actively searching for a solution. Please note that due to the large number of FPGA architectures supported by OpenFPGA, auto-generation of SDC files is a difficult problem. It may take us 1 year or 2 to develop.

Therefore, currently, my suggestion to use OpenFPGA's SDC outputs as a reference and write your own SDC. In this way, you can find the best experience. If you see anything that should be updated in the SDC generator, feel free to contact us.

K4N8 is considered to a good choice for low-cost and low-power FPGAs. K6 series are in general considered as high-performance architectures. The conclusion is based on many architecture papers that have be published. See one at https://www.eecg.utoronto.ca/~jayar/pubs/ahmed/tvlsi_march_04.pdf
However, these previous papers are based on FPGAs built with full custom layouts. As we are using a new methodology, the conclusion may be changed.

Thanks @tangxifan. When you say "the delay number is extracted from the timing numbers defined in FPGA architecture", did you mean this timing numbers in openfpga arch;
<delay_matrix type="rise" in_port="in" out_port="out">         10e-12       </delay_matrix>       <delay_matrix type="fall" in_port="in" out_port="out">         10e-12       </delay_matrix>
What exactly is this "10e-12" value? Is it rise/fall transition time or propagation delay high-to-low/low-to-high?

@mattvlsi

The timing value on CBs are computed by using the arch timing parameters with a delay model of  R*Cout + Tdel

https://github.com/lnis-uofu/OpenFPGA/blob/70e2330f1740786ac7a108fd4182d63ab75069d3/openfpga_flow/vpr_arch/k6_frac_N10_tileable_adder_chain_dpram8K_dsp36_fracff_40nm.xml#L374

The one you found is some cell-level propagation delay, which are used when --include_timing option is enabled when running the write_fabric_verilog command.

https://openfpga.readthedocs.io/en/master/manual/openfpga_shell/openfpga_commands/fpga_verilog_commands/#cmdoption-include_timing
They are mainly used to help simulator converge.

Thanks @tangxifan


Support setting slowmode on thread creation

Summary
This PR adds support for the slowmode_delay parameter on TextChannel.create_thread and Message.create_thread.
It also adds the previously missing invitable parameter to TextChannel.create_thread, which was already supported in HTTPClient.start_thread_without_message.
The slowmode parameter on channel threads (not message threads) doesn't seem to be deployed yet, sending it currently does not enable slowmode. I'll keep this PR as a draft for now because of that, and check back in a while to make sure the change is actually deployed.
fixed.
ref:
https://github.com/discord/discord-api-docs/commit/d56be860c5dd4c04e80337556d82eb3a04f971a2
Checklist

[x] If code changes were made then they have been tested

[x] I have updated the documentation to reflect the changes
[x] I have formatted the code properly by running black .

[ ] This PR fixes an issue
[x] This PR adds something new (e.g. new method or parameters)
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

update re slowmode on channel threads:

The issue with setting slowmode on channel thread creation seems to be fixed, it now works for both thread types, as expected.


Droppy in Docker misses users

I've faced with the issue in the second time already. After some time running droppy in docker container empties configured users. I use this image silverwind/droppy with the latest tag (droppy 11.0.9 currently)

A long time ago, one of my instances also lost the users (reverting to showing the initial user creation), I have no idea why. If you have any steps to reproduce it, that'd be great.

It happens to me when i manually edit 'db.json'
I do that to 'undo' the shared links i created.


feat: Add support for numbered checkboxes

Description
This PR addresses the following discussion topic: https://github.com/obsidian-tasks-group/obsidian-tasks/discussions/1011
Added support for numbered checkboxes in obsidian-tasks
Expand the list marker regex to recognize either a - or * as it did before, in addition to a numeric identifier (such as 1.).

Motivation and Context
There are times when it's useful to create a numbered list of steps that must be followed in a particular sequence that also qualify as tasks that should be checked off when completed. Obsidian already supports numbered checkboxes, this change allows them to also be registered by obsidian-tasks.

How has this been tested?
Two new tests have been added to Task.tests.ts and both are passing. I've also built obsidian-tasks locally and verified that the change works as intended. To verify I built and installed obsidian-tasks into my test vault. I added some numbered checkboxes and verified that they showed up in my task list.

Screenshots (if appropriate)

Types of changes

Changes visible to users:

[ ] Bug fix (prefix: fix - non-breaking change which fixes an issue)
[x] New feature (prefix: feat - non-breaking change which adds functionality)
[ ] Breaking change (prefix: feat!! or fix!! - fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (prefix: docs - improvements to any documentation content)
[ ] Sample vault (prefix: vault - improvements to the Tasks-Demo sample vault)

Internal changes:

[ ] Refactor (prefix: refactor - non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)
[x] Tests (prefix: test - additions and improvements to unit tests and the smoke tests)
[ ] Infrastructure (prefix: chore - examples include GitHub Actions, issue templates)

Checklist

[x] My code follows the code style of this project and passes yarn run lint.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] My change has adequate Unit Test coverage.

Terms

[x] My contribution follow this project's contributing guide
[x] I agree to follow this project's Code of Conduct

Wow. Thank you very much indeed.
If I understand correctly, you've made it so that tasks in numbered lists are recognised as tasks and can be searched.
That is a big step forward!
Rendering results.
Have you had any thoughts about how the numbers should be reflected in Tasks' results blocks?
I have not yet had time to test this out in my own vault, but looking at your screenshots (thanks!) and looking at this comment... https://github.com/obsidian-tasks-group/obsidian-tasks/discussions/1011#discussioncomment-3371236 ...
I think users may well have the expectation that the bullet numbers would be displayed when the tasks are rendered in tasks results.
I think that is a hard problem in Tasks because:

the tasks are not necessarily rendered in the order that they were in the original file, so I'm unsure how Obsidian would render them
I think it's valid to have a bunch of numbered items all begin 1. and for them to be each given a sequential number. Would users expect them to be rendered with the same number in Tasks results?

User assumptions
I think there may be a user assumption that by putting tasks in numbered lists, there would be control over the order that they are in tasks blocks - or that it may be a way to fake task dependencies.
Conclusions and Docs
I am very OK with this PR being a nice incremental improvement to tasks, and being a releasable step.
It allows users to find information that they previously could not.
However, from my comments above, I think it's likely I will get a little bit of a deluge of bug reports from users to fix the things I mention above.
Therefore, for this to be released, it would be important for the limitations in rendering of tasks in numbered lists to be clear to users.
The docs are a bit of a mess in terms of how clear limitations are, so I think it's probably best if I update the docs and add these limitations.

I've considered the fact that the numbers won't be rendered in the Tasks block, but I figured for now it would be much easier to make a one line regex change than to try and capture and restore the numbers for each task.
I was also thinking about how it would show up for the user if they had multiple numbered lists from multiple different pages of notes showing up on the Tasks list, if they didn't have any groupings set then they would see repeated numbers which could be confusing.
And for my use case at least this behavior is fine, although I can see how other users might want to maintain the numbering.

I've considered the fact that the numbers won't be rendered in the Tasks block, but I figured for now it would be much easier to make a one line regex change than to try and capture and restore the numbers for each task.

Yes, I totally agree.
I also forgot to mention that someone is working on the rendering code at the moment as well, and so if that were changed in this PR, it would just create a conflict to be resolved later...

I was also thinking about how it would show up for the user if they had multiple numbered lists from multiple different pages of notes showing up on the Tasks list, if they didn't have any groupings set then they would see repeated numbers which could be confusing.

Ah right, OK, so yes, we are agreeing!

And for my use case at least this behavior is fine, although I can see how other users might want to maintain the numbering.

And I think if it matches your use case, then there will be other people that it will help.

Hi @BrianKmdy,
OK it looks good. I will then:

test it out in Obsidian as soon as I can (just as a formality)
go ahead and merge it
update the docs
release it

Perfect, thank you!

test it out in Obsidian as soon as I can (just as a formality)

Here are a few things I found:

Tasks: Create or edit task:

When I edit a task in a numbered list, and save it, it us converted to a bullet/unnumbered list

Complete task by clicking checkbox - Reading mode

converted to a bullet/unnumbered list

Complete task by clicking on checkbox - Tasks code block results

converted to a bullet/unnumbered list

Sorry but I'm afraid that I think this means that the feature is not yet ready for release. This effectively is losing information from the user's vault.
In order to preserve the note's data, the Task class currently retains the initial indentation in each task's line:
https://github.com/obsidian-tasks-group/obsidian-tasks/blob/42783a468c6e0034efeb020384e410405a9a6ee2/src/Task.ts#L128
It currently only retains whitespace in that line - and when updating the task, such as editing it or completing it, it writes out the indentation, to retain formatting.
I think this testing shows that somehow the Task needs to also remember the list prefix.
Whilst testing this, I discovered the same problem with tasks beginning * - and logged that in #1371.
I'm currently inclining towards fixing #1371 first, because then it should be quite easy to apply your fix here, knowing that the editing will Just Work (TM).

Whilst testing this, I discovered the same problem with tasks beginning * - and logged that in #1371.
I'm currently inclining towards fixing #1371 first, because then it should be quite easy to apply your fix here, knowing that the editing will Just Work (TM).

Actually, on reflection, it will be easier to merge this first and then fix #1371, rather than one of us probably having to deal with merge conflicts if I do it in the other way round.

Thanks very much indeed for doing this @BrianKmdy!

This has just been released in Tasks 1.20.0. Thanks again for the lovely contribution, @BrianKmdy.


source/lsp: fix check for clients presence

While vim.lsp.buf_get_clients() returns an array that uses numbers as
indices, those numbers are not guaranteed to start at 1, so using #
isn't really correct.
Closes #159.

Thanks for fixing this!


sum tree capacity in prioritized experienced replay

Hi @MorvanZhou, thanks for this repo.
Recently I've tried the DQN with prioritized replay, and I found that there may be mistakes in the original implementation of SumTree if the capacity of memory is not exponential of 2.
self.tree = np.zeros(2 * capacity - 1)
In my understanding, the implementation of sum tree is a complete binary tree, so the number of  internal nodes will be pow(2, ceil(log( capacity, 2))) - 1.
The tree needs at least num_of_internal_nodes + capacity.
Is this right?
Thanks

Hi,
Please refer to this link as my sumtree is a modified version based on this introduction.
https://jaromiru.com/2016/11/07/lets-make-a-dqn-double-learning-and-prioritized-experience-replay/
In this blog, there is a figure about a typical structure of the sumtree.

Sorry, it's my misunderstanding.
The sum-tree implementation is different from binary heap. It's not a complete binary tree.
Thanks.


Notification Not working as expected with different configurations

I have created two caches with different configurations ,with each configuration points different database instance in redis. When i update/remove an key in one cache it's getting notified to both the caches.
Expectation:
As cache are different and different configurations with different database instances. Notification should be made with in the same configuration.
var cacheConfig = ConfigurationBuilder.BuildConfiguration(settings =>
        {
            settings
            .WithSystemRuntimeCacheHandle("inProcessCacheA").WithExpiration(ExpirationMode.Absolute, TimeSpan.FromSeconds(15))
            .And
            .WithRedisConfiguration("redisCacheA", config =>
            {
                config.WithAllowAdmin()
                    .WithDatabase(0)
                    .WithEndpoint("<IP_ADDRESS>", 6379);
            })
            .WithMaxRetries(1000)
            .WithRetryTimeout(100)
            .WithRedisBackplane("redisCacheA")
            .WithRedisCacheHandle("redisCacheA", true); //.WithExpiration(ExpirationMode.Absolute, TimeSpan.FromSeconds(40))//.
            ;
        });

        var cacheConfig1 = ConfigurationBuilder.BuildConfiguration(settings =>
        {
            settings
            .WithSystemRuntimeCacheHandle("inProcessCacheB").WithExpiration(ExpirationMode.Absolute, TimeSpan.FromSeconds(15))
            .And
            .WithRedisConfiguration("redisCacheB", config =>
            {
                config.WithAllowAdmin()
                    .WithDatabase(1)
                    .WithEndpoint("<IP_ADDRESS>", 6379);
            })
            .WithMaxRetries(1000)
            .WithRetryTimeout(100)
            .WithRedisBackplane("redisCacheB")
            .WithRedisCacheHandle("redisCacheB", true) //.WithExpiration(ExpirationMode.Absolute, TimeSpan.FromSeconds(40))//.
            ;
        });
        var cacheA = new BaseCacheManager<string>(cacheConfig);
        var cacheB = new BaseCacheManager<string>(cacheConfig1);
        cacheA.GetOrAdd("CacheA", "KeyValue Vijay");
        cacheB.GetOrAdd("CacheB", "KeyValue Vijay");

       // cacheA.OnAdd += CacheA_OnAdd1;
     //   cacheB.OnAdd += CacheB_OnAdd1;

        cacheA.OnRemove += CacheA_OnRemove1;
        cacheB.OnRemove += CacheB_OnRemove1;
        cacheA.OnUpdate += CacheA_OnUpdate;
        cacheB.OnUpdate += CacheB_OnUpdate1;
        cacheA.Update("CacheA", s => "Updated Value fOR CACHE a Hello!");
      cacheA.Remove("CacheA");
        Console.ReadKey();

    }

    private static void CacheB_OnUpdate1(object sender, CacheManager.Core.Internal.CacheActionEventArgs e)
    {
        Console.WriteLine("Update CacheA " + e.Key + e.Origin);
    }

    private static void CacheA_OnUpdate(object sender, CacheManager.Core.Internal.CacheActionEventArgs e)
    {
        Console.WriteLine("Update CacheA " + e.Key + e.Origin);
    }

@vijay8059 This is acutally by design right now. Although I might change the behavior slightly because of exactly that reason and because it can be confusing.
But, in general, the backplane can be configured with a channelName.
Right now, if you do not pass any channelName, a default name will be used.
This is way you are receiving messages from both cache managers, both backplanes are connected to the same pub/sub channel...
You can change that behavior by passing in a custom channel name in .WithRedisBackplane("redisCacheB", "<channelName>")...
I thought about changing the default fallback using the configuration key instead. But I'm not really sure as that can be different by mistake, or could also be the same by mistake, so, it doesn't really solve the "issue". That's why it is like that today ;)
hope that makes sense

seems you're good /closing for now

Yes. Thanks for the reply. It worked for me.


nan from the example notebooks if set param_scale to 0.1

The neural network and data loading with pytorch example notebook is a bit confusing in the sense that:

param_scale is defined to be 0.1 but is never used (it was never passed into the random_layer_params function, as a result scale there is always of default value 1e-2)
If one actually use this param_scale of value 0.1, the training will actually return nan errors.

I couldn't figure out the root cause of those nans but I suspect it's some numerical instability issue, maybe related to #475.
I would suggest to remove the separate declaration of param_scale from the notebook.
Also if anyone can point me in the right direction of debugging the nans from a large init value I'm more than happy to dig deeper.

This appears to have been fixed in https://github.com/google/jax/pull/8195


Fix argo's repository fuzzer

GenerateManifests takes a 9th mandatory parameter gitRepoPaths io.TempPaths.

Thanks, @kyakdan, can you sign the commit?

Just signed the commit!


[Thaumcraft 6 Beta 13] Infusion Enchanting only can use plain enchanted books

When trying to do infusion enchanting with the special enchantments from the thaumonomicon, you need a completely plain Enchanted Book like the one obtainable through /give "player" enchanted_book other wise the infusion won't go through. No other enchanted books work whether they're from vanilla or other mods.

Hmm, I'm using a self modified beta 15 because the normal one is crashing because of the particle error, but on my side all enchanted books work without problems when using the infusion enchantment. Do you have other mods installed?

I'm sorry that was a typo, I've edited it to say Beta 13, must've had 15 on the brain from trying to get it to work. Thanks for noticing, I guess it's been fixed from 13 to 15.

Hmm, is your tool/sword at 100% health? I think I read somewhere about a bug where it doesn't work with damaged items but can't find the issue anymore...

The tool was damaged already, but it worked once I used the command for the enchanted book and put that in instead of a naturally obtained one.

So is this still an issue?

As of beta 16, yes and no. It looks like I can now use vanilla enchantments but modded enchantments won't be taken.

This is still a problem in Beta 26. Mods that alter vanilla enchants, even though they don't alter the books (such as Apotheosis) seem to cause all the books to not work, again. Only the book from "/give @p enchanted_book" works.


Add icon-art-oem-test

Due to the recent changes (refactoring, config.yaml etc.) the icon-art-oem-test case had to be adapted. This PR re-enables the Jenkins test for this case.
Closes https://github.com/C2SM/processing-chain/issues/20

launch jenkins


Azure Stack: Wrong default for Availability Set Values fault and update domain

Versions (please add them if you have more releases for this issue)
CPI      Version: 29
BOSH     Version:"264.3.0"
CF       Version:
Diego    Version:
Stemcell
Version:3468.5
Distro:

[x] Ubuntu
[ ] CentOS

Environment

Azure Environment:

[ ] Azure
[ ] AzureChinaCloud
[ ] AzureUSGovernment
[ ] AzureGermanCloud
[x] AzureStack
[ ] Others:

Location: (e.g. East US)
Subscription ID:
Resource Group Name:
[ ] Use Managed Disks

Issue Details
When using availability sets and not specifying concrete values for the amount of update and fault domains in the bosh manifest, the default from Azure is used on Azure Stack (3 fault, 5 update domains).
Azure Stack is limited to 1 update and 1 fault domain, so that only these values can be used for availability sets on Azure Stack.
When specifying
cloud_properties:

platform_fault_domain_count: 1

platform_update_domain_count: 1

all works fine.
When not specifying any characteristics in the bosh manifest, an availability set with 3 fault and 5 update domains is created. When advising more then 1 VM to this availability set, Azure Stack runs into trouble.

Thanks for raising the issue.
Two options:

Option 1: Hard-code the default value to 1 for Azure Stack. Same behavior as Azure.
Option 2: Add two new properties platform_fault_domain_count and platform_update_domain_count for Azure Stack in CPI global configuration. You can set the default values through them.

Which option do you prefer?

Hi Bin,
For me both options sound fine. Option 2 is more future-oriented as these limitations of Azure Stack might change over time.
Thanks so much for your support
From: Bin Xia<EMAIL_ADDRESS>Sent: Freitag, 15. Dezember 2017 09:57
To: cloudfoundry-incubator/bosh-azure-cpi-release<EMAIL_ADDRESS>Cc: Baur, Claudia<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [cloudfoundry-incubator/bosh-azure-cpi-release] Azure Stack: Wrong default for Availability Set Values fault and update domain (#350)
Thanks for raising the issue.
Two options:

Option 1: Hard-code the default value to 1 for Azure Stack. Same behavior as Azure.
Option 2: Add two new properties platform_fault_domain_count and platform_update_domain_count for Azure Stack in CPI global configurationhttp://bosh.io/docs/azure-cpi.html#global. You can set the default values through them.

Which option do you prefer?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/issues/350#issuecomment-351950080, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATP7A7myzF0nRLdnG1fjicGE5NQQWQOaks5tAjRwgaJpZM4RDJa7.


fix desktop-viewer@next template for node16

in node 16, the newer versions of npm (7+) are stricter on peer deps, so the desktop templates failed with:

updated from @reach/router@1 -> react-router@6, see:

https://reactrouter.com/docs/en/v6/upgrading/reach
https://reactrouter.com/docs/en/v6/upgrading/v5

also made reality-data-client a real dep in the base viewer pkg

merging with admin priveleges. john tested locally on windows and runs fine on his end


v0.6.1 release?

Commit 41d2e56edca2e11b468ee92247ea873796d844f5 bumped the version, shouldn't there be a release?

Thanks for the reminder! The latest release should now be available.

Thank you.


Getting Connection error while running in Local

While running the code, I am getting this error
openai.error.APIConnectionError: Error communicating with OpenAI: Please check proxy URL. It is malformed and could be missing the host.
Also what to be given in API_Base and proxy in Config file?

If you need a proxy or API_ Base, then you need to set the keyword "PROXY" in config (it always be“ http://<IP_ADDRESS>: {port} "),  keyword" API_ BASE "(it always be" https://*****/v1 "), generally speaking, only one needs to be filled in for proxy and api_base

While running the code, I am getting this error
openai.error.APIConnectionError: Error communicating with OpenAI: Please check proxy URL. It is malformed and could be missing the host.
Also what to be given in API_Base and proxy in Config file?

If you need a proxy or API_ Base, then you need to set the keyword "PROXY" in config (it always be“ http://<IP_ADDRESS>/: {port} "), keyword" API_ BASE "(it always be" https://*****/v1 "), generally speaking, only one needs to be filled in for proxy and api_base

if you don't need to use a proxy or API_ Base, you can remove these from config.

Yeah! Okay Got it
And one more doubt, does the code support any other models apart from openai?

And if I remove both Proxy and API_base
I am getting
AssertionError : PROXY error, PROXY must be http or socks

you can pull our latest repo. we have fixed it！ thx :)

https://github.com/aiwaves-cn/agents/blob/b19219b850bc3de26d4b66dc26e5f228f830923a/src/agents/LLM/base_LLM.py#L54C1-L54C1
you can check here.

I got this err
TypeError issubclass() arg 1 must be a class

could your provide detailed error messages?

2023-09-21 13:06:49.113280: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-09-21 13:06:49.113608: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples\run.py", line 6, in
from SOP import SOP
File "C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples../src/agents\SOP.py", line 18, in
from LLM.base_LLM import *
File "C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples../src/agents\LLM\base_LLM.py", line 6, in
from utils import save_logs
File "C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples../src/agents\utils.py", line 28, in
from langchain.document_loaders import UnstructuredFileLoader
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain_init_.py", line 6, in
from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents_init_.py", line 2, in
from langchain.agents.agent import (
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents\agent.py", line 16, in
from langchain.agents.tools import InvalidTool
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents\tools.py", line 8, in
from langchain.tools.base import BaseTool, Tool, tool
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\tools_init_.py", line 3, in
from langchain.tools.arxiv.tool import ArxivQueryRun
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\tools\arxiv\tool.py", line 12, in
from langchain.utilities.arxiv import ArxivAPIWrapper
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\utilities_init_.py", line 3, in
from langchain.utilities.apify import ApifyWrapper
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\utilities\apify.py", line 5, in
from langchain.document_loaders import ApifyDatasetLoader
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\document_loaders_init_.py", line 42, in
from langchain.document_loaders.embaas import EmbaasBlobLoader, EmbaasLoader
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\document_loaders\embaas.py", line 54, in
class BaseEmbaasLoader(BaseModel):
File "pydantic\main.py", line 205, in pydantic.main.ModelMetaclass.new
File "pydantic\fields.py", line 491, in pydantic.fields.ModelField.infer
File "pydantic\fields.py", line 421, in pydantic.fields.ModelField.init
File "pydantic\fields.py", line 542, in pydantic.fields.ModelField.prepare
File "pydantic\fields.py", line 804, in pydantic.fields.ModelField.populate_validators
File "pydantic\validators.py", line 696, in find_validators
File "pydantic\validators.py", line 585, in pydantic.validators.make_typeddict_validator
File "pydantic\annotated_types.py", line 35, in pydantic.annotated_types.create_model_from_typeddict
File "pydantic\main.py", line 988, in pydantic.main.create_model
File "pydantic\main.py", line 205, in pydantic.main.ModelMetaclass.new
File "pydantic\fields.py", line 491, in pydantic.fields.ModelField.infer
File "pydantic\fields.py", line 421, in pydantic.fields.ModelField.init
File "pydantic\fields.py", line 537, in pydantic.fields.ModelField.prepare
File "pydantic\fields.py", line 641, in pydantic.fields.ModelField.type_analysis
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\typing.py", line 1157, in subclasscheck
return issubclass(cls, self.origin)
TypeError: issubclass() arg 1 must be a class
PS C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples> python run.py --agent Single_Agent/customer_service/customer_knowledge.json
2023-09-21 13:10:32.130584: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-09-21 13:10:32.131405: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples\run.py", line 6, in
from SOP import SOP
File "C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples../src/agents\SOP.py", line 18, in
from LLM.base_LLM import *
File "C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples../src/agents\LLM\base_LLM.py", line 6, in
from utils import save_logs
File "C:\Users\Purvaja Ammanabrolu\Desktop\agents\examples../src/agents\utils.py", line 28, in
from langchain.document_loaders import UnstructuredFileLoader
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain_init.py", line 6, in
from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents_init_.py", line 2, in
from langchain.agents.agent import (
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents\agent.py", line 16, in
from langchain.agents.tools import InvalidTool
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents\tools.py", line 8, in
from langchain.tools.base import BaseTool, Tool, tool
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\tools_init_.py", line 3, in
from langchain.tools.arxiv.tool import ArxivQueryRun
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\tools\arxiv\tool.py", line 12, in
from langchain.utilities.arxiv import ArxivAPIWrapper
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\utilities_init_.py", line 3, in
from langchain.utilities.apify import ApifyWrapper
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\utilities\apify.py", line 5, in
from langchain.document_loaders import ApifyDatasetLoader
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\document_loaders_init_.py", line 42, in
from langchain.document_loaders.embaas import EmbaasBlobLoader, EmbaasLoader
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\document_loaders\embaas.py", line 54, in
class BaseEmbaasLoader(BaseModel):
File "pydantic\main.py", line 205, in pydantic.main.ModelMetaclass.new
File "pydantic\fields.py", line 491, in pydantic.fields.ModelField.infer
File "pydantic\fields.py", line 421, in pydantic.fields.ModelField.init
File "pydantic\fields.py", line 542, in pydantic.fields.ModelField.prepare
File "pydantic\fields.py", line 804, in pydantic.fields.ModelField.populate_validators
File "pydantic\validators.py", line 696, in find_validators
File "pydantic\validators.py", line 585, in pydantic.validators.make_typeddict_validator
File "pydantic\annotated_types.py", line 35, in pydantic.annotated_types.create_model_from_typeddict
File "pydantic\main.py", line 988, in pydantic.main.create_model
File "pydantic\main.py", line 205, in pydantic.main.ModelMetaclass.new
File "pydantic\fields.py", line 491, in pydantic.fields.ModelField.infer
File "pydantic\fields.py", line 421, in pydantic.fields.ModelField.init
File "pydantic\fields.py", line 537, in pydantic.fields.ModelField.prepare
File "pydantic\fields.py", line 641, in pydantic.fields.ModelField._type_analysis
File "C:\Users\Purvaja Ammanabrolu\AppData\Local\Programs\Python\Python310\lib\typing.py", line 1157, in subclasscheck
return issubclass(cls, self.origin)
TypeError: issubclass() arg 1 must be a class

it looks like a langchain version issue. maybe you can try pip install langchain==0.0.231?

This is the same version I am using
But the issue is persisting

This worked Jialong Wu! Thank you
But that AssertionError still exists
I can see the Mike's (customer service personnel) first message but this assertion error came up Proxy error, Proxy should be http or socks

https://github.com/aiwaves-cn/agents/blob/b19219b850bc3de26d4b66dc26e5f228f830923a/src/agents/LLM/base_LLM.py#L54C1-L54C1
you can change your code locally like this or delete this line
assert "http:" in os.environ["PROXY"] or "socks" in os.environ["PROXY"],"PROXY error,PROXY must be http or socks"
and remove "proxy" in the config

I have done that but now getting Connection error
openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/embeddings (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000206A9783A60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

can you directly communicate with openai？ if not， you should set proxy or base_url.

Does the code support any other Models other than openai?

sorry, now we only support for models based openai. but you can customize
https://github.com/aiwaves-cn/agents/blob/master/src/agents/LLM/base_LLM.py
and make sure your customized LLM class have get_response() or you can set proxy or base_url to use current models based openai.


Size issue with Trinkets mod

Netherite elytra are significantly smaller than regular elytra when used with trinkets mod.
Not a big deal, but I thought I'd bring it to your attention.

fixed in the next release


Problem Trying to Build with MSVC

After running .\setup_dependencies.bat . It says

Then when I run .\build_msvc.bat. I am getting this error.

I am new to adding and using libraries like this.
If anyone can help me with this. It would be helpful.
Thank You in advance.

Hi freetype is missing from dependencies see my fix here https://github.com/tsoding/ded/issues/41#issuecomment-1370960116


Monitor proxmox hosts with telegraf

Add proxmox monitoring to telegraf

https://github.com/letrout/home_automation/issues/53


The version 1.9.2 is an (untagged) pre-release version. The Id property is failing on Insert if the Data Type is not long

Fixed at v1.9.3.


Updating submodules.  Pulls in: < Comment and/or doc changes. / [ipc_core] Keep central socket/FD alive in sync_io::Blob_stream_mq_sender and Native_socket_stream, to avoid mayhem with user access (epoll_ctl DEL in particular) of such FDs after error detected but before object destroyed. Comments to this effect in Blob_stream_mq_sender.> / (Unrelated to ticket per se) CI pipeline: Tweak to get gcc-13 builds to work again (GitHub changed preinstalled packages)

fixes Flow-IPC/ipc_core#31

Forgoing code review:

Am owner.
No source code changes.
Minor/uncontroversial pipeline changes.
Submodule changes reviewed.

CC @wkorbe


[Style] make the content centre align also make a new navbar

What's the style idea?
We need to improve the ui and also make the new navBar having the search
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSoC'24 contributor.

Code of Conduct

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

The Idea was good but we can't apply the same approach on the mobile view. Is there any solution for that?

I'll make the navbar responsive and the center aligning can be done like we will display all the cards vertically one after other i can also improve the ui make it look more pleasing


Add callbacks

name: 'Pull request'
about: A new pull request
New Pull Request
Checklist

[ ] I am not disclosing a vulnerability.
[ ] My code is conform the code style
[ ] I have made corresponding changes to the documentation
[ ] I have updated Typescript definitions when needed

Issue Description

Related issue: #Admin Issue
Solution Description
Add Callbacks

onCopy
onReveal

Looks nice 🚀
My bad i thought this was already present in credentials but it was in copy button 🙇🏻


Feature Request: Allow any type of object to be rendered as and Item and Group Title

It would be nice to be able to render React Components as the Items and Group Titles.
At the very least it would be helpful to be able to render HTML so that the items can have line breaks in them.
Here is a nice project that uses cell renderers to render any type of content in a table cell: https://github.com/tannerlinsley/react-table

I think this not easy to do because the items are scaled depending on the width. But I agree it would be a cool feature. Maybe a customizable "tooltip" as a first step

Is it easy to put a link() to group cell?
For example, Adding 'href' property to object in groups array.
const groups = [
      {id: 1, title: 'group 1', href: 'http://example.com'}, // this group will be rendered as a link
      {id: 2, title: 'group 2'}
    ];

I think it would be good if we could do something like:
// Custom component for the Item rendered
class Item extends React.Component {
  render(){
    return
{this.props.title}
;
  }
};

// Timeline using a custom Item-Renderer
class Root extends React.Component {
  render(){
    return (
      <Timeline groups={groups}
                items={items}
                itemRenderer={<Item/>}
                />
    );
  }
}

```

That would help to make the Items as flexible as possible.

That would be great!

@signalwerk
Thank you very much for your response!
Unfortunately, it doesn't work.
'Item' component has never been rendered, as long as I try.
I want to know more about 'itemRenderer' property.
However, I can't find the information about that property(itemRenderer).
How do you know about 'itemRenderer'?

I'm sorry @gyarasu if I puzzled you. @dmr and me were suggesting how to handle that case. But it's not implemented yet. Sorry for any inconvenience.

@signalwerk
I see.
Sorry for my misunderstanding.
I'm looking forward to implementing this solution!

Hey, we already have itemRenderer since v0.13.0 and it is possible to give any React prop as the title of the group, as shown in the treeGroups demo (source).
So I'm closing this thread! 🎉

Very cool, thank you!


Remove AzureDeveloperCliCredential from Java projetcs. Will use Sdk identity preview

Since Java is the last remaining language to update, this PR fixes: https://github.com/Azure/azure-dev/issues/1505

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1661

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1661

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1661

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1661

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/1661

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1661

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1661

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1661

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/1661

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1661

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1661

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1661

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1661

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/1661

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1661

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1661

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1661

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1661

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1661

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1661
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1661

View Changes | Compare Changes


Unable to initialize video driver

Hello there, I needed some help. I am currently working on a fps game and whenever I play my game the engine gives me the error saying "Unable to Initialize Video Driver".
Godot version: 3.2.3 stable release
I don't know why it happens even though my opengl version supports both goes 3 and goes yet I get these errors, please help if you can.

Please fill the issue template with the relevant information.  Without this information developers can't help you.

Umm...... Somehow the game started running so I am closing this


Extension causes high cpu load

Issue Type: Performance
Extension Name: vscode-azureappservice
Extension Version: 0.24.8
OS Version: Windows_NT x64 10.0.19045
VS Code version: 1.77.3

:warning: Make sure to attach this file from your home-directory:
:warning:file:///c%3A/Users/stekam/AppData/Local/Temp/1/ms-azuretools.vscode-azureappservice-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

Please make sure to attach this file from your home-directory:
file:///c%3A/Users/stekam/AppData/Local/Temp/1/ms-azuretools.vscode-azureappservice-unresponsive.cpuprofile.txt

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


Install Shogun and tell us about the problems you encounter (read the error messages first)

I have problems installing Shogun and  use it in python3.5. First i do as in the instructions say.
sudo add-apt-repository ppa:shogun-toolbox/stable
sudo apt-get update
sudo apt-get install libshogun18 <-(change 17 to 18 because it  wasn't working and i found it would work iand it did)
For the last  command the output is the following
alfredo@alfredo-N550JV:~$ sudo apt-get install libshogun18
[sudo] password for alfredo:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
libshogun18 ya está en su versión más reciente (6.0.0+1SNAPSHOT201706260127-1).
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
  libllvm3.8 libllvm3.8:i386 libmircommon5 linux-headers-4.4.0-72
  linux-headers-4.4.0-72-generic linux-headers-4.4.0-75
  linux-headers-4.4.0-75-generic linux-headers-4.4.0-78
  linux-headers-4.4.0-78-generic linux-headers-4.4.0-83
  linux-headers-4.4.0-83-generic linux-headers-4.4.0-87
  linux-headers-4.4.0-87-generic linux-headers-4.4.0-89
  linux-headers-4.4.0-89-generic linux-headers-4.4.0-91
  linux-headers-4.4.0-91-generic linux-headers-4.4.0-92
  linux-headers-4.4.0-92-generic linux-headers-4.4.0-93
  linux-headers-4.4.0-93-generic linux-image-4.4.0-72-generic
  linux-image-4.4.0-75-generic linux-image-4.4.0-78-generic
  linux-image-4.4.0-83-generic linux-image-4.4.0-87-generic
  linux-image-4.4.0-89-generic linux-image-4.4.0-91-generic
  linux-image-4.4.0-92-generic linux-image-4.4.0-93-generic
  linux-image-extra-4.4.0-72-generic linux-image-extra-4.4.0-75-generic
  linux-image-extra-4.4.0-78-generic linux-image-extra-4.4.0-83-generic
  linux-image-extra-4.4.0-87-generic linux-image-extra-4.4.0-89-generic
  linux-image-extra-4.4.0-91-generic linux-image-extra-4.4.0-92-generic
  linux-image-extra-4.4.0-93-generic linux-signed-image-4.4.0-72-generic
  linux-signed-image-4.4.0-75-generic linux-signed-image-4.4.0-78-generic
  linux-signed-image-4.4.0-83-generic linux-signed-image-4.4.0-87-generic
  linux-signed-image-4.4.0-89-generic linux-signed-image-4.4.0-91-generic
  linux-signed-image-4.4.0-92-generic linux-signed-image-4.4.0-93-generic
  snap-confine ubuntu-core-launcher
Utilice «sudo apt autoremove» para eliminarlos.
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 3 no actualizados.

which i assume  it is correct because it says that libshogun18 is already on his last version (6.0.0+1SNAPSHOT201706260127-1).
then i install it in python 2.7 with
sudo apt-get install python-shogun
and when i try to import it in my project in the IDE PyCharm, it does not appear.
Also i try to compile it manually to use it in python 3.5
so i download the  shogun-shogun_6.0.0 package, unpack it and  then create the  build directory and as the instruction says for python3.5 from there i run the command
alfredo@alfredo-N550JV:~/shogun-shogun_6.0.0/build$ cmake -DPYTHON_INCLUDE_DIR=/usr/include/python3.5 -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.5 -DPYTHON_PACKAGES_PATH=/usr/local/lib/python3.5-DPythonModular=ON ..
it gives me  these two warnings
`Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
PYTHON_INCLUDE_DIR
PYTHON_PACKAGES_PATH

-- Build files have been written to: /home/alfredo/shogun-shogun_6.0.0/buildthen i use the command make Scanning dependencies of target libshogun
[  1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/distributions/classical/ProbabilityDistribution.cpp.o
[  1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/distributions/classical/GaussianDistribution.cpp.o
[  1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/distributions/KernelDensity.cpp.o
[  1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/distributions/Gaussian.cpp.o
In file included from /home/alfredo/shogun-shogun_6.0.0/src/shogun/distributions/Gaussian.cpp:18:0:
/home/alfredo/shogun-shogun_6.0.0/src/shogun/mathematics/lapack.h:37:19: fatal error: cblas.h: No existe el archivo o el directorio
compilation terminated.
src/shogun/CMakeFiles/libshogun.dir/build.make:1054: fallo en las instrucciones para el objetivo 'src/shogun/CMakeFiles/libshogun.dir/distributions/Gaussian.cpp.o'
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/distributions/Gaussian.cpp.o] Error 1
CMakeFiles/Makefile2:126: fallo en las instrucciones para el objetivo 'src/shogun/CMakeFiles/libshogun.dir/all'
make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
Makefile:149: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
`
it gives me these errors and i use the command make install and it gives me the same two errors
and i still can't use Shogun please help.

Sorry i forgot to say that i'm ussing ubuntu 16.04

It seems like your lapack installation is broken. Can you post a gist of your cmake cache?

sorry, how i find the gist of my cmake cache?

Post CMakeCache.txt on https://gist.github.com/

Already posted.

I  install it with anaconda for python 3.6 and  the directory appears, you can import it in the project but  i can't import the SubsecuenceStringKernel that i need, it seems that is not a python module the shogun directory.

@Elluito we cannot help you with such vague problem descriptions

I am working with windows7 64bit.
When I have downloaded the source code and try to set up by anaconda prompt:

python setup.py install

I get the following error:
File "setup.py", line 127
shogun_version_pattern = re.compile(ur'#define MAINVERSION "([0-9].[0-9].[0-9])"')
SyntaxError: invalid syntax

I am using Ubuntu 16.04
$ sudo add-apt-repository ppa:shogun-toolbox/stable
$ sudo apt-get update
Ign:19 http://ppa.launchpad.net/shogun-toolbox/stable/ubuntu xenial/main DEP-11 64x64 Icons
Err:13 http://ppa.launchpad.net/shogun-toolbox/stable/ubuntu xenial/main amd64 Packages
  404  Not Found
Ign:14 http://ppa.launchpad.net/shogun-toolbox/stable/ubuntu xenial/main i386 Packages
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/shogun-toolbox/stable/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/shogun-toolbox/stable/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
$ sudo apt-get install libshogun17
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libshogun17
$ sudo apt-get install libshogun18
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libshogun18

@AtharvaKhare unfortunately for xenial package is available only in the nightly ppa... but the nightly has actually bug fixes over the stable so you should be save to use that

I'm also facing a problem with installation. I've created a new issue for that. Please have a look.

E: Failed to fetch http://ppa.launchpad.net/shogun-toolbox/stable/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
I am facing this issue while installing on ubuntu.

I'm trying to use the python interface. I followed the instructions in INTERFACES.md. But there is no shogun.py file in my shogun directory. I have followed the install instructions in INSTALL.md .

I have built Shogun manually from sources and am using interface with python.
But now when I try any of the example codes , it gives a Segmentation fault(Core Dumped) in the end.
I traced the error using gdb and it shows this
(gdb) run knn.py
Starting program: /usr/bin/python knn.py
warning: the debug information found in "/lib64/ld-2.19.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff3aef700 (LWP 21174)]
[New Thread 0x7ffff32ee700 (LWP 21175)]
[New Thread 0x7ffff0aed700 (LWP 21176)]
[New Thread 0x7fffe19aa700 (LWP 21177)]
[New Thread 0x7fffe11a9700 (LWP 21178)]
[New Thread 0x7fffe09a8700 (LWP 21179)]
[ 0.  3.  3.  1.  3.  0.  0.  3.  0.  3.  1.  1.  3.  2.  1.  1.  3.  0.
3.  2.]
Program received signal SIGSEGV, Segmentation fault.
0x00000000004c6179 in PyArg_UnpackTuple ()
(gdb)  backtrace
#0  0x00000000004c6179 in PyArg_UnpackTuple ()
#1  0x00007fffe9776241 in _wrap_delete_MulticlassLabels (self=0x7fffe41de9d0, args=0x0)
at /media/petrichor/data/future/gsoc/shogun/build/src/interfaces/python/shogunPYTHON_wrap.cxx:322243
#2  0x00007fffe9b503b1 in _wrap_delete_MulticlassLabels_closure (a=0x7fffe41de9d0)
at /media/petrichor/data/future/gsoc/shogun/build/src/interfaces/python/shogunPYTHON_wrap.cxx:685409
#3  0x0000000000564d73 in PyDict_SetItem ()
#4  0x000000000052e523 in _PyModule_Clear ()
#5  0x000000000052e8a4 in PyImport_Cleanup ()
#6  0x00000000004266ab in Py_Finalize ()
#7  0x0000000000466e21 in Py_Main ()
#8  0x00007ffff7815f45 in __libc_start_main (main=0x466e50 , argc=2, argv=0x7fffffffdcb8, init=, fini=,
rtld_fini=, stack_end=0x7fffffffdca8) at libc-start.c:287
#9  0x0000000000577c2e in _start ()
(gdb) Quit
I found out this seems to be similar to the issue
https://github.com/shogun-toolbox/shogun/issues/2313
But don't know how to make it work

two days ago i was also getting the 404 error but today this started showing up
sudo apt-get install libshogun17
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libshogun17

@Nirvan101 you will need to give us a more complete error description of what there is and what you did
@ramamb25 try the nightly packages

@vermashresth you are using a different version to compile shogun than to run it

I'm getting this error while installing it with these commands
cmake -DBUILD_META_EXAMPLES=OFF ..

have a look
https://gist.github.com/kakshay21/22c7af0f761e213f5e4d74477f5e5d7e
I'm running Ubuntu 16.04 LTS

Hi new here, new to open source in general and having a hard time figuring out how to install everything. Already downloaded shogun-toolbox/shogun and conda-forge/shogun-feedstock but don't have any idea with what to do with them.

@m4nd4l0r3 if you just want to use shogun, simply do conda install -c conda-forge shogun if you wanna compile shogun, then follow the manuals here: http://shogun.ml/install
if you get stuck please let us know

i can't get the submodules to complete downloading .... it's been runing for the whole night and stilll it hasn't finished
is there something wrong.... i'm following these instructions....https://github.com/shogun-toolbox/shogun/blob/develop/doc/readme/INSTALL.md#manual and i'm using ubuntu.

Can someone plz provide the list of dependencies for compiling shogun on linux. Search a lot but I could not find it.
any help is really appreciated
Thanks

cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTING=ON -DBUILD_DASHBOARD_REPORTS=ON ..

-- Using system's malloc
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) (Required is at least version "1.8.6")
-- dir='/home/jj/jjmachan/shogun/src'
-- dir='/home/jj/jjmachan/shogun/src'
-- dir='/home/jj/jjmachan/shogun/src/gpl'
-- Could NOT find OPENCL (missing:  OPENCL_LIBRARY OPENCL_INCLUDE_DIR)
-- Could NOT find ViennaCL (missing:  VIENNACL_INCLUDE_DIR VIENNACL_ENCODED_VERSION OpenCL_INCLUDE_DIRS OpenCL_LIBRARIES) (Required is at least version "1.5.0")
CMake Warning at src/shogun/CMakeLists.txt:287 (FIND_PACKAGE):
Could not find a package configuration file provided by "TFLogger"
(requested version 0.1.0) with any of the following names:
TFLoggerConfig.cmake
tflogger-config.cmake

Add the installation prefix of "TFLogger" to CMAKE_PREFIX_PATH or set
"TFLogger_DIR" to a directory containing one of the above files.  If
"TFLogger" provides a separate development package or SDK, be sure it has
been installed.
-- A library with BLAS API found.
-- Enabling detected BLAS library as backend for Eigen
-- Could NOT find GLPK (missing:  GLPK_LIBRARY GLPK_INCLUDE_DIR GLPK_PROPER_VERSION_FOUND)
-- Could NOT find CPLEX (missing:  CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
-- Could NOT find MOSEK (missing:  MOSEK_DIR MOSEK_INCLUDE_DIR MOSEK_LIBRARY MOSEK_LIBRARIES)
-- Could NOT find Protobuf (missing:  Protobuf_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing:  LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
-- Could NOT find HDF5 (missing:  HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
-- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR)
-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Could NOT find LibLZMA (missing:  LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
-- Could NOT find SNAPPY (missing:  SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)
-- Lzo includes and libraries NOT found.
-- Could NOT find NLOPT (missing:  NLOPT_LIBRARY NLOPT_INCLUDE_DIR)
-- Could NOT find LPSOLVE (missing:  LPSOLVE_LIBRARIES LPSOLVE_INCLUDE_DIR)
-- Could NOT find ColPack (missing:  COLPACK_LIBRARIES COLPACK_LIBRARY_DIR COLPACK_INCLUDE_DIR)
-- Could NOT find ARPREC (missing:  ARPREC_LIBRARIES ARPREC_INCLUDE_DIR)
-- Linker: GNU gold
-- Debug Fission enabled
-- Ctags flavour: Exuberant
-- Ctags flavour: Exuberant
Please install HDF5 for trained models serialization tests.
CMake Error at tests/meta/CMakeLists.txt:7 (MESSAGE):
Test suite for meta examples does not exist! Please initialise and/or
update the data submodule.
-- Configuring incomplete, errors occurred!
See also "/home/jj/jjmachan/shogun/CMakeFiles/CMakeOutput.log".
See also "/home/jj/jjmachan/shogun/CMakeFiles/CMakeError.log".

@kakshay21 your error seems to be caused by either missing files or an outdated cmake cache. Maybe try to start from scratch if you don't know what that means. Also consider using conda for installation

@jjmachan the dependencies are pretty minimal, but I think it would be a good idea to write them down somewhere. The cmake log tells you "Test suite for meta examples does not exist! Please initialise  nd/or update the data submodule." You can do that (as indicated in the readmes) via git submodule init and git submodule update

While trying to configure cmake and compile shogun, when I run :
cmake [options] ..
I get the error :
The ctags found is not suitable for meta examples.
-- Could NOT find Ctags (missing: CTAGS_EXECUTABLE)
CMake Warning at cmake/FindPLY.cmake:24 (message):
ply import failure:
Call Stack (most recent call first):
examples/meta/CMakeLists.txt:4 (FIND_PACKAGE)
CMake Error at examples/meta/CMakeLists.txt:6 (message):
Python module ply required for meta examples.  Install or set
BUILD_META_EXAMPLES=OFF
-- Configuring incomplete, errors occurred!
I am running from a Mac OSX terminal.

Just changed the title slightly ;)

@karlnapf I have a similar issue as that of @jjmachan I have tried again too but the error I keep getting is
-- Using system's malloc
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) (Required is at least version "1.8.6")
-- dir='/home/atom/shogun/src'
-- dir='/home/atom/shogun/build/src'
-- dir='/home/atom/shogun/src/gpl'
-- Could NOT find Eigen3 (missing:  EIGEN_INCLUDE_DIR) (Required is at least version "3.1.2")
-- Could NOT find ViennaCL (missing:  VIENNACL_INCLUDE_DIR VIENNACL_ENCODED_VERSION) (Required is at least version "1.5.0")
CMake Warning at src/shogun/CMakeLists.txt:258 (FIND_PACKAGE):
Could not find a package configuration file provided by "TFLogger"
(requested version 0.1.0) with any of the following names:
TFLoggerConfig.cmake
tflogger-config.cmake

Add the installation prefix of "TFLogger" to CMAKE_PREFIX_PATH or set
"TFLogger_DIR" to a directory containing one of the above files.  If
"TFLogger" provides a separate development package or SDK, be sure it has
been installed.
-- A library with BLAS API not found. Please specify library location.
-- LAPACK requires BLAS
-- Could NOT find GLPK (missing:  GLPK_LIBRARY GLPK_INCLUDE_DIR GLPK_PROPER_VERSION_FOUND)
-- Could NOT find CPLEX (missing:  CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
-- Could NOT find MOSEK (missing:  MOSEK_DIR MOSEK_INCLUDE_DIR MOSEK_LIBRARY MOSEK_LIBRARIES)
-- Could NOT find Protobuf (missing:  PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- Could NOT find JSON (missing:  JSON_INCLUDE_DIR JSON_LIBRARY) (Required is at least version "0.11")
-- Could NOT find LibXml2 (missing:  LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
-- Could NOT find HDF5 (missing:  HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
-- Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Could NOT find SNAPPY (missing:  SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)
-- Lzo includes and libraries NOT found.
-- Could NOT find NLOPT (missing:  NLOPT_LIBRARY NLOPT_INCLUDE_DIR)
-- Could NOT find LPSOLVE (missing:  LPSOLVE_LIBRARIES LPSOLVE_INCLUDE_DIR)
-- Could NOT find ColPack (missing:  COLPACK_LIBRARIES COLPACK_LIBRARY_DIR COLPACK_INCLUDE_DIR)
-- Could NOT find ARPREC (missing:  ARPREC_LIBRARIES ARPREC_INCLUDE_DIR)
-- Linker: GNU gold
-- Could NOT find Ctags (missing:  CTAGS_EXECUTABLE)
-- Could NOT find Ctags (missing:  CTAGS_EXECUTABLE)
CMake Error at examples/meta/CMakeLists.txt:11 (message):
Ctags required for meta examples.  Install or set BUILD_META_EXAMPLES=OFF.
-- Configuring incomplete, errors occurred!
See also "/home/atom/shogun/build/CMakeFiles/CMakeOutput.log".
See also "/home/atom/shogun/build/CMakeFiles/CMakeError.log".

I am trying to manually build the Shogun on my Ubuntu 16.04LTS .

Made a build directory
Inside which I i did.
cmake -DINTERFACE_PYTHON=ON -DINTERFACE_OCTAVE=ON ..

[ Note: The terminal showed the following optional packages to be missing
*rxcpp
*TFLogger
*CPLEX
*ARPACK
*Mosek
*SNAPPY
*ARPREC ]
next, I ran make  (in the build directory)
this gave me an error shown below. Kindly help me out of it.
[ 67%] Generating shogun_doxygen.i [ 67%] Built target python_doxy2swig Scanning dependencies of target interface_python_src [ 67%] copying SWIG files [ 67%] Built target interface_python_src [ 67%] Swig source /home/stoicangelo/shogun/src/shogun/lib/Hash.h:139: Warning 314: 'in' is a python keyword, renaming to '_in' /home/stoicangelo/shogun/src/shogun/lib/Signal.h:37: Warning 319: No access specifier given for base class 'CSGObject' (ignored). Scanning dependencies of target _interface_python [ 67%] Building CXX object src/interfaces/python/CMakeFiles/_interface_python.dir/shogunPYTHON_wrap.cxx.o In file included from /home/stoicangelo/anaconda3/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,                  from /home/stoicangelo/anaconda3/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,                  from /home/stoicangelo/anaconda3/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,                  from /home/stoicangelo/shogun/build/src/interfaces/python/shogunPYTHON_wrap.cxx:7004: /home/stoicangelo/anaconda3/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]  #warning "Using deprecated NumPy API, disable it by " \   ^ cc1plus: warning: unrecognized command line option "-Wno-c++11-narrowing" [ 67%] Building CXX object src/interfaces/python/CMakeFiles/_interface_python.dir/sg_print_functions.cpp.o [ 67%] Linking CXX shared module _shogun.so CMakeFiles/_interface_python.dir/shogunPYTHON_wrap.cxx.o: In function shogun_CSGObject___getstate__(shogun::CSGObject*)':
/home/stoicangelo/shogun/build/src/interfaces/python/shogunPYTHON_wrap.cxx:9565: warning: the use of tmpnam' is dangerous, better use mkstemp'
[ 67%] Built target _interface_python
Scanning dependencies of target serialization_basic_tests
[ 67%] Building CXX object examples/undocumented/libshogun/CMakeFiles/serialization_basic_tests.dir/serialization_basic_tests.cpp.o
[ 67%] Linking CXX executable serialization_basic_tests
../../../src/shogun/libshogun.so.18.0: undefined reference to google::protobuf::Message::InitializationErrorString() const' ../../../src/shogun/libshogun.so.18.0: undefined reference to google::protobuf::Message::GetTypeName() const'
../../../src/shogun/libshogun.so.18.0: undefined reference to google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../../../src/shogun/libshogun.so.18.0: undefined reference to google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))'
collect2: error: ld returned 1 exit status
examples/undocumented/libshogun/CMakeFiles/serialization_basic_tests.dir/build.make:107: recipe for target 'examples/undocumented/libshogun/serialization_basic_tests' failed
make[2]: *** [examples/undocumented/libshogun/serialization_basic_tests] Error 1
CMakeFiles/Makefile2:784: recipe for target 'examples/undocumented/libshogun/CMakeFiles/serialization_basic_tests.dir/all' failed
make[1]: *** [examples/undocumented/libshogun/CMakeFiles/serialization_basic_tests.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2`

your protobuf installation seems borken, or wrongly detected by cmake.
use -DENABLE_PROTOBUF=Off as cmake argument

@karlnapf the error still persists on using the protobuf argument .
Below is the last page of what the terminal reads on using
[ 68%] Building CXX object src/interfaces/octave/CMakeFiles/interface_octave.dir/sg_print_functions.cpp.o In file included from /home/stoicangelo/shogun/src/interfaces/octave/sg_print_functions.cpp:1:0: /usr/include/octave-4.2.1/octave/../octave/config.h:28:2: warning: #warning "config.h has been deprecated; there is no need to include it directly" [-Wcpp]  #warning "config.h has been deprecated; there is no need to include it directly"   ^~~~~~~ In file included from /home/stoicangelo/shogun/src/interfaces/octave/sg_print_functions.cpp:6:0: /usr/include/octave-4.2.1/octave/../octave/oct-obj.h:33:2: warning: #warning oct-obj.h has been deprecated; use ovl.h instead [-Wcpp]  #warning oct-obj.h has been deprecated; use ovl.h instead   ^~~~~~~ In file included from /home/stoicangelo/shogun/src/shogun/lib/common.h:94:0,                  from /home/stoicangelo/shogun/src/shogun/io/SGIO.h:17,                  from /home/stoicangelo/shogun/src/interfaces/octave/sg_print_functions.cpp:12: /home/stoicangelo/shogun/src/shogun/lib/memory.h:37:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]  void* operator new(size_t size) throw (std::bad_alloc);                                  ^~~~~ /home/stoicangelo/shogun/src/shogun/lib/memory.h:41:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]  void* operator new[](size_t size) throw(std::bad_alloc);                                    ^~~~~ [ 68%] Linking CXX shared module shogun.oct [ 68%] Built target interface_octave Scanning dependencies of target variational_approx_example [ 68%] Building CXX object examples/undocumented/libshogun/CMakeFiles/variational_approx_example.dir/variational_approx_example.cpp.o [ 68%] Linking CXX executable variational_approx_example /usr/bin/ld: CMakeFiles/variational_approx_example.dir/variational_approx_example.cpp.o: undefined reference to symbol 'dgemm_' //usr/lib/x86_64-linux-gnu/libf77blas.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status examples/undocumented/libshogun/CMakeFiles/variational_approx_example.dir/build.make:105: recipe for target 'examples/undocumented/libshogun/variational_approx_example' failed make[2]: *** [examples/undocumented/libshogun/variational_approx_example] Error 1 CMakeFiles/Makefile2:805: recipe for target 'examples/undocumented/libshogun/CMakeFiles/variational_approx_example.dir/all' failed make[1]: *** [examples/undocumented/libshogun/CMakeFiles/variational_approx_example.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2

This is due to a broken installation of your blas. I will close this issue now, as it is generating too much noise.

For the installation process,
after the  git submodule update --init
I have this problem,
Cloning into 'data'...
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Connection timed out
github.com[1: <IP_ADDRESS>]: errno=Connection timed out
fatal: clone of 'git://github.com/shogun-toolbox/shogun-data.git' into submodule path 'data' failed
I don't get it... My network connection is fine. I did do some googling before asking this question.
Can someone help me out?

@Chetank99 this has nothing to do with shogun or git, but it is, as you reckoned, your network connection

@karlnapf I tried it again after checking my Internet speed too, which was good. Do you think there might be some other problem? Because my network connection turns out to be just fine.

Well the error message is that git cannot connect to the internet. You will have to check your setup. BTW if you just want to use shogun, just use conda

@karlnapf Sorry for being a total noob but after I used conda to install it, it's showing:
fatal error: shogun/lib/config.h: No such file or directory
compilation terminated.

This is not the place to discuss this. Come join the IRC if you need help on those things. I am unsure of what you actually are trying to do there ...

@karlnapf My bad.. I'll join the IRC

I have tried 4 different ways to install Shogun without success.
First I tried installing on windows but I couldn't get visual studio to execute git commands despite installing the git extension.
Then I tried following this website http://bpg.utoledo.edu/svmlab/ for windows, but I got stuck on ./configure for Shogun because it kept saying that it couldn't find a C++ compiler. I tried moving gcc.exe to configure and vice versa but nothing worked.
Then I rebooted to Ubuntu to install Shogun and followed the same website's linux instructions to compile everything, and after installing all the dependencies I ran into the same C++ compiler issue
Finally I tried the official commands for installing Shogun on Linux (I already had a working octave installation) and it seemed to work, but there is no documentation on how to make Octave find the libraries.

As the error message states, you need to init or update the data submodule, which is explained extensively in the docs.
git submodule init
git submodule update

root@dffb24029d7c:/cmake-3.13.4/build# cmake -DPYTHON_INCLUDE_DIR=/usr/include/python3.5 -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_PACKAGES_PATH=/usr/local/lib/python3.5/dist-packages -DINTERFACE_PYTHON=ON ..
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBMD
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD -- not found
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
INTERFACE_PYTHON
PYTHON_INCLUDE_DIR
PYTHON_PACKAGES_PATH

-- Build files have been written to: /cmake-3.13.4
root@dffb24029d7c:/cmake-3.13.4/build# cmake -DPYTHON_INCLUDE_DIR=/usr/include/python3.5 -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_PACKAGES_PATH=/usr/local/lib/python3.5/dist-packages -DINTERFACE_PYTHON=ON ..
-- Configuring done
-- Generating done
-- Build files have been written to: /cmake-3.13.4
I am using ubuntu.16.04, so, how to solve the problem ?

I have problems installing Shogun and use it in python3.5. First i do as in the instructions say.
sudo add-apt-repository ppa:shogun-toolbox/stable
sudo apt-get update
sudo apt-get install libshogun18 <-(change 17 to 18 because it wasn't working and i found it would work iand it did)
For the last command the output is the following
alfredo@alfredo-N550JV:~$ sudo apt-get install libshogun18
[sudo] password for alfredo:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
libshogun18 ya está en su versión más reciente (6.0.0+1SNAPSHOT201706260127-1).
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
  libllvm3.8 libllvm3.8:i386 libmircommon5 linux-headers-4.4.0-72
  linux-headers-4.4.0-72-generic linux-headers-4.4.0-75
  linux-headers-4.4.0-75-generic linux-headers-4.4.0-78
  linux-headers-4.4.0-78-generic linux-headers-4.4.0-83
  linux-headers-4.4.0-83-generic linux-headers-4.4.0-87
  linux-headers-4.4.0-87-generic linux-headers-4.4.0-89
  linux-headers-4.4.0-89-generic linux-headers-4.4.0-91
  linux-headers-4.4.0-91-generic linux-headers-4.4.0-92
  linux-headers-4.4.0-92-generic linux-headers-4.4.0-93
  linux-headers-4.4.0-93-generic linux-image-4.4.0-72-generic
  linux-image-4.4.0-75-generic linux-image-4.4.0-78-generic
  linux-image-4.4.0-83-generic linux-image-4.4.0-87-generic
  linux-image-4.4.0-89-generic linux-image-4.4.0-91-generic
  linux-image-4.4.0-92-generic linux-image-4.4.0-93-generic
  linux-image-extra-4.4.0-72-generic linux-image-extra-4.4.0-75-generic
  linux-image-extra-4.4.0-78-generic linux-image-extra-4.4.0-83-generic
  linux-image-extra-4.4.0-87-generic linux-image-extra-4.4.0-89-generic
  linux-image-extra-4.4.0-91-generic linux-image-extra-4.4.0-92-generic
  linux-image-extra-4.4.0-93-generic linux-signed-image-4.4.0-72-generic
  linux-signed-image-4.4.0-75-generic linux-signed-image-4.4.0-78-generic
  linux-signed-image-4.4.0-83-generic linux-signed-image-4.4.0-87-generic
  linux-signed-image-4.4.0-89-generic linux-signed-image-4.4.0-91-generic
  linux-signed-image-4.4.0-92-generic linux-signed-image-4.4.0-93-generic
  snap-confine ubuntu-core-launcher
Utilice «sudo apt autoremove» para eliminarlos.
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 3 no actualizados.

which i assume it is correct because it says that libshogun18 is already on his last version (6.0.0+1SNAPSHOT201706260127-1).
then i install it in python 2.7 with
sudo apt-get install python-shogun
and when i try to import it in my project in the IDE PyCharm, it does not appear.
Also i try to compile it manually to use it in python 3.5
so i download the shogun-shogun_6.0.0 package, unpack it and then create the build directory and as the instruction says for python3.5 from there i run the command
alfredo@alfredo-N550JV:~/shogun-shogun_6.0.0/build$ cmake -DPYTHON_INCLUDE_DIR=/usr/include/python3.5 -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.5 -DPYTHON_PACKAGES_PATH=/usr/local/lib/python3.5-DPythonModular=ON ..
it gives me these two warnings
`Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
PYTHON_INCLUDE_DIR
PYTHON_PACKAGES_PATH

-- Build files have been written to: /home/alfredo/shogun-shogun_6.0.0/buildthen i use the command make Scanning dependencies of target libshogun
[ 1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/distributions/classical/ProbabilityDistribution.cpp.o
[ 1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/distributions/classical/GaussianDistribution.cpp.o
[ 1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/distributions/KernelDensity.cpp.o
[ 1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/distributions/Gaussian.cpp.o
In file included from /home/alfredo/shogun-shogun_6.0.0/src/shogun/distributions/Gaussian.cpp:18:0:
/home/alfredo/shogun-shogun_6.0.0/src/shogun/mathematics/lapack.h:37:19: fatal error: cblas.h: No existe el archivo o el directorio
compilation terminated.
src/shogun/CMakeFiles/libshogun.dir/build.make:1054: fallo en las instrucciones para el objetivo 'src/shogun/CMakeFiles/libshogun.dir/distributions/Gaussian.cpp.o'
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/distributions/Gaussian.cpp.o] Error 1
CMakeFiles/Makefile2:126: fallo en las instrucciones para el objetivo 'src/shogun/CMakeFiles/libshogun.dir/all'
make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
Makefile:149: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
`
it gives me these errors and i use the command make install and it gives me the same two errors
and i still can't use Shogun please help.

Did your problem have been solved ? how to do it ?

There seems to be a missing cblas.h, but your error report doesn't really allow us to help you as it is a bit confusing

when I execute the command "make", there is some error, that is：
Scanning dependencies of target libshogun
[  1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/base/Parallel.cpp.o
In file included from /shogun/src/shogun/lib/common.h:80:0,
from /shogun/src/shogun/base/Parallel.h:13,
from /shogun/src/shogun/base/Parallel.cpp:8:
/shogun/src/shogun/lib/memory.h:106:25: error: ‘std::enable_if_t’ has not been declared
template <class T, std::enable_if_t<!is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:106:36: error: expected ‘>’ before ‘<’ token
template <class T, std::enable_if_t<!is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:112:24: error: ‘std::enable_if_t’ has not been declared
template<class T, std::enable_if_t<is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:112:35: error: expected ‘>’ before ‘<’ token
template<class T, std::enable_if_t<is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:113:4: error: redefinition of ‘template<class T, int  > T* shogun::sg_generic_malloc(size_t)’
T* sg_generic_malloc(size_t len)
^
/shogun/src/shogun/lib/memory.h:107:4: error: ‘template<class T, int  > T* shogun::sg_generic_malloc(size_t)’ previously declared here
T* sg_generic_malloc(size_t len)
^
/shogun/src/shogun/lib/memory.h:119:24: error: ‘std::enable_if_t’ has not been declared
template<class T, std::enable_if_t<!is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:119:35: error: expected ‘>’ before ‘<’ token
template<class T, std::enable_if_t<!is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:125:24: error: ‘std::enable_if_t’ has not been declared
template<class T, std::enable_if_t<is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:125:35: error: expected ‘>’ before ‘<’ token
template<class T, std::enable_if_t<is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:126:4: error: redefinition of ‘template<class T, int  > T* shogun::sg_generic_realloc(T*, size_t, size_t)’
T* sg_generic_realloc(T* ptr, size_t old_len, size_t len)
^
/shogun/src/shogun/lib/memory.h:120:4: error: ‘template<class T, int  > T* shogun::sg_generic_realloc(T*, size_t, size_t)’ previously declared here
T* sg_generic_realloc(T* ptr, size_t old_len, size_t len)
^
/shogun/src/shogun/lib/memory.h:139:24: error: ‘std::enable_if_t’ has not been declared
template<class T, std::enable_if_t<!is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:139:35: error: expected ‘>’ before ‘<’ token
template<class T, std::enable_if_t<!is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:145:24: error: ‘std::enable_if_t’ has not been declared
template<class T, std::enable_if_t<is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:145:35: error: expected ‘>’ before ‘<’ token
template<class T, std::enable_if_t<is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:146:4: error: redefinition of ‘template<class T, int  > T* shogun::sg_generic_calloc(size_t)’
T* sg_generic_calloc(size_t len)
^
/shogun/src/shogun/lib/memory.h:140:4: error: ‘template<class T, int  > T* shogun::sg_generic_calloc(size_t)’ previously declared here
T* sg_generic_calloc(size_t len)
^
/shogun/src/shogun/lib/memory.h:152:24: error: ‘std::enable_if_t’ has not been declared
template<class T, std::enable_if_t<!is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:152:35: error: expected ‘>’ before ‘<’ token
template<class T, std::enable_if_t<!is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:158:24: error: ‘std::enable_if_t’ has not been declared
template<class T, std::enable_if_t<is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:158:35: error: expected ‘>’ before ‘<’ token
template<class T, std::enable_if_t<is_sg_referenced::value, T>* = nullptr>
^
/shogun/src/shogun/lib/memory.h:159:6: error: redefinition of ‘template<class T, int  > void shogun::sg_generic_free(T*)’
void sg_generic_free(T* ptr)
^
/shogun/src/shogun/lib/memory.h:153:6: error: ‘template<class T, int  > void shogun::sg_generic_free(T*)’ previously declared here
void sg_generic_free(T* ptr)
^
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/base/Parallel.cpp.o] Error 1
make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
make: *** [all] Error 2

my cmake command is:
cmake -DPYTHON_INCLUDE_DIR=/usr/include/python2.7
-DPYTHON_LIBRARIES= /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2
-DPYTHON_PACKAGES_PATH=/usr/local/lib/python2.7/dist-packages
-DINTERFACE_PYTHON=ON ..

the cmake command execute result is:
-- ===================================================================================================================
-- To compile shogun type
--   make
-- To install shogun to /usr/local type
--   make install
-- or to install to a custom directory
--   make install DESTDIR=/my/special/path
--   (or rerun cmake with -DCMAKE_INSTALL_PREFIX=/my/special/path) to just change the prefix
-- ===================================================================================================================
-- Configuring done
CMake Warning at src/shogun/CMakeLists.txt:113 (add_library):
Cannot generate a safe runtime search path for target shogun because files
in some directories may conflict with libraries in implicit directories:
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /opt/anaconda3/lib
runtime library [liblzma.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /opt/anaconda3/lib

Some of these libraries may not be found correctly.
-- Generating done
-- Build files have been written to: /shogun/build

What's wrong with the compilation process ? How do i solve it ?

Looks like your compiler doesnt support C++14, or the compiler flag hasnt been set for a reason. You could have seen that via googling the error msg error: ‘std::enable_if_t’ has not been declared


Bicycle, can't find networks, or balanced

Hi.
I am using the newest pre-release of Itinero, but can't find two of the profiles for bicycle.
I am trying to get this to work
bicycle vehicle: Also definas a default factor_and_speed function but in addition it defines two more:
balanced: Aggressively chooses bicycle-only parts of the network.
networks: Aggressifely chooses bicycle routing networks.
What could I be doing wrong ?
See the little video
Video

Cannot see the video, uses flash...
Perhaps the problem is that vehicles only explose fastest and shortest by default... try using this method:
https://github.com/itinero/routing/blob/develop/src/Itinero/Profiles/Vehicle.cs#L120
Also have al look at how Shortest() and Fastest() work...

ping @t22dk did this fix the issue?


Client-side login/sign up

As a user, I can create an account and login to the application through the front end

Integrated under: commit a60fb0539f454b08859ecbb2bd5d957246952138 .

Integrated under: commit a60fb0539f454b08859ecbb2bd5d957246952138 .


Update dropdown options

Update the options in CategoricalOptions in index.vue once the data has been added to graph.

Could you reference the issue this is blocked by @rmanaem? Afaik we have all requirred data in the test instance, but not all possible values for things like diagnosis etc.

@surchs I'm not sure which issue it is or if even there is an issue for it.
However, since everything for options (all possible values) of categorical fields (diagnosis, assessment, modality, ...) is hardcoded, I need to run a query to get them and update the CategoricalOptions in index.vue (see here). That can't be done using the test instance and has to wait for the latest data ( I think QPN and PPMI) to be in the graph.

I see. Yes, that's true. We'll have to run a query once we have our real data in the graph to populate these choices.

@surchs I couldn't find anything on http://neurobagel.org/vocab/cogAtlas-1234 after running this query which gives us query_sparql_results.csv for the available options.  Do you know where/how I can get the human-readable label for this?
Also, I noticed we don't have cogAtlas as a prefix in the query_template in the API. Perhaps a small issue and fix after merging this?

Yes, exactly.

Human labels: https://github.com/neurobagel/project/issues/47 (in backlog atm)
cogAtlas prefix: https://github.com/neurobagel/bagel-cli/issues/106 (also backlog atm)

So yeah, I think we might have to wait on that.

Once https://github.com/neurobagel/encarta/issues/10 is done, the terms and their references need to be updated to correspond to the new schema!


Doubled / malformed querystring params in Image Edit modal cause errors when saving image properties

Link to reproduction
No response
Payload Version
v3.0.0-beta.59
Node Version
21.4.0
Next.js Version
14.3.0-canary.28
Describe the Bug
When trying to save updates to images, for example changing the focal point, the API throws the following error:
ERROR: Expected integer for width but received NaN of type number

After some digging, we discovered that the request was sending duplicates of every form value, which the API was interpreting as arrays instead of integers.
For example, this is what the submit request looks like when saving images:
PATCH http://localhost:3000/api/images/52?depth=0&fallback-locale=null&fallback-locale=null&locale=en-US&locale=en-US&uploadEdits[crop][height]=100&uploadEdits[crop][height]=100&uploadEdits[crop][heightPixels]=526&uploadEdits[crop][heightPixels]=526&uploadEdits[crop][unit]=%&uploadEdits[crop][unit]=%&uploadEdits[crop][width]=100&uploadEdits[crop][width]=100&uploadEdits[crop][widthPixels]=800&uploadEdits[crop][widthPixels]=800&uploadEdits[crop][x]=0&uploadEdits[crop][x]=0&uploadEdits[crop][y]=0&uploadEdits[crop][y]=0&uploadEdits[focalPoint][x]=33.08541679382324&uploadEdits[focalPoint][x]=33.08541679382324&uploadEdits[focalPoint][y]=31.79024235830561?depth=0&uploadEdits[focalPoint][y]=31.79024235830561

Notice that every value is duplicated, and that there's an additional ?depth=0 param thrown in randomly toward the end, which is being interpreted as part of the uploadEdits[focalPoint][y] value because of the extra questionmark.
When the API receives this request, it's interpreting the values as arrays. So uploadEdits[crop][width] is being read as [100, 100] instead of just 100, and this is causing sharp to throw an error.
The action param on the form itself looks correct (see attached image).

Reproduction Steps

Create a collection with a nested Image upload field.
Upload a new image, and try to change the focal point.
Save the image.

This will throw the error described above.
Adapters and Plugins
storage-vercel-blob, db-postgres, @payload-enchants/translator, redirects
I did try disabling the @payload-enchants/translator plugin but that did not resolve the issue.

Hey @lynndylanhurley - can you please send over a reproducible config with your nested Upload field?

Hi @PatrikKozak , I'll put together a reproducible config today

@PatrikKozak here's a reproducible example based on the payload-3.0-demo repo with only the following field added to the pages collection:
        {
          name: 'image',
          type: 'upload',
          relationTo: 'media'
        }

To reproduce the issue:

create a new Page and upload an image
edit the image by changing one of the cropping values
try to save

The request will fail.
Here is what the querystring params look like in the web inspector:

Notice how every value is an array instead of a singular value.

@lynndylanhurley ahh I see the problem now - thank you for the details, we'll get a fix out for this asap!

Thank you @PatrikKozak !

Fixed with this PR.


Destroy/remove instances

Hey Anthony!
Great piece of software. Really simplifies working with audio without doing too much and bloat your projects with thousands upon thousands of lines of code.
One question though: I've browsed through the annotated source and the audio.js file in search of a way to destroy and remove audio instances. I'm building a JavaScript app that switch between pages loaded in dynamically via AJAX. Each page has its own audio instances and i need to destroy and remove those when i transition out the page.
Is there any built-in way to do this currently? I'm looking for something like an myInstance.destroy(); method.

We have had the same problem. You can simply stop the browser from loading:
if(window.stop !== undefined) {
    window.stop();
} else if(document.execCommand !== undefined) {
    document.execCommand("Stop", false);
}