system service doesn't get installed

Hello,
I'm trying to use dnscrypt-proxy v.2 on Windows 10 x64. Following this
https://github.com/jedisct1/dnscrypt-proxy/wiki/installation
instructions, I opened a console with elevated privileges and started the dnscrypt-proxy.exe. After that I changed my Windows-DNS-Settings to <IP_ADDRESS>. Back in the console I typed in "dnscrypt-proxy -service install" and "dnscrypt-proxy -service start". I also tried the "service-install.bat". It shows the following:
N:\Programme\Netz\DNSCrypt-Proxy (p)>.\dnscrypt-proxy.exe -service install
N:\Programme\Netz\DNSCrypt-Proxy (p)>.\dnscrypt-proxy.exe -service start
""
Thank you for using dnscrypt-proxy! Hit [RETURN] to finish
The Problem: The service doesn't get installed! I cannot find it and the "service-uninstall.bat" also says, that it's not installed.
What could be the cause?
V.1 was running fine. Maybe something left behind from v.1 blocks v.2? I have deleted the Windows-service of v.1 with the "sc delete" command, but could it be, that there is something left from v.1 in the registry causing problems?
Please help, your program ist awesome, thank you very much!
EDIT: In my post above I have forgotten to copy the first line of the output of the "service-install.bat":
Es sind keine Einträge in der Liste. [my english translation: There are no entries in the list.]
N:\Programme\Netz\DNSCrypt-Proxy (p)>.\dnscrypt-proxy.exe -service install
N:\Programme\Netz\DNSCrypt-Proxy (p)>.\dnscrypt-proxy.exe -service start
""
Thank you for using dnscrypt-proxy! Hit [RETURN] to finish

@Biggizen
You have to check, if *.txt files (blocking rules, for example) really existing on the right places.
Especially, if you were set absolute pathes in config.
Check all necessary *.txt files and corresponding pathes on the disk and in the *.toml
Then uninstall and install with *.bat files.

Thank you for your answer, iWARR. Unfortunately it didn't help. In the folder
N:\Programme\Netz\DNSCrypt-Proxy (p)
are the following files:
blacklist.txt
blocked.log
dnscrypt-proxy.exe
dnscrypt-proxy.log
dnscrypt-proxy.toml
example-blacklist.txt
example-cloaking-rules.txt
example-dnscrypt-proxy.toml
example-forwarding-rules.txt
ip-blacklist.txt
ip-blocked.log
LICENSE
nx.log
query.log
service-install.bat
service-restart.bat
service-uninstall.bat

And this is the toml-file:
##############################################
#                                            #
#        dnscrypt-proxy configuration        #
#                                            #
##############################################

## This is an example configuration file.
## You should adjust it to your needs, and save it as "dnscrypt-proxy.toml"
##
## Online documentation is available here: https://dnscrypt.info/doc

##################################
#         Global settings        #
##################################

## List of servers to use
## If this line is commented, all registered servers matching the require_* filters
## will be used
## The proxy will automatically pick the fastest, working servers from the list.

# server_names = ['scaleway-fr', 'google', 'yandex']

## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
## To only use systemd activation sockets, use an empty set: []

listen_addresses = ['<IP_ADDRESS>:53', '[::1]:53']

## Maximum number of simultaneous client connections to accept

max_clients = 250

## Require servers (from static + remote sources) to satisfy specific properties

# Use servers reachable over IPv4
ipv4_servers = true

# Use servers reachable over IPv6 -- Do not enable if you don't have IPv6 connectivity
ipv6_servers = true

# Use servers implementing the DNSCrypt protocol
dnscrypt_servers = true

# Use servers implementing the DNS-over-HTTPS protocol
doh_servers = true

## Require servers defined by remote sources to satisfy specific properties

# Server must support DNS security extensions (DNSSEC)
require_dnssec = false

# Server must not log user queries (declarative)
require_nolog = true

# Server must not enforce its own blacklist (for parental control, ads blocking...)
require_nofilter = true

## Always use TCP to connect to upstream servers

force_tcp = false

## How long a DNS query will wait for a response, in milliseconds

timeout = 2500

## Load-balancing strategy: 'p2' (default), 'ph', 'fastest' or 'random'

lb_strategy = 'p2'

## Log level (0-6, default: 2 - 0 is very verbose, 6 only contains fatal errors)

log_level = 2

## log file for the application

log_file = 'N:\Programme\Netz\DNSCrypt-Proxy (p)\dnscrypt-proxy.log'

## Use the system logger (syslog on Unix, Event Log on Windows)

# use_syslog = true

## Delay, in minutes, after which certificates are reloaded

cert_refresh_delay = 240

## Fallback resolver
## This is a normal, non-encrypted DNS resolver, that will be only used
## for one-shot queries when retrieving the initial resolvers list, and
## only if the system DNS configuration doesn't work.
## No user application queries will ever be leaked through this resolver,
## and it will not be used after IP addresses of resolvers URLs have been found.
## It will never be used if lists have already been cached, and if stamps
## don't include host names without IP addresses.
## It will not be used if the configured system DNS works.
## A resolver supporting DNSSEC is recommended. This may become mandatory.

fallback_resolver = '<IP_ADDRESS>:53'

## Never try to use the system DNS settings; unconditionally use the
## fallback resolver.

ignore_system_dns = false

#########################
#        Filters        #
#########################

## Immediately respond to IPv6-related queries with an empty response
## This makes things faster when there is no IPv6 connectivity, but can
## also cause reliability issues with some stub resolvers. In
## particular, enabling this on macOS is not recommended.

block_ipv6 = false

##################################################################################
#        Route queries for specific domains to a dedicated set of servers        #
##################################################################################

## Example map entries (one entry per line):
## example.com <IP_ADDRESS>
## example.net <IP_ADDRESS>,<IP_ADDRESS>

# forwarding_rules = 'forwarding-rules.txt'

###############################
#        Cloaking rules       #
###############################

## Cloaking returns a predefined address for a specific name.
## In addition to acting as a HOSTS file, it can also return the IP address
## of a different name. It will also do CNAME flattening.
##
## Example map entries (one entry per line)
## example.com     <IP_ADDRESS>
## www.google.com  forcesafesearch.google.com

# cloaking_rules = 'cloaking-rules.txt'

###########################
#        DNS cache        #
###########################

## Enable a DNS cache to reduce latency and outgoing traffic

cache = true

## Cache size

cache_size = 256

## Minimum TTL for cached entries

cache_min_ttl = 600

## Maxmimum TTL for cached entries

cache_max_ttl = 86400

## TTL for negatively cached entries

cache_neg_ttl = 60

###############################
#        Query logging        #
###############################

## Log client queries to a file

[query_log]

  ## Path to the query log file (absolute, or relative to the same directory as the executable file)

  file = 'N:\Programme\Netz\DNSCrypt-Proxy (p)\query.log'

  ## Query log format (currently supported: tsv and ltsv)

  format = 'tsv'

  ## Do not log these query types, to reduce verbosity. Keep empty to log everything.

  # ignored_qtypes = ['DNSKEY', 'NS']

############################################
#        Suspicious queries logging        #
############################################

## Log queries for nonexistent zones
## These queries can reveal the presence of malware, broken/obsolete applications,
## and devices signaling their presence to 3rd parties.

[nx_log]

  ## Path to the query log file (absolute, or relative to the same directory as the executable file)

  file = 'N:\Programme\Netz\DNSCrypt-Proxy (p)\nx.log'

  ## Query log format (currently supported: tsv and ltsv)

  format = 'tsv'

######################################################
#        Pattern-based blocking (blacklists)        #
######################################################

## Blacklists are made of one pattern per line. Example of valid patterns:
##
##   example.com
##   *sex*
##   ads.*
##   ads*.example.*
##   ads*.example[0-9]*.com
##
## Example blacklist files can be found at https://download.dnscrypt.info/blacklists/
## A script to build blacklists from public feeds can be found in the
## `utils/generate-domains-blacklists` directory of the dnscrypt-proxy source code.

[blacklist]

  ## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)

  blacklist_file = 'N:\Programme\Netz\DNSCrypt-Proxy (p)\blacklist.txt'

  ## Optional path to a file logging blocked queries

  log_file = 'N:\Programme\Netz\DNSCrypt-Proxy (p)\blocked.log'

  ## Optional log format: tsv or ltsv (default: tsv)

  log_format = 'tsv'

###########################################################
#        Pattern-based IP blocking (IP blacklists)        #
###########################################################

## IP blacklists are made of one pattern per line. Example of valid patterns:
##
##   127.*
##   fe80:abcd:*
##   <IP_ADDRESS>

[ip_blacklist]

  ## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)

  blacklist_file = 'N:\Programme\Netz\DNSCrypt-Proxy (p)\ip-blacklist.txt'

  ## Optional path to a file logging blocked queries

  log_file = 'N:\Programme\Netz\DNSCrypt-Proxy (p)\ip-blocked.log'

  ## Optional log format: tsv or ltsv (default: tsv)

  log_format = 'tsv'

##########################################
#        Time access restrictions        #
##########################################

## One or more weekly schedules can be defined here.
## Patterns in the name-based blocklist can optionally be followed with @schedule_name
## to apply the pattern 'schedule_name' only when it matches a time range of that schedule.
##
## For example, the following rule in a blacklist file:
## *.youtube.* @time-to-sleep
## would block access to Youtube only during the days, and period of the days
## define by the 'time-to-sleep' schedule.
##
## {after='21:00', before= '7:00'} matches 0:00-7:00 and 21:00-0:00
## {after= '9:00', before='18:00'} matches 9:00-18:00

[schedules]

  # [schedules.'time-to-sleep']
  # mon = [{after='21:00', before='7:00'}]
  # tue = [{after='21:00', before='7:00'}]
  # wed = [{after='21:00', before='7:00'}]
  # thu = [{after='21:00', before='7:00'}]
  # fri = [{after='23:00', before='7:00'}]
  # sat = [{after='23:00', before='7:00'}]
  # sun = [{after='21:00', before='7:00'}]

  # [schedules.'work']
  # mon = [{after='9:00', before='18:00'}]
  # tue = [{after='9:00', before='18:00'}]
  # wed = [{after='9:00', before='18:00'}]
  # thu = [{after='9:00', before='18:00'}]
  # fri = [{after='9:00', before='17:00'}]

#########################
#        Servers        #
#########################

## Remote lists of available servers
## Multiple sources can be used simultaneously, but every source
## requires a dedicated cache file.
##
## Refer to the documentation for URLs of public sources.
##
## A prefix can be prepended to server names in order to
## avoid collisions if different sources share the same for
## different servers. In that case, names listed in `server_names`
## must include the prefixes.
##
## A cache file can be specified without a URL in order to maintain lists
## locally.

[sources]

  ## An example of a remote source

  [sources.'public-resolvers']
  url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'
  cache_file = 'public-resolvers.md'
  minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
  refresh_delay = 72
  prefix = ''

  ## Another example source, with resolvers censoring some websites not approriate for children
  ## This is a subset of the `public-resolvers` list, so enabling both is useless

  #  [sources.'parental-control']
  #  url = 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md'
  #  cache_file = 'parental-control.md'
  #  minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'

## Optional, local, static list of additional servers
## Mostly useful for testing your own servers.

[static]

  # [static.'google']
  # stamp = 'sdns://AgUAAAAAAAAAACDyXGrcc5eNecJ8nomJCJ-q6eCLTEn6bHic0hWGUwYQaA5kbnMuZ29vZ2xlLmNvbQ0vZXhwZXJpbWVudGFs'

Is there anything wrong?

@Biggizen
I don't like this:
N:\Programme\Netz\DNSCrypt-Proxy (p)
Try
N:\Programme\Netz\dnscrypt-proxy\
This kind of issue (dnscrypt-proxy.exe service doesn't exist in the Windows Task Manager, but present in the Services) may happen, if you have somehow wrong-connected files. This problem, in the most cases, relative to some wrong pathes. This all info I have for now....
Do you have dnscrypt-proxy in the Services?

@Biggizen Can you download https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md and https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md.minisig manually?

In case you have all necessary files in the one root folder, try do not use absolute pathes.  For example:
blacklist_file = 'blacklist.txt'

public-resolvers.md - opens in the browser. You can create the file and copy-paste. This file have to be created automatically after successful connection through fallback resolver after first installation (or encrypted, as usual)
public-resolvers.md.minisig - must be created automatically after successful connection (no need to do anything with it absolutely)

Do you have dnscrypt-proxy in the Services?

@jedisct1

About my "Service ISSUES" experience: https://github.com/jedisct1/dnscrypt-proxy/issues/51#issuecomment-361252151

Also, look at first post:

Es sind keine Einträge in der Liste. [my english translation: There are no entries in the list.]

As I said many times (issue #51, #93, etc.), No items in the list - is known strange error within your *.bat files on Windows.

Two same problems in the one old issue #51. Good occasion to think about...

@bezdupel and iWARR
Thank you so much for your help!
The manual download of public-resolvers.md and public-resolvers.md.minisig is the solution.

Oh noooo..... I made the mistake to change a running system...
Before I manually downloaded the md-files, I had tried iWARRs recommendation to copy the program files to "C:\Program Files\dnscrypt-proxy". This didn't help. After that I tried the download of the md-files and hooray the service got installed and everything run fine.
So I thought, now with the knowledge of the solution, I can delete the service again with "sc delete" (which was successfull), copy the files (inkluding the md-files) back to my old folder (N:\Programme\Netz\DNSCrypt-Proxy (p)), run the "dnscrypt-proxy.exe" within the console with elevated privileges and than run the "service-install.bat" to install the service again.
But this time running the "dnscrypt-proxy.exe" was different in contrast to my attempt before my first post: Before my first post the following was shown, when I run the "dnscrypt-proxy.exe":
N:\Programme\Netz\DNSCrypt-Proxy (p)>dnscrypt-proxy.exe
N:\Programme\Netz\DNSCrypt-Proxy (p)>

But when I run it after the change of the folder, there was only the first line, not the second anymore. I don't know if this is good, bad or doesn't matter. Anyhow it was different behavior. Maybe for you this is indicative for the problem, that's why I go into this detail.
Anyhow the problem was, that running the "service-install.bat" again didn't install the service.
So I thought, that the solution has to be the combination of manually downloading the md-files + using the path "C:\Program Files\dnscrypt-proxy". So I thought "No problem, then I'll just go back to "C:\Program Files\dnscrypt-proxy", run the "dnscrypt-proxy.exe" and the "service-install.bat" and be happy, though this isn't my prefered folder."
But then the disillusion: Even though beeing back again in the "C:\Program Files\dnscrypt-proxy" folder plus having the md-files - like I said, this had worked before -, now it doesn't work anymore! So I am back at the same point again, like I was before my first post.
Has anyone an idea, why it first worked and now doesn't do anymore, though it's the same situation?
I hope my report isn't written in a too confusing way...

@Biggizen
I recommend you start from the scratch.

Uninstall service with *.bat (no need any sc delete ever).
Delete all your DNSCrypt folders/installation files from all disks.

Reboot.

Start from scratch. Use short pathes for the root folder. This must work:

N:\Programme\Netz\dnscrypt-proxy\
(I think, there is a problem with ( ). dnscrypt-proxy may still expect some problems using absolute pathes there and there... This is my real suggestion until today, sadly)

Use relative pathes in the *.toml . "Relative" - mean like this:

blacklist_file = 'blacklist.txt'
Check your settings carefully. Check Network adapter settings.
Install and enjoy.
Running dnscrypt-proxy is not too complicated task.

I have already tried everything you mention. Maybe I'm doing something wrong with the network adapter settings?
At the IPv4-settings I choose, that I get an IP-address automatically. Below that I manually type in the DNS-server "<IP_ADDRESS>".
At the IPv6-settings I also choose, that I get an IP-address automatically. Below that I manually type in the DNS-server "::1".
At control panel/internet options/connection/lan setting I do NOT hook using an proxy server.

 Just make sure that the firewall and antivirus do not block dnscrypt-proxy.exe access to the Internet. Also try to install the service with the configured public DNS server. If successful, change the settings back to <IP_ADDRESS> and ::1.

"<IP_ADDRESS>"  ????
<IP_ADDRESS>

@iWARR I think it's just a typo.

@Biggizen Also try to comment out the blacklist and IP blacklist — perhaps access to download.dnscrypt.info or its IP is blocked somehow in these files.

@Biggizen
Turn on logs in all your chain: dnscrypt-proxy + G DATA Antivirus + Commodo Internet Security (suggest w/o installing Comodo antivirus?) + Privoxy
And search for problems. Your system is a "blackbox" for anybody here.
P.S. dnscrypt-proxy v1 have a completely different code (language) inside, it's like almost different products with same "operational goals". Otherwise, we all here want v2 should have same stability. That because so many comparisons v2 to v1. (But we know that is not too correctly).
So, v1 service installation your antiviruses may allow, v2 services - not.

Service "DNSCache" (which I have deaktivated

I don't recommend turning this service off, because of (look at the head page):
• DNS caching, to reduce latency and improve privacy
You may ask author to be sure 100% if dnscrypt-proxy use standard system (OS Windows) Dnscache service or it using it's own (?) cache. I think, it use system cache, that because I leave it working.
any other service/process/whatever running
dnscrypt-proxy.exe have to appear in both places: Windows Services and Task Manager/Processes.
If you miss the last - you are in trouble.

"<IP_ADDRESS>" was a typo only in my post, yes ;-)
Service is running now. I deleted all dnscrypt registry entries, made some changes in the *.toml, etc.
I don't know, what exactly solved the problem and I don't want to check this out by reversing my changes to do them step by step again to see, at what point it makes click. I don't want to risk, breaking it again :-/
The deaktivated service "dnscache" is the result of the past times, in which I blocked traffic with the hosts-file, because a very large hosts-file causes extreme(!) CPU load, when "dnscache" is active. After switching to dnscrypt-proxy with its black-list, I saw no need to reactivate "dnscache", because everyhing run fine without it.
I have two other questions, if you are so kind to help me with them too:

In my logfile of the blacklist, every block entry shows up doubled. Is this normal or could this be an indication, that my PC makes unnecessary double-connections, maybe caused by "loopings" through the chain of dnscrypt-proxy and privoxy (both listen on <IP_ADDRESS>, but on different ports)? I tried to check this with wireshark, but its massive output was way to complicated to analyse for me. I'm no expert for network traffic - not yet anyway ;-)

What is the right DNS-entry for the router? With dnscrypt.proxy-v.1 I had chosen one specific DNS-server and entered its address in the router, but v.2 has the functionality to choose between different servers automatically, when I understand it right. So what must be entered in the DNS-field of the router?

Thank you for your helpfulness and time!

do them step by step again

As I said before. Nice to see you have it working.

blocked traffic with the hosts-file, because a very large hosts-file causes extreme(!) CPU load

• Very large hosts-file - very bad idea.
• DNS cache - good idea. I said why.
• dnscrypt-proxy blocking is a brilliant tech, that putting hosts -blocking method in the past (obsolete) almost at all. Learn and try to understand all amazing benefits of dnscrypt-proxy blocking with wildcads * and how it works. Then you will see that you don't need huge hosts -file, it will become very-very small, when you smartly move your main blocking domains in the dnscrypt-proxy. (I don't mean copy-paste! No!)

It's normal behavior. DNS works like a flow.

You can use only specific servers if you want. Set them in *.toml

server_names = ['servername']
[static]
  [static.'servername']
  stamp = 'sdns://'...'

You can choose servers you like from the public-resolvers.md
But dnscrypt-resolvers.csv servers list from v1 was more informative and complete.
Unfortunatelly, the link is now unavailable (or I don't know the new one).
Don't use Google or Cisco (OpenDNS) servers - they are huge spying.
Take into account geographical location (closer to you) and test their pings.

I have stoped using the hosts-file, when I found dnscrypt-proxy-v.1 and I know the wildcards.
Regarding my second question: I meant, what do I have to enter in the DNS-field of the router, when I want to use v.2's automatic choose between the servers?


Various fixes to the chapter 10 text

I pushed all of my changes from a full pass. Besides many small changes I made one big one: I remove the implementation of document.cookie and moved it to an exercise. I did this for two reasons:

We don't actually use this any more. It used to be necessary to demonstrate an actual XSS attack, but the chapter no longer does that. (Nor should it, since the focus is now elsewhere.)
The implementation was incorrect: it didn't add parameters to the document.cookie string. This is fixable, but more complicated, and I'm not sure why it's important.

Instead document.cookie makes a great exercise, especially when paired with HttpOnly to continue our theme of bundling features with security policies.


filer.remote.gateway not filer.remote.sync for remote.mount.buckets help string.

What problem are we solving?
Incorrect (I think?) help strings for command documentation.
How are we solving the problem?
Correcting the help string.
How is the PR tested?
untested, doc string change, are there tests for that?
Checks

[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging. -> I already updated the wiki when it caught me out.

Also related to #5935

I noticed when trying to do a weed filer.remote.sync -createBucketAt=cloud1 and it complained flag provided but not defined: -createBucketAt so a bit of code searching lead me to think a bit of copy paste errors in the doc strings had happened.


Please adjust sentences to localized label in section "Overview of possible results from the fit analysis"

In section "overview-of-possible-results-from-the-fit-analysis", please adjust all sentences to localized label. It's a little bit cumbersome to compare warning messages and docs.

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: b375bd7e-0a71-3253-e6f9-e7ad4a4bf05f
Version Independent ID: 18cca7a1-7c0c-76f3-0bbb-73dcb3f34e47
Content: 計画の最適化フィット分析 - Supply Chain Management | Dynamics 365
Content Source: articles/supply-chain/master-planning/planning-optimization/planning-optimization-fit-analysis.md
Service: dynamics-365-supply-chain
Product: ****
Technology: ****
GitHub Login: @ChristianRytt
Microsoft Alias: crytt

@DKobayashi-ykgw , thank you for letting us know about this issue. I have forwarded your comment to our localization team.

Thx @DKobayashi-ykgw, @kamaybac and @ChristianRytt for getting this issue to us - we're working to get it fixed and will update thread when done - cc @vivimills @rosacek

@DKobayashi-ykgw @kamaybac @ChristianRytt @vivimills @vinceno sorry this has been reviewed and updated. Japanese as well as all other language updates has been published live since Dec 23rd


python3Packages.pontos: 22.2.1 -> 22.2.2

Motivation for this change
https://github.com/greenbone/pontos/releases/tag/v22.2.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 159055 run on x86_64-linux 1

2 packages built:

python310Packages.pontos
python39Packages.pontos


Feature request: add parametric ELU (PELU) activation function

Proposal
The exponential linear unit (ELU) is already in TensorFlow as tf.nn.elu which is great. The new parametric version (called PELU) shows very promising experimental results so I wonder if it could be added in to TensorFlow too in order to encourage more widespread experimentation with it by the deep learning community. One problem with it though is that it's stateful (e.g. tf.Variable), meaning it's not clear to me where in TensorFlow it fits in.
Implementation
Here's an implementation of the PELU that I've been using lately (I'm assuming batch_size is the first dimension in x):
def pelu(x):
  """Parametric Exponential Linear Unit (https://arxiv.org/abs/1605.09332v1)."""
  with tf.variable_scope(x.op.name + '_activation', initializer=tf.constant_initializer(1.0)):
    shape = x.get_shape().as_list()[1:]
    alpha = tf.get_variable('alpha', shape)
    beta = tf.get_variable('beta', shape)
    positive = tf.nn.relu(x) * alpha / (beta + 1e-9)
    negative = alpha * (tf.exp((-tf.nn.relu(-x)) / (beta + 1e-9)) - 1)
    return negative + positive

Reference
https://arxiv.org/abs/1605.09332v1

My only hesitation would be whether or not PELU is still relevant now that SELU is part of TF-Core. Does anyone in the community still see this as useful and if so could you point to an architecture or experiment that shows value. Thanks!

Seeing as the original author of this issue no longer sees value and there are several alternatives I'm going to close this issue. Happy to have someone re-open it if there is evidence for its usefulness.


conditioanlly create and explode war

Currently every invocation of glide creates and exploded war in the same app dir. This is redundant. This is required only when dependencies have changed of the outputApp does not exists.
We can conditionally skip the execution of tasks.
war {
    setOnlyIf {
    }
}

If nothing is changed in source code, up-to-date check saves the hassle. We can verify by checking for UP-TO-DATE.
....
:war UP-TO-DATE
:appengineExplodeApp UP-TO-DATE
...

However this may change when the glide's sync and appengineRun reuse the same directory as the content of directory might have been changed after the war was exploded. Which is fair.
Closing for now. If that turns out to be big deal, can reopen.


Add content on About Page

This is solving this #16 issue on adding content on About Page. Kindly check @Sarthak-Mittal

Okay, I'll change it.
Thank you for the review

Sorry, quick question.
Did you mean all the content is the heading of "About this project" to the rest of the content?
So I leave the display-4 About title inside the jumbotron?

How about this? @Sarthak-Mittal

Wow! This looks awesome.

Ok, I'll push it to PR then

pushed new commit @Sarthak-Mittal . please check it

The content looks great but overall it doesn't align with the general layout and design of the application. Try making a separate .container class outside .jumbotron and putting all the content there.
Make sure you only make PR for only one issue i.e. #16 . Remove changes for #18
IMPORTANT:: Do not make PR with changed package-lock.json, package.json and tsconfig.json

You need to address the last two lines also.
Good things is, About page is good to merge now but those two need to be addressed before the merge.

Sorry, any advice to do it @Sarthak-Mittal ? Do I need to create a new PR?

No need to make a new PR. A quick hack could be, you can copy those from my repo to your own local code. Make a commit for that and then I will merge. Later you can change them back to your own original files.

Hi @Sarthak-Mittal do you still need a new commit from me?

No, I have resolved those already and merged.


Add more .json files with different type of data

Hey there, As the name of the repository suggests, we want to make this a one stop destination for any info available so, kindly add more and more to the repository.
<3

Anyone can contribute to this issue, each request will be considered but only quality Pull Request will be considered

Hey,
I think i can help you by adding top XYZ libraries or Popular ML models something like that. or if you have something particular things we can discuss here.

Hello, I want to work on this.

Hey @BharatChotwani you can work on it, it's open for all <3

@OjashKush Lemme know if your contribution is being considered or has been excluded

Its been excluded


Update README.md, add changes made in #223

In #223 there was a change to the locale registration process, so the locale addition to the Languages menu is now required.

I created @types/Locale.d.ts to prevent coding errors, so I simplified the Contributing description.
I will do the integration of the new locales into the application menu myself, if it has not already been done.


(WIP) Branch 0.3 jlm test PR

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

just a test do not merge PR

Can one of the admins verify this patch?


iOS Splash Screen

We need one.

Agreed!

This is just about ready for PR. I'm seeing a white flicker and still need to resolve it.

closed by #129


Missing Push Notification Entitlement

We are using phonegap cli version cli-6.3.0
and also using pushwoosh plugin version 6.3.2
We are currently facing issue like
http://prnt.sc/dibrwd
Since last 8th Dec 2016 till now.
As previous just one day we have already created new build and it working fine.
Just after one day we rebuild with same type code and app give above type error.
Any one have solution please ?
we are not able to upload our latest build even for testflight.
We create ipa using phonegap build website.

From that message it seems that your app and associated distribution provisioning profile are not set up to use push notifications. You will need to go into Apples Developer Portal and update both to use push.


[Type checker] Downgrade some "redundant conformance" errors to warnings.

When an extension introduces a conformance that already exists, the
type checker will reject the conformance and then ignore it. In cases
where the original conformance is in the same module as the type or
protocol (but the new, redundant conformance is in some other module),
downgrade this error to a warning. This helps with library-evolution
cases where a library omitted a particular conformance for one of its
own types/protocols in a previous version, then introduces it in a new
version.
The specific driver for this is the conformance of String to
Collection, which affects source compatibility. Fixes
rdar://problem/31104415.

@swift-ci please smoke test and merge

swiftpm failure is unrelated

@swift-ci please smoke test Linux


add support for k8s v1.12.0-rc.2

What this PR does / why we need it:
See https://github.com/kubernetes/kubernetes/releases/tag/v1.12.0-rc.2
TODO:

[x] upload Windows binary

If applicable:

[ ] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:
add support for Kubernetes 1.12.0-rc.2

/lgtm


[$1000] Web - The workspace name is not changing dynamically in the search tab

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

Action Performed:

Open the app and login with user A (device 1)
Open the app and login with user A (device 2)
From device 1, open the search tab
From device 2, change the workspace name

Expected Result:
The workspace name should be changed dynamically in the search tab
Actual Result:
The workspace name is not changing dynamically in the search tab
Workaround:
Unknown
Platforms:

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

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

Version Number: 1.3.41-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/1b72b411-03c6-4281-853e-e24808e21caa
https://github.com/Expensify/App/assets/93399543/5c830cf3-9678-43ef-be31-89e66cb53e01
Expensify/Expensify Issue URL:
Issue reported by: @mejed-alkoutaini
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689435641790829
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01b35c6a0eb7aedaab
Upwork Job ID:<PHONE_NUMBER>476277248
Last Price Increase: 2023-07-18

Please re-state the problem that we are trying to solve in this issue.
Web - The workspace name is not changing dynamically in the search tab
What is the root cause of that problem?
Currently, on SearchPage.js you are re-rendering only when reports and personalDetails data have been changed.  If anything changes to policies (workspace data) nothing is to be re-rendered.
What changes do you think we should make in order to solve the problem?
first, You need to fetch policies props from withOnyx using policySelector functions (need to pass its parameter which value has to be checked if changed). So you need to replace code on below mentioned file:
https://github.com/Expensify/App/blob/main/src/pages/SearchPage.js#L201-L215
with the below code:
const policySelector = (policy) =>
    policy && {
        type: policy.type,
        name: policy.name,
        avatar: policy.avatar,
    };

export default compose(
    withLocalize,
    withWindowDimensions,
    withOnyx({
        reports: {
            key: ONYXKEYS.COLLECTION.REPORT,
        },
        personalDetails: {
            key: ONYXKEYS.PERSONAL_DETAILS_LIST,
        },
        betas: {
            key: ONYXKEYS.BETAS,
        },
        policies: {
            key: ONYXKEYS.COLLECTION.POLICY,
            selector: policySelector,
        },
    }),
)(SearchPage);

then you need to check if policies props have been changed or not for that you need to add below condition to componentDidUpdate function
if (_.isEqual(prevProps.reports, this.props.reports) && _.isEqual(prevProps.personalDetails, this.props.personalDetails) && _.isEqual(prevProps.policies, this.props.policies)) {
            return;
        }

Video:
https://drive.google.com/file/d/1UEsQpNpi6oIRwZIGBYTyAn_JyLC_RL7R/view?usp=sharing

@ginsuma Thanks for the proposal. I don't think your RCA is complete. Can you explain why this happens only when we use 2 different devices (and not when we use 2 different tabs). Also I have noticed something weird, the display name in the search page on the 2nd device is out of sync by 1 change i.e. if you change the name n time, you will get the name that you set at n-1 time.
https://github.com/Expensify/App/assets/16493223/bd84260d-13f8-44eb-8a68-05f99ceeff6b

@kaushiktd Thanks for the proposal. I think it's the same as @ginsuma. Feel free to update your proposal answering the above concerns.

@ginsuma Thanks for the update. Can you please explain why updateOptions run before allPolicies update?

@tienifr Thanks for the proposal. Your RCA makes sense. The solution should work but I think we can find a better shorter solution. As far as I can tell reports relies on policies but it's never the other way around (policies does not relay on reports). So theoretically we can fix this issue by simply changing the order of pusher events to have the policies get updated first then the reports. Would that be sufficient here?

@greg-schroeder I think we should make this Internal. The solution is to update the order of pusher events. Currently we get the reports updated first then the policies. Changing the order should fix this issue.

@tienifr Oh right, sorry I missed that. Any specific reason why we should pass policies to getSearchOptions instead of using the connected one (the one in ReportUtils)?

Not overdue. @tienifr can you please answer the above question?

@tienifr Thanks for the update. I think that makes sense but we will end up updating a lot? getOptions and every underlying function and so for getPolicyName. This looks too much given the scope of this issue. I think we should fix the pusher events this should at least fix the name change and will ask about the workspace image.

@greg-schroeder Please assign an internal engineer here. Task: On changing workspace name verify the policy object in pusher events comes first. - currently it's not:

Following - I can assign an internal engineer if that's the way we go

Closing per discussion as failure to dynamically update is not a bug

@tienifr Let's discuss in Slack.


Lit-html and Lit-Element logos

Will there be logos for both projects?

I recall the conversation regarding this topic in Polymer Slack and @justinfagnani had a sort of sketch but this apparently did not proceed since then. I guess there should be a logo by the time of releasing 1.0

Understood, I'll search for it there
Thks :+1:


[Backport] On Repo Deletion: Delete related TrackedTimes too (#11110)

Backport of #11110

make L-G-T-M work.


Nalu-Wind to AMR-Wind data converter

Adding action to convert Nalu-Wind plane data to AMR-Wind plane data.

This action is designed to work for YZ Nalu-wind planes, and has been tested successfully on the NREL-2.8 AWC runs. I need help to generalize it to arbitrary Nalu-Wind planes.
Also, the code relies on the Nalu-Wind helper scripts: /projects/wind_uq/lcheung/naluhelperscripts/. We should think about porting over the relevant code to keep the postprocessing engine light.

Was able to test this with both YZ planes and XY planes, and in cases where coordfiles are present and also included in the file.
I am merging this into the main branch now, so it can be immediately used in various projects, but we can always make more modifications and updates later on.
Lawrence


chore(website): fix github edit links for docs

Description
This PR fixes the github links for editing the page to display correctly.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.231%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5276

Relevant Lines:
5578

💛  - Coveralls


Matplolib Axes Error

Hi All,
First of all, thank you for this awesome library, the concept and the library is really really nice.
I'm trying to test the library with a dataset but got some troubles related to Matplotlib and the code, Does anyone have a clue about how this issue could be handled or any workaround?
Best Regards

TypeError                                 Traceback (most recent call last)
Cell In [47], line 2
1 A.basic_stats()
----> 2 A.visualize_network(style="diagonal")
--> 201         drawing_machinery.draw(network,
202                                positions,
203                                node_color=facecolor_list[color],
204                                with_labels=node_labels,
205                                edge_size=edge_size,
206                                node_size=node_sizes,
207                                arrowsize=arrowsize,
208                                ax=axis,
209                                font_size=node_font_size)
210         color += 1
212     if display == True:
File ~/.local/lib/python3.10/site-packages/py3plex/visualization/drawing_machinery.py:88, in draw(G, pos, ax, **kwds)
86 cf.set_facecolor('w')
87 if ax is None:
---> 88     if cf._axstack() is None:
89         ax = cf.add_axes((0, 0, 1, 1))
90     else:
TypeError: '_AxesStack' object is not callable
matplotlib version 3.6.0

We merged this, lmk if we can close?

mpl was pinned alongside networkx, released py3plex==0.95 where visualizations examples seems to work fine (example_multilayer_visualization.py) - let's re-open the issue for the new version if it persists


Feature request: Add optional flag to be able to tag/label all resources created by the test suite

It would be really neat if we could pass in an optional flag to specify a test string to be used as a tag or label applied to any resource created by the test suite, VM, disks etc.
This will help with tracking usage per test run and also help with cleanup after a test run should there be any resources remaining after the test suite has been completed or if the tests are interrupted.

This is in reference to the imagetest specifically

All resources created by the test suite should have a description of something like "Instance created by Daisy in workflow "network" on behalf of root" and name like vm1-network-m2jl8 (for an example run of running test network/ubuntu-2004-lts (ID m2jl8) in project whatever), but that doesn't make it very easy to identify programatically since you have to parse out the workflow ID.
We should be able to add a label to make it more easy to identify these, I'll just have to go through all the creation functions and add some labeling.


Standardize fetchInstallation to use installQuery as argument

Summary
Currently, fetchInstallation uses InstallQuery as an argument, which suggests a class is being passed.
This PR aligns all instances to use installQuery instead of InstallQuery, aligning with corresponding changes to the Node SDK.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

Thanks!


Implement fast, flexible Load Balancing architecture

There are a few considerations here (along with the determination as to what balancing software to use—see #1):

Should the balancer have two network interfaces—one for public, one for internal?
Should the balancer have any other hardware differences? Gigabit USB 3.0 NIC instead of built-in 10/100 jack? (There could be some speedup by using a different interface, but likely not... worth testing at least).
For Nginx, Varnish, HAProxy, etc., what's the best way to manage the servers in the balancer live/on-the-fly, without having to restart the balancer for a config change?

I'm definitely leaning towards Nginx, for simplicity's sake, and since it's used all over the place. Not considering Apache really, since I haven't been impressed with it's balancing/proxying capabilities (which are getting better, but are still a bit resource-intensive).
Here are a couple links to help tease out using Nginx:

Runtime Reconfiguration (during deployment)
Nginx Load Balancing, Content proxying/caching

I have basic balancing set up. Would like to look into two network interfaces for the balancer though; that would probably be helpful in isolating the guts of the Pi cluster from any network to which I connect it. But it could also make things a little less convenient, having to work through a 'gateway' Pi.

Using the balancer (authenticated page load, no Nginx caching):
$ ab -n 100 -c 10 -C "SESSxxxxxxxxxxx=xxxxxxxxxxxx" http://pidramble.com/about
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking pidramble.com (be patient).....done

Server Software:        nginx/1.2.1
Server Hostname:        pidramble.com
Server Port:            80

Document Path:          /about
Document Length:        6388 bytes

Concurrency Level:      10
Time taken for tests:   11.634 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      754700 bytes
HTML transferred:       638800 bytes
Requests per second:    8.60 [#/sec] (mean)
Time per request:       1163.418 [ms] (mean)
Time per request:       116.342 [ms] (mean, across all concurrent requests)
Transfer rate:          63.35 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1    1   0.2      1       2
Processing:   804 1094 144.9   1061    1944
Waiting:      803 1094 145.0   1061    1944
Total:        805 1095 145.0   1062    1946

Percentage of the requests served within a certain time (ms)
  50%   1062
  66%   1084
  75%   1099
  80%   1147
  90%   1206
  95%   1404
  98%   1587
  99%   1946
 100%   1946 (longest request)

Direct to one server (authenticated page load, no Nginx caching):
$ ab -n 100 -c 10 -C "SESSxxxxxxxxxxx=xxxxxxxxxxxx" http://<IP_ADDRESS>/about
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking <IP_ADDRESS> (be patient).....done

Server Software:        nginx/1.2.1
Server Hostname:        <IP_ADDRESS>
Server Port:            80

Document Path:          /about
Document Length:        6388 bytes

Concurrency Level:      10
Time taken for tests:   26.630 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      741100 bytes
HTML transferred:       638800 bytes
Requests per second:    3.76 [#/sec] (mean)
Time per request:       2663.028 [ms] (mean)
Time per request:       266.303 [ms] (mean, across all concurrent requests)
Transfer rate:          27.18 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1   11  32.0      1     113
Processing:   978 2557 406.6   2502    3326
Waiting:      977 2557 406.6   2501    3325
Total:       1078 2568 399.5   2503    3397

Percentage of the requests served within a certain time (ms)
  50%   2503
  66%   2549
  75%   2620
  80%   2918
  90%   3129
  95%   3298
  98%   3385
  99%   3397
 100%   3397 (longest request)

To get the cookie key/value, I just logged in in the browser, viewed the cookies for the site (only one on this fresh D8 site, what a pleasant sight!), and grabbed the key/value.

Also see the ab benchmark for the balancer serving cached requests: https://github.com/geerlingguy/raspberry-pi-dramble/issues/13#issuecomment-75487406
Basically, it nearly maxes out the bandwidth available to the Pi, serving up ~1200 req/s at 10 MB/sec throughput. I'm guessing that we might need to use a gigabit interface to get any further gains over that benchmark.

With #18 complete (DB access is now much faster), I'm now getting:
$ ab -n 100 -c 10 -C "SESSxxxxxxxxxxx=xxxxxxxxxxxx" http://pidramble.com/about
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking pidramble.com (be patient).....done

Server Software:        nginx/1.2.1
Server Hostname:        pidramble.com
Server Port:            80

Document Path:          /about
Document Length:        5775 bytes

Concurrency Level:      10
Time taken for tests:   10.645 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      694000 bytes
HTML transferred:       577500 bytes
Requests per second:    9.39 [#/sec] (mean)
Time per request:       1064.529 [ms] (mean)
Time per request:       106.453 [ms] (mean, across all concurrent requests)
Transfer rate:          63.67 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1    1   0.2      1       2
Processing:   845 1021  63.8   1011    1239
Waiting:      844 1020  63.8   1011    1238
Total:        846 1021  63.8   1012    1241

Percentage of the requests served within a certain time (ms)
  50%   1012
  66%   1041
  75%   1056
  80%   1066
  90%   1100
  95%   1148
  98%   1209
  99%   1241
 100%   1241 (longest request)

Single server:
$ ab -n 100 -c 10 -C "SESSxxxxxxxxxxx=xxxxxxxxxxxx" http://<IP_ADDRESS>/about
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking <IP_ADDRESS> (be patient).....done

Server Software:        nginx/1.2.1
Server Hostname:        <IP_ADDRESS>
Server Port:            80

Document Path:          /about
Document Length:        5775 bytes

Concurrency Level:      10
Time taken for tests:   25.348 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      680300 bytes
HTML transferred:       577500 bytes
Requests per second:    3.95 [#/sec] (mean)
Time per request:       2534.829 [ms] (mean)
Time per request:       253.483 [ms] (mean, across all concurrent requests)
Transfer rate:          26.21 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1   11  32.3      1     114
Processing:   959 2411 299.5   2455    3193
Waiting:      958 2411 299.5   2455    3193
Total:       1057 2423 288.7   2456    3307

Percentage of the requests served within a certain time (ms)
  50%   2456
  66%   2481
  75%   2499
  80%   2523
  90%   2567
  95%   2631
  98%   2954
  99%   3307
 100%   3307 (longest request)

Not too shabby, almost hit 10 req/sec authenticated :)

Leaving open; still need to test having a separate Gigabit interface to see if I can eke out more throughput for Nginx cached pages.

Tested the Gigabit interface, and it seems to allow Nginx to eke out a tiny bit more performance... but maybe we're hitting Pi limitations with running Nginx and pushing the bits down the wire at the same time.
$ ab -n 10000 -c 100 http://pidramble.com/about
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking pidramble.com (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests

Server Software:        nginx/1.2.1
Server Hostname:        pidramble.com
Server Port:            80

Document Path:          /about
Document Length:        5775 bytes

Concurrency Level:      100
Time taken for tests:   6.638 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      68280000 bytes
HTML transferred:       57750000 bytes
Requests per second:    1506.55 [#/sec] (mean)
Time per request:       66.377 [ms] (mean)
Time per request:       0.664 [ms] (mean, across all concurrent requests)
Transfer rate:          10045.66 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        4   32   4.7     32      53
Processing:     8   34   4.2     34      58
Waiting:        8   34   4.2     34      58
Total:         14   66   3.9     66      91

Percentage of the requests served within a certain time (ms)
  50%     66
  66%     67
  75%     67
  80%     67
  90%     68
  95%     69
  98%     71
  99%     79
 100%     91 (longest request)

I was hovering around 1500 req/s using the gigabit interface and a little more of a tuned Nginx configuration (using sendfile, tcp_nodelay and tcp_nopush and a better keepalive timeout). But that doesn't justify the extra clutter of having a Gigabit Ethernet dongle hanging off the top Pi, so I'm going to close this out and call it good!
Nginx, you have done your duty well!

Back on 10/100, I'm not hitting close to the same speeds as the GigE adapter with the updated Nginx config, so though there still may be some ways to eke out more performance, I think we're pretty safe and scalable at this point, as far as cached requests go!
$ ab -n 10000 -c 100 http://pidramble.com/about
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking pidramble.com (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests

Server Software:        nginx/1.2.1
Server Hostname:        pidramble.com
Server Port:            80

Document Path:          /about
Document Length:        5751 bytes

Concurrency Level:      100
Time taken for tests:   6.710 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      67990000 bytes
HTML transferred:       57510000 bytes
Requests per second:    1490.37 [#/sec] (mean)
Time per request:       67.098 [ms] (mean)
Time per request:       0.671 [ms] (mean, across all concurrent requests)
Transfer rate:          9895.51 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        4   32   3.9     32      50
Processing:    13   34   4.0     34      77
Waiting:       12   34   4.0     33      76
Total:         18   67   2.8     66      88

Percentage of the requests served within a certain time (ms)
  50%     66
  66%     67
  75%     68
  80%     68
  90%     69
  95%     70
  98%     71
  99%     74
 100%     88 (longest request)


[WARNING] cannot access director, trying 4 more times

I am on Windows 7 using VirtualBox. When I follow the posted instructions I get the following output
C:\Users\watrous\Documents\GitHub\bosh-lite>bosh target <IP_ADDRESS> lite
Target already set to `←[0m←[32mBosh Lite Director←[0m'
C:\Users\watrous\Documents\GitHub\bosh-lite>bosh login
Your username: admin
Enter password: *****
←[0m←[33m[WARNING] cannot access director, trying 4 more times...←[0m
←[0m←[33m[WARNING] cannot access director, trying 3 more times...←[0m
←[0m←[33m[WARNING] cannot access director, trying 2 more times...←[0m
←[0m←[33m[WARNING] cannot access director, trying 1 more times...←[0m
←[0m←[31mcannot access director (execution expired)←[0m
I have verified that the VM is running. I can SSH into the instance and ping the IP <IP_ADDRESS>. What can I do to troubleshoot this?

Has there been any resolution to this?
I'm trying on Ubuntu 14.04 (trusty). I've made upgrades to vagrant and virtualbox to no avail.
I've seen others with this problem on the internet. No clear identification of the problem or solution so far.
I was able to get PCF up on my mac laptop, but no success on the ubuntu as of yet.

I tried bosh inside VM and still I am getting the same issue

I ended up using VBoxManage to open a VM mgmt gui and increase the ram of my VM and got it to work
Thanks fort he feedback rikyreas14


Added missing colon to :math: directive in docstring.

Thanks @terrycojones !
For your future PR, could you please use commit messages in the format described in
http://docs.scipy.org/doc/numpy/dev/gitwash/development_workflow.html
(eg, here the relevant prefix would be DOC:)

Yes, will do. Thanks @ev-br.


Add vertical align for table cells

Just a thought, but since I'm using those, I had to basically generate them myself:
.ui.table[class*="top aligned"],
.ui.table [class*="top aligned"] {
  vertical-align: top;
}

.ui.table[class*="middle aligned"],
.ui.table [class*="middle aligned"] {
  vertical-align: middle;
}

.ui.table[class*="bottom aligned"],
.ui.table [class*="bottom aligned"] {
  vertical-align: bottom;
}

etc.

This was added in 2.0 branch
https://github.com/Semantic-Org/Semantic-UI/blob/next/RELEASE-NOTES.md


Add support for other languages

To add support for a new kernel, one has to:

provide a script which loads required modules and defines a function which lists all variables, together with their name, type, size and content.
The output of this function must be a JSON representation of each variable, i.e. a list of objects with keys 'varName','varType', 'varSize', 'varContent',
Provide a command to to query the kernel for a recent list of variables.  (usually this is a call to the function defined in the library above).

This information should be added to the inspectorscript.ts file. One cavet: the key to the script-dictionary in the inspectorscripts.ts file has to match the name field of the kernel running the progamming language. (Example: "python3" for a python3 kernel, "ir" for a interactive R kernel)

Theres also additional libraries we should add, like support for pyspark.
Unsure how we should do the interface for that, but I'm thinking something like looks like below. This additional makes use of the patterns in one of my PRs - we're probably going to start using say the "fs" library and having a separate python scripts with test I think if this extension is going to be used in more "production" settings

I've managed to write the R function (stolen from stackoverflow) which looks correct, but I can't manage to find the kernel/shell to hook it in...
Do you know/have any hints for that?
As you can see the initScript triggered:

Wow that's cool. I'm going to take a closer look at this later on.

@chappers is there anything special I need to do to enable this? Currently my inspector does not support anything but python.

Hi, I haven't had time to fix this up...
Sorry I have a few papers to finish writing and it maybe after Jan or Feb
next year till I have breathing room
On Sat, 17 Nov. 2018, 9:30 am Ariel Balter<EMAIL_ADDRESS>wrote:

@chappers https://github.com/chappers is there anything special I need
to do to enable this? Currently my inspector does not support anything but
python.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lckr/jupyterlab-variableInspector/issues/5#issuecomment-439549133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYgTq0XpoXdqC7saT0L1AVKKksW387Xks5uvzyigaJpZM4UoMVB
.

what still needs to be done for this?

also, any thoughts on whether its a good idea to separate the scripts for the different languages to allow for easier expansion into other languages? as per my comment here

Maybe, my opinion from a software perspective is we actually need to
demonstrate that we want to support multiple languages and have multiple
bindings and then separate it.
Otherwise you're building or engineering something that literally doesn't
exist.
Currently this project is a one man project - doing more engineering is
going to be tiring for lckr especially if it hasn't been demonstrated
people are actually going to extend this in a substantial way...just my 2c
(PS. I don't know lckr personally and hope he doesn't take what I say the
wrong way - we're just doing this out of love :))
On Sat, 17 Nov. 2018, 9:49 am Simon<EMAIL_ADDRESS>wrote:

also, any thoughts on whether its a good idea to separate the scripts for
the different languages to allow for easier expansion into other languages?
as per my comment here
https://github.com/lckr/jupyterlab-variableInspector/pull/36#issuecomment-431109602
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lckr/jupyterlab-variableInspector/issues/5#issuecomment-439552806,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYgTqJC7AhY0_BXVA9bIOMMJCHKUw7cks5uv0DfgaJpZM4UoMVB
.

@chappers -- is your implementation above available? Is it in a branch I can pull?

@abalter it already works and you can see the PR.
The PR probably is not good enough as is (although it "works"). Progress right now looks like this:


Can't customize fill color for LineChart

The fill region is not correct when the data value is negative. The fill region is always from the lowest value to the current value but not from 0 to the current value. I believe the behavior should be like BarChart, when the value is positive, the fill is upward, and when the value is negative, the fill is downward.
Besides, we cannot customize fill color for LineChart now. For example, we want to customize fill color, when the value is positive, we want to set fill color to green, and when the value is negative, we want to set fill color to red

HI @PolarBear-H, I found way to custome that. We need modify the LineChart.js inside node_modules. We need to draw a zero lines and then merge into the existing line.
_this.renderBezierShadow = function (_a) {
            var width = _a.width, height = _a.height, paddingRight = _a.paddingRight, paddingTop = _a.paddingTop, data = _a.data, useColorFromDataset = _a.useColorFromDataset;
            var datas = _this.getDatas(data);
            var baseHeight = _this.calcBaseHeight(datas, height);
            return data.map(function (dataset, index) {
                var xMax = _this.getXMaxValues(data);
                var zeroLine = new Array(dataset.data?.length || 1).fill(0).map(function (d, i) {
                    if (d === null)
                        return lastPoint;
                    var x = (i * (width - paddingRight)) / xMax + paddingRight;
                    var y = ((baseHeight - _this.calcHeight(d, datas, height)) / 4) * 3 +
                        paddingTop;
                    lastPoint = x + "," + y;
                    return "L" + x.toFixed(2) + "," + y.toFixed(2);
                });
                var d = _this.getBezierLinePoints(dataset, {
                    width: width,
                    height: height,
                    paddingRight: paddingRight,
                    paddingTop: paddingTop,
                    data: data
                }) + zeroLine.reverse().join(' ') + " Z";

                return (<Path key={index} d={d} fill={"url(#fillShadowGradientFrom" + (useColorFromDataset ? "_" + index : "") + ")"} strokeWidth={0} />);
            });
        };


Update changelog for v0.111.0

Description: In preparation for release v0.111.0

Please take a look, it looks like the whole CHANGELOG is gone

Some important items from https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.111.0 are missed, e.g.:
### 🛑 Breaking changes 🛑

- `signalfxexporter`: Do not exclude the metric `container.memory.working_set` (#35475)
- `sqlqueryreceiver`: Fail if value for log column in result set is missing, collect errors (#35068)
- `windowseventlogreceiver`: The 'raw' flag no longer suppresses rendering info. (#34720)
  Previously, this flag controlled two behaviors simultaneously:
    1. Whether or not the body of the log record was an XML string or structured object.
    2. Whether or not rendering info was resolved.
  A separate 'suppress_rendering_info' option now controls rendering info resolution.
  This is considered a breaking change because users setting only the 'raw' flag without also setting the
  new 'suppress_rendering_info' flag may see a performance decrease along with more detailed events.

### 🚩 Deprecations 🚩

- `sapmreceiver`: `access_token_passthrough` is deprecated (#35330)
  - "`access_token_passthrough` is deprecated."
  - "Please enable include_metadata in the receiver and add the following config to the batch processor:"
  ```yaml
  batch:
    metadata_keys: [X-Sf-Token]

### 💡 Enhancements 💡

- `receivercreator`: Validate endpoint's configuration before starting receivers (#33145)
- `hostmetricsreceiver`: Add ability to mute all errors (mainly due to access rights) coming from process scraper of the hostmetricsreceiver (#20435)
- `kubeletstats`: Introduce feature gate for deprecation of container.cpu.utilization, k8s.pod.cpu.utilization and k8s.node.cpu.utilization metrics (#35139)
- `pkg/ottl`: Add InsertXML Converter (#35436)
- `pkg/ottl`: Add GetXML Converter (#35462)
- `pkg/ottl`: Add ToKeyValueString Converter (#35334)
- `pkg/ottl`: Add RemoveXML Converter (#35301)
- `sqlserverreceiver`: Add computer name resource attribute to relevant metrics (#35040)
- `windowseventlogreceiver`: Add 'suppress_rendering_info' option. (#34720)
  When this flag is enabled, the receiver will not attempt to resolve rendering info. This can improve performance
  but comes at a cost of losing some details in the event log.

- `windowseventlogreceiver`: Move artificial "remote_server" field to 'attributes["server.address"]'. (#34720)

### 🧰 Bug fixes 🧰

- `sqlqueryreceiver`: Fix reprocessing of logs when tracking_column type is timestamp (#35194)

Let's keep the same formatting as before - no extra line between items

line 47 to 65 should be removed. They contain a duplicate 0.110.0 header and the unreleased notes that should be factored into the addition


Nested menu in AppBar displays behind parent menu.

Bug type
Component
Component name
MudMenu
What happened?
I have a MudAppBar at the top of my app, and on the far right, I've got a MudMenu that is represented by a "hamburger" menu icon. One of the MudMenuItem objects in the dropdown menu represents fonts that I'd like my user to choose from. When you click the fonts item in the parent menu, I'd like to show a nested menu which lists all the font choices. I followed the MudBlazor help page for MudMenu to create a nested menu. However, when the child menu content appears, it appears behind the parent menu, and you cannot select any of the options. I tried this in try.mudblazor and saw the same effect. I also noticed that if I get rid of the MudAppBar and host the parent menu in some other sort of container, the bug does not occur. However, that is not an option for me, as I need the MudAppBar at the top of my app.
Expected behavior
I would expect to see a nested child menu displayed on top of parent menu content.
Reproduction link
https://try.mudblazor.com/snippet/GOmHYCGuOxKxCmMB
Reproduction steps

Create a MudAppBar.
Place a MudMenu on the MudAppBar.
Set up the MudMenu to have a nested child menu.
...

Relevant log output
No response
Version (bug)
6.8.0
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows, Android
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

#6909

Thank you! I attempted a search for similar issues before issuing my post, but I apparently botched my search and didn't see that similar issue. I went with your proposed solution of adding a ZIndex to my themes, and this corrected the issue.


Update SOCKETS library to support IPv6, add support for newer WinSock API functionality

It would be good to stay compatible with WinXP though, so it needs some brainstorming.

@arbv
Hi Artem,
I merged the changes for WinXP compatible IPv6 socket support but, as I don’t have an IPv6 connection, I could not verify that there are no errors. I did check it locally though. Please let me know if anything goes wrong.
Thank you,

@Luis-Cervantes
Hi Luis,
Thank you for your changes! These are important ones. I do have IPv6 access, but, unfortunately, I cannot check the changes during the next 10 days or so. I will let you know later.
Kind Regards,
Artem

@Luis-Cervantes
Hi Luis,
Sorry for not getting back to you sooner. I have not been able to check your changes recently.
As I wrote before I have IPv6 connectivity and your code seems to work just fine!
There are some questionable things, though:

I believe it is better to implement IPV6-INSTALLED-P on top of WSCEnumProtocols() rather than guessing by trying to resolve ::1.

https://docs.microsoft.com/ru-ru/windows/desktop/api/ws2spi/nf-ws2spi-wscenumprotocols
https://docs.microsoft.com/ru-ru/windows/desktop/api/winsock2/ns-winsock2-_wsaprotocol_infow

I think that init.lisp is not the best place for initialising the *ipv6* variable. Probably, it is better to initialise right before loading init.lisp and starting REPL. See the TOP-LEVEL function definitions in top-level.lisp and win-conditions.lisp.

I believe we should also push :ipv6 into *features* when it is available.

All in all your changes are awesome! Thank you for your contributions.
Regards,
Artem

@arbv
Hi Artem,
Thank you very much for your comments.
1.- I agree.
2.- and 3.- I’m not sure. IPv6 indicates which protocols are being used. Maybe you are right in that it should be initialized before but I think we should also give the user a chance in init.lisp to choose, if IPv6 is wanted, between the values :ONLY and T. Perhaps we need another variable or just use features, as you suggested, to indicate availability and it would perhaps help to maintain Windows 2000 compatibility with the old code. Remember that with these changes, we will not be able to use sockets at all in W2k, unless the IPv6 Technology Preview is installed. I don’t know. Your feedback is always welcome.
Besides, I am not totally happy with the implementation, in particularly the use of redundant double buffers in stream sockets. I will get back to these issues later, but in the mean time, I have now included datagram support and a client socket loop which picks the first successful connection among all found host addresses.
Best regards,

@Luis-Cervantes
Hi Luis!
About points 2 and 3.
Perhaps I should clarify a bit. I am not against leaving *ipv6* in init.lisp, but I am just sure that it should be initialised before loading ***init.lisp**. A user still would be able to change the defaults in init.lisp. I want to say that the init.lisp should not be the only place where the variable gets initialised. We could leave the line with **ipv6* initialisation in the init.lisp commented out after the changes (and with proper comment) if any curious user needs to change the defaults. *init.lisp* is not the essential part of the Corman Lisp runtime, it is rather an initialisation file for the development environment. There is no guarantee that it is going to be loaded by user-generated programmes.
As about compatibility Windows 2000: we are already not compatible with it as we have moved to the Visual Studio 2015. As far as I know, by default, it cannot generate binaries which run on Windows 2000. As about your changes: technically, as far as I can tell, your changes use the parts of Windows API which are available on Windows 2000, so code-wise we are still compatible with it. Still, I believe, there is no point in supporting this operating system, though.
I shall reopen this bug as a reminder (mostly to myself) that there are some incomplete pieces if you are OK with that.
P. S.
BTW, I believe we shall do the next release of the Corman Lisp soon. I think we shall try to stabilise the existing functionality and update the libraries which are distributed alongside with Corman Lisp. I am not happy that we do not have a port of recent ASDF, but let's leave it for the next release.
Regards,
Artem

@arbv
Hi Artem,
Ok. Gotcha.
My apologies. You’re correct. We lost W2k compatibility some time ago but just as an informative note, getaddrinfo and getnameinfo used in the new code, were “added to the Ws2_32.dll on Windows XP and later” and the code wouldn’t run in a out of the box W2K as is.
No objection in reopening this issue. It gives me a chance (and great pleasure) to close it again. Hahaha : )
Regards,

@Luis-Cervantes
Hi Luis,
I didn't know that getaddrinfo() and getnameinfo() are not available on Win2k. Thank you for letting me know. It is, off course, possible to replace them, but I see no point in doing that.
It is cool that you added support for IPv6 to Corman CL. I believe supporting IPv6 is a must for a modern software (although this software is not essentially modern ...). I tried to make it work better on modern OSs, it was one of the lacking pieces.
"The future IPv6 is already here — it's just not very evenly distributed." ;)

@Luis-Cervantes
Hi Luis,
I have reimplemented SOCKETS:IPV6-INSTALLED-P on top of WSCEnumProtocols() function, so, it seems, all the previously discussed issues regarding this bug are resolved.
I see that you are still working on improving the networking functionality of Corman Lisp. So, do you have any intentions to continue to work on this bug or we could safely close it?
Regards
Artem

@arbv
Hi Artem,
Thank you for your SOCKETS:IPV6-INSTALLED-P implementation. I’m sorry that I haven't had much time lately and unfortunately will still be busy for a couple of months. There is always room for improvement but yes, I’m closing the issue.
PS: Thank you very much for giving me the “chance” to close this issue. You’re a real gentleman.

@Luis-Cervantes
Hi Luis,
You are welcome!
I hope you will be able to dedicate some part of your free time to the project sooner than you expect.


Revise maximum recursive depth

Only commits that change the given def should count towards the depth limit.

Based on #11


Problem running 'npm run build.prod'

When I run ''npm run build.prod", I get the following error

tools/tasks/seed/build.index.prod.ts (8,3): Module '"/home/07125220690/projects/tradingman/tools/config"' has no exported member 'APP_DEST'. (2305)
tools/tasks/seed/build.index.prod.ts (9,3): Module '"/home/07125220690/projects/tradingman/tools/config"' has no exported member 'APP_SRC'. (2305)

Looking at the file seed.config.ts indeed there is no 'APP_DEST' or 'APP_SRC' declared.

@rylphs, thanks for funding this one , will fix very soon

You're welcome, and thank you for the seed, it saved me so much time!

@rylphs , if everything is ok now, we can close the issue.

@vyakymenko, everything is ok you can close the issue. Thanks!


Cant start spyder

I have just installed through Python(x,y) and can't even start spyder. It opens a console window then it quickly closes then does nothing else.
I am on Windows 8.1, 64bit..

If you try starting spyder from the command line (first start cmd and then type spyder), the console window will not close and you should be able to give us a meaningful error message.

I didnt get a chance to do that, but I uninstalled everything including all python installs and I reinstalled Python(x,y) and now it seems to work.
Thanks for getting back to me, Its all working now


is there a way to keep package headings in the PR comments in a monorepo ?

In a monorepo project with microservices, I want to group the whole project on a single release, so I chose to set the include-component-in-tag to false. But with this option set to false, package headings in PR comment are all named x.x.x
It can quickly become complicated to understand which component is attributed to a particular version upgrade.
Is there a way to keep the component name in the PR description ?

{
  "release-type": "node",
  "include-component-in-tag": false,
  "group-pull-request-title-pattern": "chore: release ${version}",
  "packages": {
    ".": {},
    "microservices/ms-1": {
      "component": "ms-1"
    },
    "microservices/ms-2": {
      "component": "ms-2"
    },
    ...
}

I am experiencing the same issue. It works with the name for the package.json but for the version coming from pyproject.toml there is no name in the changelog. There is a name field in the pyproject.toml.


[ERROR] unknown attribute 'region_number' when seeding MiqUserRole in euwe-1

I cloned the 'euwe-1' code and executed the bin/setup, at "Seeding database", it came an error.

[ActiveModel::MissingAttributeError]: can't write unknown attribute region_number

In the evm.log

INFO -- : MIQ(EvmDatabase.seed) Seeding MiqUserRole
ERROR -- : [ActiveModel::MissingAttributeError]: can't write unknown attribute region_number  Method:[rescue in block (2 levels) in seed]
ERROR -- : /usr/local/rvm/gems/ruby-2.3.0/gems/activerecord-5.0.1/lib/active_record/attribute.rb:182:in `with_value_from_database'

My friend has the same problem. Is there anything wrong?

I tried the "master" branch, it's no problem

@NaNi-Z was this with an existing "master" database?  bin/setup doesn't drop the database, so you'll need to either:

migrate "back" several migrations to the first migration that's both in master and euwe-1
or, reset the database first (bin/rails evm:db:reset)
or, use a different database per release

@jrafanie Thank for you answer.  I tried reset or even drop the database in Postgresql directly, but it still came the error. I'm trying setup in an clean system.

@NaNi-Z ah, thanks!  I just realized it's the rails 5.0.1 breaking change discussed in #13290.  Try making that change locally and you should be ok.
Note, we just backported a similar change to darga and euwe, see this comment.  For now, you can apply that change and upgrade when we tag euwe again.
Closing for now, if this doesn't solve it, please ping me and we can re-open and investigate further.


Lesq 867   new lesson mv query - LESQ-867

Description
Music year: 1979

Lesson overview uses lesson content and browse MV
Lesson overview canonical used same query (old query, schema and code removed)
Quiz code refactored to camelCase

There is some additional work to remove the quiz types from OWA and use the curriculum schema types for quizes, this is happening at the query level but not component. I have added a tech debt ticket on the Miro board to revisit this, seemed out of scope of this ticket.

Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner
[ ] Does this PR update a package with a breaking change

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


Lost Connection to HMW-LGW-O-DR-GS-EU in Firmware <IP_ADDRESS>30114

Describe the issue you are experiencing
HMW-LGW-O-DR-GS-EU is not connected.
Reachability, SerialNumber, Password and IP-Adress verified via homematic netfinder.
Found some similar issues - but they are all closed.
Error from log:
Jan 17 17:38:21 hm-vCCU user.err rfd: UnifiedLanCommController::connect(): Unable to connect.
Jan 17 17:38:21 hm-vCCU user.crit rfd: CCU2LGWCommController::init(): Cannot connect to HomeMatic Lan Gateway with serial number LEQ0636391.
Jan 17 17:38:28 hm-vCCU user.err rfd: HSSParameter::GetValue() id=DECISION_VALUE failed getting physical value.
Jan 17 17:38:29 hm-vCCU user.err rfd: HSSParameter::GetValue() id=DECISION_VALUE failed getting physical value.
Also found in log, but this is documented here as "works as designed":
Jan 17 17:36:06 hm-vCCU user.info root: Updating RF Lan Gateway Firmware
Jan 17 17:36:06 hm-vCCU user.info update-lgw-firmware: LAN Gateway Firmware Update...
Jan 17 17:36:06 hm-vCCU user.info update-lgw-firmware: Gateway LEQ0636391
Jan 17 17:36:08 hm-vCCU user.info update-lgw-firmware: Gateway type is eQ3-HMW-LGW-App
Jan 17 17:36:08 hm-vCCU user.err update-lgw-firmware: Wrong type of gateway. Should be HMLGW2, but found HMWLGW
Any ideas?
hm-vCCU-2023-01-17.log
Describe the behavior you expected
... it should connect :-)
Steps to reproduce the issue
Complete deleted and readded the gateway
What is the version this bug report is based on?
<IP_ADDRESS>30114
Which base platform are you running?
rpi3 (RaspberryPi3)
Which HomeMatic/homematicIP radio module are you using?
RPI-RF-MOD
Anything in the logs that might be useful for us?
see above

Additional information
No response

Problem solved - after deleting and recreating the gateway for the 4th time it worked


@DetectXSS doesn't have a capture option.

while DetectSQLi has a capture option which puts data into tx.0 DetectXSS doesn't. This behavior is inconsistent and confusing. It should be fixed in order to prevent confusion on behalf of developers. Also @victorhora indicated that he would add elements that support capture to the reference manual.

Proposed fix at: #1488
Reference manual updated stating the operators which supports "capture" actions: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual/8a14f18461156f31cbb609afb7feac2d63cd4744


Export operator built-in metrics

Changes

Enables creation of ServiceMonitor resource

Result

Metrics can be seen in the built in Openshift Monitoring

Closing in favor of https://github.com/openshift/external-dns-operator/pull/156


Testing With react and relay modern...

how i can test my react component and relay fragment together?

This is an issue tracker, please use Stack Overflow or something else for questions.

It's totally fine to ask enzyme questions here; however, this definitely does seem like a more appropriate question for SO or irc.


Fix alerting rule for unreachable API server

How to categorize this PR?

/area monitoring
/kind enhancement
What this PR does / why we need it:
If the API Server is down, this alert did not previously fire. probe_success wouldn't fail (return 0), it would just return an empty query result.
Special notes for your reviewer:
/cc @istvanballok
Release note:

Fix alerting rule for unreachable API server

@rickardsjp can you check the test failure: https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/6502/pull-gardener-unit/1559576839024807936#1:build-log.txt%3A764-768

Superceded by: https://github.com/gardener/gardener/pull/6502


Fix skeleton display on transaction thread report in offline

Details

Fix skeleton display on transaction thread report in offline
Fixed Issues

$ https://github.com/Expensify/App/issues/38781
PROPOSAL: https://github.com/Expensify/App/issues/38781#issuecomment-2014663024
Tests

Go offline
Create a money request
Go to transaction thread report of this request
Verify that the report screen is displayed instead of skeleton view

[x] Verify that no errors appear in the JS console

Offline tests

Same as above
QA Steps

Go offline
Create a money request
Go to transaction thread report of this request
Verify that the report screen is displayed instead of skeleton view

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/161821005/6fcda9f0-0a1d-49a2-aac0-6047bdb65039

Android: mWeb Chrome
https://github.com/Expensify/App/assets/161821005/06989277-6f2f-4270-9239-79a12f5dbbf7

iOS: Native

iOS: mWeb Safari
https://github.com/Expensify/App/assets/161821005/0a143041-ca65-4a01-ac79-75d3491a0388

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/161821005/cb1e84cc-531f-45aa-b89c-921bcdbc39a6

MacOS: Desktop
https://github.com/Expensify/App/assets/161821005/a9ca847d-7c29-4f1a-81c7-ec10b8249cd6

Can you please apply changes from https://github.com/Expensify/App/pull/38825 as requested?

@situchan Updated.

@nkdengineer I am still getting infinite loading
https://github.com/Expensify/App/assets/108292595/f720f7f7-9bc6-4e4f-aed7-7e6eebc16880

I found another regression (not related to this PR but happening on main)
OpenReport call is repeated endlessly after opening report offline and making online
https://github.com/Expensify/App/assets/108292595/c62f3d5f-db7f-4ac8-88b5-ed3f6808c369

@situchan I think that you don't open this report before offline so skeleton is displayed.

@situchan I think that you don't open this report before offline so skeleton is displayed.

It's bug. We should create report optimistically without skeleton but grayed out.
This doesn't happen on production:

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

overall changes look good, just want to clarify them with a couple comments. Thanks ❤

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 1.4.56-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.56-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅