add config playbook

Re-apply system configuration setting playbook added. User may have a case when a node was added manually to the cluster. And so user didn't pay close attention applying some/most of the configuration settings. This change should allow bringing such nodes in-sync with those configured by the script initially while skipping K3s installation steps.
Changes
Linked Issues

Can you explain your reasoning for this PR? Running the default site.yaml will always run the system configuration steps. Are you attempting to only apply the system steps, make changes before installation of K3s, then apply the full install?

Can you explain your reasoning for this PR? Running the default site.yaml will always run the system configuration steps. Are you attempting to only apply the system steps, make changes before installation of K3s, then apply the full install?

User may have a case when a node was added manually to the cluster. And so user didn't pay close attention applying some/most of the configuration settings. This change should allow bringing such nodes in-sync with those configured by the script initially while skipping K3s installation steps.

This can already be accomplished with the default playbook. You just need to add an additional group to your k3s_cluster in your inventory.
Here is an example:
k3s_cluster:
  children:
    server:
      hosts:
        <IP_ADDRESS>:
    agent:
      hosts:
        <IP_ADDRESS>:
    manual:
      hosts:
        <IP_ADDRESS>:

The name of the subgroup doesn't matter, as long as its not server or agent. We run the Cluster-Prep on every target in the k3s_cluster

Making a dedicated inventory of manual.yml would prevent you from rerunning k3s installation on you existing inventory.
k3s_cluster:
  children:
    manual:
      hosts:
        <IP_ADDRESS>:


ocl-icd 2.2.12-4: ocl-icd>=1.3

On my raspberry pi, I have ocl-icd 2.2, but the build process fails with:
-- Checking for one of the modules 'ocl-icd>=1.3'
CMake Error at /usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:745 (message):
  None of the required 'ocl-icd>=1.3' found
Call Stack (most recent call first):
  cmake/icd.cmake:6 (pkg_search_module)
  CMakeLists.txt:81 (include)

I am not sure whether I should get khronos-ocl-icd (<IP_ADDRESS>-1) or keep ocl-icd (2.2.12-4).

Do you also have the development headers installed, i.e. ocl-icd-dev and ocl-icd-opencl-dev?

On Arch, the development files are included in the "base" package (ocl-icd). I found:
    usr/include/ocl_icd.h
    usr/lib/libOpenCL.so
    usr/lib/libOpenCL.so.1
    usr/lib/libOpenCL.so.1.0.0
    usr/lib/pkgconfig/OpenCL.pc
    usr/lib/pkgconfig/ocl-icd.pc
    usr/share/doc/ocl-icd/examples/ocl_icd_bindings.c
    usr/share/doc/ocl-icd/html/libOpenCL.html
    usr/share/licenses/ocl-icd/COPYING
    usr/share/man/man7/libOpenCL.7.gz
    usr/share/man/man7/libOpenCL.so.7.gz

That is the file Cmake should find: /usr/lib/pkgconfig/ocl-icd.pc. So it looks like it is provided on your system...

Can you check the version reported in this file?
Also, can you try setting the PKG_CONFIG_PATH environment variable to /usr/lib/pkgconfig/ before running the CMake command?

/usr/lib/pkgconfig/ocl-icd.pc :
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: ocl-icd
Description: Open Computing Language generic Installable Client Driver support
Version: 2.2.12
Libs: -L${libdir}
Cflags: -I${includedir}

I ran cmake -DBUILD_TESTING=OFF -DSPIRV_FRONTEND=OFF -DCLANG_FOUND=/usr/bin/clang -DPKG_CONFIG_PATH=/usr/lib/pkgconfig/ . :
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- ...
-- Detecting CXX compile features - done
-- Looking for CL_VERSION_2_2
-- Looking for CL_VERSION_2_2 - found
-- Found OpenCL: /usr/lib/libOpenCL.so (found version "2.2")
-- Found headers for OpenCL up to version 2.2 located in /usr/include
-- VC4C library found: /usr/local/lib/libVC4CC.so
-- VC4C compiler header found at: /home/jlbakker/dev/VC4C/include/VC4C.h
-- Building with ICD support
-- Checking for one of the modules 'ocl-icd>=1.3'
CMake Error at /usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:745 (message):
  None of the required 'ocl-icd>=1.3' found
Call Stack (most recent call first):
  cmake/icd.cmake:6 (pkg_search_module)
  CMakeLists.txt:81 (include)
-- Found Khronos ICD Loader in version  in
-- Looking for clCreateProgramWithIL
-- Looking for clCreateProgramWithIL - found
-- Enabling register-poking to run kernels
-- ...
-- Configuring incomplete, errors occurred!

Okay, so setting PKG_CONFIG_EXECUTABLE is wrong.
Can you try with the https://aur.archlinux.org/packages/khronos-ocl-icd/ package instead of the ocl-icd?

I have replaced ocl-icd with khronos-ocl-icd. Eventually, this allowed me to build VC4C! However, VC4CL fails with:
-- Checking for one of the modules 'ocl-icd>=1.3'
CMake Error at /usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:745 (message):
  None of the required 'ocl-icd>=1.3' found
Call Stack (most recent call first):
  cmake/icd.cmake:6 (pkg_search_module)
  CMakeLists.txt:81 (include)

-- Found Khronos ICD Loader in version  in
-- Looking for clCreateProgramWithIL
-- Looking for clCreateProgramWithIL - not found
CMake Warning at cmake/icd.cmake:14 (message):
  clCreateProgramWithIL not found, strongly recommend to upgrade package
  opencl-headers!
Call Stack (most recent call first):
  CMakeLists.txt:81 (include)

I would assume that is now since VC4CL only looks for the ocl-icd package and not for the khronos-ocl-icd package.
If you modify https://github.com/doe300/VC4CL/blob/master/cmake/icd.cmake#L6 to look for khronos-ocl-icd, that might do the trick.

I had a similar build issue with ocl-icd on Arch Linux.  Installing the pgkconfig  package ( pacman -S pkgconfig ) corrected the problem for me.


Compatibility with :share()'d layers

nnlr is super useful, thanks for the package!
I was able to use it with a few networks, but I'm having trouble with networks where I'm sharing weights across layers. Specifically, if I have two layers with n parameters each that are shared, it seems :getParameters() returns a vector of size n, while getOptimConfig returns vectors of length 2*n. This causes issues with optim, which expects the parameters and learning rates vector to be of the same length.
Any help would be appreciated - thanks again!
Edit: On second thought, I'm not sure this is the issue I'm running into. The general issue is that the output of getParameters is smaller than that of getOptimConfig in size, and this only happened in a network with share()'d layers. But perhaps the origin of the issue is something else.
Update: The difference in size between getParameters and getOptimConfig is exactly the number of shared parameters, so I'm fairly certain the issue is with nnlr and share()'d layers.

Hmm... I'll investigate this! This might be a case I forgot to account for.
Hopefully we can get this fixed soon!

Yeah unfortunately I can't come up with how to do this if :share was called before nnlr was required. If share was called after nnlr is imported, presumably you could override share so that share('weight') would cause you to share the weight learning rates and weight weight decays.

Ugh sorry for the super long delay.
I think what you suggest should work!


Duplicate attachment names

Download attachmetns with duplicated names into separate subdir based upon the cleaned up version of the rightscript name. Example:
RightScript script1 has attachments foo, bar
RightScript script2 has attachments foo, baz
Attachments will be downloaded as:
attachments/foo, attachments/bar, attachments/script2/foo, attachments/baz

LGTM


Unaccuracy uv coordinate labels

Hi, thx for excellent datasets! But when I use uv labels in json files, I draw them in image below. Why the points are so disorganized? In your paper, you mentioned about 2d/3d label generation workflow. And the first step told us the high accuracy 2d lane label is neccessary. Do I misunderstand? Hope get some explanations.

Hi, considering that OpenLane is focused on the task of 3D lane detection, the 2D lane line labels released to the public are not obtained by direct labelling, but by a comprehensive consideration of the two results of 3D lane lines and 2D lane lines to ensure the accuracy of its three-dimensional labels.
Therefore, the 2D lane lines  is different from other lane marking dataset.
best,
Yang Li

From: hanweijing @.>
Sent: Tuesday, January 9, 2024 5:25 PM
To: OpenDriveLab/OpenLane @.>
Cc: Subscribed @.***>
Subject: [OpenDriveLab/OpenLane] Unaccuracy uv coordinate labels (Issue #72)
Hi, thx for excellent datasets! But when I use uv labels in json files, I draw them in image below. Why the points are so disorganized? In your paper, you mentioned about 2d/3d label generation workflow. And the first step told us the high accuracy 2d lane label is neccessary. Do I misunderstand? Hope get some explanations.
default.jpg (view on web)https://github.com/OpenDriveLab/OpenLane/assets/13847565/709be858-3ebe-4328-997b-0456598830bc
―
Reply to this email directly, view it on GitHubhttps://github.com/OpenDriveLab/OpenLane/issues/72, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUA46BSQ3IDWHB6UHT7DF6LYNUEJRAVCNFSM6AAAAABBSYYKTSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TCOJWGEZTKNY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Is it possible to not display a single label?

{{> afQuickField name='addressLine1'  template="bootstrap3" }}
        {{> afQuickField name='addressLine2'  template="bootstrap3" }}

  addressLine1: {
    type: String,
    label: mf('ShippingInformationDetails.address1', 'Street Address'),
    max: 80,
  },
  addressLine2: {
    type: String,
    label: '',
    max: 80,
    optional: true,
  },

want to get results looking like this
http://screencast.com/t/Yzq9XgJb
should I just use CSS?
I tried label: false in the schema but that's illegal.
Cheers!

addressLine2: {
  autoform: {
    label: false
  },
  type: String,
  label: '',
  max: 80,
  optional: true,
},

Should do it


Start headless task (or JS listeners) on device boot

Hi, I'm wondering if it's possible to start a headless/non-headless JS task listener on device boot. Starting the background service on device boot doesn't seem to help much since I can't act on the results of it. In particular, I'm recording boundary updates via react native async storage, and sending exact position to firebase. The background service starts after device boot, but doesn't retain any of the previously declared listeners. How can I recreate these on boot? Thanks!
Your Environment

Plugin version:
Platform: Android
OS version: 10
Device manufacturer and model: Google Pixel

Running in Simulator: No
React Native version: 0.60

This actually make sense. Worth implementing it.

My current (less than ideal) workaround is to just start the app in background on device boot, perform some checks to see if it's in a state that should be tracking location, and if so, start the background service.

This actually make sense. Worth implementing it.

Sorry, do you fix this issue?

@iocuydi & @mauron85 i called registerHeadlessTask and i started it in java code but it's not useful. Because we should launch the app to load JS bundle and register our headless task from JS code !

+1

+1


formula_auditor: don't allow bottle :unneeded in core.

Now we have all: bottles and Bintray is going away for mirrors: let's bottle everything in Homebrew/homebrew-core.
Note: this will fail for now until we've finished bottling these.
Depends on https://github.com/Homebrew/homebrew-core/issues/75943

Review period will end on 2021-04-26 at 18:59:36 UTC.

Review period ended.


the waybar do not show up

i have install hyperland v3 on a existent arch setup everything work fine exept for the waybar, i simply dont have any waybar
please can you help me with that ? thx a lot

try to start manually
open foot (super enter)
cd ~/.config/hypr/scripts
./Waybar.sh
look for errors.
if errors says cannot find waybar, need to reinstall waybar
paru or yay -S waybar-hyprland-git
once installed,
either manually start waybar or press super shit w to "restart" waybar.
If all ok, it should be then you can just log out and log in or reboot

its working thx you
(ps : the waybar are beautiful)


[spectra] Update to 1.0.1

Describe the pull request

What does your PR fix?
Updates spectra to 1.0.1

Which triplets are supported/not supported? Have you updated the CI baseline?
As before, Yes

Does your PR follow the maintainer guide?

Yes

Thanks for the update!


Improve validation error message bubbling.

When objects are validated, they just check if their contained field values are valid, but are not able attach instructions to the validation result. This PR intensifies the usage of the 'last error' feature to introduce a limited form of error message bubbling. By appending nested errors, we get some more useful information about the location of the invalid data as well. You can see this in action in some of the tests, where the 'nested' error messages are separated by colons in the resulting error message. Before this, the library would tell you your input object would be invalid. Now it tells you that's because property X is NULL and mustn't be, greatly reducing debugging time.
I couldn't find any information on code style in the project README or in the Travis CI configuration. Please let me know how to handle this :)

Thanks for this @bartfeenstra !

@bartfeenstra Thanks again for contributing.. everything works great, the only thing, it seems like the usage of "lastError" can lead to potential errors if is not used right... so I tried to refactor the code so there's no use of that variable while maintaining the same approach you've started. The only place is a little bit cumbersome is InputObjectType, maybe you can take a look at it? I can definitely finish it like on weekend, but if you have time before — would be great!
🙏

Thanks for the merge! Weekends are weekends. No need to work then ;) Would you be able to explain the problem in InputObjectType, so I can take a look? :)


Bug: Figure out why existing gas fee cache is saving as null

Summary of Bug
validator_gas_fee_cache and chain_gas_fee_cache are saving nulls. figure out why I made that decision.
Version
v2.1.0
Steps to Reproduce

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Closing because this is not actually a bug.


Feature Support insert overwrite auto detect partition

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildalll

run buildall


Scale Tests

Aim : Identify maximum number of volumes that can be created, attached, detached, deleted.
Current target : 500 volumes.
The following operations will be performed :

Create volumes.
Attach volumes to multiple pods on multiple nodes.
Detach volumes on the nodes.
Delete the volumes.

Validate dynamic volume provisioning workflows for

SPBM policy
VSAN storage capabilities
normal volume provisioning without any policy

Scale Test is Merged: https://github.com/kubernetes/kubernetes/pull/54018


cf help output returns in a random order

Currently the output of a cf help <COMMAND> invocation returns in a random order.  For example:
$: cf help push
NAME:
   push - Push a new app or sync changes to an existing app

USAGE:
   Push a single app (with or without a manifest):
   cf push APP_NAME [-b BUILDPACK_NAME] [-c COMMAND] [-d DOMAIN] [-f MANIFEST_PATH] [--docker-image DOCKER_IMAGE]
   [-i NUM_INSTANCES] [-k DISK] [-m MEMORY] [--hostname HOST] [-p PATH] [-s STACK] [-t TIMEOUT] [-u HEALTH_CHECK_TYPE] [--route-path ROUTE_PATH]
   [--no-hostname] [--no-manifest] [--no-route] [--no-start]

   Push multiple apps with a manifest:
   cf push [-f MANIFEST_PATH]

ALIAS:
   p

OPTIONS:
   --hostname, -n            Hostname (e.g. my-subdomain)
   -d                        Domain (e.g. example.com)
   -f                        Path to manifest
   -t                        Maximum time (in seconds) for CLI to wait for application start, other server side timeouts may apply
   --docker-image, -o        docker-image to be used (e.g. user/docker-image-name)
   --no-hostname             Map the root domain to this app
   --no-start                Do not start an app after pushing
   --route-path              Path for the route
   -b                        Custom buildpack by name (e.g. my-buildpack) or Git URL (e.g. 'https://github.com/cloudfoundry/java-buildpack.git') or Git URL with a branch or tag (e.g. 'https://github.com/cloudfoundry/java-buildpack.git#v3.3.0' for 'v3.3.0' tag). To use built-in buildpacks only, specify 'default' or 'null'
   -c                        Startup command, set to null to reset to default start command
   -m                        Memory limit (e.g. 256M, 1024M, 1G)
   -p                        Path to app directory or to a zip file of the contents of the app directory
   --health-check-type, -u   Application health check type (e.g. port or none)
   --no-route                Do not map a route to this app and remove routes from previous pushes of this app.
   -i                        Number of instances
   -k                        Disk limit (e.g. 256M, 1024M, 1G)
   --random-route            Create a random route for this app
   -s                        Stack to use (a stack is a pre-built file system, including an operating system, that can run apps)
   --no-manifest             Ignore manifest file

followed immediately by:
$: cf help push
NAME:
   push - Push a new app or sync changes to an existing app

USAGE:
   Push a single app (with or without a manifest):
   cf push APP_NAME [-b BUILDPACK_NAME] [-c COMMAND] [-d DOMAIN] [-f MANIFEST_PATH] [--docker-image DOCKER_IMAGE]
   [-i NUM_INSTANCES] [-k DISK] [-m MEMORY] [--hostname HOST] [-p PATH] [-s STACK] [-t TIMEOUT] [-u HEALTH_CHECK_TYPE] [--route-path ROUTE_PATH]
   [--no-hostname] [--no-manifest] [--no-route] [--no-start]

   Push multiple apps with a manifest:
   cf push [-f MANIFEST_PATH]

ALIAS:
   p

OPTIONS:
   -p                        Path to app directory or to a zip file of the contents of the app directory
   -s                        Stack to use (a stack is a pre-built file system, including an operating system, that can run apps)
   --random-route            Create a random route for this app
   --route-path              Path for the route
   -b                        Custom buildpack by name (e.g. my-buildpack) or Git URL (e.g. 'https://github.com/cloudfoundry/java-buildpack.git') or Git URL with a branch or tag (e.g. 'https://github.com/cloudfoundry/java-buildpack.git#v3.3.0' for 'v3.3.0' tag). To use built-in buildpacks only, specify 'default' or 'null'
   -m                        Memory limit (e.g. 256M, 1024M, 1G)
   --hostname, -n            Hostname (e.g. my-subdomain)
   --docker-image, -o        docker-image to be used (e.g. user/docker-image-name)
   --no-route                Do not map a route to this app and remove routes from previous pushes of this app.
   -c                        Startup command, set to null to reset to default start command
   -i                        Number of instances
   -k                        Disk limit (e.g. 256M, 1024M, 1G)
   -t                        Maximum time (in seconds) for CLI to wait for application start, other server side timeouts may apply
   --health-check-type, -u   Application health check type (e.g. port or none)
   --no-hostname             Map the root domain to this app
   --no-manifest             Ignore manifest file
   --no-start                Do not start an app after pushing
   -d                        Domain (e.g. example.com)
   -f                        Path to manifest

This makes it very difficult to reference or find help arguments when looking for something specific.  The output should be in a deterministic order.

Hi Ben,
If you are talking about the order the CLI displays the options, we have a story on that:
https://www.pivotaltracker.com/story/show/111202066
I think this would become particularly important when we have a multi-language online reference guide generated from cli help output, where it would be confusing if the order changed when switching languages, or updating to a new version.

Yup, that looks like the problem.

This has been implemented in cf CLI v6.16.0.
https://github.com/cloudfoundry/cli#downloads
Regards,
Dies Koper
CF CLI PM


macros documentation yamls in /macros causes parsing error

Describe the bug
This is a Core bug that I observed while running dbt Cloud. It appears to be specific to v0.20.0 of dbt Core, as testing with several earlier version and the latest develop version does not trigger the same error. Creating a .yaml file in macros/<filename>.yaml as instructed here triggers a partial parsing error when running v0.20.0 of dbt.
Steps To Reproduce

Set a dbt Cloud development environment to v0.20.0
Add the following macro in macros/

{% macro grant_all_on_schemas(schemas, role) %}
  {% for schema in schemas %}
    grant usage on schema {{ schema }} to role {{ role }};
    grant select on all tables in schema {{ schema }} to role {{ role }};
    grant select on all views in schema {{ schema }} to role {{ role }};
    grant select on future tables in schema {{ schema }} to role {{ role }};
    grant select on future views in schema {{ schema }} to role {{ role }};
  {% endfor %}
{% endmacro %}

Add a file macros/macros_docs.yml and this yaml to it:

version: 2

macros:
  - name: grant_all_on_schemas
    description: testing docs functionality in macros path

Expected behavior
dbt Cloud should compile the project without error
Screenshots and log output

System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[ X] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
v0.20.0

Additional context
Add any other context about the problem here.

@matt-winkler I haven't been able to reproduce this locally. In the dbt Cloud IDE, I did get this error:

Is that the error you remember seeing? If so, we've got a bug report open for that in #3567, which we're going to resolve in #3618.
If you remember seeing a different error, could you try reproducing again, and include the full debug-level ("Details") logs?

Hey @jtcohen6 that's the same error message, but I'm only seeing that when I have a .yml file with version: 2 specified in the /macros directory with v0.20.0. Another schema.yml file in /models isn't tripping the error.

@matt-winkler Weird, ok! We'll have a fix for the general issue with missing version in v0.20.1-rc1 (coming out this week). Let's be sure to revisit this issue once the RC is available in dbt Cloud, and confirm that it's fixed, or investigate further if not.

This might be the same problem as in #3627.

I'm pretty sure that this is fixed in 0.21 and 1.0.0, so I'm closing this ticket. Please re-open if you're still having a problem.


'User 'nm-openvpn' not found, check NM_OPENVPN_USER.' on Nixos 15.09

Hitting a bug this morning with the network manager openvpn plugin (nixos.networkmanager_openvpn):
Oct 29 08:36:29 azathoth NetworkManager[11881]: (nm-openvpn-service:20017): nm-openvpn-WARNING **: (nm-openvpn-service.c:1269):nm_openvpn_start_openvpn_binary: runtime check failed: (priv->mgt_path == NULL)
Oct 29 08:36:29 azathoth NetworkManager[11881]: <warn>  VPN connection 'MyVPN' failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'.
Oct 29 08:36:29 azathoth NetworkManager[11881]: <warn>  error disconnecting VPN: Could not process the request because no VPN connection was active.

I found this related bug in the Archlinux bug tracker: https://bugs.archlinux.org/task/46124
Adding the missing group and user manually with groupadd and useradd fixed the issue.

Fixed, sorry about that.

Wow, thank you for the really quick fix!


Is this tool still being maintained?

 Are we supposed to switch to https://github.com/kaggle/kaggle-api, which seems to the official cli for kaggle?
Thanks.

kaggle-api is great, and yes, switching to kaggle-api is right.

kaggle-api is great, and yes, switching to kaggle-api is right.

kaggle-api still does not support resuming downloads, while this tool, kaggle-cli does. Therefore, for downloading large files from Kaggle this is the more reliable tool.


relocate to Colorado, Washington or California

The stuff you are smoking is legal there ... Sorry for the nasty cynicism, but I did industry for 40 years, even the nice guys (and there are some) are not going to put the consumer before their own interests ...at best they will limit themselves to products where a win-win is possible (and even then they will focus on low cost and measure results by increased sales, not by maximizing consumer value and minimizing the life-span footprint of the products.)

Appreciate the cynicism! We're still going to give it a try. There are examples, in the past, of consumer pressure and testing changing corporate practice. The largest/shiniest example is the history of introducing safety features into automobiles.


ocnews login in Nextcloud instance doesn't work

Hi there! It used to work but fails to authenticate now.
➜  ~ newsboat -v
newsboat 2.11.1 - https://newsboat.org/
Copyright (C) 2006-2015 Andreas Krennmair
Copyright (C) 2015-2018 Alexander Batischev
Copyright (C) 2006-2017 Newsbeuter contributors
Copyright (C) 2017-2018 Newsboat contributors

Newsboat is free software licensed under the MIT License. (Type `newsboat -vv' to see the full text.)
It bundles JSON for Modern C++ library, licensed under the MIT License: https://github.com/nlohmann/json

newsboat 2.11.1
System: Linux 4.15.15-1-ARCH (x86_64)
Compiler: g++ 7.3.1 20180312
ncurses: ncurses 6.1.20180127 (compiled with 6.1)
libcurl: libcurl/7.59.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.1 (+libidn2/2.0.4) nghttp2/1.31.0 (compiled with 7.59.0)
SQLite: 3.23.0 (compiled with 3.23.0)
libxml2: compiled with 2.9.8

Nextcloud 13.0.1
News App 12.0.1
➜  ~ newsboat --log-level 6 --log-file /dev/stdout
[2018-04-11 15:52:05] INFO: nl_langinfo(CODESET): UTF-8
Starting newsboat 2.11.1...
[2018-04-11 15:52:05] DEBUG: FSLock: trying to lock `/home/speranza/.newsboat/cache.db.lock'
[2018-04-11 15:52:05] DEBUG: FSLock: locked `/home/speranza/.newsboat/cache.db.lock', writing PID...
[2018-04-11 15:52:05] DEBUG: FSLock: PID written successfully: 1
Loading configuration...[2018-04-11 15:52:05] DEBUG: keymap::keymap: flags = 8ff
[2018-04-11 15:52:05] WARNING: configparser::parse: file /etc/newsboat/config couldn't be opened
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing urls-source "ocnews"
[2018-04-11 15:52:05] DEBUG: configcontainer::handle_action: action = urls-source, type = 5
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing ocnews-url "https://cloud.speran.info"
[2018-04-11 15:52:05] DEBUG: configcontainer::handle_action: action = ocnews-url, type = 3
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing ocnews-login "myloginhere"
[2018-04-11 15:52:05] DEBUG: configcontainer::handle_action: action = ocnews-login, type = 3
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing ocnews-password "mypasswordhere"
[2018-04-11 15:52:05] DEBUG: configcontainer::handle_action: action = ocnews-password, type = 3
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing ocnews-flag-star "s"
[2018-04-11 15:52:05] DEBUG: configcontainer::handle_action: action = ocnews-flag-star, type = 3
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing auto-reload yes
[2018-04-11 15:52:05] DEBUG: configcontainer::handle_action: action = auto-reload, type = 1
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing browser "luakit %u &"
[2018-04-11 15:52:05] DEBUG: configcontainer::handle_action: action = browser, type = 4
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing macro y set browser "/usr/bin/mpv %u"; open-in-browser ; set browser "luakit %u"
[2018-04-11 15:52:05] DEBUG: keymap::handle_action(macro, ...) called
[2018-04-11 15:52:05] DEBUG: keymap::handle_action: new operation `	V' (op = 2012)
[2018-04-11 15:52:05] DEBUG: keymap::handle_action: new parameter `°	V' (op =<PHONE_NUMBER>)
[2018-04-11 15:52:05] DEBUG: keymap::handle_action: new parameter `Ð	V' (op =<PHONE_NUMBER>)
[2018-04-11 15:52:05] DEBUG: keymap::handle_action: new operation `
V' (op = 15)
[2018-04-11 15:52:05] DEBUG: keymap::handle_action: new operation `P
V' (op = 2012)
[2018-04-11 15:52:05] DEBUG: keymap::handle_action: new parameter `p
V' (op =<PHONE_NUMBER>)
[2018-04-11 15:52:05] DEBUG: keymap::handle_action: new parameter `
V' (op =<PHONE_NUMBER>)
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing # formatting coloriation
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing color listfocus black white
[2018-04-11 15:52:05] DEBUG: colormanager::handle_action(color,...) was called
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing color listfocus_unread black white bold
[2018-04-11 15:52:05] DEBUG: colormanager::handle_action(color,...) was called
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing color info default white
[2018-04-11 15:52:05] DEBUG: colormanager::handle_action(color,...) was called
[2018-04-11 15:52:05] DEBUG: configparser::parse: tokenizing
done.
Opening cache...[2018-04-11 15:52:05] INFO: cache::populate_tables: DB schema version 2.11
[2018-04-11 15:52:05] DEBUG: running query: PRAGMA synchronous = OFF;
[2018-04-11 15:52:05] DEBUG: running query: PRAGMA case_sensitive_like=OFF;
[2018-04-11 15:52:05] DEBUG: cache::clean_old_articles, days == 0, not cleaning up anything
done.
Loading URLs from ownCloud News...[2018-04-11 15:52:35] CRITICAL: ocnews_api::query: connection error code 28 (Timeout was reached)
Authentication failed.

Login/pass certainly are correct

Hi! With what version did it use to work?
Are you sure your instance and network are fine? Timeouts certainly doesn't look like something that could be caused by Newsboat itself.

Yes, you are right. If I run newsboat on my server it fetches data fine. What could be wrong if I do able to connect to Nexctloud instance from my desktop using Nextcloud client and a web browser without any issues, but newsboat gets timed out every single time?

Hi @Minoru ! Thanks for commenting! Actually I haven't changed anything and today it just started working. I think I just rebooted my server or something. I'll be back if I stumble upon the issue again.

Can confirm, I have the same exact symptoms. Running Nextcloud 13. Neither of password/passwordfile/passwordeval (with passwordstore.org) work. It was fine 2 days ago (on 2.10.2). Tried both 2.10.2 and 2.11.1.
Loading URLs from ownCloud News...[2018-06-25 19:27:35] CRITICAL: ocnews_api::query: connection error code 28 (Timeout was reached)
Authentication failed.
[2018-06-25 19:27:35] DEBUG: FSLock: removed lockfile /home/brightone/.newsboat/cache.db.lock

$ newsboat -v
newsboat 2.11.1 - https://newsboat.org/
Copyright (C) 2006-2015 Andreas Krennmair
Copyright (C) 2015-2018 Alexander Batischev
Copyright (C) 2006-2017 Newsbeuter contributors
Copyright (C) 2017-2018 Newsboat contributors

Newsboat is free software licensed under the MIT License. (Type `newsboat -vv' to see the full text.)
It bundles JSON for Modern C++ library, licensed under the MIT License: https://github.com/nlohmann/json

newsboat 2.11.1
System: Linux 4.17.2-gentoo (x86_64)
Compiler: g++ 7.3.0
ncurses: ncurses 6.1.20180127 (compiled with 6.1)
libcurl: libcurl/7.60.0 OpenSSL/1.0.2o zlib/1.2.11 (compiled with 7.60.0)
SQLite: 3.23.1 (compiled with 3.23.1)
libxml2: compiled with 2.9.8

The evidence you provide points away from Newsboat:

the error is a timeout
it used to work with 2.10.2 and now it doesn't.

Do you have another client (on a phone perhaps?) that you can use to ensure that the server still responds in time? It's not a strong evidence, as their timeout settings might be different from outs, but it's something.
You might also try restarting php-fpm (or whatever you use) to check if it's the server's fault.
Apart from bumping the timeout threshold, I have no idea what can be done from Newsboat's side, sorry.

I experience the same issue with Nextcloud 15.0.0 and the current stable release of Newsboat. I run my Nextcloud instance with php-fpm and nginx. My suspicion is that the server side is the problem because the Android app on my phone also performs very badly ever since I've migrated to nginx from apache which unfortunately brought significant performance improvements on other aspects of my Nextcloud instance.


Add vectortile production process for admin maps

Uses a Makefile to orchestrate the vector tile creation process. Should run from start to finish with make piecewise, though it will take a long time and a lot of disk space as it will download the FCC 477's data set, some MLab data, as well as shapefiles from the Census for each state at a block level. It will also upload the resulting tiles to Google Cloud Storage.
piecewise is a vector tile set with three layers:

tracts
counties
states

The first two contain FCC, MLab, and Census data.
In addition to the things you normally need to run the piecewise project, you'll need the following things installed on your PATH. Installation instructions are in parenthesis.

mapshaper (npm install -g mapshaper)
tippecanoe (brew install tippecanoe or other os instructions)
gsutil

It is recommended to use the same version of Node that piecewise uses. Some of this workflow's dependencies are installed through the top level package.json.

This change is

This PR LGTM. Noting that this packages what's needed to generate the vectortiles with Piecewise, but perhaps in the future it's a utility that lives elsewhere, like stats-pipeline. There is also the question of how often we need to run parts of the makefile to updated specific tilesets. Like FCC will be ~every 6 months, but for NDT data we might want to regenerate them more often for recent (current year) data so they are up to date. We might want this triggered by something in the stats-pipeline, so Dockerizing the make script will make sense eventually. @robertodauria do you have other thoughts? I think this PR is ready for your review as well.


fix: responsiveness issue with github button

Description
The Github button is now perfectly aligned and spaced with the view docs button at /tools/generator route

Related issue(s)
Resolves #3008

/update

@NightFury742 for now I am closing this PR as this issue is coming up again and again so we will think of an ideal solution for this


blue-jay.github.io， blueprint "Quickstart" failed. clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)

What version of Go are you using (go version)?

$ go version go1.12.1 darwin/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/Oliver/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/Oliver/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="x86_64-apple-darwin13.4.0-clang"
CXX="x86_64-apple-darwin13.4.0-clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sl/pty4cch922gbrxstwp_ym3_m0000gn/T/go-build011233491=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

I simply follow the instruction on blue-jay.io
################################################################################
Install Go using Homebrew
################################################################################
Install Go (use any of the latest versions)
brew install go
Create a workspace folder
mkdir -p ~/godev/workspace
cd ~/godev/workspace
Set PATH and GOPATH
You should also add these to ~/.bash_profile
export GOPATH=$HOME/godev/workspace
export PATH=$PATH:$GOPATH/bin
################################################################################
Install Jay
################################################################################
Download and build Jay
go get github.com/blue-jay/jay
################################################################################
Download Blueprint
################################################################################
Download and build Blueprint
go get github.com/blue-jay/blueprint
cd $GOPATH/src/github.com/blue-jay/blueprint
################################################################################
Set Up MySQL Database
################################################################################
Create a new env.json configuration file
jay env make
Export environment variable
export JAYCONFIG=$GOPATH/src/github.com/blue-jay/blueprint/env.json
Start an instance of MySQL using Docker
docker run --name=mysql57 -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -d mysql:5.7
Open env.json in an editor and change the MySQL.Hostname to your
docker container IP (for example: <IP_ADDRESS>)
You may also want to change the Server.HTTPPort in env.json from 80 to 8080
if you don't want to execute the run command below with sudo
Apply the initial migration to the database
jay migrate:mysql all
What did you expect to see?
Honestly, I don't know what I expect to see, I am totally new to all this. But I believe it should have been "success" or "clean".
What did you see instead?
runtime/cgo
ld: warning: ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libpthread.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libpthread.tbd
Undefined symbols for architecture x86_64:
"___stack_chk_fail", referenced from:
_x_cgo_init in _x004.o
__cgo_sys_thread_start in _x004.o
"___stack_chk_guard", referenced from:
_x_cgo_init in _x004.o
__cgo_sys_thread_start in _x004.o
"___stderrp", referenced from:
__cgo_sys_thread_start in _x004.o
_x_cgo_sys_thread_create in _x005.o
_x_cgo_thread_start in _x008.o
"_abort", referenced from:
__cgo_sys_thread_start in _x004.o
_x_cgo_sys_thread_create in _x005.o
_x_cgo_thread_start in _x008.o
"_fprintf", referenced from:
__cgo_sys_thread_start in _x004.o
_x_cgo_sys_thread_create in _x005.o
"_free", referenced from:
_threadentry in _x004.o
"_fwrite", referenced from:
_x_cgo_thread_start in _x008.o
"_malloc", referenced from:
_x_cgo_thread_start in _x008.o
"_nanosleep", referenced from:
_x_cgo_sys_thread_create in _x005.o
__cgo_try_pthread_create in _x005.o
"_pthread_attr_destroy", referenced from:
_x_cgo_init in _x004.o
"_pthread_attr_getstacksize", referenced from:
_x_cgo_init in _x004.o
__cgo_sys_thread_start in _x004.o
"_pthread_attr_init", referenced from:
_x_cgo_init in _x004.o
__cgo_sys_thread_start in _x004.o
"_pthread_cond_broadcast", referenced from:
_x_cgo_notify_runtime_init_done in _x005.o
"_pthread_cond_wait", referenced from:
__cgo_wait_runtime_init_done in _x005.o
"_pthread_create", referenced from:
_x_cgo_sys_thread_create in _x005.o
__cgo_try_pthread_create in _x005.o
(maybe you meant: __cgo_try_pthread_create)
"_pthread_detach", referenced from:
_x_cgo_sys_thread_create in _x005.o
__cgo_try_pthread_create in _x005.o
"_pthread_mutex_lock", referenced from:
__cgo_wait_runtime_init_done in _x005.o
_x_cgo_notify_runtime_init_done in _x005.o
_x_cgo_set_context_function in _x005.o
__cgo_get_context_function in _x005.o
"_pthread_mutex_unlock", referenced from:
__cgo_wait_runtime_init_done in _x005.o
_x_cgo_notify_runtime_init_done in _x005.o
_x_cgo_set_context_function in _x005.o
__cgo_get_context_function in _x005.o
"_pthread_sigmask", referenced from:
__cgo_sys_thread_start in _x004.o
"_setenv", referenced from:
_x_cgo_setenv in _x006.o
(maybe you meant: _x_cgo_setenv)
"_strerror", referenced from:
__cgo_sys_thread_start in _x004.o
_x_cgo_sys_thread_create in _x005.o
"_unsetenv", referenced from:
_x_cgo_unsetenv in _x006.o
(maybe you meant: _x_cgo_unsetenv)
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)

You have the wrong version of the C libraries installed.  It looks like you have the 32-bit versions but you need the 64-bit versions.

You have the wrong version of the C libraries installed. It looks like you have the 32-bit versions but you need the 64-bit versions.

So should I go ahead and update/install 64-bit version?

I suppose so.  I don't know anything about blue-jay.io or homebrew.  I'm just explaining what the error message means.

I suppose so. I don't know anything about blue-jay.io or homebrew. I'm just explaining what the error message means.

Ok, I will go head and try that!, thx


error in audioTrainTest.extract_features_and_train if class folder contain only 1 sample

295 for feat in features:
296         temp = []
297         for i in range(feat.shape[0]):
298             temp_fv = feat[i, :]

if one of the class folder has only 1 sample, feat will be an 1d array of shape (, 136). And line 398 will give an error as it tries to access 1d array with 2d indices (feat[i, :])
I propose the following fix
    for feat in features:
        if feat.ndim == 1: # this class has only 1 sample
            feat = feat.reshape((1, feat.shape[0]))
        temp = []
        for i in range(feat.shape[0]):
            temp_fv = feat[i, :]

Sorry this was meant for the pyAudioAnalysis repo


Array delay initialization

The docs page on porting CX code to C++/WinRT states that:

There's no shorthand [in C++/WinRT] for creating an array of empty references. You have to repeat nullptr for each element in the array.

That is, to create a TextBox boxes[100] of delayed-initialized objects, I have to write:
TextBox boxes[100]
{
    nullptr, nullptr, nullptr, ...
    ...,
    ..., nullptr, nullptr, nullptr // 100 `nullptr's in total
};

There is, however, a TMP way to do this.  I originally suggested the docs page may include that solution, but the page author suggests that, due to the complexity of my code, I instead either

just post that code on my gist, or
submit feedback on Microsoft Q&A.

I decided that I'd better bring that solution here for you to review.  Does that use case of delayed initialization warrant support from C++/WinRT?  If so, where in the project can I add the function?

Thanks for the suggestion. While interesting, I'm not sure how valuable this would be for developers in general as there are a variety of ways to solve this problem and I don't believe it comes up very often in WinRT API usage.


Add getFramedVertexExplicit method to FramedGraph and refactor usage of internal graph references

Minor update that allows easy retrieval of known vertices
By calling getGraph() instead of graph. it is possible to overwrite getGraph() and change the behavior.
By calling getElement() instead of element. it is possible to overwrite getElement() and change the behavior.

The changes are needed in order to provide custom abstract classes which are needed for OrientDB due to db specific transaction and multithreading cases.

@Jotschi Hey, just saw this. Going to review it today and hopefully have some feedback or even just get it accepted right in. Thanks for the work!

@Jotschi Try to remember to update the changelog when you make any sort of changes. I can do it for you, but usually good to do it with the PR.

@freemo Hi, i'll add the changelog entries. I'll ping you this has been added.

@Jotschi Thanks man, other than that looks good, I'll accept once that change is in.

@freemo I added the missing changelog entries.

@Jotschi  thanks a lot. i will merge this in today or monday for sure. It looks good (we use gerrit for our official repo so simply accepting the pull request isnt enough i gotta pull it and re push on your behalf). On a side not if you ever want to shave a day or two off seeing a PR get in you can commit direct to gerrit. It isnt strictly needed but will speed up the process if you want to see a PR in quicker.

@Jotschi FYI twisted my leg and in hospital. just got home. working on this tonight. Sorry for delay.

@freemo Oh, get well soon! - No problem regards delay it is not very urgent.

I added another change that will help making ferma compatible with orientdb.

Sweet, thanks. Was just sitting down and firing up the IDE. Give me an hour
or so to check it out.
On Sat, Oct 17, 2015 at 11:13 AM, Johannes Schüth<EMAIL_ADDRESS>wrote:

I added another change that will help making ferma compatible with
orientdb.
—
Reply to this email directly or view it on GitHub
https://github.com/Syncleus/Ferma/pull/9#issuecomment-148922401.

@Jotschi  it is now merged with master, thanks for your help.


Last tick overlapping when using "time scale"

The bug mentioned in #2589 still exists when using a time scale. #2590 only fixes the core.scale.js class.
See (ignore the custom chart type, just look at the y-scale):

PR: #2600


Update Unit and Integration tests to use test framework code in DSCResource.Tests

The DSCResource.tests\TestHelper.psm1 module has had two functions added for initializing and restoring a test environment prior and following running unit/integration tests.
These functions are:

Initialize-TestEnvironment
Restore-TestEnvironment

The existing unit and integration tests need to be updated to use these new functions.
The unit and test templates also need to be updated to use these new functions, until these templates get moved into the DSCResources module so they can be used by any DSC Resource.
PR for this issue to follow.

This has been completed.


Duplicate instances failure

The HIE cabal CI is failing with
Building library for butcher-<IP_ADDRESS>..
[ 1 of 11] Compiling UI.Butcher.Monadic.Internal.Types ( src/UI/Butcher/Monadic/Internal/Types.hs, dist/build/UI/Butcher/Monadic/Internal/Types.o )

src/UI/Butcher/Monadic/Internal/Types.hs:230:10: error:
    Duplicate instance declarations:
      instance Alternative Deque
        -- Defined at src/UI/Butcher/Monadic/Internal/Types.hs:230:10
      instance [safe] Alternative Deque -- Defined in ‘Deque’
    |
230 | instance Alternative Deque where
    |          ^^^^^^^^^^^^^^^^^

src/UI/Butcher/Monadic/Internal/Types.hs:234:10: error:
    Duplicate instance declarations:
      instance MonadPlus Deque
        -- Defined at src/UI/Butcher/Monadic/Internal/Types.hs:234:10
      instance [safe] MonadPlus Deque -- Defined in ‘Deque’
    |
234 | instance MonadPlus Deque
    |          ^^^^^^^^^^^^^^^
cabal: Failed to build butcher-<IP_ADDRESS> (which is required by test:wrapper-test

Hmm I need to remember to put upper bound on a.b.c when there are orphan instances involved.
sorry; fixed via revisions.

On a related note, the open issue on deque currently blocks the ghc-8.6 compatibility. Unless I just replace the relevant bits in butcher with plain lists. If it takes months again until the PR gets merged, I'll do that.


[StateStore] PostgreSQL statestore

Describe the proposal
This is to create PostgreSQL statestore

@brooke-hamilton will work on this issue.

@brooke-hamilton Can you please update the progress?

Thanks for checking - I'm ready to submit a PR for review and feedback.
Apart from submitting the review PR, remaining work includes implementing the TransactionalStore interface, consistency flags, benchmark tests, and likely some renaming of things internal to the package.

Thanks for checking - I'm ready to submit a PR for review and feedback.
Apart from submitting the review PR, remaining work includes implementing the TransactionalStore interface, consistency flags, benchmark tests, and likely some renaming of things internal to the package.

Thanks, submitting the PR as soon as possible would be great :)

@brooke-hamilton Thanks for the update. I moved this issue to 0.9.0 milestone.
cc/ @yaron2 @amanbha @msfussell @orizohar

@brooke-hamilton - Thanks for this contribution. On top of this PR, can you please add a PR for the docs repo that provides guidance on using this component here https://github.com/dapr/docs/tree/master/howto/setup-state-store ?
There is a template for these howtos you can find here https://github.com/dapr/docs/blob/master/contributing/howto-template.md

@brooke-hamilton - are you opening a PR on the docs repo for the "how to" for this?
We'd really want to get this into 0.9 and code freeze is end of this week 7/10/2020

@brooke-hamilton - are you opening a PR on the docs repo for the "how to" for this?
We'd really want to get this into 0.9 and code freeze is end of this week 7/10/2020

@orizohar, I will submit the PR today. Thanks for the pointer on the date.

@orizohar, the PR for documentation is here: https://github.com/dapr/docs/pull/675


Build error when using template versioning in components (ng build --prod)

Versions.
@angular/cli: 1.0.0
Repro steps.
When you use template versioning in components, the command "ng build --prod" will fail. (Other commands like "ng serve" or just "ng build" works fine).
@Component({
selector: 'app-root',
templateUrl: './my.component.html?v=1',
styleUrls: ['./styles.css']
})
ng build --prod fails with error:
ERROR in ENOENT: no such file or directory...

I don't think the AOT compiler itself supports that usage. You can try submitting a feature request in https://github.com/angular/angular for it.

Hi Filipe
Thank you for your answer – it used to word in the beta releases – and as I wrote – it works fine when you do a “ng serve”
Regards, Dennis
From: Filipe Silva<EMAIL_ADDRESS>Sent: 4. maj 2017 15:56
To: angular/angular-cli<EMAIL_ADDRESS>Cc: millersdk<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [angular/angular-cli] Build error when using template versioning in components (ng build --prod) (#5805)
I don't think the AOT compiler itself supports that usage. You can try submitting a feature request in https://github.com/angular/angular for it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/angular/angular-cli/issues/5805#issuecomment-299192070 , or mute the thread https://github.com/notifications/unsubscribe-auth/AS0pLKhDNSxJRWVIygarq3UP1RLLo1pcks5r2djSgaJpZM4Mxb6W .  https://github.com/notifications/beacon/AS0pLBNmEqjWlaQP4b1me1UQ7fc6OeqCks5r2djSgaJpZM4Mxb6W.gif

Older beta releases didn't do AOT properly actually... which is why some of that stuff went by undetected. When you do ng serve --prod AOT is turned on as well.


Fix postMessage when running on different env

Invocations of postMessage should differ when running on different environments,
and just the check for availability in global is not enough to avoid errors.
For example, when running on a WebWorker or (in my case) React Native, the second
argument needs to be of a different shape or omitted whatsoever.
This PR checks for the presence of document as a reliable way of detecting where
we're running and modifies the invocation accordingly.
I've only tested the fix on the WebWorker scenario, but shouldn't have broken things on
browsers since the previous code is there and document it's available.

My understanding is that this is just one of a number of React Native fixes that are needed, and that the body of work around those fixes is incomplete.  Correct me if I'm wrong; but based on that, I'm holding off on looking more closely at this.

I don't think it's particular to React Native, I do agree that with RN's Chrome debugging might be the most common case, but I'd say any code that would run on a web worker would have this issue. I'm not completely up to date on to which frameworks are doing that under which conditions, but I know there was talk about it with at least Angular 2 and Aurelia moving code execution to web workers.

It had been my intent to merge this into our next release; it had not been my expectation to have the kinds of delays and confusion involved in that next release.  I've created a new PR to get this added to the WebSDK 3.0 release.
New PR is https://github.com/layerhq/layer-websdk/pull/131

@blackxored, I've been making some improvement to our RN support in websdk, and I came across this addition to our code for better RN support for postMessage. I'm curious how you have a postMessage method available in your react native environment? postMessage is not defined in my RN environment in the global scope. We want to make sure we are handling this appropriately for all RN environments, so any info you can give us would be helpful. Thanks!

When running under Chrome (i.e Debug Remote JS) this is available. Might be
under other environments as well (react-native-debugger, IntelliJ's
debugger, etc).  Hope that helps.
—
Best Regards,
Adrian Perez
https://adrianperez.codes
On May 16, 2017 at 12:36:34 AM, SpecialDOS<EMAIL_ADDRESS>wrote:

@blackxored https://github.com/blackxored, I've been making some
improvement to our RN support in websdk, and I came across this addition to
our code for better RN support for postMessage. I'm curious how you have a
postMessage method available in your react native environment? postMessage
is not defined in my RN environment in the global scope. We want to make
sure we are handling this appropriately for all RN environments, so any
info you can give us would be helpful. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layerhq/layer-websdk/pull/84#issuecomment-301624636,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIIvDCXc0SycXliV9UbUI8C5E_V0aUqks5r6NNygaJpZM4JQTEP
.

Thanks!


Rendering: Support alpha cutoff / alpha test for block texture transparency

Talked about this a bit on IRC tonight with @immortius and @Double-A-92 and I wanted to put a reminder in for later - not a very critical need :-)
Once upon a time we had partially transparent leaf blocks (based on alpha blend / translucency), which became a performance issue (render ordering issue) and was disabled. A different strategy exists and is used in MC to allow leaf blocks with "holes" in them
This could help lighten up the trees a bit again rather than being opaque, and might also help in other places, like allowing "swimming" (climbing) in trees while still having sensible viewing options (rather than totally opaque or not rendered at all)

How about introducing some noise in texture-coords and then relate it to alpha values, and cut-off values below a certain level?


vulnerability found

# npm audit

                       === npm audit security report ===

# Run  npm install<EMAIL_ADDRESS>to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change

  Low             Regular Expression Denial of Service

  Package         debug

  Dependency of   mongoose

  Path            mongoose > mquery > debug

  More info       https://nodesecurity.io/advisories/534

found 1 low severity vulnerability in 198 scanned packages
  1 vulnerability requires semver-major dependency updates.

# npm audit

                       === npm audit security report ===

# Run  npm install<EMAIL_ADDRESS>to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change

  Low             Regular Expression Denial of Service

  Package         debug

  Dependency of   mongoose

  Path            mongoose > mquery > debug

  More info       https://nodesecurity.io/advisories/534

found 1 low severity vulnerability in 198 scanned packages
  1 vulnerability requires semver-major dependency updates.

# npm audit

                       === npm audit security report ===

# Run  npm install<EMAIL_ADDRESS>to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change

  Low             Regular Expression Denial of Service

  Package         debug

  Dependency of   mongoose

  Path            mongoose > mquery > debug

  More info       https://nodesecurity.io/advisories/534

found 1 low severity vulnerability in 198 scanned packages
  1 vulnerability requires semver-major dependency updates.


feat: add nsis-process and nsis-download. refactor repo to workspace

The nsis-process project needs a bit of aa lot of cleanup, it's really just a poc to discuss how to proceed. you can treat this as a rfc issue, i just wanted to have something to look at.
i think the way to go here is to have only 1 (tauri specific) dll to massively save on dll binary size. The main question here is if we still want to release individual dlls for other people to use? If not then we can just revert the workspace refactor and have it all in one project. The alternative is a bit annoying because you can't re-export (pub use) the extern "C" functions so we'd have to duplicate some code.
Edit: a quick test for the file size:

separate dlls: process: 129kb - semvercompare: 105kb
merged dll: 134kb

closing because we don't need arm dlls, discussion on discord: https://discord.com/channels/616186924390023171/986184168998330371/1062664355486900234

re-opening because of the incoming ns-nscurl rewrite :)

i'll do some cleanup tomorrow.
Until then, how granular should the error handling be? Do we want different error codes for different errors (and which one of them should be handled) similar to nsprocess or is a catch-all enough?

for the download plugin, lets send the error code, eg 200, 404 and so on
for process plugin, 0 for success and 1 for failure is enough

okay sooo, making a lib a "normal" rust lib and a dylib at the same time is super annoying, especially if you add a lib like nsis-tauri which just wants to re-export the other libs.

You can't export pub use extern C functions
for whatever reason the DLLs grow a bit in size if you add the lib crate-type 😠
you can't have pub extern C functions with the same name in 2 crate members or llvm starts crying

i'm thinking about moving all actual functionality into a core crate of some sort but we'd still be unable to do cargo build to build all libs at once unless we rename the functions in nsis-tauri (for testing i just put a T in front like TFindProcess...)


LIB-306 create new book

added submitNewBook function and added function to remove data-url to retrieve only base64 encoded string

Test Evidence

Extracting file information

Regex to remove data-url in base64 string

Test Evidence on Database


Search-and-replace Regex substituted with literal $1 instead of matched text

VSCode Version:1.30.0-insider
OS Version: Linux x64 4.18.0-11-generic

Steps to Reproduce:

Type a search query with regex enabled.
Type replace text with reference to matched text ($1).

Click replace.

Expected:

Does this issue occur when all extensions are disabled?: Yes

$1 references a group, your regex must include a group in ()

Oh, my bad. Thank you, @roblourens. Do you know why it must include a group? Is there some edge case that the behavior I expected would get hung up on?

That's just how that regex feature typically works.


Anonymous geolocation for hotspot-identification

Problem and motivation
The missing corona-hotspot/cluster-identification is a big criticism of CWA. This is a proposal for exposing hotspots by geolocation and still protecting privacy and anonymity. It will help RKI and the public to detect hotspot-areas without tracking or analyzing all motion data of users at a central server.
Feature description
For a better understanding of this proposal see Figure 1 of Corona-Warn-App Solution Architecture:

To achieve the goal of exposing hotspots, the local storing of received keys via BLE from other clients has to be extended by the actual geolocation of the contact-point. If a user is tested positive for COVID-19, the device still just uploads the keys (+TAN) to Corona-Warn-App Server (without geolocation). Other clients will download these keys from Corona-Warn-App Server and check them for contacts. If there is a match, they will upload the key of the positive contact in combination with geolocation to a new API of Corona-Warn-App Server (this API has to be implemented). The geolocation-upload-process should only be triggered when the client had multiple contacts at the contact-datetime. With this approach it is not possible to deanonymize single users.
Example workflow
User A and User B are working with some colleagues in an office. In this situation User A sends Key A via BLE to User B and to the other colleagues. User B extends Key A by his current geolocation and saves the object to local storage. One day later User A has a positive corona-test. User A uploads all his keys to Corona-Warn-App Server. User B downloads these keys from Corona-Warn-App Server. He registers the contact with Key A. Now the device of User B checks if there were three or more other people around at this datetime. If yes, User B uploads the geolocation of the contact-point to Corona-Warn-App Server. Positive effect: User A, User B and their colleagues are still anonymous, and the public is able to identify their office-complex as corona-contact-point.
Is this something you're interested in working on
Yes

Related Issues:

#355
#279
#240
#213

Thanks for your fast reply @Ein-Tim. So we have to find an other way.

@j-l1nk
Yes, sadly, but besides of the limitation I think that your proposal is a good one. So please leave it open.
Have nice easter days. 🙂

Thank you @Ein-Tim 😊 I hope you enjoy easter days too.

Hello, that's really a great idea!
I hope you guys enjoy your easter days 😊

Hello @Ein-Tim, I read some more documentation about Exposure Notification Framework/System in the developer-pages of Apple/Google and in the related issues here in GitHub. With this knowledge I have a new idea for implementing this feature.
Description
CWA could enrich the places in contact diary by semantic information. For this feature CWA could use existing open-source APIs/Databases like Open Street Map. People would store places as semantic objects with identifiers and geolocation-information instead of storing simple strings. Additionally, the visiting-duration could be replaced by an interval (from-to).
When a user is tested positive for Covid-19 his CWA could upload keys and semantic places from contact diary to Corona-Warn-App server. RKI could use this information for hotspot-identification. Also, RKI could add information about visited places of positive tested not-CWA-users to public database. CWAs of other users could download the exposed semantic places and check if the user has a matching place/interval in his contact diary.
Note: Only public places like parks, universities, offices, etc. should be available as semantic places. This makes it impossible to deanonymize single users by sharing the addresses of private houses or flats.
Maybe it's also possible to connect the new QR-Codes to semantic places.

Hi @j-l1nk
This new proposal definitely agrees more with the "rules" of the ENF / ENS. Still I see a high chance that something like this could be rejected by Apple / Google, but that would be something that has to be seen.
A very closely related issue to your new proposal is #408.
One of the nice community managers will soon pick up on this issue and mirror it into the internal ticket system (JIRA).
He will give you all further details.
Have a nice Sunday!

@j-l1nk  @Ein-Tim

CWA could enrich the places in contact diary by semantic information. For this feature CWA could use existing open-source APIs/Databases like Open Street Map. People would store places as semantic objects with identifiers and geolocation-information instead of storing simple strings. Additionally, the visiting-duration could be replaced by an interval (from-to).

Not sure, if the RKI really needs the GPS-Location for the statistic analysis, where most of the infections happens but if not a classification + postal coade as suggested in my issue #408 is sufficient. This would although adress the problem with private locations - the location would not be known but it would at least be known that ist was in a private area. Or you could combine it and send the GPS-locations only for public places like you suggested and send a classification for everything else. Would be nice to get a feedback on that from one of the scientists.
But I really like the idea of using the places data out of the diary function.

I absolutely agree with your comment @Velligis128. GPS-Information are not required to find a solution for this issue or your #408.
I like the idea to combine both proposals and extend places in contact diary (only) by categories and postal codes. It's less accurate than semantic places but has no risk to breach anonymity and still provides enough information to identify hotspots.
What do you think? @Ein-Tim @Velligis128

@j-l1nk:
I think I would prefere the integration of a map-API, as this enhances the UX for the user and enables the app for a automatic identification of postal code and a proposal for the classification. To do this by hand would be a pain in the ...
In the end, using the diary will always be a workaround where I am not sure if it is really helping out. Most of my colleagues and friends are using the app, but I don't know anyone using the diary. I am not sure, if we will get enough data for a valid research. But this issue can't be solved without Google / Apple and it looks like there is no intrest in talking to them.

I think even with the proposed solution with the contact diary, CWA would risk to get blocked from the Stores, see https://www.bbc.com/news/technology-56713017.

@Ein-Tim Thanks for the share.
A litte bit annoying....

What this underlines is that governments around the world have been forced to frame part of their response to the global pandemic according to rules set down by giant unelected corporations.

This is maybe the most important fact :(

Hello everyone, sorry for not going for this issue sooner
@j-l1nk As already said, see the other issues @Ein-Tim for similar proposals and the current event registration proposal for an alternative approach.
Additionally - because you approach would require a significant change in the permissions used by the app - I would like you to answer these questions about the proposal that would need to be considered:

User A uploads all his keys to Corona-Warn-App Server. User B downloads these keys from Corona-Warn-App Server. He registers the contact with Key A. Now the device of User B checks if there were three or more other people around at this datetime. If yes, User B uploads the geolocation of the contact-point to Corona-Warn-App Server.

How do you ensure that both user A and B opt-in to sharing their location data?
How would the CWA prevent a malicious user B from uploading falsified location data?

If there is a match, they will upload the key of the positive contact in combination with geolocation to a new API of Corona-Warn-App Server (this API has to be implemented).

Wouldn't this effectively expose user A (the postively tested user) to the key server if user A has enough contacts? Suppose the key server keeps track of the keyset of user A, then all the location data associated with these keys (sent by contacts B, C, ...) could be assembled into a movement profile of A

and the public is able to identify their office-complex as corona-contact-point.

How does your approach deal with the delay in reporting? Keep in mind that the hotspot identification would not be in real time, i.e. a person gets infected at a place, they start to get symptoms, get tested, receive their test result and then upload their result into the app. This process can take a few days.

Corona-Warn-App Open Source Team

Hello @heinezen,
the biggest problems for the first proposal are the ENS/ENF-restrictions. With these limitations we can't implement hotspot-identification based on geolocation-API.
We proposed a new solution which is very similar to Event Registration. As I can see, the new Protobuf-message also has a categorization of locations as suggested by @Velligis128. I think "TraceLocation" contains enough information for hotspot-identification without compromising anonymity. Therefore, our proposals should get completed by CWA-Update this month. Event Registration seems to be a very good solution.

@j-l1nk
But, sorry for repeating me here, if the plan would be to let users opt-in to upload their history of check-ins, that's exactly what the NHS Covid-19 app has blocked from the Stores. See https://www.bbc.com/news/technology-56713017.

Possibly  going slightly  OT:  What about voluntary consent to location tracking ? I know this is a minefield.
Maybe a sidecar app ?


Various warnings building OQS Provider on Mac

I am hitting various complier warnings building oqs-provider on my Mac.
I have a patch file that addresses these warnings. If worthwhile I can create a PR for this.
A sample of them includes....
cmake -S . -B _build && cmake --build _build && ctest --test-dir _build && cmake --install _build

CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

oqsprov/oqs_sig.c:221:5: warning: initializing 'const unsigned char *' with an expression of type 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
"060B6086480186FA6B50080101", // mldsa44_pss2048
[-Wpointer-sign]

oqsprov/oqs_sig.c:485:62: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
          if (OQS_SIG_sign(oqs_key, buf, &oqs_sig_len, final_tbs,

oqsprov/oqs_kem.c:241:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((evp_ctx == NULL)) {

oqs_prov_warnings_fix.patch

Thanks for this report @ashman-p . Of course, a PR is always welcome. Best would be if it came with CI demonstrating the fix (fails before, passes afterwards), making (CI of) the project more robust.


Proposal: add generic (EDS) based XDS SD mechanism

Proposal
Use case. Why is this important? Envoy is CNCF graduated project, and has more or less become a de-facto standard proxy implementation for service meshes and cloud-native Ingresses.
Aside from acting as a proxy implementation, Envoy also contains a vendor-neutral XDS API. This API is implemented not only by Envoy itself, but also gRPC and a few other proxies (MOSN, Quilin and a lot of proprietary proxies).
Support was recently added for Kuma SD (https://github.com/prometheus/prometheus/issues/7919). However, there are a few issues with this approach:

The SD only has support for a Kuma-specific API, MonitoringAssignment. This locks out the vast ecosystem mentioned above.
The implementation uses an uncommon variant of the API (REST-JSON polling), rather than the much more common gRPC streaming. This is far less supported and much less efficient.

It would be great to add support for a more vendor-neutral API, ClusterLoadAssignment, which is part of the core XDS APIs and implemented by all(?) users of XDS. Additionally, support for gRPC streaming would allow existing control planes to be used in place, and avoid high performance costs.
Similar request in the past: https://github.com/prometheus/prometheus/issues/6484
cc @austince @mandarjog @roidelapluie

Thanks for the ping @howardjohn + the interest!
I think adding support for ClusterLoadAssignment sounds like a good idea – do you have a specific proposal for mapping those to Prometheus targets? The current xDS SD implementation is only vendor-specific in terms of the API. It is built to be extended to new APIs easily.
For gRPC, we had a similar conversation (perhaps see this ML thread for context), but ultimately went with HTTP since it simplified both the mechanics and the dependencies of the SD. @roidelapluie would have the golden insights there.

We looked quite a bit for a standard API that fully expressed something like a Prometheus Target, but did not find anything w/in Envoy or elsewhere. Would be happy to have more support to define a standard there. Here are some threads in OpenTelemetry around that:

https://github.com/open-telemetry/opentelemetry-proto/issues/263
https://github.com/open-telemetry/opentelemetry-specification/issues/1078#issuecomment-776334709

I would envision the mapping to be like this:
{
    "@type": "type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment",
    "cluster_name": "some-backend",
    "endpoints": [
        {
            "lb_endpoints": [
                {
                    "endpoint": {
                        "address": {
                            "socket_address": {
                                "address": "<IP_ADDRESS>",
                                "port_value": 8080
                            }
                        }
                    },
                    "metadata": {
                        "__meta_prometheus_job": "something",
                        "__meta_prometheus_foobar": "else"
                    }
                }
            ]
        }
    ]
}

The thread suggest metadata is not intended to be used for this purpose, but I am not sure I agree - it seems well suited? I think the docs are just a bit misleading (The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as envoy.lb.), because it is documenting how Envoy the proxy uses them. There is a common detail/terminology confusion between Envoy-the-proxy, XDS transport protocol (ie sending Discovery{Request,Response}), and the XDS apis (ie ClusterLoadAssignment) - I think in this case they are discussing Envoy-the-proxy's usage of metadata - it seems perfectly valid to use metadata for other usages as well (we do this in Istio at least, and have never had issues).

ultimately went with HTTP since it simplified both the mechanics and the dependencies of the SD

My reading of the thread is there is this primary concern:

hould we have a generic SD, I would not like that much GRPC as would
bring many dependencies, that we already had issues with. Additionally,
we have more chances to use a more-established standard like HTTP (with
long poll). Especially since the communications only need to be one-way.

gRPC is currently a transitive dependency (from the XDS import for one, among others like k8s). I don't know how to exactly quantify the impact of moving it from an indirect -> direct dependency, but from importing it explicitly it seems there are no real changes to go.sum (and go.mod just has the new grpc line). So its plausible its not a huge new dependency in terms of go imports - it is of course a new runtime dependency. I think a lot of the complexity is already a sunk cost with the go-control-plane import for kuma_sd.
Regarding the one-way part - one of the biggest benefits of the gRPC streaming is that the control plane can push updates. So instead of polling every Xs, and getting the full state-of-the-world (which may be very large!! like O(megabytes)), we can connect once and then just get incremental updates as endpoints change.
gRPC is less standard than HTTP, but its not horribly bespoke - it is mostly just "protobuf over HTTP/2" if you squint your eyes :slightly_smiling_face: .

@howardjohn Yeah :/ the xDS API / envoy-proxy line is not the most straightforward. It seems like using metadata for this would work, though would be tougher to implement/validate as it relies on arbitrary keys in metadata being present.
Do you envision this being pulled from the main xDS API? How does one distinguish a request for  ClusterLoadAssignment the load balancer spec vs. ClusterLoadAssignment the metric scrape target spec?
For gRPC, I agree with you completely that incremental updates would be great! Here are a couple more threads on the gRPC/Prometheus relationship that you might be interested in:

https://github.com/prometheus/prometheus/issues/7836
https://github.com/prometheus/prometheus/issues/8414

In the context of the HTTP polling in the current kuma_sd, it is important to note that it uses HTTP long-polling (thanks @roidelapluie  :)) to reduce the polling requests, and ofc uses the version of the current resources to only send back the state of the world when that changes. This can be O(megabytes) like you mentioned, but with those two features, it is much more efficient than the same over the http_sd.

How does one distinguish a request for ClusterLoadAssignment the load balancer spec vs. ClusterLoadAssignment the metric scrape target spec?

Its possible a control plane would not care, and just always set all the labels. For scalability reasons, that seems like it would always work - certainly for us that would cause scalability concerns to add all the prom labels for every client.
The XDS requests contain metadata about the client in the node - there is arbitrary struct config as well as user agent, etc. So somewhere in there could specify prometheus and a control plane could choose to respond differently in that case

Hello,
This is indeed kuma-sd, within a package that can do XDS REST-JSON polling. Adding different types should be possible within the same go package -- if it supports the REST-JSON polling.
We went for HTTP polling for now because we are thinking about what we will do with our protobuf stacks, and I did not want a service discovery to interfere with this until we have a proper solution for the protobuf we use in the rest of Prometheus. I also did not want to take the kuma PR in hostage pending this proto work.

I think we may also need to tweak the api for simplicity.
EDS does not allow wildcard resource request. If not, the controlplane can choose to still implement a wildcard eds and specifically deltaEds.

Hello from the bug-scrub!
Prometheus has http SD, which would allow any source of service information to be integrated.
Since no further comments were made on this issue, we will conclude it was not of high interest and close it.


Create testfile_2

testing-done-itisdone

Hello there, thanks for creating a new Pull Request!

Please complete the 'Testing Done' section of the description.

Please complete the 'Testing Done' section of the description.

add new test


replace knex with newer library

preferably typeORM after upgrade to typescript

should consider Sequelize or maybe MikroORM
https://www.slant.co/topics/11235/~javascript-orms
https://www.eversql.com/best-orm-for-node-js/#Summary

typeorm for typescript and sequelize for JS


Change project directory environment variable

Using $ZSH for the project root directory conflicts with zsh projects
and plugins (e.g., oh-my-zsh).  Change $ZSH -> $DOTFILES.
WIP: defrank/dotfiles#8/b

This has come up a few times in the past; previously I've sided along the lines of being -1 because I didn't want to cause a lot of conflicts for existing users. Willing to reconsider, though; what are other people's thoughts on this?

Based on the number of times this comes up, it seems worth it to rename.  😃   $DOTFILES is the first suggested alternate that sounds like it belongs.
+1 from me.

tag v2.0 for breaking backwards compatibility 👍
If this gets approved, then for anyone that relied on $ZSH in there addons:
git grep 'ZSH'

Another vote as my personal fork has this implemented.


"You should treat the identity-related information in the tab context simply as hints and validate them before use."

Is it possible to better explain, at least high-level, what this means: "You should treat the identity-related information in the tab context simply as hints and validate them before use."? What should we be validating, and in what way?

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

ID: 22c5f1eb-f67b-5ecd-b417-644f6476e2e1
Version Independent ID: b0e0fd61-53d8-ae68-335f-3279fd925673
Content: Authentication flow for tabs - Teams
Content Source: msteams-platform/concepts/authentication/auth-flow-tab.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

This is just saying that you shouldn't assume that the personal identification information included in the getContext call should not be used for authentication or authorization purposes. You need to prompt the user to actually log in for that. Otherwise you are opening yourself to a man in the middle attack.


Get an Error! The supplied domain is invalid (400) message when using path alias rules

I have a static webapp on one domain myclient.now.sh, and a docker install running a graphql server on another myserver.now.sh. When I try to run now -r ./rules.json on my static webapp deployment with the following rules.json file:
{
  "rules": [{ "pathname": "/graphql/**", "method": ["POST"], "dest": "myserver.now.sh" }]
}

I get the following output:
❯ now alias -r ./rules.json
> Assigning path alias rules from ~/my-app-path/rules.json to myclient
> Error! The supplied domain is invalid (400)

My domains above are fake, but I am using a now alias for each service.

This is an issue in both 12.0.0-canary.84 and 11.4.2

You should specify the FQDN to which the path-aliases are applied in the alias command
now alias -r ./rules.json my-domain.com

That indeed worked -- thanks. Feel free to close this. I didn't see anything about specifying the FQDN in any documentation.

cc/ @timothyis

@zackkrida would you mind sharing a link to where this is missing?
It seems that we have the domain specified in the examples on the path-aliases feature page: https://zeit.co/docs/features/path-aliases

i think it must've just been an oversight on my part. I re-read the docs and the announcement i was using and the url is indeed there.

I'll try to make it more obvious still, @zackkrida. Thanks for the feedback! Sometimes it can be overwhelming reading docs and missing something, so we will try and make it easier to read in future.


Update Servage

Had some whack numbers that didn't get updated. Please make a new PR or update this one and I'll reopen it. :)


Generic Instances "OverwriteExistingFiles" Update Stage Not Being Followed

Bug Report
System Information

Operating System - Ubuntu 22.04 LTS using a Docker container
AMP version and build date - v<IP_ADDRESS>, built 29/09/2022 16:10
Which AMP release stream you're using - Mainline

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

What are you trying to do?
Conan currently has this line set to not overwrite config files during updates.
{"UpdateStageName":"ServerSettings File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/conan-exilesconfigsettings.ini","UpdateSourceTarget":"./443030/ConanSandbox/Saved/Config/WindowsServer/","UpdateSourceArgs":"ServerSettings.ini","OverwriteExistingFiles":false}

What are you expecting to happen?
AMP should honor that and not overwrite the files.

What is actually happening? ('Nothing' is not an acceptable answer!)
The files are getting overwritten.

Reproduction
Create a Conan instance inside Docker (haven't tested other scenarios or games yet). Update, then change a value in the ServerSettings.ini file AMP downloads, then update again. The file will be reverted to defaults. If you remove that update stage it does not get reverted, so this confirms it's not SteamCMD overwriting it.

Verified it's happening with Space Engineers on Windows outside of Docker as well.

Should be fixed in 2408.


Fix autest uses of File exists parameter

The AuTest File exists parameter can be configured in one of three ways:

If True, then AuTest will fail unless the file exists.
If False, then AuTest will fail unless the file does not exist.
If None (the default) then no existence check is done.

Many of our tests configured exists=False assuming it would behave like
the default None configuration above. That is, they used exists=False to
turn off verification. That is in fact how AuTest has behaved until now,
but that is a bug in the AuTest framework. The next release of AuTest
will have a fix such that exists=False will now verify that a file does
not in fact exist which will cause some of our tests to fail. This patch
anticipates that fix to AuTest and fixes our use of exists accordingly.

Cherry-picked to v9.2.x


Cars - Converters are not converters.... problem

Hi Mahdi,
Following the email from Serge I create this task to follow-up on the necessary enhancement to solve it.

Check if relevant to remove the converter choice during the car creation for a user and the tab in the visualization of a car in the catalog.

Should be fixed with the following PR:
https://github.com/LucasBrazi06/ev-server/pull/1613
https://github.com/LucasBrazi06/ev-dashboard/pull/1752
This issue is to be moved to icebox till Serge confirms if it works as expected.

Check if relevant to remove the converter choice during the car creation for a user and the tab in the visualization of a car in the catalog.

It's only relevant when there's only one converter for the vehicle. The list choice can stay in grey then.
++

Check if relevant to remove the converter choice during the car creation for a user and the tab in the visualization of a car in the catalog.

It's only relevant when there's only one converter for the vehicle. The list choice can stay in grey then.
++

I already had a meeting with Mahdi and we'll put a drop down to select the converters (standard, option, alternative in EV-DB).


url contains other language characters, the utf-8 encoding

If the url contains other language characters, such as Chinese, the utf-8 encoding without decoding is displayed on the statistics page

Same as #1171, will track there. A fix has already been started.


Use a singleton observer for all cacheable models

A new inspection was created.

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master    #10   +/-   ##
=======================================
  Coverage       100%   100%
+ Complexity       57     55    -2
=======================================
  Files             9      9
  Lines           140    137    -3
=======================================
- Hits            140    137    -3

Impacted Files
Coverage Δ
Complexity Δ

src/ServiceProvider.php
100% <100%> (ø)
4 <1> (+1)
:arrow_up:

src/CacheableObserver.php
100% <100%> (ø)
4 <0> (-3)
:arrow_down:

Continue to review full report at Codecov.

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

The inspection completed: No new issues


small UI improvements

I think it would be better to put "Pawternity Hub" on the navbar itself in the home page.
Another issue, the dogs in the animation near the bottom of the homepage looks like they are elongated....... Is an animation necessary..?
Then, the images are without any frame... Maybe we can add shadows, make them rectangular (or round rectangle) instead of oval.
These small changes will probably make the website more appealing and professional.
I may work on these issues, first let me know your views...

Yea it could sure use those improvements. Can u post screenshots of the pages that needs work?

I just did one small change... simple though, see whether you like it or not.
I am having some problems regarding generation of the API key, it would be nice if you could help me out, so that I could proceed with the rest of the changes.

I just did one small change... simple though, see whether you like it or not. I am having some problems regarding generation of the API key, it would be nice if you could help me out, so that I could proceed with the rest of the changes.

Join the discord so I can send u the api key


Added skin for dmc

Hi! What is your PR about?

[x] Add or edit a skin
[ ] Add a custom domain for your space
[ ] Add an alias to migrate your space

https://github.com/snapshot-labs/snapshot-spaces/pull/2276
Have added the skin in index.js in this PR.


Create tests for User views

Ideas for tests:

Create a student profile if you have a role of HR

Did you mean the role of Students? @AshkenYariv


Text Appearance in "Change Handle" Page

Steps to Reproduce

Navigate to the "Change Handle" page on your Bluesky profile.
Observe the text rendering for letters like g and q in the handle and domain record fields.

Attachments

What platform(s) does this occur on?
Web (Desktop)
Device Info
No response
What version of the app are you using?
Build version: 1.95.0; Bundle info: c9d86de (prod); Bundle date: 24112719; Platform: web; Platform version: undefined
Additional Information
On the "Change Handle" page, the bottom spacing for certain characters, such as g and q, is not rendered correctly. This results in these letters appearing almost identical

I'm on version 1.96.0 with Chrome version 131.0.6778.109 and I can't reproduce this.  What browser are you using?

I was on brave.
Here's it on chrome

I see it might be a browser problem as the spacing at the bottom changes with browsers. But its till not completely visible on chrome.

This issue seems specific to Windows - I was able to reproduce the issue on Windows but not on MacOS


feat(ios): add http(s) proxy/scheme

This adds a new URLSchemeHandler which can proxy http(s) requests to external servers.
This is useful for some CORS issues and webview bugs that affect the use of cookies in CORS requests via XHR and fetch.
See Webkit bug https://bugs.webkit.org/show_bug.cgi?id=200857
For that reason cookies will be synced between proxied requests on the native layer and the webview.

If this feature is usefull and gets merged, the documentation needs to be updated probably here: https://beta.ionicframework.com/docs/building/webview#file-protocol ?

I'm running tests over iOS 13.1.2 and the cookies doesn't reach the server in fetch requests, i.e. , but I don't know if there are some kind of configuration or function must need to call before the html is rendered.

You mist use the convertFileSrc Javascript function to convert your URLs for using the proxy

This was done with some suggestions from @jcesarmobile . Do you have any comments on the implementation?

This is the corresponding documentation that needs to be updated in case this gets merged: https://github.com/ionic-team/ionic-docs/blob/master/src/pages/building/webview.md

Seems like #376 is the Android version of this change. Adding this feature may mean integrating both PRs.

I just rebased and resolved conflicts with https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/cbd526d

Documentation needs to be updated. For basic instrutions see this: https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/475#issuecomment-553871614

@jcesarmobile Do you see any chances this could be merged? I don't know how relevant this is for the upstream plugin, but I try to mimize forked plugins in our app.

Hello,
is there any chances this could be merged?
thanks.

@NiklasMerz can you please resolve the conflict and thanks ^_^


[Need Help] XF Image Cropper

Hi Guys
I have create Xamarin Forms cross platform ImageCroper using skiasharp customrenderer .
Which works properly in UWP(Desktop). But having many issue in IOS, Andorid and UWP mobile.
Like performance, UI lags too much.
And touch is not working properly.
Plz just look at once.
https://github.com/AiCraft/XFImageCroper
Thanks And Regards

Hi @AiCraft, I had a look, and I think the main "issue" is that you are doing too much in the paint method.
https://github.com/AiCraft/XFImageCroper/blob/master/CustomRendererDemo/CustomRendererDemo/MainPage.xaml.cs#L226-L228
Stream FileStream = DependencyService.Get<ImageFile>().readFile("Assets/flower.jpg");
using (var stream = new SKManagedStream(FileStream))
using (var _bitmap = SKBitmap.Decode(stream))

Basically, on each paint, you are doing I/O and accessing the file on disk. And then, you decode and render. I would strongly suggest moving this to a startup place - maybe on appearing? Then you can even do this async.

Also, I notice in your draw method, you are using the same paint all over - and re-setting the same values. What you could do is to construct the paint object once in the startup, and then just reuse them. Although this is not going to be a bit performance boost, this will reduce any overhead that there might be.

I see you also init twice:
https://github.com/AiCraft/XFImageCroper/blob/master/CustomRendererDemo/CustomRendererDemo/MainPage.xaml.cs#L38-L39

@mattleibow Hi Sir,
I have done that changes but improvements are not much on Phone(WinPhone).
I fount the issue regrading touch also. Problem was with the Canvas Scaling. I was touching somewhere and point was appearing some where else.


 It adds the ability to accept proofs of composite claims.
acceptCompositeClaims in ./src/util/cd.js is central to this pr. It returns a claimgraph which includes the the claims which were proven.
Proof validation is a separate step from validation of a presentation. The two steps are nicely unrelated to each other and can even be done at the same time with Promise.all() if the user desires. The separation allows the user control over validation setting, like forceRevocationCheck, without the claim deduction interface needing to know about the validation interface.
When encountering an invalid proof my options were to throw an error or to express the error in the return type e.g.
{ Ok: results } | { Err: invalidReason }. I currently throw an error because I think that is idiomatic in js. I can change this if desired.
As a UX decision, I intentionally left out an explicit checkSoundness function, though it's very simple to implement one. There is validate and acceptCompositeClaims. If both of those succeed, then the claims returned by acceptCompositeClaims(_, rules) are true with respect to rules.
This pr also adds the closely related ability to for the holder to generate a proof of composite claims for inclusion in a presentation. see proveCompositeClaims() in ./src/util/cd.js.

When encountering an invalid proof my options were to throw an error or to express the error in the return type e.g.
{ Ok: results } | { Err: invalidReason }. I currently throw an error because I think that is idiomatic in js. I can change this if desired.

@SamHellawell does it make sense to do it this way?

@bddap yeah that seems fine


Casks/docear.rb: Update to version <IP_ADDRESS>, which only provides zip

Casks/docear.rb: Update to version <IP_ADDRESS>, which only provides zip (not dmg)

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


Valid Canary runtime versions are outdated

Hello,
The current Canary runtime versions are outdated. Under troposphere/validators/synthetics.py the valid versions are the following:
["syn-nodejs-2.0", "syn-nodejs-2.0-beta", "syn-1.0"]
The versions syn-nodejs-puppeteer-3.5 to syn-nodejs-puppeteer-3.9 were deprecated on January 8, 2024. (Source)
The current valid versions are the following:

syn-nodejs-puppeteer-4.0
syn-nodejs-puppeteer-5.0
syn-nodejs-puppeteer-5.1
syn-nodejs-puppeteer-6.0
syn-nodejs-puppeteer-6.1

Let's add them to the valid canary runtime versions and replace the old ones.

Pull request submitted:
https://github.com/cloudtools/troposphere/pull/2221

Fixed via #2221


unable to start Stable-Diffusion with V 2.0 (Automatic1111)

Hi,
I have tried several times to start the normal Automatic1111 UI but I am getting this error in the last cell "Start stable-diffusion":
LatentDiffusion: Running in v-prediction mode
DiffusionWrapper has 865.91 M params.
Downloading: 100% 3.94G/3.94G [01:35<00:00, 41.4MB/s]
^C

I deleted the "sd" folder, I even checked the "update repo" flied on the Automatic1111 instalation cell, and I also check the V2 field on the "Start stable-diffusion".
I did those steps on my main Colab account, and in a Collab backup account, and I got the same message.

Me too, my guess is not enough RAM to execute. If you look RAM goes up until it closes the aplication

yup, having this same issue from the Automatic1111 update as well

it requires (for now) more RAM than what free colab offers

same issue here and now even 1.5 model is not working.

same issue here and now even 1.5 model is not working.

don't save the colab in your gdrive, always use the link : https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

Closed, as there is an oficial temporary fix


Problems with Window Customing, the full screen Button is showed when the pointer is over

Description:
This is a minimal bug, occurs with the follow code:
public MainWindow()
{
    ExtendClientAreaToDecorationsHint = true;
    ExtendClientAreaTitleBarHeightHint = -1;

    TransparencyLevelHint = WindowTransparencyLevel.AcrylicBlur;
}

protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
{
     base.OnApplyTemplate(e);
     ExtendClientAreaChromeHints =
               ExtendClientAreaChromeHints.PreferSystemChrome |
               ExtendClientAreaChromeHints.OSXThickTitleBar;
}

To Reproduce
Steps to reproduce the behavior:

Go to the title bar buttons.
Put the cursor over next to the Minimize Button.
You should see a Color without some button.
Press it, the window is going to look like fullscreen.

Screenshots:

Desktop (please complete the following information):

OS: Windows 10 20H2
Avalonia 0.10.0-rc1

Was it fixed?

Was it fixed?