Figure out to limit access to states based on groups

Currently, JHipster uses the following configuration:
$stateProvider.state('jhi-health', {
    parent: 'admin',
    url: '/health',
    data: {
        authorities: ['ROLE_ADMIN'],
        pageTitle: 'health.title'
    }

The AngularJS SDK from Stormpath requires the following syntax:
$stateProvider.state('jhi-health', {
    parent: 'admin',
    url: '/health',
    sp: {
        authorize: {
            group: 'ROLE_ADMIN'
        }
    }

However, adding this configuration and listening for the $stateChangeUnauthorized event in home.controller.js doesn't work.
$rootScope.$on('$stateChangeUnauthorized',function(e,toState,toParams){
    $state.go('accessdenied');
});

Figured out states weren't getting intercepted because the following was missing from a run block:
$stormpath.uiRouter({
    defaultPostLoginState: 'home',
    loginState: 'login'
});

However, there's still work to be done to change all the states from:
data: {
    authorities: ['ROLE_ADMIN'],
    pageTitle: 'logs.title'
},

To:
sp: {
    authorize: {
        group: 'ROLE_ADMIN'
    }
}


Revert "fix!: update max_contract_bytecode_size to 81k (#1549)"

This reverts commit 50d03068c432acf38f43a5908cc7f579fcf0c787.

This change is

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

Comparison is base (50d0306) 69.64% compared to head (5d073fb) 69.64%.

Additional details and impacted files
@@              Coverage Diff              @@
##           main-v0.13.1    #1553   +/-   ##
=============================================
  Coverage         69.64%   69.64%
=============================================
  Files                59       59
  Lines              8173     8173
  Branches           8173     8173
=============================================
  Hits               5692     5692
  Misses             2015     2015
  Partials            466      466

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

No need to revert. Python side was merged.


Support CompileFlags order and include replacement.

Hello again,
This is a follow-up to the issue I opened yesterday.
Thank you @HighCommander4 for your comment.
After some more research, and comparison of the compilation command between the Arduino CLI and clangd, I found some inconsistencies between the compilation commands.
Again, for a running sample see here.
One inconsistency is that the file is being compiled with the -x c++-header flag. Makes sense that clangd doesn't know .ino files are supposed to be .cpp files. To fix, I created this .clangd configuration:
If:
  PathMatch: .*\.ino
CompileFlags:
  Remove: -x
  Add: [-xc++]

However, the -xc++ flag is being appended to the very end of the command.
C:\Users\falve\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\arm-none-eabi-g++.exe --target=arm-none-eabi --driver-mode=g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DF_CPU=48000000L -DARDUINO=10607 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON -DUSB_MANUFACTURER="Arduino LLC" -DUSB_PRODUCT="Arduino MKR WiFi 1010" -DUSE_BQ24195L_PMIC -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/ -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/ -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\cores\arduino/api/deprecated -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\cores\arduino/api/deprecated-avr-comp -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\cores\arduino -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\variants\mkrwifi1010 -std=gnu++11 c:\source\repos\clangd-arduino\clangd-arduino.ino -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include/c++/7.2.1 -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include/c++/7.2.1/arm-none-eabi -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include/c++/7.2.1/backward -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/include -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/include-fixed -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include -xc++ -fsyntax-only -resource-dir=c:\Users\falve\AppData\Roaming\Code\User\globalStorage\llvm-vs-code-extensions.vscode-clangd\install\12.0.0\clangd_12.0.0\lib\clang\12.0.0

in reality, it should come before the source input file in the command:
C:\Users\falve\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\arm-none-eabi-g++.exe --target=arm-none-eabi --driver-mode=g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DF_CPU=48000000L -DARDUINO=10607 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON -DUSB_MANUFACTURER="Arduino LLC" -DUSB_PRODUCT="Arduino MKR WiFi 1010" -DUSE_BQ24195L_PMIC -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/ -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/ -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\cores\arduino/api/deprecated -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\cores\arduino/api/deprecated-avr-comp -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\cores\arduino -IC:\Users\falve\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\variants\mkrwifi1010 -xc++ -std=gnu++11 c:\source\repos\clangd-arduino\clangd-arduino.ino -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include/c++/7.2.1 -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include/c++/7.2.1/arm-none-eabi -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include/c++/7.2.1/backward -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/include -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/include-fixed -isystem c:\users\falve\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include -fsyntax-only -resource-dir=c:\Users\falve\AppData\Roaming\Code\User\globalStorage\llvm-vs-code-extensions.vscode-clangd\install\12.0.0\clangd_12.0.0\lib\clang\12.0.0

The compiler complains:
arm-none-eabi-g++.exe: warning: '-x c++' after last input file has no effect
Edit:
I am also trying to figure out if there is a way to perform include style replacement. E.g.:
Replace All -isystemc:/some/path/to/include/ with -Ic:/some/path/to/include/ as the compiler I am using implicitly performs C linkage for -isystem includes. In the meantime going to see if there is another way to address this.
Edit 2:
It is a bug with this compiler from 2017. So I doubt I will ever see an update that addresses the bug directly. A replacement will be the ideal solution.
System information
clangd version 11.0.0
Editor/LSP plugin: VSCode clangd
Operating system: Windows 10 x64 Version 10.0.19043 Build 19043

unfortunately this is a dupe of #555.
as for the replacement of parts of flags, it is not something we support today, but might consider.

unfortunately this is a dupe of #555.
as for the replacement of parts of flags, it is not something we support today, but might consider.

@kadircet I resolved the second issue by manually upgrading the compiler, for now, but this may break the rest of the Arduino framework.

Looks like this one is fixed now: https://github.com/clangd/clangd/issues/555#event-5061633899

Yep, -x is fixed.
(Meanwhile, I don't think we've seen other cases that need search/replace in args)


[ZEPPELIN-6101] Remove cluster interpreter

What is this PR for?
Remove the cluster interpreter that uses raft-server.
What type of PR is it?
Improvement
Todos

[x] Remove cluster interpreter, plugin
[x] Remove cluster code in ZeppelinServer
[x] Remove config related cluster
[x] Remove atomix-raft dependency
[x] Remove cluster test code

What is the Jira issue?
ZEPPELIN-6101
How should this be tested?
CI
Screenshots (if appropriate)
Questions:

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

@proceane thank you for taking care of this. At first glance there are still some files/code that could be cleaned, I will take a detailed look at the end of this week.

the code removal looks clean and complete. I have pushed an additional commit to purge the unnecessary dependencies, (e.g. amotix, grpc, guava), now the zeppelin-interpreter-shaded-<version>.jar is reduced from 20MiB to the 9MiB.
CI is green and I also made an integration test with spark interpreter, on yarn cluster mode, everything goes well.
also cc @jongyoul

Merged to master/0.12


Key value store on workers for storing global variables

Workers are Python processes, and global variables defined in the worker processes can be shared between tasks that execute on the same worker process. There are two conflicting requirements:

If users allow tasks to mutate global variables, then workers are stateful and the behavior of an application will depend on which nodes tasks get scheduled on. This will likely cause subtle bugs and prevents users from thinking about tasks in a purely functional way.
Global variables whose state can be mutated may be required in some situations to amortize the cost of initializing these variables. For example, an OpenAI gym environment or a TensorFlow graph should probably only be created once per worker. When it is used, the gym environment is necessarily mutated (note that the mutated state is not in Python but in C). The user may have to manually reset the gym environment (by calling env.reset()).

Therefore, the solution should make it possible to have stateful global variables that can be mutated within a remote task, but it should feel wrong or hard to mutate them without resetting them at the end of a remote task. Additionally, it should make it easy to catch bugs that result from not resetting these global variables.
Possible approach:

Allow global variables, but require them to be accessed through a key value store (e.g., through ray.put_global and ray.get_global).
Allow ray.put_global to be called only in a special function worker_initialization_function, which runs on every worker (including workers created later on).

Possibility 1
import numpy as np
import gym
import ray

num_steps = 20

def initialize_env():
    return gym.make("Pong-v0") # env is not serializable, so this line must run on all workers.

def reinitialize_env(env):
    env.reset() # some use cases may require the ability to call put_worker_variable again

ray.register_worker_variable(“env”, initialize_env, reinitialize_env)

ray.services.start_ray_local() # Start Ray

@ray.remote([], [float])
def play_gym_game():
    env = ray.get_worker_variable(“env”) # This gets the global variable.
    cumulative_reward = 0
    for i in range(num_steps):
        action = np.random.randint(0, 5) # choose a random action
        _, reward, _, _ = env.step(action) # This mutates the state of the global variable “env”
        cumulative_reward += reward
    return cumulative_reward

Possibility 2
import numpy as np
import gym
import ray

num_steps = 20

def initialization_function(): # this takes no arguments, and returns nothing
    env = gym.make("Pong-v0") # env is not serializable, so this line must run on all workers.
    ray.put_worker_variable(“env”, env)

def reinitialization_function():
    ray.get_worker_variable(“env”).reset()

ray.services.start_ray_local(worker_initialization_function=initialization_function) # Start Ray and run initialization_function on every worker.

@ray.remote([], [float])
def play_gym_game():
    env = ray.get_worker_variable(“env”) # This gets the global variable.
    cumulative_reward = 0
    for i in range(num_steps):
        action = np.random.randint(0, 5) # choose a random action
        _, reward, _, _ = env.step(action) # This mutates the state of the global variable “env”
        cumulative_reward += reward
    return cumulative_reward

Possibility 3
import numpy as np
import gym
import ray

num_steps = 20

def initialization_function(): # this takes no arguments, and returns nothing
    return gym.make("Pong-v0") # env is not serializable, so this line must run on all workers.

def reinitialization_function(env):
    env.reset()

ray.reusable.env = (initialization_function, reinitialization_function)

ray.services.start_ray_local(worker_initialization_function=initialization_function) # Start Ray and run initialization_function on every worker.

@ray.remote([], [float])
def play_gym_game():
    env = ray.reusable.env # This gets the global variable.
    cumulative_reward = 0
    for i in range(num_steps):
        action = np.random.randint(0, 5) # choose a random action
        _, reward, _, _ = env.step(action) # This mutates the state of the global variable “env”
        cumulative_reward += reward
    return cumulative_reward

This is partially addressed by #283.


2024 winter

create pull request

I see a not entirely correct display of commits. The main and 2023-autumn branches were merged correctly. All changes from the 2023-autumn branch were transferred to the main branch, but unfortunately in the commits the main request pool is displayed as not merged. You can check the correctness and correct type of files by going to the repository and the corresponding branches.


fix(ci): remove sonarcloud

Fixes #658.

<3
On Sat, 25 Mar 2023, 13:00 Felipe Zipitría, @.***>
wrote:

@fzipi https://github.com/fzipi requested review from
@corazawaf/core-developers on: #738
https://github.com/corazawaf/coraza/pull/738 fix(ci): remove sonarcloud
as a code owner.
—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza/pull/738#event-8845247647, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYAUVP6W3F6C5YSEVGDDW53M7DANCNFSM6AAAAAAWHPSSBE
.
You are receiving this because your review was requested.Message ID:
@.***>


Deployer never succeed when there is a lot of tx/s

Describe the bug
When we have more than 500 tx/s that are smart contract calls and each one generate an event, it charge the event store of the node that keep only the latest 10k events. So when someone want to use the deployer that wait for finality before fetching the event he nerver fetch the deploy event and so block.
To Reproduce
Steps to reproduce the behavior:

Use the deployer
Deploy
Wait

Expected behavior
The SC is deployed and we have the address displayed
Screenshots
https://discord.com/channels/828270821042159636/1077141599236132914/1077141599236132914
Versions
dev
Additional context
I think it could be possible to use the polling of events to get the event before the finality and wait for finality afterwards.

Lined PR solving this problem: https://github.com/massalabs/massa-sc-toolkit/pull/121

This issue also impacts. cc @SlnPons


Add support for concurrent invocations to crawl

PlaywrightCrawler creates a lock file and fails when the crawl is invoked concurrently. There is a property running for the class through which we can validate if there is an instance running. We should spawn a process with Playwright to resolve the crawl job.
@BikeF

Hey @adityak74,
I made some attempts to solve this problem, but I was not successful.
Any progress on your side?

@adityak74 As far as I remember I tried the following:
-Storage is created after the first request. A new request doesn't matter if there is storage. So I tried clearing after the request completed.
https://crawlee.dev/docs/guides/request-storage#cleaning-up-the-storages
https://stackoverflow.com/questions/74709844/how-to-reset-crawlee-url-cache
-maxRequestsPerCrawl
https://crawlee.dev/api/playwright-crawler/interface/PlaywrightCrawlerOptions#maxRequestsPerCrawl
I think here are the things that will do what we want so I'll try to integrate them into the existing code.
https://crawlee.dev/docs/guides/parallel-scraping


Apache-Superset on linux based VM

I installed Apache-Superset on linux based VM. I can log in to the system but there is an error when I tried to access the sample dashboards in the system.

Please share details of the error


Building the training docker image fails

This seems to be related to the EOL of python3.5, which is the latest python version for xenial. see here https://stackoverflow.com/questions/65888892/why-i-cant-install-the-numpy-package-using-pip-on-ubuntu-16-04
This could probably be solved by:

fixing the numpy version to something compatible with python3.5
installing python3.6< using e.g. deadsnakes ppa
using ubuntu bionic or newer (if that doesn't break everything)

Step 16/21 : RUN pip3 install --upgrade pip 	&& pip3 install numpy 	&& pip3 install git+https://github.com/sequitur-g2p/sequitur-g2p@master
 ---> Running in 44715c82e76e
Collecting pip
  Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB)
Installing collected packages: pip
  Found existing installation: pip 8.1.1
    Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed pip-21.0.1
Traceback (most recent call last):
  File "/usr/bin/pip3", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.5/dist-packages/pip/__init__.py", line 16, in main
    from pip._internal.utils.entrypoints import _wrapper
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/utils/entrypoints.py", line 3, in <module>
    from pip._internal.cli.main import main
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 60
    sys.stderr.write(f"ERROR: {exc}")
                                   ^
SyntaxError: invalid syntax
The command '/bin/sh -c pip3 install --upgrade pip 	&& pip3 install numpy 	&& pip3 install git+https://github.com/sequitur-g2p/sequitur-g2p@master' returned a non-zero code: 1

Good to see it wasn't just me with this problem. i solved it by using the python3.7(?) docker image instead. But that image is like twice as big. maybe python3.7-slim would be enough.

You can fix this (at least) temporarily by doing pip3 install --upgrade "pip < 21.0"

this is resolved now.


Change UpdateRepoIndex api to include watchers

This PR changes the UpdateRepoIndex api to include any number of error channel watchers.

Codecov Report

Merging #7012 into master will increase coverage by <.01%.
The diff coverage is 90%.

@@            Coverage Diff             @@
##           master    #7012      +/-   ##
==========================================
+ Coverage   41.49%   41.49%   +<.01%
==========================================
  Files         440      440
  Lines       59453    59457       +4
==========================================
+ Hits        24670    24674       +4
  Misses      31563    31563
  Partials     3220     3220

Impacted Files
Coverage Δ

models/repo_indexer.go
67.08% <90%> (+0.55%)
:arrow_up:

Continue to review full report at Codecov.

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

It seems UpdateRepoIndexer was not be really invoked?

@lunny It is called in multiple places, other places just does not need to be changed as watchers are optional arguments


A way to display the most viewed one's or liked one's.

@gullapalli9482 is it possible for you to expand on the issue you opened? Thank you.

What i was trying to convey was that , it could be much more interactive and helpful to new user's like me if there was a way to display the most viewed profiles profiles , which were liked or viewed by previous users, who came to check new profiles on the awesome-github-profiles page previously.(hope i was able to convey my intention properly.)

Thank you, @gullapalli9482 I understand what you mean now.

Your welcome.

Not sure about the most viewed one, but liked one can be processed

Can be implemented in the coming API 👍

Haha love how @krshkodes keeps fighting with the bot over the stale status 😂😭
Is this still being considered ?

HI @jaas666, this issue has been on hold for a nextjs migration of the project!

Good. Thanks.


AllowPrerelease parameter cannot be found

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/3094#issuecomment-536321499

Hello, you are using a too old version of NuGet that doesn't support this argument.
Follow instructions to update it and tell me ;)

I have been using Nuget 6.0.0.
The problem is solved after I run the following command:
PS C:\Users\isliy> Install-Module -Name PowerShellGet -Repository PSGallery -Force
PS C:\Users\isliy> Install-Module -Name MicrosoftStaffHub -AllowPrerelease -Force


Support read-only proxy

Related to https://github.com/buchgr/bazel-remote/issues/59, I have a setup where developer machines have a local cache they write to, as discussed in https://github.com/bazelbuild/bazel/issues/5139, however to proxy to the shared cache that CI writes to one must also enable writing to it, as there is no configuration knob for that. I could disable writing to the cache on the client side, but then we wouldn't be using the cache running locally as a directory cache.

This also makes it safer to provide a publicly available cache, it provides the benefits of caching anything that builds on CI without the risk of malicious users polluting or PUT DOSing the cache.

Duplicate of #59.


fix typo

@Bi-Rabittoh : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Add button component

This PR implements the button component reused on many sections

📝Changed routes:

/

(view full size)

Commit a8d338f707693b21aed15b42e84b678474dd4942 (https://floripamais-git-add-button-component.laurabeatriserafim.vercel.app).


Download proto

Description
Downloads proto files into target dir and generate code from there. It keeps a fixed reference and can easily be updated.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #13
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[ ] Created/updated tests
[X] Extended the documentation

Only merge after code freeze is over. This is not a needed fix to release 0.4.


Update the eye tracking scene sample to have the correct verbal keyword.

The text says "here" but the actual keyword is "over here" - this is super confusing for folks using it, and it's not clear without some unnecessarily deep debugging.
Basically if you say "here" nothing happens - you have to say "over here" so we may as well document that you have to say "over here"

/azp run mrtk_pr

/azp run mrtk_pr


Journal consoles: add domain parameter

New API feature lets you pass the domain value to filter out the transitive members and reduce the query time.

Please don't merge it because the API must be deployed first.


Difference of the version of the driver between MDM and HP site

Hi,
I have a question about the version of the drivers.
I have a HP EliteBook 840 G8 and when I did the update in MDM, I have an older version (for example for the graphics drivers) than HP site (https://support.hp.com/ch-fr/drivers/selfservice/hp-elitebook-840-g8-notebook-pc/38216725)
Is there an explication ?
Thanks.

Hello,
Has someone the same problem than me ?
Thanks for your help !


Do not disable keyboard input if keyboard option is set to true

The keydown function already does a preventDefault() on keys like UP, DOWN, RETURN, ... . There is no need to completely disable all keys on the input (like TAB to jump to the next input).

Nothing to say. Thanks!  :) Please mind that I just edited the TS file and did not recompile to JS.

Sure, I'm writing a test to avoid regression for this, then I'll release a new version.


apparmor: fix template syntax error

ERROR: Syntax Error: Invalid Regex @{PROC}/{,**^[0-9],sys/kernel/shm*}

Did you take this from the docker one
On Saturday, April 30, 2016, djtm<EMAIL_ADDRESS>wrote:

ERROR: Syntax Error: Invalid Regex @{PROC}/{,**^[0-9],sys/kernel/shm*}
You can view, comment on, or merge this pull request online at:
https://github.com/jfrazelle/bane/pull/9
Commit Summary

apparmor: fix template syntax error

File Changes

M apparmor/template.go
https://github.com/jfrazelle/bane/pull/9/files#diff-0 (3)

Patch Links:

https://github.com/jfrazelle/bane/pull/9.patch
https://github.com/jfrazelle/bane/pull/9.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/jfrazelle/bane/pull/9

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

Yes

Missed two lines.


Link to Go client library takes readers to source code on GitHub

Hi again, you should update the URL for the client library for golang.
The URL specified on the site is github.com/kubernetes/client-go. This is the error I get when trying to import it in a way that is expected by golang engineers:
% go get github.com/kubernetes/client-go@latest
go: downloading github.com/kubernetes/client-go v0.29.1
go: github.com/kubernetes/client-go@latest (v0.29.1) requires<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: k8s.io/client-go
                but was required as: github.com/kubernetes/client-go

I see in page the Client Library column link github.com/kubernetes/client-go/ leads to readme and in that there is option on how to use the library.

To get the latest version, use go1.16+ and fetch using the go get command. For example:
go get k8s.io/client-go@latest

Maybe we rename the Column header to make it more better and clearer.

/kind bug
/sig docs

It's possible I missed or didn't consider the thought that installation docs should be available on the respective repositories. I guess that's a perk/curse of using golang in this situation. :)
I hope I haven't made too much noise here. Maybe just ensuring (I haven't looked again) that everyone knows installation & usage documentation are in the respective links, that should solve the problem and we can close this ticket.
On Tuesday, January 23rd, 2024 at 5:11 PM, steve-hardman @.***> wrote:

I see in page the Client Library column link github.com/kubernetes/client-go/ leads to readme and in that there is option on how to use the library.

To get the latest version, use go1.16+ and fetch using the go get command. For example:
go get @.***

Maybe we rename the Column header to make it more better and clearer.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

/priority awaiting-more-evidence
I don't think there is a bug. Maybe people who code in Go will assume that the hyperlink is something you can put into code, but our actual intent is for people reading the website to click there and continue reading.

/retitle Link to Go client library takes readers to source code on GitHub

go get commend is deprecated from Go 1.17.  Refer this page https://go.dev/doc/go-get-install-deprecation
instead of go get use following steps to import the project.

git clone https://github.com/kubernetes/client-go/
cd client-go
3.go install -v

following docs also need to be updated
https://github.com/kubernetes/client-go/blob/master/INSTALL.md

that is incorrect. Please read the documentation for go get.
On Wednesday, January 24th, 2024 at 2:23 AM, Tamilselvan @.***> wrote:

go get commend is deprecated from Go 1.17. Refer this page https://go.dev/doc/go-get-install-deprecation
instead of go get use following steps to import the project.

git clone https://github.com/kubernetes/client-go/
cd client-go
3.go install -v

following docs also need to be updated
https://github.com/kubernetes/client-go/blob/master/INSTALL.md
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Frontend Controls - OBS

[x] Start Stream
[x] Stop Stream
[x] See Scenes
[x] See Active Scene
[x] Change Scene

Pending Test w/ Revised Twitch Websocket Gateway.

Refactoring for leaner OBS Controller interface.


allow registration with empty email when email field is not required

Coverage increased (+0.04%) to 96.97% when pulling eae745c2558983d77f797e5d9c4aedd26bf0f0e9 on Akay7:FixEmptyEmailRegistration into 8c58782e30a80cacb78bd671bc798d7751ccbf1f on Tivix:master.

Hi,
as a user of rest-auth, thanks for the contribution!
This repo is not maintained anymore, so the development moved to dj-rest-auth. (reference: https://github.com/Tivix/django-rest-auth/issues/568)
It may be best, if you move this PR there. (and upgrade to using dj_rest_auth)
new repo link: https://github.com/jazzband/dj-rest-auth (I'm not the upkeeper of that repo, it just makes sense for me to help you merge your PR)
Many Thanks,
Barney


chore(release): sets mayastor image tags to v1.0.2

Signed-off-by: GlennBullingham<EMAIL_ADDRESS>

bors try

bors try


client: Use options pattern for NewRuntime

Instead of passing in a list of strings, use an options pattern which makes call-sites easier to read.
Suggested-by: Marco Hofstetter<EMAIL_ADDRESS>

/test


Update tidal.rb

WiMP has now been superseded by Tidal, with a new app, new homepage and new download URL. I don't really know if my changes to this script will work with Homebrew Cask (i've never done this before), but i've made the changes so that they reflect

the new homepage
the new download URL
the fact that the download-file has no version number in the file name
the fact that the app is now auto-updating and i'm not aware of any feed to get updates

I'm not quite sure about what to do with the checksum, sorry.

This requires version :latest and sha256 :no_check. Did you read the contributing guidelines before submitting?

no, i didn't read anything before submitting - just did what i could ad-hoc.

Thank you for the contribution. It needed some fixes, so they were made in 78fd52f42aa42404494da39e6d8092ef2ee51bd1. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Can not add my stylesheet to Velocity theme

Hi. I am following the guides in this link to implement a HelloWorld package:
https://devdocs.bagisto.com/create_package.html#how-to-create-package
When I use the following code to add the stlesheeto to admin template everything is OK (HelloWorldServiceProvider.php):
use Illuminate\Support\Facades\Event;
public function boot()
{
    Event::listen('bagisto.admin.layout.head', function($viewRenderEventManager) {
        $viewRenderEventManager->addTemplate('helloworld::helloworld.layouts.style');
    });
}

But when I change the code to use velocity temmplate the page does not load completely:
public function boot()
{
    Event::listen('bagisto.shop.layout.head', function($viewRenderEventManager) {
        $viewRenderEventManager->addTemplate('helloworld::helloworld.layouts.style');
    });
}

Here is my /views/helloworld/helloworld.blade.php :
@extends('shop::layouts.master')
@section('full-content-wrapper')

Hello World

@endsection

I noticed that when the following code causes the shop.css file to crash.
Event::listen('bagisto.admin.layout.head', function($viewRenderEventManager) {
        $viewRenderEventManager->addTemplate('helloworld::helloworld.layouts.style');
    });

when I navigate to other pages everything is OK but in case of http://localhost:8000/hello-world the rendered page tries load shop.css file from a wrong location. Actually I should get:
<link rel="stylesheet" href="http://localhost:8000/themes/default/assets/css/shop.css">
But I am getting:
<link rel="stylesheet" href="http://localhost:8000/css/shop.css">

Hello @manatech
If you're trying to access theme, you should after following:-

provide middleware to your routes
Route::group(['middleware' => ['theme']], function () {   Route::get('/hello-world', 'Webkul\TestPackage\Http\Controller\HelloWorldController@helloWorld')      ->defaults('_config', [          'view' => 'test::shop.index'      ]); });

Your view files should be under directory: - Resources/views/shop/theme_name/index.blade.php

This could also help.
This must resolve your issue, get back to us with your response.
Thanks!

Thank you. But now there is another problem. this approach causes duplication of velociy.css file. Now I see this two times in the header:

I wonder why this problem is not occur when attaching the css to admin template. It can attach any style to the admin template without a single modification.

@manatech , Have you tried installing this package ?

Thank you. Your package  works like a charm but when using a non-english locales it gives me this error:
"Trying to get property 'locale_image' of non-object (View: \resources\themes\velocity\views\UI\header.blade.php)

Feel free to reopen this if you're still facing issue.
Thanks!


distribution methods add tmp

Can we add an optional tmp variable to the distribution methods?
Can this be made to work with the new argument parsing of the distribution specific methods?
use case: frozen distributions could store a tmp variable
(a dict for example, dict won't work because of broadcasting in generic handling?)
see NIG PR for use case
see new multivariate normal for actual (similar) use
this would be an alternative to temporarily attaching temporary variables as attributes

With https://github.com/scipy/scipy/pull/9900, we went the other way, and removed all storing of intermediate results. Thus closing.


Ubuntu 12.04/14.04 - nagios3 packages ship with conf.d/ configs that contain duplicate contacts, etc

Ubuntu 12.04 - nagios3-3.2.3-3ubuntu1
Ubuntu 14.04 - nagios3-3.5.1-1ubuntu1
It appears the packages contain default configs located in /etc/nagios3/conf.d with the suffix _nagios2.cfg. These config files contain definitions for the root contact and others, which causes Nagios to fail to start. Removing *_nagios2.cfg seems to fix the issue.

The latest cookbook version will zap out all configuration files that are not maintained by chef. This should solve your problem that you are describing here above. Closing the ticket, but please feel free to re-open this if the problem is still active.


Tag docker images before pushing

Motivation
The dockerhub GH actions workflow was broken in #5532. An example of a failed action: https://github.com/spacemeshos/go-spacemesh/actions/runs/7758833803.
Description
Added back tagging in the dockerpush-x-only make targets.

bors merge


Support any standard rails_admin field by using its partial system.

I have a custom markdown field type that I need to support. This change allows that (and lots of other flexibility, I think)

+1

Hey @andreazaupa do you have any thoughts on this PR?

Any word on the status of this?


Use dovecot repo to get CVE-2019-11500 patched dovecot <IP_ADDRESS>

Unfortunately the tests fail with this PR and it is not a random failure. I've restarted the tests and they consistently fail in the same way. We need to solve that before we merge this.

Has been implemented with https://github.com/tomav/docker-mailserver/pull/1245


Add requestFileInfo param to MethodsClient#filesUploadV2 method

This pull request adds requestFileInfo option to MethodsClient#filesUploadV2 method for feature parity with Node and Python SDKs. See the following PRs for its context:

https://github.com/slackapi/python-slack-sdk/pull/1282
https://github.com/slackapi/node-slack-sdk/pull/1544

Category (place an x in each of the [ ])

[ ] bolt (Bolt for Java)
[ ] bolt-{sub modules} (Bolt for Java - optional modules)
[x] slack-api-client (Slack API Clients)
[ ] slack-api-model (Slack API Data Models)
[ ] slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
[ ] slack-app-backend (The primitive layer of Bolt for Java)

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

test


Can't find IHttpContextAccessor

The interface IHttpContextAccessor seems to have been removed from 3.0-Preview and I cant find out what's been replaced by. Can someone point me to the right way to keep up to date with this kind of breaking change? I'm currently upgrading a 2.2 app to 3.0.
Thanks.

The IHttpContextAccessor type should be alive and well: https://github.com/aspnet/AspNetCore/blob/master/src/Http/Http.Abstractions/src/IHttpContextAccessor.cs
Can you show what code you have, what your project file looks like, and what error you're seeing?

@Eilon This package only seems available up to v2.2. Not 3.0 preview. So unable to reference this from a class library for example.

It’s no longer in a package but is part of the ASP.NET Core shared framework.

So now we have to add the ASP.NET Core to projects that need IHttpContextAccessor?  Or change those projects to be  instead of ?

Yes you need to add a framework reference to asp.net core to get the IHttpContextAccessor

Well I thought it would be easy to figure out what was meant by "add a framework reference to asp.net core", but I'm afraid I failed at finding anything helpful.  Could you explain for nimwits like myself?

@nportelli see https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio#framework-reference


Creahhhte New

Thanks for creating a pull-request but what is the feature of it?

Ok

Not a good pull request


Remove ionic.config.js from starters to prevent deprecation warning in CLI

As per subject header. Don't have us install it and then tell us to remove it manually :-)

Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.


Add visibility kwarg to cython.declare.

This allows to declare readonly and public attrs for extension types in pure python.
Please see the documentation diff for an example.

Test?


Items #299, #300, #301 #302 and #304

PR Summary

Change scope of default -Project parameter to apply only to *-Vsteam* commands (#297 - impacts  _clearEnvironmentVariables, get-VSTeamInfo *-VSTeamDefaultProject)
Change formats.json and types.json to list "*" instead of individual files. This won't work for classes because they must be loaded in the correct sequence
Change build-module.ps1 and source version of vsteam.psm1 to support having the classes in the PSM1 file. This makes them accessible outside the module and avoids issues with classes not being in scope when needed in completers, without needing to load from modules to process in the manifest. discussion
Change Invoke-vsteamRequest. (#302) Switch order of parameters "area" and "resource" and give them completers. Add a switch '-ExpandValue'
Example: Type Invoke-vs [Tab] [-] [Tab] "-area" completes (first on the url path) [space] [Tab] "build" etc complete; for "WIT" -Resource [Tab] will suggest "workitemtypecategories" etc. add -value or -ExpandValue and instead of Count=15; Value=[Array], the array is returned
Change the VSTeamProcess object (#300)  to add "ProcessTemplate" property as a duplicate of "name" so that objects can be piped into (e.g) Get-WorkItemType.
Change the Get-VSTeamProcess function (#300) to update the cached list of processes automatically and to support wildcards in -Name parameter.
Change the format xml for process type to show enabled/default status (#300)
Add members to ProcessCache and ProjectCache classes (#300) to do the update  within the class and also to and all in one check for freshness, update if required and return the results. Update the completer/validator classes which use the cache objects.
Fix issues with spaces and apostophes in names returned by completers. (#299) Ensure new completers/validators follow the style from #289 and parameters which use them have names matching those in #289 (last part shouldn't only change work in progress, not in this commit)
Change Get-VSteamWorkitemType to support getting work items from a process as well as from a Project (#300). Add a "hidden" attribute to Project WorkItem types (found from WorkItemCategories). Support Expanding behaviors, layouts and states.
example 1 Get-VSTeamWorkItemType -ProcessTemplate Scrum2 -WorkItemType 'Product Backlog Item' -Expand layout | select -ExpandProperty layout
example 2 Get-VSTeamProcess scr* |  Get-VSTeamWorkItemType  -WorkItemType pro* | ft name,processtemplate
Change _callAPI to trap being called when no logon/account is set.

PR Checklist

[ X ] [Write Help]
Small updates to the existing help
[ O ] [Write Unit Test]
Have not added tests for new functionality
[ X ] [Update CHANGELOG.md]
As above. Though above had an extra read through

@jhoneill thanks for the PR. In the future could you please not have so many changes in one PR. It does not speed up a review. It is quite the opposite. One PR for each issue and usually each issue should try to handle one use case or topic.
Would it be possible for you to split them up? I know it is some more work for you, but it reduces work/review packages and makes it easier to understand.

I can try to do that in future. I try to keep to one commit per area.
I'm about to send you ~20 new commands (Add-Process, Add-WorkItemItemType, and stuff to create fields and layout workitem forms) and it is fairly difficult to break those into small pieces .
Because the parts depend on each other if I send you (for example) may update for processes as one PR, and the update for work item types as  second, PR #2 (a)  contain all of PR #1 and (b) Needs to come from a new branch (if I commit into the branch I sent in PR1 that github adds them to the open request i.e. the pull by branch not by commit).
If you like I can roll back to
Reduce scope of default -Project parameter to *-Vsteam* commands  make a branch and a PR
then to
Change formats.json to include all .ps1xml files in formats and do the same
and then to
Allow Get-VSteamWorkitemType to use cached process info and to expand
then
and do the same for the last 3. Does 6 PRs with each one depending on those before it help you ? My hunch is not. Because if you change something I did in the first when it is merged, it then needs to be changed in the other five. So I'd assumed that one PR with work in multiple commits would show what depended on what else. If that's not working for you , let me know and I'll try to adapt.
Cheers
J

Do let me know what your preference.
Including help, which means commands get 3 files, and formatting information what's in this PR plus the next block of work is ~ 120-130 new or changed files. They divide into ~19 sections (got a spreadsheet with that in front of me).  I can withdraw this one  this one and make 19 branches and 19 PRs , or keep this one and send you the additions as one or two PRs with a list of what's different and why.  The latter is less work for me, but I don't mind doing that work if it helps you.

Thanks for your tips and effort. I have not much time currently as I am doing this in my free time. This is not part of my daily job.
I will think about it as soon as I have some time to think about it.

No worries. This came about as a by product of my day job :-)  But getting it fit to share is/was my own time.

You can't do this.

Change formats.json and types.json to list "*" instead of individual files. This won't work for classes because they must be loaded in the correct sequence

The order of formats is important. The tables have to be listed first. If you do a * it will be in alphabet order and the list formats will be first which is not what I want. The Readme.md in the folder explains why this can't be done.
I also think your branch must be way behind because types in master has already be changed to a * format.
Please make sure you have the latest changes in your branch.

This change has already been made

Change scope of default -Project parameter to apply only to -Vsteam commands (#297 - impacts _clearEnvironmentVariables, get-VSTeamInfo *-VSTeamDefaultProject)

Already fixed

Change _callAPI to trap being called when no logon/account is set.

Change Invoke-vsteamRequest. (#302) Switch order of parameters "area" and "resource" and give them completers. Add a switch '-ExpandValue'
Example: Type Invoke-vs [Tab] [-] [Tab] "-area" completes (first on the url path) [space] [Tab] "build" etc complete; for "WIT" -Resource [Tab] will suggest "workitemtypecategories" etc. add -value or -ExpandValue and instead of Count=15; Value=[Array], the array is returned

You don't have to change the order. This will be in next version.

Change formats.json and types.json to list "*" instead of individual files.

The order of formats is important. ....
The Readme.md in the folder explains why this can't be done.

My apologies. I missed that and was trying to take a short cut.  I will revert to the approved way.

I also think your branch must be way behind ...

Please make sure you have the latest changes in your branch.

I had sync'd up to date I put the the PR in.  It looks more things have gone in since.
Last that I saw, you were doing the change of scope for the default parameter but it hadn't gone in, and I did the catch for no active logon/account raised it as an issue, and did the PR in a very short space of time, and we seem to have duplicated each other there.

Change Invoke-vsteamRequest. (#302) Switch order of parameters "area" and "resource" and give them completers. Add a switch '-ExpandValue'

You don't have to change the order. This will be in next version.
OK I'll back this out.

In the future please make smaller PRs so we can see each change and not have to reject the entire PR.

Yes. I'm sorry for sending such large lump.  For replacing dynamic parameters with the completers and validator classes that was unavoidable. It is far to easy for me to lapse into "While I am doing X I will just fix Y", which feels like being helpful, but isn't always a good way to deliver help.
I have a big block of work which I am waiting to send you. We got asked to configure some ProcessTemplates in other words, "Add "Scrum 2" as our version of scrum, add work item types to it, set up layouts, fields, statuses, boards for the those work item types. Make it almost the same as this other DevOps Org, but change this to that ... etc.".
We ended up doing "Process Template as code" :-)  and I wrote these new functions
Add-VSTeamField
Add-VSTeamPickList
Add-VSTeamProcess
Add-VSTeamProcessBehavior
Add-VsteamWorkItemControl
Add-VsteamWorkItemField
Add-VsteamWorkItemPage
Add-VsteamWorkItemPageGroup
Add-VsteamWorkItemState
Add-VSTeamWorkItemType
Get-VSTeamBuildTimeline
Get-VSTeamField
Get-VSTeamPickList
Get-VSTeamProcessBehavior
Get-VSTeamWorkItemBehavior
Get-VsteamWorkItemField
Get-VsteamWorkItemPage
Get-VsteamWorkItemState
Hide-VsteamWorkItemState
Remove-VsteamWorkItemState
Remove-VSTeamWorkItemType
Set-VSTeamPickList
Set-VSTeamProcess
Set-VSTeamWorkItemBehavior
Set-VSTeamWorkItemType
Show-VsteamWorkItemState

They leverage the completers / validators I have already given you and add some more, and in doing the new work, I found the existing completers should wrap some values in quotes and the validators should not reject null or empty (if a parameter is mandatory Null/empty needs to be explicitly allowed and if not it needs to be forbidden and that's not the validator's job).
I have also moved the responsibility for managing the object caches into their classes so they now have Update,  GetCurrent (which will update if the cache is empty or stale) and Invalidate to force the next cycle to update.  Where you had a method for determining "stale" I have left it, and the properties remain exposed for anything which relied on directly accessing them.
Things like Get-Process   now update the cache if they do a "fetch all" using that and I made another change to get process  :  there are two different places you can call for process information and I wanted the richer one as a pre-req for the new commands.
What this PR was trying to be was "the changes to the already released things which are pre-requisites for the new functions above". But I seem to have made more problems than benefits. So I propose to

Close this this PR.
Sync what I have with your master branch.  Currently I have "official" which is your master, "Master" which is this PR and a feature branch with all the extra changes in it. Some re-arrangement of my branches is going to be needed.
Back out my changes to the parameter order of Invoke, and to how things are built
Send you a new PR with only the updates to the completers/ associated cache classes, and the new completers for Invoke-, you are changing Invoke so you can add the completers or not in doing that.
File a new issue saying "Build the classes into the PSM1" with the changes required. I will leave you to change build.ps1
Send you my changes to Get-VSTeamProcess and to the Process Object as a separate PR - it depends on the completer updates, and the long list above depends on it.
Send you my changes to Get-VSTWorkItemType  again the same dependencies.
Send you the new commands. **What would be the best way to send the changes ? **. There are two dozen functions each with a PS1 and 2 .MD files, plus some format files, plus some additional classes so the total is getting up near 100 files, and I think that gives Sebastian nightmares :-) I can group as

Processes
WorkItem types & their states
"Behaviors" (boards) for processes and work item types
Fields and picklists
Associate fields with WorkItem-types  and laying them out

I think that ends up as 8 PRs. Does that work for you ?
Best etc.
J

8. Send you the new commands. **What would be the best way to send the changes ? **. There are two dozen functions each with a PS1 and 2 .MD files, plus some format files, plus some additional classes so the total is getting up near 100 files, and I think that gives Sebastian nightmares :-) I can group as

The best way to do it I think if keeping related files together. Look at the PR #286 which was grouping cmdlets for classification nodes. You could do the same for the cmdlets.
E.g. include in the same PR

Add-VsteamWorkItemState
Get-VsteamWorkItemState
Hide-VsteamWorkItemState
Remove-VsteamWorkItemState
Show-VsteamWorkItemState
All documentation files for the cmdlets
format files where the format.json should only have these files included. Other following cmdlets should then be added later
type files for the cmdlets

make sure they follow the same style as in my PR earlier.
If you have changes that apply to multiple cmdlets then they should come early included but they should not be dependant from anything. Meaning they should work without the changes coming later that are dependant.
Also make sure first that our pipeline is going through with all environments. We do not usually start to review before the pipeline is not succeeding.
And thanks for your understanding. Because most of the problem in open source is:

change only related things and not multiple different things on the way
different views
different styles
due to limited time long PRs wait long time and can get outdated or will rather be rejected than included. Even if they are awesome
many people depend on your changes.  And some people even make money with this module.

I already wrote the completer for Invoke last night and is already in master.

I like the idea of grouping PRs around a noun "WorkItemState" all the verbs, tests and doc for that noun can be a single PR.

Finally there is no need to apologize for helping. We really appreciate your support and understanding.

Fully agree with @DarqueWarrior. Help is much appreciated since most of it is a personal effort and the drive to improve things.

Thanks both, I'll stop saying sorry. It's not that I'm talking down what I've done, just aware that I could have delivered it a way that's more convenient for you.  And sometimes explaining what one has done with only text to go on, it can look like "I AM RIGHT BECAUSE" so I've have taken to saying "Whoops, I ..."  "My bad, it was trying to..." "Sorry, I thought ..." to save accidentally causing an argument. :-)


Update save button do allow users to save from draw mode if OK

Also update the button to show messages instead of being disabled.

Wait for user requests on this one.


Pace compatibility with ng-file-upload

Hi, I was dealing with issue in ng-file-upload in one of my Angular projects and found out, that pace.js was broking the upload library. Problem was with setRequestHeader method on XHR object.
There is very easy fix - https://github.com/danialfarid/ng-file-upload/issues/832#issuecomment-138975388 and it is not breaking any functionality of pace.js
Can you incorporate it in the next version please?

+1

+1

+1

Would be great to get a quick patch here.. it's really a simple fix. I'll submit the PR if someone will merge.

+1


iD editor's Map part is just a black screen (Take note that I'm new)

URL
https://opengeofiction.net/edit?editor=id#map=15/-1.1674/132.7579
How to reproduce the issue?
Step 1, and technically the final step: Open the URL shared with the post.
Screenshot(s) or anything else?

This is the first time I open up iD and this appears instead of a map, very frustrating. I've had the tab open for like 3 or more minutes, still, nothing has changed. Zooming still works fine.
Which iD Editor versions do you see the issue on?
Released version at openstreetmap.org/edit
Which browsers are you seeing this problem on?
Chrome

On the website, find an area of land (preferably with existing objects on it).
Click "Edit", check if the issue persists. Try zooming in and out and waiting a bit if you want.
Go to the sidebar on the right, find the layers menu in the middle there, and check what layer you are viewing with.
Check with other layers if available.
Now say which layers work and which don't, or whether they all don't work.

Noteably, OGF should preferably switch to the latest version of iD (2.20.4 at the time of writing), if possible.

Select "OpenGeofiction Carto" in the background settings.

@fngf3501 If this resolves the issue, feel free to close it yourself. You can find the purple Close issue button below alongside the green Reply button.


Port forwarding doesn't work properly 1.0.0

I'm following this manual with slight changes

Install 1.0.0 version of docker

Remove all previous files

$ rm .boot2docker/boot2docker.iso
$ boot2docker delete

Create new vm image

$ boot2docker init
2014/06/12 15:39:17 Creating VM boot2docker-vm...
2014/06/12 15:39:17 Apply interim patch to VM boot2docker-vm (https://www.virtualbox.org/ticket/12748)
2014/06/12 15:39:18 Setting NIC #1 to use NAT network...
2014/06/12 15:39:18 Port forwarding [ssh] tcp://<IP_ADDRESS>:2022 --> :22
2014/06/12 15:39:18 Port forwarding [docker] tcp://<IP_ADDRESS>:2375 --> :2375
2014/06/12 15:39:18 Setting NIC #2 to use host-only network "vboxnet0"...
2014/06/12 15:39:18 Setting VM storage...
2014/06/12 15:39:27 Done. Type `boot2docker up` to start the VM.

Run it

$ boot2docker up
2014/06/12 14:50:39 Waiting for VM to be started...
...........
2014/06/12 14:51:01 Started.
2014/06/12 14:51:01 Auto detection of the VM's IP address.

Run docker image

$ docker run -d -P training/webapp python app.py

Find the port

$ docker port c6073a9fc281 5000
<IP_ADDRESS>:49153

Check if it works

curl localhost:49153
... hangs!!!

Check that in VirtualBox it works

$ boot2docker ssh "curl localhost:49153" 2>/dev/null
Hello world!

And by the way, manual port forwarding doesn't help either!

$ i=49153;
$ VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$i,tcp,,$i,,$i";
$ VBoxManage modifyvm "boot2docker-vm" --natpf1 "udp-port$i,udp,,$i,,$i";

What should I do to make it work?

BTW, I still cannot get the latest boot2docker(-cli) (v1.6.0) to get ports forwarded correctly.   When I launch the service on the docker VM (via boot2docker ssh), then I can do a curl locally:
docker@boot2docker:~$ curl localhost:3000/
Found.

but if I do a curl from my OSX host, using the boot2docker ip, then it just hangs.
docker@boot2docker:~$ docker ps
CONTAINER ID        IMAGE                    COMMAND                CREATED             STATUS              PORTS                    NAMES
47a3eacaae97        grafana/grafana:latest   "/usr/sbin/grafana-s   5 minutes ago       Up 5 minutes        <IP_ADDRESS>:3000->3000/tcp   nostalgic_rosalind

+1
I am using latest boot2docker-cli 1.6.2. But "docker run -p xxx ..." not forward ports to my host (mac os).
Is it work of boot2docker-cli of monitoring docker vm and correctly setting up "VBoxManage controlvm "boot2docker-vm" natpf1 blablabla" in background?

+1

I am also having problems, but in my case it is just that the -P parameter does not work, instead I must use -p
I've just reproduced this with the 'nginx' image
docker run -d -P --name web nginx
docker run -d -p 80:80 --name web nginx

The first line fails, the second on works. The only difference is that the second line forces the random port to match the forwarded port.

@fgarcia  made my day I spent 1h30  on it and it finally works. I ran port mapping through docker file and it seems we have to set it manually when we start the image. Thanks !


Only notify when code coverage fails

Description
There is not much to act on when code coverage succeeds.
Test plan
👀

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:

I don't think this will be helpful, there is an action item to do daily here, look at the reports and see if code coverage has decreased.

See https://app.codecov.io/github/MystenLabs/sui/tree/main?search=&components[0]=Sui Types&displayType=list as well
Perhaps, maybe we need to create a notion page runbook for this. Which I think is better than this PR.
Thoughs?

Can these threshold checks be automated and can be fixed in some way? Otherwise people will just get desensitized on the notifications. But I can definitely update the runbook.

Yeah, it was on my to do list, but got side tracked with higher priority items. I'll try to get to it soon.

How about this message, or do we have more comprehensive rules?


CAMEL-12245 Bridged http servlet endpoints should not populate reques…

When you create a servlet endpoint and use the bridgeEndpoint option, the queryParameters should NOT be put into the exchange headers, because when you pass this on to the next  (http4) endpoint you have the query parameters and an the same parameters as http headers.  So now you are sending additional headers instead of bridging.
from("servlet:?matchOnUriPrefix=true&bridgeEndpoint=true")   .to("http4://localhost:8080/testService);
You can work around this by creating a custom httpBinding, but you should not have to do this when the connection is bridged.

You set the option on the wrong place its on the http4 producer
https://github.com/apache/camel/blob/master/components/camel-http4/src/main/docs/http4-component.adoc

Thanks Claus, my mistake.  We are trying to change all of our restlet endpoints to http4 endpoints to simplify things.  I think for some reason in the old camel-restlet some of our headers did not get mapped...
The restlet base library is becoming a mess, where http4 is very simple and clean. For example: https://restlet.com/open-source/documentation/user-guide/2.3/core/http-headers-mapping
Thanks for the help.


Fix a crash bug on node restart when blocks are disconnected

While looking at related parts, I ran into this uninitialized iterator bug. The expiration queue is empty on restart, so disconnecting a block forces a crash since we're using an uninitialized iterator in that case.

Hmm.. this shouldn't happen I think and means that there's some deeper problem. If itQueueRow != expirationQueueCache.end() as in line 1675 that means that we can't find the expiration entry for a claim which should always exist. If not in cache, it should be able to look into disk and find it CClaimTrieCache::getExpirationQueueCacheRow() will call CClaimTrie::getExpirationQueueRow() which will look on disk for entry if needed)
How would I reproduce this error, would the below step work?
1)on regtest make a claim
2) increment block
2)Exit lbrycrdd
3)Decrement the block
Thanks for finding this.

hmm couldn't reproduce this using the steps above, (used this script: https://gist.github.com/kaykurokawa/bdecc79ac36b3a8af148fb43bdaefb01 )
I wonder if this is something related to expirations not working properly...

This was found/fixed using mainnet master (no modifications).  It's possible it's related to the chain movement of the time, but I'm fairly certain that if I re-build master, it won't be too long before I can hit this again.  If I do, I'll post the stack trace.

There was a time, every startup crashed with this, across multiple rebuilds and syncs.  Today, it's not showing this behaviour.  I suspect it's a real bug (and the code is definitely unchecked/unsafe) without the fix, but I'm ok kicking the can on this for now.

I think adding additional tests for claim expiration in https://github.com/lbryio/lbrycrd/pull/112 may reveal something, I will work on that.

Come to find out: this change was already checked in back in March 2018. I vote we close this PR. I think what we were seeing was just the affect of the way it's coded: it uses a remove-the-old-if-it-exists-before-inserting-the-new approach. I don't think that's a problem.

Yes, the change was probably applied in one of the other branches that I built on top of.  It fixes an issue, but we're not sure it alone fixes the related issue documented here (see #134 also).


[Snyk] Security upgrade alpine from 3.17.3 to 3

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to alpine:3, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

300
Out-of-bounds Read SNYK-ALPINE317-OPENSSL-5438697
No Known Exploit

300
Out-of-bounds Read SNYK-ALPINE317-OPENSSL-5438697
No Known Exploit

471
Allocation of Resources Without Limits or Throttling SNYK-ALPINE317-OPENSSL-5661570
No Known Exploit

471
Allocation of Resources Without Limits or Throttling SNYK-ALPINE317-OPENSSL-5661570
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.

Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @cihanozhan, @leftkats, @diop, @websitegardener, @LukasHedegaard, @manskx, @nravic

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.

Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @feeelX, @liaopeiyuan, @godkingjay, @katerinna-e, @f0kes, @manskx, @shukwong

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.

Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @Chediak, @dendisuhubdy, @KNipunDananjaya, @wildcommunist, @louis030195, @esvinusac, @Dionysus94

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.
Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @feeelX, @p-ferreira, @jpugh1999, @ssbbzz, @DammianMiller, @oushu1zhangxiangxuan1, @Jackalgirl

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.
Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @julienbarbe, @shukwong, @maaalex, @mitica, @BigEndianLittle, @0xkrane, @jmowen

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.
Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @moebg, @enzotar, @ms337, @mygirl8893, @chudykrzys, @sthimm, @shariq

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.
Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @ssbbzz, @throughnothing, @tsutomu-n, @raonigabriel, @0xkrane, @39ca7, @ChachiTheGhost


Nick: Watch basketballonpoint.com

Nick requests the watch of the watch_keyword basketballonpoint\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

basketballonpoint\.com has been seen in 1 true positive, 1 false positive, and 0 NAAs.

Approved by cigien in Charcoal HQ


[frameit] Frameit ignores path parameter, tries to frame all PNGs under the working directory

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Frameit supposedly takes a path parameter with the location of the screenshot images to be framed. It's referred to in the docs here: https://docs.fastlane.tools/actions/frameit/#parameters and also in some of the examples.
But, that param isn't followed by the tool. Looking at the code, looks like it's because frameit/commands_generator.rb always calls the runner with a path of '.', for example:
Frameit::Runner.new.run('.', nil)

So, the upshot is that frameit is trying to frame all .png files under the directory it's called from, even if they aren't screenshots.
I can probably put together a pull request to fix this, but am hoping to check in and see if I've misunderstood something first. Is this intentional? Is there another way to scope to a particular path?
Command executed
fastlane frameit
Complete output when running fastlane, including the stack trace and command used
(n/a)
Environment

 ✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.3

Ruby
2.6.0

Bundler?
true

Git
git version 2.21.0

Installation Source
~/.rbenv/versions/2.6.0/bin/fastlane

Host
Mac OS X 10.14.3 (18D109)

Ruby Lib Dir
~/.rbenv/versions/2.6.0/lib

OpenSSL Version
OpenSSL 1.0.2q  20 Nov 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
[redacted]

`./fastlane/Appfile`
[redacted]

fastlane gems

Gem
Version
Update-Status

fastlane
2.119.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

bundler
1.17.2

forwardable
1.2.0

CFPropertyList
3.0.0

concurrent-ruby
1.1.4

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
4.2.11

public_suffix
2.0.5

addressable
2.6.0

atomos
0.1.3

babosa
1.0.2

claide
1.0.2

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.5.3

cocoapods-deintegrate
1.0.2

cocoapods-downloader
1.2.2

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.11.0

cocoapods-trunk
1.3.1

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.0.1

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.3.1

nanaimo
0.2.6

xcodeproj
1.8.2

cocoapods
1.5.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

digest-crc
0.4.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.7.2

emoji_regex
1.0.1

excon
0.62.0

multipart-post
2.0.0

faraday
0.15.4

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.5

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.0

signet
0.11.0

googleauth
0.6.7

httpclient
2.8.3

mime-types-data
3.2019.0331

mime-types
3.2.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

google-cloud-storage
1.16.0

json
2.2.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.2.2

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.5.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.1

tty-spinner
0.9.0

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

generated on: 2019-04-02

🤔 got this working as expected -- oops. Not sure what the issue I was having was.


feat(ospm): create new page

Description
Create new page for onboarding service provider management
Why
NA
Issue
https://github.com/eclipse-tractusx/portal-frontend/issues/541
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally

confirmed: v2.1.0 is closed,  please change to main

@lavanya-bmw  can you please have a look on the notes of Martin.


High CPU usage from Visual studio process

Migrated issue from codeplex:
https://typescript.codeplex.com/discussions/472439
https://typescript.codeplex.com/workitem/2386
https://typescript.codeplex.com/workitem/779
I'm yet experiencing very high cpu usage from VS2013 update 3 RC and I'm just wondering if there is any update on this?
The cpu usage is higher with refactoring large .ts files!
For the record:

I'm using VS2013 update 3 RC on an i7 machine with 8G ram, Win7
I'm having Compile on save disabled
No resharper/web essentials installed!
Auto-sync javascript references is disabled
I'm having separate .ts file for each class

I'm seeing a constant CPU utilization of 13% on an i7.   I ran a profiler session and it appears to show that the hot path is TypeScriptLanguageService.ScriptContext.OpenProjectOnItemAdded\IsTypeScriptFileOrFolderThatContainsTypeScriptFiles\IsFolderThatContainsTypeScriptFiles\System.Linq.Enumerable.Any(class System.Collections.Generic.IEnumerable`1<!!0>)
This project contains node_modules and bower_components (renamed to components) folders that are relatively large and deep.  So much so that the VS GIT source control provider no longer works.  I suppose this could be part of the issue but it still seems odd that it would bog down the machine to the point that the UI doesn't respond well (cursor hesitation, scroll hesitation) and the laptop fan is going pretty strong.
The project is here but you'll have to run npm install and bower install from the project director after getting it from github.
https://github.com/rcollette/RequireAngularTS
See attached profiler report
TypeScriptCPUUtilization.vsps | uploaded via ZenHub

Turning off "show all files" in solution explorer seems to be a work around.   This removes my bower modules directory and node_modules directory from solution explorer and it seems to drop back to normal cpu utilization.   Since I am building with gulp watch, my project does not include nested js files in the solution, so getting to the built files is cumbersome without show all files enabled.

Another impact of this is that I am unable to rename files while it is in this high cpu utilization mode.   I use the rename context menu, the name briefly appears editable but at best I can enter one character and then the file name switches back to being uneditable.

@rCollette which version are you using? @vladima had a couple of fixes related to thus in the last release (1.4).

I am using 1.4 in VS 2013.

Interestingly enough everything works like charm on my machine

do you have any 3rd party VS extension installed for this version of VS?
can you make a heap dump using Process Explorer or ProcDump at the moment when CPU usage spikes and upload it somewhere?

I will try to get to this by at least this weekend.   Sorry for the delay.   I will use procexp to create a full dump and upload it.     In the mean time, if you know of an easy way to disable all extensions except one such that I can then put them back, that would help.  I've been searching around for how to do this but haven't found anything.    I am using several different extensions.

ProcDump can monitor the application for CPU spikes and create a dump when CPU usage reaches the threshold.

VS 2015 CTP 5 also has problems.
Opened up the solution this morning (contains in excess of 600 TypeScript files) and editing was extremely slow.
Here's what task manager had:

This has been going on for about 8-10 minutes in spite of no edits being made.
I'm using TS 1.4

@NoelAbrahams to clarify whether it is a TypeScript issue can you make a heap dump (using Process Explorer\ProcDump ) when CPU spikes and share it?

@NoelAbrahams your stack trace points to the HTML editor, I have communicated that to the HTML Editor team, and they are aware of the issue and working on a fix. thanks for reporting it!

I've uploaded my dump file but would prefer to private message the link to it.  Would someone mind sending an email address to richard dot collette chat gmale dot com (replace the dot, chat and gmale words appropriately please).

Link to dump file has been shared with @vladima

@mhegazy - My issue is likely an extension.  I've shut every extension I could off and I can now toggle between hide/show all and it's almost instantaneous.   I'll update when I figure out which one it is.  Sorry if this is a wild goose chase.   Curious if this turns out to be Web Essentials.

@vladima - It appears to be the Tangible T4 Editor extension that is causing the problem.    It could be exacerbated by other extensions because eventually the high CPU usage did settle down whereas with other extensions enabled, it seemingly runs at high CPU forever while all files are shown.   I'm not sure why the profiler hotpath was pointing at TypeScript but I suppose it's not impossible that the T4 editor is doing something which in turn makes TypeScript look like it is slow.   In any case, if the T4 editor is turned off, there are no issues so I know this is the root of at least my problem.   Sorry if this was a sidetrack.

@rcollette got it, thanks for sharing this information. I took a look into the dump file and it does not seem that CPU is doing anything TypeScript related (which confirms your observations). Since the root cause of the problem is not TypeScript related I'm going to close this issue - feel free to create a new one if you think that the problem still exists and we can do something on the TypeScript side to fix it..


indicators for number of links

https://twitter.com/maxwschulz/status/1312150778199502850?s=20

Roam42 Issue Log Audit - Native to Roam


Implement device registration for a project

We want to allow device registration for a project by PROJECT_ADMIN.
These devices can later be assigned to Patients assigned to specific project.

What should be the ideal way of registering a device to the system?

Can a SYS_ADMIN/PROJECT_ADMIN register a device without-assigning it to a project?
If yes, do we want to list all devices to be visible to the PROJECT_ADMIN, so he can assign them to his project?
If no, should we validate the deviceType of the device is a valid deviceType of the corresponding project?

This will make the overall work-flow of device registration as

Create a project.
Create project's device catalog. (i.e.)

2.1. Create sensor data
2.2. Create deviceType and assign sensor data
2.3. Assign particular deviceType to a/his project.

Device registration

3.1. Create devices of deviceTypes assigned a project

Device assignment

4.1. Assign devices of a project to patients of a project.

In addition, probably a user should be able to register its own devices, if that is allowed in the project assignment. That is:

project has a devicetype and set of sensors assigned. This assignment is marked as "has dynamic source ID".
patient application looks up supported device type and registers its source ID with the ManagementPortal.

This is useful for the Passive Android App, which dynamically creates a source ID. This way, the source ID is still known by us, but the app will tell us what ID it will use.

I agree. I assume a rest-resource is sufficient to do this, or should we also provide user-interfaces from managementPortal side. We could further extend the deviceType model to have the "hasDynamicSource" flag and this feature could be easily realized for back-end.

Fixed here 60897a. Flow issue#31 for dynamic source registration


Doesn't work with Python 3.8 and 3.10

I have tried to install on 3.8, 3.9, and 3.10 venv, but could only successfully install on 3.9.
Since the README specifies the supported version as 3.7 or higher, it would be better to change the description or take countermeasures.
To make it work with 3.8, it seems that you only need to change the list[] syntax to List[]. (Support for list[] has been available since 3.9.)
To work with 3.10, NumPy must be updated to version 1.21.3 or later.

BTW, 3.7 is just before EOL.
https://devguide.python.org/versions/

To make it work with 3.8, it seems that you only need to change the list[] syntax to List[]. (Support for list[] has been available since 3.9.)

fixed: https://github.com/fastlabel/fastlabel-python-sdk/pull/126


[BUG]: Different Names than original

Description of the bug
Hey, thank you fro your great work!
One question I have... why have you chosen different icon names than in the original library?
original: x-circle
svelte-heros-v2: XCircle
Steps To Reproduce
Documentation
Additional Information
No response

You can create a component called My-component. But you can't import it as My-component.
// this works
import Mycomponent from './My-component.svelte'
// this won't work
import My-component from './My-component.svelte'

You have use your component name without -.


Battery Percentage Indicator

This is a battery indicator app which is used to know battery percentage of the system.
Fixes #95

what link I had to provide? @harshita2216

Can I make a fresh pr?

Can I make a fresh pr?

@Jagannath8, sure you may. Please take your time. You need not hurry.

@Jagannath8 can i close this one?

yess @chicken-biryani


How to make ApplicationInsights working with legacy ASP.NET

Hi guys,
I'm desperately spending my time on the attempts to make AI working with ASP.NET legacy app.
I'm so doomed that I even created the app from the scratch, add AI and it still does not work.
The problem is that I do not see any events (no availability data, no server requests, no server response time, no any events, just nothing) in my AI Azure resource, but I see them when debugging locally, in the debug output, or even in the AI VS plugin.
So, I have full repo:

The code (https://github.com/yahorsi/AiWithLove) was made using 2 simple steps:
a) Create ASP.NET App
b) Add Application Insight using VS

Code is deployed using VS to the http://aiwithlove.azurewebsites.net/

Subscription 3528c48b-d4d8-4051-b03c-c919e7d70ae7

Instrumentation Key 3d88dc8f-3123-4f78-b4a3-0ce29c1eabda

App Service/Ai AiWithLove

I have no ideas what's going on
Thanks for any ideas.

What do you see in local debug sessions? can you paste a screenshot of the same?

I think this is a bug in Visual Studio. Can you put the ikey in your ai.config file (https://github.com/yahorsi/AiWithLove/blob/master/ApplicationInsights.config)?
The Visual Studio Add Application Insights may be broken.

I am using 16.6.1
In the Output Debug I see AI events:

I'm also able to see them in the AI plugin:

I have explicitly set the environment variables APPINSIGHTS_INSTRUMENTATIONKEY and APPLICATIONINSIGHTS_CONNECTION_STRING and yes I have restarted VS and app to make sure variables takes effect.
I would love to add it to the config but there is no any sample. It's not even shown how to set it in the "main" ApplicationInsight.config article here:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/configuration-with-applicationinsights-config#instrumentationkey
So, I add it in the code following way:

No luck so far, still no events in the AI Azure resource are available

So not an ikey issue. Can you check Fiddler to see if application insights ingestion endpoints are reachable and are responding ?

I gave up finding what's the issue ((
Someone just need to try to create a legacy ASP.NET app, just create, add AI, and try making it working.
My app is running in Azure and locally, with no events from both sites.
A bit strange as I see both sites (local and Azure) in the live metrics.

Since you see data locally in Visual Studio, there is nothing wrong with SDK, and the screenshot shows it even has correct instrumentation key.
Either the machine has network issues to reach Application Insights backend, or data is rejected for this particular ikey due to throttling or quota or something else.. (most likely case as LiveMetric works)
Closing as no action item for the SDK.

What I am supposed to do next? I have created 2 new App Service-es, with 2 different AI instances. No any traffic, no data, no quotas. Where to dig?

@pharring May I ask you to help, this does not seem right.

What I am supposed to do next? I have created 2 new App Service-es, with 2 different AI instances. No any traffic, no data, no quotas. Where to dig?

I already gave my suggestion on how to continue the investigation. Feel free to follow that, or you may open Azure support case.
This repo is for the SDK issues, and from what you shared, there is no issue with SDK or its configuration.

Seems you're right, custom events and metrics are available only in the Live Metrics. Created support case. Thanks

Just an update:
The problem was in the Azure Region we were using.
We've created Application Insights resource in the Germany West Central data canter, the data center was available for choice in the Azure Portal but it turned out that Application Insights is not available there.
At least partially, Live Metrics was working just fine but events were not persisted.

@yahorsi, you're right. I think this was caused by a bug that a few regions were accidently opened before all work completed. Germany West Central started supporting Application Insights in Preview mode in October 2020.
Here is the link which tracks its status:
https://azure.microsoft.com/en-us/global-infrastructure/services/?products=monitor&regions=us-central,us-east,us-east-2,us-north-central,us-south-central,us-west-central,us-west,us-west-2,europe-north,europe-west,germany-non-regional,germany-central,germany-north,germany-northeast,germany-west-central


Errors logged by official-storybook

@ndelangen I'm creating an issue recording what I find here.
"Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail."
This is due to switching certain UI components from classes to SFCs. The actually use of the ref comes on this line of react-komposer:
https://github.com/storybooks/react-komposer/blob/975fa67f07ca75f889ae2161b047b4d7037fa013/src/compose.js#L126-L128
I'm not sure if that ref is ever used (perhaps @Hypnosphi remembers something) but if I pass { withRef: false } as a second argument to compose() here and here the error goes away (and the UI still appears to work).
Warning: Unsafe lifecycle methods were found within a strict-mode tree
This issue: https://github.com/emotion-js/emotion/issues/644
Plus similar problems with react-split-pane (our issue and react-modal (https://github.com/reactjs/react-modal/issues/649), et al (Velocity also)

I'm getting the bug: Stateless function components cannot be given refs. Attempts to access this ref will fail. as well. This happened after I decided to upgrade to the v4 alpha
It further says to check the following spots

Check the render method of Container(Layout).
Check the render method of Container(AddonPanel)

So far, everything seems to be working despite the bug.

"Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail." is being fixed right now on the theming branch

BTW, It happens on every app, because of the manager.

Comment to keep this issue open. We just ran into it with v4.0.0-alpha10.

It happens with using Angular at 4.0-alpha10 as well

seeing this issue still trying to incorporate an emotion theme decorator:
import React from 'react';
import { storiesOf } from '@storybook/react';
import { Button } from './Button';
import { ThemeProvider } from 'emotion-theming';
import { theme } from '../../constants/theme';

const Theme = storyFn => (
    <ThemeProvider theme={theme}>{storyFn()}</ThemeProvider>
);

storiesOf('Components/Button', module)
    .addDecorator(Theme)
    .addWithJSX('primary', () => (
    <Button>I am a Button</Button>
));

It's not happening anymore.

thanks!