Kubernetes Deployment:Richie

Can anybody please provide instructions for setting Kubernetes cluster in migration-to-k8s branch?
Thank you

@jmaupetit
I had managed to run arnold using Kubernetes cluster in migration-to-k8s branch by using the output from the tests in circleci from https://app.circleci.com/pipelines/github/openfun/arnold. In fact I could not run the old arnold with openshift, so I run it with Kubernetes, it works like a charm :D
For installing Kubernetes you can go for example in test-k3d-cluster-registry  and check the commands. After that you can install Richie, Marsha in arnold and check them in browser.
I have one question though. How can we use arnold to run an actual MOOC like https://www.fun-mooc.fr ?
Thank you

There is tray package for open shift.
https://github.com/openfun/richie-site-factory/tree/add-arnold-package

Hi @iliemihai ,
Can you please help me out ? I have installed the kubectl and k3d using brew and then built the Arnold images.
COMMANDS
make build && make build-dev
mkdir -p /tmp/docker/images
docker save -o /tmp/docker/images/arnold.tar arnold
docker load < /tmp/docker/images/arnold.tar
MINIMUM_AVAILABLE_RWX_VOLUME=15 K3D_BIND_HOST_PORT_HTTP=80 K3D_BIND_HOST_PORT_HTTPS=443 make cluster
ERROR
readlink: illegal option -- f
usage: readlink [-n] [file ...]
WARN[0000] No node filter specified
INFO[0000] Prep: Network
INFO[0000] Re-using existing network 'k3d-arnold'<PHONE_NUMBER>d5f67dd19c5a70353c07bd28988c963b94bb73ecbadfc866ad60ba)
INFO[0000] Created volume 'k3d-arnold-images'
INFO[0001] Creating node 'k3d-arnold-server-0'
ERRO[0001] Failed to create container 'k3d-arnold-server-0'
ERRO[0001] Failed to create node 'k3d-arnold-server-0'
ERRO[0001] Failed to create node
ERRO[0001] Failed Cluster Creation: Error response from daemon: create ./k3d-storage: "./k3d-storage" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
ERRO[0001] Failed to create cluster >>> Rolling Back
INFO[0001] Deleting cluster 'arnold'
ERRO[0001] No nodes found for given cluster
FATA[0001] Cluster creation FAILED, also FAILED to rollback changes!
make: *** [cluster] Error 1
Thank you!


Retrieve the last visited point in the route after closing

Currently, if the user closes the app, the route starts from its first stop.
The optimal behavior is to retrieve the last point so the user can continue from the point he left the app

Show an alert to let the user choose between start from the beginning or continue form the last visited point


Suggestion: don't automatically kill the activity

If a WebView window is opened from within link eye, pressing the recents or home button has the unfortunate side-effect of also closing WebViews.
link eye 2.0
Android 11
Samsung SM-G991B
One UI 3.1

link eye's intented behaviour is kill itself after launch target application. link eye isn't a long running process.
btw, when user hits back key they wants to exit from app most of time.

Well it also seems to inadvertently kill the target application a lot of the time, if the recents or home buttons are pressed, which is a pretty glaring problem. By the way, I've found this isn't just WebView-specific, but it also occurs for example when I press the recents or home button after Barinsta or Instagram are launched via link eye, and I assume it also happens to pretty much any other target app too. Please watch the video below and notice how apps that are opened via link eye close spontaneously on the recents screen without user interaction. I hope you'll reopen this issue.
https://user-images.githubusercontent.com/44572533/132209636-fa0bd5af-9966-48ad-9757-0b9dd098a2b6.mp4

oh, okay. i'm able to reproduce bug now. i will look what i can do for this.

i think it's fixed now. you can check by using this apk

I've been using that apk for a few days now, with no major issue. The target apps do stay on the recents screen, however the content of some target apps refreshes every time you switch to another app then switch back to the target app.
To again use the specific example of Barinsta and Instagram, if you open someone's Instagram profiles in either app through link eye, the target app (i.e. Barinsta or Instagram) stays open after pressing the recents button, but, upon returning to the target app, the Instagram profile always re-loads. This is abnormal behaviour for both Barinsta and Instagram, and I've only seen it happen when they're opened by link eye.
Still, more testing is needed before I can say that this sort of behaviour is caused by link eye. I'll update this issue if I notice any similar behaviour when switching back to other target apps opened by link eye.


Cylc needs wrapper on Raijin

resolution_fixed   |    by ibc599

Same problem as Rose.
Needs to have wrapper on Raijin, so calls to cylc will work without worrying about module loads in .bashrc.
This is mainly for the case when trying to kill a task from the gcylc window.

Issue migrated from trac:101 at 2024-01-31 18:03:21 +1100

<EMAIL_ADDRESS>changed priority from major to minor

<EMAIL_ADDRESS>changed owner from ibc599 to saw562

<EMAIL_ADDRESS>changed status from new to assigned

<EMAIL_ADDRESS>commented

No solution available at the moment.
Users need to continue with module load cylc in their dot file(s).
Can request Cylc feature as per what is in Rose for configuration setting on Accessdev specifying pathname for Raijin Rose.

<EMAIL_ADDRESS>commented

Milestone Future deleted

<EMAIL_ADDRESS>changed status from assigned to closed

<EMAIL_ADDRESS>changed _comment0 which not transferred by tractive

<EMAIL_ADDRESS>removed milestone (was Future)

<EMAIL_ADDRESS>commented

This was fixed in cylc 6.1.0, http://cylc.github.io/cylc/changes.html#6.1.0 and https://github.com/cylc/cylc/pull/1166
Following http://cylc.github.io/cylc/html/single/cug-html.html#B.8.1, add
    [[raijin.*]]
        cylc executable = /projects/access/bin/cylc

to the global.rc configuration file.
OK to add this to both the cylc5 and cylc6 configuration files, though only cylc6 uses it.

<EMAIL_ADDRESS>changed resolution from `` to fixed


Feature suggestions

Hello, I recently saw your open source project, which is very good. I have several functional suggestions: for example, adding functions such as extracting application name, version, mainactivity, packagename, iconfile, etc. These functions are often used in static analysis so that they can be used in UI displays basic information of the application

Hi @ohyeah521, thank you for the suggestions. It is something that has been added in my backlog for quite some time now (https://github.com/androguard/androguard/issues/855#issuecomment-1877843427).
In my little spare time I am working on some new features which I will release in the upcoming months.

Thanks for your reply, looking forward to the release of the new version, this will be very useful

@ohyeah521 introduced a fast(lite) parsing of initial element of the AndroidManifest. This returns a dictionary with the relevant elements it reads. The more elements you define it to read the slower it will become.
Example:
apk_path = '/path/com.airbnb.android_21059188.apk'
parse_apk_for_manifest(apk_path, lite=True)

# output
{'versionCode': '21059188', 'versionName': '20.32', 'installLocation': '0', 'targetSandboxVersion': '2', '': '10', 'package': 'com.airbnb.android', 'platformBuildVersionCode': '29', 'platformBuildVersionName': '10', 'minSdkVersion': '21', 'targetSdkVersion': '28'}

very practical, can you add an apk application icon extraction function?

Hello, I recently saw your open source project, which is very good. I have several functional suggestions: for example, adding functions such as extracting application name, version, mainactivity, packagename, iconfile, etc. These functions are often used in static analysis so that they can be used in UI displays basic information of the application

za_settings (1).txt


Questions related to "Running Workflow"

Hello.
I run workflow using " conductor server ".
Another external server is managed using the " WorkflowTaskCoordinator " on another external server.
Q1. I know how to inject parameters when starting the workflow.
But I'd like to inject parameter value into the ' User Task ' when workflow is running. Is there any way?
Q2. Here's another question.
Is there any way to learn from external servers when workflow fails or finished?
Except for checking the status of " workflow " to " conductor server " regularly.

@smilesj Could you how an example how to use [WorkflowStatusListener] to notify once the workflow fails or completes successfully?
Thanks in advance!


KBFS Disk Space Showing as 250GB on Windows

I have recently noticed that the KBFS Disk shows up as a 250GB drive on my 3 Windows 10 machines.
While that would be nice, I don't think its correct and you might want to take a look at this.
.BR

It is correct!  Enjoy!

Incredible! Thank you for this great app & feature!
👍 🥇


Compile bug

I follow your instructions when I execute cmake .. -DCMAKE_BUILD_TYPE=Release. There are the following mistakes. How can I solve them? Thank you.
-- Could NOT find OpenEXR (missing: ILMBASE_INCLUDE_PATH OPENEXR_INCLUDE_PATH OPENEXR_IMATH_LIBRARY OPENEXR_ILMIMF_LIBRARY OPENEXR_IEX_LIBRARY OPENEXR_HALF_LIBRARY) (found version "1.6.1")
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
CMake Error at pbrt/CMakeLists.txt:19 (message):
OPENEXR_FOUND
-- Configuring incomplete, errors occurred!

This error appears is because you don't have OpenEXR and libTiff install on your system which is a dependency for the library. If you search for these for your distribution, they should be available.
I'll add these to the list of dependencies.

Can you also tell me what platform you're trying to build on?

I'm sorry to reply to you late because of time difference, my platform is Ubuntu 18.04.5 LTS.

Did you try installing the additional dependencies? I updated the README to reflect these. It seems you're missing OpenEXR and libtiff.

I installed these libraries and compiled, but I'm not sure if it was successful because I didn't find the executable files in the ./bin directory, but found it in the bulid directory, such as implicit_uniform, but mesh_to_implicit and isosurface are not found.

Ah this is a typo in the README. Cmake will output build artifacts in the directory where you launched it by default. So these binaries should be in build. I'll update the readme and close the issue. Let me know if there are any other problems and I'll reopen it.

Another problem is that I can not find mesh_to_implicit and isosurface, did you rename them

It looks like there's no target for these binaries in the CMakeLists. I haven't used this repo to scan any new meshes and just used the ones from the benchmark. Could you add these build targets and send a PR? I'd appreciate it a lot!

I will try

@leaf0917 Turns out this was a very small 6 line fix to the CMakeLists.txt. If you grab the latest version, cmake should build these binaries for you.

Thank you. I finally compiled it. But when I execute the example python scripts/RunSampler.py data/pcs/bumps/bumps_0.cnf,  the following error occurs:
['./bin/uniform_sampler', 'modeling/models/bumps/bumps.mpu', 'data/pcs/bumps/bumps_0.npts', '50', '50', '9', 'min_range', '70.0000000', 'registration_error', '0.4000000', 'normal_type', '2']
Traceback (most recent call last):
File "scripts/RunSampler.py", line 132, in
runUniform(config, pathdir, infile, outfile)
File "scripts/RunSampler.py", line 115, in runUniform
runcommand(args)
File "scripts/RunSampler.py", line 45, in runcommand
raise RunError(args[0] + ': Fork falied with error '' + e.strerror + ''')
__ main __ .RunError: Error: ./bin/uniform_sampler: Fork falied with error 'No such file or directory'

Hi @leaf0917 it seems that a file is missing somewhere.
This repository is just a copy of the original codebase from Berger et.al and I don't know all its internals well. Unfortunately, I don't have time to debug this beyond ensuring that it builds. Given that the error seems to be in a Python script and you get a stack trace, it should be doable to fix it. If you do find any bugs, please send a pull request with your fixes.
Thanks!

I will try to fix it, thank you so much!

I can't find pc_generator after executing "make". I only have the following .o files. Did you rename pc_generator to something else?
[  9%] Built target trimesh2
[ 13%] Built target tps
[ 17%] Built target ann
[ 26%] Built target OpenMesh
[ 57%] Built target pbrt
[ 62%] Built target Sampler
[ 64%] Built target Modeling
[ 67%] Built target sample_implicit
[ 70%] Built target single_distribution
[ 73%] Built target dump_single
[ 76%] Built target implicit_uniform
[ 76%] Built target isosurface
[ 76%] Built target mesh_to_implicit
[ 79%] Built target dump_barplot
[ 82%] Built target run_evaluation
[ 85%] Built target dump_meta
[ 87%] Built target sample_mesh
[ 89%] Built target aggregate_distribution
[ 92%] Built target mesh_fixer
[ 95%] Built target dump_distribution
[ 98%] Built target aggregation
[100%] Built target dump_lines
[100%] Built target ann_exec

@HeCraneChen looks like there's just no build target in the CMakeLists.txt. This repository came to being for a particular project a few years ago and we only added targets for the binaries we needed then, so it's likely there are missing targets. Could you add one for pc_generator and send a pull request?

Pull request sent! That's also what I figured. I also added uniform_sampler to CMakeLists.txt. I hope I understood it correctly. Because otherwise, it's going to complain no bin/uniform_sampler when running "python scripts/RunSampler.py config_file" according to your doc. But there's still another problem when running this. I got "ERROR: uniform sampling not at prescribed size!" message from line 147 of UniformSampler.cpp. I figured this bug came from ImplicitSphere.h, where the code is trying to read "sphere_sampled.npts"? But we don't have any npts file to read yet, right? The goal of this python script is to generate one npts file from the config file.


Error: can't find file 'kemal'

Invidious is ready to be installed, press any key to continue...
➜ Downloading Invidious from GitHub
Cloning into 'invidious'...
remote: Enumerating objects: 22859, done.
remote: Counting objects: 100% (708/708), done.
remote: Compressing objects: 100% (339/339), done.
remote: Total 22859 (delta 459), reused 600 (delta 369), pack-reused 22151
Receiving objects: 100% (22859/22859), 21.98 MiB | 4.54 MiB/s, done.
Resolving deltas: 100% (15119/15119), done.
channel_threads: 1
feed_threads: 1
db:
user: kemal
password: kemal
host: localhost
port: 5432
dbname: invidious
full_refresh: false
https_only: false
domain:
Branch 'master' set up to track remote branch 'master' from 'origin'.
Reset branch 'master'
Your branch is up to date with 'origin/master'.
➜ Done
/home/invidious
Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable postgresql
➜ Creating user kemal with password akZ6oWq98JnZN37lxfrsbpCdRUcNpCn6
CREATE ROLE
➜ Creating database invidious with owner kemal
CREATE DATABASE
➜ Grant all on database invidious to user kemal
GRANT
➜ Running /home/invidious/invidious/config/sql/annotations.sql
CREATE TABLE
GRANT
➜ Running /home/invidious/invidious/config/sql/channels.sql
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/channel_videos.sql
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/nonces.sql
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/playlists.sql
CREATE TYPE
CREATE TABLE
GRANT
➜ Running /home/invidious/invidious/config/sql/playlist_videos.sql
CREATE TABLE
GRANT
➜ Running /home/invidious/invidious/config/sql/session_ids.sql
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/users.sql
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/videos.sql
CREATE TABLE
GRANT
CREATE INDEX
✔ Finished Database section
➜ Updating config.yml with new info...
✔ Done.
Resolving dependencies
Fetching https://github.com/will/crystal-pg.git
Fetching https://github.com/crystal-lang/crystal-db.git
Fetching https://github.com/crystal-lang/crystal-sqlite3.git
Fetching https://github.com/kemalcr/kemal.git
Fetching https://github.com/luislavena/radix.git
Fetching https://github.com/crystal-loot/exception_page.git
Ignoring source of "backtracer" on shard.lock
Fetching https://github.com/Sija/backtracer.cr.git
Fetching https://github.com/jeromegn/kilt.git
Fetching https://github.com/iv-org/protodec.git
Fetching https://github.com/iv-org/lsquic.cr.git
Fetching https://github.com/athena-framework/negotiation.git
Outdated shard.lock (backtracer source changed). Please run shards update instead.
Showing last frame. Use --error-trace for full trace.
In src/invidious.cr:21:1
21 | require "kemal"
^
Error: can't find file 'kemal'
If you're trying to require a shard:

Did you remember to run shards install?
Did you make sure you're running the compiler in the same directory as your shard.yml?

✗ [ERROR] Build Process Failed!
This is most likely an issue with Invidious, not this script!
➜ Report issue: https://github.com/iv-org/invidious/issues

Closing.
Not able to reproduce this issue on Debian 11 with latest Master


Get 70b in our fork working with pp4, tp4, dp>1

Using our launcher and the latest pull of our pretrain repo you can run a Llama3 70B model as follows. Thanks to @AleHD for getting activation recompute and async working.
(export DP=1 PP=4 BACC=16; python launcher.py nanotron=llama3_70b \
	run.slurm.time="0:19:56" \
	nanotron.tokens.train_steps=15 \
	nanotron.general.project=Llama3_70B_efficiency \
	nanotron.parallelism.dp=$DP \
	nanotron.parallelism.pp=$PP \
	nanotron.tokens.batch_accumulation_per_replica=$BACC \
	++nanotron.parallelism.tp_linear_async_communication=true \
	++nanotron.parallelism.tp_recompute_allgather=true \
	nanotron.general.run=baseline_dp${DP}_pp${PP}_tp4_baccum${BACC})

(The use of the shell variables is to not have to set them twice and ensure config always matches the name.)
This should work and get about 780 tokens per second per GPU. This will be higher with batch_accumulation_per_replica=64 and lower with batch_accumulation_per_replica=16 which we can use to trade off wall time for efficiency.
The problem is that 70B just barely fits into four tödi nodes with dp=1, pp=4 and tp=4. It's so close that it is OOM with dp>1.
Looking at memory usage, we can see that each pipeline stage from first to last uses about 10GB less memory than the previous one. So our OOM is on the node of the first PP stage. The splitting of the layers is in nanotron done automatically using https://github.com/swiss-ai/nanotron/blob/67332b4e4d308d8ef1055e9c0e98ea2e5665a4f1/src/nanotron/models/llama.py#L787. I think we should use this PR to check if we can reduce the workload (and thus memory load) of the first issue and a custom PR to fit the model with pp=4 tp=4 and dp>1 by changing how nanotron splits the architecture across nodes.

A simple mod in pp split strategy. https://github.com/swiss-ai/nanotron/pull/20
If the workload in each pp stage is imbalanced, the bubble ratio would be larger. I'm wondering why we should focus on DP=1, since we can reduce memory with zero-1 and higher DP size.

I ran a few tests. When acc=16 it does not OOM when using zero1 for dp>1, however when acc=128 it does OOM for dp=2,4 but for dp=8 it works again...

It sounds like some activation memory is not released in time. Can we have a small scale experiment, e.g. TP=1, PP=4, DP=2,4,... and get some memory snapshot from pytorch? This functionality is only available on x86 machines unfortunately.

No memory profile cause of the x86, but I do agree that the most likely cause is activation memory bug as for the DP=1 case the max memory is 50.2 GB and each GPU has almost 100 GB. Changing DP=2 shouldn't increase the memory by x2.

I'll try to get a memory snapshot on Bristen as there we should have x86 machines.


Make @astrofrog and @Cadair admins on extension-helpers repo

Currently @Cadair and I don't have access to the repo settings for extension-helpers which makes it impossible to e.g. rename branches or set repository secrets. Could we be given admin access to that repo?

It has been done -- please reopen if you do not have the access you need.


[Stepper- nested] I want to add something like nested list in the Stepper component

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
I am using the stepper component from the Material UI. I want nested Stepper steps for some steps.
Examples 🌈
Here is my design,

can I add this with the Stepper? I want to also display form with each sub icons like main Stepper.
Motivation 🔦
No response

@gzrae, why are we not able to add the label when we create the new issue? I faced the same issue before as well.


(#12114) Qualify usages of ::File to avoid conflict with File face

Previously, if the file face had been loaded, then subsequent calls
to Puppet::Application.find would attempt to call
Puppet::Application::File.join, and fail since it should be calling
::File.join.
In addition, if spec/unit/application_spec.rb is tested first, then
several other order-dependent failures occurred, for the same reason
as above.
This commit uses the '::' scope resolution operator to refer to ruby's
File class and adds a spec test.
In general, if you add an application to lib/puppet/application/,
then you should fully qualify uses of ::File, otherwise, if the file
face is loaded first, your application may fail.

This looks correct, and passes tests, but is blocked waiting on a broken build getting sorted out.


refactor: move jsonld into resume page, only used there

Current dependencies on/for this PR:

main

PR #131   👈

This comment was auto-generated by Graphite.


Adding InfoBar Control

This change adds the InfoBar control, spec here. It looks like this:

I think it's all pretty straightforward. The only special thing is the custom layout panel, InfoBarPanel, which lays out things horizontally, unless they don't fit, and then it switches to vertical; it has attached properties to handle different margins depending on the layout.

Shouldn't there also be changes to the MUXControlsInnerLoop.sln? If you used the GenerateNewControlProject script, the projects have been added to the MUXControl.sln and  the MUXControlsInnerLoop.sln .

Just a note that the Expander control should be kept in mind for the InfoBar control, to allow for more details to be disclosed as needed. #3279

I think I found another issue with the layouting:

Just a note that the Expander control should be kept in mind for the InfoBar control, to allow for more details to be disclosed as needed. #3279

I think this is something that custom content would handle. Looking at the spec, we show a message either way. Any other behavior would needed to be done through custom content. For that custom content, an expander control would be the perfect fit. Maybe InfoBar should support that out of the box? @gabbybilka

Just a note that the Expander control should be kept in mind for the InfoBar control, to allow for more details to be disclosed as needed. #3279

I think this is something that custom content would handle. Looking at the spec, we show a message either way. Any other behavior would needed to be done through custom content. For that custom content, an expander control would be the perfect fit. Maybe InfoBar should support that out of the box? @gabbybilka

If its included out of the box, how quickly can an Expander control be completed, so as not to delay V1 of the InfoBar.
The specs say this is in consideration for V2

Truncation option that allows the user to expand and collapse an InfoBar with multiple lines of content

If its included out of the box, how quickly can an Expander control be completed, so as not to delay V1 of the InfoBar.

Given that the infobar is almost in preview now, I think waiting for expander to finish first would heavily delay v1 of InfoBar :(

The specs say this is in consideration for V2

Truncation option that allows the user to expand and collapse an InfoBar with multiple lines of content

Maybe it is better to do this in v2 then, especially if expander control is available then.

It seems that the existence of a closebutton changes the positioning of the action button. Is that intentionally:

Whaaaat. I can't repro this, how did you get this to happen?

Whaaaat. I can't repro this, how did you get this to happen?

Here is my "configuration":

It seems that hiding the icon makes a difference in the layout resulting in the button jumping.

Here is my "configuration":
It seems that hiding the icon makes a difference in the layout resulting in the button jumping.

Thanks, got it! I didn't notice the icon hidden before. Having you around is like having my very own tester again 😀

Thanks, got it! I didn't notice the icon hidden before. Having you around is like having my very own tester again 😀

Ohhh haha, didn't notice it either. Happy that I can help you by testing!

Shouldn't there also be changes to the MUXControlsInnerLoop.sln? If you used the GenerateNewControlProject script, the projects have been added to the MUXControl.sln and the MUXControlsInnerLoop.sln .
Also the MUXControls.sln seems to be faulty, cleaning the repository and checking out the PR gives me an error that two projects couldn't be loaded. I also have two InfoBar folders in solutionview:

Both solution files should be fixed now.

It seems that the existence of a closebutton changes the positioning of the action button.

This was a head-scratcher but is fixed now. :)

This was a head-scratcher but is fixed now. :)

Awesome! I'm a bit curious what the issue was, but I'm just glad that it works just as expected now :)

This was a head-scratcher but is fixed now. :)

Awesome! I'm a bit curious what the issue was, but I'm just glad that it works just as expected now :)

Well, it turns out the button had VerticalAlignment=Center. This worked fine when either/both the icon or the close button was there to "force" the grid row to be the correct height, but when they were both missing... the row just became the height of the button and there was no space above it anymore.

This was a head-scratcher but is fixed now. :)

Awesome! I'm a bit curious what the issue was, but I'm just glad that it works just as expected now :)

Well, it turns out the button had VerticalAlignment=Center. This worked fine when either/both the icon or the close button was there to "force" the grid row to be the correct height, but when they were both missing... the row just became the height of the button and there was no space above it anymore.

Ohh I see, thanks for the explanation!

Could we add an in-built tooltip to the close button? It could read something like "Close". Since we also allow custom styles for the Clsoe button, the implementation should preserve any customer set tooltip.

I don't think we can easily set different foregrounds for the InfoBar elements (icon, Title, message) right now. Setting the Foreground property on the InfoBar control applies the foreground color to all three of them. Fluent UI's MessageBar shows an example where the icon foreground differs from the rest:

Could we add resources to individually style the foreground of each of these elements? So something like InfoBar[Critical/Warning/...]SeverityStatus[Icon/Title/Message]Foreground:
InfoBarCriticalSeverityStatusIconForeground
InfoBarCriticalSeverityStatusTitleForeground
InfoBarCriticalSeverityStatusMessageForeground

InfoBarWarningSeverityStatusIconForeground
InfoBarWarningSeverityStatusTitleForeground
InfoBarWarningSeverityStatusMessageForeground
....

Perhaps we can have the InfoBar.Foreground API take precedence, if set (so that the foreground can easily be set all at once). However, if no InfoBar.Foreground is set, customers can use these resources to individually set the foreground colors.
We are doing something similar already in the case of the Placeholder foreground for TextBoxes,...: https://github.com/microsoft/microsoft-ui-xaml/blob/f4c811b92ae90ac74635c0523aa4c94b3c1d48eb/dev/CommonStyles/TextBox_themeresources.xaml#L203
If we go down this route, we have to keep in mind that a Binding in a style is only applied once so we need to make sure local theme resource overrides will still be applied correctly.
(The Close button could perhaps also get a bunch of lightweight-styling resources here, similar to the Close button of a TabViewItem: https://github.com/microsoft/microsoft-ui-xaml/pull/2823)

I don't think we can easily set different foregrounds for the InfoBar elements (icon, Title, message) right now. Setting the Foreground property on the InfoBar control applies the foreground color to all three of them.
...
Could we add resources to individually style the foreground of each of these elements? So something like InfoBar[Critical/Warning/...]SeverityStatus[Icon/Title/Message]Foreground:

@gabbybilka, can you comment?

I don't think we can easily set different foregrounds for the InfoBar elements (icon, Title, message) right now. Setting the Foreground property on the InfoBar control applies the foreground color to all three of them.
...
Could we add resources to individually style the foreground of each of these elements? So something like InfoBar[Critical/Warning/...]SeverityStatus[Icon/Title/Message]Foreground:

@gabbybilka, can you comment?

I like this for icons. I'm unsure if this flexibility is needed for the Title and Message as well however I'd rather err on the side of too many theme resources than too little. For the close button light-weight stylings, what is not handled via the CloseButtonStyle property?

...I'd rather err on the side of too many theme resources than too little...

👍

For the close button light-weight stylings, what is not handled via the CloseButtonStyle property?

@gabbybilka The concern I have is about styling for the different visual states of the close button (i.e. Foreground/BackgroundPointerOver,...). While customers could override the default button theme resources in the InfoBar scope, they would also be applied to any custom button added to the InfoBar then (for example via the ActionButton or Content APIs). Whcih would then require the customer to potentially customize the visual states for those buttons.
If we were to add Close button specific theme resources then customers wouldn't have to re-template the button and set it via the CloseButtonStyle, nor would they have to override the default button style theme resources which will be applied to all default buttons in scope and not just the close button.

@mdtauk and @Felix-Dev
We added in four icon theme resources to customize the icon color across the different severity levels and enable that MessageBar icon coloring. For the text we're going to pause on adding those in as we'd like to see more typical uses for those. Adding @kikisaints for visibility here.
Still investigating the close button resources.

@gabbybilka

For the text we're going to pause on adding those in as we'd like to see more typical uses for those.

The TeachingTip control shipes with theme resources to independently style the title and subtitle (message): https://github.com/microsoft/microsoft-ui-xaml/blob/f4c811b92ae90ac74635c0523aa4c94b3c1d48eb/dev/TeachingTip/TeachingTip_rs1_themeresources.xaml#L12
In light of the animated disucssion going on in the Proposal: UI for Long-Lived App-Wide Status Messages topic about consistent APIs for related controls like the InfoBar or TeachingTip, TeachingTip is setting a precendence here which developerscould reasonably expect the InfoBar to follow as well.

We added in four icon theme resources to customize the icon color across the different severity levels and enable that MessageBar icon coloring.

Lookign at the current implementation, this effectively means that the InfoBar.Foreground API now no longer is applied to the InfoBar icon as well. Just making sure this is intended here (I mentioned an alternative where the icon foreground theme resource would only be applied if the InfoBar.Foreground API has not been set).

@teaP there is a static analysis build failure with your PR build.

(The Close button could perhaps also get a bunch of lightweight-styling resources here, similar to the Close button of a TabViewItem: #2823)

For the close button light-weight stylings, what is not handled via the CloseButtonStyle property?

@gabbybilka The concern I have is about styling for the different visual states of the close button (i.e. Foreground/BackgroundPointerOver/Pressed...). While customers could override the default button theme resources in the InfoBar scope, these resource overrides would also be applied to any custom button added to the InfoBar then (for example via the ActionButton or Content APIs). Which would then require the customer to potentially customize the visual states for those buttons if they want a separate PointerOver/Pressed look for them compared to the customized close button.
If we were to add Close button specific theme resources then customers wouldn't have to re-template the button and set it via the CloseButtonStyle, nor would they have to override the default button style theme resources which will be applied to all default buttons in scope and not just the close button.

@Felix-Dev Thanks for sharing the TabViewItem PR and providing perspective here! Apologies for the delay in my response, after checking in with the team, we're going to pause on adding the close button state theme resources for now. Since the close button in InfoBar isn't as ubiquitous as the close button in TabViewItem and a similar control, TeachingTip, doesn't include these resources this isn't a blocking request at the moment. If you have a specific scenario where you would need these please let us know!

The static analysis build failure that happened a few weeks ago was exclusive to the release build. Can you make sure there isn't a build failure locally when you run a release build?

The static analysis build failure that happened a last week was exclusive to the release build. Can you make sure there isn't a build failure locally when you run a release build?

I don't have a failure on my machine on release.

@teaP can you pull master into this branch to pickup the pipeline stability change that went in today?

Is the current UI design style set in stone or is there room for suggestions?
It doesn't quite feel like a Fluent UI or WinUI control, perhaps a touch of shadow or corner radius would do it?
I really like the look of the design for this control: https://github.com/microsoft/microsoft-ui-xaml/issues/913

/azp run

Is the current UI design style set in stone or is there room for suggestions?
It doesn't quite feel like a Fluent UI or WinUI control, perhaps a touch of shadow or corner radius would do it?
I really like the look of the design for this control: #913

Hi @jamers99, thanks for your feedback! What specific design are you referring to from that issue?
However, yes, the design is rather set in stone. For this control we worked with our team of Fluent designers to help create this UI.

What specific design are you referring to from that issue?

Bummer, okay, what's the process for doing some UI tweaks?

What specific design are you referring to from that issue?

This here. I think the color banner on the left would make more sense in the case for the InfoBar, but you get the idea:

However, yes, the design is rather set in stone.

Bummer, okay, what's the process for doing some UI tweaks?

I would put that into the InfoCard control design that comes next

I would put that into the InfoCard control design that comes next

Huh, another control? Seems a bit redundant... Curious about the reasoning for that?

I would put that into the InfoCard control design that comes next

Huh, another control? Seems a bit redundant... Curious about the reasoning for that?

Originally it would have been a mode for the same control, but the team decided to keep the InfoBar a Bar, and to have the floating/overlayed control be something else - possibly named InfoCard.

/azp run

/azp run


Security of SecretStore provider credential secrets resources

In our last community meeting we talked briefly about the security concerns on the SecretStore resources, since it has access keys to different Providers.
We talked about keeping SecretStores in the same namespace as the controller by default, or we can create a different namespace to manage it.
What do you think? What are the best practices around managing custom resources with sensitive information?
Cheers 👋

In general, custom resources should not contain secret material, but instead a reference to the Kubernetes secret with the data.
SecretStore's should follow that and only contain references to the secret with the provider credentials, and the controller field on SecretStore's should increase the supportability of injected/native authentication by external-secret controllers such as AWS IRSA or Vault Kubernetes authentication.
SecretStore's are namespaced and therefore should only be able to reference secrets within the same namespace. This should help prevent any unauthorized cross-namespace secret access as well.

In general, custom resources should not contain secret material, but instead a reference to the Kubernetes secret with the data.
SecretStore's should follow that and only contain references to the secret with the provider credentials, and the controller field on SecretStore's should increase the supportability of injected/native authentication by external-secret controllers such as AWS IRSA or Vault Kubernetes authentication.
SecretStore's are namespaced and therefore should only be able to reference secrets within the same namespace. This should help prevent any unauthorized cross-namespace secret access as well.

SecretStores being namespaced and referecing a k8s secret in the same namespace is fine. I think that the concern here is more about SecretStore and the provider secrets that it references being in the target namespace together with the ExternalSecret and probably the app using the final target secret. People having access to this namespace, and having access to secrets in general, would now have access to provider credentials secret.
I think that we already can make sure that we leave the SecretStores and its provider credential secrets in another arbitrary namespace with what we have now, but maybe we should make it clear in the Readme or make our default deployment workflow guarantee that somehow?

SecretStores being namespaced and referecing a k8s secret in the same namespace is fine. I think that the concern here is more about SecretStore and the provider secrets that it references being in the target namespace together with the ExternalSecret and probably the app using the final target secret. People having access to this namespace, and having access to secrets in general, would now have access to provider credentials secret.
I think that we already can make sure that we leave the SecretStores and its provider credential secrets in another arbitrary namespace with what we have now, but maybe we should make it clear in the Readme or make our default deployment workflow guarantee that somehow?

I know that having access to secrets, or having credentials to access the same secrets in the external provider is not a super big problem, if this credentials only give access to the secrets, externally.
This becomes a big problem when this credentials give access to something more, by mistake. Like having access to other cloud provider resources with misconfigured  IAM on aws or google cloud.

I know that having access to secrets, or having credentials to access the same secrets in the external provider is not a super big problem, if this credentials only give access to the secrets, externally.
This becomes a big problem when this credentials give access to something more, by mistake. Like having access to other cloud provider resources with misconfigured  IAM on aws or google cloud.

This becomes a big problem when this credentials give access to something more, by mistake. Like having access to other cloud provider resources with misconfigured IAM on aws or google cloud.

External-secrets should have docs for the supported SecretStore providers with example permissions for the minimum access needed. This would allow users to better lock down the access of the credentials used by SecretStores.

I think that the concern here is more about SecretStore and the provider secrets that it references being in the target namespace together with the ExternalSecret and probably the app using the final target secret. People having access to this namespace, and having access to secrets in general, would now have access to provider credentials secret.

I'm not sure the SecretStore resource is the best way to fix this, since the resource is namespaced and expected to reference provider secrets and be referenced within the same namespace.
ClusterSecretStore may provide a better method, since the provider secret used could be in an arbitrary namespace. Currently any namespace can create ExternalSecrets referencing a ClusterSecretStore, this does not really allow for secure multi-tenancy within a Kubernetes Cluster. A future enhancement could add the ability for ClusterSecretStore's to provide a condition clause where only those namespaces matching the condition can reference the store. Cluster administrators could create the ClusterSecretStore and then only entities in the allowlisted namespaces would be able to create ExternalSecrets referencing the store.

This becomes a big problem when this credentials give access to something more, by mistake. Like having access to other cloud provider resources with misconfigured IAM on aws or google cloud.

External-secrets should have docs for the supported SecretStore providers with example permissions for the minimum access needed. This would allow users to better lock down the access of the credentials used by SecretStores.

I think that the concern here is more about SecretStore and the provider secrets that it references being in the target namespace together with the ExternalSecret and probably the app using the final target secret. People having access to this namespace, and having access to secrets in general, would now have access to provider credentials secret.

I'm not sure the SecretStore resource is the best way to fix this, since the resource is namespaced and expected to reference provider secrets and be referenced within the same namespace.
ClusterSecretStore may provide a better method, since the provider secret used could be in an arbitrary namespace. Currently any namespace can create ExternalSecrets referencing a ClusterSecretStore, this does not really allow for secure multi-tenancy within a Kubernetes Cluster. A future enhancement could add the ability for ClusterSecretStore's to provide a condition clause where only those namespaces matching the condition can reference the store. Cluster administrators could create the ClusterSecretStore and then only entities in the allowlisted namespaces would be able to create ExternalSecrets referencing the store.

External-secrets should have docs for the supported SecretStore providers with example permissions for the minimum access needed. This would allow users to better lock down the access of the credentials used by SecretStores.

I think that this already addresses the issue and is sufficient tbh :) When we add this to the documentation we can close this issue.
I think that you are right about SecretStore resource (and the secrets that it has access to) not being the best way to fix this.
I like the allowlisted namespaces suggestion. Should we add this to the spec?

External-secrets should have docs for the supported SecretStore providers with example permissions for the minimum access needed. This would allow users to better lock down the access of the credentials used by SecretStores.

I think that this already addresses the issue and is sufficient tbh :) When we add this to the documentation we can close this issue.
I think that you are right about SecretStore resource (and the secrets that it has access to) not being the best way to fix this.
I like the allowlisted namespaces suggestion. Should we add this to the spec?

This is done, right (documented)? I am gonna glose this one, feel free to re-open if we still need to do something here.


[MINOR] Remove r from zeppelin-web test

What is this PR for?
Reducing test time to remove unused dependencies from some profile. We will reduce whole test time by removing some unused packages.
What type of PR is it?
[Improvement]
Todos

[x] - Remove R related packages from some profiles

What is the Jira issue?

MINOR

How should this be tested?

Check the CI

Screenshots (if appropriate)
Before:

After:

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

LGTM

Thanks. Will merge it


expose 30486 port failure when deploying karmada-dashboard

I'm trying to deploy karmada-dashboard on karmada host following the README.md.

The karmada-dashboard pod is created and the status is running
The karmada-dashboard service is created with type of NodePort

When using netstat to check port info on karmada host, port 30486 is not listening.
Is it caused by the limitation of kind? since there is no kube-proxy running?
Thanks.

We use "local-up-karmada.sh" to start everything.

The cluster deployed through kind is running in a docker container, which does not map 30486 to the host.
You can modify the /home/karmada/artifacts/kindClusterConfig/karmada-host.yaml file to add port mappings like this:
kind: Cluster
apiVersion: "kind.x-k8s.io/v1alpha4"
networking:
  apiServerAddress: "{{host_ipaddress}}"
nodes:
  - role: control-plane
    extraPortMappings:
      - containerPort: 5443
        hostPort: 5443
        protocol: TCP
        listenAddress: "{{host_ipaddress}}"
      - containerPort: 30486
        hostPort: 30486
        protocol: TCP
        listenAddress: "<IP_ADDRESS>"

At the same time, add the startup parameters of ip when starting local-up-karmada.sh, for example
local-up-karmada.sh 192.168.X.X

/close
We are currently refactoring the dashboard, please look at the document on the readme file.


Reload belongs to

cc @rwjblue -- This patches findBelongsTo to check relationship options for requreReload:true.  If true, this will skip loading from cache and instead load from the server.

:+1:


Bump 0.11

Tested with latest flatcar, and containers' OOMs are detected correctly:
Containers:
  oomtester:
    ...
    Last State:     Terminated
      Reason:       OOMKilled
      Exit Code:    137
      Started:      Mon, 25 Jul 2022 16:56:41 +0200
      Finished:     Mon, 25 Jul 2022 16:57:08 +0200
    Ready:          True
    Restart Count:  1

Also VPA is detecting the event just fine:
I0725 14:59:45.845672       1 cluster_feeder.go:467] OOM detected {Timestamp:2022-07-25 14:58:18 +0000 UTC Memory:52428800 ContainerID:{PodID:{Namespace:default PodName:oomtester-tfxqw} ContainerName:oomtester}}

Still can't merge and release until flatcar is deployed on MCs.


We need update!

Please update the app.

https://github.com/itszechs/DriveStream/issues/63#issuecomment-1320185243


Chat - Pin icon not showing in IOU chat in LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open staging.new.expensify.com
Navigate to IOU conversation
Pin the conversation
Verify Pin icon is visible in LHN view

Expected Result:
User should be able to see Pin icon in LHN view
Actual Result:
Pin icon can not be seen in IOU chat in LHN. It is overlapped by green dot
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[x] iOS / Safari
[x] Windows / Chrome
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/66ea275b-d6f9-49ce-87f6-aa05b11adef2
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Agreed


Support -batch

See https://github.com/sbt/sbt/issues/3091.

Not sure if there's enough interest in this issue, so I'm going to close it. I'd be happy to reopen if ppl are interested in sending a PR.


Does not respect summer/winter time changes

I have a go app running with gocron which starts tasks every day at 13:00, today the task was started at 12:00. there was end of BST yesterday and we changed our clocks by one hour. The task should be started using new time settings on server.

Lol, I hit this issue again

and I'm here again...

i will fix this bug


Initial commit of solution pack

We also built a documentation generator for SPs. We shall share with you once its available on public github. Stay tune


ci: add code coverage

Added jacoco to generate coverage report and code-cov to track coverage.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f0a927f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #16   +/-   ##
=========================================
  Coverage          ?   76.84%
  Complexity        ?       31
=========================================
  Files             ?        7
  Lines             ?       95
  Branches          ?        1
=========================================
  Hits              ?       73
  Misses            ?       22
  Partials          ?        0

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 f0a927f...44be0dd. Read the comment docs.


158 collectives have no slugs

fixed two already today, based on users reporting.
Thank you for taking the time to report an issue 🙏
The easier it is for us to reproduce it, the faster we can solve it.
So please try to be as complete as possible when filing your issue.

URL:
Logged in as: (just provide your username or the url of your profile)
Error message if any:
Expected result:
Browser:
Bonus point if you can add a screenshot :-)
Thank you and have a wonderful day/evening!
(and sorry for inconvenience! We'll do our best to solve this ASAP)

Related to: https://github.com/opencollective/opencollective/issues/659

Fix: https://github.com/opencollective/opencollective-api/pull/1022


P0 tests for terminating project

Issue:
https://github.com/rancher/qa-tasks/issues/1052
Problem:

Adding automated tests listed in the issue ^^

Solution

Added helper functions to list, create, update, delete Projects using kube api
Added P0 usecases for the issue

[x] User Addition to Cluster with Terminating Project Namespace
[x] User Addition to Project with Terminating Project Namespace

Added README

Testing

Jenkins Run

Note:

PR does not require a back port and is only applicable for 2.9

Extensions in this PR will be moved to rancher/shepherd.

Waiting on https://github.com/rancher/shepherd/pull/15 to be merged.

Update: We can't merge this until the drone failure has been addressed. The drone failure is not related to the changes in this PR. It happened because the shepherd PR https://github.com/rancher/shepherd/commit/127f4a8dd26860f33dbaef74a67b6a8fd98efc91 modified the Clusters struct, and the updated tests https://github.com/rancher/rancher/pull/43777 that are referencing it hasn't been merged yet.


Python 3.7

When us support to python 3.7 going to be added?

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

ID: 1ef8971a-b5bf-ee50-4e60-8b7d835310c6
Version Independent ID: ef161257-703a-634b-0e47-cca31a0b41c6
Content: Create and deploy Azure Functions in Python with Visual Studio Code
Content Source: articles/azure-functions/tutorial-vs-code-serverless-python.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hi @marcelmedina - Thank you for your feedback. I don't believe that there's a specific timeline that we're able to share at this time. You may engage in the discussion directly here: Azure/azure-functions-python-worker#450

Hi @marcelmedina - We will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


How to flash to NodeMCU?

Hi, thanks for the project. It's great inspiration how to put together complicated ESP SDKs inside docker. After I built the led project inside docker, I can download led.bin from localhost:8888, /firmware directory. Maybe lame question but what next? How the right way how to flash it inside NodeMCU?
Thanks and PF 2019!

I got it working! 🎉
esptool.py -p /dev/tty.Repleo-CP2102-0001 write_flash -fm dio 0x0 rboot.bin 0x1000 blank_config.bin  0x2000 led.bin
rboot.bin and blank_config.bin are from /localhost:8888/sdk/esp-open-rtos/bootloader/firmware_prebuilt/


What actually happens of an existing string gets changed?

I mean, as far as I know nothing, so the question is more like what should happen?

If you modified it, yours is kept. Otherwise, it's updated, if I recall correclty. This is the most natural way I could think of.


test: update uibuilder junit settings

This commit updates amplify-util-uibuilder to use jest-junit
settings consistent with other packages in the repo. This also
allows the report output to be picked up by the project's
.gitignore instead of creating an untracked file each time
the test suite is run.

Codecov Report

Merging #9497 (e49f9c6) into master (c207553) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9497   +/-   ##
=======================================
  Coverage   52.60%   52.60%
=======================================
  Files         820      820
  Lines       45574    45574
  Branches     9744     9744
=======================================
  Hits        23973    23973
  Misses      19599    19599
  Partials     2002     2002

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 c207553...e49f9c6. Read the comment docs.


After a session was relocated it seems to be not in the local sessions map

From martin.grotzke on May 12, 2009 01:05:35
When a session was relocated it seems to be not in the sessions map:
getSession( session.getId() ) != null
is always false...
Somehow weird, as directly before the session was added via
add( session );
Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=11

From martin.grotzke on May 11, 2009 16:16:21
It was just the wrong test:
getSession( session.getId() )
returns the session attributes, instead one has to test
sessions.get( session.getId() )
which returns the session.
So everything's fine, and the session doesn't need to be added as it was done before.
Status: Fixed


Create new attribute to allow developers to override minLines in an multiline text widget

Would this change allow the developer application to change the minLines ? Maybe minLines should be part of a new multi-line text style?
Originally posted by @aditya-07 in https://github.com/google/android-fhir/pull/1517#discussion_r933206201

@aditya-07 FYI

looking into it!


Coding:Create config.yml

Description
Created a config.yml file for Welcome-Bot to help first-time contributors

[x] newIssueWelcomeComment is complete with the correct links to this repo.

[x] newPRWelcomeComment is complete with the links to the project's stream or topic and the repo's Code of Conduct.

[x] firstPRMergeComment is complete.

Fixes #132
Type of Change:

Code

Documentation

Code/Quality Assurance Only

Bugfix (non-breaking change which fixes an issue)

New feature (non-breaking change which adds functionality pre-approved by mentors)

Required
Need to Install and give required permissions the following app by a member of the organization.
https://github.com/apps/welcome
Checklist:

[x] My PR follows the style guidelines of this project
[x] I have performed a self-review of my own code or materials
[x] I have made corresponding changes to the documentation

Code/Quality Assurance Only

[x] My changes generate no new warnings
[x] My PR currently breaks something (fix or feature that would cause existing functionality to not work as expected)
[x] Any dependent changes have been published in downstream modules

lgtm

@Techno-Disaster can you  tag other people who can review and approve this PR . Thanks in advance

@isabelcosta could you revivew this? Looks like a documentation type of PR


No content in Azure top page for Japanese

In the top page of Azure documentation for Japanese does not show main content:
https://docs.microsoft.com/ja-jp/azure/
Same page for English (or any other languages) does not have this issue:
https://docs.microsoft.com/en-us/azure/

And the Japanese page does not show the Microsoft logo, the Azure.com top menu and the search box.

@satonaoki I can't repro the issue from my end. Do you still have this issue?

Now it works for Japanese. Thanks!


MIRO 2.5: Update custom widget icons after updating to MIRO version 2.5

MIRO v2.5 (expected September/October) will come with an updated icon library. This includes some changes in icon names that need to be adapted in the custom input widget. plus-circle needs to be renamed to circle-plus.

MIRO v2.5 (expected September/October) will come with an updated icon library. This includes some changes in icon names that need to be adapted in the custom input widget. plus-circle needs to be renamed to circle-plus.

Thanks for the heads up. Will you create a corresponding pull request? ;-)


Liberal and Conservative tainting

This idea came out of a discussion with Samuel Wong.
The idea is that taint propagation falls into two different categories: direct propagation, which involves a tainted register being copied to another register, or being the input to a logic operation whose output is written to another register. Indirect propagation is when a tainted register is involved in control flow; for example if register A is tainted, and B, C and D are all untainted and you have some code:
if (read(A) > read(B))
{
       C++;
}
else
{
       D++;
}

The proposition from the discussion was to have two different modes of tainting. Liberal tainting would cause taint to be passed on in both direct and indirect propagation, whereas conservative tainting involves taint only being passed on if there is direct propagation.
To implement this, there should be a flag in the State structure which could be set or cleared by the user to determine whether tainting should be liberal/conservative. Currently (16/08/2019) this is not being implemented, with all tainting being fully liberal.

I have included this in the new issue: Explanation of taint analysis/tracking and ideas about extensions #103


CI: K8sPolicyTest Basic Test Validate to-entities policies Validate toEntities Cluster

/home/jenkins/workspace/cilium-ginkgo_cilium_master/k8s-1.10-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:410
DNS connectivity of www.google.com from pod "app2-5c44ff87c-ld8lc"
Expected command: kubectl exec -n default app2-5c44ff87c-ld8lc -- host -v www.google.com
To succeed, but it failed:
Exitcode: 1
Stdout:
 	 Trying "www.google.com.default.svc.cluster.local"
	 ;; connection timed out; no servers could be reached

Stderr:
 	 command terminated with exit code 1

/home/jenkins/workspace/cilium-ginkgo_cilium_master/k8s-1.10-gopath/src/github.com/cilium/cilium/test/k8sT/Policies.go:571

41c643e4_K8sPolicyTest_Basic_Test_Validate_to-entities_policies_Validate_toEntities_Cluster.zip

Tasks:

[ ] Validate connectivity to kube-dns before resolving hostname
[ ] Re-add cilium-monitor per node and store log, copy it into zipfile

Dup of https://github.com/cilium/cilium/issues/7721


Why do we need this repository?

I'm curious why this repository's content couldn't live under https://github.com/openshift/origin/tree/master/images/base.

This stuff isn't really origin related, it's the base for STI builder images.  so it's a different base.  the name might not be ideal.

Any reason it couldn't be in the sti repository?

strictly speaking, probably not, but there's also no requirement that STI images build on top of this image, so it's a loose coupling at best.
@mfojtik @jhadvig what do you think?

@bparees this might also be base for database image right? so that might be a reason why not to put it into STI repository.
also why not calling this image "openshift/base" ;-)

@mfojtik i dunno, who created it? :)

@bparees @jhadvig created it. I fixed the naming here: https://github.com/openshift/openshift-base/pull/4
@brenton we do need to setup trusted Docker hub builds for this repo and for the centos-7 image.

@mfojtik yes we do...  i can do that.

the github repo itself should be renamed to "sti-base" imho.
the docker image can be openshift/base-centos7 i guess, since that matches our other STI related images (no STI in the name)

+1
On Feb 16, 2015 5:28 PM, "Ben Parees"<EMAIL_ADDRESS>wrote:

the github repo itself should be renamed to "sti-base" imho.
the docker image can be openshift/base-centos7 i guess, since that matches
our other STI related images (no STI in the name)
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/openshift-base/issues/3#issuecomment-74534668
.

Thanks, this answers my questions.  I'd love to see a more useful github repo name but I know how naming things goes.  It's always going to confuse someone. :)

@brenton it's been renamed.


Installation problem: MKL_ThreadingLibrary_LINK_LIBRARY-NOTFOUND

Bug Description
When I installed flashlight on Mac, I encountered an error "MKL_ThreadingLibrary_LINK_LIBRARY-NOTFOUND" even though Intel OneAPI has already been installed.
Reproduction Steps
I followed the installation instruction to have OneAPI and vcpkg installed. Then, I ran the following command:
./vcpkg/vcpkg install flashlight-cpu

The output:
Computing installation plan...
The following packages will be built and installed:
  * arrayfire[core,cpu,unified]:x64-osx -> 3.7.3#3
  * cereal[core]:x64-osx -> 1.3.0
    flashlight-cpu[core,fl]:x64-osx -> 0.3
  * gloo[core,mpi]:x64-osx -> 20201203
  * onednn[core]:x64-osx -> 2.0#1
  * openmpi[core]:x64-osx -> 4.1.0
  * stb[core]:x64-osx -> 2020-09-14
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-osx...

-- Using cached /Users/xipengshen/Projects/OtherPrograms/vcpkg/downloads/arrayfire-arrayfire-59ac7b980d1ae124aae914fb29cbf086c948954d.tar.gz
-- Cleaning sources at /Users/xipengshen/Projects/OtherPrograms/vcpkg/buildtrees/arrayfire/src/86c948954d-c996b9f837.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/xipengshen/Projects/OtherPrograms/vcpkg/downloads/arrayfire-arrayfire-59ac7b980d1ae124aae914fb29cbf086c948954d.tar.gz
-- Applying patch build.patch
-- Using source at /Users/xipengshen/Projects/OtherPrograms/vcpkg/buildtrees/arrayfire/src/86c948954d-c996b9f837.clean
-- Using cached /Users/xipengshen/Projects/OtherPrograms/vcpkg/downloads/arrayfire-threads-b666773940269179f19ef11c8f1eb77005e85d9a.tar.gz
-- Cleaning sources at /Users/xipengshen/Projects/OtherPrograms/vcpkg/buildtrees/arrayfire/src/7005e85d9a-64aebcce4b.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/xipengshen/Projects/OtherPrograms/vcpkg/downloads/arrayfire-threads-b666773940269179f19ef11c8f1eb77005e85d9a.tar.gz
-- Using source at /Users/xipengshen/Projects/OtherPrograms/vcpkg/buildtrees/arrayfire/src/7005e85d9a-64aebcce4b.clean
-- Using cached /Users/xipengshen/Projects/OtherPrograms/vcpkg/downloads/arrayfire-forge-1a0f0cb6371a8c8053ab5eb7cbe3039c95132389.tar.gz
-- Cleaning sources at /Users/xipengshen/Projects/OtherPrograms/vcpkg/buildtrees/arrayfire/src/9c95132389-511398ace8.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/xipengshen/Projects/OtherPrograms/vcpkg/downloads/arrayfire-forge-1a0f0cb6371a8c8053ab5eb7cbe3039c95132389.tar.gz
-- Using source at /Users/xipengshen/Projects/OtherPrograms/vcpkg/buildtrees/arrayfire/src/9c95132389-511398ace8.clean
-- Configuring x64-osx-dbg
-- Configuring x64-osx-rel
-- Building x64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:146 (message):
    Command failed: /Users/xipengshen/Projects/OtherPrograms/vcpkg/downloads/tools/cmake-3.20.1-osx/cmake-3.20.1-macos-universal/CMake.app/Contents/bin/cmake --build . --config Debug --target install -- -v -j17
    Working Directory: /Users/xipengshen/Projects/OtherPrograms/vcpkg/buildtrees/arrayfire/x64-osx-dbg
    See logs for more information:
      /Users/xipengshen/Projects/OtherPrograms/vcpkg/buildtrees/arrayfire/install-x64-osx-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:105 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:45 (vcpkg_build_cmake)
  ports/arrayfire/portfile.cmake:76 (vcpkg_install_cmake)
  scripts/ports.cmake:142 (include)

Error: Building package arrayfire:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `./vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: arrayfire:x64-osx
  Vcpkg version: 2021-01-13-unknownhash

The content of the error log is:
ninja: error: 'MKL_ThreadingLibrary_LINK_LIBRARY-NOTFOUND', needed by 'src/backend/cpu/libafcpu.3.7.3.dylib', missing and no known rule to make it

Platform and Hardware
System info:
ProductName:	macOS
ProductVersion:	11.3
BuildVersion:	20E232
Darwin Kernel Version 20.4.0: Fri Mar  5 01:14:14 PST 2021; root:xnu-7195.101.1~3/RELEASE_X86_64

Compiler info (g++ -v):
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin20.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Additional Context
Intel OneAPI has been installed successfully, and its environment script has been executed. The path env vars are:
PATH=/opt/intel/oneapi/vtune_profiler/2021.2.0/MacOS:/opt/intel/oneapi/dev-utilities/2021.2.0/bin:/opt/intel/oneapi/advisor/2021.2.0/MacOS:/opt/intel/oneapi/intelpython/latest/bin:/Users/xipengshen/miniconda3/condabin:...
CPATH=/opt/intel/oneapi/tbb/latest/env/../include:/opt/intel/oneapi/mkl/latest/include:/opt/intel/oneapi/ippcp/2021.2.0/include:/opt/intel/oneapi/ipp/2021.2.0/include:/opt/intel/oneapi/dnnl/2021.2.0/cpu_iomp/lib:/opt/intel/oneapi/dev-utilities/2021.2.0/include:/opt/intel/oneapi/dal/2021.2.0/include
LIBRARY_PATH=/opt/intel/oneapi/tbb/latest/env/../lib:/opt/intel/oneapi/mkl/latest/lib:/opt/intel/oneapi/ippcp/2021.2.0/lib:/opt/intel/oneapi/ipp/2021.2.0/lib:/opt/intel/oneapi/dnnl/2021.2.0/cpu_iomp/lib:/opt/intel/oneapi/dal/2021.2.0/lib

@xipengshen — thanks for the info and for reporting. This looks like an issue with the ArrayFire port, similar to https://github.com/flashlight/flashlight/issues/573, and isn't a Flashlight issue.
Can you confirm that ./vcpkg install arrayfire[cpu] fails with the same issue, then open an issue for the ArrayFire folks — https://github.com/arrayfire/arrayfire? Thanks.


Improvement/refactor course sections

Motivation and Context
https://github.com/TUM-Dev/gocast/pull/1137 made the code shorter and brought it in a better and reactive structure. The videosections have been following an own update cycle. It would be nice to have one united update cycle experience for a lecture. Giving the user the opportunity to discard or save all changed data by one button.
Description
Integrated the course section editing to the lecture edit section.
Steps for Testing

Go to course management Page
Open a course
Edit a lecture
Add / Delete / Change Video Sections
Test: Discard & Save
Reload and check if data is persistent

Screenshots
Super reactive UX with change-set & DataProviders
https://github.com/TUM-Dev/gocast/assets/17506411/782f97cf-ea3a-44af-98d0-195ce29422e6
Complex reactive validation
https://github.com/TUM-Dev/gocast/assets/17506411/8111cfe0-6cd6-427a-93d3-b79f8e35cec6

merging #1137 created a few conflicts, can you merge them?


Support Discovery Server / Support Config Server

Added support to config server and discovery server ( and by the way refreshscope ), users can now set their modules.
Todo : Add a bootstrap yml file for each modules..

Tabs fixed

Hi,
I am afraid we can't add @EnableEurekaClient to all of the apps since it is not a requirement of our 'out of the box' apps to have Eureka installed.  If Eureka is not installed, lots of exception traces are shown all over the place. What if you were using Consul for service discovery?
We have been quite actively thinking of this use case and are working on a version of Spring Initialzr (what powers start.spring.io) that will make it super easy for you to create your own variations of the out of the box applications that add any necessary dependencies and config files to get started.
The new home for 'spring-cloud-stream-modules' will be spring-cloud-stream-app-starters .  As you can see from the name, the main focus is to help give users a starting point to customize our out of the box apps to their needs.
The fork of initialzr is just underway (will be incorporated into the main project eventually) here - http://start-scs.cfapps.io/  and a maven plugin for spring-cloud-stream-app-starters to generate the directories such as log-sink-kafka is just getting started here.
Providing feedback into any of those projects would be extremely welcome!

I'm so happy to see such tools and hope I could use it quickly ! Is there any way to help you to develop other app starters ? In my use case I would be happy to help you to develop a rabbit source and a gpfdist sink because it's what I need but I can do other modules too


Fix null value used for CppRestSDK json::value

The null value for a web::json::value was incorrectly set using the
enum web::json::value::NULL rather than web::json::value::null().
This will lead to the value being the numeric value of the enum,
rather than the intended 'null'.

Thanks!


grid option in labeling interface breaks labeling

The following configuration breaks labeling interface - one can not assign a label to a rectangle:
<View>
  <RectangleLabels name="label" toName="image">
    <Label value="Airplane" background="green"/>
    <Label value="Car" background="blue"/>
  </RectangleLabels>
  <Image name="image" value="$image" grid="true" gridSize="40"/>
</View>

If you remove grid="true" gridSize="40" from Image tag then you can assign a label to a rectangle.
Environment (please complete the following information):

Label Studio Version == 1.6

I am also having this issue in version 1.12.0, community edition. When I add a grid to the labeling interface code, I loose the ability to annotate. The grid is important for my case because many of my images have large sections of empty and homogenous background and we are labeling relatively small objects (birds on water from 1200 ft above ground). Using the default settings when setting up a project (airplanes), adding grid="true" to the JSON does not allow labeling:
<View>
  <Image name="image" value="$image" grid="true"/>
  <RectangleLabels name="label" toName="image">
    <Label value="Airplane" background="green"/>
    <Label value="Car" background="blue"/>
  </RectangleLabels>
</View>

Does not work. When the grid="true" is removed, label works correctly.
Thanks.


demonstrate group lasso with example

http://genes.mit.edu/burgelab/maxent/ssdata/MEMset/

also tikhonov maybe?

What exactly is the task in this case? I'm not familiar with this dataset, do you know if there is a paper associated with the data?

@themantalope Section 5 in this paper describes the data: ftp://ftp.stat.math.ethz.ch/Manuscripts/buhlmann/lukas-sara-peter.pdf
The task is to apply pyglmnet's group lasso feature to this dataset as an illustrative example. see example docs here: http://pavanramkumar.github.io/pyglmnet/auto_examples/index.html

@themantalope is working on this


Restoring production backup into tenant within container with V16

Hi,
I have a working script to restore production data into docker container using SQL server express in the container for testing apps and it's been working fine for V15 versions of Business Central but now V16 has been released and when I try my script it errors with "The transaction operation cannot be performed because there are pending requests working on this transaction." when mounting the tenant database.
I had this issue when I restored the database into a hosted SQL server using 2019 RTM and I worked out that by upgrading to CU2 (latest version at the time) fixed the issue.
Any help why this has stopped working in V16 would be grateful.
This is my script
install-module navcontainerhelper -force

$auth = "UserPassword"
$credential = New-Object PSCredential 'admin', (ConvertTo-SecureString -String 'P@ssword1' -AsPlainText -Force)
$imageName = "mcr.microsoft.com/businesscentral/sandbox:gb-ltsc2019"
#$imageName = "mcr.microsoft.com/businesscentral/sandbox:15.4.41023.41932-gb-ltsc2019"
$containerName = "BC365"
$ServerInstance = "BC"

Remove-BCContainer $containerName

New-BCContainer `
    -accept_eula `
    -accept_outdated `
    -containerName $containerName `
    -imageName $imageName `
    -auth $auth `
    -Credential $credential `
    -multitenant `
    -alwaysPull `
    -updateHosts `
    -licenseFile 'c:\temp\7275031.flf' `
    -memoryLimit 10G

$tenantBacpac = "C:\ProgramData\NavContainerHelper\Production_20200326_03.bacpac"
$tenantId = "mydata"
$removeApps = @("Jet Library";"Jet Reports";"Jet Report Queries";"Job Queue Alert")
$RenameCompanyName = "LIVE"
$NewCompanyName = "CRONUS LIVE"
$DeleteCompanyName = 'Data-Template'

Invoke-ScriptInBCContainer -containerName $containerName -scriptblock { Param($tenantId, $tenantBacpac, $removeApps,$RenameCompanyName,$NewCompanyName,$DeleteCompanyName,$ServerInstance)
    Restore-BacpacWithRetry `
        -bacpac $tenantBacpac `
        -databasename $tenantId `
        -maxattempts 1

    $removeApps | ForEach-Object {
        Write-Host "USE [$tenantId] DELETE FROM [dbo].[NAV App Published App] WHERE Name = '$_' DELETE FROM [dbo].[NAV App Installed App] WHERE Name = '$_'"
        Invoke-Sqlcmd -Query "USE [$tenantId] DELETE FROM [dbo].[NAV App Published App] WHERE Name = '$_' DELETE FROM [dbo].[NAV App Installed App] WHERE Name = '$_'"
    }

    Write-Host "Mount $tenantId"
    Mount-NavTenant `
        -ServerInstance $ServerInstance `
        -id $tenantId `
        -databasename $tenantId `
        -databaseserver localhost `
        -databaseinstance SQLEXPRESS `
        -EnvironmentType Sandbox `
        -OverwriteTenantIdInDatabase `
        -Force

    Write-Host "Sync $tenantId"
    Sync-NavTenant `
        -ServerInstance $ServerInstance `
        -Tenant $tenantId `
        -Force

    Write-Host "Sync Apps"
    Get-NAVAppInfo -ServerInstance $ServerInstance -Tenant $tenantId | % { Sync-NAVApp -ServerInstance $ServerInstance -Tenant $tenantId -Name $_.Name -Version $_.Version }

    Write-Host "Start Data upgrade"
    Start-NavDataUpgrade -ServerInstance $ServerInstance -Tenant $tenantId -FunctionExecutionMode Serial -Force
    Get-NavDataUpgrade -ServerInstance $ServerInstance -Tenant $tenantId -Progress -Force

    Write-Host "Delete $DeleteCompanyName"
    Remove-NAVCompany -ServerInstance $ServerInstance -Tenant $tenantId -CompanyName $DeleteCompanyName -Force

    Write-Host "Rename $RenameCompanyName to $NewCompanyName"
    Rename-NAVCompany -ServerInstance $ServerInstance -Tenant $tenantId -CompanyName $RenameCompanyName -NewCompanyName $NewCompanyName -Force

    Write-Host "Delete users"
    Get-NAVServerUser -serverinstance $ServerInstance -Tenant $tenantId | % { if (-NOT ($_.UserName -eq 'IAN.ALDRIDGE')){Remove-NAVServerUser -ServerInstance $ServerInstance -Tenant $tenantId -UserName $_.UserName -Force }}

    Write-Host "USE [$tenantId] UPDATE [dbo].[Company] SET [Evaluation Company] = 1 WHERE (Name = '$NewCompanyName')"
    Invoke-Sqlcmd -Query "USE [$tenantId] UPDATE [dbo].[Company] SET [Evaluation Company] = 1 WHERE (Name = '$NewCompanyName')"

} -argumentList $tenantId, (Get-BCContainerPath -containerName $containerName -path $tenantBacpac), $removeApps, $RenameCompanyName, $NewCompanyName, $DeleteCompanyName, $ServerInstance

$credential = New-Object PSCredential 'ia', (ConvertTo-SecureString -String 'P@ssword1' -AsPlainText -Force)

New-NavContainerNavUser `
    -containerName $containerName `
    -Credential $credential `
    -ChangePasswordAtNextLogOn:$false `
    -PermissionSetId SUPER `
    -tenant $tenantId

Restart-NavContainer -containerName $containerName

And the output
Removing container BC365
Removing BC365 from host hosts file
Removing C:\ProgramData\NavContainerHelper\Extensions\BC365
NavContainerHelper is version <IP_ADDRESS>
NavContainerHelper is running as administrator
Host is Microsoft Windows 10 Pro - 1909
Docker Client Version is 19.03.8
Docker Server Version is 19.03.8
Pulling image mcr.microsoft.com/businesscentral/sandbox:gb-ltsc2019
gb-ltsc2019: Pulling from businesscentral/sandbox
Using image mcr.microsoft.com/businesscentral/sandbox:gb-ltsc2019
Creating Container BC365
Version: 16.0.11240.11946-gb
Style: sandbox
Platform: 16.0.11233.11920
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.973 (ltsc2019)
Host OS Version: 10.0.18363.752 (1909)
The container operating system does not match the host operating system, forcing hyperv isolation.
Using locale en-GB
Using hyperv isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file c:\temp\7275031.flf
Files in C:\ProgramData\NavContainerHelper\Extensions\BC365\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container BC365 from image mcr.microsoft.com/businesscentral/sandbox:gb-ltsc2019
3f0db6e71bb37e9805846936aae61818a4f0b3fd8c0de5dce3dfef358ba4157e
Waiting for container BC365 to be ready
Initializing...
Setting host.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is BC365
PublicDnsName is BC365
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from Financialsgb to tenant
Taking database Financialsgb offline
Copying database files
Attaching files as new Database tenant
Putting database Financialsgb back online
Removing Database Financialsgb from localhost\SQLEXPRESS
Exporting Application to Financialsgb
Removing Application from tenant
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 9EDDDB11FC29E520E58B9CF32A57A12C45027286
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting Database for default on server localhost\SQLEXPRESS
Sync'ing Tenant
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Container IP Address: <IP_ADDRESS>
Container Hostname  : BC365
Container Dns Name  : BC365
Web Client          : http://BC365/BC/?tenant=default
Dev. Server         : http://BC365
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting BC365 to <IP_ADDRESS> in host hosts file

Files:
http://BC365:8080/ALLanguage.vsix

Initialization took 115 seconds
Ready for connections!
Reading CustomSettings.config from BC365
Creating Desktop Shortcuts for BC365
Container BC365 successfully created
Restoring Database from C:\ProgramData\NavContainerHelper\Production_20200326_03.bacpac as mydata
USE [mydata] DELETE FROM [dbo].[NAV App Published App] WHERE Name = 'Jet Library' DELETE FROM [dbo].[NAV App Installed App] WHERE Name = 'Jet Library'
USE [mydata] DELETE FROM [dbo].[NAV App Published App] WHERE Name = 'Jet Reports' DELETE FROM [dbo].[NAV App Installed App] WHERE Name = 'Jet Reports'
USE [mydata] DELETE FROM [dbo].[NAV App Published App] WHERE Name = 'Jet Report Queries' DELETE FROM [dbo].[NAV App Installed App] WHERE Name = 'Jet Report Queries'
USE [mydata] DELETE FROM [dbo].[NAV App Published App] WHERE Name = 'Job Queue Alert' DELETE FROM [dbo].[NAV App Installed App] WHERE Name = 'Job Queue Alert'
Mount mydata
The following SQL error was unexpected:
The transaction operation cannot be performed because there are pending requests working on this transaction.

at <ScriptBlock>, <No file>: line 13
The following SQL error was unexpected:
The transaction operation cannot be performed because there are pending requests working on this transaction.
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Invoke-ScriptInNavContainer.ps1:37 char:13
+             Invoke-Command -Session $session -ScriptBlock $scriptbloc ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (0:Int32) [Mount-NAVTenant], FaultException`1
    + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC/mydata,Microsoft.Dynamics.Nav.Management.Cmdlets.MountNavTenant
    + PSComputerName        : 3f0db6e71bb37e9805846936aae61818a4f0b3fd8c0de5dce3dfef358ba4157e

and your online tenant was already converted to 16.0?

No it's at V15.4

Then you will have to restore it to a 15.4 locally - and then upgrade to a 16.0 later using a normal upgrade mechanism. The above script is only mounting a tenant, doing a data upgrade.


Handling exceeding file size

Is there a way to intercept when a file that I upload exceeds the value set in ngf-max-size? Selecting a larger file just closes the file selection dialog and i can catch the watcher on the model but the model is null so I cannot see what has changed. I cannot use oninvalid event since it is not rendered as input and i cannot use ng-model-rejected because it is for rejected file types. Any solution?

ng-model-rejected  will return rejected file sizes as well

Right, I had a typo in the code: ngf-model-rejected , analogue to other properties. It works fine now, thanks and sorry to raise an issue on my own error


Update Logic Manager Test

Coverage increased (+0.2%) to 60.787% when pulling 85dc15b507a570df2fe5d97262de005f4fa08227 on luishengjie:master into 381de11da7d33ab253943e3f031ae6c19b333133 on CS2103JUN2017-T4:master.


Expander reserves internal needed space before expanding

Hey folks,
I've created a small project to see, whether my observations are coming from my project or MahApps. And sadly it comes from MahApps.
An Expander, nested in a Grid, reserves the space for the internal elements, before it will be expanded. After collapsing the Expander behaves like expected.
MahApps.Metro v2.0.0

So I changed the version to the previous stable v1.6.5:
MahApps.Metro v1.6.5

MahApps.Metro version v2.0.0 and v1.6.5
Win10 1909
Visual Studio 2019 16.6.0
.NET Framework 4.8

@seba30 Thx for reporting this issue. It's now fixed with #3816 and will be available with the next release.


Change linebreak-style rule from error to warning

Currently it prevents people with Windows machines to commit solutions.

@mikhama, please review.

@mikhama, any updates?

Hello,
It can't prevents commit people with Windows machines. But on Windows machines you need to install git bash properly.
When installing git bash, there is an option "Checkout as is, commit as is". This option helps work on Windows with any repo.
There are a lot of repos with such eslint config.

A few issues with your statement. Git Bash on Windows recommends to use different option without much explaining it. Second not every one on windows use git bash, some IDEs have git included or installed quietly without asking any options to set. I know that it’s easy to google out the solution to all this. But, and it’s a big but, we are dealing with the almost total beginners. The course itself very overwhelming, and just imagine dealing with the cryptic 2000+ errors on something called CRLF vs LF. Quite a lot of messages on the Poland’s RS school channel was regarding this line ending issue.  Shouldn’t we as a school be more accessible for beginners? I have just proposed the easiest solution.
The other one could be a better documentation then, as most of the students are using Windows machines.

I don't think so. I know, the course is very hard. And one major thing that you can learn here - it's how to troubleshoot issues. Via googling, collaboration, etc. I cannot believe that nobody resolved this issue with line endings.
One of the aims of enabling eslint with airbnb style guide in this task is to enforce students resolve linter issues / read and google. And LF endings - it's one main rules of airbnb style guide.

The other one could be a better documentation then, as most of the students are using Windows machines.
I'd appreciate if you can add how to resolve this issue to readme of this repo))

Appealing to an AirBnB “standard” doesn’t mean that they are right. Please read this thread https://github.com/airbnb/javascript/pull/1224. There’s no particular reason having LF enforced, just a pure ignorance. Too bad I was not able to convince you. Take care.

Sorry, but I also use Windows machine, and I don't understand why there is a problem with right setting up of git bash.


Env templates for local and production

Add env templates for local usage

can you assign me? @pramaths

can you assign me? @pramaths

Hey already assigned to someone. I am creating more issue I will assign it to you


remove FDP_ACC_EXT.1.1

The security value here isn't clear.
http://common-criteria.rhcloud.com/webbrowser/output/webbrowser.html#FDP_ACC_EXT.1.1

AS approved removal. Commented out. Update pushed.


Modify axes orders for optimal pipeline parallelism performance

Description
Modify axes orders for optimal pipeline parallelism performance
Tests
DP + TP over ICI, PP + DP over DCN XPROF - swapping the order is necessary to

Avoid an XLA bug where DCN axis must be first b/339009148
Stage should be first due to reshape of microbatch for the "activation_and_embed" batch

Checklist
Before submitting this PR, please make sure (put X in square brackets):

[x] I have performed a self-review of my code.
[x] I have necessary comments in my code, particularly in hard-to-understand areas.
[x] I have run end-to-end tests tests and provided workload links above if applicable.
[x] I have made or will make corresponding changes to the doc if needed.

Thanks Matt for the fix!
Is this a right summary:

Without PP over DCN, the data parallelism config needs to be the 1st one to yield better perf;
With PP over DCN, the stage config needs to be the 1st (before data) to yield better perf, so we need a helper function to swap.

Yes! For some configs it is perf we are chasing but also "core halted" errors when the DCN sharded axes is not first in the list


Footer and navbar

Add layout footer and navbar

@Mourice-Adero Please take on the footer

Take the 2nd  or 4th design ort the first in the ⬆  picture above


"Dokument mit QR-Code" screen not scrollable

Describe the bug
Lower text on QR code screen not readable because it's off bounds

Expected behaviour
Scrolling works
Steps to reproduce the issue

"Informieren und Helfen"
"Weiter"
"Dokument mit QR-Code"
"Erlauben"
Try to scroll

Technical details

Mobile device: Huawei P10
Android version: 9

Internal Tracking ID:  EXPOSUREAPP-3436

Same on Samsung A5 2017 with Android 8.0.
I can read one line more, so it seems it depends in the devices screen how much of the text is displayed.
It should be scrollable if the screen is too small.

Code location: https://github.com/corona-warn-app/cwa-app-android/blob/74b3f37cfe215a8e1e49c484671f5e0881c37f9a/Corona-Warn-App/src/main/res/layout/fragment_submission_qr_code_info.xml#L25

Dear @real-or-random and @DerVogel2020,
Thank you for your contributions.
There is a ticket for the bug (Internal Tracking ID: EXPOSUREAPP-3436) in the internal Jira system. The developers will look into this issue. Any further developments will be notified here in this Github issue.
Best wishes,
DS
Corona-Warn-App Open Source Team

Opened a PR which fixes this issue. The ScrollView was not constraint against the button and therefore it had enough space to not scroll.

@PhilippNowak96

Opened a PR which fixes this issue. The ScrollView was not constraint against the button and therefore it had enough space to not scroll.

It looks like the PR you mentioned is https://github.com/corona-warn-app/cwa-app-android/pull/1662.

I just updated to 1.7.1 and the error still occurs.

@DerVogel2020  I think that's expected. The fix is not in the 1.7 branch (but in the 1.8 branch), see the fixing commit.

Okay.

@real-or-random, @DerVogel2020, Should be fixed now. Once you got updated to CWA 1.9.1, we would appreciate your feedback. Thanks. DS

Corona-Warn-App Open Source Team

Ok, it's not as I expected because the entire view has been replaced... But yes, it's fixed with 1.9.1.  :+1:

Resolved for me.

Hi @DerVogel2020, @real-or-random, thanks for the feedback. Best, DS

Corona-Warn-App Open Source Team


Looks like  have a fixed height

When I set lineHeight for RichText I would like to also change the height of the new line that
 creates, but it seems to be fixed

I don't know if this is really the problem because I just fixed it by replacing one
 with


Allow UI to change TUN ip information

Right now the TUN ip is set via a config file and that's the only way to change the TUN ip/mask. Consider exposing this to the UI so a user without admin rights can change these values.

This is implemented a while ago. Hence closing the issue.