SPM with custom module map

Alternative to #442. Fix #375
Add Swift Package Manager support via a custom module map
Adds tests to verify import syntax
Add a GitHub Action workflow to run the tests on PRs and pushes
Adds headers to the module map to support existing client usage. See SwiftPMTests/objc/objc-header.m.
I couldn't find another way to support client usage other than module syntax without adding the extra headers.
Without them would require source changes for existing clients as well as being problematic for testing libraries (versus frameworks) and Objective C++ that doesn't support module imports.
Any suggestions about a better way?

Maybe I misunderstand something, but weren't the modulemaps an approach to avoid the directory full of symlinks?
Also, OCMock uses Travis and not Githib Actions as CI system. In any case, given that the test is adding yet more complexity, I am happy not to have a test for the SPM file. There are no tests for CocoaPods and Carthage either.

One reason I added the tests is to make it clear the advantage of the extra directories.  The extra directories make it easier for existing OCMock clients to migrate, since they can switch from CocoaPods to SPM without source changes. If there's only a module map, all clients will need to change their code to use the module import @import OCMock; to migrate.
So three questions:

Should file import support be deleted?
Should the tests move to travis?
Should the tests be deleted?

If the answer to all three is yes, the PR will be reduced to two files - the Package.swift and a module map.

just starting to catch up on the changes here w.r.t. SPM.
would like to see some solution that will allow us to start using OCMock as an SPM package …
i don't know which of the alternatives here is preferred at this point.
looking for a tl;dr on where the discussion on this is at and if there's a plan going forward.

As I have commented previously in this the various PRs, I'm not happy about adding a directory full of symlinks just for Swift PM. This PR has the additional issue that it introduces a new CI system (Github actions in addition to Travis).
We are making some progress and the questions asked by @paulb777 help. I would say that the benefit of easing migration from CocoaPods or Carthage to Swift PM is not worth the directory full of symlinks. Unless I'm missing something that's a very niche use case. I assume that most clients that still use OCMock are mature Objective-C codebases grown over the years. What would be the reason for them to switch? Also if a team makes such a major change then changing from #import to @import doesnt seem too much of a stretch.
I've seen the PR you opened, @twitterkb, and I've seen your comment, @paulb777. If the straight quotes aren't needed why did people seem to tell me that they are? Also, can someone please look how modulemaps work in detail and come up with a proposal for Swift PM that requires neither straight quotes nor directories with symlinks?
In the meantime I'm going to look at the PRs flagged for 3.8 and some of the other bugfixes. It feels like we're going round in circles on this Swift PM topic. And it seems like it's a lot of work for a niche use case for which a workaround seems to exist, right?

We are making some progress and the questions asked by @paulb777 help. I would say that the benefit of easing migration from CocoaPods or Carthage to Swift PM is not worth the directory full of symlinks. Unless I'm missing something, that's a very niche use case. I assume that most clients that still use OCMock are mature Objective-C codebases grown over the years. What would be the reason for them to switch? Also, if a team makes such a major change then changing from #import to @import doesn't seem too much of a stretch.

in our codebase, we do indeed have a large and mature Objective-C codebase grown over 10 years … and we have committed (internally) to switching to use SPM for all code by WWDC 21 .  we feel that in terms of dependency management that stays close to the Apple process, and w.r.t. inter-operability between Objective-C and Swift, Swift Package Manager based solutions are the way to go.

I've seen the PR you opened, @twitterkb, and I've seen your comment, @paulb777. If the straight quotes aren't needed why did people seem to tell me that they are? Also, can someone please look at how modulemaps work in detail and come up with a proposal for Swift PM that requires neither straight quotes nor directories with symlinks?

i don't know why you were told "straight quotes are the way to go".  the pull-request i submitted is based on Apple's recommendation in the Issue Navigator when you open an existing project in Xcode12 for the first time … and this will allow us to replace a ruby script that we have used to enforce this behavior in all of our code (with OCMock being in an exclude-list from the ruby script).  our solution for exposing the headers via SPM is a module.modulemap .  i would have to investigate exactly what that might be for OCMock .
(the other pull-request i submitted is really somewhat independent of Swift Package Manager … it is related to being able to import OCMock in any kind of downstream module in a way that fulfills the modular header contract.)

In the meantime I'm going to look at the PRs flagged for 3.8 and some of the other bugfixes. It feels like we're going round in circles on this Swift PM topic. And it seems like it's a lot of work for a niche use case for which a workaround seems to exist, right?

use of Swift PM is definitely not niche in our case.  it will be the focus of work by one of our teams for the 9 months or so following Apple's fall events.

I just push an update that removes the extra headers. It might be a good compromise.
With this module map, it's still possible for clients to do non-module imports with #import <OCMock/{header.h}, but #import <{header.h} no longer works. See the diffs in the tests from the previous commit for details.
I still want to do more testing on our source base.

Successful test on the Firebase repo at https://github.com/firebase/firebase-ios-sdk/pull/6326

Can we merge this please?

Here's an update on the unsafeOptions issue:
SwiftPM allows unsafeOptions for dependencies specified by a commit hash. They're not allowed for versioned dependencies.
Thus, apps and libraries can still use OCMock for their internal testing, while usage of the libraries without the tests can still be versioned. Example at https://github.com/firebase/firebase-ios-sdk/pull/6860/files

Nice work here!
Is there anything else left that is preventing this from merging this? We would like to consume OCMock via SPM as soon as possible.

Firebase is using a fork https://github.com/firebase/firebase-ios-sdk/blob/master/Package.swift#L142.  We won't promise to support this in the long term, but no plans to stop in the near term.

I rebased, did a small update, migrated CI to travis, and tested with Firebase in https://github.com/firebase/firebase-ios-sdk/pull/8042


Readme improvement

Update readme with new formulation everytime I add something

I need to update the readme with the new option for the main script


Time picker goes blank if tapped multiple times

Time picker goes blank if it is tapped multiple times. Test in Gallery / Time picker.

Dupe of https://github.com/flutter/flutter/issues/3487


Support the PSA external RNG in ECP without DRBG

The ECP module needs an internal random generator for some countermeasures against side channel leaks. This can be either a deterministic or a nondeterministic generator (the value must be secret, but can be reproducible for the same inputs). The code defaults to HMAC_DRBG, which is needed for deterministic ECDSA anyway. It can also use CTR_DRBG. It would be nice to also support the external PSA RNG.
This is low priority because it only concerns builds where code size is at a premium (otherwise, just include a DRBG module), on platforms which have a cryptographic peripheral that serves as RNG (and not just an entropy source), but where ECC arithmetic is implemented in software (at least for some curves). This is somewhat unusual because a platform with a hardware RNG is likely to have an ECC accelerator, and an application where code size is at a premium is unlikely to want curves implemented in software.
The implementation and behavior is somewhat awkward becaues the PSA RNG is only guaranteed to work when the PSA subsystem is initialized, but the ECP module is independent of PSA.

This does not apply to Mbed TLS 3.x since it no longer has an internal RNG.
Realistically, we are not going to make this improvement to a rare configuration library before Mbed TLS 2.2x enters the LTS stage.
Therefore I am closing this issue as wontfix.


[1.8.9] Null World Crash in Chunk-Loaded Dimension

Issue Description:
Cross Reference BuildCraft #3279
Recurrent crash on world-load due to BuildCraft tank null worldObj access
What happens:
My server (and in single-player) world crashes on load when my BuildCraft tank in the nether (which is chunk-loaded) is loaded on world startup. This seems to occur because the conduits are trying to access the BuildCraft tank, whose worldObj has not yet been initialized (so a race condition).
What you expected to happen:
...Not crashing? ;D
Possible Solution: check for null world object before accessing, if the tile's world object is null, then ... somehow wait until it isn't null?
Steps to reproduce:

Place a BloodMagic Teleposer in the overworld, linked to another Teleposer in the nether
Prepare some sort of conduit setup in the nether to modify the contents of the tank to be Teleposed
Activate the teleposer while standing near enough to be teleposed with it. When you and the tank are teleposed, the server begins this recurring crash loop.

Affected Versions

EnderIO: <IP_ADDRESS>-alpha
EnderCore: <IP_ADDRESS>-beta
Minecraft: 1.8.9
Forge: <IP_ADDRESS>4

Your most recent log file where the issue was present:
FML Crash Report

Sorry, I missed that this was a Blood Magic teleposer. Its not enderio's fault then :P

:P I'll go leave Way a bug report then ;D


Unable to install on Linux

How can I install this on linux ? I have downloaded linux version

just read the INSTALL file that is in the package you downloaded

thanks man :)

@slafs  Where should I put html file ?

@slafs  by the way, I have find a solution. we can make useable by : sudo mv websocketd /usr/local/bin/websocketd
after move just type
$ websocketd --help
Now, websocketd command works everywhere :)

I guess you should be more elaborate with your questions and what you're trying to do. A general advice ;).
The /usr/local/bin/websocketd thing works because you probably have /usr/local/bin on your PATH environment variable.

This path by default set in environment variables under linux.

Actually if anyone wants to contribute to INSTALL file, you are welcome. I think it might have some clarity... I'll close issue since there is no major work to expect.


Error when changing istio's default hub

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
**I have pushed istio image (gcr.io/istio-release/pilot:1.7.3) to our private registry and used it to install istio using istioctl :
istioctl install --set profile=minimal --set values.global.proxy.autoInject=disabled --set hub=our-private-registry/istio-release --set tag=1.7.3
However in istiod log i see this error :
2021-07-05T09:57:23.558592Z     error   Injection data: err=template: inject:144:7: executing "inject" at <gt .ProxyConfig.Concurrency 0>: error calling gt: invalid type for comparison spec=
**
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
How was Istio installed?
Environment where the bug was observed (cloud vendor, OS, etc)
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

can you please provide istioctl version by istioctl version?
you should use istioctl version 1.7.3 to install istio.

istioctl version

@kebe7jun this is the output of istioctl version :
client version: 1.6.8 pilot version: 1.7.3 istiod version: 1.7.1 data plane version: none

istioctl version

@kebe7jun this is the output of istioctl version :
`
client version: 1.6.8
pilot version: 1.7.3
istiod version: 1.7.1
data plane version: none
`

try to upgrade istioctl to 1.7.3, and reinstall.

istioctl version

@kebe7jun this is the output of istioctl version :
client version: 1.6.8 pilot version: 1.7.3 istiod version: 1.7.1 data plane version: none

try to upgrade istioctl to 1.7.3, and reinstall.

Yes i did and it worked. Thanks a lot


docs(readme): add note about prepend

closes #21

I think I will close this since it is already handled on git-cliff side.


feat: shell completion improvements

:zap: Summary

Improve shell completion by avoiding incorrect filename completions, and completing hooks for add and run.
:ballot_box_with_check: Checklist

[x] Check locally
[ ] Add tests
[ ] Add documentation

Nice work! Thank you for this amazing contribution!


403 Forbidden when ai search and azure openai public networking is disabled

Library name and version
latest
Query/Question
Question regarding Azure OpenAI using RAG on our own data via AI Search with the SDK. Our setup is as follows:
AI Search:

private network disabled
private endpoint for inbound traffic
shared private link for openai (type account), and blob storage (type blob and dfs)
allow Azure services on the trusted services list to access this cognitive services account

Azure OpenAI:

private network disabled
private endpoint for inbound traffic (the openai account and search shared private link)
allow Azure services on the trusted services list to access this cognitive services account

The issue we’re facing with the SDK is that it is calling OpenAI and from OpenAI, AI Search is called. This gives a 403 which seems to make sense since AI Search public network is disabled and we cannot integrate Azure OpenAI in the VNET. Shared private access is not an option on Azure OpenAI.
It works when we enable public access on AI Search but we have a requirement for private access only. Is there a way to make this work without enabling public access?
{
"error": {
"requestid": "5ff1d736-ce49-4df8-91b3-4870b5e86805",

"code": 400,

"message": "Invalid AzureCognitiveSearch configuration detected: Call to get Azure Search index failed. Check if you are using the correct Azure Search endpoint and index name. If you are using key based authentication, check if the admin key is correct. If you are using access token authentication or managed identity of Azure OpenAI, check if the Azure Search has enabled RBAC based authentication and if the user identity or Azure OpenAI managed identity has required role assignments to access Azure Search resource [

https://aka.ms/aoaioydauthentication].
If the Azure Search resource has no public network access, make sure enable trusted service of Azure Search.\nAzure Search Error: 403, message\u003d\u0027Server responded with status 403.
Environment
No response

Hi @GijsVoogd.  Thank you for reaching out and we regret that you're experiencing difficulties.  The behavior that you're seeing is from the Search service itself; the Azure SDK packages have no insight into how the Azure Search service authenticates against OpenAI nor influence over the behavior.
Unfortunately, this is not something that the maintainers of the Azure SDK packages can assist with.  Because the Azure services themselves are not managed on GitHub, we're unable to transfer this on your behalf.  To ensure that the right team has visibility and can help, your best path forward for would be to open an Azure support request or inquire on the Microsoft Q&A site.
I'm going to close this out; if I've misunderstood what you're describing, please let us know in a comment and we'd be happy to assist as we're able.

Hi @GijsVoogd
We are having the same issue using off the shelf BYOD app from MS.
Have you managed to find a solution for this?

Hi @dmbuk the solution is to change the key based authentication to MI based authentication

It's not about setting at the OpenAI resource level. If you use managed identity: true in your dotnet code it should work. It doesn't have to do with the OpenAI resource if that is configured properly

ok, cool. We use MS stock app that calls OpenAI and then OpenAI calls AI search. The last bit is where it fails.
Looks like our case is different.
Thanks @GijsVoogd  anyway 👍


Added Polytech Marseille IT Department (Aix-Marseille University)

The university official website URL
https://polytech.univ-amu.fr/formations/cycle-ingenieur/informatique-reseau-multimedia
a URL of a page on the official website where a long-term (>1 year) IT related course is offered by the university

a URL of a page or some other proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the enrolled students.

@faycalsaid Pull request merged. Thank you!


VideoPlayer - audio get repeated at the end

Software Versions

Python: 3.9
OS: windows 10
Kivy: 2.0.0
Kivy installation method: pip

Describe the bug
In python 3.9 a video played through the videoplayer, when it reaches almost the end, repeats the audio of the last few seconds a couple of times. This issue doesn't happen on python 3.7.
Watch the video of the issue (you can download it as well): https://drive.google.com/file/d/1U5m68oDY1y6ugPRAn1h8FxaV3FcdnAWn/view
To Reproduce
from kivy.lang import Builder
from kivy.app import App

KV = '''
Screen:

    VideoPlayer:
        source: 'Video1.mp4'
        state: 'play'
        allow_fullscreen: False

'''

class TestVideoPlayer(App):
    def build(self):
        return Builder.load_string(KV)

TestVideoPlayer().run()

OTHER INFO
[INFO   ] [Logger      ] Record log in C:\Users\20180043\.kivy\logs\kivy_21-03-11_19.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.3.0
[INFO   ] [deps        ] Successfully imported "kivy_deps.glew" 0.3.0
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.3.1
[INFO   ] [Kivy        ] v2.0.0
[INFO   ] [Kivy        ] Installed at "C:\Users\20180043\AppData\Local\Programs\Python\Python39\lib\site-packages\kivy\__init__.py"
[INFO   ] [Python      ] v3.9.0 (tags/v3.9.0:9cf6752, Oct  5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "C:\Users\20180043\AppData\Local\Programs\Python\Python39\python.exe"
[INFO   ] [Factory     ] 186 symbols loaded
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.3.2
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 416.94'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'GeForce GTX 1070/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[INFO   ] [GL          ] Texture max size <32768>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [VideoFFPy   ] Using ffpyplayer 4.3.2
[INFO   ] [Video       ] Provider: ffpyplayer(['video_ffmpeg'] ignored)
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available
[ERROR  ] [Image       ] Error loading <Video1.mp4>

Can you share the video that you're playing in the screen recording so we can test?
Also, there has been some changes recently in master with regards to video, can you test master?

Since the original poster hasn't responded, ill provide a video:
http://www.snuq.com/temp/video.mp4
It seems to happen the most/be the most obvious with uhd videos (get at least 4 stutters), but it happens with pretty much any h264/aac encoded video as well, that example video stutters 3 times for me.
This has definitely been happening on older versions of python and kivy as well, I've been struggling with this issue for a couple years now.  My pull request #6887 does reduce this behavior somewhat by ensuring that the audio/video are in synch, tho it still happens (reduces it to one or two stutters).
Unfortunately, I'm not able to test the latest master, on windows here.

Hi sorry for the delay.
I tested it using the latest master but same problem.
Here you can download the video: https://user-images.githubusercontent.com/72442283/115407008-f97e6d00-a1ef-11eb-97dd-1cd04a2a3011.mp4
thank you in advance

Hi @matham and @snuq  some news about that? I tried to run the following code (outside kivy) and I have the same issue:
could you help me please? thanks,
from ffpyplayer.player import MediaPlayer
import time

filename = r"F:\PYTHON\KivyMD-2.00-python39\TEMPLATE\Video\VideoPlayer_TESTPYTHON3.9\Video1.mp4"

player = MediaPlayer(filename)
val = ''
while val != 'eof':
    frame, val = player.get_frame()
    if val != 'eof' and frame is not None:
        img, t = frame

It is clearly a ffpyplayer issue. Closing.


switches are not available when cam is behind NVR

Describe the bug
When I attach my cam RLC-812A to the Reolink NVR RLN16-410
by Reolink
Firmware: v<IP_ADDRESS>_21100910
I get no switches, i.e turn lights on, etc. I get only 6 entities (motion detections).
When I connect the same cam directly to HA it shows all switches (16 entities) and motion detections as well.
Expected behavior
I want to get all entities, even when connected to the NVR.
Screenshots
Environment:
Additional context
Is this a known bug, or did I misconfigured something?

I'm also observing the same behavior.
Only Stream and Sensors detected in HA
RLC-812A
Firmware: v<IP_ADDRESS>0
RLN16-410 NVR
Hardware No. H3MB18
Firmware: v<IP_ADDRESS>_21100910

I am having the same issue, switches used to work perfectly, I was able to turn the push notifications on and off depending on the state of my alarm, however since I updated to the latest HA the switches have disappeared. I hope they come back as this was extremely useful.

Hi, thanks for this really usefull integration.
Right now I'm also observing the same behavior.
Only Stream and Sensors detected in Homeassistant since Core version 2022.5.1. Before I updated all things work really fine.
Reolink: E1 outdoor
FW: v<IP_ADDRESS>0_2107140

yes, with out NVR i get 13 Entitys with only 3, no person detection only motion. Hope this can be fixed

I'm experiencing the same with 2x RLC-823A cameras behind 8ch NVR

For all of you, take a look at this information, you'll better understand :
https://www.reddit.com/r/reolinkcam/comments/uvgw9l/reasons_to_run_cameras_through_a_poe_switch/

For all of you, take a look at this information, you'll better understand : https://www.reddit.com/r/reolinkcam/comments/uvgw9l/reasons_to_run_cameras_through_a_poe_switch/

Thanks for your suggestion- it worked for me. I placed the poe switch between the router and NVR and plugged the cameras into the switch. The NVR instantly found the cameras on the network and continued the recording schedule I previously set. All of the switches for the camera entities are also now appearing in HA, plus the option to record a time lapse has returned and integration into Google Home (in my scenario) is now possible. This setup was exactly what I was looking for, it's just a shame these features and switches aren't supported natively through the NVR.

it's just a shame these features and switches aren't supported natively through the  #NVR.
I do agree. The API isn't the same through all the cameras.
Reolink must have a effort to have a stable and uniform API, that commands work with all the cameras (when they are missing, add it). I enrage everytime when i want to make programs with these cams, AI and not-AI


Story gets loaded twice resulting in missing controls

Describe the bug
When loading a story file, the controls appear for a split second before disappearing:
https://user-images.githubusercontent.com/96925398/234022805-8fc8c2c7-8099-4f7d-a33e-eb875473b26c.mp4
Output shows that the story gets loaded twice; once with the proper controls, and the second with all of them being empty strings.

Expected behavior
I expect the story file to get loaded once; and with proper controls.
Steps to reproduce
Open this story file:
return {
	summary = "Test",
	controls = {
		Blood = 500,
		XP = 500,
		Victim = "OnlyTwentyCharacters",
	},
	story = function(Preview, Props)
		print(Props.controls)
		local Root = Instance.new("TextLabel")
		Root.Size = UDim2.fromScale(1, 1)
		Root.Parent = Preview
		Root.Text = `B${Props.controls.Blood} XP{Props.controls.XP} - {Props.controls.Victim}`

		return function()
			Root:Destroy()
		end
	end,
}

This issue should be fixed in the v2.0.0 release. I'm going to close this out but feel free to reopen if it still occurs


CopyCell allows concurrent use of non-Sync types through references

Hi there, we (Rust group @sslab-gatech) are scanning crates on crates.io for potential soundness bugs. We noticed that the CopyCell object implements Send as long as the underlying type implements Copy.
However, one potential problem with this is that (non-mutable) references actually implement the Copy trait: https://doc.rust-lang.org/std/marker/trait.Copy.html#impl-Copy-71
This makes it possible, for example, to share Cells across threads by wrapping them in a CopyCell:
#![forbid(unsafe_code)]

use toolshed::CopyCell;

use std::cell::Cell;
use crossbeam_utils::thread;

fn main() {
    let cell = Cell::new(42);
    let copy_cell = CopyCell::new(&cell);

    thread::scope(|s| {
        s.spawn(move |_| {
            let smuggled_cell_ref = copy_cell.get();
            println!("Other Thread: {:p}", smuggled_cell_ref);
        });

        println!("Main Thread:  {:p}", &cell);
    });
}

Output:
Main Thread:  0x7ffe19babd1c
Other Thread: 0x7ffe19babd1c

Indicating that the same Cell is now usable across threads, potentially allowing for data races.

Heads up: this issue has been included in the RustSec advisory database. It will be surfaced by tools such as cargo-audit or cargo-deny from now on.
Once a fix is released to crates.io, please open a pull request to update the advisory with the patched version, or file an issue on the advisory database repository.

Heads up: this issue has been included in the RustSec advisory database. It will be surfaced by tools such as cargo-audit or cargo-deny from now on.
Once a fix is released to crates.io, please open a pull request to update the advisory with the patched version, or file an issue on the advisory database repository.


Different behaviors on Rancher first login

Setup

Rancher version: 2.6.4
Browser type & version: Any

Describe the bug
Behaviors on first login are not consistent /auth/setup after adding bootstrap password
To Reproduce

Create a new Rancher instance
Add bootstrap password
Follow instructions in results

Result

On refresh page without cookies, it breaks with 401
On access to root /

Bootstrap password is removed
Server URL is cropped and lacks the protocol https://

Expected Result

On refresh the user is redirected if cookies are missing
On access to root / values are kept or added correctly or user is redirected to bootstrap page

Screenshots
https://user-images.githubusercontent.com/5009481/159739390-23451f79-9e31-4f8b-9474-59d11ec18e42.mp4
Additional context
<!--Add any other context about the problem here.—>

Tried to reproduce this but couldn't...
Differences worth mentioning:
node version: v12.22.9
using Digital Ocean instead of local instance

I've seen some very weird scenarios when using helm and bootstrapPassword=admin. Docs are currently suggesting this, i'd be interested to know if this has provided a smooth log in for them.
My guess is that the admin value is causing havoc with the old way we used to try to automatically sign in.
@gaktive Can we get someone to validate this behaviour next week? It makes for a very bad first experience

@richard-cox Does this still need looking into?

@richard-cox just as a reminder, since I cannot start Rancher locally on Mac anymore, I cannot check the status of this.

We'll use #5649 to tackle this, so we'll close. In the backlog for 2.6.6

@gaktive Seems a bit different the content, but ok 😅


Welcome script use display names

With the change of display names, the welcome script uses a weird name now. Easiest solution might just be to ping them.

Addressed in https://github.com/UQComputingSociety/uqcsbot/pull/166, will close once merged :)

Fixed in 421bcc4a631f2dce0e2bccb58a8a24b14558085c, closing

As we have seen, display_name is optional, so we should default to name if it is empty

As @lewisjb was saying on slack, do we want display_name or display_name_normalised? (if display_name is old/going to be deprecated?)

again as per slack discussion, it was decided display_name is fine for our use

Fixed in 03fcd9a9d2ea80d5c2b74bca7669b020438f6442, closing


ProcessGroupNCCL can not find GPUs

Dear All,
I run into
RuntimeError: ProcessGroupNCCL is only supported with GPUs, no GPUs found!
But as I check pytorch, it shows I could found my two GPUs.  Any idea how to fix this?
>>> import torch
>>> print(torch.__version__)
2.0.0+cu117
>>> print(torch.cuda.device_count())
2

Thank you

Thanks for your attention! Could you please provide the full log of the runtime error so we may help you with that? Thanks 😄

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks 😄

@EricaZheng
I meet same question.
Maybe your pytorch version not match cuda version.
You should update your cuda to match version of torch in requirement.txt
https://pytorch.org/get-started/previous-versions/


(chores) Fixed checkstyle on camel-aws2-sqs

This doesn't change the code significantly, so merging it to unblock other PRs.


Hook into SubfolderAssemblyResolver from base classes

Assembly resolution in visualizers is only to DLLs in the same folder. Periscope has an assembly resolution handler that allows DLLs to be placed in a subfolder with a given name, and is called like this:
SubfolderAssemblyResolver.Hook("RandomVisualizer");

The call needs to be as early as possible, ideally in a static constructor.
This has to be done once in the debugger-side assembly, and once in the debuggee-side assembly.
The natural place in the debugger-side assembly is in the visualizer class -- the class inheriting from VisualizerBase<TWindow, TConfig>; while the natural place in the debuggee assembly is in the visualizer object source -- usually the class inheriting from VisualizerObjectSourceBase<TTarget, TConfig>.
It would be nice to put this call in the static constructor of those base classes, but at that point we don't yet know the name of the subfolder.
We could use some sort of convention: the assembly name with .Debuggee dropped from the end.
We're doing something similar to figure out the config folder name, but I'm afraid it'll be too late.

Done.


Extra quotes added in multilines with a slash

f"""\
a,b
c,d
"""

becomes
f"""\
a,b
c,d
"""""

womp, looks like a bug in python. closed by https://github.com/dannysepler/rm_unneeded_f_str/commit/2d5ef1c87d388d3466ab9d2ee72221e87a55f8fd


Decrease log tailing delay

Must be an option to decrease the buffering somewhere, it's built on Kinesis so it shoullllld be fine.

not much we can do AFAIK


New Language Layout

Hi,
I'am looking for a hebrew language addon but could not find one.
Is it available?
Do you need any help with it?
Thanks
Gil

Hi,
I am looking for a french layout.
I saw the project need refactoring to support multiple layout as it is more or less hardcoded. I'm interested in participating to the refactoring of the code.
I'm also looking for an already-made french layout: do you now where I could find one?
Thank you for this great software
ppom

I guess, We can have this thread for new languages that people want added to the keyboard and I can focus on the ones with most votes.

German?

Hindi

Also, a builtin way to customize the keyboard would be really great. I saw you made some shortcuts for your email for example and I'm kinda jealous :smile:
It's also a big amount of work.

i think it would be best to make some general way to change the layout, which can then be used for language presets.

Hebrew .... once again :)
I think that swedneck's idea is good - allow some easy way for us to contribute and help implement additional languages.
BTW, these setup were available in 8Pen. any way to pull out the layout? just to save the time tryig to remember what was it ..?
(I think I still have the Hebrew addon for 8pen)

Is it possible to view a screen shot?
On Wed, 4 Nov 2020, 20:09 Gil Uriel<EMAIL_ADDRESS>wrote:

Hebrew .... once again :)
I think that swedneck's idea is good - allow some easy way for us to
contribute and help implement additional languages.
BTW, these setup were available in 8Pen. any way to pull out the layout?
just to save the time tryig to remember what was it ..?
(I think I still have the Hebrew addon for 8pen)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flide/8VIM/issues/75#issuecomment-721770550, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABX5WR53UWI4X75UPS3WBO3SOFRTPANCNFSM4TFQ3F7A
.

BTW, these setup were available in 8Pen. any way to pull out the layout? just to save the time tryig to remember what was it ..?
I think it could be possible. I can try to decompile it later

(I think I still have the Hebrew addon for 8pen)
I'm not sure was the add-on for the whole language support or only for suggestions?
Anyway i'd be cool if you can share it

I'm thinking maybe there should be different issues for different languages... it seems kind of chaotic to debate all the languages in this one spot.

I agree with @Glitchy-Tozier , I think the threads are not a good substitute for polling.
I am kinda convinced that the new layouts for the keyboard should be script based  rather then language based, for example : Latin, Devnagri, etc,
The advantage with script based layouts is as a user you don't need to remember too much ... how do i explain this ...
Suppose the layouts are language based, layouts depend on letter, bigram and trigram frequencies which would differ language to language. Now suppose, me as a english user learning esperanto, I will have to literally learn a new layout for just a few more characters...how do i explain this...
When we write on paper, our hands and finger do the remembering for the task - 'How to write a character, what is it's shape , where to start, and when it's done'. This is intutive... and if I learn a new languge with the same script, it would be stupid to teach the 'fingers' a new way to write the same letter...
I am so unsure if I am getting my point across...
I am going to stop putting elipses and do a full stop now.
My phone screen feels used after this block of text. 😅

@flide , important thing to remember, and maybe change priorities a little due to it:
Any one of us - who is waiting for a "language pack", is unable to start using the keyboard until we have it.
It is not practical to change from the default google's keyboard to 8Vim for english and change the keyboard type again to Google's keyboard for the next word.
SO - we are unable to use it, debug it, and give feedback... :(
we can only ....... wait
On the other hand, Once the language layout was made - I guess there will be no changes to it (only don't forget that some are RTL in logic) so it is not a time consuming issue.... (maybe worth changing  priorities..)
Gil

What is RTL?

What is RTL?

Right to left. For example in Hebrew the text is right aligned and as you type it expands to the left
That is the reason a while ago start and end where introduced to the XML layout to replace left and right.
To check from code if a user uses a RTL layout you can read it from the configuration:
Configuration config = getResources().getConfiguration();
if(config.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) {
    //in Right To Left layout
}

What is RTL?

Right to left. For example in Hebrew the text is right aligned and as you type it expands to the left
That is the reason a while ago start and end where introduced to the XML layout to replace left and right.
To check from code if a user uses a RTL layout you can read it from the configuration:

Very much correct...
consider the most relevant issue, when writing numbers - thought I think the OS does the change itself:
lets say I'm typing (clicking on the keyboard) abc123def
in RTL (like Hebrew) you would see that:
fed123cda
(Try "looking" at it from the right side of the line. you will see I typed the letter a 1st, then b, the c, SO far its good...
now the numbers are not "RTL"... they are actually LTR (and I'm most certain that the system will do it by itself)
and than we are back to RTL so d then e then f )
Gil

What is this madness!!!
ohh my god!
Do i need to hire a linguist ?

I am calmer now ...
okay, actually I don't think i need to worry about the rtl or ltr configs. As fas as I know, the ime service that i am overriding simply sends out characters to the os and i don't need to worry about how they are arranged or displayed.

Suppose the layouts are language based, layouts depend on letter, bigram and trigram frequencies which would differ language to language. Now suppose, me as a english user learning esperanto, I will have to literally learn a new layout for just a few more characters...how do i explain this...

Yes, the advantage of having only one layout would be to only have one layout, avoiding relearning each time to write a new language optimally.
However, having only one layout results in either one of those things:

One language being optimized, making the other ones pretty crappy to write with the one layout. (consider, for example, that the letter y is extremely uncommon in German, while it's really important in English.
The Layout is kind of an average of all languages, making it subpar to use with any language.

So which should we choose? Do we keep y in the innermost circle and screw over German? Do we place it further outwards because there are more Spanish-speakers than English-speakers, so their language weights higher? (Also, Germans and Portugueses would love to have y in the outermost circle)
Either we have to choose which languages to screw over, or we make a layout for each one, so that users at least have an optimal layout for their mother-tongue. (bilinguals may make use of a custom-layout-functionality.)

@flide If you're afraid of users having to switch languages just to get different diacritics, I suggest this:
2 Options in settings:

Let the users select a layout specific to their language
Below that, let them choose which languages' diacritic-layout they want to use.

Make it so that, by default the diacritics are in-line with the letter-language they choose. However, users can manually choose to have the diacritics of another language.

@giluriel Do you have a list of bigrams somewhere? If yes, I'll be able to generate a layout for you in the near future (https://github.com/flide/8VIM/discussions/138)

Hi,
GREAT NEWS 
bigrams, you meen the old app?
I think i have the hebrew apk somewhere. Will it be helpfull?
If not, i'll try to find a picture of the layout
Gil
Sent from myMail for Android יום ראשון, 13 דצמבר 2020, 09:12אחה״צ +02:00 from Glitchy-Tozier<EMAIL_ADDRESS>:

@giluriel Do you have a list of bigrams somewhere? If yes, I'll be able to generate a layout for you in the near future ( #138 )
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub , or  unsubscribe .

@giluriel



1.No idea what that is xD

bigrams, you meen the old app?

Nonononono, "bigrams" are two-letter-combinations.
What I need is something like this: http://practicalcryptography.com/media/cryptanalysis/files/german_bigrams.txt but for hebrew.

@giluriel



1.No idea what that is xD

bigrams, you meen the old app?

Nonononono, "bigrams" are two-letter-combinations.
What I need is something like this: http://practicalcryptography.com/media/cryptanalysis/files/german_bigrams.txt but for hebrew.

Great.
From your list, this is Hebrew:
HE 8184104
is that what you ment ?

I have found this:
http://cl.haifa.ac.il/projects/ngrams/files/heb.bigrams.txt
though I can't seem to get it in the right encoding.
Also, and maybe easier,
I think I have the old XML file from the hebrew 8Pen apk. I was unable to go over it but I'll upload it as well. if it contains the keys layout it would be easier I think....
xml-he.zip

http://cl.haifa.ac.il/projects/ngrams/files/heb.bigrams.txt

Do numbers somehow work differently in Hebrew?
If not, that file is wrong.

This is the Hebrew layout. in Red are the aschii codes for the letters.
hope it helps :)
Gil

I have found this:
http://cl.haifa.ac.il/projects/ngrams/files/heb.bigrams.txt
though I can't seem to get it in the right encoding.

Do you know why many characters have a < in front of them?
א	0.0149080599<

Hi,
In the example you brought, א is the 1st letter in Hebrew.
The < has nothing to do with the letter
Looks to me like 'LESS THEN'.... (the math relation)
Once ahain,
If i got it right, you asked for the bigrams to know how to arrange the letters, right?
I posted the arrangement that we alresdy used (and gut used to.....) in 8pen, including the ascii values of them.
I asdume it may ssve some work and make eork easier
Once again,
Thank you for all the eoort and the hard work
Gil
Sent from myMail for Android יום שלישי, 15 דצמבר 2020, 06:14אחה״צ +02:00 from Glitchy-Tozier<EMAIL_ADDRESS>:

I have found this:
http://cl.haifa.ac.il/projects/ngrams/files/heb.bigrams.txt
though I can't seem to get it in the right encoding.
Do you know why many characters have a < in front of them?
א	0.0149080599<

—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub , or  unsubscribe .

Closing this thread, please continue the discussion on language specific board discussions, like #143 , #90 etc.

@aopom @koalp I've created a version of 8vim with the french diacritics added: https://github.com/adamschmalhofer/8VIM/releases/tag/french-4

Hi Adam,
Can you upload a Hebrew one as well? that would be awesome :)
On 30/05/2021 15:05, Adam Schmalhofer wrote:

@aopom [1] @koalp [2] I've created a version of 8vim with the french
diacritics added:
https://github.com/adamschmalhofer/8VIM/releases/tag/french-4
--
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [3], or unsubscribe
[4].

Links:
[1] https://github.com/aopom
[2] https://github.com/koalp
[3] https://github.com/flide/8VIM/issues/75#issuecomment-850989223
[4]
https://github.com/notifications/unsubscribe-auth/ABOZRKM5I4NWGTGSGOMDHOTTQIS2JANCNFSM4TFQ3F7A

Hi Adam, Can you upload a Hebrew one as well? that would be awesome :)

Sure. Could you type the layout as the 8 groups of 4 chars here in counter clock wise order starting with א ? Once I have that I will upload a Hebrew one.

Hi Adam, Can you upload a Hebrew one as well? that would be awesome :)

Sure. Could you type the layout as the 8 groups of 4 chars here in counter clock wise order starting with א ? Once I have that I will upload a Hebrew one.

Here they are
(I did not made them as single rows of 4 characters because the system switches signs position (we are right to left language so everything gets "messy" when signs are involved).
To spare mistakes and save your time, they are written here as "blocks of 4"
is it OK?
many thanks
א
ר
ז
?
צ
ס
ם
נ
ש
ע
פ
ץ
.
ך
פ
ב
כ
ק
ט
,
@
ן
ו
י
ה
ת
ד
ג
!
ח
מ
ל

Hi Adam, Can you upload a Hebrew one as well? that would be awesome :)

Sure. Could you type the layout as the 8 groups of 4 chars here in counter clock wise order starting with א ? Once I have that I will upload a Hebrew one.

Here they are
(I did not made them as single rows of 4 characters because the system switches signs position (we are right to left language so everything gets "messy" when signs are involved).
To spare mistakes and save your time, they are written here as "blocks of 4"
is it OK?
many thanks

Done:
https://github.com/adamschmalhofer/8VIM/releases/tag/hebrew-1
Yeah, it does get confusing mixing rtl and ltr. Noticed that, too. The keyboard seems to work as intended (at least to my untrained eyes).

Adam,
This is awesome !!! !!! !!!
i can't expres my enthusiasm
in the practical side, at first sight it looks and behaives great.
im starting using it and if something will come up ill let you know .
once again many thanks
** writtem with ... 8vim
Sent from myMail for Android יום שני, 31 מאי 2021, 06:41אחה״צ +03:00 from Adam Schmalhofer  @.*** :

Hi Adam, Can you upload a Hebrew one as well? that would be awesome :)
Sure. Could you type the layout as the 8 groups of 4 chars here in counter clock wise order starting with א ? Once I have that I will upload a Hebrew one.
Here they are
(I did not made them as single rows of 4 characters because the system switches signs position (we are right to left language so everything gets "messy" when signs are involved).
To spare mistakes and save your time, they are written here as "blocks of 4"
is it OK?
many thanks
Done:
https://github.com/adamschmalhofer/8VIM/releases/tag/hebrew-1
Yeah, it does get confusing mixing rtl and ltr. Noticed that, too. The keyboard seems to work as intended (at least to my untrained eyes).
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub , or  unsubscribe .

Hi Adam,  (and Ravi @flide  )
2 things that I noticed (and I'm not sure they are related to additional language...)
maybe you can help:

When I'm using 8vim (both english and hebrew) and I'm clicking the emoji icon, I'm not getting the emoji keyboard.
instead, I;m getting the old android keyboard. then I have to click the emoji icon again and there we have it.
Is there any way to solve it?

I didn't find an easy way to get back from the numeric keyboard.
after clicking it's icon and using it - I need to click the "android back" and then click the textbox once again and only then I'm back to 8vim. Any easier way?

Thanks,

From the numerical keyboard, press the icon in the bottom left to go back.

From the numerical keyboard, press the icon in the bottom left to go back.

Bottom left, you're talking about the keyboard icon?
It brings me to selecting input type but remains on the numeric layout.
(the other "bottom left" icon I have is two dots :     which is actually two dots.)

well I changed the layout a bit.
Try the highlighted icon, wherever it maybe.
On Tue, 1 Jun 2021, 16:10 Gil Uriel, @.***> wrote:

From the numerical keyboard, press the icon in the bottom left to go back.
Bottom left, you're talking about the keyboard icon?
It brings me to selecting input type but remains on the numeric layout.
(the other "bottom left" icon I have is two dots : which is actually two
dots.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flide/8VIM/issues/75#issuecomment-852021175, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABX5WR67B5CUHWEVBSDQKQDTQS2LPANCNFSM4TFQ3F7A
.

well I changed the layout a bit. Try the highlighted icon, wherever it maybe.
…
On Tue, 1 Jun 2021, 16:10 Gil Uriel, @.***> wrote: From the numerical keyboard, press the icon in the bottom left to go back. Bottom left, you're talking about the keyboard icon? It brings me to selecting input type but remains on the numeric layout. (the other "bottom left" icon I have is two dots : which is actually two dots.) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#75 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX5WR67B5CUHWEVBSDQKQDTQS2LPANCNFSM4TFQ3F7A .

Hi Ravi,
that was fast :)
How do I install the fix you just made?
TNX
Gil

I think the thread is now very confusing.
I did not make any changes.
Can you post a screenshot of you numeric keypad.
On Tue, 1 Jun 2021, 16:42 Gil Uriel, @.***> wrote:

well I changed the layout a bit. Try the highlighted icon, wherever it
maybe.
… <#m_-4815896239595657167_>
On Tue, 1 Jun 2021, 16:10 Gil Uriel, @.***> wrote: From the numerical
keyboard, press the icon in the bottom left to go back. Bottom left, you're
talking about the keyboard icon? It brings me to selecting input type but
remains on the numeric layout. (the other "bottom left" icon I have is two
dots : which is actually two dots.) — You are receiving this because you
were mentioned. Reply to this email directly, view it on GitHub <#75
(comment) https://github.com/flide/8VIM/issues/75#issuecomment-852021175>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABX5WR67B5CUHWEVBSDQKQDTQS2LPANCNFSM4TFQ3F7A
.
Hi Ravi,
that was fast :)
How do I install the fix you just made?
TNX
Gil
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flide/8VIM/issues/75#issuecomment-852040316, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABX5WR5QMN36SXS73VOEAUDTQS6DDANCNFSM4TFQ3F7A
.

These are the layouts I have:
Numeric:

The regular hebrew one:

Okay @giluriel, it is the icon next to the "7" on your screenshot. Sorry for confusion!

Okay @giluriel, it is the icon next to the "7" on your screenshot. Sorry for confusion!

You're right :)))) I missed that
COOL

@adamschmalhofer, turns out i had a small mistake..
On the 3rd block (counter, starting with א), the 3rd letter is wrong
This is the correct block:
ש
ע
ף
ץ
Can you make a fixed layout?
Thanks
.

@giluriel Done: https://github.com/adamschmalhofer/8VIM/releases/tag/hebrew-2

hi adam,
it looks great. you're the one !!


jc: 1.20.1 -> 1.20.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://pypi.org/project/jc/.
meta.description for jc is: "This tool serializes the output of popular command line tools and filetypes to structured JSON output"
meta.homepage for jc is: "https://github.com/kellyjonbrazil/jc"
meta.changelog for jc is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.20.2 with grep in /nix/store/wx2fcfqdg4xd51rsxanikgwlz25gk46v-python3.10-jc-1.20.2
found 1.20.2 in filename of file in /nix/store/wx2fcfqdg4xd51rsxanikgwlz25gk46v-python3.10-jc-1.20.2

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
jc
python310Packages.jc
python39Packages.jc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wx2fcfqdg4xd51rsxanikgwlz25gk46v-python3.10-jc-1.20.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A jc https://github.com/r-ryantm/nixpkgs/archive/a96092b642d1506c782866a8672ed7d44cbd3ba4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wx2fcfqdg4xd51rsxanikgwlz25gk46v-python3.10-jc-1.20.2
ls -la /nix/store/wx2fcfqdg4xd51rsxanikgwlz25gk46v-python3.10-jc-1.20.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

jc (python310Packages.jc)
python39Packages.jc

Maintainer pings
cc @Atemu for testing.

Result of nixpkgs-review pr 180347 run on aarch64-darwin 1

2 packages built:

jc (python310Packages.jc)
python39Packages.jc


HIVE-24021: Read insert-only tables truncated by Impala correctly

Why are the changes needed?
Hive reads insert-only tables truncated by Impala as if the truncation hadn't happened.
Does this PR introduce any user-facing change?
Yes, getAcidState will not filter out files with names beginning with "_empty"
How was this patch tested?
Unit test

Accidental merge, I reverted both commits. #1384 continues to track this change.


!!! THIS REPOSITORY IS OBSOLETE!

Please use https://github.com/NixOS/nixpkgs

yay!

This repository should be archived.
https://github.com/NixOS/nixos/settings -> "Archive this repository"
/cc @edolstra

This repository should be archived.

but first everything except the README should be deleted to ensure this repository no longer turns up in search results.

Does archiving break URL references to the repo?

It just makes it read-only and adds a banner that says that the repo is archived.


Incorrect validation of the available qty (when changing the qty of the product in the cart)

Current behavior

There is incorrect behavior when I'm changing product qty typing unavailable qty and then trying to type again available qty. There is always a qty validation message visible.
The example below for WS09-L-Blue - available qty in Magento = 83:

Expected behavior
The qty validation message is visible only when I type unavailable product qty. When I type/ choose available product qty - it is updated accordingly.
Steps to reproduce the issue

Go to WS09-L-Blue product page
Change Qty to 83
Click 'Add to cart'
Open cart
Try to change Qty to 84
Try to change Qty to 82 or any lower value

Can you handle fixing this bug by yourself?

[ ] YES
[x] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[ ] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[x] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

Browser: Chrome 73
OS: Ubuntu 18.04 LTS

Plus: Adding to cart stopped working in the offline mode - needs to be checked

@pkarw I checked on next and it works fine, where this issue appeared?

@GabiDivante nevermind ;) I figured it out - it was not the offline issue but problem with my vs-api instance :)

Hi @GabiDivante I've rechecked this one and here are my findings:

The validation is made on Magento2 side - we're sending a request to cart/update endpoint and Magento is responding with an error.

If You add the WS09-L-Blue with qty = 60; then modify to 20 - > it's fine, but when you add with qty = 60 and then modify to 30 - you got this error

It seems like Magento is validating the qty like existing item qty + ... the item you like to change to. Which makes no sense but this is the reason why 60+20 (80<83) works fine and 60+30 (90>83) is not.

This seems to be fixed with Magento 2.3 (and demo-magento2.vuestorefront.io is on 2.2); here's the original issue: https://github.com/magento/magento2/issues/12846


Add support for ssl user_data provisioning fixing #317

When using winrm_transport ssl, reuse the RDP certificate for use with
winrm so we can capture the ssl fingerprint from the aws console.

FIxes #317


fix(app): just another release

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Double click to close polygon

Hello,
Is it possible to close a polygon on double click with the mouse rather than clicking on the first point?
It's a lot easier to do it like this and prevents the user from created unnecessary nodes by mistake.
Thanks.

Hi @mdomnite, thanks for the input. That would be possible.
Before I implement this, I'd suggest you try the new version (coming this week). The cursor point snaps to the first point so it's very easy to close the polygon.
(try it here: https://jsfiddle.net/9d9cn83f/7/ )
If that's still not enough, I'll implement double-click to close.

Hello @codeofsumit , thanks for the answer. The way the new version works is better but from my point of view double click to close (maybe even a preview of the polygon with w semi-transparent color) would be nice. Anyway, let's see if anyone else agrees to this and I will also take a look through the code these days when I get some time, I didn't have time to try everything out yet.

@mdomnita new version is out. Let me know if it works for you

I'll close this until @mdomnita or other uses need support for double click to close polygon


Ability to send PDF by email

We should add a button "Send PDF by email" in order to generate and then send the pdf by email.
It would be more mobile-friendly if the previously typed emails were stored somewhere in order to autocomplete the next time (using the same UX tool than the one used to filter volunteers on the create communication page).

Added “blocker” label because it is hard / impossible to download / share a pdf from some phones.

Removed "Blocker" as both iOS and Android users successfully shared the pdf

I think the best solution is to create a link that is not possible to guess (like a UUID), and attach it to the communication. Then, https://redcall.io/pdf/ would be publicly available and render the pdf.

Closing this in favor of #309


Initialise Message

Hi,
I'm trying to create a Message to put into the history and I can't seem to use the init(role:content:)
Do you know why? I can see the init is there but Xcode won't let me build. I tried to uninstall and reinstall the package, cleaning the cache, cleaning the build, still no luck

I found a workaround for now, I put the data in a json format then use JSONDecoder
let chatData = data.data(using: .utf8)!  let decode = try JSONDecoder().decode(Message.self, from: chatData)

Hi, thanks for quickly reporting this. I forgot to make the initializer public, just pushed 1.2.3 release to fix this issue, you should be able to use Message.init(role:content:) now

Hi, thanks for quickly reporting this. I forgot to make the initializer public, just pushed 1.2.3 release to fix this issue, you should be able to use Message.init(role:content:) now
https://github.com/alfianlosari/ChatGPTSwift/releases/tag/1.2.3

awesome, thanks


Add headerAlign config on Column

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[ ] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Does this need a Toolbox branch? As usual, I can't think of anything sensible.

A toolbox example would have been nice for sure, but can see how it would take time to setup something clean to the user that actually allows us to toggle the column API.
In this case, will go ahead and merge because it seems correct and quite safe.

Sweet and simple - thanks for this.  No, I don't think we need a TB example in this case - if one comes up naturally though we have it to use.


Does not retrieve cover

All my mp3s have the cover image in their metadata but kmbmpdc doesn't retrieve them.

Are your files tagged using ID3v2.3 or ID3v2.4?

Usually with some kind of an ID3v2 editor.

For anyone driving by, get mutagen.
pip3 install mutagen

then run mid3v2 -C over your mpd music collection to convert id3 tags to v2.4...
find . | while read a; do; mid3v2 -C "$a"; done

Although I can't say this will make images show up in the player view... because it doesn't for me.

aaaand I had to fix my preferences > music folder.

This should be closed 👍


Gracefully handle attempts to delete published resources

If I go to the my resources page I can select (place a check next to) a published resource and click delete (the trash can).  I then get prompted to confirm.  If I click confirm I get an indefinite spinning wheel.  This is because the system correctly does not delete a published resource.  However the interface should not hang with the spinning wheel.  Instead I suggest a message when the delete button (trash can) is clicked that says "One or more of the resources you have selected is published.  A published resource may not be deleted."

@dtarb, I need delete permissions on a published resource to test this. Could you give me access in one of our sandboxes? Perhaps beta.hydroshare.org

@dtarb, I found an error and deployed a fix to https://playground.hydroshare.org/my-resources/
Please test and confirm if it worked.

It works properly for me on Playground.

Tested on release candidate 1.13.


fixes to CI build, remove dead links

🙈 Ignore some errors which are not actionable or unlikely to be fixed to make the CI checks more useful. This is still spitting out ~50 errors but they're now 50 things we might actually do something about.
🔧 Fix/remove some obviously non-controversial dead links/content
There is probably more to come on this once I have a chat to @jobarratt

Thank you!


Examples are looking for scripts using '_' instead of '-'

Moved from: https://code.google.com/p/mutation-summary/issues/detail?id=28
mutation-summary.js and tree-mirror.js use underscores in the src and util directories, but the examples are looking for mutation_summary.js and tree_mirror.js

Fixed


Drop "MAY, 2018" clause for proposal validation on mainnet

This is no longer needed.

Rebased due to merge conflict after #2098 at https://github.com/dashpay/dash/pull/2101/files#diff-6e1f8089e8fd6f74c2080971eb37f792R452


Compute transitive apps by id index lazily.

Summary:
This is the first step to remove the app and pods index alltorgether.
For now it is caluclated only at one spot.
JIRA issues: MARATHON-7945

This actually does improve the performance a bit of the assign service ports benchmark.


Unity 2018.3 - link.xml doesn't work when build for console

Hi
Recently I had set the Strip Engine Code to true and also Managed Stripping Level to Medium in Unity3d 2018.3. I manage to build an APK that is playable from my phone but when i try to build an ZIP file from the Build for console and test from my phone through the "TRY NOW" button, It doesn't work as it tells me the class has been stripped down.
Is there any way for me to strip the engine code with the link.xml?
THank you.

Hello, thanks for reaching out.
I have a couple questions to help me understand the issue:

When you build the APK, are building/running it using the menu option: PlayInstant -> Build & Run?
When you build the APK, do you have a link.xml file in your Asset folder?
Which class fails to load?
Is that class referenced in your scene, or is it attached to a prefab in an AssetBundle?
If you are using AssetBundles, what is the "AssetBundle Manifest" field in the "Play Instant Build Settings" set to?

Any logs that you can send would also be very helpful.
Thanks!


how to compare string use filter

hi guys,i'm using RealmSwift.
but how to compare string using filter:
class Person: Object {
    dynamic var name : String = ""
}

For example, there are four Persons ("A","B","C","D"), how can i get those with name before C.
realm.objects(Person).filter(name <= 'C') // error

@github2016a try the following:
realm.objects(Person).filter("name <= 'C'")

Notice that the entire filter method call is now a string.


Make the C logger more accessible from python

It should mimic the same interface as the usual python logging interface. Maybe even transparently substitute it.
The exception() logger call should also fetch the current exception which it doesn't do (and is thus completely commented out for now).
Each python logger should also have a custom name that is reflected in the logs.

We already got the internal logger implemented over the years.
There's no need to improve it just for Adapter.py and the regular mods can use the logging package to access pythia.log just fine


Not running?

I already had docker installed, so I just I did this:

but when I tried running it, **this** happened...

Here is the full error log.
This is on:
OSX 10.11.6 (15G31).
Perhaps it's my docker install?

When trying to scan, https://gist.github.com/agucova/d65364ca5bdce8a380c671debd81714f happens.

Maybe is my gopath messed up? I already had problems with it before.

How did you install docker? Also can you run with the -D flag?  Thank you very much for your help.

Closing due to lack of activity.  Feel free to re-open.

The issue was solved after I totally uninstalled both docker and malice.
Sorry for not responding, I had an issue with Github's notifications.


[Question] How was the top-k parameter set in benchmark results?

Hi.
Thanks for providing valuable benchmark tool.
I was to reproduce the benchmark result, and wondered how should I set k parameter to make same environment.
Should I leave k as the default 100, or set certain value?
Thanks.

@reshnah Thank you for using VDBBench!
You can adjust the value of k when running the test, with the default set to 100.
We also used k=100 during testing for the standard results.

Thank you!


Union key does not exist in object type

type Key = "demo" | "another" | "foo" | "bar"

const Foo = {
    another: 1,
    bar: 2,
    foo: 3,
    demo: 4,
}

function get(key: Key) {
    return Foo[key] // Error here
}

Property "  'another'
| 'bar'
| 'demo'
| 'foo'" does not exist in "{
	another: number,
	bar: number,
	demo: number,
	foo: number
}"

Playground

Were fixed in 5baa37e08db2c61e154001ce09bfe4087032f2dc

Thank you for contribution ^_^


chore: Update all samples to Functions Framework v2

(Initially to FF v2.0.0-beta01, but we can get it ready that way, then quickly swap out the dependencies after FF v2 has gone GA.)
Note that the C# code changes are basically just using file-scoped namespaces, which reduce the indent level (particularly handy for samples).

(Will leave this as-is until FF2 has been released.)

I've now updated this to v2


Show "xx min (xx:xx)" all the time?

Is it possible to show "xx min (xx:xx)" all the time? Like "1 min (11:31)" and/or "20 min (11:51)"
I asked about this some time ago. Can't remember if it got implemented. :)

@NiklasOlofsson No this is not possible right now. But I can added for future development


Cloudy causes lags during animations

Please complete the following information:

Library Version [e.g. v0.2.3]
Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0]

Cloudy redraw is triggered every time and layout change occurs. Eg on code below I anime box which has no relation to blured box. Hoever cloudy is redrawing multiple times per each animation. On pre android12 device it causes significant frame skipps
 Column {
            Box(Modifier.size(300.dp)) {
                val graphicsLayer = rememberGraphicsLayer()

                Box(
                    Modifier
                        .fillMaxSize()
                        .cloudy(
                            80,
                            graphicsLayer = graphicsLayer,
                            onStateChanged = { Timber.e("cloudy ${it.javaClass.simpleName}") })
                        .background(Color.Blue)
                )
            }
            Box(Modifier.size(300.dp)) {

                var satarget by remember { mutableStateOf(false) }
                val sa by animateFloatAsState(if (satarget) 1f else 0f)
                Box(
                    Modifier
                        .height(300.dp * sa)
                        .fillMaxWidth()
                        .background(Color.Red)
                )
                LaunchedEffect(Unit) {
                    while (true) {
                        delay(400)
                        satarget = !satarget
                    }
                }
            }
        }

It's a CPU-based blur that's executed in a blocking manner. The blur recalculates whenever the layout updates. I'm not sure if it updates multiple times per frame, but even if it only updates once per frame, it's still a slow CPU-based blurring process.
To make it work fast, it needs to be hardware accelerated.


Enable llama attention softmax in bf16

This PR adds an input arg to enable BF16 attention softmax layer for Llama finetuning.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Escape sequences should be added to DisplayName

First, I just want to say huge thank you this project! I’ve spent a lot of time creating my own source generator, and I have used this project as a template. I’ve learned a lot (but I still feels like I understand nothing 😂). My project wouldn’t have been possible without this project, so I’m super grateful.
That said, I’ve found a bug 🙂. The source generator will currently create code that doesn’t compile if you do like this:
[EnumExtensions]
public enum EnumWithDisplayNameInNamespace
{
    First = 0,
    [Display(Name = "Evil\nstring")]
    Second = 1,
    Third = 2,
}

It’s similar to a SQL injection. If you modifies EnumValueOption to the code below, it’s starts to compile again. But I haven’t verified that it’s actually works 😄. Not even sure if this the right place to generate the escape sequence.
I’ve added to methods to escaping the string. Method 1 is faster for normal strings (strings that doesn’t need any escape sequences). It also only uses pure 7-bit ASCII characters.
Method 2 uses SymbolDisplay.FormatLiteral. If the second parameter is false it will not add any quotes around the string. But then also no quote marks replaced to escape sequences, which I think it very weird.
public readonly struct EnumValueOption : IEquatable<EnumValueOption>
{
    /// <summary>
    /// Custom name set by the <c>[Display(Name)]</c> attribute.
    /// </summary>
    public string? DisplayName { get; }

    public bool IsDisplayNameTheFirstPresence { get; }

    public EnumValueOption(string? displayName, bool isDisplayNameTheFirstPresence)
    {
        if (displayName is not null)
        {
            DisplayName = GenerateEscapeSequence1(displayName);
        }

        IsDisplayNameTheFirstPresence = isDisplayNameTheFirstPresence;
    }

    public bool Equals(EnumValueOption other)
    {
        return DisplayName == other.DisplayName &&
               IsDisplayNameTheFirstPresence == other.IsDisplayNameTheFirstPresence;
    }

    public static string GenerateEscapeSequence2(string s)
    {
        // Second parameter need to be true to escape qoute characters (weird!), but will
        // also add double quotes to the string.
        string escaped = Microsoft.CodeAnalysis.CSharp.SymbolDisplay.FormatLiteral(s, true);

        // Remove first and last character (double quotes)
        return escaped.Substring(1, escaped.Length - 2);
    }

    public static string GenerateEscapeSequence1(string s)
    {
        if (!s.Any(ch => ShouldEscape(ch)))
        {
            return s;
        }

        StringBuilder sb = new(s.Length * 5);
        foreach (char c in s)
        {
            if (ShouldEscape(c))
            {
                sb.Append(GenerateEscapeSequence(c));
            }
            else
            {
                sb.Append(c);
            }
        }

        return sb.ToString();
    }

    public static bool ShouldEscape(char c)
    {
        return c < 32 || c > 126 || c == '\"' || c == '\\';
    }

    public static string GenerateEscapeSequence(char c)
    {
        if (c == '\"')
        {
            return @"\""";
        }
        else if (c == '\n')
        {
            return @"\n";
        }
        else if (c == '\r')
        {
            return @"\r";
        }
        else if (c == '\t')
        {
            return @"\t";
        }
        else if (c == '\v')
        {
            return @"\v";
        }
        else if (c == '\a')
        {
            return @"\a";
        }
        else if (c == '\\')
        {
            return @"\\";
        }
        else
        {
            return $"\\u{(int)c:x4}";
        }
    }
}

Sorry for the delay @pekspro - thanks for flagging this. I had completely forgotten about this issue, it should be fixed completely in #109 though - there's an API that handles the escaping completely 🙂


should face_mesh_desktop_live.pbtxt be included in the repo?

Trying to run the samples, and the FaceMesh sample throws error:
Could not find a part of the path '<...>\Mediapipe.Net.Examples.FaceMesh\bin\Debug\net6.0\mediapipe\graphs\face_mesh\face_mesh_desktop_live.pbtxt'.
... maybe face_mesh_desktop_live.pbtxt and face_mesh_desktop_live_gpu.pbtxt just haven't been added to the repo yet?

What you need to do is to include the mediapipe/graphs/ and mediapipe/modules/ folders from the original MediaPipe repository from Google.
https://github.com/google/mediapipe/tree/master/mediapipe
The reason we don't include them is because (at least for the modules) they take a huge amount of space, and it would thus massively clutter the repo which is not ideal when you want to clone it locally especially if you don't have good internet.
However, we do plan on making it so that it is possible to use the base calculators that we provide without having that folder lying around - modules and graphs would be fetched from a DLL resource using a custom resource provider. We still haven't done anything on this, but we will shortly.

Understood - thankyou.
In the meantime, I've added an itemgroup to my Mediapipe.Net.csproj which will copy from the mediapipe repo locally into the correct folder for deployment, in case it would help anyone else:
<ItemGroup>
<!--    Include mediapipe\graphs and mediapipe\modules directories from main mediapipe repo,-->
<!--    see: https://github.com/vignetteapp/MediaPipe.NET/issues/14-->
    <Content Include="C:\code\mediapipe\mediapipe\graphs\**\*.*">
      <Link>mediapipe\graphs\%(RecursiveDir)%(Filename)%(Extension)</Link>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="C:\code\mediapipe\mediapipe\modules\**\*.*">
      <Link>mediapipe\modules\%(RecursiveDir)%(Filename)%(Extension)</Link>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
  </ItemGroup>


feat: js deposit tx

Description

JS impl of DepositTx that can serialize + hash, simple test now with more tests later
Hardhat task now lists the tx hash

Codecov Report

Merging #347 (82c51f9) into main (6944c7e) will decrease coverage by 0.57%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #347      +/-   ##
==========================================
- Coverage   56.21%   55.64%   -0.58%
==========================================
  Files          46       46
  Lines        3668     3668
==========================================
- Hits         2062     2041      -21
- Misses       1368     1386      +18
- Partials      238      241       +3

Impacted Files
Coverage Δ

opnode/internal/testlog/testlog.go
58.46% <0.00%> (-18.47%)
:arrow_down:

opnode/l1/receipts.go
51.72% <0.00%> (-6.90%)
:arrow_down:

opnode/bss/submitter.go
57.37% <0.00%> (-4.92%)
:arrow_down:

opnode/rollup/driver/state.go
65.16% <0.00%> (-1.50%)
:arrow_down:

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 6944c7e...82c51f9. Read the comment docs.

New PR https://github.com/ethereum-optimism/optimistic-specs/pull/352
Will fix the merge conflict after https://github.com/ethereum-optimism/optimistic-specs/pull/351 is merged

Rebased #352, let's continue there.


Bottom sheet changes height upon scroll

It seems like there is a bug with scrolling quickly that causes the full screen bottom sheet to change height: https://share.cleanshot.com/Hlcr715R

Hey @greynguyen thanks for report!
I'll check it and fix next week.

hey @greynguyen, did you modify your scroll view in any way?

Hey @greynguyen, the problem has been fixed in patch-2.2.4 branch


Unknown symbols during linking on x86_64-pc-windows-msvc as of Rust 1.65.0

When trying to upgrade to Rust 1.65.0 for https://github.com/vectordotdev/vector, which uses this crate, we ran into linking issues on x86_64-pc-windows-msvc (build.log; this log is for 1.66.0 but we ran into the same issue on Rust 1.65.0).
Snippet of log:
2022-12-22T22:49:37.6937344Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms13log_to_metric1_25__init___rust_ctor___ctor17h64d5fc6fb99d330aE
2022-12-22T22:49:37.6937846Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms13metric_to_log1_25__init___rust_ctor___ctor17hbeda55e3bf00e4d5E
2022-12-22T22:49:37.6938346Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms16aws_ec2_metadata1_25__init___rust_ctor___ctor17hb8a3426c861b211fE
2022-12-22T22:49:37.6938859Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms21tag_cardinality_limit6config1_25__init___rust_ctor___ctor17hd0b137b0bdff8d2bE
2022-12-22T22:49:37.6939360Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms3lua1_25__init___rust_ctor___ctor17h4040d0e162d8878bE
2022-12-22T22:49:37.6939835Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms5remap1_25__init___rust_ctor___ctor17h50b8ee216976026eE
2022-12-22T22:49:37.6940305Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms5route1_25__init___rust_ctor___ctor17hadc171e492e47a2dE
2022-12-22T22:49:37.6940776Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms6dedupe1_25__init___rust_ctor___ctor17hf2bef12f5768630dE
2022-12-22T22:49:37.6941259Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms6filter1_25__init___rust_ctor___ctor17hf000e1c6bb14d353E
2022-12-22T22:49:37.6941730Z           symbols.o : error LNK2001: unresolved external symbol _ZN6vector10transforms6reduce1_25__init___rust_ctor___ctor17hb0a0d85dc4d65beaE

I was able to bisect rustc changes down to this commit: https://github.com/rust-lang/rust/commit/4916e2b9e6ef8cee6f9c6abb75bd01ba9dc07e5c.
I can try to come up with a more minimal MRE if it is helpful. I figured something about that rustc commit might jump out though.

Running with codegen-units = 1 seems to resolve it 🤔

I think this would need to be reported with a MRE (not involving macros) to rust-lang/rust. I don't know of anything in the inventory crate or ctor crate that would lead to an error like this.


Add option to execute script normally for debugging

To execute script without loop...? At least I'll implement it, and I lost this issue's context. Closing.


Use template files for payment mails

Fixes #1573 and cleans up a lot of stuff

Looks awesome <3

@hakloev your wish is my command.


load balancing strategy and readiness monitoring

Adding a readiness probe will make sure that pod starts entertaining requests only after it becomes ready from the application perspective
Setting LB type to source will ensure the same client-ip will reach the same source pod always until the pod goes down.

close this one as the changes are merged to https://github.com/redhat-sap/sap-commerce-operator/pull/13


May want to make ModPerl::RegistryCooker a runtime recommends dependency

Instead of a require so that the sealed.pm functionality is tested and installable on more systems. Also possible to add as optional_features as done here: https://metacpan.org/release/OETIKER/PDF-QRCode-0.1.1/source/Makefile.PL, https://github.com/oetiker/pdf-qrcode/pull/1/files.

Great idea!  I mean, there's no real reason to pull the ModPerl::RegistryCooker dependency into this Makefile.PL, because nobody will test/use ModPerl::RegistryCookerSealed module in here unless they have mod_perl2.

Resolved in v4.3.0


Remove sensitive keys and data.

Thank you for the message! As @IonicaBizau already mentioned, keeping these credentials in our published code is extremely important since the project is deployed using GitHub Pages and connects to the Firebase database only by these credentials . If we delete them, you will be able to access the page, but nothing wil be stored in the database (because it won't even connect to it).


Added two way text on globe

Hey from New Zealand
Awesome project! 👍
I've added the functionality for two way text. This has been done by simply cloning the text object, rotating it and changing the shader to include: Cull Back.
This means you can read the cities from both left and right.

Cheers,
Dan

Thanks for the awesome improvements!
Could you please exclude unrelated changes? (e.g. files under ProjectSettings)

Yeah of course. Cheers.

I've changed it so that only the required changes are showing on the pull request.
Works fine on my pull request, although I didn't have to change the text material to be Cull back, which I remember I had to do originally. Please give it a test on your end :)

Thanks for the update!


Questions

hi,

is there an api ?
telnet or something ?
how do you visualize the queus to get an overview, whats going on ?
can i use pinlater with php ?

thanks!

@michabbb
Thanks for your interest! For your questions:

is there an api ?

Yes. All APIs are exposed through the Thrift interface, which is defined at [pinlater.thrift] (../blob/master/src/main/thrift/pinlater.thrift)

telnet or something ?

Unfortunately no.

how do you visualize the queus to get an overview, whats going on ?

PinLater doesn't have built-in visualization dashboard. Instead, it provides several APIs that monitors/manages queue status, so that users can integrate PinLater with their existing internal dashboard or managing tools. You might want to checkout the following APIs:

getQueueNames
getJobCount
lookupJob
scanJobs

can i use pinlater with php ?

Yes. Although PinLater only comes with built-in support for Java, you can still build a PHP thrift client (or any other languages thrift supports) and have full access to the APIs. If you want a full-featured worker, PinLater also comes with an example java worker implementation for reference.
FYI to build PHP thrift client: https://thrift.apache.org/tutorial/php

thanks a lot !

Hi all, any php client demos here? I can not have the php client work with pinlater using Tsocket connection


Error

Hello,
I'm getting this error when trying to find all packages on my GitHub account. It seems to find some projects and then stops. Any idea what I'm doing wrong?
Grtz
PS C:\Windows\System32\WindowsPowerShell\v1.0> Find-Package -Source willemdh
Name                          Version      Status       ProviderName     Source           Summary

gistfile1.txt                 1.0          Available    Gist             willemdh         Blagist
check_lin_shellshock          1.0          Available    GitHub           willemdh
check_ms_cluster_preferred... 1.0          Available    GitHub           willemdh
check_ms_exchange_2010_health 1.0          Available    GitHub           willemdh
check_ms_kms                  1.0          Available    GitHub           willemdh
Find-Package : You cannot call a method on a null-valued expression.
At line:1 char:1

Find-Package -Source willemdh

  + CategoryInfo          : InvalidOperation: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Except
 ion
  + FullyQualifiedErrorId : InvokeMethodOnNull,Microsoft.PowerShell.OneGet.CmdLets.FindPackage

Thanks reporting that. I get the same error on my box. I'll take a look.

Fixed summary property when GitHub has a null description

How would I update the module?

You want to refresh it from GitHub? You want to use Update-Package. That feature is coming in the core OneGet component.


Patch 1

Let's try this again. Update to #14326

@jdbohrman would be nice if you can rename the PR and provide a better title which describe what is for ? my 0.02$  thank you

/check-cla
if the CLA command about does not remove the cncf-cla: no label, please double check your CLA registration with the CNCF helpdesk.
thanks.

Hi @otzoran . Thanks for your PR! Please sign the CLA, so we can start getting it merged.

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

The contact info for the CNCF helpdesk is available in the troubleshooting section

Emm ... "commit missing GitHub user", that is not a state for CLA checking. Feel free to reopen this when CLA is signed.


⚠ Spryr has degraded performance

In 79faf63, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4786 ms

Resolved: Spryr performance has improved in 4d53168 after 12 minutes.


HOW CAN I RUN THE PROJECT LOCALLY?

Description

When I cloned the project last month, I cannot figure out how to run it locally in my computer.
the docs should include the steps to run it successfully.
Why Oruga need this feature

To allow new contributors integrate into the project.

@mouadTaoussi https://github.com/oruga-ui/oruga/blob/develop/.github/CONTRIBUTING.md
Thanks for the future contributions 😉

Thanks!


unable to  run in the windows

how can i make the tools work in the window

I explained step by step, how you can use it.
Download Ruby for Windows
https://rubyinstaller.org/downloads/

Install Ruby on Windows

Run the tool from terminal

Thanks @EmreOvunc for helping 👍

how can i make the tools work in the window
@Lpker-2006

I explained step by step, how you can use it.
Download Ruby for Windows
https://rubyinstaller.org/downloads/

Install Ruby on Windows

Run the tool from terminal
ruby username-anarchy

thank you for  helping me


Method does not override any method from its superclass

Version of protoc (protoc --version)
3.0
Version of ProtocolBuffers.framework
3.0.0
.proto file to reproduce

Description
I use syntax = "proto3";
I've just read about similar problem in here, but it doesn't solve my problem.
I used protobuf-swift pod, from variety od branches like master, iOS Only, protobuf3.0-swift3.0, and protobuf2.6-Swift.3.0 and using protoc 3.0.0 and 3.1.0 but always the same problem:
xxxx.proto.swift:221:34: Method does not override any method from its superclass
Potential overridden class method 'decodeToBuilder(jsonMap:)
Thanks in advance!

You use oldest version protobuf-swift library.


[Windows] npm install thows WARNINGS/ERROR

λ npm install
npm WARN deprecated<EMAIL_ADDRESS>use uuid module instead

><EMAIL_ADDRESS>install C:\Users\erik\Applications\hyper\node_modules\electron-chromedriver
> node ./download-chromedriver.js

><EMAIL_ADDRESS>install C:\Users\erik\Applications\hyper\node_modules\husky
> node ./bin/install.js

husky
setting up hooks in .git/hooks
done

><EMAIL_ADDRESS>postinstall C:\Users\erik\Applications\hyper\node_modules\spawn-sync
> node postinstall

><EMAIL_ADDRESS>postinstall C:\Users\erik\Applications\hyper\node_modules\electron
> node install.js

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: write EINVAL
    at exports._errnoException (util.js:1022:11)
    at WriteStream.Socket._writeGeneric (net.js:715:26)
    at WriteStream.Socket._write (net.js:734:8)
    at doWrite (_stream_writable.js:334:12)
    at writeOrBuffer (_stream_writable.js:320:5)
    at WriteStream.Writable.write (_stream_writable.js:247:11)
    at WriteStream.Socket.write (net.js:661:40)
    at WriteStream.stream.write (C:\Users\erik\Applications\hyper\node_modules\single-line-log\index.js:12:16)
    at process.<anonymous> (C:\Users\erik\Applications\hyper\node_modules\single-line-log\index.js:17:29)
    at emitOne (events.js:101:20)

[x] I am on the branch master

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10

Hyper.app version: branch master

@eriknyk Try updating your Node version to 7.2.

This is more related to npm than Hyper.
@matheuss


kubelet: Failed to create summary reader for ...

Hello everyone:
I got little problems of running kubelet, everything runs well except below info:
1137 container.go:352] Failed to create summary reader for "/machine.slice/kubelet.service": none of the resources are being tracked.

1137 container.go:352] Failed to create summary reader for "/machine.slice/kubelet.service/system.slice/hyperkube.service": none of the resources are being tracked.

Anything wrong of my cloud-config?  The kubelet-wrapper haven't been changed.
this is my part of cloud-config
  - name: rkt-metadata.socket
    command: start
  - name: rkt-metadata.service
    command: start
  - name: kubelet.service
    content: |
      [Service]
      Slice=machine.slice
      ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests
      Environment="RKT_OPTS=--net=host --volume var-lib-rkt,kind=host,source=/var/lib/rkt --mount volume=var-lib-rkt,target=/var/lib/rkt"
      Environment=KUBELET_VERSION=v1.3.7_coreos.0
      ExecStart=/usr/lib/coreos/kubelet-wrapper \
        --register-node=false \
        --config=/etc/kubernetes/manifests \
        --allow-privileged=true
      Restart=always
      RestartSec=10
  - name: docker.service
    drop-ins:
    - name: shared-mounts.conf
      content: |
        [Service]
        MountFlags=
        MountFlags=shared
  - name: rkt-api.service
    command: start
    content: |
      [Unit]
      After=network.target

      [Service]
      ExecStart=/usr/bin/rkt api-service --listen=<IP_ADDRESS>:15441

      [Install]
      WantedBy=multi-user.target

it's the wrong setting of systemd control resource.
- name: kubelet.service
    content: |
      [Service]
      Slice=system.slice
      #omitted..


[Upstream] Renaming Nexus Operator Package (add new)

Signed-off-by: Ricardo Zanini<EMAIL_ADDRESS>Remove counter part: https://github.com/operator-framework/community-operators/pull/1720
Please merge them together as soon as you understand this one is ready to get merged. :)
Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[ ] Does your operator have nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/retest CVP

@mvalahtv I rebased and force pushed to trigger the checks again. :crossed_fingers:

Not working. 😢

/test CVP


Allow adding and deleting graph nodes and edges in Tensorboard

Generating the graph from Python is not an expensive process.  It would greatly lower the barrier to entry if new users & data scientists who are more comfortable with GUIs could modify graph parameters directly from Tensorboard.
If I understand correctly (per a short tutorial from @rsepassi) you currently cant delete nodes from the graph without regenerating it, however regenerating the graph takes seconds, so it would be nice to allow creation of nodes and edges via the GUI (like Cafe).
I know this is a really high-level feature request, and probably requires a fair amount of work.  Feel free to close it if this would be better discussed on a mailing list instead of Github Issues.

Creation won't be a problem atleast on the library's end I guess. As far as deletion is concerned, I have tried hacking around to see if its possible. Technically, it may be simple enough to delete all references to the node in question by deleting it from all graph collections and the Graph instance's inner dictionaries (which are used for methods like 'get_operation_by_name'). However, for complicated structures, you would first have to check if any other Ops depend on the node in question. If yes, deleting it would cause major issues. But I agree its a feature worth having (but with proper checking for dependencies ofcourse).

I'll leave it open for tracking purposes, but if someone wants to tackle this it's probably better to start off as a separate repo.  I'm not sure it makes sense to integrate it into TensorBoard at first, but @danmane may have further thoughts.
If someone does give this a try, please comment here!

Yeah, we've talked about this internally - it would be really cool to have a GUI for modifying the graph, but it seems like a lot of work and I suspect it would still not be powerful enough for most use cases. For it to be really useful it would need to be embedded in a broader gui-based execution system for TensorFlow, which also sounds very challenging to get right.
An easier path to fast-feedback graph creation would be to embed the graph visualizer into iPython notebook - you'd still be modifying the graph with code, but with a tighter feedback cycle.
Of course, if someone wants to try building the GUI graph builder, they're welcome to :) and I'd love to see what comes of it.

This seems much higher level than what I was thinking of, but still worth taking inspiration from Tensorflow Playground.

Even if there wasn't a GUI for this, having some utility functions for making modified copies of graphs would be useful.
I'm currently trying to use a model that was retrained from the inception model using the image_retraining example and I'm running into issues since there is a totally unnecessary DecodeJpeg Op in the model that isn't supported on android atm (#2570).
If no-one else volunteers to make these, I might see if I can hack some changes to the copying code, but I'm almost definitely the wrong person to be doing this.

We do not plan to make the graph explorer editable unless compelling reasons arise. One can run TensorFlow in colab and get quick feedback on how the graph looks like.


chore(main): release 2.4.2

:robot: I have created a release beep boop
2.4.2 (2024-07-26)
Bug Fixes

download: Replace illegal characters in file and folder names by default. This can be disabled with --no-replace (d500663)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/davidchalifoux/kaput-cli/releases/tag/v2.4.2 :sunflower:


[5.1] [Type checker] Don't replace function builder closures with their bodies

When diagnosing failures in a function builder closure, we were
unnecessarily replacing the closure expression with its body,
destroying the AST and resulting in assertions due to DeclContext
mismatches. Fixes SR-11350 / rdar://problem/54590425.

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Swift Test OS X Platform
Git Sha - 1522144afda096f6543cd1bdd0c0b501845aec9b

Build failed
Swift Test Linux Platform
Git Sha - 1522144afda096f6543cd1bdd0c0b501845aec9b