ignore default scopes when marking attachments as in processing

If adding an attachment to a model with a default scope on it, the 'in processing' flag does not get updated from true to false once delayed paperclip has finished its work, so the record is left marked as 'in processing' even after it's attachment has been processed.
This pull request simply adds unscoped to ensure that default scopes are removed before running the 'in processing' updates, both when setting it to true and to false.

thanks


Possible to change traffic in any region

Related to https://github.com/zalando/lizzy-client/issues/69

Coverage remained the same at 90.249% when pulling bafa06de63ecc9b10fcb4e41aa926933a6b1c4ba on rafaelcaricio:support-region-in-traffic-change-endpoint into a62790e0a8f32645e518ca774844dda2469de210 on zalando:release2.0.

:+1:


Add Coveralls.io support

Add an alias for uploading reports to Coveralls.io, by supporting either:
https://www.nuget.org/packages/coveralls.io/
https://www.nuget.org/packages/coveralls.net/
or by directly interacting with the Coveralls end point.

If this would be a Cake.Common addition, we should interact with the Coveralls end point directly and avoid taking a dependency on a third party library.

This has been created as an addin, which is available here: https://github.com/gep13/Cake.Coveralls


Downloading Module is failing

Installing of module is failing
github.com/phalaaxx/milter<EMAIL_ADDRESS>parsing go.mod:
module declares its path as: milter
        but was required as: github.com/phalaaxx/milter

same is there with go get
$ go get github.com/phalaaxx/milter
go<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: milter
                but was required as: github.com/phalaaxx/milter

This is happening due to milter having its path as milter instead of github.com/phalaaxx/milter in go.mod

Ah sorry, I just now see your issue. However I fixed that on August 16th so it's all OK now, thanks for the report.

It's fixed in 8304fd4788c2f7a7118ec8859b3c7cf8a2590ee5.


fails to connect to nodes after syncing

Can confirm, on Android and iOS: when trying to create a new channel, the channel address copy pasted below does not actually connect:
02f1da524a70afd8de6019e2367b47d8d41a623aa3594f55d0785fe1b047c853bc@faucet.lightning.community:9735
neither does
<EMAIL_ADDRESS>

@rawtxapp   Please let me know if any progress on this front has been made, I can take a closer independent look using any data you've gathered or knowledge you have about the issue.
Is it a macaroon related?  I imagine we'd have heard about it, however.

@rawtxapp  Hello!  Has there been any news on this front?  I can run tests as needed!

Sorry, had been quite busy with some other stuff. Will start looking into this.

Just an update on this, the connect peer rpc doesn't return any error or information whether or not it connected to the peer.
To overcome this, we've been polling lnd after connection to check if peer is included, the problem is that we are polling it through getNodeInfo which checks in the graph, not the peers list, which is a bit strange. Now we do both, the change is being tested and should be live soon.

Which also explains why the connection worked if you let it run for a while because it had enough time to build a graph of the network.

@rawtxapp I think I've found the problem:
https://github.com/rawtxapp/rawtxapp/blob/2f54623e8d665b03890fc7667854e38b0622c23e/src/ScreenCreateChannel.js#L51
If the user passes in [nodeid]@[ip], you chop off the [ip] and try to connect to it using this.props.lndApi.openChannel, which only takes [nodeid] as an input to the LND POST /v1/channels endpoint: https://api.lightning.community/rest/index.html#v1-channels
This will only succeed if your node already knows where [nodeid] is.
The correct way to do this with lnd is, if the IP address is provided, to connect to [nodeid] first using LND's POST /v1/peers endpoint: https://api.lightning.community/rest/index.html#v1-peers
Once you're connected to the peer, then you can open a channel.

@brandoncurtis if you notice you actually won't reach that code before a connection occurs. It's guarded by:
https://github.com/rawtxapp/rawtxapp/blob/2f54623e8d665b03890fc7667854e38b0622c23e/src/ScreenCreateChannel.js#L33
which itself is guarded by
https://github.com/rawtxapp/rawtxapp/blob/2f54623e8d665b03890fc7667854e38b0622c23e/src/ScreenCreateChannel.js#L86
So that code is executed only after a peer connection.
The problem is that the code that was checking for whether or not the peer is connected on the app side, was only checking through getNodeInfo which didn't include peers, only nodes known in the graph. So what https://github.com/rawtxapp/rawtxapp/commit/91143d0c7da1b05f45e7d1eeb58d2c97be8eaf4b does is that it also checks peers.
 Because this change isn't in the app store yet, waiting for lnd 0.5.1 to push it.

Thanks for correcting me!
I'm using the version in the app store on both Android and iOS and I needed to attempt dozens of nodes before one would open a channel, so I was hunting around for reasons.  The connect-before-openchannel bug afflicts other LN apps, but it's not the issue here.

If you leave the app open long enough, it's going to also see those peers through getNodeInfo because eventually they will be gossiped about, probably easier on Android with background worker.
Will look into pushing this update this week, sorry for the delay!

If you leave the app open long enough, it's going to also see those peers through getNodeInfo because eventually they will be gossiped about, probably easier on Android with background worker.
Will look into pushing this update this week, sorry for the delay!

looking forward to the fix!


HTML5 Audio Object

Is it possible to pass an audio object instead of a microphone source?

v2-rc1 was about 2 years ago, and there hasn't been much new development since then. 😢


Change "hidden" tables/views to "system" tables

Is this still desired? Would you like the localStorage item name changed to showSystem as well?

Also, would "show system tables" be better for the button title? or just "show system"

Yes, this is still something we want to do. I

@cmontella Cool, thanks for the reply! Let me know if I missed anything in my PR, but the visibility toggle and item count are updating on my local copy

NP, we'll merge it in once we have a look at it. Thanks for the help!


Polkadot and Kusama nominator controller accounts are being deprecated

Polkadot and Kusama nominator controller accounts are being deprecated
This is an issue to notify the maintainers of this repo that nominator controller accounts are being deprecated on Polkadot and Kusama, in favour of proxy accounts. In an upcoming runtime upgrade (version and date is yet to be determined), 2 call signatures of the staking pallet will change. These are breaking changes for UIs, so UIs will need to update their codebases when the changes come into effect.
Call Changes
The staking.bond and staking.setController call signatures have now changed in the Substrate codebase PR here, and will take effect in a future runtime upgrade.

set_controller(controller) will become set_controller(). This call will simply set the controller account to the caller's stash account, if it is not already.
bond(controller, value, payee) will become bond(value, payee). This call will now set the caller as the controller account (same as the stash).

UIs can prepare now by adding a controller deprecation message, and allow stakers to change their controller accounts back to their stash using the existing staking.setController(controller) call. The Polkadot staking dashboard recently deployed this functionality and may be useful as reference code.
Next Steps

A follow-up message will be made when we know when these changes will be on Westend, giving UIs time to test any needed changes.
Follow-up messages will be made here when we know the runtime version and date of the change on Polkadot and Kusama.

Other Resources

Polkadot Forum Discussion: https://forum.polkadot.network/t/staking-controller-deprecation-plan-staking-ui-leads-comms/2748

8th June 2023 Update
Westend now reflects the changes of bond and set_controller.

set_controller(controller) has become set_controller(). This call simply sets the controller account to the caller’s stash account, if it is not already.
bond(controller, value, payee) has become bond(value, payee). This call now sets the caller as the controller account (same as the stash).

UIs can now test any necessary changes on Westend leading up to the mainnet releases.
We can assume that the next Polkadot and Kusama releases will reflect these changes, and that it will be at least 4-6 weeks before they are deployed on the networks.

Mainnet Deployment Timeline Confirmed
The corresponding referendum Ref 221 was submitted in Kusama and it is scheduled to be enacted on the 03/07/2023 (block #18625000).
Ref 18 was submitted in Polkadot and it is scheduled to be enacted on the 18/07/2023 (block #16450000).

Mainnet Deployment Timeline Confirmed
The corresponding referendum Ref 221 was submitted in Kusama and it is scheduled to be enacted on the 03/07/2023 (block #18625000).
Ref 18 was submitted in Polkadot and it is scheduled to be enacted on the 18/07/2023 (block #16450000).

Hi @rossbulat,
Many thanks for your notice, we are working on this update and will roll out the necessary changes soon.
Have a good day.

Awesome, looking forward to see the updates live :)


⚠ RPC server - Optimism has degraded performance

In de004bb, RPC server - Optimism ($OPTIMISM_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 108 ms

Resolved: RPC server - Optimism performance has improved in 0866c7a after 6 minutes.


fix: explore tabs & btn responsive (mobile/tablet)

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #4992
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

lgtm on mobile & tablet
but on desktop it's not aligned
I think you need to do something like:

    ...

Thanks! I have fixed it.

pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 32.46 USD/KSM ~ 0.924 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0xb54dd5eebd54b08d8e7a0d496f2d7283eb0b913ca18722629c3cc67cb84790a6
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Add a stable attribute in api_maturity.xml test and fix up tests

gen-tests has hardcoded indices for attribute comparisons. Adding more attributes for testing
would make tests fail.
This is a stand-alone change that adds an attribute to the maturity test cluster and fixes up the test to not
rely on ordering (or count for that matter).
This is in preparation of having maturity flags on attributes, which would require me to add more attributes to the test XML.

Codecov Report

Merging #1168 (2945056) into master (318db74) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1168   +/-   ##
=======================================
  Coverage   65.41%   65.41%
=======================================
  Files         171      171
  Lines       18384    18384
  Branches     3971     3971
=======================================
  Hits        12025    12025
  Misses       6359     6359


Cannot resolve dependency to assembly because it has not been preloaded

Log:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 12 2020 00:47:07), macOS version

OmniSharp server started.
    Path: /Users/frarees/.cache/omnisharp-vim/omnisharp-roslyn/run
    Target: /Users/frarees/Desktop/test/test.sln
    PID: 12427

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on MacOS 10.15.6 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 16.8.0 - "/Users/frarees/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/Users/frarees/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 16.8.0 - "/Users/frarees/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin"
            CscToolExe = csc.exe
            MSBuildToolsPath = /Users/frarees/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin
            CscToolPath = /Users/frarees/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild/Current/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /Users/frarees/.cache/omnisharp-vim/omnisharp-roslyn/omnisharp/.msbuild
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/Users/frarees/Desktop/test'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in '/Users/frarees/Desktop/test/test.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/frarees/Desktop/test/Assembly-CSharp.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/Users/frarees/Desktop/test'.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/frarees/Desktop/test/Assembly-CSharp.csproj
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/Users/frarees/Desktop/test' on host -1.
[info]: OmniSharp.OmniSharpWorkspace
        Miscellaneous file: /Users/frarees/Desktop/test/Assets/NewBehaviourScript.cs added to workspace
Replaying requests for buffer 1
[info]: OmniSharp.Roslyn.CSharp.Services.Diagnostics.CSharpDiagnosticWorkerWithAnalyzers
        Solution initialized -> queue all documents for code analysis. Initial document count: 1.
Can't find custom attr constructor image: /Users/frarees/Desktop/test/Library/ScriptAssemblies/Unity.Properties.dll mtoken: 0x0a000005 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
JSON error: Vim(let):E474: Invalid argument
Can't find custom attr constructor image: /Users/frarees/Desktop/test/Library/ScriptAssemblies/UnityEditor.UI.dll mtoken: 0x0a00000b due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
JSON error: Vim(let):E474: Invalid argument
3 errors caught while loading: stopping

It happens just on one of my projects, and I cannot seem to figure out where this comes from. Any clue? Thanks!

I don't know what this is sorry, it might be an OmniSharp-roslyn issue, perhaps try to ask there?
I'd recommend getting a raw OmniSharp-roslyn log, by starting the server directly from the command line:
cd /Users/frarees/Desktop/test/
/Users/frarees/.cache/omnisharp-vim/omnisharp-roslyn/run -l debug

Cool, will try sharing there. More insights from the OmniSharp-roslyn log.
Can't find custom attr constructor image: /Users/frarees/Desktop/test/Library/ScriptAssemblies/Unity.Properties.dll mtoken: 0x0a000005 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/frarees/Desktop/test/Library/ScriptAssemblies/UnityEditor.UI.dll mtoken: 0x0a00000b due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/frarees/Desktop/test/Library/ScriptAssemblies/Unity.Properties.dll mtoken: 0x0a000005 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/frarees/Desktop/test/Library/ScriptAssemblies/UnityEditor.UI.dll mtoken: 0x0a00000b due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.

Also:
{"Event":"log","Body":{"LogLevel":"ERROR","Name":"OmniSharp.MSBuild.ProjectLoadListener","Message":"Unexpected exception got thrown from project load listener: System.NullReferenceException: Object reference not set to an instance of an object\n  at OmniSharp.MSBuild.ProjectLoadListener.GetSdkVersion (OmniSharp.MSBuild.Notification.ProjectLoadedEventArgs args) [0x0000b] in <7e6cb753aca94549b693616e0e7d1016>:0 \n  at OmniSharp.MSBuild.ProjectLoadListener.ProjectLoaded (OmniSharp.MSBuild.Notification.ProjectLoadedEventArgs args) [0x0001a] in <7e6cb753aca94549b693616e0e7d1016>:0 "},"Seq":582,"Type":"event"}

Yeah that NullReferenceException is certainly happening on the OmniSharp-roslyn side

I've seen that the NullReferenceException is happening on other projects that I can open successfully, so might not be related.
Aside, since I get more than 3 errors (4 Can't find custom attr constructor image errors), it warns me that I might be using the HTTP version.
You appear to be running an HTTP server in stdio mode - upgrade to the stdio server with :OmniSharpInstall, or to continue  in HTTP mode add the following to your .vimrc and restart Vim:   let g:OmniSharp_server_stdio = 0
channel 0 closed: '<feff>'

Maybe there's a way to gracefully ignore these?
The project actually loads, so I'm wondering if omnisharp-vim is stopping cause it's getting these unknown errors, but could actually continue to function.
...
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Successfully loaded project file '/Users/frarees/Desktop/test/Assembly-CSharp.csproj'."},"Seq":50,"Type":"event"}
{"Event":"MsBuildProjectDiagnostics","Body":{"FileName":"/Users/frarees/Desktop/test/Assembly-CSharp.csproj","Warnings":[],"Errors":[]},"Seq":51,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Adding project '/Users/frarees/Desktop/test/Assembly-CSharp.csproj'"},"Seq":52,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Update project: Assembly-CSharp"},"Seq":53,"Type":"event"}
...

Maybe there's a way to gracefully ignore these?
The project actually loads, so I'm wondering if omnisharp-vim is stopping cause it's getting these unknown errors, but could actually continue to function.

Hmm, you may be right about that. Do you want to test this out? You could try changing the 3 here to e.g. 100: https://github.com/OmniSharp/omnisharp-vim/blob/master/autoload/OmniSharp/stdio.vim#L15

Indeed, it worked!

Well, just increasing that limit is a pretty simple fix. I don't know what a sensible number of json errors to receive is? I do still want to have this test, as it is a reasonably reliable way to detect that the user is using the HTTP version of the server.
Or perhaps instead of just counting invalid json messages from the server, we could count both valid and invalid, and just check that there are more valid than invalid messages. That seems a bit more robust.

Or perhaps instead of just counting invalid json messages from the server, we could count both valid and invalid, and just check that there are more valid than invalid messages.

Sounds like a good idea.  Is it easy to have successful messages when missmatching stdio/http? If it's not easy, what about waiting for n messages and check how many of them are successful? e.g. wait until you get 6 messages, check that 3 of them are valid.

@frarees could you give the latest version a try?

All good 👍


Added support for testing async JsonResult actions

Noticed while using this package that it wasn't supporting async actions that return JsonResult objects via the fluent syntax. The following would generate a compiler error:
routes.ShouldMap("/Async/JsonAsync/123")
            .To<AsyncController>(HttpMethod.Post, x => x.JsonAsync(123));

Where the JsonAsync method returns a Task<JsonResult>. Added some method overrides to introduce support for this and a new unit test to verify its behaviour.

Hi @AnthonySteele any chance this merged pull request can be published to a new NuGet package for the MVC5 version: https://www.nuget.org/packages/MvcRouteTester.MVC5/, I'd like to get our code updated so that I can uncomment some unit tests that this change will address.
Cheers,
Will.

Good idea, I'll try to do this over the weekend.

I have updated the master ( MvcRouteTester.Mvc5.2 ) but haven't yet had time to sort out the other branches for older versions of ASP MVC.


Enumerate toRemove before iterating the Dictionary

There's a situation that can cause an InvalidOperationException in RemoveInvalidPawns. If you remove multiple pawns in a single tick, then the enumerator is invalidated after the first loop of the foreach.
The reason for this is that LINQ Where isn't executed immediately, but rather lazily as it's Enumerator is executed. This means that in the first loop of the foreach, it gets the first item, then removes it from the Dictionary. Then, when the second loop tries to start, the enumerator is invalid because of the first item being removed.
We can fix that by forcing an enumeration of the toRemove by forcing it into a List with ToList(). This forces the Where to go through the entire Dictionary first, and then start the foreach where it removes the keys from the Dictionary.
Thank you again for porting this to 1.5!

And thank you for getting this fix in.
I'd not run into this particular scenario myself, so might of been a bit before I did.


Introduce disabled prop on SortableContext

The <SortableContext> component now optionally accepts a disabled prop to globally disable useSortable hooks rendered within it.
The disabled prop accepts either a boolean or an object with the following shape:
interface Disabled {
  draggable?: boolean;
  droppable?: boolean;
}

The useSortable hook has now been updated to also optionally accept the disabled configuration object to conditionally disable the useDraggable and/or useDroppable hooks used internally.
useSortable({
  disabled: {
    draggable: true,
    droppable: false,
  }
});

Like the strategy prop, the disabled prop defined on the useSortable hook takes precedence over the disabled prop defined on the parent <SortableContext>.

Hi !
We are currently implementing DND within an application and need to control which draggable elements can be dragged in specific droppable elements.
The docs (section: useDroppable) show an example using the data argument with a custom "accepts" parameter. This is exactly what we need, but I am now trying to figure out how we set the restriction.
Do we need to set the droppable element to "Disabled = true" if the droppable item doesn't accept the item? Or is there a better way?
function Droppable() {
  const {setNodeRef} = useDroppable({
    id: 'droppable',
    data: {
      accepts: ['type1', 'type2'],
    },
  });

  /* ... */
}


Possible to add the ability to loop one song?

To be honest, it's the only thing stopping me from daily driving this client. I like to loop one song and then change it as I please usually, so would be nice to see this!

Wow, fast! Thank you so much <3


Buttons overflowing in small screens

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behaviour:

Open the chat ui in smaller phones such as moto g4

Expected behavior
The ui should adapt to the small screen.
Screenshots
Screen short of the overflowing ui

What device are you on?
moto g4
Additional context
The bottom buttons on the chat page overflows when there is a smaller screen.

What is the exact resolution?

Its 360 X 640

had been fixed in #2404 @DevelopAppWithMe, can you close this issue


Configure CI for release

Produce release artifacts for the supported os/arch
Generate github release

Implemented on release v0.0.1


Building Wallet example (from workspace) - throws :0: error: could not build Objective-C module 'crypto' - 'openssl/e_os2.h' file not found

I'm targeting ios 11 - (not ios 11.2)
seems like there's a specific openssl version required.
https://github.com/ZBK1nger/bither-iOS/blob/fd9646362483216b580f6f41151845ef4abb7608/Podfile

think this is a side effect of the path not setup correctly on https://github.com/kishikawakatsumi/BitcoinKit/issues/3

/Users/johndpope/Documents/cryptoWorkspace/BitcoinKit/Libraries/crypto/include/openssl/bn.h:129:11: error: 'openssl/e_os2.h' file not found
include <openssl/e_os2.h>

believe this is related to
carthage update --platform iOS --no-use-binaries

going to try brew upgrade

@johndpope Can you make sure you’re using V0.1.1 or master?

Errors Installing the "cryptography" Package
If you see the error shown below on OS X, then there was an issue installing the cryptography package.
build/temp.macosx-10.10-x86_64-2.7/_openssl.c:423:10: fatal error: 'openssl/e_os2.h' file not found
#include <openssl/e_os2.h>
To fix this issue, try upgrading Xcode Command Line Tools:
$ xcode-select --install
Then, make sure that openssl is installed and re-link it:
$ brew install openssl
$ brew link openssl --force
https://github.com/blockstack-packages/blockstack-profiles-py/blob/8d76651959847aa49c8e1d0714da4407c19c0cd4/troubleshooting.md
found this - it's out of date.
➜  BitcoinKit git:(btc) ✗ brew link --force openssl
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib

brew info openssl
openssl: stable 1.0.2n (bottled) [keg-only]
SSL/TLS cryptography library
https://openssl.org/
/usr/local/Cellar/openssl/1.0.2l (1,701 files, 12.2MB)
Built from source on 2017-09-09 at 20:27:15
/usr/local/Cellar/openssl/1.0.2m (1,792 files, 12.3MB)
Poured from bottle on 2017-11-06 at 12:40:57
/usr/local/Cellar/openssl/1.0.2n (1,792 files, 12.3MB)
Poured from bottle on 2018-02-06 at 12:15:02
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/openssl.rb
==> Dependencies
Build: makedepend ✔
==> Options
--without-test
Skip build-time tests (not recommended)
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.
If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.zshrc
For compilers to find this software you may need to set:
LDFLAGS:  -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
For pkg-config to find this software you may need to set:
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig

openssl version -a
OpenSSL 1.0.2n  7 Dec 2017
built on: reproducible build, date unspecified
platform: darwin64-x86_64-cc
options:  bn(64,64) rc4(ptr,int) des(idx,cisc,16,int) idea(int) blowfish(idx)
compiler: x86_64-apple-darwin13.4.0-clang -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -I/Users/johndpope/miniconda3/include -I. -I.. -I../include  -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
OPENSSLDIR: "/Users/johndpope/miniconda3/ssl"

No need to install OpenSSL to use this library. Can you try clone the repo then just build it?

I'm on latest branch - bitcoinkit compiles fine - but with wallet -  this is similar error I get.

I'm using iterm / zsh / mini conda - could have something to do with it.
will keep digging.

joy. adding /usr/local/opt/openssl/include + /usr/local/opt/openssl/lib to header search path resolved this for me. not ideal I guess - but finally up and running.
happy to leave this open until a better solution arises.
or can close.

Hmm, it seems something wrong my side. I'll investigate it. Thank you for reporting!


[GH-36] Serialize omf files to ZIP format instead of custom binary

This implementation follows from the discussion here: https://github.com/gmggroup/omf/issues/36
OMF files are now serialized in a ZIP format like:
my_file.omf
|- project.json
|- 0f52a9b6-d641-ffea-99af-d2e840ca3187
|- 0d4b91f1-a487-fa08-8838-047501d3764f
|- f00a8e45-fbd5-f32f-ba59-6214392dadbf
|- af3403b9-9cf9-f614-a812-022bbba41a3a
|- 27d07ff2-ee67-f2a5-9698-932a3c313985
|- ...

project.json includes the version of OMF as well as the entry UUID to the project. Binary data is referenced by zip file path, by default, this is just a UUID.
Note - this implementation allows ZIP64 encoding - that means we are not limited to the 4 GB limit of standard zip files. This may have slight implications (i.e. file browsers in older operating systems don't support it), but it looks like there's open-source C support which may be used for the OMF v2 reference implementation (https://github.com/uroni/miniz). Also, the Python implementation isn't really optimized to write huge files, but I think the spec should allow it.

Just tagging some folks who commented on https://github.com/gmggroup/omf/issues/36 - please submit a review if you are so inclined! @dbrookes96 @rpakdel @Zekaric @martinken

Codecov Report

Merging #91 into dev will increase coverage by 0.6%.
The diff coverage is 96.66%.

@@            Coverage Diff            @@
##              dev      #91     +/-   ##
=========================================
+ Coverage   96.61%   97.21%   +0.6%
=========================================
  Files          11       11
  Lines         502      467     -35
=========================================
- Hits          485      454     -31
+ Misses         17       13      -4

Impacted Files
Coverage Δ

omf/__init__.py
100% <100%> (ø)
:arrow_up:

omf/serializers.py
96.2% <100%> (+0.14%)
:arrow_up:

omf/fileio.py
95.34% <94.59%> (+2.84%)
:arrow_up:

Continue to review full report at Codecov.

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


Alchemy error for max compute units per second capacity

In our testnet logs we received from time to time:

Failed to filter logs. Error: [Your app has exceeded its compute units per second capacity. If you have retries enabled, you can safely ignore this message. If not, check out https://docs.alchemyapi.io/guides/rate-limits]  context="EVM Router Watcher [3-0x972330a840552000a7bc4C78F288F92dfF4
Failed to retrieve latest block number. Error [Your app has exceeded its compute units per second capacity. If you have retries enabled, you can safely ignore this message. If not, check out https://docs.alchemyapi.io/guides/rate-limits]  context="EVM Router Watcher [80001-0xE23fC14A2e522b5294ad8CaB4883198491af6277]"

Please check the logic for the filter logs eth_getLogs and block number eth_blockNumber. It looks like we:

are making 5 queries/sec to Polygon.
have subscription - every 2 sec (new block) for new events
check for a listener that query block X and Y on every N seconds

Once we have the current logic, we can think of a possible workaround.

one API key on Testnet for 4 validators


migrate-domain should accept *.domain.com

Although the examples/docs specify using e.g. flynn cluster migrate-domain domain.com, it ought to also accept *.domain.com as equivalent, or at least reject it with appropriate messaging. This has tripped up a few users.

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Symbols are truncated when user copy-past values into field

If we set parameter "vMax" as<PHONE_NUMBER> user can not insert velue<PHONE_NUMBER> into the field.
http://screencast.com/t/gMd78qHPRPxo

$('.foreman-report-quantity').autoNumeric('init', {
vMin: 0,
vMax:<PHONE_NUMBER>,
mDec: 0,
aPad: false,
aForm: false,
lZero: 'deny'
});

The version of library is this: http://prntscr.com/c1y4oa

I have tested this on version 1.9.45 and do not encounter the same issue.
Please post an example on fiddle so I can trace.
Please note that vMin, vMax & mDec should be placed as text
vMin: '0',
vMax: '2147483647',
mDec: '0',

Please note that vMin, vMax & mDec should be placed as text

How intesting. Is it can not be fixed internally in plugin?
I tried your suggestion, but, unfortunately, it is does not helped to me.

Please post a jsfiddle or codepen so i can see the issue first hand.

Unfortunately, this services not permit to use external sources like http instead of https.
And on our site i can not to show, because you need log in for it, but i have no permission to give it to you.
Perhaps, you can give me https link on this library, then i will try to reproduce issue on jsfiddle/codepen

@Aeliot-Tm you can use rawgit to reference code from Github.

I just tested on the next branch, and you can enter<PHONE_NUMBER>, which gets formatted to 1,234,567,890 when using the following options : { allowDecimalPadding: false, formatOnPageLoad: false, minimumValue: '0', leadingZero: 'deny', maximumValue: '2147483647', mDec: '0' }.


"GlucoseFromRaw.swift" not found

Hello dabear,
Thank you for posting this plugin.
Unfortunately, I keep getting an Xcode compile error, trying to load the LibreTransmitter plugin (through a combined workspace) to the Loop app, running on my iPhone X on iOS 14.3:
Build input file cannot be found: '...../LibreTransmitter-main/LibreSensor/GlucoseAlgorithm/GlucoseFromRaw.swift’
A search for "GlucoseFromRaw.swift" on my Mac does not find anything either.
Do I need to preload any specific libraries or kits to make this work for by FSL/MiaoMioa?
(Apologies if I missed anything myself ..)

I think the @bubbledevteam's implementation in https://github.com/bubbledevteam/bubble-client-swift/blob/5e5885feac5e23dcdce739bdf3cd846b81a048dc/BubbleClient/NFCManager.swift#L823-L850 share the same code base.

I think that @bubbledevteam's implementation in https://github.com/bubbledevteam/bubble-client-swift/blob/5e5885feac5e23dcdce739bdf3cd846b81a048dc/BubbleClient/NFCManager.swift#L823-L850 and xdripswift's one (https://github.com/JohanDegraeve/xdripswift/blob/d0c996b58a2f99e48f0d1da774db12e78ce74985/xdrip/BluetoothTransmitter/CGM/Libre/Utilities/LibreMeasurement.swift#L148) share the same code base.

Thank you Guido.
Unfortunately, that version also does not seem to contain the  GlucoseFromRaw.swift code and fails on my Xcode setup ...

Just found the readme comment, that this branch that it indeed comes without a GlucoseFromRaw.swift file... I guess I can close this comment (and need to read more before posting). My apologies.

Closing this


Recaf loads large Jar file slowly

[INFO:6/17/18 12:16 PM] Adding method hierarchy
[INFO:6/17/18 12:23 PM] Finished generating inheritence hierarchy
It took nearly 7 mins to load all methods hierarchy on the machine.
This wasn't the issue prior in v1.3.
The jar file contains approximately 1400+ class files.

Do you have this option enabled? If so you can disable it and this will skip the hierarchy generation. The option should be off by default.

I didn't touch that option when I launch the new version in a new folder without any previous config files. I've checked that option again and it is turned off in the UI.
A correction for my previous statement, that there are 4000+ classes in my jar file. I tried to open it in v1.2.3, it's lightning fast. But the problem persists in the 1.3.0

Oh opps, looks like the 1.3.0 release jar doesn't check for the option... I'll fix that in a second.

Fixing a bug and changing an O(n) operation into an O(1) operation should greatly improve performance with this feature. I'll post a release soon (But you can also DL the source and compile via maven to get it now)

207758e42e2c4157c818f83a4c86239009112269 You can now multi-thread the linked method renaming feature. By multi-thread, I mean that the process is technically single-threaded but the actual process of generating maps is threaded so it can get done faster. The default is 1, I've bumped it up to 4 and the performance boost is very noticeable.
In the future perhaps I'll have this process parallel to the main thread.


Wizard class level 16 - 2 ability score choice bug

Hi, latest version of mod .94.7. Just scrolling through and saw wizard get 2 ability score choice instead of 1 at level 16.

fixed.


Unexpected delay of 40 ms

Hi, I'm using lapin from tokyo. I start 3 test services: sender -> proxy -> echo. Typically, when receiving a message from a request to the sender, there is a delay of 40 ms.
I'm using Jaeger tracing, you can see what is being called:
channel.basic_publish(
                EXCHANGE_NAME,
                route,
                BasicPublishOptions::default(),
                payload.as_slice(),
                properties,
            )

but the consumer.next ().await call only happens after 40+ ms:
while let Some(Ok(delivery)) = consumer.next().await {
***
}

There is a 30% chance of delay

Hi,
Any chance you can use tcpdump / wireshark to see if the delay is caused by:

waiting for packets to be sent on the network
waiting for packets to be received on the network
in the actual code


Implement correct CLI coloring and logging. Get rid of --report-path option, since report can now be saved via piping (fixes #192)

\cc @AlexanderMoskovkin @churkin
@VasilyStrelyaev please, check comments

Tests failed in IE9. The problem is the same as in the testcafe-hammerhead tests (the IE9 window.setTimeout issue). Now I really don't now how we can fix this. It seems it relates to IE9 native setTimeout function lags on a slow machine. Maybe it depends on Selenium web driver on sauselabs but I can't reproduce it on my local machine on IE9 with web driver. We've added IE9 to testcafe saucelabs settings recently (https://github.com/DevExpress/testcafe/issues/111), therefore we had no such problems before

@testcafe-build-bot \retest

/r-

@testcafe-build-bot \retest

@testcafe-build-bot \retest

@testcafe-build-bot \retest

FPR

lgtm

ping @AlexanderMoskovkin @churkin

lgtm

ping @churkin

lgtm


[Feature Request] The website should increase the automatic completion of email suffix

Existing Component
Yes
Component Name
el-autocomplete
Description

English

On the ElementUI website, no auto complete mailbox example
I think it should be added.
This is the demo I wrote:
https://jsfiddle.net/v7stcb4c/

中文

网站上没有邮箱自动补全的例子
在elementUI网站上，没有自动补全邮箱后缀的例子
我认为这个应该被添加
下面是我写的demo：
https://jsfiddle.net/v7stcb4c/

I don't think this is necessary. Implementing such feature should be pretty easy.


cnap/core: add the implementation for pipeline related classes

This PR is to fix #52 , design and implement for pipeline related classes.

Closes #52


Failure to Connect

Type: Bug
SQL Server - trying to connect to a server and the connection takes forever, or fails. It's a known connection, good credendials, SSMS connects with no problem. I have to close and restart ADS to make it work.
Azure Data Studio version: azuredatastudio 1.46.1 (ba29842b81dec01177415e53948ca2168e69c3f8, 2023-10-02T18:14:22.887Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz (16 x 2611)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
63.20GB (46.72GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

query-editor-boost
dre
0.4.1

ssmskeymap
kev
1.1.0

admin-tool-ext-win
Mic
0.1.3

agent
Mic
0.49.0

azuredatastudio-postgresql
Mic
0.5.0

import
Mic
1.5.5

powershell
ms-
2023.2.1

query-history
Mic
0.5.3

azdata-sanddance
msr
4.0.3

extra-sql-script-as
pac
0.5.0

sql-prompt
Red
0.2.12

sql-search
Red
0.4.2

(1 theme extensions excluded)

Hi @barryseymour , do you see any errors in the Developer Tools Console?  Is this an Azure Server you are connecting to?

Hi @barryseymour , do you see any errors in the Developer Tools Console? Is this an Azure Server you are connecting to?

I'm afraid not. It's intermittent, hard to catch it in action. A possible clue is that I sometimes connect to one connection, then use the USE statement to switch to another database on the same server. That seems to confuse Intellisense, or at least slow it down.
I'll keep my eye open.

@barryseymour
You can always enable logging as per above comment and let us know if you experience an error in SQLTools.log file.
(you can open it directly in ADS by running command > mssql.showLogFile (MSSQL: Show Log File) > sqltools.log)

Okay, thanks to you both. I'll give it a shot tomorrow.  I hope I can catch it in action!

@barryseymour
Checking in, have you been able to reproduce the error again?
Thanks!

please reopen if this still repros and logs can be provided.


⚠ Bofrost.nl has degraded performance

In 0ace8bb, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 929 ms

Resolved: Bofrost.nl performance has improved in 44dabc6.


database consistency check and repair utility scripts

Currently there is a command to check database  storage unit consistency:
database-ingest check.
If inconsistency problem detected, how to fix the inconsistency?  scripts.

improve the ingest check


[BUG] Dynamic config does not pick up file changes

Describe the bug
When ambinic-edge is running, changes to config.yaml are supposed to result in reload of the config. This is not the case currently.
To Reproduce
Steps to reproduce the behavior:

Start an Ambianic OS based image on rpi4
Touch or change the config file located at /opt/ambianic/workspace/config.yaml
Look at logs for information on config updates
Observe lack of change

Expected behavior
The log output should show that a new configuration was detected and applied.
Application behavior should change reflecting new config.
Host environment (please complete the following information):

Hardware: Raspberry Pi 4
OS: Ambianic OS
Container: docker
Version: ambianic-edge 1.12.14

Already addressed by #251


Code for IBM i not working so good in Codespaces

I should look into this

Browser based. Safari not good


Too many brackets

Setup:
openApiGenerate {
	generatorName = "micronaut"
	inputSpec = "${rootDir}/****/api.yaml"
	outputDir = "${buildDir}/HTTP"
	apiPackage = "com.***.api"
	invokerPackage = "com.***.invoker"
	modelPackage = "com.***.model"
	generateApiTests = true
	generateModelTests = false
	configOptions = [
			useGenericResponse     : "true",
			useOptionals           : "false",
			dateTimeRelaxed        : "false",
			fullJavaUtil           : "true",
			jacksonDatabindNullable: "false",
			supportAsync           : "false"
	]
}

Expected:

generate endpoints with micronaut http responses

Observed:

httpResponses have additional brackets, see:

This is generated code. The use of brackets is not wrong there.
If you need to fix this because of you style guide please provide a pr.


Some ECUs have a 'DTC offset' of some kind

So whilst playing with some CBFs, we found that certain ECUs seem to apply an 'offset' when reading DTC information, which Caesar knows about from CBF and subtracts the offset from the DTC.
Good example of this is SBC (EHB_ASG.CBF) where reading DTCs provides the following Trace:
[58, 06, 66, 6F, 60, 64, 2F, 60, 61, 31, 60, 64, 0F, 60, 64, 4F, 60, 66, EC, 60]

This response from the ECU would typically indicate the following DTCs according to the KWP2000 specification:
666F, 642F, 6131, 640F, 644F, 66EC

However in actual fact, the errors as reported by Vediamo (And are contained in the CBF) are
266F, 242F, 2131, 240F, 244F, 26EC

So it seems that (On these DTCs at least), there seems to be an offset of -0x400 applied to each DTC

Hi! Thanks for taking time to create this issue.
Without reading the KWP spec, I am not sure if the input DTC IDs require a mask (I have not implemented DTCs for KWP). For UDS, I had to apply a mask of 0x3FFFFF to take the 22 effective bits for a usable ID.
https://github.com/jglim/CaesarSuite/blob/27369e939a5ecfd10875df268ef02be86b27b47f/Caesar/Diogenes/DiagnosticProtocol/UDS.cs#L227
Perhaps a similar style of masking is required, e.g. taking the lower 14 bits in the received KWP DTC? Unfortunately I do not have KWP devices to test this on, so I might need your help on this.

No there isn't a mask. The KWP Specification states that a DTC can be anything from 0x0000 to 0xFFFF. KWP only supports 16bit DTCs.
Depending on which value the DTC has denotes which category it falls under:
0x0001-0x3FFF - Powertrain(P)
0x4001-0x7FFF - Chassis(C)
0x8001-0xBFFF - Body(B)
0xC001-0xFEFF - Network (N)

I'll have another guess at this:
Take the above table/address mapping and discard (right shift) the first 14 bits to get this table
0x0001-0x3FFF - Powertrain(P) : 0
0x4001-0x7FFF - Chassis(C) : 1
0x8001-0xBFFF - Body(B) : 2
0xC001-0xFEFF - Network (N) : 3
Using this DTC as an example:
C266F : Pedalwegsensoren: Leitungsabriß Kanal 2; Kanal 1 bereits ausgefallen

By swapping the "C" prefix into the value 0x266F, we can get the value 0x666F:
(prefix << 14) | id  → (1 << 14) | 0x266F → 0x666F


Entity View Module: Partial update does not respect empty collections

Description
For partial updates eg via PATCH request it is not possible to set properties to null or empty for collections.
Expected behavior
We expect that properties can be set to null or empty in case of collections.
Actual behavior
No update statement is executed and therefore the property does not change in any way
Steps to reproduce
https://github.com/ahofmeister/bp-collection-empty-reproducer - there is a test case to reproduce the issue.
Note the reproducer is only for collections
Environment

Version:  1.6.1
JPA-Provider:
DBMS:
Application Server:  Quarkus 2.7.5.Final

Thanks for the report. In the meantime, you can use saveFull as a workaround to also flush the collection. If that doesn't work because you want to apply only partial state, you will have to load the updatable entity view first and the apply the JSON onto that object via the EntityViewAwareObjectMapper. I'll try to see if I can fix that soon though, as I think this might be easy!

FYI The workaround works well :)

Wanted to add here that this is something we ran into last week as well. We had no idea this was the case by default. Hoping this will make it into 1.6.9!


Bug

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Code of conduct

/needsMoreInfo


Run post-provision scripts after post-provision tasks.

Issue Type

Bug Report / Support Request

Your Environment
Vagrant 1.8.6
VirtualBox 5.1.14r112924
ansible <IP_ADDRESS>
  config file =
  configured module search path = Default w/o overrides

Your OS

macOS (10.12.4)

Full console output
n/a

Summary
I've been trying to minimize my development environment and integrate as much as possible with DrupalVM, and I've come to the point where I have a custom task to run a post-provision script because the script is configured to run before the post-provision tasks...
So to get this job done, the script runs twice.
Because my post-provision tasks include custom roles there are changes to the file system that aren't present when the post-provision scripts are executed initially.
Would it be considerable to run the custom scripts after the custom tasks, or is this something that would be dismissed?

I'd suggest using one or the other rather than both.
You can call scripts in an ansible with the script module.
Custom tasks are far more flexible + you have access to all the ansible variables :)

There's also pre tasks if you need to run anything before the main roles.

Fair enough, I might just include the task instead of the configured script.
Is it documented somewhere that the recommended configuration is for one of these two features, but not both for a given reason - or did I miss this information?

@fubarhouse I guess in some cases it might be feasible to use both but just to make it easier to manage I suggest just using one.

Yeah, I'll close this one off. I don't believe the order is logical but I'm happy here...

NW, but if they aren't interdependent it shouldn't matter what order it's run..


Uncaught ReferenceError: Gitalk is not defined

<link rel="stylesheet" href="/css/gitalk/gitalk.css">
<script src="/js/gitalk.min.js"></script>
<script type="text/javascript" src="/js/md5.js"></script>

<script>
    var currentUrl = window.location.href;
        var gitalk = new Gitalk({
            clientID:  'b020efa154461c9ce05d',
            clientSecret: '1f2cfb6120d2fca3f942c5bb31858638f5566b2a',
            repo: 'xxx',
            id: md5(window.location.pathname),
            owner: 'xxx',
            admin: 'xxx',
            distractionFreeMode: 'true'
        })
        gitalk.render('gitalk-container');
</script>

Did the file /js/gitalk.min.js  load success？

Yes, All js load success. This error occurred after I reinstalled the development environment on the new computer, the same code was successful before this.
And i have install the gitalk package
npm install gitalk --save

Are use webpack? had require gitalk？
Need offer more info.

No more feedback. Temporarily closed.


Fix CoverAmbience Auth

On Spotify Windows version 1.2.38, Spicetify version 2.36.11, CoverAmbience is broken when attempting to authenticate with below log from the dev console:

It looks like Spicetify updated their API to a simpler way of fetching the user access token via Platform.Session.accessToken.
Before:

After:

Seems to work well, thank you!


Update UG for release v1.3

Closes #174

TODO: Add resizable result display feature

TODO: Add resolution scaling feature

Close #173 as well


Compute tangents / bitangents from UV directions in Shader

http://www.thetenthplanet.de/archives/1180
So precomputed tangents are not required.

The derivatives approach might work when generating an AO map (ie the triangles are projected in a 2D way) but for the proper path tracer it should be possible to derive tangents and bitangents from the intersected triangle points.


Is it posible to connect to an running app process, not a new instance ?

It always create an new instance
Is it posible to connect to an running app process, not a new instance ?

Yes its possible. You can start the application manually and switch to that application with the below code
DesiredCapabilities desktopCapabilities = new DesiredCapabilities();
desktopCapabilities.SetCapability("app","Root");
desktopSession = new WindowsDriver(new Uri(WindowsApplicationDriverUrl), desktopCapabilities);
Assert.IsNotNull(desktopSession);
                var ShellWindow = desktopSession.FindElementByClassName("ApplicationFrameWindow");
                var XXXShellTopLevelWindowHandle = ShellWindow.GetAttribute("NativeWindowHandle");
                XXXShellTopLevelWindowHandle = (int.Parse(XXXShellTopLevelWindowHandle)).ToString("x");

                DesiredCapabilities appcapabilities = new DesiredCapabilities();
                appcapabilities.SetCapability("appTopLevelWindow", XXXShellTopLevelWindowHandle);
                session = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl),appcapabilities);

@wzlsquall, hoping the response above resolved it for you. If not feel free to create another ticket.


netlify: For deploy previews skip the minification

The minification is by far the slowest part of the build. This change makes a preview available in a minute, instead of 20.
Related Issue(s)

Checklist

[ ] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

@Yndira-E PR is not even 2m old, and the preview is available:

This is great ZJ, thanks!!


Pretrained model on Lapa

Thanks for your wonderful work! I wonder if there is any pretrained bisenetv2 (or other models) on dataset lapa you can share with us?

Sadly, I don't have any models trained on lapa dataset.

Thanks for replying. May I ask if you have models trained on any face parsing dataset that can share with us?

I don't have any other models except the ones in MODELS. These models are trained on HELEN dataset but please keep in mind that I only tested the performance of the models on face parsing datasets. If you have great machine and more tuning, you can get better results.


Monitor VM

Monitor VM qemu process with 0-Watchdog

Added a watchdog handler for the "kvm.events" messages.
If a vm was killed using "kill -9 <process_id>", it starts the vm again. If it was killed using "kill " it makes sure the vm service is up to date.

Software Version
8124cc51afc8f1f6e1431f50e4e83894954e4091


route: implementation of HeaderAppendAction

Commit Message: route: implementation of HeaderAppendAction
Additional Description:
The HeaderAppendAction was added in the #18246. But the implementation never done. This PR try to complete this feature.
Further work of #18246. To close #22713.
Risk Level: Low.
Testing: Unit Test.
Docs Changes: n/a.
Release Notes: wait.
Platform Specific Features: n/a

It's ready for a formal review for now. cc @htuch @soulxu 😸

Because some special behavior in the ext_authz/ext_proc (#22845), most update in the ext_authz & ext_proc has been reverted.


Filters: Content Type

When selecting both content types (screencast and video course) the "Apply" button changes to a "Close" button. Still functions as "Apply".
https://drive.google.com/open?id=1HSP1L4mceSP1rbD9Mss8WV2vHaH-SDUJ

Closed via #462


Technical Optimizations and Refactoring

Issues to tackle TBD after an initial sync with @bprusinowski @adintegra @ptbrowne.
The scope of the work should not exceed 40h

For some initial ideas see refactors ideas and performance optimization ideas.


Linux remove dotnet5.x

Description
[Ubuntu] .NET 5.x has been removed from the images
Related issue: 6840
Check list

[x] Related issue / work item is attached
[x] Changes are tested and related VM images are successfully generated

PR was canceled because wrong source branch


Check for use of ... outside varargs function

If EVarArgs is used outside of a variable arguments function, the checker needs to emit an error, since this is always invalid (... also can't be used as an upvalue)

Nevermind, the checker already does this


Issue#290

This is my solution for issue#290.
The user will be asked if he wishes to store the static map. This only
shows up, if the apropriate setting for storing the maps is on (waypoint / cache).
Current master is merged.

I will change this. Sorry, I'm new to Android API and resources. :-)
You do a great job in reviewing.

Changes done and working.

Thanks for the fix. I'd like to request some minor workflow change nevertheless: Please try to use less commits per feature/fix. While you are working on a single bugfix, there is no need to "save in between". Even if your Eclipse installation crashes (or if you close Eclipse and start working on the stuff again the next day), the files are still the same like before, no commits necessary. So you should only commit if a feature/fix is finished.
Otherwise this pollutes the commit history as you can see here: https://github.com/cgeo/c-geo-opensource/commits/master (and makes it harder to revert a bugfix, should that become necessary).
The second thing is that you shouldn't merge the master branch. If you develop a fix/feature on a separate branch, it is perfectly fine if your branch gets "outdated" regarding other fixes by other developers. When pulling your changes in, git will do all the necessary merging on the master branch and it doesn't matter whether your code is minutes or weeks old. And should there really be a merge conflict (because someone else did conflicting changes in the same places), we will resolve them on merging your branch, so you don't need to assure that beforehand.

Thanks for making this clear. I will do my best with the next issues.


stream_settings: Provide stream privacy and description in notification events when stream is created.

This PR is in continuation of PR: #21030 to fix the issue: #21004
GIFs or screenshots:

To test creation of multiple streams by a single API,
here i have replaced if len(created_streams) > 1 with if len(created_streams) == 1:

Here is the notification we get in #announce stream:

Here is the notification we get in respective stream:


fix remove db readlock before get table from db

insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock
for example:
insert: target table read lock -> database read lock
drop table: database write lock -> target table write lock

run buildall

run p1

run could_p0

run cloud_p0


refresh token已切换至 api.aliyundrive.com/token/refresh，老的域名websv.aliyundrive.com 访问不通

问题描述
如题，refresh token已切换至 api.aliyundrive.com/token/refresh，老的域名websv.aliyundrive.com 访问不通
重现步骤
2023-01-09T08:35:53.726068Z  WARN aliyundrive_webdav::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Name does not resolve
版本
1.10.5
运行平台
docker
refresh token 获取方式
网页版
日志
2023-01-09T08:35:53.726068Z  WARN aliyundrive_webdav::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Name does not resolve

正确更新版本。

See also https://github.com/messense/aliyundrive-webdav/issues/589#issuecomment-1241418940


Improve quality of testing over Detox assertions (expects etc.)

Description

This pull request is related the issue described here: #3977

This pull request introduces some preliminaries to #3977: It cleans up some Detox self-tests related to expectations (assertions). That allows, in turn, to introduce further tests related to that issue.

Eliminated assertion E2E tests that have already been covered on unit-test level (i.e. invalid args detection).
Improved expect unit-testing:

Replaced custom expectToThrow() with jest's expect().toThrow() which does the same thing
Removed the by.traits() test for unsupported traits at unit level, which only make sense on E2E-level because the error should come from native-detox code (todo: add such E2E's)
Added missing invalid-args assertions in some expect() calls which were unit-tested to throw but didn't fail because expectToThrow() was "penetrable".

For features/enhancements:

[ ] I have added/updated the relevant references in the documentation files.

For API changes:

[ ] I have made the necessary changes in the types index file.

@noomorph Please review post-factum if you wish


ERROR! the role 'ansible-dockerswarm' was not found

First off - i'm new to ansible. I've tried running ansible-playbook that set-up K8's and was able to make it work just fine.
I wanted to try SWARM and saw this playbook.
When I try to run the playbook:
ansible-playbook -i inventory playbook.yml
I'm getting the following error:

ERROR! the role 'ansible-dockerswarm' was not found in /home/master/Projects/ansible-dockerswarm/roles:/home/master/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/master/Projects/ansible-dockerswarm
The error appears to have been in '/home/master/Projects/ansible-dockerswarm/playbook.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- { role: ansible-dockerswarm }
^ here

Inventory file:

SWARM01 ansible_ssh_host=<IP_ADDRESS>
SWARM02 ansible_ssh_host=<IP_ADDRESS>
SWARM03 ansible_ssh_host=<IP_ADDRESS>
[docker_engine]
SWARM01
SWARM02
SWARM03
[docker_swarm_manager]
SWARM01
SWARM02
SWARM03
[docker_swarm_worker]
SWARM01
SWARM02
SWARM03

Ansible version: 2.6.4
Not sure how to use the roles (?). ive downloaded the role from Ansible galaxy. but still the same.
Maybe a newbie guide on how to use this?
Thank you!

You need to do two things:

Run ansible-galaxy install atosatto.docker-swarm if you haven't.
Switch role to: atosatto.docker-swarm instead of docker-swarm.


Use css variables

Use css variables for ember appuniversum:

update ember-appuniversum
convert sass variables to css variables

Todo

[x] update documentation
[x] test styling implementation in GN and plugins

Breaking changes

all scss variables are replaced by css variables. Vendors or applications using these should convert these.
all scss toggles (paper, toolbar position, sidebar) have been replaced by component config settings. Vendors or applications using these will have to check if they still have the correct settings.

Questions/help needed

How do I correctly use the peerDepedencies for appuniversum? When I don't have appuniversum in devDepedencies it breaks the test.
We should find a way to generate the plain css on release to completely remove the sass dependency. Ideally also provide an option to not load this css when using sass. (See https://ember-power-select.com/docs/styles for an example approach)

for dependencies:
we will always need appuniversum in devdeps, since devdeps are whats used for running the ember dummy app
when using the editor as an addon the devdeps wont be included anyway. There we can use peerdeps to give a signal to the host app that it needs to have appuniversum loaded


encountered exception

What is the output link of /viaversion dump?
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
https://github.com/HexagonMC/BungeeCord
its only running on bungeecord using ViaVersion-1.1.2-SNAPSHOT build 167 from jenkins
How does this error happen? login? Using an item?
just saw this in the bungee console and it said i should report it
Is there an error in the console? Use pastebin.com. Is there a kick message?
https://gist.github.com/FiveEYZ/714ebda9459b124ce862d2def17a836b

This is down to server lists sending pings or someone accessing your server too soon, it's fine to ignore and should be rather infrequent :)


RACO support for MyriaX Split operator

This is embarrassingly ad-hoc but seems to work end-to-end. I'm not sure it should ever be merged into master: instead it should be viewed as a trial run for FlatMap support, much like the Split operator itself. Note that a debatable design decision I made in the Myria Split operator was to add an extra column to the operator output called X_splits, where X is the name of the column being split. I think I didn't account for this correctly in my (non-)override of UnaryOperator.scheme(), but I'm not sure it matters much for now--let me know if you think otherwise.

Sample query (tested in MyriaWeb with stock MyriaX):
R = load("https://s3-us-west-2.amazonaws.com/myria-test/split_test.csv",
csv(schema(a:int, b:int, c:int, d:string),skip=0));
S = split(R, d, ':');
store(S, split_test, [a, b, c]);

Just to confirm, this would take any java regex as the third argument right?

@shrjain yes, the 3rd argument is a regex with Java syntax

Just pushed proper output schema support:
R = load("https://s3-us-west-2.amazonaws.com/myria-test/split_test.csv",
csv(schema(a:int, b:int, c:int, d:string),skip=0));
S = split(R, d, ':');
T = [from S emit S.d_splits as s];
store(T, split_test, [s]);

Cool. I am hoping to do something like this:
S = split(sample, seq, '/.{11}(.*)/')
Assuming that the kmer length is 11. Very ugly, but I don't have a better way of extracting the first 11 characters for a string.

You know we already have SUBSTR support, right? Can you explain to me exactly how this kmer extraction is supposed to work? I have barely any idea what it means.

Well, this is embarrassing, I didnt know we had a substr.
Kmer is just a sliding window substring.
So for the sequence 'AGCTACAG', 6mers would be:
AGCTAC
GCTACA
CTACAG

I'll leave the split_syntax branch around, but closing this PR since string split didn't address the use case anyway.


Wrong description in ssh tunnel

Hi,
I noticed a wrong description in zmq/sss/tunnel.py here:
def` paramiko_tunnel( ... ):

    keyfile : str; path to public key file
        This specifies a key to be used in ssh login, default None.
        Regular default ssh keys will be used without specifying this argument.

and here:
def openssh_tunnel( .. ):

    keyfile : str; path to public key file
        This specifies a key to be used in ssh login, default None.
        Regular default ssh keys will be used without specifying this argument.

the keyfile is used as an '-i' argument for ssh command
    ssh="ssh "
    if keyfile:
        ssh += "-i " + keyfile

which according to ssh documentation should be a PRIVATE key, not PUBLIC
-i identity_file
Selects a file from which the identity (private key) for public key authentication is read.

Thanks!

Hi!
Should we create a pull request for this?


Update Helm chart to v0.19.0

/lgtm
/hold
@damemi please remove the hold once you are ready for merge. Thanks!

Once https://github.com/kubernetes/test-infra/pull/19071 merges to fix our image builds, I'll cancel the hold on this and move forward with the release

/hold cancel


Modelbuilder 80% trainingsdata and 20% testdata

Where can I acces the 20% testdata that not has been used by the modelbuilder?
Cant findt out where it writes it to.
Thanks

ModelBuilder uses either train/test split or cross-validation on your training dataset depend on how many pieces of data you have, and at the current point, ModelBuilder doesn't save the train/test split result on user's input data.
Hope this answers your question.


Improve VMware Photon OS detection

When running the facts::bash task targetting a VMWare Photon OS 4.0 system, the task return:
  {
    "os": {
      "name": "Distribution information.",
      "distro": {
        "codename": "Distribution information."
      },
      "release": {
        "full": "Distribution information.",
        "major": "Distribution information",
        "minor": ""
      },
      "family": "PhotonOS"
    }
  }

Using the facts::ruby task on the same target we get these values from facter:
  {
    "os": {
      "release": {
        "full": "4.0",
        "major": "4",
        "minor": "0"
      },
      "name": "VMware",
      "distro": {
        "id": "VMware Photon OS",
        "release": {
          "full": "4.0",
          "major": "4",
          "minor": "0"
        },
        "codename": "Photon",
        "description": "VMware Photon OS 4.0"
      },
      "architecture": "x86_64",
      "hardware": "x86_64",
      "family": "Redhat",
      "selinux": {
        "enabled": false
      }
    }
  }

Adjust the bash implementation so that the facts match those returned by facter:

Identify Photon OS as a RedHat derivative;
Only consider the first line of /etc/<distro>-release to find the codename;
When the release information does not have a codename in parenthesis, try to match well-known patterns to find the codename anyway;
Attempt to find a version event when it is not after the 'release' word in the release information;

With these changes, the facts::bash task targetting the above system returns the following that better match the output from facter:
  {
    "os": {
      "name": "VMware",
      "distro": {
        "codename": "Photon"
      },
      "release": {
        "full": "4.0",
        "major": "4",
        "minor": "0"
      },
      "family": "RedHat"
    }
  }

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


Add live-updatable VM tolerations

What this PR does
This PR will allow updating of the VMs' node tolerations which will live update the relevant VMI fields.
To have the tolerations actually reflected on the virt-launcher pod the VM owner will have to migrate the VM, only then the tolerations will be applied. Prior to this PR a VM owner had to restart the VM to apply tolerations.

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

Allow live updating VMs' tolerations

/cc

@xpivarc @fossedihelm I think I addressed all comments, please take a look.

/lgtm
Thanks

/test pull-kubevirt-e2e-k8s-1.31-sig-network

/retest

/retest

/hold
rebase needed

/lgtm
/unhold

/test pull-kubevirt-e2e-k8s-1.30-sig-operator


Small tooltip changes to filesystem-related UI componentes in editor

As a separated pull as advised in https://github.com/godotengine/godot/pull/26631#issuecomment-469670840.

looks great

Thanks!


Update IComponentToken interface to follow Async Vault standard

[ ]  requestDeposit: assert owner == address(nestStaking)
[ ] confirm w/ Plume requestRedeem(uint256 shares, address controller, address owner) external returns (uint256 requestId); - is this shares (as in principal/deposits) or actually the ERC-4626 share amount including returns?
[ ] for pending and claimable request view functions, we want this so the nest manager can see what the state of their assets / shares are in. i think you can just store this as a mapping and make it go up and down as people call requestDeposit / deposit / requestRedeem / redeem
[X] rename functions requestBuy->requestDeposit, requestSell->requestRedeem, executeBuy->deposit, executeSell->redeem
[X] requestDeposit: assert msg.sender == controller
[X] asset() already implemented in MultiTokenVault
[X] convertToShares().   // ian - used for deposits, assumes depositPeriod == currentPeriod()
[X] totalAssets()
[X] convertToAssets(shares) // ian - WARNING convertToAssets(shares) is User-specific as no depositPeriod is specified.  for User-agnostic, use convertToAssetsForDepositPeriod(shares, depositPeriod)
[X] Emit events: DepositRequest, Deposit, RedeemRequest, Withdraw

Replaced with PR https://github.com/credbull/credbull-defi/pull/149


New Contribution - Suspended

Contributor: Gynyame
SSH Public key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICYgQWAAQ7mYsKJewDd/0zokoAvImD17mqkLmAiIVAlD
Attestation: N/A

ok

ssh key - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5SNhw7NNk97sPZO0Rz6i6wShm/82sVEh+gQXKV3mq/

I am starting my contribution

I will run into a challenge. After running the "contribute -c ./contributions/" command, nothing happens. Is this normal? Should there not be an output message.

@zvorcuit Yes i did

Contribution with docker works. I am ready to run the actual contribution.

@zvorcuit, I am ready to start now.

Hey @zvorcuit, is the contribution ceremony still on?

yes please

@zvorcuit I have started the contribution but I just realized the issue has been suspended.

@zvorcuit, This is tough. I will try this again at a later date. Thanks for the support.


Default bulk-add matcher regex is case-sensitive

Issue description
The default configuration for the bulk-add facilities matching utility appears to be case-sensitive. A series with files named in lowercase is not detected (eg seriesname.s01e01.mp4) whereas camelcase/caps works as expected (eg SeriesName.S01E01.mp4)
Steps to Reproduce

Install Streama with default config
Use Bulk-Add feature to import a series with lowercase file names
Matcher will fail to find results
Rename files to camelcase format and it will work

Expected Behaviour
Ideally filenames should not be case sensitive, and anything preceeding the s00e00 string should be treated as the series name.
Actual Behaviour
Files with all lowercase names are not matched correctly.
Environment Information

Operating System: CentOS7
Streama version: v1.6.0-RC5
Custom streama build, describe customizations or provide link to fork (If Applicable): N/a
Container Version (If Applicable): N/a

Example Application / access to your live version
Available on request, please contact me via Discord.

Yes, you are correct. It should be case-insensitive. I'll add it to the regex execution


The predict function is giving the same values for any test case

Please help me...
I am working on blood pressure prediction using the SVM regression methods. I have tried both the Epsilon and Nu regression types. I also have tried with various values of gamma, nu, cost and epsilon values.
=======================================================
The Problem:
I am getting the same predictions no matter what input data I am giving..
=======================================================
Code:
var fs = require("fs");

async function runTest() {
    var trainDataString = fs.readFileSync('../src/assets/bp/trainaims.csv')+"";
    var testDataString = fs.readFileSync('../src/assets/bp/testaims.csv')+"";
    testLibSVM(trainDataString.split('\r\n').splice(1,16),testDataString.split('\r\n').splice(1,5));
}

async function testLibSVM(trainData,testData){
    const SVM = await require('libsvm-js');
    var svmSys = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,gamma:0.01,nu:[0.01,0.125,0.5,1],cost:1,epsilon:0.1});
    var svmDia = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,gamma:0.01,nu:[0.01,0.125,0.5,1],cost:1,epsilon:0.1});
    let dataArray = [];
    let sysValues = [];
    let diaValues = [];

    for(let i=0;i<trainData.length;i++){
      let line = trainData[i];
      let trainingRecord = line.split(",").map(data => parseFloat(data));
      if(trainingRecord.length === 14){
        let inputParams = trainingRecord.splice(0,12);
        dataArray.push(inputParams);
        sysValues.push(trainingRecord[0]);
        diaValues.push(trainingRecord[1]);
      }
    }
    svmSys.train(dataArray,sysValues);
    svmDia.train(dataArray,diaValues);
    testData.forEach(element => {
        if(element.length > 0){
            console.log(element);
            let dataArrayStr = element.split(",");
            let testDataArray = dataArrayStr.map(data => parseFloat(data));
            let values = [];
            values.push(svmSys.predictOne(testDataArray));
            values.push(svmDia.predictOne(testDataArray));
            console.log(values);
        }
    });
  }
runTest().then(() => console.log('done!'));

=======================================================
Logs:
trying binaryen method: native-wasm
asynchronously preparing wasm
binaryen method succeeded.
done!
*
optimization finished, #iter = 8
nu = 0.925000
obj = -146.760000, rho = -121.500000
nSV = 16, nBSV = 14
*
optimization finished, #iter = 8
nu = 1.000000
obj = -97.400000, rho = -68.000000
nSV = 16, nBSV = 16
2,42,84.8456,0.5617,0.1455,0.7072,3.97E+04,536.6846,-143.0407,146.9154,164.2148,130.1103
[ 121.5, 68 ]
2,29,87.7407,0.543,0.1408,0.6838,8.10E+04,1.20E+03,-297.5299,297.771,345.1783,252.506
[ 121.5, 68 ]
1,28,75.1024,0.64,0.1589,0.7989,4.41E+04,552.0304,-133.7681,172.2191,189.3553,156.166
[ 121.5, 68 ]
2,28,77.4648,0.6695,0.1051,0.7745,4.50E+04,869.1954,-137.7776,127.5441,138.6392,117.5474
[ 121.5, 68 ]
1,25,96.8411,0.5049,0.1147,0.6196,1.37E+05,2.39E+03,-540.3023,557.6924,533.8753,582.0348
[ 121.5, 68 ]
=======================================================
Input Data
Input data can be found in the attached zip folder. The training data file contains 16 rows. The last two columns are the two label values. The testing file contains 5 rows. From the logs you can see that they are producing same values.
trainaims.zip

Hi
I haven't had the opportunity to test the regression on a real case scenario, only with the demo website's unidimensional example.
Have you tried to do exactly the same with the original libsvm library? Are the results any different?
Thanks

Hi, Thanks very much for the quick reply..
I have not tried the original libsvm library. I have tried it on R and it gave varying results.
I have even tried with the fat dataset published in libsvm site.
https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/regression/bodyfat
I have used the last 19 records are test records and rest of them as train records.
Below is the result. You can note that all the 19 records produced the same '1.05195' as the result.
==
*
libsvm.js:1
optimization finished, #iter = 0
libsvm.js:1
nu = 0.000000
libsvm.js:1
obj = 0.000000, rho = -1.051950
libsvm.js:1
nSV = 0, nBSV = 0
libsvm.js:1
[[1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195,1.05195]]
fat-libsvm.js:37
done
The code is below. The data files are attached.
`var fs = require("fs");
async function runTest() {
var trainDataString = fs.readFileSync('./src/assets/bp/trainfat.csv')+"";
var testDataString = fs.readFileSync('./src/assets/bp/testfat.csv')+"";
testLibSVM(trainDataString.split('\n'),testDataString.split('\n'));
}
async function testLibSVM(trainData,testData){
const SVM = await require('libsvm-js/asm');
var svmFat = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,gamma:0.01,nu:[0.01,0.125,0.5,1],cost:1,epsilon:0.1});
let dataArray = [];
let fatValues = [];
for(let i=0;i<trainData.length;i++){
  let line = trainData[i];
  let trainingRecord = line.split(",").map(data => parseFloat(data));
  if(trainingRecord.length === 15){
    let inputParams = trainingRecord.splice(1);
    dataArray.push(inputParams);
    fatValues.push(trainingRecord[0]);
  }
}
testArrays = [];
testData.forEach(element => {
    if(element.length > 0){
        // console.log(element);
        let dataArrayStr = element.split(",");
        let testDataArray = dataArrayStr.map(data => parseFloat(data));
        testArrays.push(testDataArray.splice(1));
    }
});
let values = [];
svmFat.free();
svmFat.train(dataArray,fatValues);
values.push(svmFat.predict(testArrays));
console.log(JSON.stringify(values));

}
runTest().then(() => console.log('done!'));
testfat.zip
`

I have tested the same fat files on R also..Below are the commands and the final result..
fatTest<-read.csv("C:\Code\WearableVitals\src/assets/bp/testfat.csv")
fat<-read.csv("C:\Code\WearableVitals\src/assets/bp/trainfat.csv")
fatFitRadialEsp<-svm(Fat~.,data=fat,type="eps-regression",kernel="radial")
predFat<-predict(fatFitRadialEsp,fatTest)
1        2        3        4        5        6        7        8        9       10       11       12       13       14       15       16       17       18       19
1.042609 1.042513 1.053037 1.043323 1.031655 1.068895 1.033243 1.064847 1.026723 1.032486 1.036302 1.032156 1.064235 1.036778 1.069251 1.033492 1.034420 1.044378 1.038295

I find it suspicious that the nu parameter is an Array. Can you try with a number instead. Unlike other libraries you cannot grid-search hyperparameters in libsvm-js.

Actually you are using the epsilon regression so shouldn't matter.
I'll try to have at a look at it soon.

I have tried without the array, without any parameters and with various
options and it has no effect.
I also tried all the types of classifiers and regression types, with each
of the type the prediction is different but it is the the same prediction
for any input.
Even of I give all 1s as the test input the prediction is still same.
Thanks very much for looking into it.
On Mar 21, 2018 20:44, "Daniel Kostro"<EMAIL_ADDRESS>wrote:

I find it suspicious that the nu parameter is an Array. Can you try with a
number instead. Unlike other libraries you cannot grid-search
hyperparameters in libsvm-js.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mljs/libsvm/issues/14#issuecomment-374973895, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADVpBQtM694EGxW-u5-EaOIy0oCywCKlks5tgm5fgaJpZM4SyCoc
.

Hello
Your epsilon value is too high. I tried with 0.001 and it gives something that looks similar to your R result. Have look at https://mljs.github.io/libsvm/#/SVR to see how the epsilon value affects the regression.
I'm closing this issue. Feel free to reopen if something still seems wrong.

Wonderful..Thanks so much. Sorry for my ignorance in these matters. I spent
a lot of time learning about these techniques but missed the modification
of epsilon part.
Thanks
Ramesh
On Fri, Mar 23, 2018 at 12:50 PM, Daniel Kostro<EMAIL_ADDRESS>wrote:

Hello
Your epsilon value is too high. I tried with 0.001 and it gives something
that looks similar to your R result. Have look at
https://mljs.github.io/libsvm/#/SVR to see how the epsilon value affects
the regression.
I'm closing this issue. Feel free to reopen if something still seems wrong.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mljs/libsvm/issues/14#issuecomment-375565786, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADVpBYgSN8cjc1eMeh9RB_X18NVaCmY7ks5thKJagaJpZM4SyCoc
.

--
Ramesh Guntha

Hello,
Your suggestion worked well for fat data. But it's not working for my bp data. The results given by the libsvm-js and R are not matching at all. I am using the same parameters. The difference is very great.
I would really appreciate your help. I am not sure if there are any other parameters I am not considering.
R - Commands (Linear Kernal with Esplion=0.001)

bp<-read.csv("C:/Code/WearableVitals/WearableVitalsApp/src/assets/bp/trainaims.csv")
bptest<-read.csv("C:/Code/WearableVitals/WearableVitalsApp/src/assets/bp/testaims.csv")
traindata<-bp[1:13]
testdata<-bptest[1:12]
bpFitLinearEsp<-svm(bpsys~.,data=traindata,type="eps-regression",kernel="linear",epsilon=0.001)
predBp<-predict(bpFitLinearEsp,testdata)
predBp
1        2        3        4        5
149.2531 139.0186 118.4807 136.4002 130.3284

libsvm-js (Linear Kernal with Esplion=0.001)
        ```

epsilon = 0.001;
let values = [];
var svmSys = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,epsilon:epsilon,kernel:SVM.KERNEL_TYPES.LINEAR});
var svmDia = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,epsilon:epsilon,kernel:SVM.KERNEL_TYPES.LINEAR});
svmSys.free();
svmSys.train(dataArray,sysValues);
values.push(svmSys.predict(testArrays).map(x => math.round(x)));
successes.push(JSON.stringify(values));
console.log("Successes:"+successes.join("\n"));
Results:
optimization finished, **_#iter = 10000000_**
nu = 0.875000
obj = -2410.522562, rho = 200.890164
nSV = 16, nBSV = 10
Successes:[[543,-624,539,-32,-2012]]

R - Commands (Linear Kernal with Esplion=1.5)
================================
> bpFitLinearEsp<-svm(bpsys~.,data=traindata,type="eps-regression",kernel="linear",epsilon=1.5)
> predBp<-predict(bpFitLinearEsp,testdata)
> predBp
       1        2        3        4        5
122.1728 122.8121 119.0912 119.9891 125.0957

libsvm-js (Linear Kernal with Esplion=1.5)
================================

Results:
optimization finished, #iter = 10000000
nu = 0.228737
obj = -48.633458, rho = 16.987639
nSV = 9, nBSV = 1
Successes:[[379,648,415,-94,1244]]

@stropitek
I have taken your latest version 0.2.0 and retried the above test cases (Linear Kernal with epsilon 0.001 and 1.5), but unfortunately the results are same and very much different from R results as mentioned above.
Please note that libsvm takes a very long time for these computations, may because the very large number of iterations (10 million, as mention in the results in previous comment).
It would be great if you can rerun my test files attached earlier in the thread (trainaims.csv and testaims.csv)
Thanks very much for your continued help.

Looking in the R documentation, I read:

Per default, data are scaled internally (both x and y variables) to zero mean and unit variance

Indeed SVM does not work well if the data is not scaled. In libsvm-js, data is not scaled by default, you have to do it yourself.

@stropitek
Thanks for the scaling tip. Now I have implemented the scaling using the formula
scaledX = (x-mean(featureVector))/std-dev(featureVector).
The results are much better and faster than earlier..
For Linear Kernal, with eps 0.001, I am getting
131,125,107,119,123 in Libsvm-js
149,139,118,136,130 in R
For Linear Kernal, with eps 1.5, I am getting
120,120,117,118,121 in Libsvm-js
122,122,119,119,125 in R
So we can note that the results are closely matching for 1.5 but differ a lot for 0.001.
Do you think I am missing any thing else?
Thanks very much for your help.
My code..
var fs = require("fs");
var math = require("mathjs");

async function runTest() {
    var trainDataString = fs.readFileSync('../WearableVitalsAPP/src/assets/bp/trainaims.csv')+"";
    var testDataString = fs.readFileSync('../WearableVitalsAPP/src/assets/bp/testaims.csv')+"";
    testLibSVM(trainDataString.split('\r\n').splice(1),testDataString.split('\r\n').splice(1));
}

function scaleResultsArray(resultsVector){
    let jistVector = [];
    jistVector.push(math.min(resultsVector));
    jistVector.push(math.max(resultsVector));
    jistVector.push(math.mean(resultsVector));
    jistVector.push(math.std(resultsVector));

    for(let i=0;i<resultsVector.length;i++){
        resultsVector[i] = (resultsVector[i]-jistVector[2])/jistVector[3];
    }
    return jistVector;
}

function scaleDataArray(dataMatrix){
    let featureVectors = [];
    dataMatrix.forEach(dataRow =>{
        for(let i=0;i<dataRow.length;i++){
            if(!featureVectors[i]){
                featureVectors[i]=[];
            }
            featureVectors[i].push(dataRow[i]);
        }
    })
    let jistVectors = [];
    featureVectors.forEach(featureArray =>{
        let jistVector = [];
        jistVector.push(math.min(featureArray));
        jistVector.push(math.max(featureArray));
        jistVector.push(math.mean(featureArray));
        jistVector.push(math.std(featureArray));
        jistVectors.push(jistVector);
    })

    dataMatrix.forEach(dataRow =>{
        for(let i=0;i<dataRow.length;i++){
            dataRow[i] = (dataRow[i]-jistVectors[i][2])/jistVectors[i][3];
        }
    })
    return jistVectors;
}

function scaleItBack(resultVector,jist){
    for(let i=0;i<resultVector.length;i++){
        resultVector[i] = (resultVector[i]*jist[3])+jist[2];
    }
}

async function testLibSVM(trainData,testData){
    const SVM = await require('libsvm-js/asm');
    let dataArray = [];
    let sysValues = [];
    let diaValues = [];

    for(let i=0;i<trainData.length;i++){
      let line = trainData[i];
      let trainingRecord = line.split(",").map(data => parseFloat(data));
      if(trainingRecord.length === 14){
        let inputParams = trainingRecord.splice(0,12);
        dataArray.push(inputParams);
        sysValues.push(trainingRecord[0]);
        diaValues.push(trainingRecord[1]);
      }
    }
    testArrays = [];
    testData.forEach(element => {
        if(element.length > 0){
            // console.log(element);
            let dataArrayStr = element.split(",");
            let testDataArray = dataArrayStr.map(data => parseFloat(data));
            testArrays.push(testDataArray);
        }
    });
    let dataJists = scaleDataArray(dataArray);
    let testJists = scaleDataArray(testArrays);
    let sysJist = scaleResultsArray(sysValues);
    let diaJist = scaleResultsArray(diaValues);

    epsilon = 1.5;
    gamma = 1/dataArray[0].length;

    let values = [];
    var svmSys = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,epsilon:epsilon,kernel:SVM.KERNEL_TYPES.LINEAR});
    var svmDia = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,epsilon:epsilon,kernel:SVM.KERNEL_TYPES.LINEAR});
    // var svmSys = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,epsilon:epsilon,gamma:gamma,kernel:SVM.KERNEL_TYPES.RBF});
    // var svmDia = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,epsilon:epsilon,gamma:gamma,kernel:SVM.KERNEL_TYPES.RBF});
    // var svmSys = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,epsilon:epsilon,gamma:gamma,kernel:SVM.KERNEL_TYPES.POLYNOMIAL});
    // var svmDia = new SVM({type:SVM.SVM_TYPES.EPSILON_SVR,epsilon:epsilon,gamma:gamma,kernel:SVM.KERNEL_TYPES.POLYNOMIAL});

    svmSys.train(dataArray,sysValues);
    svmDia.train(dataArray,diaValues);

    values.push(svmSys.predict(testArrays));
    values.push(svmDia.predict(testArrays));

    scaleItBack(values[0],sysJist);
    scaleItBack(values[1],diaJist);

    values[0] = values[0].map(x=>math.round(x));
    values[1] = values[1].map(x=>math.round(x));

    console.log(JSON.stringify(values));
}
runTest().then(() => console.log('done!'));

@stropitek
Thanks for the scaling tip. Now I have implemented the scaling using the formula
scaledX = (x-mean(featureVector))/std-dev(featureVector).
The results are exactly matching with R.
Thanks very much for your help


Sample app refactor (SQLAlchemy)

This PR introduces the following changes:

A new, true Hello World app that attempts a database connection and prints to the console. This app is written for SQLAlchemy, and will be the first of many.
The existing "Hello World" apps have been renamed to more accurately reflect their function and purpose (i.e., "Simple CRUD" apps).
A refactored Simple CRUD app this uses a .sql file to initialize the database, and performs inserts, selects, updates, and deletes. This app is written for SQLAlchemy, and will be the first of many.
A refactored and renamed Sample Apps overview page, with a list of all tools, support, and available sample apps.
Updates to the ToC, to reflect the changes.

The sample app is based on https://github.com/cockroachlabs/simple-crud-python-sqlalchemy/pull/6

This change is

@vy-ton Ping on review :)

@ianjevans TFTR!
Just renamed the repo: https://github.com/cockroachlabs/example-app-python-sqlalchemy
Going to merge.


[DRAFT] Update Generator to support Parent parameters

Fixes: https://github.com/microsoft/typespec/issues/3969

#4326 Updating the emitter will be a backlog issue now as the generator updates work for the time being.

API change check
API changes are not detected in this pull request.


Delight edit layout experiment

needed for https://github.com/vector-im/element-ios/issues/6079

Codecov Report

Merging #1515 (41ad8c7) into develop (6184077) will decrease coverage by 0.01%.
The diff coverage is 4.84%.

@@             Coverage Diff             @@
##           develop    #1515      +/-   ##
===========================================
- Coverage    11.67%   11.65%   -0.02%
===========================================
  Files          507      508       +1
  Lines        83162    83327     +165
  Branches     35521    35599      +78
===========================================
+ Hits          9708     9715       +7
- Misses       73096    73250     +154
- Partials       358      362       +4

Impacted Files
Coverage Δ

MatrixSDK/Data/MXRoomSummary.m
7.63% <0.00%> (-0.12%)
:arrow_down:

...RoomList/Common/MXRecentsRoomListDataFetcher.swift
0.00% <0.00%> (ø)

MatrixSDK/MXRestClient.m
2.51% <ø> (ø)

MatrixSDK/MXSession.m
7.72% <0.00%> (-0.09%)
:arrow_down:

...mList/CoreData/MXCoreDataRoomListDataManager.swift
48.38% <33.33%> (-1.62%)
:arrow_down:

.../RoomList/MXStore/MXStoreRoomListDataManager.swift
45.45% <33.33%> (-1.92%)
:arrow_down:

.../Data/RoomList/Common/MXRoomListDataSortable.swift
79.06% <50.00%> (-2.99%)
:arrow_down:

...mList/CoreData/MXCoreDataRoomListDataFetcher.swift
59.71% <50.00%> (-0.12%)
:arrow_down:

...DK/Data/RoomList/MXRoomListDataFilterOptions.swift
100.00% <100.00%> (ø)

...xSDK/Data/RoomList/MXRoomListDataSortOptions.swift
100.00% <100.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


Protect against segfault and clean up warnings

Fixes #310 - Segfault appears to be in the TCOD library, it can't handle reversing an empty list in the Dijkstra example finding a path from (0, 0) to (0, 0). Added a protective check around the call the the underlying library. The A* implementation works differently enough to be unaffected from what I can see.
Fixes #297 - ... ranges replaced with ..= and unneeded brackets removed. Also updated lazy_static to latest version which resolves a deprecation warning generated from a macro in there.
I'll leave this open for a week or so before merging to give chance for comments, none of this seems urgent until the deprecations become breaking.

Great stuff, thank you!

Great stuff, thank you!