Docker container - error in Alpine 3.7

I am setting up a docker with plexdrive in it using Alpine 3.7 as the base. Attempting to run the plexdrive binary gives me this error:
No such file or directory
I assume I am missing dependencies in the container, as I see this working in debian based containers. Is there a list of system dependencies I need to worry about somewhere?

Docker and fuse don’t work great together inside the docker. If you get it working, that would be amazing...

On 18 Feb 2018, at 5:13 pm, Lee Hilton<EMAIL_ADDRESS>wrote:
I am setting up a docker with plexdrive in it using Alpine 3.7 as the base. Attempting to run the plexdrive binary gives me this error:
No such file or directory
I assume I am missing dependencies in the container, as I see this working in debian based containers. Is there a list of system dependencies I need to worry about somewhere?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/dweidenfeld/plexdrive/issues/285, or mute the thread https://github.com/notifications/unsubscribe-auth/AApfuGntMQloQkOMxCCgpGWufmXaA0ljks5tWKB0gaJpZM4SJ349.

Docker and fuse work just fine inside a container. There are tonnes of examples of this, and I am using it in many other places (including with plexdrive).

So you can expose the fuse mount OUTSIDE the docker?

On Feb 18, 2018, at 5:27 PM, Lee Hilton<EMAIL_ADDRESS>wrote:
Docker and fuse work just fine inside a container. There are tonnes of examples of this, and I am using it in many other places (including with plexdrive).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/dweidenfeld/plexdrive/issues/285#issuecomment-366553768, or mute the thread https://github.com/notifications/unsubscribe-auth/AApfuPm7_mmP4MbSDvvoO1oiJxpHYMeZks5tWKPTgaJpZM4SJ349.

Yeah here's an example I've been using as a base for some of my images https://github.com/madslundt/docker-cloud-media-scripts

@barlock Having used that specific docker, just a FYI, if the mount ever has to remount etc.... it stops working. That is the main issue everyone will have with FUSE remounts and docker. Unless, there is a work around but this is what I kept seeing...
Madslunt himself even said there are some issues.

Yes some people have experience the issue you address here. I'm looking into it but so far it looks like docker isn't happy about mounting folders and then sharing them with other containers.

https://github.com/madslundt/docker-cloud-media-scripts/issues/16
root@mediaserver:/local-decrypt# cd ..
root@mediaserver:/# cd local-media
bash: cd: local-media: Transport endpoint is not connected
root@mediaserver:/# cd cloud-decrypt
bash: cd: cloud-decrypt: Transport endpoint is not connected

I didn't know that. I run these bits inside of a couple of virtual machines with docker on them. When my test script sees a failure (like not being able to read the cloud-decrypt folder) it just reboots the entire host itself. There are some other issues in my stack so I stopped auto-restarting the container and just started rebooting the virtual host.

Like @barlock I'm also attempting to build an alpine docker image using https://github.com/madslundt/docker-cloud-media-scripts
as an example.
The ubuntu version runs fine, but the alpine version throws No such file or directory, even though docker ls shows that plexdrive is clearly there and executable.
So this isn't a Docker fuse issue, its an alpine plexdrive issue it seems.

I'd check ldd /path/to/pexdrive you probably have incompatible or missing libraries and need to recompile plexdrive for musl libc used by alpine.

That was the issue.
Thanks, worked fine after rebuilding it with musl.


Flexgemm

Flexgemm(flexible-gemm) is an upgraded version of static-combined-gemm(this name is too long) and similar implicit-precomp-gemm of cudnn, it`s very useful for 1x1, 1x1x1, 1x1x...x1, 1x3, 3x1, 1x5 ..., cases and non 3x3 cases(3x3 also supported but slower than wino).
0 Only 4 tiles now : 128x16, 256x32, 256x64 and 128x128(53 kernels),
1 Only for fwd and bwd,
2 Fwd&Bwd support group  and padding,
3 Fwd support any filter size, any strides, any dilations,
4 Bwd only support unit-strides & unit-dilations,
5 Only support general 2d-conv(sizes of filter or strides or dilations is not unit) now, but can be supportted 3D convolution immediately through add 3 kernels : 'genidx3d', 'perm3d_flip' and 'padding3d', compution kernels(sfco*&sbco*) no need be changed, support 3d-conv and any dimension convolution when filter and strides and dilations is unit size by suffco*&sufbco* kernels,
6 Only support fp32 now,
7 Will add supporting for gfx908 later PR.
The perf is bellow:
Red colume is implicit-gemm,
Blue colume is flexgemm,
Green color is flexgemm faster,
White color is implicit-gemm faster,
Yellow color is failed of implicit-gemm
Note: flexgemm will faster at almost configs of fwd&bwd if changed batch-size form 2 to larger for mask-rcnn, e.g 64
maskrcnn_fwd:

maskrcnn_bwd

googlenet_fwd:

googlenet_bwd:

After a short glance, I have a feeling that almost all of my cellfft related review comments also apply here.

After a short glance, I have a feeling that almost all of my cellfft related review comments also apply here.

Oh..., it does seem disappointing. I will try to correct it, before I do that, I need to solve the same problem as in cellfft: testing all passed in miopen diver, but all failed in CI

Flexgemm is an upgraded version of static-combined-gemm, it`s very useful for 1x1, 1x1x1, 1x1x...x1, 1x3, 3x1, 1x5 ..., cases and non 3x3 cases(3x3 also supported but slower than wino). only for fwd and bwd, now support fp32 only. Will add supporting later PR, the perf is bellow:
Red colume is implicit-gemm,
Blue colume is flexgemm,
Green color is flexgemm faster,
White color is implicit-gemm faster,
Yellow color is implicit-gemm not supportted
maskrcnn_fwd:

maskrcnn_bwd

googlenet_fwd:

googlenet_bwd:

@XiuYuLi

Changed file struct and var names form result of reviewing

[Recommendation] I would simply write something like [review] Renamed struct and variable if I wanted to emphasize that the change was made due to review activities.

@XiuYuLi

Changed file struct and var names form result of reviewing

[Recommendation] I would simply write something like [review] Renamed struct and variable if I wanted to emphasize that the change was made due to review activities.

I'm sorry for such a low-level problem. It has changed


This should fix Issues #28 #30 #31

Allow wildcards in ignoreThesePaths
Updated README (Ignoredescription)
Issue Reference: #28 #30 #31

Looks great. Thx.

Closes #28 #30 #31

Thanks. This is great. When you have a moment could you add a simple example or 2 in the readme for how to handle ignores now?


i want add script to Automat hard disk files in your Automation in python

I have a script to automate your hard disc folders can you assign me to contribute to the automation folder I'm a beginner from GSSOC'22

@GAbdulwahab  I am not able to uderstand from these much description can you explain more .

@heet-kumar I want to contribute, I want add a script to Organize  files on the hard disk

@GAbdulwahab go for it, Good Luck 👍

I uploaded it in pull request


license: update copyright information and automate future updates

I updated the Plaid copyright year to 2016, where it will remain.
The Sanctuary copyright year will be updated—to reflect the most recently authored commit—each time we run make release-$LEVEL.

🍄


WebRTC plugin initializing failed. See full log for exception details

I Build the PC to run
error
WebRTC plugin initializing failed. See full log for exception details

I found the reason and need to choose Plugin load settings     Load on startup

Thanks for the issue, I had the same problem and Load on Startup solved it.

@qazqaz12378 i'm facing a similar issue. What do means exactly by "choose Plugin load settings Load on startup" ?

@maxhutinet , check this out https://docs.unity3d.com/Manual/PluginInspector.html

I found the reason and need to choose Plugin load settings Load on startup

No, that is not the reason, that is at best an arguable workaround, sorry I failed to see this earlier.
The "Load on startup" option of Unity is undocumented (see link from @octaviancatlabuga, there's no mention of it on that page except in the screenshot) but is most likely for forcing a native DLL loading at engine startup even if not needed, instead of waiting for it to actually be needed. So it is only for changing the timing of the loading, not whether it is loaded or not. And C# will automatically load that DLL on first use, so there's no benefit to this. This is only useful when code relies on a DLL without explicitly loading it, which is never the case here.
There are many reasons the MixedReality-WebRTC plugin could have failed its initializing, and if setting this option worked around the issue then it's bad news because it looks like something else was wrong and this undocumented option as a side-effect made the error go away. Don't use that; instead make sure the native DLL (either Microsoft.MixedReality.WebRTC.Native.dll or mrwebrtc.dll depending on the version) is correctly deployed by Unity, and if not report a bug and we can investigate why this fails. But do not rely on "Load on startup", which has unknown consequences and should not make any difference in theory. My guess is that the DLL was not previously deployed (due to a bug or misconfiguration), so the C# library failed to find it, and with that option Unity deployed it correctly just because to load it at startup it had to first make sure it's deployed, and that side-effect solved the issue, and not the actual loading timing that this option is supposedly controlling.

@djee-ms thanks for your response. For some reason i don't have the "Load on startup". I've followed the instruction of the Unity integration.

I cloned the repo
Checked out to the release/1.0 branch
Copied the content from MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Unity\Assets  to the Asset folder of my Unity project
Downloaded the two Nuggets packages : Microsoft.MixedReality.WebRTC and Microsoft.MixedReality.WebRTC.UWP
Copied all the Microsoft.MixedReality.WebRTC.Native.dll and renamed them mrwebrtc.dll
Modified the CPU/plateform for each plugin

After unchecking the "Auto Initialize On Start" checkbox of the PeerConnection component the WebRTC plugin initializing failed error seems to disapear. However, i assume it's not the right way to solve this issue, is it ?
I am running my project with Unity 2018.4.15
I had few questions :

Do you recommend to use the content from the release/1.0 branch ? I have noticed that few elements that are present in the Unity tutorial are not present in this branch. For instance the Webcam source script and the transceivers list in the Peer Connection script. I checked the content of the master branch but the folder structure is not the same as the tutorial. The Unity scripts are under libs\unity\library\Runtime\Scripts and not libs\Microsoft.MixedReality.WebRTC.Unity\Assets\Microsoft.MixedReality.WebRTC.Unity\Scripts

I am a bit confused about wether or not the dll need to be renamed to mrwebrtc.dll or not. Do you have more info about that ?

Here is the current structure of my project Plugin folder
D:.
│   Win32.meta
│   WSA.meta
│
├───Win32
│   │   x86.meta
│   │   x86_64.meta
│   │
│   ├───x86
│   │       mrwebrtc.dll
│   │       mrwebrtc.dll.meta
│   │
│   └───x86_64
│           Microsoft.MixedReality.WebRTC.dll
│           Microsoft.MixedReality.WebRTC.dll.meta
│           mrwebrtc.dll
│           mrwebrtc.dll.meta
│
└───WSA
    │   ARM.meta
    │   x86.meta
    │   x86_64.meta
    │
    ├───ARM
    │       mrwebrtc.dll
    │       mrwebrtc.dll.meta
    │
    ├───x86
    │       mrwebrtc.dll
    │       mrwebrtc.dll.meta
    │
    └───x86_64
            mrwebrtc.dll
            mrwebrtc.dll.meta

Thank you so much for your help.
Maxime

Hi Maxime,

After unchecking the "Auto Initialize On Start" checkbox of the PeerConnection component the WebRTC plugin initializing failed error seems to disapear. However, i assume it's not the right way to solve this issue, is it ?

Disabling initialization of the library is indeed not the right way to solve anything.  Unless you're manually calling PeerConnection.InitializeAsync(), which I assume will make the error re-appear, because again I strongly suspect it's not about load timing (now vs. later), it's about whether the library is deployed correctly and found. "Auto Initialize On Start" means "automatically call PeerConnection.InitializeAsync() during Start()" as opposed to "I will call it myself when I want/need to", but they're both doing exactly the same thing.

I have noticed that few elements that are present in the Unity tutorial are not present in this branch.

You are looking at the tutorial for master while using the code/API for release/1.0. Either change the docs version (top right corner of the page) or change your code to use master. The release/1.0 is more simple and easy to use (NuGet) but has missing features. master has much more features but no NuGet (yet; we're working toward 2.0).

I am a bit confused about whether or not the dll need to be renamed to mrwebrtc.dll. Do you have more info about that ?

Same issue as above, you are looking at the wrong documentation:

release/1.0 => Microsoft.MixedReality.WebRTC.Native.dll
master => mrwebrtc.dll

The reason they have different names is they're different things conceptually; the 1.0 DLL was supposed to be also a C++ library, although this is partly broken. In master we reverted that and mrwebrtc.dll is an implementation module offering a pure C API (not C++). It can still be used from C++, but doesn't expose any C++ type/constructs so is free from any compiler/inlining/template issues usually associated with C++ and DLL.
Again, the docs for each branch describe the branch version and should be in perfect sync (unless there's a bug), and same for the tutorials. I appreciate it's a common issue; if you have some insight on how we can make this more clear please feel free to suggest some change.

@maximehutinet 2.0.0 is out with UPM packages containing prebuilt binaries, I recommend using that instead of trying to build from sources. See the Unity tutorial to import the packages directly from the new UPM register.


Activity start dialog opens multiple times

If click multiple times on a FAB, the BottomSheetDialog will open several times. Need to make sure that only one dialog is opened.

Fixed in scope of https://github.com/gorolykmaxim/time-trakr/commit/63f775f82d3cfc8f41d80ce17e0945fb98d3a241


Use operator-sdk binary as operator binary for helm and ansible

Feature Request
Is your feature request related to a problem? Please describe.
The ansible operator and helm operator each need to build their own binary that will be run in production. Currently each type has to maintain (almost certainly in a separate repo) its own main.go, Gopkg.toml, Gopkg.lock, etc and facilitate a build and test workflow. The code in main.go overlaps with the operator-sdk up local feature.
Even if we use scaffolds inside the operator-sdk repo to generate all of the above files, their rendered artifacts still need to be maintained somewhere for reproducible builds.
Perhaps most importantly, the above workflow necessarily requires that each binary has its own lifecycle. Each would have its own versioned releases (even if we version them in lock-step), including features, bugs, bug fixes, vendored dependencies (hopefully a subset of what's in operator-sdk), etc.
Describe the solution you'd like
Since all the functionality of helm and ansible operators is already built into the operator-sdk binary, I propose that we add a command that simply runs the correct operator. It will be very similar to up local, but without the "local" parts. Some options that come to mind are:
operator-sdk up
operator-sdk run
With this capability, the operator-sdk binary itself can remove the need to build separate binaries. There will be one binary with one lifecycle.

That could work. The main disadvantage I see is that the binary would be larger. The ansible operator binary is currently ~38M, helm is ~52M, and the SDK is ~56M. This change might also increase the size of the sdk binary compared to what it is now.
Other than the size though, it would be nice having a single image handle both ansible and helm and not require separate code for the base images.

I like this idea.
IMO the binary size differences don't outweigh the benefit of having one binary, one lifecycle, and one implementation of each of the operators' entrypoints. And if I understand correctly, the SDK binary shouldn't grow much (if at all) since it already contains the up local implementations.
@mhrivnak Would you envision the CLI to be explicit (e.g. operator-sdk run ansible) or will we auto-detect the operator type in this scenario as well? I personally think it should be explicit.

Would you envision the CLI to be explicit (e.g. operator-sdk run ansible) or will we auto-detect the operator type in this scenario as well? I personally think it should be explicit.

👍 on the explicit for me as well

The main disadvantage I see is that the binary would be larger.

Since all the type-specific code is already compiled in the sdk binary for use by "up local", I think there would be very little change in size after adding this command.

The main disadvantage I see is that the binary would be larger.

Since all the type-specific code is already compiled in the sdk binary for use by "up local", I think there would be very little change in size after adding this command.

Yeah, looking at the up local code, it looks like it's essentially just the main.go files for ansible and helm copied over, so that shouldn't change the main binary size. And using the a larger binary for the ansible operator wouldn't really matter much since the base image is so large and the helm binary is almost the same size as the operator-sdk's binary. So the increase in size of the images would be pretty much negligible.
This seems like a good idea to me. It would make maintaining the code and images simpler.


Jest throws Link warning

Does somebody have any idea why testing a component with Link inside throws this warning in Jest? "Warning: A  should not be rendered outside the context of history; some features including real hrefs, active styling, and navigation will not function correctly"
Thanks.

Because your Link is not being rendered in the context of a <Router/>

Then how would you recommend to disable this warning? By mocking the Link component maybe?


CSS shadow parts docs tasks for Firefox 68

See https://trello.com/c/SUWuKgHm/176-css-shadow-parts-fx-68 for the original trello card
Acceptance criteria

[x] Implement selector matching for ::part(). — documented appropriately

[x] Implement parsing support for the ::part() pseudo. — documented appropriately

[ ] write short hacks post about this?

Looks like exeboss has started on the data, their changes look fine, though I believe this is supported in Chrome so I have added a note. Either they could update the PR or we could merge and I will.
https://github.com/mdn/browser-compat-data/pull/4293

This is also actually landing in 69, but nice to have a head start.

Spec: https://github.com/mdn/kumascript/pull/1188
Data: https://github.com/mdn/data/pull/375

The spec PR still needs merging for this one: https://github.com/mdn/kumascript/pull/1188

The spec PR still needs merging for this one: mdn/kumascript#1188

Merged; sorry for the delay!

So I think the work in 68 is the parsing work, I don't think this is being enabled until 69 as far as I could tell. So this probably needs a revisit, by which point the various bits of data should be showing up on that page. I think most of the work is essentially done.

I'm assuming a Hacks post will be a separate issue.

::part() doc also written:
https://developer.mozilla.org/en-US/docs/Web/CSS/::part


Camera stops in the middle of the animation

UPDATE
Can be closed, resolved, my fault.
I had to read API with attention. The difference was in if(Mouse.buttonPressed(Mouse.LEFT)) vs if(Mouse.buttonJustPressed(Mouse.LEFT))
/////
WebEditor.
Click on the button (invisible cube) then it calls for a camera animation that moves to the left.
5 times out of 10 Camera Animation stuck somewhere in the middle without any clicks or whatever.
Camera Animation is simple, just X axis, No loop, Enabled.
Not sure what can be done to improve the experience.

var cameraAnimation;
var camera;

function initialize()
{
	cameraAnimation = true;
	camera = scene.getObjectByName("MainCameraOld2");
	console.log(camera);
	camera.mixer.pause();
}

function update(delta)
{

	//Check interseted objects - checking all files grouped with the script
	var intersects = scene.raycaster.intersectObjects(self.children);

	//Link
	for(var i = 0; i < intersects.length; i++)
	{
		if(Mouse.buttonPressed(Mouse.LEFT))
{
		cameraAnimation = !cameraAnimation;

		if(cameraAnimation)
		{
			camera.mixer.pause();
		}
		else
		{
			camera.mixer.play();
		}
	}
}
}

Hello
Sorry for my late response.
Glad that you figured this one out.
Cheers


Add matrix-free full GLS operator

Description of the problem
Only the SUPG/PSPG stabilization was supported by the lethe-fluid-matrix-free. This PR adds the GLS steady and transient operators for the matrix-free solver.
Description of the solution
The operators were coded in a similar fashion as the SUPG/PSPG operators adding the new GLS terms, including the LSIC term.
How Has This Been Tested?
The results of several tests were compared with the matrix-based operator leading to the same results. For completeness a TGV test using the operator is added:

[X] applications_tests/lethe-fluid-matrix-free/tgv_fe1_ilu_gls.prm

Documentation
Only one file was updated:

[X] source/parameters/cfd/stabilization.rst

@lpsaavedra @peterrum . I think that's a good idea. It could even be a template parameter and there the cost would be zero...
Anyway right now the majority of the cost is in the set-up of the relaxation parameter and eigenvalue estsimation

Yes, it is definitely a good idea. Let me see what I can do...


Support custom compression algos, parameters, and suffixes

@jharveyb How does this look?

I had missed that all of the compress writers have a Reset(io.Writer) method. With that, we can take the compressor itself instead of a constructor function to create new ones.

I was unsure how using Reset would handle zstd dictionaries.  It seems like it does/would reset them as well.  In that case, a custom implementation wrapper over the zstd compressor could be used to rebuild the dictionaries during the Reset call.

I've tested this against klauspost zstd and everything appears to be working properly now.

Probably worth mentioning that if you are switching from the current gzip compression to zstd (or any other compressor) the file rotation index numbers will begin over at 1 again.


Pricing - VMs need updating

I realise that the pricing is only to provide a rough guide, but we really should not still be proposing D_v2 or E_v3 VMs for SAP.  The D/Ea_v4 and D/Ed_v4 offer much better price performance and we should anyway promote new VM types, not ones that were superceded back in 2018.  We also now have M_v2 which again offers better performance.  Essentually all the VMs are obsolete.

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

ID: e700b9a2-8b1d-5d55-95ec-1bb123d2586a
Version Independent ID: 7f4b8f89-a777-b03b-e0af-d3d890745088
Content: SAP deployment on Azure using an Oracle DB - Azure Architecture Center
Content Source: docs/example-scenario/apps/sap-production.yml
Service: architecture-center
Sub-service: example-scenario
GitHub Login: @DharmeshBhagat
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 432548

It appears this has been addressed.  Please re-open with additional details if help is still needed.


setuptools is needed at run-time

By explicitly including setuptools in the list of required dependencies, it makes it clear that setuptools is needed at run-time, not just build-time. Aka, pkg_resources needs to be present in the PYTHONPATH when you run any of the installed executables.
Setuptools is kind of a nightmare in that you can't use install_requires without first importing setuptools, so there's no easy way of stating a dependence on setuptools. The new pyproject.toml logic seems to be the recommended way around this, but requires a fairly new version of setuptools. Most projects I see that require setuptools at run-time add it to install_requires.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1634 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1634   +/-   ##
========================================
  Coverage    51.74%   51.74%
========================================
  Files           24       24
  Lines         3921     3921
========================================
  Hits          2029     2029
  Misses        1892     1892

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 f7a9d16...40025a2. Read the comment docs.


NameError: undefined local variable or method `extensions'

Middleman 4.1.6 + middleman-sprockets (4.0.0.rc.2)
I am unsure if this is a bug or if I'm just misunderstanding something:
In foo.js.erb I have this:
var availabeLanguages = <%= extensions[:i18n].options.langs %>;
When opening http://<IP_ADDRESS>:4567/javascripts/foo.js I see this text:
throw Error("NameError: undefined local variable or method `extensions' for #<#<Class:0x005630a336b580>:0x005630a30d4b28>\n  on line 30 of /path/to/source/javascripts/foo.js.erb)")

How may I access extensions (or config) in this context?

app.extensions should do the trick.
That said, it does make sense to expose that at extensions in both environment, so I will add that going forward

Ah, I see, this is a problem with the Sprockets environment, not Middleman's. Can you move this ticket over here: https://github.com/middleman/middleman-sprockets
I've exposed extensions in config.

Works like a charm now. Thank you, Thomas.


Documentation is down

Feature request or bug
Bug
If a bug, what did you expect to happen?
The documentation page doest work
If a bug, what happened?
When you open the documentation you can see the menu, but doesn't load the documentation, in chorme dev tools i have this error:
Failed to load resource: the server responded with a status of 404 (Not Found) /docs/guide/gettingstarted.md
If a bug, list steps to reproduce bugs.
Open the documentation: http://ssilence.github.io/php-imap-client/gettingstarted.html

Sorry this was my fault. I have fixed this facepalm

Documentation is still down?
Can't access any of the docs.

Seems that is still down

this may help as a workaround:
https://github.com/SSilence/php-imap-client/tree/master/docs/guide
bon apetite :D

Yeah. I may change all the documentation links to use the static ones from
github


invalid input syntax for integer:

invalid input syntax for integer:

Are you sure the id starts with "-"? Try removing it and please let me know.


Setting current_tab should bring the tab title into view when they overflow

Godot version
3.3.stable
System information
Windows 7 64 bit
Issue description

If I have a bunch of tabs and they overflow so the arrows show to move left/right, there's no way for me to programmatically tell it to make sure the tab title is in view after current_tab is set to a tab that doesn't have its title currently visible.

This is confusing UX, I would expect setting current_tab would auto scroll so the tab title is in view.
Or at least provide a method similar to ItemList's ensure_current_is_visible() so this can be controlled, at all.
Steps to reproduce

Create a TabContainer with a ton of tabs, so that the left/right arrows show to move between visible tab titles.
Set current_index on the TabContainer to a tab that doesn't have its title currently in view.

Minimal reproduction project
No response

This issue also protrudes to another use case, when you have more scene tabs then available space, select the last one and close open tabs using keyboard shortcut, the container doesn't update and you have to use the arrows to go back to where the open tab is.
Clicking on the arrows quickly also opens a new empty scene instead

Since #80227,
It is now be possible to use TabContainer's get_tab_bar() and use that TabBar's scroll_to_selected and void ensure_tab_visible(int idx).


Change jerry_api_string_to_char_buffer so it doesn't add '\0' to the end of output buffer.

Fixes issue #439.

@seanshpark will this change affect IoTjs?

@egavrin , I think the change is ok with iotjs. but with latest jerryscript master (not this change) fails to run iotjs tests so cannot check with tests. have to find the revision of the failure.

From technical point of view, LGTM.

@seanshpark, did you find the reason of failure?
@egavrin, could I land the patch?

Good to me. I'll land

@sand1k , @seanshpark, did you find the reason of failure?: yes, ILyoan has found and fixed in iotjs.


pgp gen --multi hangs

Hi,
I'm trying to generate a new pgp key using keybase pgp gen --multi
$ keybase pgp gen --multi
Enter your real name, which will be publicly visible in your new key: Ben Hardill
Enter a public email address for your key<EMAIL_ADDRESS>Enter another email address (or <enter> when done):
Push an encrypted copy of your new secret key to the Keybase.io server? [Y/n] n

I then get nothing more, I've left it for a good 10mins and still nothing. I've ended up killing it with crtl-c
Running on Fedora 23 x86_64
keybase version 1.0.17-20160812160036+d206db9

Thanks for the bug report. I've never seen this one before.  Can you issue a keybase log send?  Thanks!

Sure, on it's way. (any way I can see the log locally, just curious)

Log ID: e4c9357395f7ac2c9322971c

Sure thing, it's ~/.cache/keybase/keybase.service.log

Hmm, didnt' see anything in the logs. Can you also try:
keybase -d pgp gen --multi

And let  me know what happened there?
Thanks

Done,
Looking at the last lines of the log I would guess it's waiting on a passphrase but it's not prompted for one, I tried entering one into the terminal but it echoed to the screen and still didn't move on.
keybase.txt

Ah ok, that's making more sense.  How did you install keybase?

With the RPM iirc, dnf has been installing updates at regular intervals

CC: @oconnor663, he can help with linux installation issues!

Also, for now, what happens if you keybase login first, and then try?

how about keybase login --pinentry=none?

$ keybase login --pinentry=none
Incorrect Usage.

NAME:
   keybase login - Establish a session with the keybase server

USAGE:
   keybase login [command options] [username]

OPTIONS:
   --provision-by-email	Use an email address associated with a keybase account to provision a device

Error parsing command line arguments: flag provided but not defined: -pinentry

Sorry I meant:
keybase --pinentry=none login

Still hangs

ok, I'll let @oconnor663 help you out

I just quit the tray app and ran keybase login again and things seam to have worked.
I can now run keybase pgp --multi and get the expected output

I'm glad it's working, though now I'm worried about why the GUI wasn't showing you a pinentry. Is it possible it was spawning a window but not foregrounding it properly?

Could be. The run_keybase script force-restarts everything, including the GUI, though we don't run that during package updates. (Mainly because updates run as root and not as your user, though also because we don't want leave applications using KBFS in a bad state without asking you.)
If you do run_keybase (or click our app menu entry, which amounts to the same thing) and wait for the GUI to come back up, does pinentry break again? Or do you start seeing our GUI password prompts this time?

There were no hidden windows, I had a good look at the time.
It is very probable that there had been multiple updates since I last restarted the box or ran run_keybase so there could have been big gap between the running gui version and the command line.
Anyway it all seams to be working since yesterday, so we may just have to let this one go for now. If it comes back I'll try and grab as many details as possible.

Same problem.
> keybase pgp gen --multi
Enter your real name, which will be publicly visible in your new key: ADoyle
Enter a public email address for your key<EMAIL_ADDRESS>Enter another email address (or <enter> when done):
Push an encrypted copy of your new secret key to the Keybase.io server? [Y/n]
When exporting to the GnuPG keychain, encrypt private keys with a passphrase? [Y/n]
▶ INFO PGP User ID: ADoyle<EMAIL_ADDRESS>[primary]
▶ INFO Generating primary key (4096 bits)
▶ INFO Generating encryption subkey (4096 bits)
▶ ERROR Operation timed out

I have run keybase log send and get my log id: 3db33a5e94276ad5d842b11c


Auto-generated Link Preview does not work

when I share to social media the auto generate doesn't work. @abhinavs

Have you signed up on Soopr? You will have to provide Soopr key in the config file. Soopr provides this service that Moonwalk uses.


Exit code 0x80070005 on windows platform

Hi,
It's working perflectly on Android emulator but crash on Windows platform exit code 0x80070005.

If you won't I can upload my test project on Github.
Merry christmas.

your test project would definitely be helpful here

@Laurent0506 Could you provide your test project please

@LuckyDucko everything is OK now, thank's. I have upgrade VS to Version 17.5.0 Preview 5.0 and .net runtime 7.0.2 & sdk 7.0.102 Do you my test project anyway ?

@Laurent0506 all good, glad to know its resolved


Documentation specifies incorrect default value for autoResize param to constructor of ParticleContainer.

The docs say it is true.
https://github.com/pixijs/pixi.js/blob/d4cf9c84df1d0fe300d85e26d3e0f67f90274b18/src/particles/ParticleContainer.js#L41
The code says it is false.
https://github.com/pixijs/pixi.js/blob/d4cf9c84df1d0fe300d85e26d3e0f67f90274b18/src/particles/ParticleContainer.js#L44
I'm assuming that the docs are outdated and that the desired value is in fact false, but stranger things have happened so I will forgo the PR and leave it for a maintainer—who knows what it should actually be—to review.
You gents the good work. I'll keep up the nitpicking. 😉

Oops :)

Would gladly accept a PR for this if someone wants it

Done. #4508


Need to look into texture size error when loading up music tool

Need to look into texture size error when loading up music tool

This was fixed


Add support for Node 14

Description
Currently the Device Agent requires node 16 or later. That was chosen due to it being the current LTS version at the time of writing and was the right choice.
Whilst Node 14 has reached its end of life, there are a number of devices stuck at that level and likely to be for some time.
We have had a specific request to support Node 14 on the device agent. I haven't sniff tested it yet, but I do not think it will be a large task to get it working. Mostly likely a bit of syntactic sugar will have to be gotten rid of and done the old-fashioned way.

Happy to pick this up Nick


Server is down

The server at <IP_ADDRESS>:58331 seems to be down.

@goodbadwolf Thanks - just restarted it


Netherite extension compat

Would be nice to upgrade from a netherite elytra to an enderite elytra if the mod is installed
https://www.curseforge.com/minecraft/mc-mods/netherite-extension

You can do that yourself with crafttweaker
[](https://www.curseforge.com/minecraft/mc-mods/crafttweaker)


Use wasmparser from wasm-tools#typed-conts.

This patch configures wasmtime to use the modified wasmparser with support for the typed continuations proposal.

Superseeded by #5


Generate code coverage reports

We have a test suite, so we should have code coverage reports to go with it.
Coverage reports make it easy to see what is and isn't covered by tests and encourages developers to write tests for new and existing code.
This PR:

generates test coverage reports whenever tests are run (output to .coverage directory)
provides the command yarn coverage which will open up an html version of the test coverage report (see screenshot below)
posts test coverage data to coveralls (eg https://coveralls.io/github/mrfelton/zap-desktop) at the end of every successful build on travis
adds a status badge to the project homepage to provide visibility into he current test coverage of the project (I also added a couple of other useful status badges).

Quite a quick response! Checked your branch and saw the badges aren't rendering properly:
https://github.com/mrfelton/zap-desktop/tree/feature/test-coverage

They don’t render properly because the links point to the LN-Zap github user account - which needs to be connected to coveralls. (I tested with my own github repo and it works fine, as per the screenshot I attached)
--
Tom Kirkpatrick
Founder & CTO, KirkDesigns
+34 (0) 681 395 967 | Skype: tkirkpatrick99
On 9 Apr 2018, 11:41 +0200, Ben Woosley<EMAIL_ADDRESS>wrote:

Quite a quick response! Checked your branch and saw the badges aren't rendering properly:
https://github.com/mrfelton/zap-desktop/tree/feature/test-coverage
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@jackmallers would you be able to connect this repo to Coveralls so that we can make some test coverage reports available?

rebased

utACK 991e1a0


[FIX] login page logo full not visible #3

Title: Fix Logo Cutoff on Sign-Up Page
Description
The logo on the sign-up page is cut off at the bottom, impacting the overall user interface.
Related Issue
Fixes #3.
Changes Made

Updated UI: Adjusted the layout of the authentication page to enhance user experience.
Improved Heading Styles: Reduced the font size and spacing of the <h1> element for better alignment and to prevent excessive space usage.

Testing Instructions
Navigate to the sign-up page to verify that the logo is now fully visible.

Now line 21 is also badly indented, line 19, 20 and 21 should be nested in the div.
We take care of code readability, so please do the needful.

i think it was looking good

 i think it was looking good

just press 'tab' before line 19, 20 and 21 starts, this will indent them correctly and the code readability will improve.

@SwanandD121 check now


2.0 Reference Models: MobileNetv2 (TPU with dist strat and Keras)

MobileNetV2 is a significant improvement over MobileNetV1 and pushes the state of the art for mobile visual recognition including classification, object detection and semantic segmentation. It builds upon the ideas from MobileNetV1, using depthwise separable convolution as efficient building blocks. However, V2 introduces two new features to the architecture:

Linear bottlenecks between the layers, and
Shortcut connections between the bottlenecks1.

The research team's academic paper describes MobileNetV2 in detail: https://arxiv.org/abs/1801.04381.
An example of MobileNetV2 implemented with Slim can be found here.
The purpose of this issue is to migrate models into the TF 2.0 Keras API. Each migrated model must be eager and distribution compatible, with tests, and all associated engineering artifacts.

@dynamicwebpaige I'd like to contribute this.

Please post this issue on keras-team/keras repo.,To know more see;https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999

@dynamicwebpaige Could you please have a look on the link1 , link2 , link3 and let us know if it helps?
If you still need help on this issue please post this issue on keras-team/keras repo.,To know more see; https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999 Thanks!


All characters have been changed ??? in UI

Thx for your development.
Recently, I've got a problem that all characters related eglo changed into "???"; please see attached pictures.
I think this problem occured after 2.1.2112.174 (not exact), (You said that this version have a known issue that it should be turned on admin previlige to open setting window.)
I tried to install only eglo without any other plugins, but it showed same problem.
Before installing eglo, it displays proper english UI, but after installing eglo, it turns into ??? marks.
plz help me.

Hello! I'm sorry you are having this issue.  Can you tell me which the following languages are being used by you?

System (windows) language
Game UI language
Language to translate to

I see it is affecting the installer window and I have some clues on what could be happening but need the info above so I can confirm it is what I think it is and propose/find a solution.
Looking forward to your reply!

System (Windows) language: Korean (windows 10 and 11 tested)
Game UI language: EN, JP tested; same result above (lots of ??? characters)
Language to translate to: JP, Korean tested;
In JP, the UI is still displayed in ??? characters, but translation results of npc dialogue or toast messages are well displayed in japanese.
In KR, all characters are displayed in ??? characters, including translation results and plugin UI.

System (Windows) language: Korean (windows 10 and 11 tested)
Game UI language: EN, JP tested; same result above (lots of ??? characters)
Language to translate to: JP, Korean tested;
In JP, the UI is still displayed in ??? characters, but translation results of npc dialogue or toast messages are well displayed in japanese.
In KR, all characters are displayed in ??? characters, including translation results and plugin UI.
FYI, Dalamud Language is English.

Additional Info.
I have changed Windows language into English. In this case, the UI is well displayed in english characters.
However, when I select Korean as "Language to translate to", the translation results are shown in ??? characters.
Translating to Japanese is working well...

Thanks for the info. I'll make some tests on my end and try to fix this for the next release!

Fixed in the current release


Update compile-time shared memory usage check for device_partition

The device partition algorithm uses a default_select_config struct to detect which architecture we're running on.
The default_select_config struct eventually causes the creation of a struct of type limit_block_size. This struct is used to detect if the launch configuration that's being used (block size and amount of shared memory per thread) will cause on the selected device to use more than 32 KiB of shared memory. If so, then limit_block_size attempts to reduce the block size (divides it by 2) and checks the shared memory usage again.
If the element type is large enough, it is possible to get into a situation where, even if we use the minimum block size (a single wavefront of threads) and give the threads the minimum possible number of elements to work on (1 each), we will still use more than 32 KiB of shared memory.
The limit_block_size struct assumes that the amount of shared memory that will be used is equal to the block size multiplied by the amount of memory required per thread. However, the device partition algorithm actually requires slightly more shared memory than this, because it does an extra allocation to store the lookback scan's state.
It's not really feasible to move this lookback scan state out of shared memory because all threads in the block need access to it.
This change modifies the limit_block_size struct so that it accepts an "ExtraSharedMemory" template parameter, and updates the shared memory check it performs so that it takes this value into account.
It also updates the device partition's config-creating code so that it passes in the size of the lookback scan state.

I have no comments about the changes, they look good to me. (It seems I don't have permission to give approval though.)
I do want to note that the configuration obtained by passing rocprim::default_config (using default_select_config in this case), should be viewed mostly as a heuristic. It is unpractical to design a default config that both compiles (does not use more than allowed shared memory) for types with arbitrary size and also gives good performance.
Instead, for arbitrarily large types, the suggested route is to pass a custom configuration, for example
using config = select_config<
	128,
	1,
	::rocprim::block_load_method::block_load_transpose,
	::rocprim::block_load_method::block_load_transpose,
	::rocprim::block_load_method::block_load_transpose,
	::rocprim::block_scan_algorithm::using_warp_scan>;

which can be experimented with to reach desired performance. (Configuration for common types are solved by autotuning, which is soon to be added for partition.)

NTA


Please help reset code editor: page - Advanced Algorithm - No Repeat Please ... Screen stuck!

Advanced Algorithm  No Repeat Please has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36.
Code editor stuck and screen cannot be accessed after put first code revision in. This code here is a slight modified version to be changed. Please help check the page.
Much thanks!!
function permAlone(str) {
//split string to array
var chars = str.split("");
var noRepeat = [], permArr = [], usedChars = [];
//check if all characters same return 0
var matched = 0;
for (var j = 0; j < chars.length - 1; j++) {
if (chars[j] === chars[j+1]) matched++;
}
if (matched === chars.length - 1) {
return 0;
} else {                             //if not all matching characters
//create permutaion of strings (factorial) recursive n! into new array
(function permutate() {
for (var i = 0; i < chars.length; i++) {
var ch = chars.splice(i, 1);
usedChars.push(ch);
if (chars.length === 0) permArr[permArr.length] = usedChars.join("");
permutate(chars.join(""));
chars.splice(i, 0, ch);
usedChars.pop();
}
return permArr;
})(chars);
//check for consecutive same characters regexp exclude
noRepeat = permArr.filter(function(value){
  var regex = /([a-zA-Z])\1+/;
  return (!regex.test(value));   //return value when there is no duplicate
});

}
return noRepeat.length;
}

I don't have a solution for a permanent fix but if you look at the wiki page linked below that should help you get your page unstuck so you can change your code to prevent the freezing from happening when the code is run.
https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Disable-Code-Auto-Run
Let me know if that works for you!

Thank you for your help
On Tue, Mar 8, 2016 at 6:31 PM, Dawson DePretis<EMAIL_ADDRESS>wrote:

I don't have a solution for a permanent fix but if you look at the wiki
page linked below that should help you get your page unstuck so you can
change your code to prevent the freezing from happening when the code is
run.
https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Disable-Code-Auto-Run
Let me know if that works for you!
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7475#issuecomment-194076784
.

We're definitely working on that feature for the wiki :+1: @d3ddd.
I'm making sure to keep your suggestion alive in the list of things we need to add.
@An9k I hope you've managed to get unstuck.
Closing this issue

Thank you Justin, you guys are awesome!
Wiki info is great, for loop is less expensive. I'm going that route.
Once again thanks!
On Wed, Mar 9, 2016 at 6:50 AM, Justin Richardsson<EMAIL_ADDRESS>
wrote:

We're definitely working on that feature for the wiki [image: :+1:] @d3ddd
https://github.com/d3ddd.
I'm making sure to keep your suggestion alive in the list of things we
need to add.
@An9k https://github.com/An9k I hope you've managed to get unstuck.
Closing this issue
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7475#issuecomment-194327707
.


Please add support for 10.0.22000.653

10.0.22000.653.zip
Thanks!

Could you share the ini file for 10.0.22000.653
[10.0.22000.653]
LocalOnlyPatch.x64=1
...


add inverse hyperbolic trigo identities

Hi! I would like to add inverse hyperbolic trigo identities with their graphs

@sairish2001 Kindly assign me this issue


AttributeError: 'Stockfish' object has no attribute 'stockfish'

\stockfish\models.py", line 271, in del
self.stockfish.kill()
Reference failed

I am sure that I am missing something; I guess I just need instructions in simpler terms. Apologies!

Hello )
How did you get this error?

Hello!
I got this error after installing Pre-req files GabrieleMaurina chess-cheat and attempting to launch
python -m chess-cheat

Let's ask @GabrieleMaurina =)

Makes sense)
I started by asking you because I had seen others with a similar question

I started by asking you because I had seen others with a similar question

give me the url of issue please

https://github.com/zhelyabuzhsky/stockfish/issues/32

I am not sure what is going on here. I see in #32 the problem is related to the engine path. However in my code, I assume the engine is installed globally. Indeed Stockfish is initialized with something like
stockfish = Stockfish()

without specifying any path. So perhaps that could be your problem too?

@mikhailhaimovich is it still relevant?


Jasper Report Parameters don't work anymore

Description
[https://github.com/dbeaver/dbeaver/issues/6140]
DBeaver Version
Community Edition <IP_ADDRESS>301060755
Operating System
Ubuntu 22.04 LTS
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Hello, the feature introduced with #6140 isn`t working anymore.
I get the following message (see attachment) when calling a sql statement with jasper parameter:
example statement:
select
raw.*
from
(select 'Test' testdata) raw
where
$P{testcall} like testdata

Thank you for bug report. It's a duplicate of #18354


UI revamp

Hey @nerdynikhil what we have to do in this issue. Can you explain in brief?

I want to work on this project. Will you pls assign this task to me

Sure, @chandakanup. Go ahead.


Package templates into the binary

If we can put this off until we're okay with a minimum version of 1.16, we can use stdlib embed.

I think the way to do this may be to conditional-compile it for 1.16+, and use the current system for older versions.  That is, we support a standalone binary on 1.16+, and 1.13+ as long as we can find the templates (e.g. go run or a build from a local checkout).

Update: apparently that doesn't work because go:embed also requires the go.mod version (which is kinda-sorta the module's min-version) to be 1.16+, not just the build tag.
@StevenACoffman do you know if there's a way around this?  I think we're sadly at least 6 months, maybe more, from it being reasonable to require 1.16+.

I forgot I never circled back on this because I wasn't sure what your question was. Please forgive me if you know all this and none of it is what you wanted to work around.
As you have already figured out, if a module declares go 1.15 in its go.mod, and then only imports the "embed" package in a Go file guarded by:
//go:build go1.16
// +build go1.16

Note: This guard actually didn't work for a few versions of Go, so for instance in Go 1.15, you need Go 1.15.12 or it would complain anyway. I forget what version of Go 1.14 ignoring build tag guarded embed directives was backported to.
However, you probably want to build this file with Go 1.17 as well. Multiple build tags on the same line in a .go file causes go build to interpret them using OR logic. If we put them on separate lines, then go build will interpret those tags using AND logic, instead, so I think you want to change it to:
//go:build go1.17
// +build go1.16  go1.17

And then I think the build tags for the prior to Go 1.16 versions should be:
//go:build !go1.17
// +build !go1.16
// +build !go1.17

Since //go:build is the new conditional compilation directive introduced in Go 1.17, so that's the only version that is relevant for those lines above.
Also, for the Go 1.15 file, you would need to have an alternative implementation like go-bindata or pkger or do the box thing.

Unless I messed something up, the issue was none of those!  You can see what I did here: e3e3e8e614, and I believe it includes everything you said (except that we don't need a go1.17 tag because the go1.16 tag actually means 1.16+).  The problem is that go:embed apparently also depends on the language version in the go.mod, so you can't even use it behind a go:build tag, at least as far as I can see.  But I may still have been doing something wrong!

Ah interesting.  Let's just wait until we're ready to drop 1.15, I think that will be simpler than trying to make sure everyone has the right version and this doesn't seem to have caused much trouble in practice.

I'm trying to use genqlient with Bazel and am running into issues because of the way templates are looked up. They have a hardcoded file path that isn't accurate when used within a Bazel build environment. Can we revisit this? At this point Go is on version 1.18. Is it reasonable to bump the min version to 1.16?
It looks like you've already fixed this on main. Can you cut a new version?

Just released v0.5.0, which includes this.  Thanks for the poke!

Thanks! I'm not seeing it though:
➜  external go list -m -versions github.com/Khan/genqlient
github.com/Khan/genqlient v0.1.0 v0.2.0 v0.3.0 v0.4.0

I did patch the current main commit into my project though and it's working beautifully! The go:embed API is really nice :).

Whoops, forgot to actually push the tag. Try again now!


Fix optimisticUpdater

Closes #69 per conversation on facebook/relay/issues/2345.

Share the same connection key with TodoList to keep the data up to date.
Dynamically compute completedTodos to make sure RemoveCompletedTodosMutation receive correct parameters.

Nice 👌
@jstejada LGTM

Amended because I forgot to run linter. It appears the CI does not run linter either...

Thanks for fixing this @ntkme! I'm going to go ahead and  merge this in the interest of fixing the updater, but I was wondering, should this be a completely separate @connection and move the responsibility to the mutation to update all relevant connections?
What do you think?


Transloco V2

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/ngneat/transloco/blob/master/CONTRIBUTING.md#commit
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
No fallback for missing translations values.
Issue Number: N/A
What is the new behavior?
Fallback to the first fallbackLang for missing values.
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Other information

@Edouardbozon V2 is ready. Please, merge your code into the v2 branch and continue the work there.

@NetanelBasal Yep I will continue today.

@Edouardbozon I meant merge v2 into your branch.

@NetanelBasal Ok let's do this.

The PR should be to v2 :)

@NetanelBasal Rebasing master to v2 branch will fix the CI and remove extraneous commits in my branch.

@Edouardbozon Thanks for the PR. There multiple issues with your approach, such as race condition, and not taking into account a dynamic params.
We need this asap for our application so that I will do it. Anyway, I will make sure you'll be added as a contributor. Thanks for your work.

@NetanelBasal No problem, I'm curious on how you will implement this.


External styles moved inline upon inspection

When I went to inspect the markup on an HTML with external style sheets, the inspector informs me that the styles are inline - when they are clearly not!
All modern browsers.

Fixed and waiting for merge pull request.
It's working in the browsers which supports "sourceURL" declaration (in particular Google Chrome and modern webkit-based Opera Browser).


[storage] Add an SQL storage driver

What this PR does / why we need it:
This commits adds the possibility to back Tiller (or the future
Tiller-less Helm CLI) with any SQL database (only postgres has been
tested so far) to store release information.
The main motivation for this commit was to use a storage backend that
would allow releases larger that 1MB in size (ConfigMap or Secret
drivers don't, because of limits on value size in the underlying etcd
key-value store).
Signed-off-by: Étienne Lafarge<EMAIL_ADDRESS>Co-authored-by: Elliot Maincourt<EMAIL_ADDRESS>(@emaincourt)
Co-authored-by: Paul Borensztein<EMAIL_ADDRESS>(@commit-master)
Special notes for the reviewer(s):

It goes without saying that we'll be glad to maintain and update this part of the codebase - in particular - to comply with the new Tiller-less Helm 3 ;-)
Also, we'll be glad to write an any backend -> postgres migration script if this backend gets promoted to GA at some point.
Only postgresql has been tested so far. However, we've tried to make our code SQL dialect-agnostic (using sqlx and avoiding postgres specific SQL statements). We'll be happy to test other databases if required by the community.
We're currently testing this feature on our pre-production environment (to provide our developers with a "staging-on-demand" feature) and will switch our production infrastructure on it if this PR gets merged

If applicable:

[x] this PR contains documentation
[x] this PR contains unit tests
[x] this PR has been tested for backwards compatibility --> not applicable for now, we'll be glad to write a migration script and add it to the helm CLI if needed

closes #1413
closes #1996
closes #4215

Thanks a lot for the quick review @bacongobbler .
All the requested changes have been implemented so far but one.
We'll think about it over the weekend and come back to you on that matter early next week.
Have a great weekend !

Thanks a lot for the code review @technosophos . We took all your suggestions into account but the last one. We indeed do not sanitize the SQL field name but we do check that it belongs to a sane set of possible fields: https://github.com/helm/helm/pull/5371/files#diff-9614ccdf050917eda8876d24c7cb63ceR37 .
Regarding the precedent on testing SQL drivers, go-sqlmock is pretty useful to write unit tests to test the logic around SQL queries indeed :)
However, in that case, integration tests are also pretty useful as they check that the SQL backend executes the queries as expected (executes them at all). When we first ran our contribution against a real postgres database, we figured out a few typos that haven't been detected by go-sqlmock but were obvious when running the queries against a real SQL backend :)
Is there any plans to add such integration tests to Helm (or do they exist already and we simply didn't find them) ? If so, we'll be glad to add some :)

Thanks for that work!
I recently run into that was well and I am waiting for that to be able to move to production with Helm

@bacongobbler @technosophos All the requested changes have been taken into account. Let us know if there's anything else you'd like us to change / add / delete :)
Thanks again for your insights and suggestions :)

@technosophos @bacongobbler we just rebased our branch against master and fixed some conflicts in the glide.lock file. Let us know if there's anything else you'd like us to change :)

@technosophos Would be great if that could make it to the next release!

(just rebased against the master branch, fixed a conflict in tiller.go and force-pushed).

@technosophos any update on this one :) We're excited to see this come through to help us with getting over a hurdle that's preventing us from using helm in production

He's currently on vacation for the next week. I'd try asking in #helm-dev on Slack and ask if another maintainer would be willing to review this.

(FYI, I just rebased the branch against master, fixed conflicts, and force-pushed)

Hi @technosophos @bacongobbler ,
Could you take a look at this PR when you get the chance. All required updates have been made. We'll be glad to change/add/remove/discuss anything you feel is relevant in a timely manner so that this can make it to 2.14.0 ;-)
Have a great day !

I completely forgot that we made the call to bring this into the 2.14 release. I'll cut rc.2 with this PR. Thanks @elafarge!

cherry-picked into 2.14.

Just a heads up, but the SQL driver tests failed after merging this into master: https://circleci.com/gh/helm/helm/8204
@elafarge would you mind looking into this to fix up the breaking tests?

Looks like it's due to the underlying gRPC layer being populated. See attached.

I've pulled it out of the 2.14 release branch for the time being so we can continue to test the release candidate. @elafarge, when you have time to look into this, please reach out to me and we can see what we can do about getting this in for 2.14. Thanks!

Found the fix; see #5706.

Hi @bacongobbler . Sorry, for the late reply, I was off for the week. Glad to hear you found the fix.
Thanks a lot for the merge !! :tada:

Does the sql storage driver work with helm v3?
If not, any plans to port this (and other storage drivers) to v3.

This would ned to be ported to v3. @elafarge Is this something you would be interested in doing?

@hickeyma sorry, I just stumbled upon your question when cleaning up my Github notifications. I'll surely take a peek at this (maybe with @emaincourt if he's interested :angel: ) this week.

@elafarge I might actually have time to handle it. Will take a look at the v3 codebase this week 🧚♀

Thanks for getting back @elafarge @emaincourt. That would be great if you can port it. Reach out if you need any help. FYI, Helm v3 branch is now master. Push a new PR with a reference this PR.

@hickeyma @elafarge PR here: https://github.com/helm/helm/pull/7635


Support standalone filament forms

ping

Thanks for your PR @mohamedsabil83

@mohamedsabil83 This PR was reverted because this plugin uses the Filament facade to load the field styles...
Sorry :(

Nevermind. what if we add a check as I did here?


kick off the sync/deploy on first git push

Opposite to what was expected, in some cases, the first push (and not the second) should trigger the sync. We could find a way, like a timer or a fail/ignore to trigger the deploy on the first push

Fixed


Minify js code in rx.script tags

Yes, js code is not the best solution, but for some frontend related time critical topics it is great to use.
A possible improvement is to minify the js code. Tbh it would not make a huge difference, but perfomance is a key feature of this project.

For production build the code should be minified are you talking about in dev mode?

I am talking about the code written in the rx.script component. It is not minified as I can see in the production code.

    return rx.fragment(
        rx.chakra.color_mode_button(rx.chakra.color_mode_icon(), float="right"),
        rx.script("""
        console.log("Hello, Reflex!");
        function myFunction() {
            console.log("Hello again"):
        }"""),
    )

This rx.script gets rendered as
<script data-nscript="afterInteractive">
        console.log("Hello, Reflex!");
        function myFunction() {
            console.log("Hello again"):
        }</script>

in the browser.
My idea is to minimize the inner js code. The simple way would be to remove all linebreaks and indents, are there any other optimization ideas?
Should we implement an attribute in the rx.script component like "minify"? What would be the default?
Another implementation idea would be to have a rx.minimize component which triggers this behaviour (@benedikt-bartscher).
What do you suggest?

@macmoritz If we wanted to do this I think there are probably some JS minified libraries we could just use instead of reimplementing it. A real minified will do things such as rename the variables, etc.
I'm thinking this won't provide much gain - if you had a big script, you could always just put it in your. assets/ directory and import it.


Lowercase sql in Hook Docs

What are you changing in this pull request and why?
Attempts to fix what I think is a bug in the docs. The docs specify to use SQL as the key when defining a pre- or post- hook as a dictionary, but based on the error I got (see below), it appears that the correct thing to do is to use sql as the key.
Checklist

[ ] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Error Message
(base) matt@Matt-Kayes-MBP treehouse % dbt build --select +dim_contracts
20:02:25  Running with dbt=1.3.1
20:02:25  Unable to do partial parsing because profile has changed
20:02:25  Unable to do partial parsing because a project config has changed
20:02:29  Encountered an error:
Field "post_hook" of type List[Hook] in NodeConfig has invalid value [{'SQL': 'GRANT SELECT ON {{ this }} TO GROUP <<group>>', 'transaction': False}]
20:02:29  Traceback (most recent call last):
  File "<string>", line 73, in from_dict
  File "<string>", line 73, in <listcomp>
  File "<string>", line 10, in from_dict
mashumaro.exceptions.MissingField: Field "sql" of type str is missing in Hook instance

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/main.py", line 135, in main
    results, succeeded = handle_and_check(args)
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/main.py", line 198, in handle_and_check
    task, res = run_from_args(parsed)
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/main.py", line 245, in run_from_args
    results = task.run()
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/task/runnable.py", line 453, in run
    self._runtime_initialize()
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/task/runnable.py", line 161, in _runtime_initialize
    super()._runtime_initialize()
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/task/runnable.py", line 94, in _runtime_initialize
    self.load_manifest()
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/task/runnable.py", line 81, in load_manifest
    self.manifest = ManifestLoader.get_full_manifest(self.config)
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/parser/manifest.py", line 221, in get_full_manifest
    manifest = loader.load()
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/parser/manifest.py", line 351, in load
    self.parse_project(
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/parser/manifest.py", line 479, in parse_project
    parser.parse_file(block)
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/parser/base.py", line 414, in parse_file
    self.parse_node(file_block)
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/parser/base.py", line 382, in parse_node
    node = self._create_parsetime_node(
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/parser/base.py", line 213, in _create_parsetime_node
    "config": self.config_dict(config),
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/parser/base.py", line 357, in config_dict
    config_dict = config.build_config_dict(base=True)
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/context/context_config.py", line 330, in build_config_dict
    return src.calculate_node_config_dict(
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/context/context_config.py", line 205, in calculate_node_config_dict
    config = self.calculate_node_config(
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/context/context_config.py", line 141, in calculate_node_config
    result = self._update_from_config(result, fqn_config)
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/context/context_config.py", line 192, in _update_from_config
    return result.update_from(
  File "/usr/local/Cellar/dbt-redshift/1.3.0/libexec/lib/python3.9/site-packages/dbt/contracts/graph/model_config.py", line 349, in update_from
    return self.from_dict(dct)
  File "<string>", line 75, in from_dict
mashumaro.exceptions.InvalidFieldValue: Field "post_hook" of type List[Hook] in NodeConfig has invalid value [{'SQL': 'GRANT SELECT ON {{ this }} TO GROUP <<group>>', 'transaction': False}]

Hi all! Let me know if anything else needs to be done on this PR. Wasn't sure about what to do re: versioning in particular. Also let me know if this change is in fact incorrect 😂


Implement state machine (as a node or class)

Part of this could be specific signals (e.g. "battery_used_on_remote") along with a transition method (e.g. connect_specific("battery_used_on_remote", self, "power_up_remote")).

If done with signals, game saves (#187 ) would work like a proper state machine.


Install test_support for extension unit-testing

The extended APIs and future extensions will need the intrinsic
stubs defined in test_support.h.
Move test_support.h to bfvmm/include/support/arch/intel_x64
and add install command for CMake.
Signed-off-by: Connor Davis<EMAIL_ADDRESS>

@rianquinn this should be good to go


MACD Broken??

Hi,
i am trying to run the MACD strategy and it doesnt seem to work in the UI.  Also the debug output it produces is along the likes of:
2017-06-02 11:04:41 (DEBUG):    calculated MACD properties for candle:
2017-06-02 11:04:41 (DEBUG):             short: 0.00000373
2017-06-02 11:04:41 (DEBUG):             long: 0.00000371
2017-06-02 11:04:41 (DEBUG):             macd: 0.00000002
2017-06-02 11:04:41 (DEBUG):             signal: 0.00000003
2017-06-02 11:04:41 (DEBUG):             macdiff: -0.00000001
The settings i have are:
var MACDSettings = {
// EMA weight (a)
// the higher the weight, the more smooth (and delayed) the line
short: 26,
long: 55,
signal: 9,
// the difference between the EMAs (to act as triggers)
thresholds: {
down: -0.015,
up: 0.015,
// How many candle intervals should a trend persist
// before we consider it real?
persistence: 1
}
}
i am using the latest version, can you please advise?

Why do you think it doesn't work? Does it error somewhere? Wrong results?
Also: Are you seeing that debug logging when running a backtest in the UI?

all backtests when run through the UI dont show any logs, i have to run it through the console to see any logs being dumped out.  that includes already present strategies.  that output is from the stock MACD strategy i have manually stepped through the market on and the MACD and the values are different.
the goal is just to detect when the signal crosses the base line.  am i doing it wrong?  i thought with the stock strategy it worked but that doesn't appear to be the case :(

i have to run it through the console to see any logs being dumped out.

If you configure debug to be true in your config you will see debug output.

i have manually stepped through the market on and the MACD and the values are different.

So you are manually calculating MACD? What calculations are you using?

I am pretty confident MACD is not broken, but please give some more context here:

Why do you think it is broken? What is different from what you were expecting?
What market are you running?
Are you running live or backtest?

I am closing this since at this point I have no reason to believe the answer to your main question MACD Broken?? is yes.

But feel free to keep commenting :)

debug is set to true in the config.js file:
config.debug = true; // for additional logging / debugging
config.silent = false;
i am running it against SC/BTC on polo and am only using the stock MACD strategy which doesn't work on the UI and produces no output on the console.
here is some more output:
2017-06-02 13:26:03 (DEBUG):    calculated MACD properties for candle:
2017-06-02 13:26:03 (DEBUG):             short: 0.00000512
2017-06-02 13:26:03 (DEBUG):             long: 0.00000510
2017-06-02 13:26:03 (DEBUG):             macd: 0.00000002
2017-06-02 13:26:03 (DEBUG):             signal: -0.00000000
2017-06-02 13:26:03 (DEBUG):             macdiff: 0.00000002
2017-06-02 13:26:03 (DEBUG):    In no trend
2017-06-02 13:26:03 (DEBUG):    calculated MACD properties for candle:
2017-06-02 13:26:03 (DEBUG):             short: 0.00000513
2017-06-02 13:26:03 (DEBUG):             long: 0.00000511
2017-06-02 13:26:03 (DEBUG):             macd: 0.00000002
2017-06-02 13:26:03 (DEBUG):             signal: 0.00000000
2017-06-02 13:26:03 (DEBUG):             macdiff: 0.00000002
2017-06-02 13:26:03 (DEBUG):    In no trend
2017-06-02 13:26:03 (DEBUG):    calculated MACD properties for candle:
2017-06-02 13:26:03 (DEBUG):             short: 0.00000515
2017-06-02 13:26:03 (DEBUG):             long: 0.00000512
2017-06-02 13:26:03 (DEBUG):             macd: 0.00000003
2017-06-02 13:26:03 (DEBUG):             signal: 0.00000001
2017-06-02 13:26:03 (DEBUG):             macdiff: 0.00000002
2017-06-02 13:26:03 (DEBUG):    In no trend
2017-06-02 13:26:03 (DEBUG):    calculated MACD properties for candle:
2017-06-02 13:26:03 (DEBUG):             short: 0.00000517
2017-06-02 13:26:03 (DEBUG):             long: 0.00000513
2017-06-02 13:26:03 (DEBUG):             macd: 0.00000004
2017-06-02 13:26:03 (DEBUG):             signal: 0.00000002
2017-06-02 13:26:03 (DEBUG):             macdiff: 0.00000003
2017-06-02 13:26:03 (DEBUG):    In no trend
2017-06-02 13:26:03 (DEBUG):    calculated MACD properties for candle:
2017-06-02 13:26:03 (DEBUG):             short: 0.00000519
2017-06-02 13:26:03 (DEBUG):             long: 0.00000514
2017-06-02 13:26:03 (DEBUG):             macd: 0.00000005
2017-06-02 13:26:03 (DEBUG):             signal: 0.00000002
2017-06-02 13:26:03 (DEBUG):             macdiff: 0.00000003
2017-06-02 13:26:03 (DEBUG):    In no trend
2017-06-02 13:26:03 (DEBUG):    calculated MACD properties for candle:
2017-06-02 13:26:03 (DEBUG):             short: 0.00000519
2017-06-02 13:26:03 (DEBUG):             long: 0.00000514
2017-06-02 13:26:03 (DEBUG):             macd: 0.00000005
2017-06-02 13:26:03 (DEBUG):             signal: 0.00000003
2017-06-02 13:26:03 (DEBUG):             macdiff: 0.00000002
2017-06-02 13:26:03 (DEBUG):    In no trend
2017-06-02 13:26:03 (DEBUG):    calculated MACD properties for candle:
2017-06-02 13:26:03 (DEBUG):             short: 0.00000520
2017-06-02 13:26:03 (DEBUG):             long: 0.00000515
2017-06-02 13:26:03 (DEBUG):             macd: 0.00000005
2017-06-02 13:26:03 (DEBUG):             signal: 0.00000003
2017-06-02 13:26:03 (DEBUG):             macdiff: 0.00000002

What do you mean "doesnt work" and "produces no output"? Are you staring at a white screen?

it produces output to the UI, but no trades are performed. the macdiff doesnt go past 0.00000009 on 6 months worth of back data so the threasholds arnt triggered.  there have been some epic swings on this coin and the MACD would have changed to the threshold point.

when i run the backest in the UI it produces the summary below with a graph but no trades are made, no output is produced on the console (e.g. debug output).  this holds true for all of the stock and custom strategies.  The output that is displayed on the UI shows no trades were made (when using the MACD strategy).
if i want to see any kind of debug output i have to run the backtest from the console where even the stock strategies produce debug output similar to what i have shown above.
the MACD values/thresholds which the stock strategy uses to execute trades done even come close to the maccdiff numbers by an order of 6 decimal points.  that lead me to believe the MACD functionality is a little skewif.
does that explain it better?

Ah! I understand now, sorry about that.
What is happening is that you are trading an asset with a very low price: around 0.00000392. This means that difference between the two EMAs (within the MACD indicator) are always very small. So whatever happens to the price, the thresholds are not likely to get hit. So Gekko works, MACD works but you need to configure the thresholds a lot lower if you want them to get hit:
[thresholds]
down = -0.025 # <--- lower this one
up = 0.025 # <--- lower this one
persistence = 1

Keep in mind that Gekko is extremely bad in simulating low volume markets, read here for details on common gotchas.

Note that Gekko is a toolbox that will automate the strategy you program or configure, if you don't see any trades that simply means your strategy (as per your configuration) did not signal any trades.

What would be an example of the lowered thresholds? Is there a common one that people typically use for alt coins using BTC currency

Use ppo it's the same thing as macd as far as your computer is concerned. If you chart the data the lines and crossovers are the exact same as macd only it is price percentage instead of price. This means you wouldn't have to have individual thresholds for each market and instead focus on writing good strategy that can make use of the same thresholds on all markets


Need to be helped urgently

I open the game and open the cheat after it opens. When I want to activate the cheat by entering the game and pressing the F8 key, it kills the game and the game closes. Please help me , ty

I open the game and open the cheat after it opens. When I want to activate the cheat by entering the game and pressing the F8 key, it kills the game and the game closes. Please help me , ty

There was a small update in CS:GO which changed the offsets for Player Positions. Just got to wait for Chiffre to update.

@Namelerustunde @WhaleHK https://github.com/Blaumaus/le_chiffre/releases/tag/v1.3.4


Added 'Before' field to NotificationListOptions

Before is a missing field in the NotificationListOptions, as it is a documented parameter according to https://developer.github.com/v3/activity/notifications/#list-your-notifications

I signed it!

thanks, rebased onto master and merged as c801b653c20d36a7cb3cf219daf3fe170f0078cf


TenantTestCase and FastTenantTestCase do not work with Django restframework's APITestcase

I am currently using Django rest framework and django-tenants, but cannot use APITransactionTestCase as it does not work with TenantTestCase.

I had the issue and I fixed it by subclassing TenantClient and adding the ForceAuthClientHandler that DRF's APITestCase uses.
from django_tenants.test.cases import TenantTestCase
from django_tenants.test.client import TenantClient
from rest_framework.test import ForceAuthClientHandler

class MultiTenantAPIClient(TenantClient):
    """
    This is a combination of the django-tenants TenantClient and
    DRFs APIClient.
    """
    def __init__(self, tenant, enforce_csrf_checks=False, **defaults):
        super(MultiTenantAPIClient, self).__init__(tenant, **defaults)
        self.handler = ForceAuthClientHandler(enforce_csrf_checks)
        self._credentials = {}

    def credentials(self, **kwargs):
        """
        Sets headers that will be used on every outgoing request.
        """
        self._credentials = kwargs

    def force_authenticate(self, user=None, token=None):
        """
        Forcibly authenticates outgoing requests with the given
        user and/or token.
        """
        self.handler._force_user = user
        self.handler._force_token = token
        if user is None:
            self.logout() # Also clear any possible session info if required

    def logout(self):
        self._credentials = {}

        # Also clear any `force_authenticate`
        self.handler._force_user = None
        self.handler._force_token = None

        if self.session:
            super(MultiTenantAPIClient, self).logout()

class MultiTenantAPITestCase(TenantTestCase):
    client_class = MultiTenantAPIClient

    def _pre_setup(self):
        """
        Perform pre-test setup:
        * Create a test client.
        * Clear the mail test outbox.
        """
        self.client = self.client_class(tenant=self.tenant)
        mail.outbox = []

@tomturner, pardon the newbie question, but in which file/folder would that code be?  Would it be in my "tenants" app folder in "test.py"?

@BillBower, pardon my newbie question, but in which file/folder would that code be?  Would it be in /tenants/test.py?

I put this code inside of module namedtest_utils in my tenants app and I import MultiTenantAPITestCase from there wherever I need it.

Would it not make sense to have this in in the main application?


Separate verify report from avalon crypto utils to avoid C++ openSSL dependency

verify report python module depends on C++ openSSL and can be moved to a separate python module.
Avalon cryto utils doesn't depend on openSSL.
Once this is done we can remove  C++ openSSL dependency from other modules like block chain connector

A separate python module for report verification is added, closing this issue


Support for AIFF files

Is it possible to add support for the aiff file format? Afaik html5 audio doesn't support it? Not sure if swingmusic relies on that. The aiff files seem to work with the jellyfin web player.

Hello @Simonh2o
Thanks for the request. Unfortunately, due to how Swing Music works, it's impossible to play any audio format not supported by your browser.

Gotcha, thanks!


Errors while running the code

on running python main.py -d tags-ask-ubuntu --time_prediction --time_prediction_type 3 --walk_n_head 2 --gpu 0 . I am getting this error
Time prediction used lp
Traceback (most recent call last):
File "/home/hitesh/nhopp/Neural_Higher-order_Pattern_Prediction/main.py", line 228, in
dataset = TripletSampler(cls_tri, opn_tri, wedge, nega, ts_start, ts_train, ts_val, ts_end, set_all_nodes, DATA,
File "/home/hitesh/nhopp/Neural_Higher-order_Pattern_Prediction/utils.py", line 153, in init
self.initialize()
File "/home/hitesh/nhopp/Neural_Higher-order_Pattern_Prediction/utils.py", line 201, in initialize
self.train_time_gt = np.float32(self.train_data[cls_tri_idx_epoch][5] - self.train_data[cls_tri_idx_epoch][3])
UnboundLocalError: local variable 'cls_tri_idx_epoch' referenced before assignment

Hi, sorry, I forgot to update all the files, it should work now. Thank you for pointing it out.


Update chart version

Wait for release on Lomas before merging

I think there have been changes to the server config that we might have to add to the chart values and values.schema (I remember at least private_db_credentials but there could be more)

We also need to update the image tag in the values.schema (remove 0.3.1 and add 0.3.4).

Hi @olevitt , we don't see the version 0.3.4 available on Onyxia despite this being merged (it is still version 0.3.1 only in the UI). Were there any changes in what we should do for it to be visible ? or maybe we made a mistake.
Thank you very much :)

Paging @ihiverlet as I'm currently on vacation

Hi, there was a problem while refreshing the catalogs. You should see version 0.3.4 now. However there seems to be a problem with the chart. You may need to add default values (see serviceaccount.annotations for example)

Hi, there was a problem while refreshing the catalogs. You should see version 0.3.4 now. However there seems to be a problem with the chart. You may need to add default values (see serviceaccount.annotations for example)

Thank you! We'll fix it.


Implement useful, but as of yet unsupported, Wasm instructions

The following is a list of instructions we would like to add support for in Miden IR when we get a chance:
### Tasks
- [ ] `clz`
- [ ] `ctz`
- [ ] `shr_s`
- [ ] `gt_s`
- [ ] `ge_s`
- [ ] `lt_s`
- [ ] `le_s`
- [ ] `div_s`
- [ ] `rem_s`

Assume that unless otherwise stated, all type variants of the above instructions are desired.

I cannot edit the description. Translation for the following Wasm ops:

shr_s
gt_s
ge_s
lt_s
le_s
div_s
rem_s

is implemented in https://github.com/0xPolygonMiden/miden-ir/pull/22/commits/0bd63606243d0c48bdbc19e60d272e06659169a1


TST: fix datetime test for pandas 2.0 (preserves ms resolution)

Pandas 2.0 was released, so our CI started to fail.
We might want to add some various versions of (geo)pandas to the different CI builds, because right now basically all builds were failing, indicating they are all using pandas 2.0 already (except the one minimal build without (geo)pandas)

I am already going to merge this one to unblock CI for the other PRs, but we can further tweak this or improve CI coverage in follow-ups


YARP accepts assigning to _1

These three syntax-error code is parsed as assignment to numbered parameters with no error.
a in _1
a => _1
/(?<_1>)/ =~ a

For pattern matching, these are also accepted in YARP but rejected in Ruby
1 in a, a, _1, a!, a?
1 => a, a, _1, a!, a?


Update the pythonic example to demonstrate how to create a flatten token stream from a token tree

This PR adds a step to the pythonic example to convert a token tree from the lexer into a flat token stream using Stream::from_nested.
This would not be a long-term solution because it's quite verbose, but it will work fine for now.
Relates to #20.

Thanks! I wonder whether the utility functions could be placed inline at their use site give that they're not particularly complex? I think it makes it easier to see what's going on (i.e: avoids confusion about them being functions from chumsky)

Thank you for reviewing the code! I will update my code in this weekend.

@tatsuya6502 Are you happy for me to take this branch and make the changes myself?

I've used the work in this PR as a reference when improving the example in 91e5cc8d7912a77233144aee8209891dc98cb3af. Thanks!

@zesterer Thank you for updating the code and merging it! It is silly; I have been distrusted by other stuff recently. So I am very happy to see the code was merged. Thank you!

Thanks so much for the initial work you did, it was very useful as a reference!


ImportError: No module named Cryptodome

  File "./idp.py", line 25, in <module>
    from saml2.authn import is_equal
  File "/mnt/work/_third/pysaml2/src/saml2/authn.py", line 5, in <module>
    from saml2.aes import AESCipher
  File "/mnt/work/_third/pysaml2/src/saml2/aes.py", line 6, in <module>
    from Cryptodome import Random
ImportError: No module named Cryptodome

"Swap pycrypto* for pyca/cryptography" was incomplete: https://github.com/rohe/pysaml2/commit/afdf5b4a8cca33dbe746095d9442b958c5fa9a24

@schettino72 there appear to be no tests for the aes module. Please contribute some tests (so we can verify backwards compatibility) and we'll update that module to use cryptography as well. Until then, there's too much risk for a regression or bug in swapping it.

I understand you dont want to touch the code without tests but making it completely broken doesnt help much.
I guess the incomplete patch needs to be reverted or at least re-add cryptodome as a dependency.
Sorry but I dont have time to add tests myself.

Reverting to a hostile fork of an insecure library seems irresponsible at best.
You can also simply install PyCryptodome yourself to unbreak this.

edit saml2/aes.py
6,7c6,7
< from Cryptodome import Random
< from Cryptodome.Cipher import AES
---
> from Crypto import Random
> from Crypto.Cipher import AES

I think one only needs to install pycryptodomex.

Pull Request #515 removes the need for pycryptodomex or pycryptodome.

i was missing module cryptodomex.hash
i fixed the missing module using this command
pip install "pycryptodomex==3.9.7"

i was missing module cryptodomex.hash
i fixed the missing module using this command
pip install "pycryptodomex==3.9.7"

Great !!,   runs fine  your  solution.   Thanks!!


Adian_btable needs to have a pointer to the agent.

In the function Adian_btable::get_path we need to access the failure list of that agent.
There might be a need to add ADIAN agent pointer in all other lists (maybe).

Fixed, an agent pointer is created in btable which can be used to call the function.
https://github.com/GautamAnghore/adian/commit/113e857395476386ef09a1bfa09a6ece83355b1a


InternalServerError for bicep deployment with Provider: 'None'

I am trying to deploy a SWA with 'Other' as source provider via bicep. It creates the SWA but the response from the deployment task i am getting is:
{
    "status": "Failed",
    "error": {
        "code": "DeploymentFailed",
        "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
        "details": [{
                "code": "InternalServerError",
                "message": "{\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The response for resource had empty or invalid content.\"\r\n  }\r\n}"
            }
        ]
    }
}

Using the portal works without any issue and would look like this:

My bicep:
param location string = resourceGroup().location
resource staticWebPageDeviceRegistration 'Microsoft.Web/staticSites@2022-03-01' = {
  name: 'test-swa'
  location: location
  sku:{
    name: 'Standard'
    tier: 'Standard'
  }
  properties:{
     provider: 'None'
  }
}

I was not able to find any documentation on the 'None' parameter. I exported the ARM template of a manually deployed SWA to get this information.
Steps to reproduce the behavior:

Deploy bicep
See error in console
See error in deployments

Expected behavior

A better error message which helps me to find a solution
Documentation of the provider parameter and expected other parameter values.

Device info:

OS: Windows 10 21H2
Bicep CLI version 0.8.9 (33a85174de)

If i export the ARM template from the portal it looks like this:
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "staticSites_test_swa_name": {
            "defaultValue": "test-swa",
            "type": "String"
        }
    },
    "variables": {},
    "resources": [
        {
            "type": "Microsoft.Web/staticSites",
            "apiVersion": "2021-03-01",
            "name": "[parameters('staticSites_test_swa_name')]",
            "location": "West Europe",
            "sku": {
                "name": "Standard",
                "tier": "Standard"
            },
            "properties": {
                "stagingEnvironmentPolicy": "Enabled",
                "allowConfigFileUpdates": true,
                "provider": "None",
                "enterpriseGradeCdnStatus": "Disabled"
            }
        }
    ]
}

provider is not mandatory property. consider having empty properties.

I get the same error when having empty properties:
resource staticWebApp 'Microsoft.Web/staticSites@2022-03-01' = {
  name: 'swa-${projectName}-${environment}-${uid}'
  location: location
  tags: commonTags
  sku: {
    name: 'Standard'
    tier: 'Standard'
  }
  properties: {
  }
}

When switching to the older @2021-03-01 api, no errors.

@sinedied Thank you! Using the 2021-03-01 version works for me as well.
Btw: The region i am testing on is "West Europe"

Hi @th3ragex and @sinedied, we will be rolling out the fix for the create static sites operation for the 2022-03-01 api-version soon. Until then please use the version 2021-03-01. Thank you!


Omen are TOO powerful

There's currently a bug that allows Omen to /tradesim pokemons in other people's party without even having them, (/tradesim randomnewbie_90 5) for instance will evolve that person's pokemon

This is now fixed, thank you for the report :)


Deep link not working if my app is in the background

[X] Review the documentation: https://facebook.github.io/react-native
[X] Search for existing issues: https://github.com/facebook/react-native/issues
[X] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
System:
OS: macOS 10.14.1
CPU: x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 732.00 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.12.0 - /usr/local/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
@types/react: 16.7.8 => 16.7.8
@types/react-native: 0.57.15 => 0.57.15
react: 16.6.3 => 16.6.3
react-native: 0.57.7 => 0.57.7
npmGlobalPackages:
create-react-native-app: 1.0.0
Description
I use universal link, when my app is close deep link works fine....but if my app is in the background it opens but it doesn't get the url
Reproducible Demo
componentDidMount() {
    Linking.getInitialURL().then(url => {
        if (url !== null)
            this.navigateFromUrl(url)
    })

    if (Platform.OS === 'ios') {
        Linking.addEventListener('url', this.handleOpenURL)
    }
}

componentWillUnmount() {
    if (Platform.OS === 'ios')
        Linking.removeEventListener('url', this.handleOpenURL)
}

handleOpenURL = (event) => {
    this.navigateFromUrl(event.url)
}

navigateFromUrl = (url) => {
    const { navigate } = this.props.navigation
    const route = url.replace(/.*?:\/\//g, '')
    const id = parseInt(route.match(/\/([^\/]+)\/?$/)[1], 10)
    const routeName = route.split('/')[1].toString()

    switch (routeName) {
        case 'product':
            navigate({
                routeName: 'ProductPage',
                params: { product: id }
            })
            break
        case 'store':
            navigate({
                routeName: 'StorePage',
                params: { store: id }
            })
            break
        case 'order':
            navigate({
                routeName: 'FullPageOrder',
                params: { orderId: id }
            })
            break
    }
}

@nicomontanari98 were you able to solve for this?

@platonish Unfortunately no

See this


[Question]:

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
I can't seem to figure out how to add additional metadata when using SimpleDirectoryReader. For example, in addition to the filename, I would like to add 'filedate'? Thanks!
from llama_index import SimpleDirectoryReader
filename_fn = lambda filename: {'file_name': filename}
automatically sets the metadata of each document according to filename_fn
documents = SimpleDirectoryReader('./data', file_metadata=filename_fn).load_data()

Yea the filnename_fn hook can be any function. The only input is the filename though, and the output has to be a dictionary
The bots response seems like a good approach 👍


How to add all the cards directly?

Thank you

UnlockAllCards
https://github.com/pixeltris/YgoMaster/blob/master/Docs/Settings.md


feat: opensea nft v2 and multiple image formats for fetch textures

feat: add multiple image formats for fetch texture

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (327982c) 48.27% compared to head (dc5b65d) 47.35%.
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #216      +/-   ##
==========================================
- Coverage   48.27%   47.35%   -0.92%
==========================================
  Files         142      144       +2
  Lines       17215    17570     +355
==========================================
+ Hits         8311     8321      +10
- Misses       8904     9249     +345

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


How is the Pre-trained Nell-One calculated? Do you directly use the transE algorithm to perform the embedded calculation on NELL-One?

How is the Pre-trained Nell-One calculated? Do you directly use the transE algorithm to perform the embedded calculation on NELL-One?

Hello, I see that you are also interested in the pre-trained vector, where the vector of ComplEx is in the form of real numbers, but I feel that it is in the form of complex numbers from the paper, I don't know if you understand why? Is it easy to answer?