Fix issue with directPins scanner initialization

Noticed a bit of errors setting up a directPins split keyboard.
Fix an issue with initialization of directPins scanner, where it would default to matrix scanner on coordmapHelper.
Related issue - when coordMap was available the directPins scanner would not have "features" available.
Fix an issue with the keyMap being filled with "null" values if a layer had unmapped keys. Defaulting to KC.TRNS
Havent had the possibility to test if changes has any impact on matrix boards.

Btw, thanks for a nice tool.

oh wow thanks I ran into this issue recently but haven't figured out why it occurs as i had some troubles with the new circuit python 9 release.
I will test how it works with my matrix keyboards. also good catch with the KC.TRNS to KC.NO how do you even test for that.

Regarding the check for null, I made the check in the saveConfig. But in hindsight it may not be the best place to do the check ? Btw looking though the code I changed the check to fill in KC.TRNS instead, but maybe there should be KC.NO on layer 0 while all other layers have KC.TRNS. FYI my board is running circuit python 9.0.


fix: add tls 1.3 to pg supported versions

Review

@reviewer
Summary

Reason

Testing

Parallel PR: https://github.com/Kong/kong-ee/pull/2422


new.target

Supporting new.target usage informations would be nice.

Available at https://caniuse.com/#feat=mdn-javascript_operators_new_target


Remove PaC ConfigMap Prod

We now deploy PaC through the OSP operator, so the configuration is read from the TektonConfig CR. The change has been validated in Staging. CLEANUP: pipelines-as-code-secret-path.yaml was a leftover from a previous change and it was not used.

@gabemontero I had to bump the ref to the pipeline-service repo to include some changes from it. As a result I got in the kustomize build diff
-      - image: quay.io/redhat-appstudio/pipeline-service-exporter:fa818a591509e3da4d46aec5aadc904fd4daacf9
+      - image: quay.io/redhat-appstudio/pipeline-service-exporter:7c56cdd830d62b3dfe7b773a70344122deb82e34

If that's a problem in any way, please put this PR on hold and we can sync on how to proceed.

/lgtm

@gabemontero I had to bump the ref to the pipeline-service repo to include some changes from it. As a result I got in the kustomize build diff
-      - image: quay.io/redhat-appstudio/pipeline-service-exporter:fa818a591509e3da4d46aec5aadc904fd4daacf9
+      - image: quay.io/redhat-appstudio/pipeline-service-exporter:7c56cdd830d62b3dfe7b773a70344122deb82e34

If that's a problem in any way, please put this PR on hold and we can sync on how to proceed.

the 7c56cdd830d62b3dfe7b773a70344122deb82e34 tag is the more recent commit/sha  for the exporter and if  I read that diff right, it is moving prod to that i.e. it has the + sign
so that is OK
now, I just logged into staging and looked at the exporter pod, and ithappens to be at an even newer commit, namely 02edcf3b3a394611ae4c514ec689801bcf811836
does it make sense to you that prod is still slightly behind staging ?

@gabemontero I had to bump the ref to the pipeline-service repo to include some changes from it. As a result I got in the kustomize build diff
-      - image: quay.io/redhat-appstudio/pipeline-service-exporter:fa818a591509e3da4d46aec5aadc904fd4daacf9
+      - image: quay.io/redhat-appstudio/pipeline-service-exporter:7c56cdd830d62b3dfe7b773a70344122deb82e34

If that's a problem in any way, please put this PR on hold and we can sync on how to proceed.

the 7c56cdd830d62b3dfe7b773a70344122deb82e34 tag is the more recent commit/sha for the exporter and if I read that diff right, it is moving prod to that i.e. it has the + sign
so that is OK
now, I just logged into staging and looked at the exporter pod, and ithappens to be at an even newer commit, namely 02edcf3b3a394611ae4c514ec689801bcf811836
does it make sense to you that prod is still slightly behind staging ?

as we discussed at the end of standup this is expected since @enarha is by choice not bumping prod to the exact precise level as staging
7c56cdd830d62b3dfe7b773a70344122deb82e34 makes sense for the level he is taking prod to


Change the statistics Graphql Api

Removed core as an argument to the query. Also change to allow searching for multiple sources.
Provides statistics data by source/time/protocol.
Returns bps/pps/eps depending on the statistic's record type.

Close: #517

Codecov Report
Patch coverage is 74.78% of modified lines.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Files Changed
Coverage

src/graphql/statistics.rs
68.13%

src/graphql.rs
100.00%

src/ingest.rs
100.00%

src/storage.rs
100.00%

:loudspeaker: Thoughts on this report? Let us know!.


Call to undeclared dictation_peek

My warning log is filling up with
WARNING actions: skipped because they have no matching declaration: (user.dictation_peek)

What is causing this?

Could Talon be discarding the definition of dictation_peek as its typing is too complex?
def dictation_peek(left: bool, right: bool) -> tuple[Optional[str], Optional[str]]:

What Talon version are you using? I don't get that with the current Rust beta and I'm not having any issues with the definition.
% rg dictation_peek
plugin/talon_draft_window/draft_talon_helpers.py
77:    def dictation_peek(left, right):

core/text/text_and_dictation.py
388:            before, after = actions.user.dictation_peek(need_left, need_right)
399:    def dictation_peek(left: bool, right: bool) -> tuple[Optional[str], Optional[str]]:
411:        dictation_peek() is intended for use before inserting text, so it may

Also would recommend you restart Talon if you haven't — sometimes I find the cached declarations get confused with the autoreloader.

Something went wrong during my knausj upgrade, so dictation_peek was actually missing locally.


objective-c  Do not use pod  "Value for SWIFT_VERSION cannot be empty"

objective-c  Do not use pod, local import "Value for SWIFT_VERSION cannot be empty",
swfit language version change, The whole project error???

Not exactly sure what you mean.

Do not use pod 'JJFloatingActionButton' , but download the souce in the project,  Add the souce(JJFloatingActionButton) file to my project .....

Because you have to "use_frameworks!",My other third party reported an error

use_frameworks! is part of the cocoapods configuration.
When you integrate it without using cocoapods this shouldn't be an issue.

Still not sure what to do to reproduce this.
Could you upload an example project?

I will close this for now. Feel free to reopen it.


[RUM-4986] Decrease Batch Metrics sample rate by 10%

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

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

Project coverage is 69.98%. Comparing base (4a3bc9f) to head (93bf5c7).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2146      +/-   ##
===========================================
- Coverage    70.05%   69.98%   -0.06%
===========================================
  Files          726      726
  Lines        26995    26975      -20
  Branches      4524     4520       -4
===========================================
- Hits         18909    18878      -31
- Misses        6818     6828      +10
- Partials      1268     1269       +1

Files
Coverage Δ

...id/core/internal/metrics/BatchMetricsDispatcher.kt
98.65% <ø> (ø)

... and 34 files with indirect coverage changes


Delay when closing nvim when rust_analyzer is active

nvim --version:NVIM v0.5.0-nightly-83-ge78658348
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/tmp/neovim-20200611-6709-f95l5p/build/config -I/tmp/neovim-20200611-6709-f95l5p/src -I/usr/local/include -I/tmp/neovim-20200611-6709-f95l5p/deps-build/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/usr/local/opt/gettext/include -I/tmp/neovim-20200611-6709-f95l5p/build/src/nvim/auto -I/tmp/neovim-20200611-6709-f95l5p/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-e786583/share/nvim"

Run :checkhealth for more info

nvim-lsp version(commit hash): 94cce74
:checkhealth result

health#nvim_lsp#check
========================================================================
## Checking language server protocol configuration
  - INFO: rls: configuration checked.

health#nvim#check
========================================================================
## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: Release

## Remote Plugins
  - OK: Up to date

## terminal
  - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
  - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
  - INFO: $COLORTERM='truecolor'

## tmux
  - OK: escape-time: 0ms
  - INFO: $TERM: screen-256color
  - WARNING: Neither Tc nor RGB capability set. True colors are disabled. |'termguicolors'| won't work properly.
    - ADVICE:
      - Put this in your ~/.tmux.conf and replace XXX by your $TERM outside of tmux:
          set-option -sa terminal-overrides ',XXX:RGB'
      - For older tmux versions use this instead:
          set-option -ga terminal-overrides ',XXX:Tc'

health#provider#check
========================================================================
## Clipboard (optional)
  - OK: Clipboard tool found: pbcopy

## Python 2 provider (optional)
  - WARNING: No Python executable found that can `import neovim`. Using the first available executable for diagnostics.
  - ERROR: Python provider error:
    - ADVICE:
      - provider/pythonx: Could not load Python 2:
          /usr/bin/python2 does not have the "neovim" module. :help |provider-python|
          /usr/bin/python2.7 does not have the "neovim" module. :help |provider-python|
          python2.6 not found in search path or not executable.
          /usr/local/anaconda3/bin/python is Python 3.7 and cannot provide Python 2.
  - INFO: Executable: Not found

## Python 3 provider (optional)
  - WARNING: No Python executable found that can `import neovim`. Using the first available executable for diagnostics.
  - ERROR: Python provider error:
    - ADVICE:
      - provider/pythonx: Could not load Python 3:
          /usr/local/anaconda3/bin/python3 does not have the "neovim" module. :help |provider-python|
          python3.9 not found in search path or not executable.
          python3.8 not found in search path or not executable.
          /usr/local/anaconda3/bin/python3.7 does not have the "neovim" module. :help |provider-python|
          python3.6 not found in search path or not executable.
          python3.5 not found in search path or not executable.
          python3.4 not found in search path or not executable.
          python3.3 not found in search path or not executable.
          /usr/local/anaconda3/bin/python does not have the "neovim" module. :help |provider-python|
  - INFO: Executable: Not found

## Python virtualenv
  - OK: no $VIRTUAL_ENV

## Ruby provider (optional)
  - INFO: Ruby: ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
  - WARNING: `neovim-ruby-host` not found.
    - ADVICE:
      - Run `gem install neovim` to ensure the neovim RubyGem is installed.
      - Run `gem environment` to ensure the gem bin directory is in $PATH.
      - If you are using rvm/rbenv/chruby, try "rehashing".
      - See :help |g:ruby_host_prog| for non-standard gem installations.

## Node.js provider (optional)
  - INFO: Node.js: v14.3.0
  - WARNING: Missing "neovim" npm (or yarn) package.
    - ADVICE:
      - Run in shell: npm install -g neovim
      - Run in shell (if you use yarn): yarn global add neovim

## Perl provider (optional)
  - WARNING: `perl` and `cpanm` must be in $PATH.
    - ADVICE:
      - Install Perl and cpanminus and verify that `perl` and `cpanm` commands work.

What language server (if the problem is related to a specific language server): rust_analyzer
Operating system/version: macOS 10.15.5 (19F101)
Terminal name/version: alacritty 0.4.2 (f68de37)
$TERM: screen-256color

How to reproduce the problem from neovim startup
Install and configure nvim-lsp through nvim-plug by putting the following in init.vim:
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
  silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
    \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  au VimEnter * PlugInstall --sync | source $MYVIMRC
endif

call plug#begin('~/.local/share/nvim/plugged')
Plug 'neovim/nvim-lsp'
call plug#end()

lua << EOF
nvim_lsp = require'nvim_lsp'

nvim_lsp.rust_analyzer.setup {
    settings = {
        ['rust-analyzer'] = {
            completion = {
                addCallArgumentSnippets = false,
                addCallParenthesis = false,
            },
        },
    },
}
EOF

Open nvim, run :PlugInstall, and then close nvim and reopen it on a file in a Rust project, and then quit nvim with :q.
Actual behaviour
There is a delay of between 0.5-1s once :q is run, before nvim closes.
Expected behaviour
nvim closes instantaneously.

Wow, I have the same delay with the pyls

I think it's because it waits for the language server to quit gracefully. But after X time, Neovim quits anyway. I remember the being some discussions about this in the neovim repo. Unfortunately, I can't find it at the moment.

That definitely seems to be related to the problem. If I run :lua vim.lsp.stop_client(vim.lsp.get_active_clients()), then :q causes nvim to quit instantaneously.
Interestingly, though, that works even if I run :q as soon as possible after the first command, within the amount of time that delay mentioned above causes. That suggests to me that nvim-lsp might not actually be asking the client to stop when I run :q, or that rust_analyzer isn't correctly reporting that it's stopped.

Okay, this is only getting weirder. Running :lua vim.lsp.stop_client(vim.lsp.get_active_clients()) one time doesn't actually seem to stop the client - I can still get errors in the buffer and completions once I run that. Only running it a second time causes the client to stop. But just running that command a single time causes nvim to exit instantaneously. Is there perhaps a duplicate client instance being started?

Is suppose you have both rust-analyzer and rls running? Check with ps.

There's definitely only one client, it turns out:

:lua print(#vim.lsp.get_active_clients()) prints 1
:lua print(vim.inspect(vim.lsp.get_active_clients()[1])) prints the client, but [2] is nil

But:

Running :lua vim.lsp.get_active_clients()[1].stop() the first time does not stop the client, and allows nvim to then exit instantaneously.

After this call, :lua print(vim.lsp.get_active_clients()[1].is_stopped()) still prints false

Running :lua vim.lsp.get_active_clients()[1].stop() the second time does actually stop the client.

After this call, :lua print(vim.lsp.get_active_clients()[1].is_stopped()) errors because vim.lsp.get_active_clients()[1] is nil.

Nope:
:!ps | grep rust-analyzer
83212 ttys002    0:25.42 rust-analyzer

:!ps | grep rls

shell returned 1

This issue should probably be taken to the neovim repo since this is just a repo for various configurations, and not the client itself.

Understood, sorry about that - I'll file one there and link to this.


Improve the UX of file preview details

What's the Problem?
Currently, right clicking on the preview to enable/disable details view is very confusing, so that I thought that the details view was the only available option
Solution/Idea
This has to be filled, since I couldn't come with a good ux, just pointing out that the actual one is pretty bad and limited.
It should be intuitive to understand that there are two different layouts and a seamless switch between the two views should be present
Alternatives
None
Priorities

Capability
Priority

This proposal will allow end users to accomplish X
Should

Files Version
Version: <IP_ADDRESS>
Windows Version
Windows 11 21H2 10.0.22000.348
Additional comment
No response

@MarcAnt01 do you think putting the details in an expander would improve discoverability?

I think an expander is too invasive, what something like this in Explorer (even if it has a different function and is not touch friendly)?

@MarcAnt01 this issue should be resolved in the latest preview build https://files.community/download.


USB Control

Opening PR mainly so you can see progress.
Note: useable draft here, but PoE Interface is untested and many multistage commands are in the process of being implemented.
Let's not merge yet until we test the PoE stuff unless we are ok with just popping in a useable draft into main.
AFAIK, this is mergeable if we just need USB working.
Quickstart
from newscale.stages import USBXYZStage

stage = USBXYZStage('/dev/ttyUSB0')
stage.move_absolute(x=5,y=10, z=15)  # movements are in mm (floats)

The above code was tested and should work. Try it in the examples folder.
The Generic Interface Problem
I solved this with Polymorphism.
An M3LinearSmartStage object communicates through a generic Interface object to communicate with the hardware.
Interface is a generic base class for the specific kind of interface (Serial, PoE, custom) that the stage is using to communicate. Under the hood these child classes basically do slightly different things when they implement the self.send and self.read functions.
The nice thing about this is that we can stack these stages in real life--and they could be using totally different interfaces!
from newscale.stages import M3LinearSmartStage, MultiStage
from newscale.interfaces import SerialInterface, PoEInterface

ser_interface = SerialInterface(port='/dev/ttyUSB0')
x_stage = M3LinearSmartStage(ser_interface, "01")
y_stage = M3LinearSmartStage(ser_interface, "02")
z_stage = M3LinearSmartStage(ser_interface, "03")

poe_interface = PoEInterface(address="<IP_ADDRESS>.10")
u_stage = M3LinearSmartStage(poe_interface, "01")

multistage = MultiStage(x=x_stage, y=y_stage, z=z_stage, u=u_stage)
multistage.move_absolute(x=2.5, y=5, z=7.5, u=10)  # Heck Yeah!

I can see the above being useful if we add an extra degree of freedom to a 3-axis stage to do something like position 2 lick spouts and position the spacing between them.
Conveniences
I made some "convenience" functions so you don't have to mess with all this generic interface stuff if you just have a 3-axis stage and an interface and want to get up and running quickly. For that, use USBXYZInterface or PoEXYZStage
Extensions
If we want to spin a custom PCB that talks to "N" stages, all we would need to do is make another child class that inherits from Interface and implement the read and send functions.
Debugging
This library uses logging under the hood. Each class has an instance-level logger from which you can pull debug messages.
To conform with python library logging standards, there are no handlers, so you must add them yourself. A quick-and-dirty way to print logs for debugging is to add this to the top of your script where your import statements live:
import logging
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)

# The rest of your code

please add "bitstream" module to list of requirements. and let me know when the poe interface is ready to test, preferable with a new script in examples/

please add "bitstream" module to list of requirements. and let me know when the poe interface is ready to test, preferable with a new script in examples/

Done! (actually added bitstring.)

i just added your datasheets to our new Documentation page on aind.tech:
https://aind.tech/docs
the URL's should be static, feel free to link to these in the README, then remove the PDFs from the repo please.

i just added your datasheets to our new Documentation page on aind.tech:
https://aind.tech/docs
the URL's should be static, feel free to link to these in the README, then remove the PDFs from the repo please.

Woot--thanks tremendously! I'm just worried about having vendor links change on us. These are now linked in the readme from both the vendor and us.

Thanks for digging through the details. I think this is ready to go when you get back.
I would also totally encourage you to take the docs for a test drive. I littered them with a ton of examples, so folks don't have to read too much unless they want to. (Bonus: I can now forget all those weird Newscale nuances I had to learn to get this stuff working.)
Sphinx is now also a project dependency, so you can pip install -e . again and then head over to the docs folder and type make html to get the docs. Long term, it would be great to pop them online.

Thanks for digging through the details. I think this is ready to go when you get back.
I would also totally encourage you to take the docs for a test drive. I littered them with a ton of examples, so folks don't have to read too much unless they want to. (Bonus: I can now forget all those weird Newscale nuances I had to learn to get this stuff working.) Sphinx is now also a project dependency, so you can pip install -e . again and then head over to the docs folder and type make html to get the docs. Long term, it would be great to pop them online.

i tried it, it works and it looks good! i did have to manually "pip install Sphinx" because it was listed as an optional dependency (which it should be). maybe put something in the docs/readme.md explaining how to install optional deps (i actually don't know which command it is).
also, this PR isn't about documentation so i don't see any reason to hold things up on account of that, but: to me, the most useful documentation of a class or function is if i can run help(functionName) in the interpreter and get the docstring which lists example usage. this is usually all i need and it's a lot quicker than thinking about optional arguments and keywords, and all the polymorphism possibilities. so if you're going to invest more time in documenting this library, i would start with that.


Issue - loading cryptos such as BTC-USD result in returning NaN.

Yes. The issue also applies to currencies like 'EURUSD=X' , certain indices like'^STOXX50E', symbols from non-US exchanges, like 'IS0L.DE'

Check you are running latest version, then provide code that reproduces error because I don't see error.

@ValueRaider , it just started working. I did updated and checked. It wasn't working.
(pandas) jxs@jxs-MacBook-Pro-M1 quant % pip show yfinance
Name: yfinance
Version: 0.1.79

Were you using old version?

Were you using old version?

(pandas) jxs@jxs-MacBook-Pro-M1 quant % pip show yfinance
Name: yfinance
Version: 0.1.79
No, I wasn't. I updated then restarted.

Still not working, even on latest version.
Here's the code and output:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import math
import warnings
warnings.filterwarnings("ignore")
fix_yahoo_finance is used to fetch data
import yfinance as yf
yf.pdr_override()
symbols = ['^GSPC','^STOXX50E','^RUT']
start = '2018-01-01'
end = '2022-12-30'
df = pd.DataFrame()
for s in symbols:
df[s] = yf.download(s,start,end)['Adj Close']
df.head()
#OUTPUT
^GSPC	^STOXX50E	^RUT
Date
2018-01-02 00:00:00-05:00	2695.810059	NaN	1550.010010
2018-01-03 00:00:00-05:00	2713.060059	NaN	1552.579956
2018-01-04 00:00:00-05:00	2723.989990	NaN	1555.719971
2018-01-05 00:00:00-05:00	2743.149902	NaN	1560.010010
2018-01-08 00:00:00-05:00	2747.709961	NaN	1561.810059
df.tail()
#OUTPUT
^GSPC	^STOXX50E	^RUT
Date
2022-10-17 00:00:00-04:00	3677.949951	NaN	1735.750000
2022-10-18 00:00:00-04:00	3719.979980	NaN	1755.959961
2022-10-19 00:00:00-04:00	3695.159912	NaN	1725.760010
2022-10-20 00:00:00-04:00	3665.780029	NaN	1704.390015
2022-10-21 00:00:00-04:00	3752.750000	NaN	1742.239990

Oh I see the issue now. You can workaround immediately by just doing:
df = yf.download(symbols, start, end)['Adj Close']

Oh I see the issue now. You can workaround immediately by just doing:
df = yf.download(symbols, start, end)['Adj Close']

Awesome! Thank you


Error values from TS0221_plug

I have this EU plug https://www.zigbee2mqtt.io/devices/TS0121_plug.html#tuya-ts0121_plug
This plug gives 2 messages right after each other. From Z2M is only 1 message, the first.
The first message changes when power changes, the second message is always 20 Watts.
2021-04-01 14:12:21.278  Status: dzVents: Info: Handling events for: "3D-Printer kWh Meter", value: "12;10752.4"
2021-04-01 14:12:21.485  Status: dzVents: Info: Handling events for: "3D-Printer kWh Meter", value: "20;10752.4"
Additional information
Zigbee2MQTT version 1.18.1-dev commit: ddbfa02
Coordinator type zStack3x0
Coordinator revision 20210120
Frontend version 0.3.113
Plugin version: 3.0.0 (the latest)
P.S. Found out that a have a second device with almost the same issue, this time is the second wattage 30 Watts.

Found the cause: It is all about the "power_outage_memory"
If that is set to "On" the second message is 10 Watts, if set to "Off" 20 Watts and set to "Restore" it is 30 Watts.
I think it is about "power" and "power_outage_memory", so I think it can be easily solved.
I don't know how, but hope that somebody can do that.

An other thing I noticed is that the "power_outage_memory" is defined as an On/Off switch
This plug should be a selector switch as seen here. I sthat the reason this this device is not created?

After a lot fiddling around, I suddenly do not got the "power_outage_memory" message from 1 device anymore, and instantly my power consumption device in Domoticz work as it should. 2 Other device still have that message and don't work as expected.

After a lot of removing and including the last problematic device I got that working too.
I noticed that "power_outage_memory" is not included in the mqtt messages anymore.
Previous there was NO "energy" in the mqtt message, and now it is.
I cannot find out what changed the device for putting out "energy" and NOT "power_outage_memory", but that's the configuration that works, hopefully forever.


Some types of blocks remain invisible on a client connected to a server (client restart may fix)

For a few play tests now we have noticed quirky issues where a block appears to exist in a spot on a server as when you try to walk into that space you get bounced back. It seems the client is disagreeing with the serer on whether or not there is something there, so you can somewhat start walking into the space but then the server bumps you.
It seems to happen to non-basic blocks the most, or exclusively. One example is running with GooeysQuests active and having Gooey spawn some Dwarf Halls. The entrance door has some decorative slabs and staircase blocks on the outside, which may at first appear invisible to clients, while the regular full blocks are fine.
Exact reproduction and consistency is tricky. It may only happen to some clients but not others. I think in one case it only happened for the first client that connected, while the second was fine. Reconnecting may not work every time or at all. Restarting the game entirely or just keeping at it eventually seems to make the blocks go visible again.
Also appears to happen with some blocks requested from the game console, likely either "fancy" blocks or those that have not yet been present in the world.
Likely not easy to address, not super critical but rather annoying.

I haven't tried reproducing this, but it seems likely to be related to #3491: if some blocks aren't used by the time the client connects (e.g. they're only used in dwarf halls, none of which exist yet), it may be failing to register properly on the client. There seems to already be a system for dealing with this case (BlockManagerImpl.receiveFamilyRegistration), so perhaps that's not working correctly.

Linking this to #2467 just for reference on a bunch of thoughts on related renovation in the block-space - that PR is old and now closed but might be good to review when considering improvements that may help resolve this issue.


[Bug] EMI 1.1.4 Fabric/Quilt - Crafting to inventory / crafting recipe inputted from EMI causes stack trace

Not a crash log, but it contains the error.
When trying to craft using EMI, and either crafting all or just one to your inventory, it causes a stack trace and the recipe to not be crafted.
If you at this stage click the item to craft it, the game also crashes.

I edited the title because it turns out that even if you do not craft to inventory, even just clicking the recipe and taking out the item from the inputted recipe causes the game to crash.

Actually actually, simply crafting in your inventory causes the same stack trace and the game to crash. I tried converting 16 coal blocks into coal, and when picking up the first 9 coal the game crashed.

Actually, for real this time, it's all crafting.


Moderation

A cursory glance didn't reveal any hints as to how moderation is planned to be implemented. Is this a planned feature? If not, is it at least an idea compatible with your model?

It's planned :+1:
The administrator decides how moderation works in a board. He can choose to have blacklists and allow anyone to post, only allow people from a whitelist, manually approve everything, allow everything and any possible combination of these.
Then, he can also nominate moderators, but they can only approve content.
Only a small fraction of these feature is currently implemented, but they are all planned :+1:


touch sensor proof of concept

Just for the sake of having it. Not clear whether or not we're using it in our final design yet.


Static binary for release

Release with CGO_ENABLED=0 for a static build. Seems to work.

Hey @tomberek, not sure I'm understanding correctly. The current release (v0.4.0) is static binaries build with CGO_ENABLED=0, as per the build scripts here:
https://github.com/boringproxy/boringproxy/blob/7034cb8671390537449adffe4a4be69b60b7f387/scripts/build_arch.sh
It's possible I messed up the built process though. What are you seeing?

okay, i was just doing go get/go install


Support for sub-channels or composition of channels

Hi, thanks for your work on this library!
I am trying to use the mdfWriter for logging raw CAN bus dataframes. I am basing the structure of the MDF file off of the structure from a CSS CANEdge2, which has a structure channel called CAN_DataFrame. This seems to be controlled by ASAM MDF associated standard for Bus Logging.

I havent been able to figure out how to create sub-channels. Is this feature currently available?

Simply No. The current writer is intended to produce standard measurement files where the signals (channels) belongs to a channel group. The reader handle both CAN log files as well as other types of MDF files. It's a lot of if statements but so far it reads most of the files.
When doing a writer, these if statements must be replaced by user settings which might be a challenge for the user. Instead the plan is to let the user select a type of writer. The current plan is to do a Bus Logger Writer where the user associate a channel group with a message ID and the internal software fix the rest.
There exist a project in the GitHub repository with task/requirements "Developing MDF applications and libraries/Requirement Bus Logger MDF writer.  I will add you as a writer to this project. There exist some ASAM MDF standard how to do a bus logger.
This above might be difficult to understand so if you want we may have a Teams meeting or similar.
Best regards
Ingemar Hedvall

Just a note on CANEdge
The CSS Electronics (CANEdge loggers) stores the raw CAN messages in a so-called VLSD (Variable Length Signal Data) channel group. The purpose is that the logger can append messages to the end of the file as they come. The disadvantage is that the file is un-finalized, so the reader must finalize the MDF file first and then parse it. Note that not many third-party reader/viewer can handle this.

Some more details of our process
We use the CCS CANEdge as a 'black box' logger that records raw CAN dataframes for vehicles we build. If there is an issue with a vehicle that can be resolved through 'telematics' data then we grab the data from the CANEdge. We need to finalized the files, and modify the CAN_DataFrame.ID channel so it can be read by CANalyzer v11 for anaylsis (Vector tools expect the 31st bit of the ID channel to be populated with an 'extended ID' bit, this is against the MDF standard which is why CSS doesnt do it). Newer versions can read CSS files (CANalyzer V15 and newer). This process can be tedious. So I am working on getting our 'Telematics' unit (linux microcontroller) to be a logger. This unit will not need to create files using VLSD, since it will not experience power loss on vehicle shutdown (internal battery). Our CAN bus does not currently include CAN FD. Not many off the shelf components we deal with support CAN FD for regular communication (some do for flashing FW only). Hope this adds some useful context.
A teams meeting would be great. I am free most days and am located in Colorado, USA. Please send an invite<EMAIL_ADDRESS>

I have added support for composition channels and bus logging.There are some new unit test that show how to use the new features.


ERROR: Unknown command [lmenezes/elasticsearch-kopf]

My elasticsearch work fine, but when i install the plugin, just show me error!
landpacks-MacBook-Pro:bin frank$ which elasticsearch-plugin
/usr/local/bin/elasticsearch-plugin
landpacks-MacBook-Pro:bin frank$ elasticsearch-plugin lmenezes/elasticsearch-kopf
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command

Option         Description
------         -----------
-h, --help     show help
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Unknown command [lmenezes/elasticsearch-kopf]

Anyone have meet this?

As the error is telling you, you've not used a keyword, presumably in this case you want "install"?

I have tried a variety of possible spelling, still can not follow. I miss install just when a put code here..sorry! I have try again still given me error
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command

Option         Description
------         -----------
-h, --help     show help
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Unknown plugin lmenezes/elasticsearch-kopf

Have you read the readme.md? You haven't included a version or branch.

I have try again with branch/version still no found the plugin ~~
elasticsearch-plugin install 'lmenezes/elasticsearch-kopf/2.0|v2.1.1'
elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.0_v2.1.1
elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.0/v2.1.1
elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.0v2.1.1

Show me the same error ~

It's branch OR version number, not both ☺
E.g.
-kopf/master
-kopf/2.0
-kopf/2.1.1

I have check the install script, and got a url , i try to ping it but show me Unknown host, it's the reason?
landpacks-MacBook-Pro:code frank$ org.elasticsearch.plugins.PluginCli
-bash: org.elasticsearch.plugins.PluginCli: command not found
landpacks-MacBook-Pro:code frank$ ping org.elasticsearch.plugins.PluginCli
ping: cannot resolve org.elasticsearch.plugins.PluginCli: Unknown host
landpacks-MacBook-Pro:code frank$ ping org.elasticsearch.plugins
ping: cannot resolve org.elasticsearch.plugins: Unknown host
landpacks-MacBook-Pro:code frank$ ping org.elasticsearch
ping: cannot resolve org.elasticsearch: Unknown host
landpacks-MacBook-Pro:code frank$

I also try the you way with:
landpacks-MacBook-Pro:code frank$ elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.4.1
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command

Option         Description
------         -----------
-h, --help     show help
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Unknown plugin lmenezes/elasticsearch-kopf/2.4.1
landpacks-MacBook-Pro:code frank$ elasticsearch-plugin install lmenezes/elasticsearch-kopf/master
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command

Option         Description
------         -----------
-h, --help     show help
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Unknown plugin lmenezes/elasticsearch-kopf/master
landpacks-MacBook-Pro:code frank$ elasticsearch-plugin install lmenezes/elasticsearch-kopf/2.0
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command

Option         Description
------         -----------
-h, --help     show help
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Unknown plugin lmenezes/elasticsearch-kopf/2.0
landpacks-MacBook-Pro:code frank$

Anyway! Thank you for you response ~

Hmmm if you can't reach the server, that probably explains why none of the plugin names appear valid. Are you behind a corporate proxy/firewall?
If so you should be able to download the release zip file you want manually from github and expand it into the directory on the elastic search server. I can't remember the exact for it has to go into as it's a while since I've used pre 5.x elastic but it should be fairly easy to Google manual plugin installation

Strange, i can install x-pack
landpacks-MacBook-Pro:code frank$ elasticsearch-plugin install x-pack
-> Downloading x-pack from elastic
[====>                                            ] 10%

What version of elastic search is this?

Hey! I installed the elasticsearch on my Mac by brew, current version show as below:
landpacks-MacBook-Pro:bin frank$ elasticsearch -version
Version: 5.6.3, Build: 1a2f265/2017-10-06T20:33:39.012Z, JVM: 1.8.0_31

Ah that makes sense, site plugins have been removed from es 5.x if you look at the readme you'll have to use a run locally method or switch to cerebro 🙂

Okay! Is there any plugin replace kopf ?

Try cerebro
On 28 Nov 2017, at 12:45, Frank AK <notifications<EMAIL_ADDRESS>wrote:
Okay! Is there any plugin replace kopf ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/lmenezes/elasticsearch-kopf/issues/400#issuecomment-347512693, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVfumLQwV0g-Td6jOvK40bQpKBk9xfmAks5s7AB9gaJpZM4Qpfym.


Not working, selects all files

So I just ran a dry run and it selected everything. Then I tried it with the test files included in this repo and it did the same. Am I doing something wrong?
./rtorrent_cleanup.py  ./tests/testenv_template/workingdir/ ./tests/testenv_template/downloaddir/ --dry --debug

debug_flag=True
dryrun_flag=True
rtorrent_working_dir=./tests/testenv_template/workingdir/
rtorrent_download_dirs=['./tests/testenv_template/downloaddir/']
found 2 downloaded files
found 2 rtorrent files
single-file torrent: {{pathtotestenv}}/downloaddir/file1.txt
multi-file torrent: {{pathtotestenv}}/downloaddir/directory1
found 2 files that were referenced
found 2 files that were not referenced
deleting all unreferenced files will free up 16B of storage
Not referenced files:
./tests/testenv_template/downloaddir/directory1
./tests/testenv_template/downloaddir/file1.txt

It sees the 2 files, but seems to think they are both referenced and not referenced.
When I don't do a dry run it deletes directory1 and file1.txt
Running the script on Debian 8.8, and Python 2.7.9

The test files don't work like that, because they are intended to be run with nosetests (a test framework for python). The paths in the torrent files include a {{pathtotestenv}} which is replaced by nosetests when the tests are run. Running it like that doesn't work, because the script just takes the paths as they are.
On the one hand, it seems you are using the script correctly and it shouldn't "select everything" when there are files that are referenced in rtorrent. On the other hand, when the script marks all files for deletion, it really sounds like the script gets the wrong path.
I recently had a problem with weird drive setups (session directory on an internal drive, download directory on an external drive), which should be fixed, but maybe you have some setup where the script messes up the paths?

Hmm, well one thing that might be different is that both the session and download directories are located inside Docker containers, and are mounted onto the host machine, where I'm running this script. I can't run it inside the container as it doesn't have Python installed. Could that be it?

Hmm, well one thing that might be different is that both the session and download directories are located inside Docker containers, and are mounted onto the host machine, where I'm running this script. I can't run it inside the container as it doesn't have Python installed. Could that be it?

Yes, I think so. The script reads the paths from the torrent files in the session directory. In your case I imagine that they contain the "internal" (non-mounted) docker paths. If you mount both directories and give the script the mounted paths, the script (working outside of the docker container) comes to the conclusion, that none of the files are referenced by rtorrent, since all torrents in rtorrent have the path "/inside/docker/container" while the download directories are "/outside/docker/container". Nothing matches up, everything is marked for deletion.
I don't really have a good idea to handle such a case. The best solution I can think of is giving an error that says that there are no matching paths and showing the different paths so that it will be obvious to the user what is going on.
A solution for you would be to run the script inside the docker container and to give it the "internal" session and download directory paths. That should work.

aaaah, yes that must be it. I can't run the script inside the container as it doesn't have Python installed. But I'm going to mount the files in the same location on the host as they are in the container and see how I go.


Cannot add additional audiences to self-contained access tokens

Steps to reproduce,

Created a SP and configured OAuth/OIDC as an Inbound Authentication config
Enabled Audience restriction and added an audience value
Changed the token issue from default to JWT

Also related to: https://github.com/wso2/product-is/issues/3718


Use PBKDF2 for password hashing instead of SHA-256

Update hashPassword function on the user service to use PBKDF2 for password hashing.
https://github.com/udibo/oauth2_server/blob/main/services/user.ts
I wrote a function for generating salt in the example. It should be moved to the user service so that it's more reusable like the hashPassword function is.
https://github.com/udibo/oauth2_server/blob/main/examples/oak-localstorage/services/user.ts#L4
To be determined, what options should hashPassword have configurable.
Notes:
https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveBits#pbkdf2
import { encode as encodeHex } from<EMAIL_ADDRESS>
function generateSalt(): Uint8Array {
  return window.crypto.getRandomValues(new Uint8Array(16));
}

/*
Get some key material to use as input to the deriveBits method.
The key material is a password supplied by the user.
*/
function getKeyMaterial(password: string) {
  const enc = new TextEncoder();
  return window.crypto.subtle.importKey(
    "raw",
    enc.encode(password),
    "PBKDF2",
    false,
    ["deriveBits", "deriveKey"],
  );
}

/*
Derive some bits from a password supplied by the user.
*/
async function getDerivedBits(
  password: string,
  salt: Uint8Array,
): Promise<[Uint8Array, number]> {
  const keyMaterial = await getKeyMaterial(password);
  const derivedBits = await window.crypto.subtle.deriveBits(
    {
      "name": "PBKDF2",
      salt,
      "iterations": 100000,
      "hash": "SHA-256",
    },
    keyMaterial,
    256,
  );

  const buffer = new Uint8Array(derivedBits, 0, 32);
  return [buffer, derivedBits.byteLength];
}

const salt = generateSalt();
const saltText = (new TextDecoder()).decode(encodeHex(salt));
console.log("salt: ", saltText);

const [buffer, length] = await getDerivedBits("hunter2", salt);
console.log(buffer);
console.log(length);
const hashed = (new TextDecoder()).decode(encodeHex(new Uint8Array(buffer)));
console.log(hashed);

// current SHA-256 hashPassword function
async function hashPassword(password: string, salt?: string): Promise<string> {
  const data = (new TextEncoder()).encode(
    password + (salt ? `:${salt}` : ""),
  );
  const buffer = await crypto.subtle.digest("SHA-256", data);
  return (new TextDecoder()).decode(encodeHex(new Uint8Array(buffer)));
}
console.log(await hashPassword("hunter2", saltText));

Here is an example using deriveKey instead of deriveBits.
https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveKey#pbkdf2_2
Here is an issue on deno tracking supported algorithms.
https://github.com/denoland/deno/issues/11690


rationale for retiring this repo?

What is the rationale for retiring this repo? I found the great tool to have inline graphviz diagrams via this repo. I would never have found it without a central repository of useful tools.  I wanted to contribute back a D2 patch for it, but now, where would I submit it? Should I fork lua-filters? Should I make a standalone? How will we keep things organized?
Centralized package repos has proven itself to be best practice, so why move away from that? What other project has done this and it was a clear win for the community?

See #207. There will still be a central place in an org where repos are organized and probably an index of them as well, but the actual work maintaining the code is hard is a single repository. The new layout will help code owners and enable other interested parties to have permissions and keeep up with things in their wheel house.


FE changes to add/remove User/Groups to/from Roles

Is your feature request related to a problem? Please describe.
Currently, the API supports adding users and groups to roles however in the frontend we don't have a way to do it.
Describe the solution you'd like
In the management option of the top bar, when the admin goes to the members tab, we should display a roles sub-tab,
When an admin edits a role, a modal is shown, and in the first tab, where the name and description of the role are shown, we need to allow the admin to add and remove users and/or groups to the role.
Additional context
Initially, the ability to add and remove users/groups will reside only on the roles sub-tab of the members tab, in the screen shown when an admin clicks on the Management top menu option

I think this is fine for now, but might get a bit cluttered for larger teams. We may need to rethink it at that point but, for the initial release, I think this is fine.

We'll also need to implement the functionality from the other side - adding roles directly to a user or a group.

The above designs show how we would add roles to users and groups

@novakzaballa @dabeeeenster I think this might need a bit more thought from a design perspective. Can you guys organise?

@dabeeeenster new designs show how we would add users to roles and manage roles in project and environment

@novakzaballa are these pushed to the PR? Can you link this issue to the PR too?

@dabeeeenster this is the PR: https://github.com/Flagsmith/flagsmith/pull/2791

This issue was closed but I believe the "show_role_management" feature should be enabled?


Update ODIS to use backup full nodes

The ODIS signer and combiner currently have no logic for configuring a full node as backup that will automatically be used whenever there is a persistent issue with the primary full node.
Currently, ODIS operators need to manually reconfigure their full node provider to point to a new URL in order to use a backup full node.
Because nearly all ODIS signers and the combiner are using Forno as their primary full node, a Forno outage would currently take down the entire system until a majority of signers could reconfigure

won't do


Update: OpenMPT.OpenMPT version <IP_ADDRESS>

null
Microsoft Reviewers: Open in CodeFlow

@wingetbot run


copy PartialEq impl from F32x4 for F32x2

See https://github.com/servo/pathfinder/issues/545

Thanks!


Plugin reloading multiple times

Hi @benr77,
While configuring the Gitlab token the plugin is automatically reloaded for each character changed, this creates a new icon and a new refresh request for each reload.
Below is a screenshot with the icon added each reload.

Regards,
Frans

Great stuff thanks


SLD 1.1.0 false schema Output -> for element Title

Describe the bug
Testing the Demo Version I found found false SLD 1.1.0 Output
To Reproduce
Output via Geostyler:
<UserStyle>
	<se:Name>Kegelrobbe_K_Means</se:Name>
	<se:Title>Kegelrobbe_K_Means</se:Title>
	<se:FeatureTypeStyle>

Expected behavior
<UserStyle>
	<se:Name>Kegelrobbe_K_Means</se:Name>
	  <se:Description>
		<se:Title>Kegelrobbe_K_Means</se:Title>
		<se:Abstract>K-Means Algorithmus Berechnung der Kegelrobbenverteilung</se:Abstract>
	   </se:Description>
	<se:FeatureTypeStyle>

The Abstract element is additional included

Thanks for the info @Michael-81. I will transfer this ticket to geostyler-sld-parser.


Fix PostgresDecodable inference for RawRepresentable enums

The function in extension responsible for making PostgresDecodable work with RawRepresentable, was not marked as public.
I added an integration test to make sure this now functions as expected.
I also removed the @testable in the IntegrationsTests since it wasn't needed and it would also manipulate Codable behaviors. If there is an internal extension for Codable, @testable makes it so the tests will use that while the public will not be able to use that, which will either result in unexpected compile errors for users, or different behavior in test vs what users see.

Looks fine to me, but I defer to @fabianfett in case this wasn't accidental.


Detect dune projects

Hi !
This PR adds detection of dune-project files and parse them using Sexplib.
This is usefull in a follow-up PR to detect if OCamlformat is vendored, to avoid installing it from Opam or failing on the version check.
Sexplib was already an indirect dependency. I choose to parse dune-project files instead of just looking at .opam files because we may need other fields in the future (eg. dune's version for formatting).
Thanks !

It's difficult to justify merging this independently of #78, as it is dead code currently. Without a way to exercise this code path (and no tests), I'd rather merge this diff along with a corresponding feature when I have more assurance that it works in practice.

That makes sense. I split the PRs because I feel like this one may evolve a bit during reviews (eg. why parsing dune-project if we have the opam files).
I think I can reverse the dependencies between the PRs, implementing #78 differently and improving it in this PR?
The list of detected project is logged (is it too verbose?). To test this, is there an example repo used as a test ?

I rebased this PR on top of #78. The detected projects are used to detect if OCamlformat is vendored instead of looking at opam files.
This PR now makes sense on its own and is optional.

Closing this as we decided to go a different route with vendored OCamlformat in https://github.com/ocurrent/ocaml-ci/pull/78 that is more inline with other analysis steps being performed
If we ever need to parse dune-project files for other reasons (like installing appropriate OCamlformat versions), this will form a good starting point :slightly_smiling_face:


Stress test configuration 3

all test projects
test project configuration

Test bugfixes and other changes, introduced after: 3f049d2095e47d9d57ef6843401d8e850fb80284

Maybe we should use always the same name for the RMiner jar file, so that we don’t have to change in many places when we update it? And we can write its version somewhere else.

That would be great, we could also use a regex to detect in the folder.


Building on macOS Sierra

No trouble building on Debian, but I'm getting the below while trying to build on macOS Sierra 10.12 Beta (16A294a):
:hivemind jason$ make
Making all in src
  CXXLD    libhivemindconsensus.la
Undefined symbols for architecture x86_64:
  "eccrypto::CheckSignatureElement(unsigned char const*, int, bool)", referenced from:
      CheckSignatureEncoding(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&, unsigned int, ScriptError_t*) in libhivemindconsensus_la-interpreter.o
  "CECKey::Verify(uint256 const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&)", referenced from:
      CPubKey::Verify(uint256 const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&) const in libhivemindconsensus_la-pubkey.o
  "CECKey::CECKey()", referenced from:
      CPubKey::Verify(uint256 const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&) const in libhivemindconsensus_la-pubkey.o
  "CECKey::SetPubKey(unsigned char const*, unsigned long)", referenced from:
      CPubKey::Verify(uint256 const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&) const in libhivemindconsensus_la-pubkey.o
  "CECKey::~CECKey()", referenced from:
      CPubKey::Verify(uint256 const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&) const in libhivemindconsensus_la-pubkey.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libhivemindconsensus.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Any ideas?

Got it building – was not an issue with the project. (I basically removed all the dependencies, and went through these steps again.)
For anyone finding this in the future, be sure to check the bitcoin/bitcoin macOS instructions for hints too.

One additional thing to try – I have the CPPFLAGS environment variable set in my ~/.bash_profile to:
export CPPFLAGS="-I/usr/local/opt/openssl/include -I/usr/local/opt/qt5/include"

Which solved an issue I had before when trying to build with software versions installed by brew.


Setting TWISTED_REACTOR in Linux

We are writing a spider that uses this plugin and need to have the TWISTED_REACTOR setting value be twisted.internet.asyncioreactor.AsyncioSelectorReactor. Once we upgraded to Scrapy 2.6.0, setting this via the spider's custom_settings worked when running in local dev environment macOS Big Sur version 11.6. However, in our production Linux environment, using the same code, we get an error:
Traceback (most recent call last):
  ...
  File "/usr/local/lib/python3.7/dist-packages/scrapy/crawler.py", line 205, in crawl
    crawler = self.create_crawler(crawler_or_spidercls)
  File "/usr/local/lib/python3.7/dist-packages/scrapy/crawler.py", line 238, in create_crawler
    return self._create_crawler(crawler_or_spidercls)
  File "/usr/local/lib/python3.7/dist-packages/scrapy/crawler.py", line 243, in _create_crawler
    return Crawler(spidercls, self.settings)
  File "/usr/local/lib/python3.7/dist-packages/scrapy/crawler.py", line 85, in __init__
    verify_installed_reactor(reactor_class)
  File "/usr/local/lib/python3.7/dist-packages/scrapy/utils/reactor.py", line 90, in verify_installed_reactor
    raise Exception(msg)
Exception: The installed reactor (twisted.internet.epollreactor.EPollReactor) does not match the requested one (twisted.internet.asyncioreactor.AsyncioSelectorReactor)

The Linux environment is:
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Is this difference in behavior expected? Are there any suggested fixes? We'd like to use this plugin for our use of the API but using the twisted.internet.asyncioreactor.AsyncioSelectorReactor has proven difficult.
For reference, this is how we are running the spiders:
from scrapy import spiderloader
from scrapy.crawler import CrawlerRunner
from scrapy.utils.project import get_project_settings
from twisted.internet import reactor

def crawl(spider_name):
    # Load project settings
    project_settings = get_project_settings()

    # Load spider
    spider_loader = spiderloader.SpiderLoader.from_settings(project_settings)
    spider = spider_loader.load(spider_name)

    # Create the crawler runner
    runner = CrawlerRunner(project_settings)
    runner.crawl(spider)
    d = runner.join()
    d.addBoth(lambda _: reactor.stop())

    # Run the twisted reactor
    reactor.run()

Hi @JSPromisel , may I ask if you tried running scrapy.utils.reactor.install_reactor() before running the crawl process? Reference: https://docs.scrapy.org/en/latest/topics/settings.html#scrapy.utils.reactor.install_reactor


fix: localize Admin Fax Stamps

About the PR
Localize Admin Fax Stamps
Media

Changelog
:cl:

fix: localize Admin Fax Stamps

you missed det’s stamp

since it is admin only and locale related i dont think there should be a changelog


TPT Activities

[ ] Scrum/Pair activity.  Listen to OO's and TO's introduction.  Write about OOs' and TOs roles in your journal.  Brainstorm on how you think fellow student can help you in Test Prep.  Review idea with Scrum Team, then review again with Crossover team.  Each Scrum Team create summary and provide ideas to OO's.
[ ] Scrum/Pair activity and journal. Unit 3.1 work.   Follow instructions and guidance from OO's
[ ] Scrum/Pair activity and journal. Unit 3.2 work.   Follow instructions and guidance from OO's


adding unique repos for each environment

@snopoke @benrudolph
I think that having separate buckets for each environment will be neater. adding this in before i deploy to prod/india

:+1: on :white_check_mark:

✅ bumping now that the restore work is finished


parameter "stem-multiplier", "multiplier", "steps"

Hi, @Catosine, Thanks for sharing the work. I have some quetions about the parameters in model_search.py. I have seen one of your answers in the issues as belows,  but I still confused about the parameters "stem-multiplier", "multiplier", "steps", so could you please expland more detail, for example: Have any works found it good in CNN applied to CIFAR/ImageNet. Thank you very much.
I've asked someone who has an research field in automl/nas. He told me that most of the hyperparameters used in DARTS are experience from past, i.e. using stem_mulitiplier=3 is simply because is is found good in previous CNN applied to CIFAR/ImageNet. And that is the same for other hyperparameter you mentioned. He also gives me a suggestion for applying DARTS to other dataset: try to build couple of baselines, and use those hyperparameter as your search space to explore new structures.

hi @xjhcassy
just to be quick: i am NOT the author of this work. But I did play with the code for a while.

@xjhcassy I also talked to someone in this field: as you have noticed, AutoML is very young and it is not very "auto". i.e. those parameters you mentioned are tuned by human experts.

@xjhcassy BTW if you are thinking of applied automl to your own task, then it is a very good idea to start as you mentioned in the blackened words.

@xjhcassy In addition, there are following works of DARTS, such as Progressive DARTS, Partial Channel DARTS, FairDARTS. I think they all on github.
Sorry for replying in parts. Good luck:)
PF

Thank you very much. I take NAS as my graduation design, so recently I am also playing with the code. After reading many of your answers in the issues, it helps me a lot. Thanks again and good luck!


Stop generating command and attribute lists for client clusters.

These are not used for anything in Matter and are just taking up
space.

As long as that broken unit test is sorted out....

Yep, needs expectations updates.  Working on that.


Enhancements to /get

Reilly video of app use
Version #
Size of download

@kauffj how do I programmatically get the version and file size of the current release?

@reillysmith add that gif when ready, here

Hey divas anyone want to help me?? :p

GitHub::get('/repos/lbryio/lbry-app/releases/latest') - @kauffj can you write me a two functions - one that outputs the version and one that outputs the file size?  Just simple text output I can call.  @lyoshenka pretty please?

Done and live.
This line is where the new information is being rendered:
https://github.com/lbryio/lbry.io/blob/master/view/template/download/get.php#L30

The new downloads page looks great!


Is dask.dataframe.sample with replacement?

Hi dask team,
Is this method random sampling with replacement or without replacement? http://dask.pydata.org/en/latest/dataframe-api.html#dask.dataframe.core.DataFrame.sample
Thanks,
Yuan

At the moment it's without replacement.  I've just added sampling with replacement in https://github.com/blaze/dask/pull/893

Thanks!

@mrocklin Is there a way to output the sampled index instead of the actual value?

I'm not sure I understand.  Can you provide a small example?

So for example for an array, arr = ["a", "b", "c"], arr.sample(1/3) gives 1, 2, or 3, instead of "a", "b", or "c"

Sadly no, there is no simple way to do this.  Perhaps you can store an incrementing index column along with your data?

Yeah ok. Thanks though.

@mrocklin is there a way to repeatedly sample from disk into ram without replacement even between sampling operations?
I expect this isn't possible at the moment given there isn't a way to signify "end of iteration" when we've sampled all the data.
I'm looking to use this to iterate over a larger-than-RAM training set in a shuffled way, with different shuffling between epochs.

@mrocklin is there a way to repeatedly sample from disk into ram without replacement even between sampling operations?
I expect this isn't possible at the moment given there isn't a way to signify "end of iteration" when we've sampled all the data.
I'm looking to use this to iterate over a larger-than-RAM training set in a shuffled way, with different shuffling between epochs.


Update amplitude.mdx

🚀 Deployed on https://6670aa0aab329756c382def8--cozy-fox-0defec.netlify.app


demo collapsing

At the moment this is not meant to be merged, as the expected behaviour from #643 is working from my side I wanted to check directly on our doc

I works as expected


Archduke of Cheliax Initiative

From my understanding of the wording, you should be getting your initiative based on intelligence instead of dexterity. Currently it seems like I gain both. With 19 dex, 20 int, and archduke of cheliax I have +11 initiative when I think I should only have +7.
https://i.imgur.com/nhv8Jhp.png

Fixed for next update. Probably.


When is the documentation coming ?

Hello,
I've been searching for BDD packages, and yours seems promising. However, there's no documentation yet. When do you plan to add it?
Thanks

I'll be working on this this week and the next!

Sorry it took much longer than I expected. But finally the documentation is in place.

@CodingSoot
Even more documentation now. And a plugin to support the package.

@marcglasberg Thanks, looks great!


Generate a changes.yml file as part of a release with details of fixed issues

So that we can know when a fix goes into production & can then comment on issues etc

JSON might be easier to consume in Elasticsearch & UIs?


Add encoding and decoding for secp256k1::PublicKey

Closed because encoding and decoding this type only makes sense in PSBT context


Add missing team label to service monitor

This PR adds the team label missing on the service monitor so the prometheus agent can pick up the service monitor otherwise falco is monitored by the MC prom
Checklist

[x] Update changelog in CHANGELOG.md.
[x] Make sure values.yaml and values.schema.json are valid.

Important: After this PR is tested and approved, ensure you "Squash and Merge" unless you are updating a subtree. The release automation in use on this repository relies on squashing, but git subtrees will be lost if squashed. This repo allows both, so you may need to change the merge type when merging.

In workload clusters, we don't want to scrape this exporter. It contains security data and is for customers to scrape for their own monitoring.
On MCs we do scrape them, so if we need to change the way we scrape on MCs, then we can change the config for this app only on MCs.

Where is your service monitor configured for MCs only?

It likely isn't, because IIRC it was originally done statically via PMO and likely never moved. Otherwise it would be in config


fix and simplify the integration test

@heiko-braun mind a review?

Also added OSTA to deploy the application inside the test, so the test now only expects the SSO server to already exist.


Included files sometimes not escaped

I am running into a truly weird issue where sometimes the same included files are simply not escaped and sometimes they are, without any apparent connection, despite having explicitly set do_not_escape.
Implementation

I have couple similar pages which all reference the same include (standard Jekyll file within _includes folder)
This include references a relatively basic SVG file from assets/images folder to be rendered on page using flexible_include

Setup
So far, these two pages render unescaped SVG nicely:

index.md
about.md

Other pages show escaped markup instead:

team.md
any other page directly based off (duplicated) of two functional pages above

Do note, as I'm in relatively early stages of development, pages about.md and team.md are entirely identical, as I basically stopped any work scratching my head what's going on and thus not proceeding.
Observations
Above is of course just to illustrate the weirdness of the issue. Following (random) observations have been made:

[x] Implementation is as basic as it can get, I don't believe I'm trying to do anything remotely exotic.
[x] I tried to clear Jekyll cache to no avail.
[x] I tried to deploy to Netlify with identical result, so I don't believe there's any other potential cache issue involved.
[x] Had to add key-value-parser into my Gemfile in order to make the plugin work.
[x] My ruby version is 2.7.4 and I also use node v14.20.0 on the side to compile Tailwind

Is there any sort of trace or any other action I could take to help figure this out?
Other than this, great plugin, cheers!

Please show some of the statements you are using for the includes. Also, what version are you using?

So the setup as per above looks like this:
Team page has pretty much nothing but this include
{% include hero.html title="Team" %}
The hero partial among other fairly basic html has this flexible_include
{% flexible_include assets/images/heroMaskLines.svg do_not_escape %}
The version is, as README recommends, 2.0.0.

I wonder if the reason the included contents are sometimes not escaped is that your Jekyll processes run on different VMs or file systems, with different permissions or file versions.
You could update the plugin to the current version (v2.0.13), but I do not expect that to affect the problem, however.
$ bundle update

You could enable the plugin's logging, or crank up its log level. See Custom Logging in Jekyll Plugins and Jekyll Plugin Template Collection
You can run the plugin under a debugger, as described in Debugging Jekyll Plugins with an IDE. It is usually best to attach to the Jekyll process, instead of launching under a debugger. To do that:

Read through the article
Install the debugging gems
Clone this repo
Change the gem reference in your Jekyll project from this:gem 'jekyll_flexible_include', '~> 2.0.0'

to this:gem 'jekyll_flexible_include', ['~> 2.0.0'](path: "/path/to/jekyll_flexible_include_plugin_directory")

Launch vscode
Set breakpoints in the flexible_include plugin
Run bin/attach . from the cloned repo.

I just released v2.0.14, which defines key-value-parser as a dependency. Thanks for mentioning it.


Cleanup-Unused assets, fonts, theme etc

Removed asset's for current state of the app. More Asset will get removed once will start working on below task

Cleanup of  Unused component/screens
Remove All code related to Donation and Saving account.


postman response field

Is possible to save response in postman collection? add into the library

Will be implemented by #22


Add max dimension support to "projection" filters.

Closes #1431

Just noting the existing 2, 3D maintain the same number of dimensions but reduce the projected dimension's size to 1. This is continued with the proposed 4,5D implementations.


cube-network: Move dhclient for netprime to netprime pid space

We want to make sure that anytime the netprime container dies
ungracefully, or is killed intententionally that all its associated
processes are also reaped automatically.
This solves the problem where the netprime container was restarted and
the stop hook did not run which would have properly cleaned up the
stray dhclient process.
Signed-off-by: Jason Wessel<EMAIL_ADDRESS>

v2 was re-posted to this thread, it was supposed to modify cube-netconfig and not cube-network.


Floating IP Stays After Container Is Stopped

Hi,
Have you seen where the floating IP persists on the host even after the container is stopped?


q doesn't quit correctly

If I press q, the program will quit but it still hangs.

Thanks for the report! Fixed for v0.1.1

Fix is now part of the latest release:
https://github.com/piqoni/hn-text/releases/tag/v0.1.1


GP2HUB-96 Add thumbnail to news

This PR

Adds a migration to add thumbnail field
Adds thumbnail to gp2 query and updates news data provider
Updates NewsItem so it displays the thumbnail properly on the FE

Contentful with thumbnail field

Thumbnail in the FE

rebased to master before merge


Support for [Test] and [TestCase] attributes on same test

Hi, neotest-dotnet adapter is great, enjoying using it to run .net tests, only 1 issue I'm facing:
"Using the [Test] attribute alongside [TestCase] attributes on the same method will cause neotest-dotnet to duplicate the item with erroneous nesting in the test structure. This will also break the ability of neotest to run the test cases"
https://github.com/Issafalcon/neotest-dotnet?tab=readme-ov-file#nunit-limitations
Surely there is some kind of parser that can be added here? If there is a [Test] attribute on the line above a [TestCase] attribute, ignore the [Test] attribute?
Unfortunately our company codebase has lots of [Test] and [TestCase] attributes on tests together. We generally justify them with single responsibility principle, one attribute to define the fact it's a test, one attribute to give it a test case.
I'm surprised that this is an issue with NUnit, all the tests run correctly within VS; I wonder what they do differently?
Changing all the tests to not have this [Test] attribute is not a viable solution, any ideas on how I can run test cases without removing the [Test] attribute please? (Happy with either existing config fixes or direction to create a fork/pr - given there aren't reasons that this hasn't been done already that I'm missing)

Hi @Coding-Journey - Thanks for raising the issue, and glad you are finding the plugin useful.
I think you are right, in that this is possible to do. For NUnit, I have an issue on my todo list (#90 ) which will help solve this issue in a more robust way. If you look into that same issue, someone has highlighted the vstest protocol, which is essentially how this adapter differs from VS and VSCode. At some point, this will probably be the way to go to make this adapter more like the Microsoft owned ones, but it will take some time and effort. However, I am very limited on time at the moment, with a new baby arrival, and other things going on that are eating my time.
A workaround could be possible by modifying the treesitter code, which I can take a look at when I can squeeze some time in.


qr.js dependency is overtaken

First of all thanks a lot for your work in this library! Recently, the GitHub project of qr.js (linked by npm) has been compromised and points to an empty repo
There's another repo that contains the original code (AFAICT) linked here and it seems to be the same author.
Not sure what's the best practice is here, from the top of my head in a descending order security-wise, either link directly to the second GitHub repo in your package.json, fork the repo under your account, or even vendor in the minified version of qr.js and include it in your library.
Cheers!

https://github.com/nayuki/QR-Code-generator/issues/155

For anyone who is curious about what happened to qr.js, there is a good write up on it at https://blog.sonatype.com/researcher-takes-over-qr.js-via-repo-hijacking.-is-the-npm-package-safe


[stable/airflow] Remove connection before adding it

Addresses #23499
The --delete command exits 0 (success) even if the connection does not
exist.

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #23499

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/mychartname])

Thanks for the contribution!
I would say this qualifies as a bug, so should be a minor version bump.
My only hesitation is that people may have modified a connection using the Admin UI, and added a password, and this would remove those changes.
Could you rebase against master (which would make the Chart.yaml version: 7.4.1

Sure, I'll rebase. That's a good hesitation, perhaps putting this around a conditional i.e. scheduler.refreshConnections bool  (default false) under the Airflow Scheduler values in values.yaml might help with that?

Pushed a draft of the conditional added.

Also can you remove the random space diffs, which cause issues with other pending PRs.

Also can you remove the random space diffs, which cause issues with other pending PRs.

Yeah. I had to find how to turn off trim trailing whitespace in the editor. I could split this out into a commit or open in a new PR?

@vsimon feel free to put it in a seperate commit

@vsimon, can you prepend the commit message with [stable/airflow]

/lgtm

Thanks for the contribution!
I would say this qualifies as a bug, so should be a minor version bump.
My only hesitation is that people may have modified a connection using the Admin UI, and added a password, and this would remove those changes.
Could you rebase against master (which would make the Chart.yaml version: 7.4.1

So your hesitation was true. This "minor" version bump broke my setup :(

@retrry sorry :(


Widget loading failed - Unknown measure

Steps to reproduce
I have an existing cell with cube.visualize() and it uses a measure which is no longer available.
The atoti editor is no longer available for the cell, hence it is not possible to use it to modify the query.
Sometimes, it is difficult to recall what type of visualization was saved in the notebook and what it is intended for.

I had to go to the cell meta to update which is more technical and not user friendly.

Environment

atoti: 0.4.3
Python: 3.8.5
Operating System: win32

Hi Hui Fang, as for #147, the problem will go away when the query will be executed on the client side again.


tests: explicitly flush stderr on exit

It has been observed in CI that the stderr output is sometimes truncated
on failure.  Explicitly flush the output to ensure that we can see the
error messages.  This has been observed on Windows which does not do a
courtesy flush unlike Linux.

@swift-ci please test and merge

@swift-ci please test and merge


Feature: deal with PARGO_PREFIX_

This is to address https://github.com/hangxie/parquet-tools/issues/446, which seems cannot be resolved by upstream (parquet-go) due to go's limitation.
Since PARGO_PREFIX_ is hardcoded in parquet-go, we can just trim it from all field names, there can be a CLI flag to disable this translation.

schema command not supports option to remove the prefix https://github.com/hangxie/parquet-tools/pull/448
cat command is still pending as I believe I'd better refactor cat command to go with MarshalJSON route, I'm still reading (my own code! :sweat_smile:) to make sure this is the right approach.

https://github.com/hangxie/parquet-tools/pull/454 for same feature for meta command

https://github.com/hangxie/parquet-tools/pull/471 for cat command.
TBH if JSON is the only output format, i'd leave this feature to gojq CLI, as it does decent job. However, since I have to add code to deal with CSV/TSV, I will have to support JSON as well ...


Debhis School (debhiss.com) added

Debhiss School (debhiss.com)
Daunne English Boarding Secondary School, Bardaghat-4, Nawalparasi(BSW), Lumbini, Nepal

@Prakalpit Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Read requirements and readme in setup.py as strings

Should fix this error.

Coverage remained the same at 96.418% when pulling ea31351cf1517e4df9fae7dd4bffdaf2e55f60f8 on jameshilliard:py3-install into 110f71d11704e6f9811701fd28424f400f8510b2 on habnabit:master.

@habnabit why you are not apply this pull request? no one can't install your package with python 3.4+.


Are there plans to support ffmpeg?

Are there plans to support ffmpeg?

Not really. LiTr is meant to be a hardware-accelerated limited functionality replacement of ffmpeg. It is possible to use parts of ffmpeg to extend LiTr functionality - for example, to write a custom decoder/encoder/parser/etc. But this is not something we are planning on doing anytime soon.


chore: update AWS iOS SDK dependency to latest

Issue #

Description
Updating Amplify V1 AWS iOS SDK dependency to latest 2.30.1
General Checklist

[ ] ~Added new tests to cover change, if needed~
[ ] ~Build succeeds with all target using Swift Package Manager~
[x] All unit tests pass
[ ] ~All integration tests pass~
[ ] ~Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)~
[ ] ~Documentation update for the change if required~
[x] PR title conforms to conventional commit style
[ ] ~New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()~
[ ] ~If breaking change, documentation/changelog update with migration instructions~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2703 (cf4a616) into v1 (0d7c211) will increase coverage by 0.13%.
The diff coverage is 88.46%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##               v1    #2703      +/-   ##
==========================================
+ Coverage   64.15%   64.29%   +0.13%
==========================================
  Files         720      720
  Lines       22695    22714      +19
==========================================
+ Hits        14561    14604      +43
+ Misses       8134     8110      -24

Flag
Coverage Δ

API_plugin_unit_test
66.66% <100.00%> (+0.09%)
:arrow_up:

AWSPluginsCore
73.27% <50.00%> (-0.11%)
:arrow_down:

Amplify
51.33% <71.42%> (+0.01%)
:arrow_up:

Analytics_plugin_unit_test
72.43% <ø> (ø)

Auth_plugin_unit_test
83.88% <100.00%> (+1.93%)
:arrow_up:

DataStore_plugin_unit_test
81.67% <100.00%> (-0.37%)
:arrow_down:

Geo_plugin_unit_test
57.87% <ø> (ø)

Predictions_plugin_unit_test
33.61% <ø> (ø)

Storage_plugin_unit_test
59.55% <100.00%> (+0.29%)
:arrow_up:

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

Impacted Files
Coverage Δ

...DataStore/DataStoreCategory+Behavior+Combine.swift
0.00% <0.00%> (ø)

...Configuration/AmplifyAWSServiceConfiguration.swift
73.91% <ø> (ø)

...e/AWSPluginsCore/Model/Support/Model+GraphQL.swift
74.80% <50.00%> (-0.40%)
:arrow_down:

Amplify/Categories/API/Request/RESTRequest.swift
100.00% <100.00%> (ø)

...n/Support/Utils/GraphQLOperationRequestUtils.swift
91.66% <100.00%> (ø)

...pport/Utils/AWSCognitoAuthPluginUserDefaults.swift
100.00% <100.00%> (+100.00%)
:arrow_up:

...ategoryPlugin/Storage/SQLite/Statement+Model.swift
99.24% <100.00%> (+0.01%)
:arrow_up:

...in/Operation/AWSS3StorageUploadFileOperation.swift
80.41% <100.00%> (+2.00%)
:arrow_up:

...ingMutationQueue/OutgoingMutationQueue+State.swift
0.00% <0.00%> (-68.75%)
:arrow_down:

...ngMutationQueue/OutgoingMutationQueue+Action.swift
0.00% <0.00%> (-66.67%)
:arrow_down:

... and 12 more

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


[chip-test] chip_sw_clkmgr_external_clk_src_for_sw

Test point name
chip_sw_clkmgr_external_clk_src_for_sw
Host side component
SystemVerilog
OpenTitanTool infrastructure implemented
None
Contact person
@tjaychen
Checklist
This test is already developed. This issue tracks the enhancement for V3 as referenced in the testplan link above:
            Disable external clock source and verify the AST reliably falls back to the internal
            clock. Ensure the chip operates normally.

Triaged for clkmgr. Assigning to M2.5 with https://github.com/lowRISC/opentitan/labels/Priority%3AP2 because I think we should test this functionality in a TLT.

A simple way of carrying out this test addition would be to turn off the testbench clock right after switching back to internal clock.
The SW test should freeze and time out if the AST does not correctly switch back to internal oscillators.

An even simpler way to test this is to perform cycle measurements after disabling the external clock: if the external clock was still driving then the main clock frequency would be either 48 or 96 MHz instead of 100 MHz.

Yes that would work as well, and may be a better way of testing this than relying on a test timeout as suggested above.


CB-1394. Create databases on database servers.

Redbeams can now create databases on database servers. This will create
the database and register it in Redbeams.
Notes: Testing has verified that databases are created as expected.

The conflict appears to be a reordering of imports -- I don't think it should hold up any reviews.


Access to $(rev:r) outside of name:

We should be able to use $(rev:r) in fields other than name. I would like to name the run with the pipeline name AND the build version, like so:
$(Build.DefinitionName)-$(Major).$(Minor).$(rev:r)
But when I try to use the $(Build.BuildNumber) to update the version it isn't formatted as a semantic version so I get an error. If I could use $(rev:r) in a variable it would be a great help.

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

ID: a57f8545-bb15-3a71-1876-3a9ec1a59b93
Version Independent ID: 28c87c8d-c28d-7493-0c7c-8c38b04fbcd7
Content: Run number - Azure Pipelines
Content Source: docs/pipelines/process/run-number.md
Product: devops
Technology: devops-cicd
GitHub Login: @juliakm
Microsoft Alias: jukullam

@henry-padilla  Thank you for the feedback.
Unfortunately this seems like more of a product issue then documentation concern.
Please move this issue to the Azure DevOps Community where the product team can address.

@henry-padilla Did you succeed with getting $(rev:r) outside the name? I would like to get it as well..

@fhurta No. The best I could do was use the $(Build.BuildNumber) that was created from $(Rev:r)
If you have to you can always parse $(Build.BuildNumber) and get the $(Rev:r)

@fhurta No. The best I could do was use the $(Build.BuildNumber) that was created from $(Rev:r)
If you have to you can always parse $(Build.BuildNumber) and get the $(Rev:r)

Ok, thanks!


Update README.md

Pre-Requisites

[x] Yes, I updated Authors.md OR this is not my first contribution
[x] Yes, I included and/or modified tests to cover relevant code OR my change is non-technical
[x] Yes, I wrote this code entirely myself OR I properly attributed these changes in Third Party Notices

Description of Changes
Updates README with videos and fixes a bug with generic template
Related Issues

Codecov Report

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

:exclamation: Current head 7f53030 differs from pull request most recent head f7d8a6b. Consider uploading reports for the commit f7d8a6b to get more accurate results

@@           Coverage Diff           @@
##             main      #77   +/-   ##
=======================================
  Coverage        ?   88.68%
=======================================
  Files           ?       38
  Lines           ?      433
  Branches        ?       49
=======================================
  Hits            ?      384
  Misses          ?        0
  Partials        ?       49

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 5ddb6aa...f7d8a6b. Read the comment docs.


How to debug an express app ?

I try to debug an express app on Windows10 OS.
I only configure the "Node Path" to "C:\Program Files\nodejs\node.exe"
Pressing F5 does nothing.
If I configure scriptmain to app path "D:\testapp\bin\www"
Pressing F5 I get this message on stdout window:
"Debugger listening on port 5858" but the webpage is not available on the local web app address.
I switch back to Atom and press F5 again, and I get this message in stdout window:
"Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process."
Now the app seems to be working in browser but all the modules that are working with folders/files are creating new folders and files under www\bin folder instead of app root folder.
Does anyone succeed on debugging express apps
Did I miss some configuration?
Why is it behaving so?

First the session issue you are seeing is a warning as it says. you will need to use a production worthy SessionStore for that. Mem Store is fine for what it sounds like you are doing for the moment but you should get a real SessionStore module ultimately. Such as connect-mongo or something similar. Mongo obviously being MongoDB.
As to your setup the main script you are looking for is probably something like app.js, server.js or maybe index.js. That is what the debugger is looking for NOT the root folder path as you've specified in your example above.
Hopefully that gets you going!
Constructive criticism here...sounds like you're pretty new to the whole Node deal. I would get familiar with how it all works a bit more first. It will all make a little more sense from there :)

I too am trying to sue this with express. i press f5 on bin/www

Connection attempt 1 to node process on <IP_ADDRESS>:5858 failed. Will try again in 500.
Debugger listening on port 5858

but localhost:3000 gives blank page
I have really no idea on how to use it
PS: node-inspector works
DEBUG=ams-api:* node --debug ./bin/www
// then
node-inspector

http://bumaociyuan.github.io/node/2016/09/02/how-to-debug-node-with-atom.html


Rancher DNS/Metadata not working with net:host with Docker 1.12.0-rc3

Rancher Version:
1.1.0
Docker Version:
1.12.0-rc3
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu 14.04.4 LTS - AWS
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA Rancher, External DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Launch a container with:
app:
  net: host
  labels:
    io.rancher.container.dns: 'true'

Results:
Container starts with /etc/resolv.conf with the host dns nameservers.
search rancher.internal
nameserver [host dns-1]
nameserver [host dns-2]
nameserver [host dns-3]

Expected:
With Docker 1.11.2, the host nameservers are commented out and replaced with the metadata server ip and search domains:
# nameserver [host dns-1]
# nameserver [host dns-2]
# nameserver [host dns-3]
search app.stack.rancher.internal stack.rancher.internal rancher.internal rancher.internal
nameserver <IP_ADDRESS>

For 1.12.0-rc3, a workaround is to launch with explicit DNS parameter pointing at the metadata IP (--dns <IP_ADDRESS>) thanks to https://github.com/docker/docker/issues/21976.  However, the workaround causes problems with 1.11.2 and below so it isn't viable for environments with mixed host versions.

Just to clarify, this is an issue with Docker 1.12.0-rc3? The last part of your last sentence seemed to make it seem like it was Docker 1.11.2.
We'll take a look at this when we start testing Docker 1.12.

Yes, this is only an issue with Docker 1.12.0-rc3.  I've updated the description to clarify, but the gist is that the workaround for 1.12.0 causes issues with 1.11.2 and below.

Tested again and seeing the same behavior in Docker 1.12.0-rc4.

Hi @cllunsford ,
You tested with 1.12.0 and 1.12.1 too? Does the problem persist?

We have moved to creating DNS/metadata into microservices, so this may be fixed.
@sangeethah @soumyalj
Can you test with the new infrastructure services if you can launch a container using
app:
  net: host
  labels:
    io.rancher.container.dns: 'true'

Check to see if DNS is correct in the different versions of Docker?

We have automation runs working on Docker 1.12.3 with our latest infrastructure services in our v1.2.0-pre4-rcX releases, which have DNS tests with host networking.  We don't recommend running our RC releases as we currently are still going through test cycles.
Note: we do not officially support Docker 1.12 with Rancher 1.1.4.


Subs manager & template-level subscriptions

I've been looking at using Subs Manager with template-level subscriptions. If I understand correctly, what this package does is keep subscriptions open, and not just cache the data in Minimongo?
With template-level subscriptions, I might be opening 4-5 different subscriptions on each page. So if you navigate through 2-3 pages times, you can quickly end up with about 10 open subscriptions. I'm just wondering if that will be an issue from a performance point of view? Won't having that many extra subscriptions open add to the server load?
I don't know if it would make sense, but is there any way to cache the data in Minimongo without necessarily keeping all subscriptions open?

Related: https://github.com/meteorhacks/subs-manager/issues/36
My issue is a bit different from template caching, as there are cases where I'm using the same data in different templates (and from different subscriptions…).

OK, the way I handle this issue for now is by making caching optional at the template level:
var subscriber = enableCache ? Telescope.subsManager : instance;
var postsSubscription = subscriber.subscribe('postsList', subscriptionTerms);

This way I can hand-pick which templates cache their subscriptions, and which just use template.subscribe().

It's depend. Keeping subscription does not add much overhead specially if
there is oplog.
But stopping and creating new subscriptions take considerable amount of
CPU.
I think you can control this easily with limiting the cache size and the
time.
On 2015 ජූලි 7, අඟහ at පෙ.ව. 9.22 Sacha Greif<EMAIL_ADDRESS>wrote:

OK, the way I handle this issue for now is by making caching optional at
the template level:
var subscriber = enableCache ? Telescope.subsManager : instance;var postsSubscription = subscriber.subscribe('postsList', subscriptionTerms);
This way I can hand-pick which templates cache their subscriptions, and
which just use template.subscribe().
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/subs-manager/issues/48#issuecomment-119064790
.

OK, that's good to know. I just deployed the new subscription caching to http://meta.telescopeapp.org/, seems to be working ok.

Yep. It's working pretty good to me.
May be you need to play with some values for cache control parameters.
On Tue, Jul 7, 2015 at 9:47 AM Sacha Greif<EMAIL_ADDRESS>wrote:

OK, that's good to know. I just deployed the new subscription caching to
http://meta.telescopeapp.org/, seems to be working ok.
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/subs-manager/issues/48#issuecomment-119068607
.

@SachaG so are you actually using subs-manager within the Template.templatename.onCreated helper? I'm assuming you aren't since you reference #36 above in which the question is whether that is even possible. How are you using subs-manager with template subscriptions?

@funkyeah yes I am. As far as I can tell it works just fine. See http://www.telescopeapp.org/blog/telescope-weekly-2-subs-manager-fast-render/

Hey @SachaG I had an outstanding stackoverflow question on this topic. It didn't really go anywhere so I posted a bounty and eventually answered my own question with an example distilled from the Telescope code. http://stackoverflow.com/questions/29709863/how-would-you-use-subscription-managers-with-meteors-template-subscriptions
Would you mind taking a quick glance at it? If it's correct or close feel free to copy-paste-modify my answer and I'll award you the bounty.

Yeah seems ok. Feel free to just give the bounty to yourself :)

Maybe a little late to the party, but I've been looking at using the subs-manager for my own project.
With some previous work I've played about with subscriptions and granularity, I'd noticed that if I subscribe to the same subscription twice, it pretty much returns instantly the second time (i.e. already subscribed, no need to change anything).
To get the {{Template.subscriptionsReady}} helper to work, I have essentially subscribed twice:
var Subs = new SubsManager();

Template.whatever.onCreated(function() {
  var self = this;

  self.autorun(function() {
    var whatever = Session.get('whatever');
    Subs.subscribe('whatever', whatever);
    self.subscribe('whatever', whatever);
  });
});

This has been especially useful as we have several routes which do different things with some of the same data.
So my question is this: how inefficient is this?  Is this going to cause excess work on the server side, or is Meteor clever enough to say "oh, that's a subscription with the same argument - noop time!"?

That's interesting. I'm quite not sure what's going on here. May be you still send the subscription to the server. But it don't get any data.
Could you check whether you are sending the subscription twice to the server. You can use Kadira Debug or something you can use to inspect DDP traffic.

@arunoda It is making two subscription requests, but as the subs manager is caching the result of the subscription, the server does not send need to send any new data, and so  Template.subscriptionsReady() returns true as it normally would.
The downside is I end up with multiple subscriptions to the same data, and I don't know whether that will affect server performance or not.

Hmm, having looked through the code I'm not sure why it's making multiple subscriptions, as it should just re-activate the existing connection:
https://github.com/meteor/meteor/blob/master/packages/ddp/livedata_connection.js#L497-L518

That's because subs-manager has it's own context and does not rely on the context it's runs on.
Sending this twice is kind a bad since it has to do some stuff on the server.

I think now we've a proper guide on using SubsManager with template level subs. So, I'm going to close this issue.


Radar is laggy

The radar is based on @Dalk21's update of it using their own fork, but considering how it lags and how it doesn't work for the zoomed-in 2-hour radar, I'll probably just revert it back to the regular NWS radar the original creator had when I have the time.

Reverted back to the NWS Radar.