Rails app Error on creation

Hello, I'm a Mac user, This is my first Issue report, I tried looking what is the right method for posting errors, if I need to provide more information please be kind enough to ask more!
I tried creating a rails new app, at the end of the creation I got this:
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=incompatible+library+version+-+%2FUsers%2user_name%2F.rvm%2Fgems%2Fruby-2.4.3%40global%2Fgems%2Fpsych-3.0.2%2Flib%2Fpsych.bundle&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/bundler/bundler/issues/new
run  bundle exec spring binstub --all
Ignoring bigdecimal-1.3.3 because its extensions are not built.  Try: gem pristine bigdecimal --version 1.3.3
bundler: command not found: spring
Install missing gem executables with bundle install
Can anyone help me understand this?

Hi, Please make sure that you copy the full error report, you're missing about a good 2/3 of it.
The error message is: command not found: spring which means you're trying to run spring but don't have spring installed. I suggest making sure that spring is in your Gemfile and installing it with bundle install

I hope this is it
Ignoring bigdecimal-1.3.3 because its extensions are not built.  Try: gem pristine bigdecimal --version 1.3.3
Ignoring nokogiri-1.8.1 because its extensions are not built.  Try: gem pristine nokogiri --version 1.8.1
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.4.0 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.4.0
Ignoring gem-wrappers-1.3.2 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.3.2
Ignoring json-2.1.0 because its extensions are not built.  Try: gem pristine json --version 2.1.0
Ignoring nio4r-2.2.0 because its extensions are not built.  Try: gem pristine nio4r --version 2.2.0
Ignoring openssl-2.1.0 because its extensions are not built.  Try: gem pristine openssl --version 2.1.0
Ignoring psych-3.0.2 because its extensions are not built.  Try: gem pristine psych --version 3.0.2
Ignoring websocket-driver-0.6.5 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.6.5
create
create  README.md
create  Rakefile
create  config.ru
create  .gitignore
create  Gemfile
run  git init from "."
  Try: gem pristine bigdecimal --version 1.3.3
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.4.0 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.4.0
Ignoring gem-wrappers-1.3.2 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.3.2
Ignoring json-2.1.0 because its extensions are not built.  Try: gem pristine json --version 2.1.0
Ignoring nio4r-2.2.0 because its extensions are not built.  Try: gem pristine nio4r --version 2.2.0
Ignoring nokogiri-1.8.1 because its extensions are not built.  Try: gem pristine nokogiri --version 1.8.1
Ignoring openssl-2.1.0 because its extensions are not built.  Try: gem pristine openssl --version 2.1.0
Ignoring psych-3.0.2 because its extensions are not built.  Try: gem pristine psych --version 3.0.2
Ignoring websocket-driver-0.6.5 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.6.5
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java.
Ignoring bigdecimal-1.3.3 because its extensions are not built.  Try: gem pristine bigdecimal --version 1.3.3
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.4.0 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.4.0
Ignoring gem-wrappers-1.3.2 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.3.2
Ignoring json-2.1.0 because its extensions are not built.  Try: gem pristine json --version 2.1.0
Ignoring nio4r-2.2.0 because its extensions are not built.  Try: gem pristine nio4r --version 2.2.0
Ignoring nokogiri-1.8.1 because its extensions are not built.  Try: gem pristine nokogiri --version 1.8.1
Ignoring openssl-2.1.0 because its extensions are not built.  Try: gem pristine openssl --version 2.1.0
Ignoring psych-3.0.2 because its extensions are not built.  Try: gem pristine psych --version 3.0.2
Ignoring websocket-driver-0.6.5 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.6.5
--- ERROR REPORT TEMPLATE -------------------------------------------------------
Error Report
Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.

What did you do?
I ran the command /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/exe/bundle install

What did you expect to happen?
I expected Bundler to...

What happened instead?
Instead, what happened was...

Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried...

Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
...

Backtrace
fatal: incompatible library version -<EMAIL_ADDRESS>  /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /Users/User_name/.rvm/gems/ruby-2.4.3@global/gems/psych-3.0.2/lib/psych.rb:11:in `rescue in <top (required)>'
  /Users/User_name/.rvm/gems/ruby-2.4.3@global/gems/psych-3.0.2/lib/psych.rb:8:in `<top (required)>'
  /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/psyched_yaml.rb:12:in `<top (required)>'
  /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/rubygems_integration.rb:115:in `configuration'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/fetcher.rb:242:in `connection'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/fetcher.rb:85:in `initialize'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:251:in `new'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:251:in `block in fetchers'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:249:in `map'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:249:in `fetchers'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:381:in `block in remote_specs'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/index.rb:11:in `build'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:380:in `remote_specs'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:89:in `specs'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/definition.rb:268:in `block (2 levels) in index'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/definition.rb:266:in `each'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/definition.rb:266:in `block in index'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/index.rb:11:in `build'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/definition.rb:263:in `index'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/definition.rb:158:in `resolve_remotely!'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/installer.rb:279:in `resolve_if_needed'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/installer.rb:83:in `block in run'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/process_lock.rb:12:in `block in lock'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/process_lock.rb:9:in `open'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/process_lock.rb:9:in `lock'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/installer.rb:72:in `run'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/installer.rb:25:in `install'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/cli/install.rb:65:in `run'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/cli.rb:224:in `block in install'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/settings.rb:136:in `temporary'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/cli.rb:223:in `install'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/exe/bundle:30:in `block in <main>'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  /Users/User_name/.rvm/gems/ruby-2.4.3/gems/bundler-1.16.1/exe/bundle:22:in `<main>'

Environment
Bundler             1.16.1
  Platforms         ruby, universal-darwin-17
Ruby                2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
  Full Path         /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
  Config Dir        /Library/Ruby/Site
RubyGems            2.5.2
  Gem Home          /Users/User_name/.rvm/gems/ruby-2.4.3
  Gem Path          /Users/User_name/.rvm/gems/ruby-2.4.3:/Users/User_name/.rvm/gems/ruby-2.4.3@global
  User Path         /Users/User_name/.gem/ruby/2.3.0
  Bin Dir           /Users/User_name/.rvm/gems/ruby-2.4.3/bin
OpenSSL
  Compiled          LibreSSL 2.2.7
  Loaded            LibreSSL 2.2.7
  Cert File         /private/etc/ssl/cert.pem
  Cert Dir          /private/etc/ssl/certs
Tools
  Git               2.15.1
  RVM               1.29.3 (latest)
  rbenv             not installed
  chruby            not installed
  rubygems-bundler  (1.4.4)

Bundler Build Metadata
Built At          2017-12-21
Git SHA           0034ef341
Released Version  true

Gemfile
Gemfile
source 'https://rubygems.org'

git_source(:github) do |repo_name|
  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
  "https://github.com/#{repo_name}.git"
end

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.1.5'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use Puma as the app server
gem 'puma', '~> 3.7'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
  # Adds support for Capybara system testing and selenium driver
  gem 'capybara', '~> 2.13'
  gem 'selenium-webdriver'
end

group :development do
  # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  gem 'web-console', '>= 3.3.0'
  gem 'listen', '>= 3.0.5', '< 3.2'
  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
  gem 'spring'
  gem 'spring-watcher-listen', '~> 2.0.0'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Gemfile.lock
<No /Users/User_name/Documents/Studies/Coursera/Ruby/my_first_app/my_first_app/Gemfile.lock found>

--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=incompatible+library+version+-+%2FUsers%2FUser_name%2F.rvm%2Fgems%2Fruby-2.4.3%40global%2Fgems%2Fpsych-3.0.2%2Flib%2Fpsych.bundle&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/bundler/bundler/issues/new
run  bundle exec spring binstub --all
Ignoring bigdecimal-1.3.3 because its extensions are not built.  Try: gem pristine bigdecimal --version 1.3.3
bundler: command not found: spring
Install missing gem executables with bundle install
User_names-Air:my_first_app User_name$ run bundle exec speing binstub  --all
-bash: run: command not found
User_names-Air:my_first_app User_name$ bundle install
Could not locate Gemfile
User_names-Air:my_first_app User_name$ rails --version
Ignoring bigdecimal-1.3.3 because its extensions are not built.  Try: gem pristine bigdecimal --version 1.3.3
Ignoring nokogiri-1.8.1 because its extensions are not built.  Try: gem pristine nokogiri --version 1.8.1
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.4.0 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.4.0
Ignoring gem-wrappers-1.3.2 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.3.2
Ignoring json-2.1.0 because its extensions are not built.  Try: gem pristine json --version 2.1.0
Ignoring nio4r-2.2.0 because its extensions are not built.  Try: gem pristine nio4r --version 2.2.0
Ignoring openssl-2.1.0 because its extensions are not built.  Try: gem pristine openssl --version 2.1.0
Ignoring psych-3.0.2 because its extensions are not built.  Try: gem pristine psych --version 3.0.2
Ignoring websocket-driver-0.6.5 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.6.5
Rails 5.1.5

This is not a Bundler issue, you need to check your ruby environment, you're loading gem extensions that were built for another version of Ruby. I suggest checking out  the bundle pristine command and making sure that you're installing your gems in the same version of ruby that you're using to run bundle exec.

Thank you @colby-swandale , That helped.


Get a misleading error message when uploading file to data endpoint without setting a file name

If uploading a file to the /namespaces/{ns}/data endpoint, and the file name is "" or not set, the request will fail with a misleading error message:
{
"error": "FF10218: Error reading multi-part form input: EOF"
}

https://github.com/hyperledger/firefly/blob/e9b7b74be7a0bd0719313b8dc35f265c84100d28/internal/apiserver/server.go#L130-L152

Heyy @lil131 , can I work on this issue?

func uploadHandler(w http.ResponseWriter, r *http.Request) {
// Check if the file name is empty or not set
file, header, err := r.FormFile("file")
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
defer file.Close()
if header.Filename == "" {
	http.Error(w, "Error: File name is empty or not set", http.StatusBadRequest)
	return
}

fmt.Fprintf(w, "File uploaded successfully!")

}


Drop testing of mayavi plotting

And focus on pyvista instead

Codecov Report

Merging #365 (1db5049) into main (813efd6) will decrease coverage by 7.70%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #365      +/-   ##
==========================================
- Coverage   95.92%   88.21%   -7.71%
==========================================
  Files          49       49
  Lines        1765     1757       -8
  Branches      229      229
==========================================
- Hits         1693     1550     -143
- Misses         30      166     +136
+ Partials       42       41       -1

Impacted Files
Coverage Δ

mne_nirs/visualisation/tests/test_visualisation.py
80.85% <100.00%> (-19.15%)
:arrow_down:

mne_nirs/statistics/_roi.py
13.88% <0.00%> (-75.00%)
:arrow_down:

...e_nirs/visualisation/_plot_nirs_source_detector.py
20.83% <0.00%> (-75.00%)
:arrow_down:

mne_nirs/tests/test_examples.py
38.88% <0.00%> (-50.00%)
:arrow_down:

mne_nirs/visualisation/_plot_GLM_topo.py
68.11% <0.00%> (-28.27%)
:arrow_down:

mne_nirs/statistics/_statsmodels.py
80.51% <0.00%> (-10.39%)
:arrow_down:

...rs/datasets/fnirs_motor_group/fnirs_motor_group.py
93.33% <0.00%> (-6.67%)
:arrow_down:

mne_nirs/statistics/_glm_level_first.py
80.70% <0.00%> (-6.58%)
:arrow_down:

...e_nirs/signal_enhancement/_negative_correlation.py
100.00% <0.00%> (ø)

... and 1 more

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 813efd6...1db5049. Read the comment docs.


Disable predictive back gesture for Android 13

It causes flickering on some (e.g. MIUI) devices.
Closes #34

Fully disabling predictive gesture on Android 13 just because MIUI broke it (like they always do with Android features) doesn't seem like the best idea to me. Even Google doesn't disable it on their apps (e.g. Calculator). Fell free to make a new PR if you can somehow disable it only for MIUI devices.

In-app predictive back animations are not available until Anroid 14 anyway.
Anroid 13 only has the back-to-home animation, and it's behind a developer option.
I think it's worth to disable it.

I use it soooo

Just update to A14 :P


Restore mbox failing

Hey. Sorry, I'm new to a lot of this, so if I did something that was obviously wrong please let me know.
C:\gyb>gyb --email<EMAIL_ADDRESS>--action restore-mbox
Using backup folder<EMAIL_ADDRESS>Restoring from 1.28gb file<EMAIL_ADDRESS>mail Includin
g Spam and Trash.mbox...
Traceback (most recent call last):%
File "gyb.py", line 2190, in
File "gyb.py", line 1945, in main
File "gyb.py", line 574, in callGAPI
File "site-packages\googleapiclient_helpers.py", line 130, in positional_wrap
per
File "site-packages\googleapiclient\http.py", line 1493, in execute
File "gyb.py", line 1372, in restored_message
sqlite3.IntegrityError: datatype mismatch
[4788] Failed to execute script gyb

It looks like you are using a regular GYB backup folder to restore mbix files. Can you create an empty folder, place just the mbox files there and try again?

Okay.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Windows\system32>cd \gyb
C:\gyb>gyb --email<EMAIL_ADDRESS>--action restore-mbox --local-folder "C:\U
sers[redacted]\Documents\Takeout\Mail"
Using backup folder C:\Users[redacted]\Documents\Takeout\Mail
Traceback (most recent call last):
File "gyb.py", line 1125, in get_db_settings
sqlite3.OperationalError: no such table: settings
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gyb.py", line 2190, in
File "gyb.py", line 1559, in main
File "gyb.py", line 1129, in get_db_settings
AttributeError: 'OperationalError' object has no attribute 'message'
[1228] Failed to execute script gyb
C:\gyb>


Lab 6 - CRUD puppy with interface

Fixes #341
Review of colleague's PR #309
Changes proposed in this PR:

Implement CRUD puppy using interfaces
Test suite for both implementations of Storer

I've conducted a review.
Work looks pretty great really.
I made a few comments, none of them prevent merging, but just for some things for you to consider, and up to you whether to take my comments on board, or ignore them.
Good work.
I'll label as 'changes-requested', but if you don't think changes are required then resolve my comments, and i'll mark as colleague-approved ;)


WIP: Implemented init version of program generator

@danilk3 It's rather big PR, to be honest. I would suggest to split into a few small PR's (each chunk ~100-300 lines of code).  In this case we will be able to add all your classes into the main repository much faster. Moreover, if you start fix all linter suggestsions at once nor (all 3k lines of code) it might be extremely tedious for you.
From this article:

Make Small Pull Requests. Some recent research done by Caitlin Sadowski et al. from Google and the University of Zurich demonstrated that there is a strong correlation between change size and review quality: larger changes (pull requests) negatively affect quality. According to this article, Google developers are strongly encouraged to make small, incremental changes. Aside from Google, many others explicitly say the same: Microsoft, Zalando, Atlassian, and OpenSource.com.

@danilk3 Are you going to continue here?

@danilk3 Got it, thank you.


vagrant up error on TASK [postgresql : create role]

TASK [postgresql : create role] ************************************************
fatal: [vagrant]: FAILED! => {"msg": "Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user (rc: 1, err: chown: changing ownership of '/var/tmp/ansible-tmp-1537296109.78-112928098131943/': Operation not permitted\nchown: changing ownership of '/var/tmp/ansible-tmp-1537296109.78-112928098131943/postgresql_user.py': Operation not permitted\n}). For information on working around this, see https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user"}
to retry, use: --limit @/vagrant/full_deploy.retry

I'm not sure how to reproduce your issue. I'm running Vagrant on MacOS. I did have the error you mentioned before, which is why I added https://github.com/brocaar/loraserver-setup/blob/master/ansible.cfg to the repository and solved the issue (for me).
In case you can provide any hints, that would be great!
/p/tmp $ git clone git@github.com:brocaar/loraserver-setup.git
Cloning into 'loraserver-setup'...
remote: Counting objects: 466, done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 466 (delta 10), reused 44 (delta 9), pack-reused 409
Receiving objects: 100% (466/466), 70.52 KiB | 633.00 KiB/s, done.
Resolving deltas: 100% (159/159), done.
/p/tmp $ cd loraserver-setup/
/p/t/loraserver-setup (master|✚1) $ vagrant up
Bringing machine 'vagrant' up with 'virtualbox' provider...
==> vagrant: Importing base box 'debian/contrib-stretch64'...
==> vagrant: Matching MAC address for NAT networking...
==> vagrant: Checking if box 'debian/contrib-stretch64' is up to date...
==> vagrant: Setting the name of the VM: loraserver-setup_vagrant_1537343531326_63557
==> vagrant: Clearing any previously set network interfaces...
==> vagrant: Preparing network interfaces based on configuration...
    vagrant: Adapter 1: nat
==> vagrant: Forwarding ports...
    vagrant: 22 (guest) => 2222 (host) (adapter 1)
==> vagrant: Running 'pre-boot' VM customizations...
==> vagrant: Booting VM...
==> vagrant: Waiting for machine to boot. This may take a few minutes...
    vagrant: SSH address: <IP_ADDRESS>:2222
    vagrant: SSH username: vagrant
    vagrant: SSH auth method: private key
    vagrant:
    vagrant: Vagrant insecure key detected. Vagrant will automatically replace
    vagrant: this with a newly generated keypair for better security.
    vagrant:
    vagrant: Inserting generated public key within guest...
    vagrant: Removing insecure key from the guest if it's present...
    vagrant: Key inserted! Disconnecting and reconnecting using new SSH key...
==> vagrant: Machine booted and ready!
==> vagrant: Checking for guest additions in VM...
==> vagrant: Mounting shared folders...
    vagrant: /vagrant => /private/tmp/loraserver-setup
==> vagrant: Running provisioner: ansible_local...
    vagrant: Installing Ansible...
    vagrant: Installing pip... (for Ansible installation)
Vagrant has automatically selected the compatibility mode '2.0'
according to the Ansible version installed (2.6.4).

Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode

    vagrant: Running ansible-playbook...
 [WARNING]: Could not match supplied host pattern, ignoring: single_server

PLAY [install python] **********************************************************

TASK [install python-minimal] **************************************************
changed: [vagrant]

PLAY [single-server loraserver setup] ******************************************

TASK [Gathering Facts] *********************************************************
ok: [vagrant]

TASK [base : upgrade installed packages] ***************************************
 [WARNING]: Could not find aptitude. Using apt-get instead.

changed: [vagrant]

TASK [base : install packages] *************************************************
changed: [vagrant] => (item=apt-transport-https)
changed: [vagrant] => (item=iptables-persistent)
ok: [vagrant] => (item=sudo)
changed: [vagrant] => (item=libcap2-bin)

TASK [base : import LoRa Server gpg key] ***************************************
changed: [vagrant]

TASK [base : add LoRa Server deb repository] ***********************************
changed: [vagrant]

TASK [base : import postgresql gpg key] ****************************************
changed: [vagrant]
 [WARNING]: Module remote_tmp /root/.ansible/tmp did not exist and was created
with a mode of 0700, this may cause issues when running as another user. To
avoid this, create the remote_tmp dir with the correct permissions manually

TASK [iptables : allow connections on configured ports] ************************
changed: [vagrant] => (item={u'source': u'<IP_ADDRESS>/0', u'protocol': u'tcp', u'port': 22})
changed: [vagrant] => (item={u'source': u'<IP_ADDRESS>/0', u'protocol': u'tcp', u'port': 80})
changed: [vagrant] => (item={u'source': u'<IP_ADDRESS>/0', u'protocol': u'tcp', u'port': 1883})
changed: [vagrant] => (item={u'source': u'<IP_ADDRESS>/0', u'protocol': u'tcp', u'port': 1884})
changed: [vagrant] => (item={u'source': u'<IP_ADDRESS>/0', u'protocol': u'tcp', u'port': 443})
changed: [vagrant] => (item={u'source': u'<IP_ADDRESS>/0', u'protocol': u'udp', u'port': 1700})

TASK [iptables : allow established connections] ********************************
changed: [vagrant]

TASK [iptables : allow loopback input] *****************************************
changed: [vagrant]

TASK [iptables : allow loopback output] ****************************************
changed: [vagrant]

TASK [iptables : drop all other connections] ***********************************
changed: [vagrant]

TASK [iptables : persist iptables roles] ***************************************
changed: [vagrant]

TASK [letsencrypt : ubuntu install] ********************************************
skipping: [vagrant]

TASK [letsencrypt : debian stretch install] ************************************
included: /vagrant/roles/letsencrypt/tasks/debian_stretch.yml for vagrant

TASK [letsencrypt : add stretch-backports repository] **************************
changed: [vagrant]

TASK [letsencrypt : install certbot from backports] ****************************
changed: [vagrant]

TASK [letsencrypt : setup renew cron] ******************************************
changed: [vagrant]

TASK [postgresql : install packages] *******************************************
changed: [vagrant] => (item=python-psycopg2)
changed: [vagrant] => (item=postgresql)

TASK [postgresql : start postgresql on boot] ***********************************
ok: [vagrant]

TASK [postgresql : create databases] *******************************************
included: /vagrant/roles/postgresql/tasks/create_db.yml for vagrant
included: /vagrant/roles/postgresql/tasks/create_db.yml for vagrant

TASK [postgresql : create role] ************************************************
changed: [vagrant]

TASK [postgresql : create database] ********************************************
changed: [vagrant]

TASK [postgresql : create trgm extension] **************************************
changed: [vagrant]

TASK [postgresql : create role] ************************************************
changed: [vagrant]

TASK [postgresql : create database] ********************************************
changed: [vagrant]

TASK [postgresql : create trgm extension] **************************************
changed: [vagrant]

TASK [redis : install redis] ***************************************************
changed: [vagrant]

TASK [redis : start redis on boot] *********************************************
ok: [vagrant]

TASK [mosquitto : install packages] ********************************************
changed: [vagrant] => (item=mosquitto)
changed: [vagrant] => (item=mosquitto-clients)

TASK [mosquitto : copy mosquitto configuration] ********************************
changed: [vagrant]

TASK [mosquitto : start mosquitto on boot] *************************************
ok: [vagrant]

TASK [mosquitto-auth : copy acl configuration] *********************************
changed: [vagrant]

TASK [mosquitto-auth : create passwords file] **********************************
changed: [vagrant]

TASK [mosquitto-auth : set passwords] ******************************************
changed: [vagrant] => (item=None)
changed: [vagrant] => (item=None)
changed: [vagrant] => (item=None)
changed: [vagrant] => (item=None)
changed: [vagrant]

TASK [mosquitto-auth : copy mosquitto configuration] ***************************
changed: [vagrant]

TASK [lora-gateway-bridge : install lora-gateway-bridge] ***********************
changed: [vagrant]

TASK [lora-gateway-bridge : copy configuration] ********************************
changed: [vagrant]

TASK [lora-gateway-bridge : start lora-gateway-bridge on boot] *****************
changed: [vagrant]

TASK [loraserver : install loraserver] *****************************************
changed: [vagrant]

TASK [loraserver : copy configuration] *****************************************
changed: [vagrant]

TASK [loraserver : start loraserver on boot] ***********************************
changed: [vagrant]

TASK [lora-app-server : install lora-app-server] *******************************
changed: [vagrant]

TASK [lora-app-server : allow lora-app-server to bind to port 443] *************
changed: [vagrant]

TASK [lora-app-server : copy configuration] ************************************
changed: [vagrant]

TASK [lora-app-server : request letsencrypt certificate] ***********************
skipping: [vagrant]

TASK [lora-app-server : copy certificate files] ********************************
skipping: [vagrant] => (item={u'dest': u'http.pem', u'src': u'fullchain.pem'})
skipping: [vagrant] => (item={u'dest': u'http-key.pem', u'src': u'privkey.pem'})

TASK [lora-app-server : start lora-app-server on boot] *************************
changed: [vagrant]

TASK [lora-geo-server : install lora-geo-server] *******************************
changed: [vagrant]

TASK [lora-geo-server : copy configuration] ************************************
changed: [vagrant]

TASK [lora-geo-server : start lora-geo-server on boot] *************************
changed: [vagrant]

RUNNING HANDLER [mosquitto : restart mosquitto] ********************************
changed: [vagrant]

RUNNING HANDLER [lora-gateway-bridge : restart lora-gateway-bridge] ************
changed: [vagrant]

RUNNING HANDLER [loraserver : restart loraserver] ******************************
changed: [vagrant]

RUNNING HANDLER [lora-app-server : restart lora-app-server] ********************
changed: [vagrant]

RUNNING HANDLER [lora-geo-server : restart lora-geo-server] ********************
changed: [vagrant]

PLAY RECAP *********************************************************************
vagrant                    : ok=54   changed=47   unreachable=0    failed=0

==> vagrant: Machine 'vagrant' has a post `vagrant up` message. This is a message
==> vagrant: from the creator of the Vagrantfile, and not from Vagrant itself:
==> vagrant:
==> vagrant: Vanilla Debian box. See https://app.vagrantup.com/debian for help and bug reports

/p/t/loraserver-setup (master|✚1) $ vagrant version
Installed Version: 2.1.5
Latest Version: 2.1.5

You're running an up-to-date version of Vagrant!


added boringtun to the rust list

I have added BoringTun to the Rust list. Please merge it

@RupdeepDev Very interesting tool. Thank you!

BoringTun is - like WireGuard - not ready for production, because the WireGuard protocol is currently not ready for production applications, which is indicated by the documentation of the WireGuard project. Solutions that are not ready for production use do not meet the assumptions of this project and should not be merged into it.

@ad-m You're right. I have reverted merge in #255.


fix(integration/object_store): Fix metakey requested is incomplete

object_store uses more metadata than requrested, let's make sure they are aligned.

Hi, @George-Miao, all comments have been address. PTAL.


Allow TankModifier to produce negative velocity for inside wheel on tight curves

For Issue #36
I modified the logic in tank.c to detect when the left or right path is moving in the opposite direction as the original path. In such cases, I negate the distance which in turn generates a negative velocity.
I tested a bunch of tight turns, and the velocity goes negative as expected (i.e. when the inside path goes back on itself)

Could this now work with waypoint 0,0,0 to 0,0,90(degrees).   Previously and understandably it would produce sigsegs

It won't do that. It only addresses sharp turns in the rank modifier.


Blocking all emails on Outlook App (Android)

I have your list being pulled by my pi-hole blocker and noticed that whenever I am on my home network, the Outlook App on my mobile phone stops being able to load email messages.
I tracked it down to a blocked query of "mobile.pipe.aria.microsoft.com" which you have listed as "Office 2016 'Connected User Experience' Telemetry" "OneNote Telemetry Service"

mobile.pipe.aria.microsoft.com is one of the worst privacy offenders on my personal network. Skype uses it to, among other things, apparently eavesdrop in still unknown ways.
https://www.pcministry.com/win10_telemetry/summary_stats_and_conclusions/

Some programs(Avast for example) are using Google's DNS to resolve the domains responsible for updates and whatnot:

Blocking <IP_ADDRESS> here,in such a popular lists is not a option.

given your post and information regarding what else goes through this hostname it's probably a good idea to keep it on the blocklist. I think I'll stop using the default Outlook app on my phone for mail and switch to something better.
Any suggestions?

given your post and information regarding what else goes through this hostname it's probably a good idea to keep it on the blocklist. I think I'll stop using the default Outlook app on my phone for mail and switch to something better.
Any suggestions?

protonmail.com is a good safe place with encourage to use PGP encrypted mails

@dnmTX I really don't want to derail this conversation, but your point is exactly why <IP_ADDRESS> needs to be blocked. Don't you see the rampant privacy problems with Google being queried by third parties without your knowledge, informed consent, and going against 5 decades of how DNS server derivation (either via DHCP or static configuration) has been done?

<IP_ADDRESS>

that exactly why AS15169 is blocked in my routers firewall :smiley:

mobile.pipe.aria.microsoft.com is one of the worst privacy offenders on my personal network. Skype uses it to, among other things, apparently eavesdrop in still unknown ways.
https://www.pcministry.com/win10_telemetry/summary_stats_and_conclusions/
This issue may be more like whether we should or should not block <IP_ADDRESS> and <IP_ADDRESS> on our networks, as part of the greater anti-dystopia war we have all found ourselves in circa 2015/2016.
Sure, blocking <IP_ADDRESS> used to cause my Google Chromecast to seize up, claiming the Internet had gone down. But enough of us put our foot down and, after I had already migrated to another piece of hardware, apparently Google backpedaled and did the right thing and now <IP_ADDRESS> can be blocked and Chromecast works fine.
Other browsers, like Chrome on Android are/were hardcoding <IP_ADDRESS> as the DNS, so you lose privacy no matter what your personal actions are, without blocking those two public IPs. Next, I guess, they'll just start using secretive DNS IPs :-/

I personally block mobile.pipe.aria.microsoft.com but - according to the link you supplied- I don't actually see that it is a privacy offender.  Without any real inspection, you could deduce that it could be some keepalive request since it is frequently called.  It just gives us a warm fuzzy to see that it gets blocked a lot but it might be something that polls for new mail more frequently or something.
As for the <IP_ADDRESS> thingy, one thing I do on my pfSense firewall is redirect any DNS requests not going to my local DNS resolver to actually use it.  For example, if destination isn't <IP_ADDRESS> and TCP/UDP port 53, send it to <IP_ADDRESS> port 53.  Something like that.  I also include TCP/UDP port 853 since that is the common DNS over HTTPS/TLS port used.


Regular Project Maintenance

To keep the project up-to-date and functioning effectively, we need to establish a regular maintenance schedule that includes the following tasks:
Dependencies Update

Regularly update all project dependencies to their latest versions.
Ensure compatibility with the new backend system.
Identify and replace any deprecated packages with suitable alternatives.
Verify that all dependencies are compatible with the existing codebase.
Conduct regular reviews and merging of pull requests (PRs).

Hey @K-Phoen! Are there other people who can review/merge the PRs here to keep the plugins up-to-date or can you help get people here able to do so we can keep it alive?
Maybe also we can move it to Community Plugins!

Hello @K-Phoen
My company is also interrested in maintaining the plugin,
With your agreement, we will be pleased to open a pull-request to the Community Plugins in order to handover the code to the community.

Hey @fjudith !
That is awesome progress you have made there! 👏
I think probably @K-Phoen is not active here anymore seems feasible from the old issues that didn't get any interaction.
I would advise going on and opening an MR to add it to the official community plugins repo, the project has the MIT license which allows anyone to do whatever they want with the project from Modifications and distributions, you will just have to retain the same license content specifically the original creator name like here.
What do you think?

I feel with license power an extended version makes more sense

One more pr is needed to update the backstage plugins page reference to update the source.

@fjudith how can I install your version of the plugins until the MR gets merged?
I can't find it on https://yarnpkg.com/

@fjudith with the new pr does it support the new backend.

@riginoommen yes it does


[INF] Use netlify build hook instead of automatic build previews

This hopefully helps keep the build minutes usage under control. Previously, we would build on every commit. Now builds are triggered only on every successful build. It's still automatic, just not indiscriminate.

Netlify build previews aren't selectively trigger-able, unfortunately. All good, if we go over on minutes, I don't mind paying occasionally for the build previews, they are very useful for previewing builds.


Added new contribution

Uses SVG, lets you add multiple line obstacles, ray sources, and have varying colors and angles to cast rays out of
Running Demo:
https://nem0-97.github.io/RayCasting/index.html

Looks great ❤


train code

@Hangz-nju-cuhk  Hi, This work is amazing and I run the code. But  I have two questions:

could you release the train code? and How can we prepare our train data? Could you describe these steps in details?
After test, I find the  video generated is  jitters. But the demo you release is steady. Video Stabilization is important for this task.  I want to know how  you process this phenomenon?

Thanks a lot!

Thanks for reaching out. I already add the answers to your questions to README.
Our training code is preparing and will be released later. As for stabilization, we use the `Subspace Video Stabilization' (http://web.cecs.pdx.edu/~fliu/papers/tog2010.pdf) for postprocessing. Sorry that we forgot to mention this part before.

Hi，when will the training code be released? Have estimated time? Thx~

@JianxiangWang I will be working on sorting out the train code and upgrading the project to Pytorch 0.4.1 within this month. Hopefully, they will be released by December ><.

@ZHUTAO142857 We used a commercial non-sharable implementation, but we believe there are a great number of open-source projects on stabilization. This is a  mature technique which has been adopted largely for example in youtube.  We encourage you to find out yourself.

@Hangz-nju-cuhk
I wonder where can I get this "commercial non-sharable implementation"?

@mathmax12 actually you can find it in Adobe Premiere X)


feat: manual scale recommendations

Feature flagged
This feature is accessible only to the Aptible production organization.  This is so we can continue to QA scaling recommendations before GA.
Pics

Looks great! Here's my 2 changes:

Remove the exclamation point in the Apply to Scale button (we don't need it & we dont use exclamation points anywhere else inside buttons)

Remove the question mark after Cost Savings


[☀] make separate viewer handler for vdisk

Frontend issue - https://github.com/ydb-platform/ydb-embedded-ui/issues/617

Issue, related to backend, new issue is created in ydb repository: https://github.com/ydb-platform/ydb/issues/1062


whitelisting management lock and group tf resource

Resolves # . (This is applicable only if this pull request relates to a GitHub issue, delete the line otherwise)
Notes:
*
*
*

Avi why not give time for review


tun interface with network module does not recognize IP

Issue
Network module with tunneling interface shows as connected, but does NOT recognize IP (local_ip)
To Reproduce (example)

Connect to VPN
Use module

type = internal/network
interface = tun0
format-connected = <label-connected>
label-connected = %{F#fcfaa7}vpn: %local_ip%
label-connected-margin-left = 3

Polybar Log
No errors and warnings
Screenshots

Environment:

WM: i3
Distro: Arch
Output of polybar -vvv:

Polybar launched...
polybar 3.4.0

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Do you still have this issue?
Could you post the output of the ifconfig command?

Still not working
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  destination <IP_ADDRESS>
        inet6 fe80::edd1:11c5:15b7:2a38  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 112  bytes 5285 (5.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::e39a:a3cf:22fd:4a95  prefixlen 64  scopeid 0x20<link>
        inet6 fe80::af03:f1f7:a9a5:349c  prefixlen 64  scopeid 0x20<link>
        ether dc:f5:05:27:9f:b5  txqueuelen 1000  (Ethernet)
        RX packets 87335  bytes 291463148 (277.9 MiB)
        RX errors 0  dropped 12  overruns 0  frame 0
        TX packets 28901  bytes 109960739 (104.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

But polybar don't see it

Updated info
polybar -vvv
polybar 3.4.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

networks.ini
[module/networktun]
type = internal/network
interface = tun0
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-connected = tun0: %local_ip%
label-disconnected =
label-connected-margin-left = 3
label-disconnected-margin-left = 3

This does look very similar to the issue in #1986. We have fixed that one, but it's not in any release yet. If you want to, you can try the polybar-git package and see if it's fixed there.

Oh, I thought that it has been released. I will see if it works, and then inform you about issue status

Yup, it was it. Thanks a lot!

Awesome :)


Several changes

Substantive changes:

Change the semantics of the Gauge stat to report the last-seen value, not a sum.  We have the "Counter" and "Accumulator" stats for reporting sums.

Consequent change to the tests

Fix a bug whereby the controller was not sending its reports, and therefore the mite_runner_count metric (and a couple others) would not appear in prometheus

Add a test for this

Allow the scenario function to receive a sender object for the mite data pipeline if needed.  Dependency-inject this, and the config argument, "properly" (by looking at the signature of the function).

Test changes:

introduce a "slow" mark for tests.  You can skip the slow tests locally by running pytest -m "not slow"
fix a deprecation warning in the test suite from msgpack library

At https://github.com/sky-uk/mite/pull/120/files#diff-f768c2d8aec809f495425dbf2bdb92f3R88 we have an example of running the "real" runner, duplicator, and controller with the multiprocessing module.  This might be interesting beyond the test suite, so I call attention to it here.
The above changes are to support the chaos testing with tc in our private test suite code.

There's nothing inside our various stats modules that expected the previous behaviour of the Gauge?

I don't think so.  The "dump" method of the Gauge class in stats.py just turns the value into a number.  That's ingested by the Gauge class in web/prometheus.py, but that just copies the value over from whatever it receives.
There's a bit of a code smell in terms of the duplication of logic between stats.py and web/prometheus.py, but I think that's because (for better or for worse) we're doing the aggregation in two stages.  Each mite stats process receives multiple messages from the runner/controller and aggregates them into one message to mite exporter.  The single mite exporter receives multiple messages from mite stats (either from multiple processes, or multiple times in the same scrape interval) and aggregates them into a single view when the prometheus scrape request comes in.
(My use case for the new kind of gauges is to record the latency introduced by tc.  We don't want to do any kind of summation there; we just have "whatever the latency was last set to on the pods").

Substantive changes:

Change the semantics of the Gauge stat to report the last-seen value, not a sum.  We have the "Counter" and "Accumulator" stats for reporting sums.

Consequent change to the tests

Fix a bug whereby the controller was not sending its reports, and therefore the mite_runner_count metric (and a couple others) would not appear in prometheus

Add a test for this

Allow the scenario function to receive a sender object for the mite data pipeline if needed.  Dependency-inject this, and the config argument, "properly" (by looking at the signature of the function).

Test changes:

introduce a "slow" mark for tests.  You can skip the slow tests locally by running pytest -m "not slow"
fix a deprecation warning in the test suite from msgpack library

At https://github.com/sky-uk/mite/pull/120/files#diff-f768c2d8aec809f495425dbf2bdb92f3R88 we have an example of running the "real" runner, duplicator, and controller with the multiprocessing module.  This might be interesting beyond the test suite, so I call attention to it here.
The above changes are to support the chaos testing with tc in our private test suite code.


Open Menu positioning breaks when scrolling below top of root trigger

Bug, feature request, or proposal:
Bug
What is the expected behavior?
It's expected that the menu stays positioned with the trigger
What is the current behavior?
When scrolling below the top of the trigger, the position of the open menu jumps down in proportion to the space between the trigger and top of the page + additional scroll
What are the steps to reproduce?

Open menu
Scroll down the page

https://stackblitz.com/edit/angular-rban4u
What is the use-case or motivation for changing an existing behavior?
user experience
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.0.3
Angular Material 6.2.1, CDK 6.2.1
Typescript 2.7.2
OSX High Sierra
Chrome, Safari, Firefox
Is there anything else we should know?

Closing as a duplicate of https://github.com/angular/material2/issues/11365.


RMD should update blocks on execute command

Currently if R code block is edited, it is updated when caret moves off the current line. This causes problem when user right-click and calls 'Execute Current Chunk' since command sees old code.

https://github.com/Microsoft/RTVS/commit/30b7dcc86b562c3678d27ea21130cbbb4c34a3b8


APIGOV-22869 Add job to check the Central health status

Create a job that frequently checks the status of the poll/stream client
When central health check fails, all jobs will fail. Needed since the stream/poll client are detached jobs.
Registered the periodicHealthCheck component as a job

I think this somewhat covers the ticket I opened this morning as well (in agent channel)

I think for that ticket we want to be more verbose, when failing on startup, as to the status of each healthcheck.
Something like
Amplify Central..success
API Manager......success
API Gateway......failed


[WIP]Send organisations to pub-api

Currently there are three types of organisations:

lead organisations
organisations
supporting organisations

Where: organisations = lead organisations + supporting organisations
GOV.UK publishing apps do send to the publishing-api the same organisation
types consistently.  We are going to modify all applications to send at least
the organisations hash. We will then:

update frontend applications to use the organisations hash and stop using the
supporting organisations hash
update publishing apps to stop sending the supporting organisations hash
drop the supporting organisations data in the publishing apps and in the
publishing api

ticket: https://trello.com/c/us3MI1n9/602-fix-organisation-tagging

The split between lead orgs and supporting orgs is important for some things in the frontend. Our rough plan for this was to specify which orgs are lead and which are supporting by putting their content ids in the details hash, which is ordered.

@boffbowsh we're considering keeping lead_organisations and organisations, and dropping supporting_organisations. Would this clash with your work?

I'd prefer to transition apps fully to only use organisations, and put the frontend distinction in the details hash.

Talked IRL. We're going to stop sending lead and supporting organisations to the publishing-api and use the details hash for aiding the frontend logic as @boffbowsh suggested.

👍 looks legit 🚢


PHP Site class BaseUrl method putting trailing slash at end of url if Public is document Root

https://github.com/zestframework/Zest_Framework/blob/master/src/Site/Site.php#L57
Live Demo (when Public is document root)
https://zestframework.xyz/index.php?zestinfo
If Public is not doc root then

Actually, this is about the exposed system information.
We should add the basic authentication to make sure that this information page is only available for admin users.

@peter279k  sorry, i delete your comment because you was misunderstand
The problem here with that if Public folder is not document root then this method ok but if public folder is document root it append extra slash at end of URL

#163

@peter279k  Patch had applied to Zest framework website
this issue has been resolved
https://zestframework.xyz/zestinfo


"exec" causes my terminal to hide all keyboard input upon exit

When I exec into an ACA pod (az containerapp exec -n echo2 -g default) and then exit (with and w/o doing commands in the pod), back on the non-containerized terminal I can't see what I type. I think something with the "exec" CLI is setting some tty stuff and isn't resetting it before exiting. So, for this flow:

az containerapp exec -n echo2 -g default
exit (in the pod and you can see that right before the "INFO" line)
hit enter a few times now that I'm back at the normal terminal, and I see this (notice each prompt is on the same line and you can't see that I typed "exit" but you can see the "logout" that the system echo'd):

[dev]root@dev:~$ az containerapp exec -n echo2 -g default
INFO: Connecting to the container 'c1'...
WARNING: Use ctrl + D to exit.
INFO: Successfully connected to container: 'c1'. [ Revision: 'echo2--iq63mpt', Replica: 'echo2--iq63mpt-7d6fb6c777-tn9zx']
/ # exit
INFO: received success status from cluster
WARNING: Disconnecting...
[dev]root@dev:~$ [dev]root@dev:~$ [dev]root@dev:~$ logout
Connection to dev closed.

@StrawnSC can you please take a look?

I should mention, my CLI is on Linux/Ubuntu.

@strawnSC any update on this? It's kind of annoying having to kill my terminal after each 'exec'

Hey @duglin, sorry for the delay here. I was able to repro this earlier but couldn't figure out the root cause (as far as I could tell, we were resetting all the TTY settings we set to make ssh work). I no longer work on ACA CLI, but let me see if I can get someone assigned to this

For people impacted, in addition to the good old reset  command from bash,  you can also do stty echo to avoid loosing the scroll you had in the terminal

Any update on this one?  @anthonychu

What was done to consider this as completed @simonjj ? Any link to a commit or PR ?


tmp

Change-Id: I50669e5e5fc428a4eca080459d26f1839d441668

Code Review comments can be found at https://gerrithub.io/q/I50669e5e5fc428a4eca080459d26f1839d441668


Make data-logger build from source in firmware builds.

https://github.com/Hivemapper/hdc_firmware/issues/225
This simplifies updating hdc_firmware. You only need to change VERSION to match the commit you want to test.
It is also possible to test changes locally by using make data-logger-rebuild.

Verified that you can build data-logger with a new firmware repo.  Keep in mind that the new build will be ~20 min slower the first time (due to building the go host tools) and ~5 min slower subsequent times (because we're now building the data-logger from scratch).
This is on the old HDC machine, for the new one the build increase is probably negligible


fix(TCOMP-422): Ensure that HDFS runtimes do not share ClassLoader.

This uses a fix in Daikon that gives RuntimeInfo classes finer control over how SandboxedInstances are created.  The JarRuntimeInfo is modified to implement SandboxControl and a parameter added to the constructer to specify whether the ClassLoaders are reused.  No other RuntimeInfos should be affected and the default behaviour remains the same for all other components.
Some Beam cloned classes were moved to a non-beam package (inside org.talend instead of org.apache) and removed from the base ClassLoader.  In the past, this was necessary to modify some package-private behaviour, but is no longer necessary or desirable.  All of the HDFS classes must be dynamically loaded throught the uncached ClassLoader.
What is the current behavior? (You can also link to an open issue here)
All runtime instances reuse their ClassLoaders from a cache if possible.
Some beam packages were cloned and included in the simplefileio-runtime module in order to have package access to beam variables.
What is the new behavior?
It is possible to specify whether the ClassLoader is reused, although the default behaviour remains the same.
HDFS runtime instances will not reuse classloaders.
The Beam HDFS and hadoop jars are removed from the parent classloader and {{org.apache}} package so they are always dynamically loaded.
See TCOMP-422 for a discussion on how this fixes a problem with some odd user credentials that were expiring on clusters with KMS encryption.
Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Pull request test result: failure :x:

The related Daikon PR: https://github.com/Talend/daikon/pull/249

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: success :star:


Redirect to http on accessing the web GUI prevents access behind proxy

Hi,
I wonder if you can help me. I was running v2.3.1 behind a web proxy proxying to the non-SSL http page as SSL with certificates. Unfortunately, on upgrading to v3.0.5 there is an automatic re-direct to http forced by WG Dashboard. For example, if I access the WG Dashboard server IP directly on: http://<IP_ADDRESS>:10086 I get the following re-direct http://<IP_ADDRESS>:10086/signin?redirect=http://<IP_ADDRESS>:10086/
Trying to access through an FQDN and SSL via my proxy the proxy will throw a 403 error as the https connection is being re-direct to http and my proxy is set to always connect via https.
Is there a setting or way to prevent this re-direct from occurring? It has only come about in v3.0.5.
Fantastic project btw!

Hi! I'm sorry that you encountered this problem. If you access the dashboard though the proxy, it will become https? So the URL should be https://<IP_ADDRESS>:10086/signin

Hi,
Accessthing through the proxy on an FQDN on https wg dashboard re-directs me to the http version, this is when my proxy will throw a 403 as it is set not to serve http traffic behind a domain for which it has ssl.
For example if I access WG Dashboard via the proxy on https://wg.mydomain.co.uk I get the following URL presented in my browser: https://wg.mydomain.co.uk/signin?redirect=http://wg.mydomain.co.uk/
Thanks so much!

Oh I see, so in your case, it should do redirect=https://... right?

That's right but it seems to redirect to http only, there must be a setting to change this, I am just not sure where this would be in your implementation and others might encounter the same issue.

I thought i hardcoded http into the code but found out i didn't. I think is because how your proxy work, so you request https traffic to the proxy server, and behind the proxy server, it was using http. So when the dashboard reads the request url, is a http url. I've pushed a fix to the main branch, if you have time, could you please check it out and let me know if it works. You can do the following in wgdashboard directory:
git pull https://github.com/donaldzou/WGDashboard.git && chmod +x src/wgd.sh

Thanks very much for your responses, I can confirm that following the git pull it works! It now loads through the proxy https following the redirect.
You are right, that is how the proxy is configured to work which makes sense why it was re-directing to http only.
Thanks for fixing, that's brilliant as we can now use through a proxy.

I'm glad to hear that!! I'm going to do a new release ;)

I am still having issues with this update behind a reverse proxy.
@arranpaul what reverse proxy do you use? & What browser do you use?
I use NGINX Proxy Manager and while using firefox I get the Internal Server Error. This does not happen when using a private browser tab (incognito).
Can you share your setup / configuration?


Upgrade turbo

Description
Upgrades our turbo configuration to latest recommendations:

[x] Uses workspace configuration for those apps that require custom build steps
[x] Ensures .next/cache/** changes do not trigger rebuild.
[x] Improves global ENV and dependencies.
[x] Standardises dev for both Next.js and Storybook apps as well as mark them as persistence since they're long running tasks.

Fixes #418
Type of change

[ ] Chore

Screenshots
N/A
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas

Looks ok. @kilemensi Is using Timing necessary?

Necessary? Probably not @kelvinkipruto. It's just there to have cache outputs.

Pro Tip for caching ESLint: You can get a cacheable pretty terminal output (even for non-errors) by setting TIMING=1 variable before eslint.


Attempt to wrap MatCreateComposite

Hi there,
Thanks for all the work creating this cool wrapper! I've been trying to wrap MatCreateComposite, and my attempt is shown below. For the original function in PETSc, see https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatCreateComposite.html#MatCreateComposite
function MatCreateComposite(comm::MPI.Comm, nmat::PetscInt, mats::Vector{PetscMat}, mat::PetscMat)
    error = ccall((:MatCompositeAddMat, libpetsc), PetscErrorCode, (MPI.MPI_Comm, PetscInt, Ptr{CMat}, Ptr{CMat}),
                            comm, nmat, [x.ptr for x in mats], mat.ptr)
    @assert iszero(error)
end

I've been getting segmentation faults when trying to use this function. In particular, I'm not sure that I'm handling the const Mat *mats argument correctly. I've never used C before, so I'm quite the novice to its syntax. I understand that the "*mats" means this input is passed by reference rather than value, so I should be passing in pointers. However, I'm not sure if [x.ptr for x in mats] is the right way to pass in the pointers for the vector of Mat types.
I've been trying to mirror the set up in https://www.mcs.anl.gov/petsc/petsc-current/src/mat/tutorials/ex9.c.html FYI.
Here is the example script I've been trying to use (based on your linear_system.jl)
using PetscWrap
PetscInitialize()

# Number of mesh points and mesh step
n = 11
Δx = 1. / (n - 1)

# Create a matrix and a vector
A = MatCreate() # place holder to which we write the final matrix
A1 = MatCreate() # component 1 of the composite matrix
A2 = MatCreate() # component 2 of the composite matrix
b = VecCreate()

# Set up
MatSetSizes(A1, PETSC_DECIDE, PETSC_DECIDE, n, n) # not absolutely sure this step is necessary
MatSetSizes(A2, PETSC_DECIDE, PETSC_DECIDE, n, n) # same for this step
VecSetSizes(b, PETSC_DECIDE, n)

# We can then use command-line options to set our matrix/vectors.
MatSetFromOptions(A1)  # not absolutely sure this step is necessary
MatSetFromOptions(A2) # same for this step
VecSetFromOptions(b)

# Finish the set up
MatSetUp(A1)  # not absolutely sure this step is necessary
MatSetUp(A2) # same for this step
VecSetUp(b)

# Build the b vector
b_start, b_end = VecGetOwnershipRange(b)

# Now let's build the right hand side vector. Their are various ways to do this, this is just one.
n_loc = VecGetLocalSize(b) # Note that n_loc = b_end - b_start...
VecSetValues(b, collect(b_start:b_end-1), 2 * ones(n_loc))

# And here is the differentiation matrix. Rembember that PETSc.MatSetValues simply ignores negatives rows indices.
A_start, A_end = MatGetOwnershipRange(A1) # A1 is going to hold one diagonal of the differentiation matrix
for i in A_start:A_end-1
    MatSetValues(A1, [i], [i-1], [-1.] / Δx, INSERT_VALUES) # MatSetValues(A, I, J, V, INSERT_VALUES)
end

A_start, A_end = MatGetOwnershipRange(A2) # A2 is going to hold another diagonal
for i in A_start:A_end-1
    MatSetValues(A2, [i], [i], [1.] / Δx, INSERT_VALUES) # MatSetValues(A, I, J, V, INSERT_VALUES)
end

# Set boundary condition (only the proc handling index `0` is acting)
(b_start == 0) && VecSetValue(b, 0, 0.)

# Assemble matrices
VecAssemblyBegin(b)
VecAssemblyEnd(b)
MatCreateComposite(2, [A1, A2], A) # segmentation fault occurs here, but I'm trying to do A = A1 + A2

Hi,
I completely missed your issue notification. I'll take a look ASAP.

Take a look at the branch 'composite' from the project. I have added a create_composite_add(matrices) function (in src/fancy/mat.jl). It creates a matrix from the sum of the elements of matrices. I've only checked the result on two 2×2 matrices.
I've also added the MatMult function.
However, I am not better than you with the C language : I've failed wrapping the MatCreateComposite directly, so I've implemented the "alternative version" proposed in the PETSc documentation.
Please tell me if this dev matches your need. Note that adding a version of the product of multiple matrices is very easy.

I have merged the "composite" branch into master. A demo is available in test/misc. Don't hesitate to tell me if something's wrong or if you need anything else.

Thanks! I'll be taking a look soon and will let you know if anything is wrong. I'll reopen the issue if it doesn't seem to work.


Error accessing OpenSSH_8.8p1, OpenSSL 3.0.1

Describe the bug
After updating server to OpenSSH_8.8p1, OpenSSL 3.0.1
webssh  iOS is not able to connect to the server using the usual private key.
As a reference I can add that the ssh client I use in windows (PUTTY) needed to be updated to support the new ssh version - should the same be done with webssh pro ?
Informations

Device : iPhone Xr, iPad 2020
OS : iOS 15.2.1
WebSSH Pro version :16.3 (836) /

Screenshots
If applicable, add screenshots to help explain your problem.
To Reproduce
Steps to reproduce the behavior:
Try to connect to the previous defined server with the private key and it fails after ssh was updated with the above mentioned version.
reported error by web ssh "Provided credentials are bad".
reported error by the server: "userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms"
(using updated PUTTY for windows or termius for IOS works ok)

I've also enrolled in the beta program and the same problem happens in the current available version for iPad.

Hello @nvdias0 👋
Thank you a lot for your feedback 🙏

reported error by the server: "userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms"

You have just updated PuTTY without making a new key?
Your key is always in ssh-rsa format?
Doesn't the key format is now deprecated? https://bbs.archlinux.org/viewtopic.php?pid=1995438#p1995438

I'm also searching on my side if algorithms exchange need to be updated.

Hi.
following your questions:
Have you just updated PuTTY without making a new key?
Yes. Just updated putty
Does your key is always in ssh-rsa format?
Yes.
Doesn't the key format is now deprecated?
I thought it was safe than using only password.

I thought it was safe than using only password.

Sure. I was only talking about your key length (1024, 2048, 4096).
But if you say that only PuTTY upgrade solves the problem I should search on my side for new group exchange communication.

Yes. Anyway I created a new key for testing. Used ssh-keygen from the server running the sshd.
Other client works ok with the new key.
Webssh refuses connection.
error: connection established but cannot open a session.
Sshd reports  dispatch_protocol_error: type 90 seq 6 [preauth]
I’m available if you need more info or testing

Thank you so much for your strong feedback 👍
Yes could you also provide the client log please?

iOS Settings
WebSSH
Settings
Log Level > Verbose
Restart WebSSH
Reproduce your action
Find the log files inside iOS > Files > WebSSH

2022/02/05 17:23:59:940 [VERBOSE] Prefered language is set to : en
2022/02/05 17:23:59:940 [VERBOSE] Want to change language to : en
2022/02/05 17:23:59:940 [VERBOSE] Language is now : en
2022/02/05 17:23:59:945 [VERBOSE] Selected language : en
2022/02/05 17:24:00:697 [VERBOSE] Did become active [AppDelegate]
2022/02/05 17:24:00:704 [VERBOSE] No pin code set. WebSSH won't be locked.
2022/02/05 17:24:00:973 [DEBUG] Fetching from iCloud with a change token
2022/02/05 17:24:01:087 [DEBUG] Launch_APP_Count_17.0 : 7
2022/02/05 17:24:01:089 [DEBUG] Launch_APP_Count : 27
2022/02/05 17:24:01:116 [VERBOSE] IAP already purchased : com.webssh.pro.unlimited
2022/02/05 17:24:02:054 [DEBUG] iCloud data fetched with success.
2022/02/05 17:24:04:039 [VERBOSE] Want to connect with a Private Key
2022/02/05 17:24:04:063 [VERBOSE] Private Key is encrypted : 1
2022/02/05 17:24:10:461 [VERBOSE] Want to connect with a Private Key
2022/02/05 17:24:10:462 [VERBOSE] Private Key is encrypted : 1
2022/02/05 17:24:10:464 [VERBOSE] Load Private Key in OpenSSH Format
2022/02/05 17:24:10:638 [VERBOSE] Launching connection...
2022/02/05 17:24:10:638 [VERBOSE] Connecting to SSH...
2022/02/05 17:24:10:638 [VERBOSE] Launching connection with block...
2022/02/05 17:24:10:639 [VERBOSE] Won't dismiss prompt because no one is displayed.
2022/02/05 17:24:10:971 [DEBUG] Connected to : ndias.abuser.eu
2022/02/05 17:24:11:193 [DEBUG] Challenge Authentication Success!
2022/02/05 17:24:11:409 [VERBOSE] Dismissing prompt...
2022/02/05 17:24:13:014 [VERBOSE] Error : Connection established but can not open a session
2022/02/05 17:24:15:974 [DEBUG] Fetching from iCloud with a change token
2022/02/05 17:24:16:671 [DEBUG] iCloud data fetched with success.
2022/02/05 17:24:16:899 [DEBUG] Application will resign active [AppDelegate]
2022/02/05 17:24:18:226 [DEBUG] Application Did Enter Background

2022/02/05 17:23:59:940 [VERBOSE] Prefered language is set to : en
2022/02/05 17:23:59:940 [VERBOSE] Want to change language to : en
2022/02/05 17:23:59:940 [VERBOSE] Language is now : en
2022/02/05 17:23:59:945 [VERBOSE] Selected language : en
2022/02/05 17:24:00:697 [VERBOSE] Did become active [AppDelegate]
2022/02/05 17:24:00:704 [VERBOSE] No pin code set. WebSSH won't be locked.
2022/02/05 17:24:00:973 [DEBUG] Fetching from iCloud with a change token
2022/02/05 17:24:01:087 [DEBUG] Launch_APP_Count_17.0 : 7
2022/02/05 17:24:01:089 [DEBUG] Launch_APP_Count : 27
2022/02/05 17:24:01:116 [VERBOSE] IAP already purchased : com.webssh.pro.unlimited
2022/02/05 17:24:02:054 [DEBUG] iCloud data fetched with success.
2022/02/05 17:24:04:039 [VERBOSE] Want to connect with a Private Key
2022/02/05 17:24:04:063 [VERBOSE] Private Key is encrypted : 1
2022/02/05 17:24:10:461 [VERBOSE] Want to connect with a Private Key
2022/02/05 17:24:10:462 [VERBOSE] Private Key is encrypted : 1
2022/02/05 17:24:10:464 [VERBOSE] Load Private Key in OpenSSH Format
2022/02/05 17:24:10:638 [VERBOSE] Launching connection...
2022/02/05 17:24:10:638 [VERBOSE] Connecting to SSH...
2022/02/05 17:24:10:638 [VERBOSE] Launching connection with block...
2022/02/05 17:24:10:639 [VERBOSE] Won't dismiss prompt because no one is displayed.
2022/02/05 17:24:10:971 [DEBUG] Connected to : xxxxx
2022/02/05 17:24:11:193 [DEBUG] Challenge Authentication Success!
2022/02/05 17:24:11:409 [VERBOSE] Dismissing prompt...
2022/02/05 17:24:13:014 [VERBOSE] Error : Connection established but can not open a session
2022/02/05 17:24:15:974 [DEBUG] Fetching from iCloud with a change token
2022/02/05 17:24:16:671 [DEBUG] iCloud data fetched with success.
2022/02/05 17:24:16:899 [DEBUG] Application will resign active [AppDelegate]
2022/02/05 17:24:18:226 [DEBUG] Application Did Enter Background

I don't understand

reported error by the server: "userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms"

and

2022/02/05 17:24:10:971 [DEBUG] Connected to : xxxxx
2022/02/05 17:24:11:193 [DEBUG] Challenge Authentication Success!
2022/02/05 17:24:13:014 [VERBOSE] Error : Connection established but can not open a session

In first case it seems authentication can't be done but on the second case it's more related to the session itself :/
I'm trying to update the SSH library but don't have ETA yet.

@nvdias0
I have build an alpha release.
Would you like to beta test it or do you prefer wait for a beta instead?

I’m more than happy to try the alpha release. How should I proceed to access it ?

@nvdias0 I should send you a private alpha access link on your email.
Could you send me your address? => TEAM [aT) WEBSSH (DoT] NET

send :) thanks.

sent :) thanks

Ah yes, and the WebSSH full log of the connection with the error:
022/02/18 18:55:12:219 [VERBOSE] Prefered language is set to : en
2022/02/18 18:55:12:219 [VERBOSE] Want to change language to : en
2022/02/18 18:55:12:219 [VERBOSE] Language is now : en
2022/02/18 18:55:12:243 [VERBOSE] Selected language : en
2022/02/18 18:55:14:068 [VERBOSE] Want to connect with a Private Key
2022/02/18 18:55:14:085 [VERBOSE] Private Key is encrypted : 1
2022/02/18 18:55:14:089 [VERBOSE] Load Private Key in PuTTY Format
2022/02/18 18:55:14:179 [VERBOSE] Launching connection...
2022/02/18 18:55:14:181 [VERBOSE] Connecting to SSH...
2022/02/18 18:55:14:181 [VERBOSE] Launching connection with block...
2022/02/18 18:55:14:182 [VERBOSE] Won't dismiss prompt because no one is displayed.
2022/02/18 18:55:14:568 [DEBUG] Connected to : xxxxxxxxxxx
2022/02/18 18:55:14:611 [DEBUG] Challenge Authentication Success!
2022/02/18 18:55:14:729 [DEBUG] Dismissing prompt...
2022/02/18 18:55:16:856 [VERBOSE] Error : Connection established but can not open a session

Thank you a lot @nvdias0 for your string feedback 👍
I will enhance logs in order to have more information about :

2022/02/18 18:55:16:856 [VERBOSE] Error : Connection established but can not open a session

I will come back to you with another alpha release

@isontheline Related notes :

https://community.atlassian.com/t5/Bitbucket-articles/OpenSSH-8-8-client-incompatibility-and-workaround/ba-p/1826047
https://www.openssh.com/txt/release-8.7

ssh -oHostKeyAlgorithms=-ssh-rsa user@host

I'm making a container with OpenSSH 8.8 to test WebSSH against

@nvdias0 Current workaround is to use ECDSA or ED25519 keys
I'm trying to find the root cause for RSA keys

Attaches: test-key.pub --> public key test-key-putty.ppk -> private key in putty format test-key-openssh -> private key in openssh format
Password for private key: test

@nvdias0 I dont have found your attachments. Could you please post them again?

of course. sorry for that.
test-key.zip

@nvdias0 Current workaround is to use ECDSA or ED25519 keys
I'm trying to find the root cause for RSA keys
Tried with
ecdsa-sha2-nistp256
Encryption: aes256-cbc

Same behavior on the server with the ssh most recent version.
(same log results)

Thanks for the keys!
I have made up a container with the latest OpenSSH server :
FROM debian:unstable-20220125

RUN apt-get update && apt-get -y upgrade && \
    DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
    openssh-server rsyslog pwgen

RUN mkdir /var/run/sshd

RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config

EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]

I encounter "Unable to connect : bad credentials", so I'm able to reproduce the impossibility to connect with a RSA key.
I don't encounter the same error as you, strange. But I have an error.

Great.
Let me share some more tests:
After disabling "force keyboard iteractive" in webssh,
ecdsa and ed25519 keys are working ok.
Now when trying to use ssh2-rsa keys the errors are:
server:	userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
webssh:	provided credentials are bad  (the same you've got)
putty:     connects ok.
NOTE:
I'm able to force webssh to connect with old ssh-rsa by forcing compatibility with the old key format exchange to the server running the latest openssh version (as per openssh release notes):
-oHostkeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa
(maybe this could be helpful. I believe the keys must be sent as ssh-2 )

@nvdias0 Thank you again for your strong feedback 🙏

After disabling "force keyboard iteractive" in webssh, ecdsa and ed25519 keys are working ok.

Nice to hear, so it could be a temporary workaround in order to use WebSSH with OpenSSH 8.8

Now when trying to use ssh2-rsa keys the errors are: server: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] webssh: provided credentials are bad (the same you've got) putty: connects ok.

I'm searching why PuTTY can use out of the box the RSA keys with OpenSSH 8.8

NOTE: I'm able to force webssh to connect with old ssh-rsa by forcing compatibility with the old key format exchange to the server running the latest openssh version (as per openssh release notes): -oHostkeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa (maybe this could be helpful. I believe the keys must be sent as ssh-2 )

Good to know that these switch works for a temporary workaround. Yes you're right the format should be the root cause.

@nvdias0 I will provide you a new alpha build in 24-48 hours

Hello @nvdias0 👋
Could you check latest alpha release WebSSH 17.1 867?
Thank you

"Accepted publickey for .....  ssh2: RSA SHA256: ......."
(Used a ssh2 rsa with 3072 bit)
It works !  😁
Thank you for your awesome work in debugging this issue.

@nvdias0 You're Welcome!
Thank you so much for prompt and strong feedbacks 🙏
I'm reopening this issue until I'm merging the fix in the beta release.
Have a nice day @nvdias0 ☀


Broken tfplan.json if --terragrunt-include-module-prefix is used

Describe the bug
Combination of --terragrunt-include-module-prefix and --terragrunt-json-out-dir … results in JSON file being invalid because module prefix is being included inside of JSON.
[/home/brain/Projects/gooddata/iac/ns1/zones/getgooddata.info/zone] {"format_version":"1.2","terraform_version":"1.8.1",…

Expected behavior
JSON file should be valid and not having any module prefix.
Nice to haves

[x] Terminal output
[ ] Screenshots

Versions

Terragrunt version: 0.57.8
OpenTofu/Terraform version: 1.8.1
Environment details (Ubuntu 20.04, Windows 10, etc.): Fedora 39

Included fix in https://github.com/gruntwork-io/terragrunt/releases/tag/v0.58.2


Suggested Solution to Apply with LinkedIn hiding Submit and Cancel Buttons

Currently, on lower resolution monitors such as 1366 x 768 and below, the send and cancel buttons are out of view.   An example can be found in #41
Additions

I have added the Apply with LinkedIn Button to the right side detail card.

Removals

The Apply with Linkedin Button from the Application Modal.
I removed the formatting on the alert dialogue to retry the LinkedIn integration   (This also reduces the size of the modal and it isn't aesthetically abrasive)
Removed 5 Rows from the Skills & Work Experience field to fit on the lower resolution screens.

Testing

Tested in Chrome in Multiple Resolutions

on a 1366 x 768 laptop display
Emulating 1100 x 799 resolution
emulating 1280 x 720

Tested in Multiple Mobile Resolutions

360 x 640
435 x 773
768 x 1024

I have ran the gulp test and gulp protractor and have not received any errors

Review

Anyone, please let me know if you have any questions or Suggestions

Screenshots
Before (courtesy of the creator of 41)

After

Notes

This solution reduces the number of clicks to apply to a job.
This is also important becuase a large majority of mid to low end laptops or older laptops 3 years or older are at or below the resolutions that this pull request fixes.

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the contributing guide
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices

Hey, @bulbajackel—
Nice work on this so far! I do like where this is headed. I did have a thought: Do you like having the LinkedIn pop-up warning message contained in the modal now that the apply button is on the details page? I saw the styles were moved to the details controller, but not that little piece of text. I wonder how that would look. What are your thoughts?
Nice work on this!
K.

I did move the warning message to the detail originally,  however when the modal appears the container darkens the warning message, removing attention away from it. Also I would have had to switch the container for the modal to have "pointer event: none;" so you could click through to retry.  That seemed a bit messy to me.
Another reason I left it on the modal is for the mobile users, they will not be able to retry without it remaining on the modal page.  I am extremely open to suggestions however.  Another thought I had was to wait on opening the LinkedIn Modal until the data has been added from the LinkedIn API, but I was not too sure on that.

Good points! In order for that UX to work, we would need to make sure that the LinkedIn data was present before firing off the modal. Could you wrap the open modal logic in a promise to prevent it from opening unless (1) there was data provided from LinkedIn or (2) the user wanted to organically apply?
Also, we'll want to disable both when the user has applied.

I have added the logic to the PR.   I restricted the modal from opening in "modal.controller.js" unless the user is loaded.   I also added to the LinkedIn service "this.SharedData.modalState = 'open';"  to open the modal when the user is loaded.
As Always, I'm open to input, please let me know if you have any more questions/suggestions

Hi there I have deployed the latest version career-portal-v1.5.0.zip
But fetched a problem with Apply with LinkedIn Option.
Error Message "Heads Up! If the LinkedIn sign in page does not appear shortly, please make sure your browser allows pop-ups. Click here to retry."
though my browser allows pop-ups.
Please guide me.

Are you running this locally or on a server?

@krsween I have deployed it on Server.
IP Details.
http://<IP_ADDRESS>:8080/career-portal/
you can also check the error from your browser.

@developergoutam In order to activate your Apply with LinkedIn integration, you must whitelist development and production environment IP addresses and/or hostnames with the application you created at LinkedIn Developer. In your case you would whitelist http://<IP_ADDRESS>:8080.
Can you verify this? Sign into https://www.linkedin.com, navigate to https://www.linkedin.com/developer/apps, select your app, and click 'JavaScript' in the lefthand menu to see the valid SDK domains you've whitelisted.

@john-pennington
Thank you very much for your kind help.
Thank you again....

Thanks @john-pennington and @developergoutam. Your suggestions helped me solve the intial problem of getting Apply with LI to work. I was getting the popup error. Once I added the career url to the "Valid SDK domain", that solved the issue.
Now I am able to get the LI sign-in popup, upon sign-in LI sends Name, email and description to the bullhorn apply page. But upon clicking "Submit" I get the following error (see pic below):
"There was an error when applying. Try again"

Seems to me like a Bullhorn error. Can one of you help with this.

Ok, so I called BH Support and seems like the issue occurs when someone who already has a record in our system applies. Any ideas on how to resolve this issue?

Hi kolagotlaa,
Apologies for any confusion on this - the behavior you have observed should only occur when the email address used with the application is associated to a deleted candidate record in your Bullhorn system. You may wish to follow that open issue here, as it is unrelated to Apply with LinkedIn: https://github.com/bullhorn/career-portal/issues/51
If you are logged into Bullhorn, you can observe the deleted candidate that caused the error you received by navigating to this URL in the same browser session: https://www.bullhornstaffing.com/BullhornStaffing/OpenWindow.cfm?Entity=Candidate&id=1367
(Your specific candidate will not be visible to Bullhorn users on other instances with this link.)
Here is the basic overview of how applications should be processed:
1 - If an applicant submits their resume with an email address that is not already on a candidate record in your system, the candidate record is created.
2 - If an applicant submits their resume with an email address that is already associated to a candidate record, their new resume is added to the existing record's files tab, and each job they apply to is recorded. You also have the option for a returning applicant's most recently submitted resume to be automatically parsed to their record.
3 - If a candidate applies whose email address is associated to a deleted candidate record, as above, an error occurs and the application is not processed. As a best practice, we recommend removing email addresses from deleted records, or using a status value to indicate the candidate is unfit/inactive, rather than deleting the record. This will prevent the behavior you have observed.

Thanks a bunch @kbushkoBH. Its helpful to know that the issue occurs only in the case of deleted candidates.


New version (Lite): Mozilla.Firefox version 130.0

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run

@wingetbot run

@stephengillie is there any chance you can manually review this? It has way less installers than the full size Firefox PR and the current version contains vulnerabilities so really hoping to get this patched.


Could not download reference symbols.

Please include the following with each issue:
1. Describe the bug
Whenever I create a new AL Project in vscode, i get this error:
[2021-04-20 19:39:46.46] Could not download reference symbols. Please ensure that:

The correct server name and instance are specified in the launch.json file.
The correct application version is specified in the app.json file.
The dependencies are correctly specified in the app.json file.
Microsoft (R) AL Compiler version <IP_ADDRESS>380
Copyright (C) Microsoft Corporation. All rights reserved

2. To Reproduce
Steps to reproduce the behavior:

Press Alt+A, Alt+L to trigger the AL Go! command, choose a path to a new empty folder and which version to run. Then choose Microsoft cloud sandbox as the server.
Enter the credentials that you provided for the sign-up.
watch the output window throw this error.

After you complete steps above:

Press Ctrl+Shift+B
watch the output window throw this error.

3. Expected behavior
Symbols should be download correctly from a fresh project.
4. Actual behavior
5. Versions:

AL Language: <IP_ADDRESS>380
Visual Studio Code: 1.55.2
Business Central: 18.0.23013.23532
List of Visual Studio Code extensions that you have installed: None

Here is my launch.json and app.json in the zip file
zip.zip

Is your environment called "sandbox" or "Sandbox" ?

Is your environment called "sandbox" or "Sandbox" ? Try with environmentname: Sandbox

I have tried it with "environmentName": "Sandbox", and I get the same results:
[2021-04-26 08:49:40.63] Using reference symbols cache path: c:\Games\ALProject2./.alpackages
[2021-04-26 08:49:40.65] Authenticating...
[2021-04-26 08:49:41.51] Authenticated.
[2021-04-26 08:49:41.51] Authenticated as user<EMAIL_ADDRESS>Please note that these credentials are cached. Clear the credentials cache to authenticate as another user.
[2021-04-26 08:49:41.51] Targeting Dynamics 365 Business Central.
[2021-04-26 08:49:41.52] Sending request to https://api.businesscentral.dynamics.com/v2.0/Sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=<IP_ADDRESS>
[2021-04-26 08:49:41.52] Sending request to https://api.businesscentral.dynamics.com/v2.0/Sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS>
[2021-04-26 08:49:42.37] The request for path /v2.0/Sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=<IP_ADDRESS> failed with code NotFound. Reason: Not Found
[2021-04-26 08:49:42.49] The request for path /v2.0/Sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS> failed with code NotFound. Reason: Not Found
[2021-04-26 08:49:42.49] Could not download reference symbols. Please ensure that:

The correct server name and instance are specified in the launch.json file.
The correct application version is specified in the app.json file.
The dependencies are correctly specified in the app.json file.
Microsoft (R) AL Compiler version <IP_ADDRESS>380
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project 'ALProject2' containing '1' files at '8:49:42.567'.
error AL1045: The package cache c:\Games\ALProject2./.alpackages could not be found.
Compilation ended at '8:49:42.581'.
Error: The package could not be created.

I also clear the credentials just in case that would cause an issue.

Hello, is there any status on this ticket? Do i need to contact another support avenue for any support on this?

If you require assistance within a short-time-frame, you should go through the support channels mentioned in the README of this repository. We only provide a best-effort approach to handling issues.

We will look into this, but if this is a SaaS sandbox, you should reach out to customer support for a mitigation. What we are working on from the tooling side is improving the error message so that you know what the issue is.

hi @ravenboilinux were you able to find a solution for this? I am having a similar issue.

Yes I was able to get help with MS Support for this issue
From: nbs33 @.>
Sent: Monday, June 7, 2021 5:53 PM
To: microsoft/AL @.>
Cc: Michael Joye @.>; Mention @.>
Subject: Re: [microsoft/AL] Could not download reference symbols. (#6585)
hi @ravenboilinuxhttps://github.com/ravenboilinux were you able to find a solution for this? I am having a similar issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AL/issues/6585#issuecomment-856289131, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA7IZSQWGN5KPNURXU7US6TTRU5URANCNFSM43JH6IUA.

Thank you for the response. I've been running into dead ends on this one so
I will reach out for support. I haven't with AL or Microsoft products very
much. Can you where I can go for this specific support?
On Mon, Jun 7, 2021 at 6:05 PM Michael Joye @.***>
wrote:

Yes I was able to get help with MS Support for this issue
From: nbs33 @.>
Sent: Monday, June 7, 2021 5:53 PM
To: microsoft/AL @.>
Cc: Michael Joye @.>; Mention @.>
Subject: Re: [microsoft/AL] Could not download reference symbols. (#6585)
hi @ravenboilinuxhttps://github.com/ravenboilinux were you able to find
a solution for this? I am having a similar issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<
https://github.com/microsoft/AL/issues/6585#issuecomment-856289131>, or
unsubscribe<
https://github.com/notifications/unsubscribe-auth/AA7IZSQWGN5KPNURXU7US6TTRU5URANCNFSM43JH6IUA>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AL/issues/6585#issuecomment-856294546, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUMQTMAWJDSBMSYETYHH6VDTRU7CDANCNFSM43JH6IUA
.

This would be the business central support, my case was that I was trying to target a sandbox, which I need to create
From: nbs33 @.>
Sent: Monday, June 7, 2021 7:10 PM
To: microsoft/AL @.>
Cc: Michael Joye @.>; Mention @.>
Subject: Re: [microsoft/AL] Could not download reference symbols. (#6585)
Thank you for the response. I've been running into dead ends on this one so
I will reach out for support. I haven't with AL or Microsoft products very
much. Can you where I can go for this specific support?
On Mon, Jun 7, 2021 at 6:05 PM Michael Joye<EMAIL_ADDRESS>wrote:

Yes I was able to get help with MS Support for this issue
From: nbs33<EMAIL_ADDRESS>Sent: Monday, June 7, 2021 5:53 PM
To: microsoft/AL<EMAIL_ADDRESS>Cc: Michael Joye<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/AL] Could not download reference symbols. (#6585)
hi @ravenboilinuxhttps://github.com/ravenboilinux were you able to find
a solution for this? I am having a similar issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<
https://github.com/microsoft/AL/issues/6585#issuecomment-856289131>, or
unsubscribe<
https://github.com/notifications/unsubscribe-auth/AA7IZSQWGN5KPNURXU7US6TTRU5URANCNFSM43JH6IUA>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AL/issues/6585#issuecomment-856294546, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUMQTMAWJDSBMSYETYHH6VDTRU7CDANCNFSM43JH6IUA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AL/issues/6585#issuecomment-856319728, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA7IZSUMMEE7RKSCKXLRV6LTRVGUXANCNFSM43JH6IUA.

Thanks again for the help. I will reach out to the BC support and
investigate the issue with the sandbox.
On Mon, Jun 7, 2021 at 8:59 PM Michael Joye @.***>
wrote:

This would be the business central support, my case was that I was trying
to target a sandbox, which I need to create
From: nbs33 @.>
Sent: Monday, June 7, 2021 7:10 PM
To: microsoft/AL @.>
Cc: Michael Joye @.>; Mention @.>
Subject: Re: [microsoft/AL] Could not download reference symbols. (#6585)
Thank you for the response. I've been running into dead ends on this one
so
I will reach out for support. I haven't with AL or Microsoft products very
much. Can you where I can go for this specific support?
On Mon, Jun 7, 2021 at 6:05 PM Michael Joye<EMAIL_ADDRESS>wrote:

Yes I was able to get help with MS Support for this issue
From: nbs33<EMAIL_ADDRESS>Sent: Monday, June 7, 2021 5:53 PM
To: microsoft/AL<EMAIL_ADDRESS>Cc: Michael Joye<EMAIL_ADDRESS>Mention
<EMAIL_ADDRESS>Subject: Re: [microsoft/AL] Could not download reference symbols.
(#6585)
hi @ravenboilinuxhttps://github.com/ravenboilinux were you able to
find
a solution for this? I am having a similar issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<
https://github.com/microsoft/AL/issues/6585#issuecomment-856289131>, or
unsubscribe<

https://github.com/notifications/unsubscribe-auth/AA7IZSQWGN5KPNURXU7US6TTRU5URANCNFSM43JH6IUA>.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AL/issues/6585#issuecomment-856294546,
or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AUMQTMAWJDSBMSYETYHH6VDTRU7CDANCNFSM43JH6IUA>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<
https://github.com/microsoft/AL/issues/6585#issuecomment-856319728>, or
unsubscribe<
https://github.com/notifications/unsubscribe-auth/AA7IZSUMMEE7RKSCKXLRV6LTRVGUXANCNFSM43JH6IUA>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AL/issues/6585#issuecomment-856360214, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUMQTMHM46P5LJAXCCFLL43TRVTQVANCNFSM43JH6IUA
.

Closing as the issue was redirected to support


Reduce default max cache size for DataHandlers

This should reduce the memory footprint for long simulations

Why not keep the default value and just pass in a smaller value for the high resolution runs we need it for?

Why not keep the default value and just pass in a smaller value for the high resolution runs we need it for?

I think that as long as the DataHandler is used in a TimeVaryingInput that is marching forward, we will only need up to two caches, so 2 is a better default everywhere. Also, changing it to a smaller value would require changing every instance of TimeVaryingInput in ClimaAtmos (and elsewhere to)