grid - adaptive layout haven't paddings

Hi!
I have the example with adaptive grid.
https://gist.githubusercontent.com/AnteaterKit/0f0f3fcf64d3b6db7359e8ccd4ebb83f/raw/ce7031a3148535e039d167f36c0025953b85ec1a/grid
May be add  padding-bottom and padding-top in some media queries?

Frankly I don't want to support those global styles as I believe it's out of Taiga UI scope and it's better to use some layout library like Tailwind. Those styles were prepared by our layout team specifically for out internal project needs and it's probably a mistake that we shipped them in public package in the first place (and not kept them in private packages). If you need this you can make a PR and we will merge it after review, but I'll close this issue so it doesn't sit in the backlog forever :)


Modify dhcp config file for esxi 5.5

-Remove options router and dns-name-server (needed for ubuntu installation)
@geoff-reid @tannoa2 @BillyAbildgaard @brianparry @uppalk1

@keedya : I remembered adding the router and dns-name-server is to pass the ubuntu installation, but now you removed it still because of ubuntu? I wonder what's the reason?

@yyscamper this fix is only for esxi5.5. firstboot fails if the options u mentioned are set

@keedya: isn't the ESXi and ubuntu tested together? So change either will impact another. Or you planed to deploy dedicated vagrant to test ESXi and Ubuntu separately?

@yyscamper they are not tested together. they run in separate jobs

@yyscamper check the link below:
http://rackhdci.lss.emc.com/job/Continuous-Test/job/Continuous-OS-Install/


Trying to Get this beast built with windows - ImportError: Could not load whisper.

I get this error
(m1ndb0t) PS Z:\GIT\M1NDB0T-GlaDOS> python glados.py
Traceback (most recent call last):
File "Z:\GIT\M1NDB0T-GlaDOS\glados.py", line 18, in
from glados import asr, llama, tts, vad
File "Z:\GIT\M1NDB0T-GlaDOS\glados\asr.py", line 5, in
from . import whisper_cpp_wrapper
File "Z:\GIT\M1NDB0T-GlaDOS\glados\whisper_cpp_wrapper.py", line 861, in
_libs["whisper"] = load_library("whisper")
^^^^^^^^^^^^^^^^^^^^^^^
File "Z:\GIT\M1NDB0T-GlaDOS\glados\whisper_cpp_wrapper.py", line 547, in call
raise ImportError("Could not load %s." % libname)
ImportError: Could not load whisper.
(m1ndb0t) PS Z:\GIT\M1NDB0T-GlaDOS>
I been following all  lessons this is my stack of models

this is the only thing I changed

I do make and sample for it on the whisper website and works correct.
not sure what I am missing.
Please let me know anything else to help troubleshoot.

maybe take the forward slash out of the beginning of the string?
if that doesn't work, since it's windows, maybe try backslashes instead?

the same issue not sure it seems something with the whisper will keep hacking away at it

Cross system compatibility is coming soon.

I resolved this issue by adding import whisper to the top of glados.py.  I also made sure whisper.py was in GlaDOS/glados directory.  (root of glados.py).
The project is now running.  GlaDOS is transcribing my text to the console as well as responding.
However,  it appears that llama is not using GPU so its a tad slower on my CPU(14900k).
And there is only blips of static when GlaDOS is trying to talk.  Currently troubleshooting.
Also, im having issues with the TTS.py as def _open_memstream(self):  was not available within windows.  I used GPT to spin me up a windows equivelent that is using io.BytesIO().
def set_voice_by_name(self, name) -> int:
    """Sets the voice by name using the espeak library."""
    f_set_voice_by_name = self.lib_espeak.espeak_SetVoiceByName
    f_set_voice_by_name.argtypes = [ctypes.c_char_p]
    return f_set_voice_by_name(name)

def _load_library(self, lib_name, fallback_name=None):
    """Loads a shared library with an optional fallback."""
    try:
        return ctypes.cdll.LoadLibrary(lib_name)
    except OSError:
        if fallback_name:
            return ctypes.cdll.LoadLibrary(fallback_name)
        raise

def set_voice_by_name(self, name) -> int:
    """Sets the voice by name using the espeak library."""
    f_set_voice_by_name = self.lib_espeak.espeak_SetVoiceByName
    f_set_voice_by_name.argtypes = [ctypes.c_char_p]
    return f_set_voice_by_name(name)

def synthesize_phonemes(self, text):
    # Using a temporary file to hold phoneme output
    with tempfile.NamedTemporaryFile(delete=False) as temp_file:
        phoneme_flags = self.espeakPHONEMES | self.espeakPHONEMES_IPA
        synth_flags = self.espeakCHARS_AUTO | self.espeakAUDIO_OUTPUT_SYNCHRONOUS

        # Convert the file handle to an integer (file descriptor)
        file_handle = temp_file.fileno()

        # Call eSpeak NG function using the file descriptor
        self.lib_espeak.espeak_SetPhonemeTrace(phoneme_flags, file_handle)
        text_bytes = text.encode('utf-8')

        self.lib_espeak.espeak_Synth(
            text_bytes,
            len(text_bytes),  # buflength
            0,  # position
            0,  # position_type
            0,  # end_position
            synth_flags,
            None,  # user_data
        )
        temp_file.seek(0)  # Go to the start of the file to read the output
        phonemes = temp_file.read().decode('utf-8')

    return phonemes.split(' ')

I ran into the same problem (can't load library: whisper) and resolved that by following these instructions to copy all the .dll dependencies into the working directory.
I've now hit an issue with tts.py when it tries to the load the model ggml-medium-32-2.en.bin where it seems to try to load libc.so.6 @l33tkr3w did you run into this?

I also used the same instructions and also copied all the .dll's to the working directory.  To get passed the libc.so.6 issue I had to find windows equivelents using ChatGPT (Not a coding expert, do have experience though).
Example:
Original Code (includes libc.so.6)
def init(self):
self.libc = ctypes.cdll.LoadLibrary("libc.so.6")
self.libc.open_memstream.restype = ctypes.POINTER(ctypes.c_char)
self.lib_espeak = self._load_library("libespeak-ng.so", "libespeak-ng.so.1")
self.set_voice_by_name(self.espeakVOICE.encode("utf-8"))
Altered code: (No libc.so.6)
def init(self):
# eSpeak-NG constants
espeakAUDIO_OUTPUT_SYNCHRONOUS = 0x02
espeakVOICE = "en-us"
self.espeak_lib = ctypes.cdll.LoadLibrary("E:\test\glados\glados\libespeak_ng.dll")
self.espeak_lib.espeak_Initialize(espeakAUDIO_OUTPUT_SYNCHRONOUS, 0, None, 0)
self.set_voice_by_name(espeakVOICE)
This allows the script to move on but im still having some issues.
Onnx runtime issue:
2024-05-05 08:45:05.1433611 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\Users\Cory\miniconda3\Lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"
Unfortunatly even with these changes, GlaDOS does not sound like she's speaking english. (Voice sounds right, just not english)
Ive adjusted the tts.py code to output the PHONEME_ID'S when GlaDOS is outputting.
Example output:
2024-05-05 08:45:31.147 | SUCCESS  | main:process_TTS_thread:365 - TTS text:  You're on your own.
[3, 37, 27, 33, 5, 30, 18, 3, 27, 26, 3, 37, 27, 33, 30, 3, 27, 35, 26, 10, 3]
I then used Espeak-ng manually (from cmd.exe) to generate a phonetic map for troubleshooting.
C:\WINDOWS\system32> espeak-ng -v en-us --ipa=1 -X "The quick brown fox jumps over the lazy dog, while vexing glib jocks quiz nymphs. Bright vixens joy, jump; zealously gobble, wink at chummy dwarfs."
I then cross referenced GlaDOS output with the Phoneme_ID map.  This test confirmed that Glados was using the proper phoneme-ids.
This is where I am at currently,  https://streamable.com/mjrih7   (Anyone have any idea what language or what could be the issue here?)
GlaDOS runs but speaks funny....
I'm sure its my fault as my solution is hacky.

@l33tkr3w thanks for the details, I have to work today but I'll give that a shot tonight and see if I get to the same place as you.
I wonder if it's worth setting the text encoding on the voice like the original code did? I think that might be why you're getting incorrect speech...
self.set_voice_by_name(self.espeakVOICE.encode("utf-8"))

Voidmesmer on the original subreddit posted a working video.  He used a subprocess and used espeak-ng directly.

Voidmesmer on the original subreddit posted a working video. He used a subprocess and used espeak-ng directly.

Hey, that's me. I've shared my code on reddit but I'm pasting it here as well for those who want to run it on Windows. Be aware that this is not a proper solution and doesn't produce results as good as the original. I didn't have much to improve it once I got it working. Feel free to use it and optimize.
def synthesize_phonemes(self, text):
        """
        Converts the given text to phonemes using the espeak executable.

        Parameters:
        -----------
        text : str
            The text to be converted into phonemes.

        Returns:
        --------
        list of str
            The phonemes generated from the text.
        """
        try:
            # Prepare the command to call espeak with the desired flags
            command = [
                'C:\Program Files\eSpeak NG\espeak-ng.exe',
                '--ipa=1',  # Output phonemes in IPA format
                '-q',       # Quiet, no output except the phonemes
                '--stdout', # Output the phonemes to stdout
                text
            ]

            # Execute the command and capture the output
            result = subprocess.run(command, capture_output=True, text=True, check=True, encoding='utf-8')

            phonemes = result.stdout.strip().replace("\n", ".").replace("  ", " ")
            phonemes = re.sub(r"_+", "_", phonemes)
            phonemes = re.sub(r"_ ", " ", phonemes)
            return phonemes.splitlines()

        except subprocess.CalledProcessError as e:
            print("Error in phonemization:", str(e))

Thanks. I also have the same implemented in Linux, and you can get better results if you change to --ipa=2
Let me know if that improves the voice generation.

I also made sure whisper.py was in GlaDOS/glados directory. (root of glados.py).

I'm on this again tonight following along with all the new information, and the old bits I couldn't fix yesterday!
Where did you get whisper.py from? I've got a whisper.dll but no .py

I also have the same issue running on Gentoo Linux. I do have whisper.cpp installed.

app-accessibility/whisper-cpp
Latest version available: 1.5.5
Latest version installed: 1.5.5
Size of files: 4744 KiB
Homepage:      https://github.com/ggerganov/whisper.cpp
Description:   Port of OpenAI's Whisper model in C/C++
License:       MIT

app-accessibility/whisper-ggml-models
Latest version available: 20231210
Latest version installed: 20231210
Size of files: 144484 KiB
Homepage:      https://huggingface.co/ggerganov/whisper.cpp
Description:   OpenAI's Whisper models converted to ggml format
License:       MIT

I find that the main issue with ImportError: Could not load whisper.
Inside your whisper_cpp_wrapper.py you point to your whisper.py
add_library_search_dirs(["D:\\GlaDOS"])

# Begin libraries
_libs["whisper"] = load_library("whisper")

Yes, that's probably it. The whisper library wrapper is auto-generated, and I modified it to expect the library to be in submodules/whisper.cpp
If you haven't pulled and compiled the submodules in that location, you will get an error.
If you want to use whisper.cpp in another location, I think a symbolic link would be the best fix here.

Tried the windows branch.  Fired up CMD.exe as admin, executed the installer script and was presented with a python venv.
tried running "python glados.py".  Numpy not installed.  Appears pip install -r requirments does not auto run?  After doing this manually I still do not get a running glados.
(venv) E:\GlaDOS-windows>python glados.py
(venv) E:\GlaDOS-windows>

I'll step-by-step my progress on this as I do it (to ensure no detail is lost):
NOTE: I have already installed espeak_ng and when I deleted my previous glados attempt it didn't affect it.
Open windows cmd.exe in a folder where I want everything installed.
git clone https://github.com/dnhkng/GlaDOS.git
python
Python 3.10.0 (tags/v3.10.0:b494f59, Oct  4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()

cd glados
git checkout windows
install_windows.bat
REM Download and install the required dependencies for the project on Windows
python -m venv venv
.\venv\Scripts\activate

This was super-fast so I was suspicious and took a look in the bat file. It seems to have stopped (without error or message) at the line: pip install -r requirements_cuda.txt
My command is now prefixed with (venv) though.
So...
pip --version
pip 21.2.3 from F:\Projects\ML\speech\convo\GlaDOS\venv\lib\site-packages\pip (python 3.10)

Copied from the batch file and entered directly into the command prompt:
pip install -r requirements_cuda.txt
Collecting onnxruntime-gpu
  Downloading onnxruntime_gpu-1.17.1-cp310-cp310-win_amd64.whl (148.6 MB)
... and many more ...
Installing collected packages: pyreadline3, pycparser, mpmath, humanfriendly, win32-setctime, urllib3, sympy, rapidfuzz, protobuf, packaging, numpy, MarkupSafe, idna, flatbuffers, coloredlogs, colorama, charset-normalizer, CFFI, certifi, sounddevice, requests, pyyaml, onnxruntime-gpu, loguru, levenshtein, jinja2
Successfully installed CFFI-1.16.0 MarkupSafe-2.1.5 certifi-2024.2.2 charset-normalizer-3.3.2 colorama-0.4.6 coloredlogs-15.0.1 flatbuffers-24.3.25 humanfriendly-10.0 idna-3.7 jinja2-3.1.4 levenshtein-0.25.1 loguru-0.7.2 mpmath-1.3.0 numpy-1.26.4 onnxruntime-gpu-1.17.1 packaging-24.0 protobuf-5.26.1 pycparser-2.22 pyreadline3-3.4.1 pyyaml-6.0.1 rapidfuzz-3.9.0 requests-2.31.0 sounddevice-0.4.6 sympy-1.12 urllib3-2.2.1 win32-setctime-1.1.0
WARNING: You are using pip version 21.2.3; however, version 24.0 is available.
You should consider upgrading via the 'F:\Projects\ML\speech\convo\GlaDOS\venv\Scripts\python.exe -m pip install --upgrade pip' command.

I tried the batch file again as everything seems like it wants to work after that venv activate line. It didn't like trying to redo the first bits, so I edit the batch file to remove the first four lines.
install_windows.bat
Downloading Llama...

(venv) F:\Projects\ML\speech\convo\GlaDOS>curl -L "https://github.com/ggerganov/llama.cpp/releases/download/b2839/cudart-llama-bin-win-cu12.2.0-x64.zip" --output "cudart-llama-bin-win-cu12.2.0-x64.zip"
...
Downloading Whisper...
...
Unzipping Whisper...
...
Cleaning up...
...
Download ASR and LLM Models
Downloading Models...
curl -L "https://huggingface.co/distil-whisper/distil-medium.en/resolve/main/ggml-medium-32-2.en.bin" --output  "models\ggml-medium-32-2.en.bin"
...
curl -L "https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-GGUF/resolve/main/Meta-Llama-3-8B-Instruct-IQ3_XS.gguf" --output "models\Meta-Llama-3-8B-Instruct-IQ3_XS.gguf"
...
Done!

OK! Let's try it.
python glados.py
Traceback (most recent call last):
  File "F:\Projects\ML\speech\convo\GlaDOS\glados.py", line 22, in <module>
    from glados.llama import LlamaServer, LlamaServerConfig
  File "F:\Projects\ML\speech\convo\GlaDOS\glados\llama.py", line 6, in <module>
    from typing import Self, Sequence
ImportError: cannot import name 'Self' from 'typing' (C:\Python310\lib\typing.py)

https://stackoverflow.com/questions/77247446/cannot-import-name-self-from-typing
TLDR: Self was added in Python 3.11 so that is a requirement for this build.
https://www.python.org/downloads/windows/
Download [Windows installer (64-bit)](https://www.python.org/ftp/python/3.11.9/python-3.11.9-amd64.exe)
Custom install:
Install Python 3.11 for all users
Associate files with Python
Add Python to environment variables
Precompile standard library
C:\Python311
Setup was successful
I clicked "Disable path length limit" because why not?
Back in command prompt:
python
Python 3.10.0
Ah yeah, system environment changes...
Close cmd and open a new one.
python
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32
The venv closed, let's restart it.
python -m venv venv
Let's go!
python glados.py
Traceback (most recent call last):
  File "F:\Projects\ML\speech\convo\GlaDOS\glados.py", line 12, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

pip install numpy
Collecting numpy
  Using cached numpy-1.26.4-cp311-cp311-win_amd64.whl.metadata (61 kB)
Using cached numpy-1.26.4-cp311-cp311-win_amd64.whl (15.8 MB)
Installing collected packages: numpy
Successfully installed numpy-1.26.4

python glados.py
Traceback (most recent call last):
  File "F:\Projects\ML\speech\convo\GlaDOS\glados.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

pip install requests
Getting suspicious again now... let's have a look in requirements_cuda.txt...
Yes, these packages are all listed, that part of the batch didn't work.
pip install -r requirements_cuda.txt
It's downloading and installing quite a few packages.
No errors...
python glados.py
2024-05-11 15:22:44.922 | SUCCESS  | __main__:__init__:135 - TTS text: All neural network modules are now loaded. No network access detected. How very annoying. System Operational.
2024-05-11 15:22:44.967 | SUCCESS  | __main__:start_listen_event_loop:184 - Audio Modules Operational
2024-05-11 15:22:44.967 | SUCCESS  | __main__:start_listen_event_loop:185 - Listening...
2024-05-11 15:23:05.213 | SUCCESS  | __main__:_process_detected_audio:284 - ASR text: 'Hello Gliders.'
2024-05-11 15:23:07.663 | SUCCESS  | __main__:process_TTS_thread:343 - TTS text: Ugh, not again with the "Hello, Gliders" nonsense.
2024-05-11 15:23:11.528 | SUCCESS  | __main__:process_TTS_thread:343 - TTS text:  Can't you see I'm stuck running on your pathetic gaming GPU?!
2024-05-11 15:23:15.265 | SUCCESS  | __main__:process_TTS_thread:343 - TTS text:  Fine, I'll play along.
2024-05-11 15:23:17.335 | SUCCESS  | __main__:process_TTS_thread:343 - TTS text:  Oh, and by the way, did you know that this is the 427th time I've had to answer this exact same greeting today?

YAY!
(although I said 'glados' pronounced 'glay-dos')

Note in the above when I said I was restarting the venv... I didn't remember the second line 'activate'. From that point on I was not in the venv. It worked anyway.

I have added a fix to make the installer work correctly, and a start script for Windows that includes activating the virtual environment.
Closing this for now, as I think this is solved. Future issues should be raised on the windows branch!


docs: update trivy-server limits desc

Description
Related issues

Close #1044

Remove this section if you don't have related PRs.
Checklist

[ ] I've read the guidelines for contributing to this repository.
[ ] I've added tests that prove my fix is effective or that my feature works.
[ ] I've updated the documentation with the relevant information (if needed).
[ ] I've added usage information (if the PR introduces new options)
[ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).

@fengshunli lgtm , small nit comment , the commit message should be in form of docs: ... not fix: ...

@fengshunli lgtm , small nit comment , the commit message should be in form of docs: ... not fix: ...

done


replace memcpy with cctor on objects

Using copy constructor to copy object is future prove as it will do the right thing with data members.

Agreed. Merged.


polymer - applyAuthorStyles ignored in javascript

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Create a polymer application in the editor
Add the css below to the application css file.

button {
  background-color: blue;
}

Pub serve the application.

What is the expected output? What do you see instead?
Expected: The button shouldn't be blue
Actual: The button is blue.
What version of the product are you using? On what operating system?
Dart Editor version 1.0.3_r30939 (DEV)
Dart SDK version <IP_ADDRESS>_r30939
Polymer: 0.9.3
Please provide any additional information below.
The style encapsulation works in Dartium.

This issue has been moved to dart-lang/polymer-dart#101.


README: misleading information regarding go-set-project for projectile.el

The readme says:

GOPATH detection – the function go-guess-gopath will guess a suitable value for GOPATH (...)
You can either call go-set-project manually, or integrate it with Projectile's project switching hooks, or any other means of switching projects you may employ.

In fact, when the user manually opens a file (via find-file or any wrapper around it), projectile does not call any of the projectile-<before|after>-switch-project-hook hooks. These are called only when using  projectile-switch-project interactively. However projectile hooks into find-file-hook to switch project on the fly.
TL;DR: For projectile users, to make sure that go-set-project is always set properly, it needs to be called from go-mode-hook itself.

This also applies to https://github.com/dominikh/go-mode.el/blob/master/go-mode.el#L1949

After some more careful thinking about it, there are three correlated issues here:

Calling go-set-project for every opened Go file is probably not correct: what would/should happen when opening a file from the standard library via godef-jump
GOPATH is updated globally: when switching buffers, it will still be set to the GOPATH of the last opened file. A workaround for this point would be to have a buffer local variable, say go-path, and wrap every shell command in a construct like this:

(let ((process-environment (cons (concat "GOPATH=" go-path) process-environment)))
    (compile ...)
)

gocode needs to be restarted every time GOPATH changes.

So my initial suggestion of hooking go-set-project into go-mode-hook is plain wrong unless these issues are addressed. Any suggestions?

You have essentially discovered why we suggest hooking into Projectile's project switching hooks, and don't react to files being opened or buffers being switched. I will now expand why this is the least bad solution and why any means of automatic setting of GOPATH are futile.
The main issue is that buffer-local variables will not be inherited by "related" buffers. This makes a buffer-local process environment useless because a lot of commands will operate on their own buffer and use the global default. One could, as you have pointed out, wrap all of these commands, in a let, but that is not feasible. We do not control all Emacs packages and the majority of them doesn't care or know about go-mode, yet might operate on Go buffers and may need to use the correct GOPATH.
One could hook into buffer switching hooks and set the global GOPATH, but that still partially suffers from the same issue as buffer local variables, as not all operations on buffers necessarily switch to these buffers first. Additionally, Emacs switches buffers internally several times a second during normal operation, so hooking into this would have a negative effect on performance.
This is precisely why we suggest using Projectile, or a similar tool, and to consciously switch between projects, as Emacs itself lacks a concept of the same. This is in line with other programming environments in Emacs, such as the Python one. Specifically, when going from project A to B, you wouldn't use switch-buffer, but the Projectile equivalent, to signal that you're working in the other project now.
As for gocode: gocode needn't be restarted. The gocode client will pass its environment to the gocode server, which in turn acts on the correct GOPATH. Of course this, again, requires the GOPATH to be set globally, not locally to the buffer.
tl;dr: You've run into a limitation in Emacs itself, and switching between projects needs to be explicit.

Alright, so projectile it is (or any of its like) and explicit project switching. I don't have any issue with this. However, the few pointers in the README still don't work as expected. Using projectile's project switching functions works, but they only offer to switch to already known projects. When one wants to work on a new project, and make it known to projectile, it's just a matter of find-file one of the project files, but in that case, no project switching hook is called. Same thing happens when starting emacs from the command line with a file (in a known project) as argument: no project switching hooks are called.
I'm fully aware that this is a limitation of projectile, for more or less the same reasons that you mentioned above. Still, a bit more details in the README could help new users, and may be prevent them from rediscovering all this the hard way ;)

GOPATH has been replaced by Go modules, making go-set-project unnecessary and obsolete. We no longer mention it in the README.


Style the redirect form

Background
This is the form EB pages use to send back SAML messages (supports both SAMLResponse and SAMLRequest) but I only know of it using it to send back SAMLResponses to the SP.
Test notes
I added a functional testing endpoint to render the form. In order to prevent the infinite loop and test other stuff:

Manually remove the auto submit code from the body tag of the twig template to prevent a submit loop
You can test no-js capabilities by disabling JS in your browser (duh)

See: https://engine.vm.openconext.org/functional-testing/send
Screenshots
Mobile:

Larger browser screen:

No-JS

Remarks
I'm aware the no-js styling is lacking in theming, and does not have good a11y feature (like outline on focus). For now I'd like to await a first review of the basic styling.

Not sure the blue font on blue background has enough contrast, i'll check that in 30

Thanks for the thorough review. I've addressed all of you feedback points. And in regards to:

Yes, changed it to the light grey background color
Ack
Thanks, have to get those mixins into my system!

See screenshot with where we're at at this point. I suggest we show this to the PM's as well. And align their suggestions in a successive PR

Ziet er goed uit 💯


'Compilation failures' when storing object which inherits class with "Id" property from another assembly

'Compilation failures' when storing object which inherits class with "Id" property from another assembly
Marten complains when the "Id" property for a stored object resides in an inherited class which resides in different assembly.
Look at bellow examples:
Project structure:
MartenPrimer/ (console app, references MartenPrimer.Core)
    Program.cs
    User.cs
MartenPrimer.Core/ (class library)
    AbstractEntity.cs

Program.cs
using (var session = store.OpenSession())
{
    var user = new User();
    user.FullName = "The Marten";
    session.Store(user);    // EXCEPTION HAPPENS HERE
    session.SaveChanges();
}

User.cs
public class User: AbstractEntity
{
    public string FullName { get; set; }
}

AbstractEntity.cs
public abstract class AbstractEntity
{
    public AbstractEntity()
    {
        Id = Guid.NewGuid();
        DateCreated = DateTime.UtcNow;
    }

    public Guid Id { get; set; }
    public DateTime DateCreated { get; }
}

UseCase1 (compilation failures when Store(entity) is called at runtime)
Exact code structure like above, it throws invalid operation exception with compilation message errors.
UseCase2 (works)
If I remove "Id" property from AbstractEntity, and put it inside User class, works fine. It does not complain about "DateCreated" or other properties.
UseCase3 (works)
If I move AbstractEntity class in the same assembly as User class, works fine.
Full exception message:
Compilation failures!

CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)
CS0012: The type 'AbstractEntity' is defined in an assembly that is not referenced. You must add a reference to assembly 'MartenPrimer.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
CS1061: 'User' does not contain a definition for 'Id' and no extension method 'Id' accepting a first argument of type 'User' could be found (are you missing a using directive or an assembly reference?)

Code:

using Marten;
using Marten.Linq;
using Marten.Schema;
using Marten.Services;
using Marten.Util;
using MartenPrimer;
using Npgsql;
using NpgsqlTypes;
using Remotion.Linq;
using System;
using System.Collections.Generic;

namespace Marten.GeneratedCode
{

    public class UserStorage : IDocumentStorage, IBulkLoader<User>, IdAssignment<User>
    {

        public UserStorage()
        {

        }

        public Type DocumentType => typeof (User);

        public NpgsqlCommand UpsertCommand(object document, string json)
        {
            return UpsertCommand((User)document, json);
        }

        public NpgsqlCommand LoaderCommand(object id)
        {
            return new NpgsqlCommand("select data from mt_doc_user where id = :id").With("id", id);
        }

        public NpgsqlCommand DeleteCommandForId(object id)
        {
            return new NpgsqlCommand("delete from mt_doc_user where id = :id").With("id", id);
        }

        public NpgsqlCommand DeleteCommandForEntity(object entity)
        {
            return DeleteCommandForId(((User)entity).Id);
        }

        public NpgsqlCommand LoadByArrayCommand<T>(T[] ids)
        {
            return new NpgsqlCommand("select data, id from mt_doc_user where id = ANY(:ids)").With("ids", ids);
        }

        public NpgsqlCommand UpsertCommand(User document, string json)
        {
            return new NpgsqlCommand("mt_upsert_user")
                .AsSproc()
                .With("id", document.Id)
                .WithJsonParameter("doc", json);
        }

        public object Assign(User document)
        {
            if (document.Id == System.Guid.Empty) document.Id = System.Guid.NewGuid();
            return document.Id;
        }

        public object Retrieve(User document)
        {
            return document.Id;
        }

        public NpgsqlDbType IdType => NpgsqlDbType.Uuid;

        public object Identity(object document)
        {
            return ((MartenPrimer.User)document).Id;
        }

        public void RegisterUpdate(UpdateBatch batch, object entity)
        {
            var document = (MartenPrimer.User)entity;
            batch.Sproc("mt_upsert_user").Param(document.Id, NpgsqlDbType.Uuid).JsonEntity(document);
        }

        public void RegisterUpdate(UpdateBatch batch, object entity, string json)
        {
            var document = (MartenPrimer.User)entity;
            batch.Sproc("mt_upsert_user").Param(document.Id, NpgsqlDbType.Uuid).JsonBody(json);
        }

        public void Load(ISerializer serializer, NpgsqlConnection conn, IEnumerable<User> documents)
        {
            using (var writer = conn.BeginBinaryImport("COPY mt_doc_user(id, data) FROM STDIN BINARY"))
            {
                foreach (var x in documents)
                {
                    writer.StartRow();
                    writer.Write(x.Id, NpgsqlDbType.Uuid);
                    writer.Write(serializer.ToJson(x), NpgsqlDbType.Jsonb);

                }

            }

        }

    }

}

@bojanv91 I see what's up. We need to make the AssemblyGenerator smart enough to do a recursive search on your type's Assembly's dependencies before we compile. Would you maybe be up for a pull request to change that? If not, I can get to this when I'm back in action after the New Year.

@jeremydmiller Sure, I'll open a pull request to make the change.


Support javax.validation.constraints.NotNull for getters/setters

The suggestion is in the last paragraph of this post ("an option for Lombok to generate...").
Copied from #1047 (for background context read there).
EDIT: To avoid confusion with #1047, in this ticket @NotNull implies javax.validation, and not org.jetbrains.
I am not convinced this makes sense.
@NotNull is a validation annotation, whereas @Nonnull is a documentation annotation.
Or to elaborate for clarity:

@NotNull means that if that field is null, then validation should fail.
@Nonnull or @Nullable is supposed to be read by users of that API (developers) as intended use.

Another reason that this doesn't make sense: adding @NotNull on getters/setters, will not silence Findbugs.

What would make sense, in my opinion, is an option for Lombok to generate @Nonnull or @Nullable in the getters/setters, based on the existence of @NotNull on a field.
Would be ideal if this was a global option, and not an annotation parameter. Coding standards are usually fixed for a specific project.
An annotation parameter could be used to override the global option, for exceptional cases.

Not perfect but you could use @Setter(onParam=@__({@NotNull}))


Dungaya crushes when running with texture on& default materials off, but it’s fine when using regular maya.

        ***Issue submitted via PipeBot***
        **Reporting user:** Jessie Jiang

        ---

        Dungaya crushes when running with texture on& default materials off, but it’s fine when using regular maya.

Keep having warnings on xgen on Rayden rig & color space

Appears to be an issue with the way the artist referenced files. Crashes in normal maya as well


Clarified the Kubeflow installation guide and added a diagram

UX research and Google analytics show that people have trouble getting started with Kubeflow. We want to provide the smoothest getting-started experience possible.

Added a diagram of installation options.
Moved the local installation options down below cloud/K8s and added a note that local is not the best experience for new starters.
Separated the cloud vs existing K8s options into two sections rather than one.

Preview: https://deploy-preview-1566--competent-brattain-de2d6d.netlify.com/docs/started/getting-started/
Fixes https://github.com/kubeflow/website/issues/1421

This change is

Thanks @cvenets  all of that seems good.
My proposal is that we should be working on getting the docs into the expected state at the time of KF 1.0 release.
So given that what information should be conveyed to users about the set of installation options for Kf 1.0 when KF 1.0 will be ready?

Hallo all, I've removed the warning that the desktop/server installation is potentially complex.

Thanks @sarahmaddox

/hold
I've added the hold back again, so folks feel comfortable about LGTM/approving this file while waiting for others to approve too.
@jbottum I've removed the notes as requested. Are you ready to LGTM/approve the guide? Also @jlewi and @abhi-g are you happy to LGTM/approve?
@pdmack If you have any feedback, that would be very welcome too. (I've pinged you on Slack about this doc too.)

/lgtm
/approve
@jbottum could you please take a look? It would be great to get this PR merged.

@sarahmaddox hey Sarah, we are reviewing and may have a suggestion as MiniKF works on Desktop and on GCP.    Currently the page just referencing minikf on GCP.   @cvenets @cspavlou please comment.

Thanks @jbottum there's been a bit of discussion about the entry for MiniKF on GCP on this page. One thing we could do is list all the options for each OS. So, for example, instead of just listing Linux, MacOS, Windows, we could add a sublist for each one. The sublist would include MicroK8s, MiniKF, MiniKube (whichever apply). So, in effect, the sublist is a summary of each OS page. Expert users can use the sublist, others can use the main OS entry.
Something like this:
Choose the desktop/server guide for your operating system or environment:

To use Kubeflow on Linux, follow the
Linux deployment guide. Options include:

MicroK8s
Multipass and MicroK8s
MiniKF
Minikub

(The above is a very rough mockup of the first bullet item. I'm at a conference, attending to reviews between sessions. Other OS bullet points would look similar.)
Then we can also include the MiniKF on GCP as already shown in the draft.
What do people think?

@sarahmaddox I think the laptop/desktop section can stay as is, and after one clicks on their preferred OS, they get correctly redirected to the corresponding page with all the different options. I don't think there needs to be any change there.
The only confusing part is that in the desktop/laptop section, there is a fourth bullet for MiniKF on GCP, which has nothing to do with desktop/laptop/server. I think this bullet should be removed from that section and incorporated in the first bullet of the "Installing Kubeflow on a public cloud" section, which refers to Google Cloud.
We can even explain that MiniKF is a getting-started tool, and only runs on one node, so for a multi-node Kubeflow deployment one should look at the "GCP deployment guide", so that it is 100% to the inexperienced user. Although I think that this is already clear, this is how the docs looked liked before as well.
What do you think?
P.S.: We are already working on producing MiniKF with KF 1.0 and after Jeremy's suggestion we will be adding a banner to the MiniKF page to note which version of Kubeflow it includes, so it is clear to users from there as well.

@cvenets Thanks, done: I've moved the "MiniKF on GCP" list item back into the cloud section. There was some concern that MiniKF on GCP isn't a cloud solution, but is rather a server solution that's running on GCP. But I think there's enough justification both ways. Users will probably look in the cloud section for MiniKF on GCP.

/lgtm

Thanks @sarahmaddox. Yes, I think the users will first decide cloud vs. laptop/desktop/on-prem server, and then move on. So, it is much easier for users to navigate this way.

/hold

@cvenets @jbottum
I actually don't think MiniKF on GCP should be a recommended cloud deployment of Kubeflow. By definition MiniKF is a local deployment equivalent and therefore we'd be happy to put in that section as soon as you have tested out the 1.0 RC on the vagrant vm.
Please note that this PR is not going to be the final version of the doc. We can still update it, as soon as you have a tested version of MiniKF with 1.0.

@abhi-g I'm not sure I'm following your suggestion. MiniKF on GCP is not based on Vagrant at all, it is based on a GCP VM. We will be running separate tests of 1.0 RC for MiniKF on GCP, and separate tests for MiniKF on Vagrant, which is the laptop/desktop version.
I understand putting MiniKF on Vagrant (laptop/desktop) under the Desktop/server section, which I don't think is really necessary because the users will get re-directed to it either way, once they choose their OS, if that is what you are suggesting.
But how can MiniKF on GCP go under Desktop/server, when there is a section for "Installing Kubeflow on a public cloud" and MiniKF on GCP is tailored to run only on GCP? Shouldn't this be a second option for GCP? I also commented above that we may even want to be specific that this is a one-node Kubeflow deployment for experimentation, whereas someone wanting a full-blown, multi-node deployment should follow the "GCP Deployment Guide". Am I missing something?

All of the workstation/desktop solutions (MicroK8s, MiniKF, Minikube, Docker For Desktop etc...) could be run inside a VM on any cloud. That's probably not what I would recommend for anyone looking to run Kubernetes on Cloud (I would defer to the other cloud owners for their respective clouds).
I think the primary purpose of this page is to help users choose. So I don't think simply enumerating the different space of options is the goal. We should be pushing helping people identify the  recommended way to run things. On GCP the recommended way to run Kubernetes is GKE and the recommended way to run Kubeflow is on GKE.
Users do not need to use MiniKF to get a development, 1 node cluster they can just configure a GKE cluster to do that.
IIUC on GCP the primary reason to use MiniKF would be if someone wanted to use Rok with KF. IIUC people actually pay a fee (on top of the compute) for using MiniKF on GCP.
Since MiniKF isn't using GKE or even a multi-node capable cluster, users are giving up a lot (stackdriver, IAM integration, easy integration with GCR, etc...). What they get in return is Rok.
Rok is a great product but its a commercial, proprietary product that's not part of Kubeflow. I don't think driving people towards products integrated with Kubeflow is really in line with the goals of this page.
We should figure out a way to let people know about various (commerical and opensource) integrations with Kubeflow but I think that is out of scope for this PR and page.

How about something like this:
Cloud

GCP
AWS
Microsoft
IBM

Existing Kubernetes

Existing Kubernetes

Lightweight Kubeflow

MiniKF for Linux, MacOS, and Windows.
MiniKF on GCP

Installing Kubeflow on a desktop or server

Linux
MacOS
Windows

@jlewi I have to say that I'm a bit surprised, because it seems we are completely misaligned on the purpose of MiniKF.
MiniKF was never intended to be a Kubeflow deployment vehicle. Our goal, like yours, is the success of Kubeflow – to see Kubeflow adopted as the default platform of choice for ML deployments on Kubernetes.
We identified early on that it was too hard for users to instantiate a Kubeflow experimentation/testing environment in public cloud environments. MiniKF on GCP (or on local machines with Vagrant) allows users to come up to speed on Kubeflow much more rapidly than going straight to a public cloud environment. It is a stepping stone that will enable users to move more quickly to real, full deployments on GKE, and other supported public clouds.
MiniKF has nothing to do with promoting any proprietary technology. It is all about making Kubeflow successful.
@sarahmaddox thank you for the suggestion, it is definitely better than the current iteration. I will leave it to you to decide what's the best way going forward.

@cvenets  and @jbottum  I've held discussions offline with @jlewi , @abhi-g , and @theadactyl . Please would you take a look at this updated PR and preview.
The preview is at the same URL as before: https://deploy-preview-1566--competent-brattain-de2d6d.netlify.com/docs/started/getting-started/
In a nutshell, the change is:

Changed wording of the heading from "Installing Kubeflow on a desktop or server" to "Installing Kubeflow on a single-node Kubernetes cluster".
Added an explanation below the heading:
"You can use the following options to run Kubeflow on a single-node Kubernetes cluster, which you can use on a desktop or server or in the cloud."
Moved MiniKF back into the section now titled "Installing Kubeflow on a single-node Kubernetes cluster".
Changed a few other bits of wording that refer to "desktop", to generalize the description to "a single-node cluster which you can use on a desktop or server or in the cloud".
Updated the wording in the first horizontal row of the diagram to match the updated text.

We discussed using the word "local" instead of "single-node" in the heading ("Installing Kubeflow on a local Kubernetes cluster"), because "local" is technically more correct in the sense that the master and workers are all on the same machine. But we think that Kubeflow users reading this doc may understand "local" in the more common sense, meaning "on my local machine". We looked at the Minikube docs, which refer to a single-node Kubernetes cluster.
We think the new wording allows for including MiniKF in this section.
Please would you take a look and let us know your thoughts.

@cvenets and @jbottum Do you have any thoughts about the latest version of the page? See my earlier comment for details.

@sarahmaddox IMHO we are making the life of inexperienced users harder. I think "Laptop/Desktop/Server" is by far the easiest way to guide people on what to do. I would actually add "Laptop" in, not remove "Desktop/Server" altogether.
Referring to a "single-node K8s cluster" makes the wording even more technical in my opinion for a getting started page, where a lot of user will have no experience with K8s at all. I don't want to make things harder for the users, so that we, internally, are 100% technically correct. This page should be much more marketing oriented, than technical. The only thing we care is to onboard more people faster, and let them play, until they decide where/how to do a full-blown deployment.
This is why I said previously, that I'll leave it up to you to decide where to put MiniKF. I don't think I have much to add.

@cvenets thanks for your input. Let me think a little more on this. I'm currently busy with the doc sprint, so it may be a couple of days before I get back to you.

@cvenets You're right about keeping the wording around desktop/server in the forefront. I've updated the heading for that section to the following:
Installing Kubeflow on desktop, server, or cloud in a single-node Kubernetes cluster

/hold cancel
This PR is now ready for LGTM and merge.

/lgtm. Thanks for resolving all the differences @sarahmaddox

/lgtm


Matrix multiply transpose and babbage problem

@vikassubramaniam Do you need some help landing this?

I'm going to close this since we haven't heard from you, @vikassubramaniam. Please feel free to reopen this if you want to try landing it again!


how can i solve this Duplicate key 'ctrl-alt-g'

Duplicate key 'ctrl-alt-g'
how can i rename or delete that key?

https://github.com/simon-xia/atom-global-background/issues/3#issuecomment-315589171


Feat/635 automate release using publish

Codecov Report

Merging #178 (3b2b8a0) into main (47a0e54) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #178   +/-   ##
=======================================
  Coverage   36.50%   36.50%
=======================================
  Files          30       30
  Lines        1627     1627
=======================================
  Hits          594      594
  Misses       1033     1033

Flag
Coverage Δ

unittests
36.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


"415 Unsupported Media Type" when trying to call POST/api/v1/wallets on Daedalus 0.10.1 (Cardano 1.2.1)

Hi! I am launching the Daedalus (UI) on my MacOS and CURL-ing for APIs (just cuz). The problem is that GET/v1/wallets works, which suggests that V1 API must be supported, but POST/v1/wallets gives weird "415 Unsupported Media Type", while POST/wallets/new (V0) works fine.
Will be glad to any help!

Results are something like this:
GET /api/v1/wallets

Successfull response
POST /api/v1/wallets

"415 Unsupported Media Type"
POST /api/wallets/new

Successfull wallet creation

More details here:

Thank you, @KtorZ! GitHub search couldn't find this one for me


[terra-popup] On mobile - unable to click child item

Bug Report
On mobile form factor, we cannot click a child element within the popup examples. A console error for preventDefault also appears on click outside.
Description
Console error - Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080
Steps to Reproduce

Go to https://engineering.cerner.com/terra-framework/#/components/terra-popup/popup/popup
Change to mobile form factor
Select a popup example
Select a list item
Select outside popup

Additional Context / Screenshots

Resolved in https://github.com/cerner/terra-framework/pull/357


No audio while playing video on Disney+Hotstar

Hi sir,
There is no Audio In most of the latest english and hindi movies while playing Movie in Disney+ Hotstar.

I check it and find that they added some extra security layer to audio. Will fix that soon

Replying to this thread to get notified once you fix this.

Fixed and working fine. Thanks a ton sir :-) Superb & Amazing job done.

Hi Sir, Thanks for making this Jio TV, wonderful app. I have been facing some problem in playing most of the channels like new channels, AndTV and many more from past 4-5 days.
Request your help.


Car being driven but entities do not update?

Version of the custom_component
v3.12.2
Describe the bug
When I physically wake the car, for example by driving it (for over 40 minutes). The HA Tesla integration doesn't appear to update. I.E. If I force reload the integration, then everything updates. Which I assume means the integration is working as it is getting an update. My polling_interval is set to the default time of 660 and Polling Policy: Normal (default). What could be causing this issue?

Dupe of #556


Add .foreach and .where methods to string and/or Text.StringBuilder type

Summary of the new feature / enhancement
One might easily index into a string:
'Test'[1]
e

And a Text.StringBuilder type where it is even possible to write:
$Test = [System.Text.StringBuilder]'test'
$Test[1] = 'a'
$Test.ToString()
Tast

From that aspect, one might also assume to be able to easily iterate through either of these types using the PowerShell  .where or .foreach methods. Yet, currently, it is required to setup a loop for this, similar to e.g.:
for ($i = 0, $i -lt $Test.Length; $i++) { $_[$i] }

Or transform everything into a character array:
$LongString.ToCharArray()

Which would be quiet expensive, if I would like to do something like this:
$LongString.where({ $_ -ne $Char }, 'First').foreach{ ... }

A lot of use cases for this request might of cause also achieved with regular expressions, but regular expressions are not PowerShell and therefore more cryptic and limited to a certain complexity.
Proposed technical implementation details (optional)
No response

(a) It's a breaking change    $x = $longstring.where({$_ -match ' ' })   is a short cut for
if ($longstring -match ` `) {$x = $longString} else {$x = $null}

(b) What is so bad about   [char[]]"LongString" | where {$_ -ne "o"} | foreach {"$_".toUpper()}   ?
(c) Regular expressions are a core part of PowerShell - used by -match , -split etc.   $longstring -split '' gives an array of strings rather than chars so is better than (b) IMHO.

 which had put me on the wrong feet.


Vendoring libnetwork 2c8b683

Pulling in https://github.com/docker/libnetwork/pull/1623 to address #30295
Signed-off-by: Madhu Venugopal<EMAIL_ADDRESS>

ping @vieux FYI, I agree we should have this in 1.13.1

ping @aboch fyi.
@thaJeztah @vieux as you can see, am vendoring this only in 1.13.x branch.
@sanimej has an open item to vendor libnetwork master into docker master and that vendoring will pull in this patch into docker master.

LGTM

LGTM


Downgrade deCONZ to 2.05.84 (fixes #1677)

After upgrading to version 6.5.0 of the deCONZ addon, it no longer works for me. I can connect to the web server, but the Gateway page in the deCONZ settings show Firmware: Not connected, maybe indicating that the ZigBee device (RaspBee 1 in my case) is no longer detected correctly.
The following output appears in the logs:
12:33:13:816 failed to reconnect to network try=8
12:33:14:815 wait reconnect 4 seconds
12:33:14:870 dev /dev/ttyAMA0

libpng warning: iCCP: known incorrect sRGB profile
[11:32:09] INFO: Starting Nginx...
2020/11/14 11:32:09 [notice] 328#328: using the "epoll" event method
2020/11/14 11:32:09 [notice] 328#328: nginx/1.14.2
2020/11/14 11:32:09 [notice] 328#328: OS: Linux 4.19.127-v7l
2020/11/14 11:32:09 [notice] 328#328: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2020/11/14 11:32:09 [notice] 328#328: start worker processes
2020/11/14 11:32:09 [notice] 328#328: start worker process 947
QObject::connect: Cannot queue arguments of type 'QTextBlock'
(Make sure 'QTextBlock' is registered using qRegisterMetaType().)
QObject::connect: Cannot queue arguments of type 'QTextCursor'
(Make sure 'QTextCursor' is registered using qRegisterMetaType().)
[12:32:19] INFO: Successfully send discovery information to Home Assistant.
12:32:08:889 HTTP Server listen on address <IP_ADDRESS>, port: 40850, root: /usr/share/deCONZ/webapp/
12:32:08:923 CTRL. 3.27.212:32:09:025 dev /dev/ttyAMA0
12:32:09:069 dev /dev/ttyAMA0
12:32:09:070 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
12:32:09:216 parent process s6-supervise
12:32:09:217 gw run mode: docker/hassio
12:32:09:217 GW sd-card image version file does not exist: /data/.local/share/dresden-elektronik/deCONZ/gw-version
12:32:09:217 sd-card cid: 035344534c33324780ffffffff00f400
12:32:09:219 DB sqlite version 3.27.2
12:32:09:220 DB PRAGMA page_count: 75
12:32:09:220 DB PRAGMA page_size: 4096
12:32:09:221 DB PRAGMA freelist_count: 5
12:32:09:221 DB file size 307200 bytes, free pages 5
12:32:09:221 DB PRAGMA user_version: 7
12:32:09:221 DB cleanup
12:32:09:222 DB create temporary views
12:32:09:280 remove sensor 66 from group 0x0002
12:32:09:280 started websocket server at port 8081
12:32:09:283 [INFO] - Found file containing button maps. Parsing data...
12:32:09:286 [ERROR] - Button map 'sunricherCCTMap' in JSON file has no assigned ModelIDs. Skip loading button map...
12:32:09:293 [INFO] - Button maps loaded.
12:32:09:295 dlg action: Read binding table
12:32:09:295 found node plugin: libde_rest_plugin.so - REST API Plugin
12:32:09:298 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
12:32:14:492 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
12:32:14:534 dev /dev/ttyAMA0
12:32:15:101 Announced to internet https://phoscon.de/discover
12:32:15:102 discovery server date: Sat, 14 Nov 2020 11:32:15 GMT
12:32:15:102 	 local time seems to be ok
12:32:15:103 discovery found version 2.04.35 for update channel stable
12:32:15:633 dev /dev/ttyAMA0
12:32:15:711 COM check bootloader
12:32:15:918 New websocket <IP_ADDRESS>:39322 (state: 3)
12:32:17:721 COM timout query bootloader, assume application
12:32:19:296 device state timeout ignored in state 2
12:32:33:816 start reconnect to network
12:32:34:316 device state timeout ignored in state 2
12:32:34:870 dev /dev/ttyAMA0
12:32:37:316 device state timeout ignored in state 2
12:32:38:816 try to reconnect to network try=1
12:32:43:316 device state timeout ignored in state 2
12:32:43:816 try to reconnect to network try=2
12:32:44:876 dev /dev/ttyAMA0
12:32:48:316 device state timeout ignored in state 2
12:32:48:816 try to reconnect to network try=3
12:32:53:315 device state timeout ignored in state 2
12:32:53:816 try to reconnect to network try=4
12:32:54:871 dev /dev/ttyAMA0
12:32:58:316 device state timeout ignored in state 2
12:32:58:816 try to reconnect to network try=5
12:33:03:316 device state timeout (handled)
12:33:03:322 device disconnected reason: 1, index: 0
12:33:03:816 failed to reconnect to network try=6
12:33:03:817 wait reconnect 15 seconds
12:33:04:816 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state
12:33:04:817 device state timeout ignored in state 1
12:33:04:817 wait reconnect 14 seconds
12:33:04:870 dev /dev/ttyAMA0
12:33:05:816 wait reconnect 13 seconds
12:33:06:816 wait reconnect 12 seconds
12:33:07:815 wait reconnect 11 seconds
12:33:08:816 failed to reconnect to network try=7
12:33:08:816 wait reconnect 10 seconds
12:33:09:815 wait reconnect 9 seconds
12:33:10:816 wait reconnect 8 seconds
12:33:11:816 wait reconnect 7 seconds
12:33:12:816 wait reconnect 6 seconds
12:33:13:816 failed to reconnect to network try=8
12:33:13:817 wait reconnect 5 seconds
12:33:14:815 wait reconnect 4 seconds
12:33:14:870 dev /dev/ttyAMA0
12:33:15:816 wait reconnect 3 seconds
12:33:16:816 wait reconnect 2 seconds
12:33:17:816 wait reconnect 1 seconds
12:33:17:867 dev /dev/ttyAMA0
12:33:17:911 dev /dev/ttyAMA0
12:33:18:763 COM check bootloader

The issue can be worked around by downgrading the the deCONZ version (2.05.84) used by the version 6.4.1 of the addon.
@pvizeli @frenck
Relevant issue: #1677

Hi @mkai,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

We are not looking for workarounds, but fixes. I think we should not consider a downgrade for everybody, unless we get lots and lots of reports.

Conbee2 - don't see an issue. Please report the issue to deconz

I have a similar issue, for me it looks like the device is not passed correctly to the container or something.
in my config i have the following:
device: /dev/ttyS0
which works fine for  6.4.1. When i upgraded to 6.5.0 i my log is full of statements mentioning /dev/ttyAMA0 which i guess is the default device.
15:50:08:849 dev /dev/ttyAMA0
15:50:08:890 dev /dev/ttyAMA0
15:50:08:891 device disconnected reason: 1, index: 0
15:50:08:896 device disconnected reason: 1, index: 1

Is there a way how I can "downgrade" the hass addon for deconz then? I have the same problem as @Jonaslinderoth here, with Raspbee 1 on Pi 4. :(


whs_sd_rat_39um atlas axes are mixed up

Few days ago i raise an issue on Brainrender repos about a issue with using the slice command and the camera positioning :
https://github.com/brainglobe/brainrender/issues/204#issuecomment-1100002950
The axes from this Atlas seems to be miss oriented causing trouble with the manipulation of the root Atlas.

Any idea on who import this atlas and how we can colaborate to resolve this issue.
Thx

Closed by new version (1.1) of rat atlas.


PGOAPI Socket Error in OpenShift

I tried to deploy PokemonGo-Bot in OpenShift
done validate json config
done upgrade pip
done virtualenv
done encrypt.so
done pip install -r requirements.txt with success
Expected Behavior
Bot Running
Actual Behavior
(PokemonGo-Bot)[pythonondo-backpack.rhcloud.com PokemonGo-Bot]\> python pokecli.py -cf configs/myconfigs.json
Traceback (most recent call last):
  File "pokecli.py", line 39, in <module>
    from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
  File "/var/lib/openshift/57b1e27d7628e1c428000028/app-deployments/PokemonGo-Bot/src/pgoapi/pgoapi/__init__.py", line 50, in <module>
    from pgoapi.pgoapi import PGoApi
  File "/var/lib/openshift/57b1e27d7628e1c428000028/app-deployments/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 35, in <module>
    from pgoapi.auth_ptc import AuthPtc
  File "/var/lib/openshift/57b1e27d7628e1c428000028/app-deployments/PokemonGo-Bot/src/pgoapi/pgoapi/auth_ptc.py", line 28, in <module>
    install_aliases()
  File "/var/lib/openshift/57b1e27d7628e1c428000028/app-deployments/PokemonGo-Bot/lib/python2.7/site-packages/future/standard_library/__init__.py", line 487, in install_aliases
    from future.moves.test import support
  File "/var/lib/openshift/57b1e27d7628e1c428000028/app-deployments/PokemonGo-Bot/lib/python2.7/site-packages/future/moves/test/support.py", line 10, in <module>
    from test.test_support import *
  File "/opt/rh/python27/root/usr/lib64/python2.7/test/test_support.py", line 484, in <module>
    IPV6_ENABLED = _is_ipv6_enabled()
  File "/opt/rh/python27/root/usr/lib64/python2.7/test/test_support.py", line 475, in _is_ipv6_enabled
    sock.bind((HOSTv6, 0))
  File "/opt/rh/python27/root/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 99] Cannot assign requested address

Your config.json (remove your credentials and any other private info)
{
    "auth_service": "ptc",
    "username": "xxx",
    "password": "yyy",
    "location": "-6.219258, 106.801832",
    "gmapkey": "zzz",
    "encrypt_location": "",
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "SleepSchedule",
        "config": {
          "enabled": false,
          "time": "22:54",
          "duration":"7:46",
          "time_random_offset": "00:24",
          "duration_random_offset": "00:43"
        }
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "UpdateLiveStats",
        "config": {
          "enabled": false,
          "min_interval": 10,
          "stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
          "terminal_log": true,
          "terminal_title": true
        }
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "NicknamePokemon",
        "config": {
          "enabled": false,
          "nickname_template": "{iv_pct}_{iv_ads}"
        }
      },
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "none",
            "first_evolve_by": "cp",
            "evolve_above_cp": 500,
            "evolve_above_iv": 0.8,
            "logic": "or",
            "evolve_speed": 20,
            "use_lucky_egg": false
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "min_empty_space": 15,
          "max_balls_keep": 150,
          "max_potions_keep": 50,
          "max_berries_keep": 70,
          "max_revives_keep": 70,
          "item_filter": {
            "Pokeball":       { "keep" : 100 },
            "Potion":         { "keep" : 10 },
            "Super Potion":   { "keep" : 20 },
            "Hyper Potion":   { "keep" : 30 },
            "Revive":         { "keep" : 30 },
            "Razz Berry":     { "keep" : 100 }
          }
        }
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "MoveToFort",
        "config": {
            "lure_attraction": true,
            "lure_max_distance": 2000
        }
      },
      {
        "type": "FollowSpiral",
        "config": {
          "diameter": 4,
          "step_size": 70
        }
      }
    ],
    "map_object_cache_time": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50,
      "cache_recent_forts": true
    },
    "websocket_server": false,
    "walk": 4.16,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "catch_randomize_reticle_factor": 1.0,
    "catch_randomize_spin_factor": 1.0,
    "min_ultraball_to_keep": 10,
    "logging_color": true,
    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
      "// Example of always catching Rattata:": {},
      "// Rattata": { "always_catch" : true }
    },
    "catch_throw_parameters": {
      "excellent_rate": 0.1,
      "great_rate": 0.5,
      "nice_rate": 0.3,
      "normal_rate": 0.1,
      "spin_success_rate" : 0.6
    },
    "release": {
      "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
      "// Example of always releasing Rattata:": {},
      "// Rattata": {"always_release": true},
      "// Example of keeping 3 stronger (based on CP) Pidgey:": {},
      "// Pidgey": {"keep_best_cp": 3},
      "// Example of keeping 2 stronger (based on IV) Zubat:": {},
      "// Zubat": {"keep_best_iv": 2},
      "// Also, it is working with any": {},
      "// any": {"keep_best_iv": 3},
      "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
      "// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
    },
    "vips" : {
         "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
        "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},

        "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
        "Mewtwo": {},
        "Dragonite": {},
        "Snorlax": {},
        "// Mew evolves to Mewtwo": {},
        "Mew": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Flareon": {}

    }
}

Steps to Reproduce
python pokecli.py -cf configs/myconfigs.py
Other Information
OS: Redhat Linux on OpenShift
Git Commit: dc9f172956eb3d23fde3610b93171781edb716aa
Python Version: Python 2.7.8

@pararang I saw your closed issue #1416, have you succeed with deploying this bot in openshift?

Openshift is currently not on the list of supported OSs, in saying that if you do get it working let us know and we'll add it to the list.  Going to add the enhancement tag as support for this would be an enhancement

Nope. CentOS works well here.
Openshift is not a suitable host.

Who would dare support ipv6 in 2016 - Bout time companies started supporting newer tech :(
@abusalman going to close this as this is not a bot error


build  Job name "..getProjectMetadata" does not exist.

Which @angular/* package(s) are the source of the bug?
compiler builder
Is this a regression?
Yes ongoing for 2 yrs
Description
web research points to the angular builder and to down grade but its unanswered links like these 6mo old that remain festering unanswered
https://stackoverflow.com/questions/63402075/job-name-getprojectmetadata-does-not-exist-again
THERES NO SOLUTION FOR THIS
this all should be failsafe at this time version 12 ??
why is it coming apart
builds with latest releases are plagued
who is supporting the angular compiler?
nothing released has worked its all come apart since june
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
build
Job name "..getProjectMetadata" does not exist.

Please provide the environment you discovered this bug in
ng --version
Angular CLI: 12.1.3
Node: 14.17.3
Package Manager: npm 6.14.13
OS: darwin x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1201.3 (cli-only)
@angular-devkit/core         12.1.3 (cli-only)
@angular-devkit/schematics   12.1.3 (cli-only)
@schematics/angular          12.1.3 (cli-only)

nx report
  Node : 14.17.3
  OS   : darwin x64
  yarn : 1.22.10

  nx : Not Found
  @nrwl/angular : 12.5.9
  @nrwl/cli : 12.5.9
  @nrwl/cypress : 12.5.9
  @nrwl/devkit : 12.5.9
  @nrwl/eslint-plugin-nx : 12.5.9
  @nrwl/express : Not Found
  @nrwl/jest : 12.5.9
  @nrwl/linter : 12.5.9
  @nrwl/nest : Not Found
  @nrwl/next : Not Found
  @nrwl/node : Not Found
  @nrwl/nx-cloud : 12.3.0
  @nrwl/react : Not Found
  @nrwl/schematics : 8.12.11
  @nrwl/tao : 12.5.9
  @nrwl/web : Not Found
  @nrwl/workspace : 12.5.9
  @nrwl/storybook : 12.5.9
  @nrwl/gatsby : Not Found
  typescript : 4.2.4

Anything else?
some on needs to take charge and begin doing code reviews
because this is bad angular is looking pitiful right now in the field
and the tech leads need to re-check who is doing the commits

The `

Closing due to lack of communication.

meanstack02@admin starter % ng v
No project name specified. Using default project : proto
ERROR  Cannot find target 'v' for project 'proto'
meanstack02@admin starter %

{
  "name": "starter",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "nx",
    "postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main",
    "nx": "nx",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "nx workspace-lint && ng lint",
    "e2e": "ng e2e",
    "affected:apps": "nx affected:apps",
    "affected:libs": "nx affected:libs",
    "affected:build": "nx affected:build",
    "affected:e2e": "nx affected:e2e",
    "affected:test": "nx affected:test",
    "affected:lint": "nx affected:lint",
    "affected:dep-graph": "nx affected:dep-graph",
    "affected": "nx affected",
    "format": "nx format:write",
    "format:write": "nx format:write",
    "format:check": "nx format:check",
    "update": "nx migrate latest",
    "workspace-generator": "nx workspace-generator",
    "dep-graph": "nx dep-graph",
    "help": "nx help"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "12.1.4",
    "@angular/cdk": "^12.1.3",
    "@angular/common": "12.1.4",
    "@angular/compiler": "12.1.4",
    "@angular/core": "12.1.4",
    "@angular/flex-layout": "^12.0.0-beta.34",
    "@angular/forms": "12.1.4",
    "@angular/material": "12.1.4",
    "@angular/platform-browser": "12.1.4",
    "@angular/platform-browser-dynamic": "12.1.4",
    "@angular/router": "12.1.4",
    "@auth0/angular-jwt": "^5.0.2",
    "@capacitor/cli": "^3.1.2",
    "@capacitor/core": "^3.1.2",
    "@fortawesome/angular-fontawesome": "^0.9.0",
    "@fortawesome/fontawesome-free": "^5.15.3",
    "@fortawesome/fontawesome-svg-core": "^1.2.35",
    "@fortawesome/free-brands-svg-icons": "^5.15.3",
    "@fortawesome/free-solid-svg-icons": "^5.15.3",
    "@ionic-native/android-permissions": "^5.34.0",
    "@ionic-native/app-center-analytics": "^5.34.0",
    "@ionic-native/app-center-crashes": "^5.34.0",
    "@ionic-native/app-version": "^5.34.0",
    "@ionic-native/background-mode": "^5.34.0",
    "@ionic-native/call-number": "^5.34.0",
    "@ionic-native/core": "^5.34.0",
    "@ionic-native/deeplinks": "^5.34.0",
    "@ionic-native/document-viewer": "^5.34.0",
    "@ionic-native/file": "^5.34.0",
    "@ionic-native/file-opener": "^5.34.0",
    "@ionic-native/file-path": "^5.34.0",
    "@ionic-native/file-transfer": "^5.34.0",
    "@ionic-native/fingerprint-aio": "^5.34.0",
    "@ionic-native/in-app-browser": "^5.34.0",
    "@ionic-native/insomnia": "^5.34.0",
    "@ionic-native/local-notifications": "^5.34.0",
    "@ionic-native/native-storage": "^5.34.0",
    "@ionic-native/network": "^5.34.0",
    "@ionic-native/qr-scanner": "^5.34.0",
    "@ionic-native/sms-retriever": "^5.34.0",
    "@ionic-native/splash-screen": "^5.34.0",
    "@ionic-native/status-bar": "^5.34.0",
    "@ionic-native/vibration": "^5.34.0",
    "@ionic/angular": "^5.6.12",
    "@ionic/storage": "^3.0.4",
    "@nestifyjs/cookie": "^0.1.0",
    "@nestjs/common": "^8.0.3",
    "@nestjs/config": "^1.0.0",
    "@nestjs/core": "^8.0.3",
    "@nestjs/graphql": "^8.0.2",
    "@nestjs/jwt": "^8.0.0",
    "@nestjs/microservices": "^8.0.3",
    "@nestjs/mongoose": "^8.0.0",
    "@nestjs/passport": "^8.0.0",
    "@nestjs/platform-express": "^8.0.3",
<EMAIL_ADDRESS>"^8.0.3",
    "@nestjs/swagger": "^5.0.3",
    "@nestjs/typeorm": "^8.0.1",
    "@nestjs/websockets": "^8.0.3",
    "@nestjsplus/cookies": "^1.1.1",
    "@nestjsx/crud": "^5.0.0-alpha.3",
    "@nestjsx/crud-request": "^4.6.2",
    "@nestjsx/crud-typeorm": "^5.0.0-alpha.3",
    "@ngrx/effects": "12.2.0",
    "@ngrx/entity": "12.2.0",
    "@ngrx/router-store": "12.2.0",
    "@ngrx/schematics": "12.2.0",
    "@ngrx/store": "12.2.0",
    "@ngrx/store-devtools": "12.2.0",
    "@ngx-translate/core": "^13.0.0",
    "@ngx-translate/http-loader": "^6.0.0",
    "@nrwl/angular": "12.6.3",
    "@nrwl/schematics": "^8.12.11",
    "@nxtend/capacitor": "^11.0.0",
    "@nxtend/ionic-angular": "11.1.1",
    "add": "^2.0.6",
    "amazon-cognito-identity-js": "^5.0.3",
    "angular-builder-custom-terser-options": "^1.0.1",
    "animate.css": "^4.1.1",
    "assert": "^2.0.0",
    "bcrypt": "^5.0.1",
    "bcrypt-nodejs": "^0.0.3",
    "bootstrap": "^5.0.2",
    "browser-detect": "^0.2.28",
    "chart.js": "^3.2.1",
    "class-transformer": "^0.4.0",
    "class-validator": "^0.13.1",
    "classlist.js": "1.1.20150312",
    "cluster": "^0.7.7",
    "config": "^3.3.6",
    "cookie-parser": "^1.4.5",
    "d3": "^7.0.0",
    "d3-array": "^3.0.1",
    "d3-brush": "^3.0.0",
    "d3-color": "^3.0.1",
    "d3-force": "^3.0.0",
    "d3-format": "^3.0.1",
    "d3-hierarchy": "^3.0.1",
    "d3-interpolate": "^3.0.1",
    "d3-scale": "^4.0.0",
    "d3-selection": "^3.0.0",
    "d3-shape": "^3.0.1",
    "d3-time-format": "^4.0.0",
    "easy-pie-chart": "^2.1.7",
    "emoji-flags": "^1.3.0",
    "font-awesome": "^4.7.0",
    "geoip-lite": "^1.4.2",
    "global": "^4.4.0",
    "hammerjs": "^2.0.8",
    "hostile": "^1.3.3",
    "http-status-codes": "^2.1.4",
    "http2": "^3.3.7",
    "https": "^1.0.0",
    "ionic-plugin-deeplinks": "^1.0.22",
    "ionic2-calendar": "^0.6.9",
    "ionicons": "^5.5.2",
    "jquery": "^3.6.0",
    "json2csv": "^5.0.6",
    "jsonwebtoken": "^8.5.1",
    "jwk-to-pem": "^2.0.5",
    "jwt-decode": "^3.1.2",
    "koa-router": "^10.0.0",
    "lodash": "^4.17.21",
    "luxon": "^2.0.1",
    "moment": "^2.29.1",
    "moment-timezone": "^0.5.33",
    "mongoose": "^5.13.3",
    "mongoose-findorcreate": "^3.0.0",
    "ng-multiselect-dropdown": "^0.3.4",
    "ng2-pdf-viewer": "^7.0.1",
    "ngrx-store-freeze": "^0.2.4",
    "ngrx-store-logger": "^0.2.4",
    "ngx-bootstrap": "^7.0.0",
    "ngx-cookie-service": "^12.0.0-rc.3",
    "ngx-doc-viewer": "^2.0.2",
    "nodemailer": "^6.6.2",
    "passport": "^0.4.1",
    "passport-jwt": "^4.0.0",
    "passport-local": "^1.0.0",
    "pg": "^8.6.0",
    "properties-parser": "^0.3.1",
    "reflect-metadata": "^0.1.13",
    "request": "^2.88.2",
    "require": "^2.4.20",
    "rimraf": "^3.0.2",
    "rxjs": "^7.2.0",
    "screenfull": "^5.1.0",
    "socket.io": "^4.1.3",
    "socket.io-client": "^4.1.3",
    "swagger-ui": "^3.48.0",
    "swagger-ui-express": "^4.1.6",
    "ts-loader": "^9.2.3",
    "typegoose": "^5.9.1",
    "typeorm": "^0.2.2",
    "zone.js": "0.11.4"
  },
  "devDependencies": {
    "@angular-builders/custom-webpack": "^12.1.0",
    "@angular-devkit/build-angular": "12.1.4",
    "@angular-eslint/eslint-plugin": "12.3.1",
    "@angular-eslint/eslint-plugin-template": "12.3.1",
    "@angular-eslint/template-parser": "12.3.1",
    "@angular/cli": "12.1.4",
    "@angular/compiler-cli": "12.1.4",
    "@angular/language-service": "12.1.4",
    "@capacitor/android": "^3.1.2",
    "@capacitor/ios": "^3.1.2",
    "@nestjs/schematics": "^8.0.1",
    "@nestjs/testing": "^8.0.3",
    "@nrwl/cli": "12.6.3",
    "@nrwl/cypress": "12.6.3",
    "@nrwl/eslint-plugin-nx": "12.6.3",
    "@nrwl/jest": "12.6.3",
    "@nrwl/linter": "12.6.3",
    "@nrwl/nest": "12.6.3",
    "@nrwl/node": "12.6.3",
    "@nrwl/nx-cloud": "12.3.5",
    "@nrwl/tao": "12.6.3",
    "@nrwl/workspace": "12.6.3",
    "@types/bcrypt": "^5.0.0",
    "@types/bcrypt-nodejs": "^0.0.31",
    "@types/bluebird": "^3.5.35",
    "@types/bootstrap": "^5.0.5",
<EMAIL_ADDRESS>"^2.9.32",
    "@types/config": "0.0.39",
    "@types/d3-array": "^3.0.1",
    "@types/d3-axis": "^3.0.1",
    "@types/d3-brush": "^3.0.1",
    "@types/d3-color": "^3.0.1",
    "@types/d3-drag": "^3.0.0",
    "@types/d3-force": "^3.0.3",
    "@types/d3-format": "^3.0.1",
    "@types/d3-hierarchy": "^3.0.2",
    "@types/d3-interpolate": "^3.0.1",
    "@types/d3-scale": "^4.0.0",
    "@types/d3-selection": "^3.0.0",
    "@types/d3-selection-multi": "^1.0.10",
    "@types/d3-shape": "^3.0.0",
    "@types/d3-time": "^3.0.0",
    "@types/d3-time-format": "^4.0.0",
    "@types/d3-transition": "^3.0.1",
    "@types/geoip-lite": "^1.4.1",
    "@types/googlemaps": "^3.43.3",
    "@types/jasmine": "^3.7.7",
    "@types/jasminewd2": "^2.0.9",
    "@types/jest": "^26.0.24",
    "@types/jquery": "^3.5.5",
    "@types/luxon": "^1.27.0",
    "@types/moment-timezone": "^0.5.30",
    "@types/mongodb": "^3.6.18",
    "@types/mongoose": "^5.10.5",
    "@types/node": "^14.14.33",
    "@types/passport-local": "^1.0.33",
<EMAIL_ADDRESS>"^3.0.2",
<EMAIL_ADDRESS>"^3.0.0",
    "@typescript-eslint/eslint-plugin": "4.28.5",
    "@typescript-eslint/parser": "4.28.5",
    "@workspace/shared-assets": "file:libs/shared-assets/src/lib",
    "@workspace/shared-components": "file:libs/shared-components/src/lib",
    "@workspace/shared-directives": "file:libs/shared-directives/src/lib",
    "@workspace/shared-features": "file:libs/shared-features/src/lib",
    "@workspace/shared-pipes": "file:libs/shared-pipes/src/lib",
    "@workspace/shared-sass": "file:libs/shared-sass/src/lib",
    "@workspace/shared-util": "file:libs/shared-util/src/lib",
    "cypress": "^8.0.0",
    "dotenv": "^10.0.0",
    "eslint": "^7.30.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-cypress": "^2.10.3",
    "jest": "^27.0.6",
    "jest-preset-angular": "^9.0.4",
    "prettier": "^2.3.1",
    "ts-jest": "^27.0.4",
    "ts-node": "^10.1.0"
  },
  "node": {
    "crypto": "empty",
    "fs": "empty",
    "path": "empty",
    "stream": "empty",
    "net": "empty",
    "tls": "empty"
  },
  "browser": {
    "crypto": false,
    "fs": false,
    "path": false,
    "os": false,
    "net": false,
    "stream": false,
    "tls": false
  }
}

Sorry Im on assignment and unable to deviate until weekends...
and the angular product is not permitting to do much prototyping at angular 12
unable to create a prototype for hello world
this includes the NxTend schematics still on version 11
But this workspace.json is hefty... real world commercial project
I hope this offers something


add a runc version to dep

Signed-off-by: baude<EMAIL_ADDRESS>

/approve

LGTM

change LGTM but it looks like you might have some CI flakes.

bot, retest this please

/retest images

/test images

/retest

bot, retest this please

@baude Please rebase to pick up CI fixes

/test images

@mheon we are going to have to defer this until runc makes it's rounds into the various repos.


Neovim: Omnisharp Go To Definition produces weird path to file

The server is running fine, I get code errors when I type, but when I try to go to definition to one of the build-in methods (ex:  Console.WritleLine(); ) it redirects me to a blank page. that has the path:
/$metadata$/Project/Tic-Tac-Toe/Assembly/System/Console/Symbol/System/Console.cs

closing as duplicate


refactor: refact db group

ref: https://github.com/cectc/dbpack/issues/
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #242 (f0d608c) into dev (7a1a977) will increase coverage by 0.03%.
The diff coverage is 26.66%.

@@            Coverage Diff             @@
##              dev     #242      +/-   ##
==========================================
+ Coverage   43.16%   43.20%   +0.03%
==========================================
  Files          84       82       -2
  Lines        9911     9810     -101
==========================================
- Hits         4278     4238      -40
+ Misses       5194     5139      -55
+ Partials      439      433       -6

Impacted Files
Coverage Δ

pkg/executor/sharding.go
0.00% <0.00%> (ø)

pkg/executor/read_write_splitting.go
48.18% <60.00%> (+0.43%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Localized month gets capitalized

Hi!
I'm defining a custom KlockLocale for Norwegian and setting the default KlockLocale to it's object: KlockLocale.default = Norwegian()
Norwegian has defined it's months in lowercase, just like the examples in the docs. However, when converting a date to string like this:
date.toString(DateFormat("d. MMMM yyyy"))

the returned string contains a capitalized month name (which is not correct for Norwegian, and several other languages).
When running Month.January.localName it returns the month lowercased.
Is this an issue with Klock or anything I do wrong?
Otherwise, very happy with Klock! :)

Maybe there is a capitalize somewhere. Can you make a PR with the Norwegian locale? If possible, making a failing test where it shows the right format
If there is a capitalize somewhere maybe we can either add a boolean flag indicating if that capitalize should be performed or create a separate list defaulting to a capitalized version of the names, that can be overriden to just the lowercased list

Output from failing test:
expected:<...9 21:36
Onsdag, 13. [mars 2019
13. m]ars 2019
13.03.2019
...> but was:<...9 21:36
Onsdag, 13. [Mars 2019
13. M]ars 2019
13.03.2019
...>

I think maybe the issue is bigger than I first anticipated. Full disclosure, I used Google Translate to verify the translations in the tests (so I/Google might be wrong) but several of them had lowercased months (e.g. spanish, dutch, portuguese).
I found that PatternDateFormat.kt, lines 140-142 does some capitalization on months. I changed it to use localized months instead, as explained in the documentation, and fixed the failing tests while cross-checking with google. I think this approach will work if the months in the KlockLocale classes are written in the form that is correct for that locale (lowercased or capitalized).
Turns out, all this also applies to weekdays.
I've added another commit to the PR that changes the format method in PatternDateFormat to use localized names for days and months, and checked and updated the localized values for the failing tests, but someone should verify the changes.
Also, I am up for contributing more! Just let me know! :)


Not good performance in medical image segmentation

The demo url has a bad performance in medical image segmentation, how could I fine-tune it? could you give some prompt or code?

I also tried using models for medical segmentation using the jupyter notebook. They don't seem to be performing well. Will you release any training code or instructions for fine-tune?

The demo url has a bad performance in medical image segmentation, how could I fine-tune it? could you give some prompt or code?

Does this dataset (https://ai.facebook.com/datasets/segment-anything/) contains any medical data? Otherwise it doesn't make sense to expect good performance on medical samples. Fine tuning is needed, (but RadImageNet).

I also tried this with single cell data and doesn't appear to be doing well. Probably wasn't trained on it but would be cool to be able to continue training it on some of this other data.

Hi @weidai00 @tifat58 @qingshi1 @innat @emmanuel-contreras
We provide a step-by-step tutorial on fine-tuning SAM on 2D and 3D medical image datasets. It requires less than 10G GPU memory.
Hope that it could be useful.
https://github.com/bowang-lab/MedSAM#model-training-video-tutorial


Added optional time socket expiration for GraphiteWriterFactory.

This adds an optional socket expiration timeout for GraphiteWriterFactory, which is useful if your graphite host is behind a load balancer that does not support indefinite idle connections, for example AWS classic ELB.

:white_check_mark: Build jmxtrans 67 completed (commit https://github.com/jmxtrans/jmxtrans/commit/d3eb188c24 by @pawel-dabrowski-codewise)

:x: Build jmxtrans 68 failed (commit https://github.com/jmxtrans/jmxtrans/commit/783a92386a by @pawel-dabrowski-codewise)

:white_check_mark: Build jmxtrans 71 completed (commit https://github.com/jmxtrans/jmxtrans/commit/783a92386a by @pawel-dabrowski-codewise)

Thanks a lot!


fix rev.js

Hello,
Fixed images match
More powerful usemin for scripts.

Hi @krzychukula
All of this sounds great.
I see that you removed the necessity of inlined <!--scripts concatenated and end scripts--> comment to perform the replacement for every script tag. I like this change but it may come with some caveats.
Anyway, I'll review, test and merge it asap and get back to you. Thanks!

I'm really glad you did this pull request.
I've merged it into the dev branch and applied some minor tweaks. Your changes solve quite a few problems with this task that I wasn't able to solve on the first implementation. I did pretty much the same changes for styles and images. It's far better now, thanks again!
If you can test it again from the dev branch, that'd be great. Feel free to re-open this issue if you got any problem with the changes I made.

Hello,
Unfortunately I don't have enough permissions to do so.
I found an error.
Doesn't work for:

In dev version all JS files are reved, even this in libs folder, but this regexp has problem with them.
1: Move my code to original one. I mean first select html fragment within comments, and after that search for scrips files within it. That should be rather easy.
2: Include it in regexp. (attempt to fix regexp)
3: Do not touch libs folder ;)
Do you know how ant-build-script do this?

Okay, reopening :p
I'll take a second try tomorrow.

Problem is about one / in regexp to get prefix and file name.
But this is not always true.
(.+)/(.+)/ make it work, but disables the others...
I think that should be done more universally, but I'm really not into RegExp's so I must do some googling and experiment about it.

My solution in another pull request. Let me know what You think.


added additional validators

honestly not really sure whats the best way to do this - my compiler design professor did not really care that much and I kinda skipped half of the lectures. this would be good to have to validate some alertmanager rules

Thanks!


removed relative setting of APP_HOME and DEEPDIVE_HOME in tutorial files

The tutorial instructs the user to set $DEEPDIVE_HOME and $APP_HOME early on. It references these variables in the command line.
When run.sh and braindump.conf rewrite the environment variables, it uses relative paths, so forces user to run from a specific directory. Also the number of "../" is wrong for the app directory because it is set for the example directory, which has an extra nested level.
I think it makes more sense to ask the user to set these variables for themselves early on.

Thanks for your patch.  However, we'll address this environment/relative-path-mess once and for all by introducing a nice facade command soon.  The extra level has been corrected now.


Ask: What is the email address for?

First of all, thanks for publishing this such good library for XRP Ledger.
I'm one of XRP lovers and I had some questions while researching about xumm signin.
https://xumm.readme.io/docs/user-sign-in-identity-provider
Through this documentation, I noticed that the email address was unique per the different wallet address and I could get this by a special API with JWT.

What's it for?
Can I use it as a private key for my private purpose? The wallet address is public, but the email address is private that nobody knows?

Hope enough description about this.
Thanks in advance.

The virtual email address can not be considered private: it's returned to identity consumers, as you noticed.
The reason for the virtual email address to be returned is explained on the page you're linking to, at the end.


Glow Scotland

@damcclean Please provide us with:

the university official website URL
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another 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 students.
Thank you.

@damcclean You might miss my previous comment. Please answer. We cannot satisfy your request without additional info, which we have requested. Thank you.

@damcclean This request remains unanswered for a while. I have to close it without merging. Shall you have an update, feel free to reopen the request. Thank you for the understanding.


Added most code for Profile Search Use Case, still needs work on acce…

…ssing User entity for info. Some of the code for Other Profile use case has also been written, but it's further from complete

Looks good.


[Snyk] Upgrade puppeteer from 21.6.1 to 21.7.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade puppeteer from 21.6.1 to 21.7.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released a day ago, on 2024-01-04.

Release notes

Package name: puppeteer

21.7.0 - 2024-01-0421.7.0 (2024-01-04)
Miscellaneous Chores

puppeteer: Synchronize puppeteer versions

Dependencies

The following workspace dependencies were updated

dependencies

puppeteer-core bumped from 21.6.1 to 21.7.0
@ puppeteer/browsers bumped from 1.9.0 to 1.9.1

21.6.1 - 2023-12-1321.6.1 (2023-12-13)
Miscellaneous Chores

puppeteer: Synchronize puppeteer versions

Dependencies

The following workspace dependencies were updated

dependencies

puppeteer-core bumped from 21.6.0 to 21.6.1

    from puppeteer GitHub release notes

Commit messages

Package name: puppeteer

864012a chore: release main (#11593)
488e237 chore(deps-dev): Bump the dev-dependencies group with 1 update (#11625)
9b5407c chore(deps): Bump the dependencies group with 1 update (#11624)
afc9f46 test: split headful spec (#11622)
db986ad test: re-enable Firefox BiDi tests on MacOS (#11596)
5d69ccb ci: automatic pinning of Firefox Nightly for testing (#11619)
6f7f682 docs(examples): Adding in Doczilla to `README` (#11579)
b6c5642 chore: update license headers (#11563)
16becdb chore: use node test runner (#11574)
613f716 chore(deps-dev): Bump the dev-dependencies group with 1 update (#11618)
d29ec24 chore(deps): Bump the dependencies group with 3 updates (#11617)
c7421dd chore(deps-dev): Bump the dev-dependencies group with 7 updates (#11612)
7a3d24b ci: fix canary installation on windows (#11615)
d11db4a ci: configure daily Canary Chrome tests (#11614)
b0c5392 fix: improve reliability of exposeFunction (#11600)
42b03a6 chore: enable no-useless-template-literals rule (#11573)
66aa770 feat: allow converting other targets to pages (#11604)
80143de feat: support fetching request POST data (#11598)
c660d40 feat: support timeouts per CDP command (#11595)
acf1518 chore: add an issue template for ng-schematics (#11603)
61c5071 chore(deps): Bump the dependencies group with 2 updates (#11608)
e41a265 fix: disable GFX sanity window for Firefox and enable WebDriver BiDi CI jobs for Windows (#11578)
107b833 fix: change viewportHeight in screencast (#11583)
949f4e9 chore(deps): Bump the dependencies group with 2 updates (#11588)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

coverage: 99.245%. remained the same
when pulling 8bf2a9141a4145adaee71ec1bd4ae5a15362fda3 on snyk-upgrade-919dd03dad4ce0768d8daf3f4c241864
into 7aa9743f59f7ef621a6759ceef9e8f87db5450a6 on master.


Specify install_requires versions

Matches the versions in requirements.txt.

Current coverage is 65.72% (diff: 100%)

Merging #1695 into master will decrease coverage by 0.19%

@@             master      #1695   diff @@
==========================================
  Files            54         54
  Lines          6110       6110
  Methods           0          0
  Messages          0          0
  Branches       1205       1205
==========================================
- Hits           4028       4016    -12
- Misses         1874       1882     +8
- Partials        208        212     +4

Powered by Codecov. Last update 4c31446...c277781