Struct.$clone() must clone nested structs

Steps To Reproduce
http://deck.net/75a54e5c5a0632cbd4ea9b08332136b1
public struct Struct1
{
    public Struct2 nested;
}

public struct Struct2
{
    public int field;
}

public class Program
{
    static public void Main()
    {
        var a = new Struct1();
        var b = a;
        a.nested.field = 5;
        Console.WriteLine("Expected 5:" + a.nested.field);//Actual 5
        Console.WriteLine("Expected 0:" + b.nested.field);//Actual 5
    }
}

Actual
$clone: function (to) {
            var s = to || new Demo.Struct2();
            s.field = this.field;
            return s;
        }

Expected
$clone: function (to) {
            var s = to || new Demo.Struct2();
            this.field.clone(s.field);
            return s;
        }

@AndreyZM - Thanks for the simplified sample. This really helps us isolate and reproduce issue.
Here's a DotNetFiddle demonstrating the same scenario:
https://dotnetfiddle.net/G9XOA9
We will do out best to fix this right away and get into the 15.0 release.

Related to #1613


Add 'spo list view list' command capability

Summary
Add a support for spo list view list command in order to :

[ ] Get all views informations for a targeted SharePoint list
[ ] Here the list of necessary parameters :

[ ] --listId / --listTitle (ID or Title not both)
[ ] -u, --webUrl Web URL

[ ] Support at least the following additional parameters :

[ ]  -o, --output
[ ]  --verbose
[ ]  --debug

To Do

[ ] Add command to solution
[ ] Write documentation of usage (MkDocs)

Spec looks good. You want to pick it up yourself or want to give someone else a shot at it?

I'll take it too, unless someone is faster than me ^^

All yours!


Add support for Lumen

Thanks for your PR. Will go through the code in the next days.
I've never really used Lumen and first have to setup a demo project to test the thing in both Lumen and Laravel (just want to be sure)

Looks fine for me.
Would be great if there would be a is_laravel or is_lumen helper. The changes made in af112f67c994bcf037c291d266be32c4ec9f1bbb, fba70c3aaf982cd9413b18f4c3d71210e6fd36d5 and e8eaab00c86a39cdd0dcf23878bc7ceb7514b9e4 are kinda ugly.
Even if I don't like comments that much, maybe it would be great to write some comments to see, that those changes have been made for Lumen compatibility.

I've tagged a new release: 1.7.0 🎉

I used $router because in Lumen the Application does the routing. In Laravel the Kernel class resolves to the Router. It was mainly to indicate: "Hey, this thing does the routing".
I agree about a helper to determine if running Lumen or Laravel (tho not through a function, because I don't want to polute the global functions). Although this check might be costly, therefore I'd have to figure out some sort of caching. I'll kinda figure this out next week and send another PR, aight?

Thanks for the clarification. I've never used Lumen before and didn't know there were such big differences.
Concerning the detecting if it's Lumen or Laravel: I think the current state is fine and adding such a function just adds more weight. I've added some declarative comments yesterday and I'm fine with that 🤷♂ .
I've tried yesterday to come up with a way to check if an app is Larvel or Lumen: The easiest way is to check if php artisan --version contains the string "Lumen". But that feels a like a hack. I also would but that logic into a separate package, as I think other package developers could use that.
In summary: the current state of the package is fine for me. If you want to tackle that problem and you find a clean solution then go for it.


Remove csv operator for otel

Description of Changes
Removed the CSV Operator in favor of the newly updated OTel operator from release 0.24.0
Please check that the PR fulfills these requirements

[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)
~- [ ] Add a changelog entry (for non-trivial bug fixes / features)~ (Coming in larger v2 changelog)
[ ] CI passes

Log Files
Logs / Second
CPU Avg (%)
CPU Avg Δ (%)
Memory Avg (MB)
Memory Avg Δ (MB)

1
1000
1.4828047
-0.31035352
127.36126
-1.8309555

1
5000
5.534641
-0.6551056
135.80186
-1.7382812

1
10000
10.51751
-1.2414322
144.90167
-3.7062225

1
50000
51.2937
-13.362015
184.12433
+4.6423798

1
100000
95.535194
-36.294533
235.3839
+4.1593475

10
100
1.9655904
-0.2068237
131.48128
-1.5309753

10
500
6.5173044
-1.1207838
140.15207
+1.4703674

10
1000
11.724296
-1.8104477
145.92538
-1.4187622

10
5000
56.345963
-10.206764
185.94868
+8.348068

10
10000
106.21074
-26.966965
235.52074
+6.817749


change the description in every page

Description of the enhancement
I want to change this part on every page according to girl script boilerplate.
Screenshots

@abhu-A-J is already working on this


Should dispatch change event on main select input

After selecting an item from the dropdown, the select input is updated but no change event is dispatched.

Hey,
Yes, it does not by itself (plugin wise), but you can actually set an EventListener to the original checkbox and make that work.

Whenever it updates the value to the original select box, it should dispatch a change event on the original select box. If it doesn't dispatch any event the the event listener will not work.


Connect Decidable and Shallow refinements

In the current codebase, the main exercised path to create a Horn query is by parsing Horn or Sprite grammar, so that Smalltalk predicates are wrapped in DecidablePredicates over Smalltalk source strings; those are compiled during an early stage of Horn-solving.  This approach was adopted for initial compatibility with LiquidHaskell.  As the code matures, we should move toward actual Smalltalk executable functions, starting from something along the lines of ShallowRefinement.

The proper way of doing this, is by integrating with something like the Type Inferencer in Francisco Garau's dissertation "Concrete Type Inference in Squeak".  Right now, many examples (esp. the tests in L₅ and L₆) already execute Smalltalk code on "pure formulæ" (aka Cardano–Tartaglia "cose"), resulting in instances of EMessageSend which are later resolved in #smt2: and similar places.


update changelog and package-lock

package-lock changes are just version updates from running npm install with npm 8.3.0

Codecov Report

Merging #10977 (a77c3ef) into release/release-2022.07.100 (84625f0) will increase coverage by 0%.
The diff coverage is n/a.

:exclamation: Current head a77c3ef differs from pull request most recent head 5e0988a. Consider uploading reports for the commit 5e0988a to get more accurate results

@@                     Coverage Diff                      @@
##           release/release-2022.07.100   #10977   +/-   ##
============================================================
  Coverage                           63%      63%
============================================================
  Files                              482      482
  Lines                            33851    33851
  Branches                          5518     5518
============================================================
+ Hits                             21463    21472    +9
+ Misses                           10344    10341    -3
+ Partials                          2044     2038    -6

Impacted Files
Coverage Δ

src/kernels/jupyter/baseKernelConnectionWrapper.ts
35% <0%> (-3%)
:arrow_down:

src/kernels/common/baseJupyterSession.ts
80% <0%> (-1%)
:arrow_down:

src/kernels/helpers.ts
60% <0%> (-1%)
:arrow_down:

src/platform/msrCrypto/msrCrypto.js
16% <0%> (-1%)
:arrow_down:

src/platform/common/utils/localize.ts
76% <0%> (+<1%)
:arrow_up:

src/kernels/execution/cellExecution.ts
73% <0%> (+<1%)
:arrow_up:

src/notebooks/debugger/debuggerVariables.ts
68% <0%> (+<1%)
:arrow_up:

src/notebooks/debugger/kernelDebugAdapterBase.ts
79% <0%> (+2%)
:arrow_up:

src/notebooks/debugger/debuggingManagerBase.ts
75% <0%> (+6%)
:arrow_up:

src/notebooks/debugger/debugger.ts
77% <0%> (+11%)
:arrow_up:

known test flakiness


can't set notebook css variables with jupyter.runStartupCommands

Environment data

VS Code version: 1.71.2
Jupyter Extension version (available under the Extensions sidebar): v2022.9.1002511105
Python Extension version (available under the Extensions sidebar): v2022.15.12731017
OS and version: Windows 11 21H2 22000.1042
Python and/or Anaconda version: 3.10.6
Type of virtual environment used: conda
Jupyter server running: Local

Expected behaviour
"jupyter.runStartupCommands" should be able to style the notebook with CSS code using the IPython.core.display module.
Actual behaviour
The notebook's style does not change.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

add to settings.json:

  "jupyter.runStartupCommands": [
    "from IPython.core.display import HTML",
    "HTML('''",
    "<style>",
    ".cell-output-ipywidget-background {",
    "background-color: transparent !important;",
    "}",
    ".widget-label {",
    "color: white !important;",
    "}",
    ".widget-readout {",
    "color: white !important;",
    "}",
    "</style>''')"
  ],

try running a notebook cell containing the following (test case to fix widget appearance with VSCode dark theme):

import ipywidgets as widgets

widgets.IntSlider(
    min=0,
    max=10,
    step=1,
    description='Slider:',
    value=3
)

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

info 11:27:02.223: Restart requested file:///c%3A/Users/sadguitarius/dev/notebooks/scratch/widget%20tests.ipynb
info 11:27:02.224: Restart kernel execution
info 11:27:02.224: Restarting 4b838e45-e190-4b68-b9e8-50edc67d73a0
info 11:27:02.226: Got env vars with python c:\Users\sadguitarius\.local\opt\mambaforge\envs\sg\python.exe, with env var count 84 and custom env var count 0 in 2ms
info 11:27:02.230: Process Execution: > ~\.local\opt\mambaforge\envs\sg\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> ~\.local\opt\mambaforge\envs\sg\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
info 11:27:02.284: Got env vars with python c:\Users\sadguitarius\.local\opt\mambaforge\envs\sg\python.exe, with env var count 84 and custom env var count 0 in 2ms
info 11:27:02.284: Got env vars with python c:\Users\sadguitarius\.local\opt\mambaforge\envs\sg\python.exe, with env var count 84 and custom env var count 0 in 1ms
info 11:27:02.293: Process Execution: > ~\.local\opt\mambaforge\envs\sg\python.exe -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9008 --control=9006 --hb=9005 --Session.signature_scheme="hmac-sha256" --Session.key=b"dd2615f9-7b91-4c1b-adc9-d70c2a9bd840" --shell=9007 --transport="tcp" --iopub=9009 --f=c:\Users\sadguitarius\AppData\Roaming\jupyter\runtime\kernel-v2-32948zCsk0Uqfs32t.json
> ~\.local\opt\mambaforge\envs\sg\python.exe -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9008 --control=9006 --hb=9005 --Session.signature_scheme="hmac-sha256" --Session.key=b"dd2615f9-7b91-4c1b-adc9-d70c2a9bd840" --shell=9007 --transport="tcp" --iopub=9009 --f=c:\Users\sadguitarius\AppData\Roaming\jupyter\runtime\kernel-v2-32948zCsk0Uqfs32t.json
info 11:27:02.293: Process Execution: cwd: ~\dev\notebooks\scratch
cwd: ~\dev\notebooks\scratch
info 11:27:02.608: ipykernel version & path 6.16.0, ~\.local\opt\mambaforge\envs\sg\lib\site-packages\ipykernel\__init__.py for c:\Users\sadguitarius\.local\opt\mambaforge\envs\sg\python.exe
info 11:27:03.530: Kernel Output: To connect another client to this kernel, use: --existing c:\Users\sadguitarius\AppData\Roaming\jupyter\runtime\kernel-v2-32948zCsk0Uqfs32t.json

info 11:27:03.649: Got new session 5894b570-7e27-4d33-97b7-e7281ea93fed
info 11:27:03.649: Started new restart session
info 11:27:03.649: Dispose Kernel process 37968.
warn 11:27:03.806: 2022-10-02 11:27:03,804 UTC - WARNING - Unknown command: DISPOSE_INTERRUPT_HANDLE:2:1836

info 11:27:03.883: UpdateWorkingDirectoryAndPath in Kernel

Thanks for filing this issue, unfortunately outputs of startup comments are not processed to inject HTML/CSS content.
This is because there's no visible cell, hence we don't have any place to add the output when such commands run.
These startup commands are supported today as a means to initialize the kernel state, and not the uI state.
Closing this as a duplicate of https://github.com/microsoft/vscode-jupyter/issues/7161 (which I believe is what you're trying to work around)


[kzl-852] Document.count body is optional

:warning: depends on https://github.com/kuzzleio/kuzzle/pull/1214
What does this PR do?
Following https://github.com/kuzzleio/kuzzle/pull/1214, reverts the change applied in https://github.com/kuzzleio/documentation-V2/pull/110

 Snippets tests reports   SDK Version Tests overview      v6        v5                                   :heavy_minus_sign:                    v1        v1        v1


[ubuntu, windows] Default Go version will be set to 1.15 on February, 8

Breaking changes
We will set Go 1.15 as a default version for Ubuntu and Windows images.
Target date
Image deployment will start February, 8 and will take 3-4 days
The motivation for the changes
Go 1.15 is the most popular version on our images, so we'd like to provide it as a default one.
Possible impact
If your project is incompatible with Go 1.15 — your builds will be broken.
Virtual environments affected

[x] Ubuntu 16.04
[x] Ubuntu 18.04
[x] Ubuntu 20.04
[ ] macOS 10.13
[ ] macOS 10.14
[ ] macOS 10.15
[ ] macOS 11.0
[x] Windows Server 2016 R2
[x] Windows Server 2019

Mitigation ways
Consider using actions/setup-go for GitHub Actions and GoTool for Azure DevOps to install required Go version in runtime.

Breaking changes
We will set Go 1.15 as a default version for Ubuntu and Windows images.
Target date
Image deployment will start February, 8 and will take 3-4 days
The motivation for the changes
Go 1.15 is the most popular version on our images, so we'd like to provide it as a default one.
Possible impact
If your project is incompatible with Go 1.15 — your builds will be broken.
Virtual environments affected

[x]  Ubuntu 16.04
[x]  Ubuntu 18.04
[x]  Ubuntu 20.04
[ ]  macOS 10.13
[ ]  macOS 10.14
[ ]  macOS 10.15
[ ]  macOS 11.0
[x]  Windows Server 2016 R2
[x]  Windows Server 2019

Mitigation ways
Consider using actions/setup-go for GitHub Actions and GoTool for Azure DevOps to install required Go version in runtime.

Breaking changes
We will set Go 1.15 as a default version for Ubuntu and Windows images.
Target date
Image deployment will start February, 8 and will take 3-4 days
The motivation for the changes
Go 1.15 is the most popular version on our images, so we'd like to provide it as a default one.
Possible impact
If your project is incompatible with Go 1.15 — your builds will be broken.
Virtual environments affected

[x]  Ubuntu 16.04
[x]  Ubuntu 18.04
[x]  Ubuntu 20.04
[ ]  macOS 10.13
[ ]  macOS 10.14
[ ]  macOS 10.15
[ ]  macOS 11.0
[x]  Windows Server 2016 R2
[x]  Windows Server 2019

Mitigation ways
Consider using actions/setup-go for GitHub Actions and GoTool for Azure DevOps to install required Go version in runtime.

Default Go version has been set to 1.15. PR has been merged

All the deployments finished


Query().destroy not supporting timeout although it's a bulk operation

Seeing as the query().destroy() in turn is a bulk operation it would be good to add a timeout to this.
I'd be happy to work on this and create a PR if some guidance could be given.

when doing a bulk update/query like this:
https://jsforce.github.io/document/#update-delete-queried-records
it uses the bulk APIs so you can just set it like when using the bulk methods:
https://jsforce.github.io/document/#bulk-api

NOTE: In some cases for large data sets, a polling timeout can occur. When loading large data sets, consider changing Bulk.pollTimeout and Bulk.pollInterval property value, or using the one of the calls above with the built in batch.poll() or polling manually.
conn.bulk.pollTimeout = 25000; // Bulk timeout can be specified globally on the conn

and conn.bulk2.pollTimeout if using the Bulk V2 API.
That said, we could expose the polling options as args to destroy/update here:
https://jsforce.github.io/jsforce/classes/query.Query.html#destroy
https://jsforce.github.io/jsforce/types/query.QueryDestroyOptions.html
to avoid setting  "global" polling options that affect other bulk operations.


latest_testflight_build_number crashes in 2.125.0

New Regression Checklist

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

Regression Information

Breaking version: 2.125.0
Last working version: 2.124.0

Regression Description

Running latest_testflight_build_number (or app_store_build_number with live set to false) crashes with undefined method '[]' for Spaceship::ConnectAPI::PreReleaseVersion with fastlane 2.125.0.
Complete output when running fastlane, including the stack trace and command used

bundle exec fastlane run latest_testflight_build_number --verbose
[✔] 🚀
DEBUG [2019-06-03 02:14:41.48]: Checking if there are any plugins that should be loaded...
DEBUG [2019-06-03 02:14:41.48]: Loading 'fastlane-plugin-trainer' plugin
INFO [2019-06-03 02:14:41.48]: gem 'fastlane-plugin-trainer' is already installed
+-------------------------+---------+---------+
|                Used plugins                 |
+-------------------------+---------+---------+
| Plugin                  | Version | Action  |
+-------------------------+---------+---------+
| fastlane-plugin-trainer | 0.4.1   | trainer |
+-------------------------+---------+---------+
Successfully loaded Appfile at path '/Volumes/DATA/My Documents/ILL/iPhone/Projects/ILL for iOS/git/IL101 for iOS/InnovativeLanguage.com/fastlane/Appfile'

app_identifier: [REDACTED]
apple_id: [REDACTED]
team_id: [REDACTED]

INFO [2019-06-03 02:14:41.75]: --------------------------------------------
INFO [2019-06-03 02:14:41.75]: --- Step: latest_testflight_build_number ---
INFO [2019-06-03 02:14:41.75]: --------------------------------------------
INFO [2019-06-03 02:14:41.90]: Login to App Store Connect ([REDACTED])
Reading keychain entry, because either user or password were empty
Loading session from '/Users/jason/.fastlane/spaceship/[REDACTED]/cookie'
Looking for App Store Connect Team with ID [REDACTED]
INFO [2019-06-03 02:14:43.06]: Login successful
Looking for related GitHub issues on fastlane/fastlane...
Search query: undefined method '[]' for Spaceship::ConnectAPI::PreReleaseVersion
URL: https://api.github.com/search/issues?q=undefined method `[]' for Spaceship%3A%3AConnectAPI%3A%3APreReleaseVersion+repo:fastlane/fastlane
➡  latest_testflight_build_number returns random data
https://github.com/fastlane/fastlane/issues/14606 [open] 25 💬
a day ago
➡  [spaceship/pilot] New Spaceship::ConnectAPI module and removal of Spaceship::TestFlight from Pilot and BuildWatcher
https://github.com/fastlane/fastlane/pull/14566 [closed] 6 💬
a day ago
➡  [spaceship, pilot] Getting "410 gone"
https://github.com/fastlane/fastlane/issues/14521 [closed] 177 💬
6 weeks ago
🔗  You can ⌘ + double-click on links to open them directly in your browser.
DEBUG [2019-06-03 02:14:48.43]: All plugins are up to date
bundler: failed to load command: fastlane (/usr/local/opt/gems/bin/fastlane)
NoMethodError: [!] undefined method []' for #<Spaceship::ConnectAPI::PreReleaseVersion:0x00007f96c88801b0>   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/actions/app_store_build_number.rb:47:in get_build_number'
/usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/actions/app_store_build_number.rb:11:in run'   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb:11:in run'
/usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/runner.rb:256:in block (2 levels) in execute_action'   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in execute_action'
/usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/runner.rb:235:in block in execute_action'   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/runner.rb:227:in chdir'
/usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/runner.rb:227:in execute_action'   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/one_off.rb:42:in run'
/usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/one_off.rb:22:in execute'   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/commands_generator.rb:221:in block (2 levels) in run'
/usr/local/opt/gems/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'   /usr/local/opt/gems/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
/usr/local/opt/gems/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
/usr/local/opt/gems/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/commands_generator.rb:333:in run'
/usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/commands_generator.rb:41:in start'   /usr/local/opt/gems/gems/fastlane-2.125.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off'
/usr/local/opt/gems/gems/fastlane-2.125.0/bin/fastlane:23:in <top (required)>'   /usr/local/opt/gems/bin/fastlane:23:in load'
/usr/local/opt/gems/bin/fastlane:23:in `<top (required)>'

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.5

Ruby
2.6.3

Bundler?
true

Git
git version 2.20.1 (Apple Git-117)

Installation Source
/usr/local/opt/gems/bin/fastlane

Host
Mac OS X 10.14.5 (18F132)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.6.3/lib

OpenSSL Version
OpenSSL 1.0.2r  26 Feb 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
10.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# fastlane Fastfile - Contains lane definitions for batch fastlane actions.
#                     This is fastlane's main point of entry.
# Author: Jason Charrier
# Created: April 10, 2017

# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

my_hostname = sh "hostname"

# default slack channel #il101-ios
ENV["SLACK_URL"] = "[REDACTED]"

# import shared lanes
import_from_git(url: '[REDACTED]',
               path: 'fastlane/Fastfile-ios')

# define things unique to this project
def test_on_simulator(device_type, the_hostname)
	my_hostname = the_hostname
	batch_count = 3

	# default to iPhone config
	devices = ["iPhone X"]
	# #il101-iphone-tests
	ENV["SLACK_URL"] = "[REDACTED]"
	slack_url = "--slack_url [REDACTED]"

	if device_type == "iPad"
		# #il101-ipad-tests
		ENV["SLACK_URL"] = "[REDACTED]"
		slack_url = "--slack_url [REDACTED]"
		devices.clear()
		devices = ["iPad (6th generation)"]
		#batch_count = 2
	end

	# enable Slack notificaitons only when running under CI server
	if !is_ci?
		slack_url = "https://"
		ENV["SLACK_URL"] = "https://"
	end

	if is_ci?
		slack(
			message: "#{device_type} Tests started on host: #{my_hostname}",
			#default_payloads: [],
			attachment_properties: { color: "#509BD2" }
		)
	end

	# make sure we have a valid dev cert and profile
	begin
		match(type: "development", readonly: true)
	rescue => ex
		UI.error("#{ex} - retry match and attempt to force recreate the profile")
		match(type: "development", force: true)
	end

	# run the tests
	run_tests(
		devices: devices,
		#only_testing: ["InnovativeUITests/HomeScreenUITests"]
	)
	trainer(
		output_directory: "test_output",
		extension: ".junit",
		fail_build: false
	)

	# gather code coverage
	begin
		xcov(
			scheme: "Innovative",
			only_project_targets: true,
			slack_url: ENV["SLACK_URL"]
		)
	rescue => ex
		UI.error("#{ex} - xcov action failed. Trying long form command")
		sh "xcov --scheme Innovative --workspace ../Innovative.xcworkspace --output_directory ./xcov_report --only_project_targets true #{slack_url}"
	end

	slather(
		scheme: "Innovative",
		workspace: "Innovative.xcworkspace",
		proj: "Innovative.xcodeproj",
		cobertura_xml: "true",
		jenkins: "true",
		output_directory: "slather_output",
		ignore: "ipadTest/openssl/*"
	)
end # // test_on_simulator

platform :ios do
	# Define lanes unique to this project
	desc "Runs ALL the iPhone tests"
	lane :"iphone-tests" do
		test_on_simulator "iPhone", my_hostname
	end # // iphonetests

	desc "Runs ALL the iPad tests"
	lane :"ipad-tests" do
		test_on_simulator "iPad", my_hostname
	end # // ipadtests

	after_all do |lane|
		# This block is called, only if the executed lane was successful

		# cleanup

	end # // after_all

end # // platform ios

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
# fastlane Appfile - Contains some basic app info for all fastlane actions
# Author: Jason Charrier
# Created: April 10, 2017

app_identifier "[REDACTED]" # The bundle identifier of your app
apple_id "[REDACTED]" # Your Apple email address

team_id "[REDACTED]" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.125.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-trainer
0.4.1
✅ Up-To-Date

Loaded gems

Gem
Version

bundler
2.0.1

CFPropertyList
3.0.0

concurrent-ruby
1.1.5

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
<IP_ADDRESS>

public_suffix
2.0.5

addressable
2.6.0

atomos
0.1.3

babosa
1.0.2

claide
1.0.2

clamp
1.3.0

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.7.1

cocoapods-deintegrate
1.0.4

cocoapods-downloader
1.2.2

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.1.0

netrc
0.11.0

cocoapods-trunk
1.3.1

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.2.0

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.4.0

nanaimo
0.2.6

xcodeproj
1.9.0

cocoapods
1.7.1

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

digest-crc
0.4.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.7.2

emoji_regex
1.0.1

excon
0.64.0

multipart-post
2.0.0

faraday
0.15.4

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.5

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.1

signet
0.11.0

googleauth
0.6.7

httpclient
2.8.3

mime-types-data
3.2019.0331

mime-types
3.2.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

google-cloud-storage
1.16.0

json
2.2.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.2.3

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.6.0

terminal-table
1.8.0

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

trainer
0.8.2

fastlane-plugin-trainer
0.4.1

mini_portile2
2.4.0

nokogiri
1.10.3

slather
2.4.7

xcov
1.5.0

generated on: 2019-06-03

Duplicate at https://github.com/fastlane/fastlane/issues/14845


OL4 - apparently ol.proj.transform doesn't "parseFloat()" coordinates

Hello,
I had a small headache with a proj transformation for a map center. While using view.setCenter() it kept pointing the [0,0] coordinates.
After some tests and struggles, it appears the float values weren't floats (coming from a JSON loaded via jquery) but string, and that I had to parseFloat() them while loading in the ol.proj.transform.
As I could grep parseFloat() in the ol code, I suspect its call isn't done everywhere.
Might be good to have a check on that.
Cheers,
C.

Please use parseFloat in your application.  The argument to view.setCenter() must be an array of numbers.


fix-ontario-flow

handle Ontario logic in progress-buttons
repositioned the base case in soil-conditions page to fix the flow

Your review app has been deployed and is available at 'http://,<IP_ADDRESS>,:,80,'.Learn More about how to test and provide feedback for the app.

Your review app has been deployed and is available at 'http://<IP_ADDRESS>:80'.Learn More about how to test and provide feedback for the app.


Provides hint in the task to disable/enable "Save all files before execute task"

#17016 as what @dbaeumer mentioned, hopefully this can be a feature request.
I would like to see this feature implemented soon.
Thanks.

As always things get speed up by a pull request.

duplicate of https://github.com/microsoft/vscode/issues/21342


next-typescript: next.config.js is incorrect

It needs to be:
const env =
	process.env.NODE_ENV === 'development'
		? {} // We're never in "production server" phase when in development mode
		: !process.env.NOW_REGION
		? require('next/constants') // Get values from `next` package when building locally
		: require('next-server/constants') // Get values from `next-server` package when building on now v2

module.exports = (phase, { defaultConfig }) => {
	if (phase === env.PHASE_PRODUCTION_SERVER) {
		// Config used to run in production.
		return {}
	}

	const withTypescript = require('@zeit/next-typescript')
	return withTypescript()
}

Otherwise the deployments fail.
Details at https://spectrum.chat/zeit/general/unable-to-import-module-now-launcher-error~2662f0ba-4186-402f-b1db-2e3c43d8689a

Can we not close issues without stating why they were closed?

https://github.com/vercel/next-plugins/issues/362#issuecomment-748030733


Deprecated plugin?

Since an official PHP plugin exists in OIDplus
https://github.com/danielmarschall/oidplus/tree/master/plugins/viathinksoft/objectTypes/php
should this repository be deleted to avoid confusion?
After all, you cannot install two plugins featuring the "php" object type, so you cannot install this plugin without uninstalling the official plugin.
Before deleting, please double-check that I got everything included what you need.

I will set it to archive/readonly. We can delete it later...!?

I didn't know that "archive/readonly" exists. Yes, that is fitting.


Update README.md for esp-modbus

typo fixed in esp-modbus documentation

Description

Related

Testing

Checklist
Before submitting a Pull Request, please ensure the following:

[ ] 🚨 This PR does not introduce breaking changes.
[ ] All CI checks (GH Actions) pass.
[ ] Documentation is updated as needed.
[ ] Tests are updated or added as necessary.
[ ] Code is well-commented, especially in complex areas.
[ ] Git history is clean — commits are squashed to the minimum necessary.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@kabirwbt,
Thank you for contribution the typo is confirmed and will be fixed.

@alisitsyn thanks for considering this.


some of the notebooks could go in the online tutorial

Some of the notebooks (the ones with simulators that do not need EPICS) could be added to the general tutorials for gitter.

not relying on gitter now, notebooks (and other) are in documentation


chore: global translations update - pt/es/fr/de

Description
weekly Globalization WS sync
Notice

[x] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[x] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

updated branches


Improve table lines

When using Fira Code, I noticed that the vertical lines look weird. I'm wondering if we can fix this or if it's just a problem on my end. Ideally, it should just look like a straight line.
brew install font-fira-code-nerd-font in iTerm (but seems to exist in IntelliJ terminal as well)

I think this is likely an issue with the font.


Updated matchmakingStatsData and readme

#165

Match group not ordered
rename the events in the readme to match the changes made in the handler
add a note near the top of readme to indicate your breaking change
and please squash to a single commit... or redo commits so they reflect actual changes

Thanks

also, in the readme part, if disabledGroups were a bitmask, the group numbers would go up with powers of two. The bitmask comment in your issue post was just a suggestion, we might need to play around with it some more to find out what exactly it is. @paralin do you have this function implemented in your c# code base yet? If so, anything to add as to how this parameter should be interpreted?

@Crazy-Duck I wasn't aware there was anything updated here. I'll have to look at it tonight.

I'm resetting my dev branch because git is hard.


updated InteractableInspector to fix mismatch repaint issue

Overview
Fix for Issue #4011
When initializing the Interactable the inspector does a check to see if the States property is not null. If it's null, then we try to fill it with the DefaultInteractableStates asset.
The issue came up when the States property was filled in the layout phase, but never rendered. During the repaint phase, now that the property is not null, we attempt to render the field in the inspector.
Changes
We are now rendering the field in both phases, in the layout phase after the property is filled.
Verification
I was able to consistently repro this by adding the Interactable component to a GameObject using the Add Component button in the inspector.
1 Create a new Scene
2 Add MRTK by selecting MRTK/Add to Scene and Configure... in the menu
3 Drag a pressable button into the scene
4 press play
5 observe no errors
or
1 Create a game object in the scene
2 Select it and press Add Component in the inspector
3 Select Interactable as the component to add
4 observe no errors.

/azp run mrtk_pr

/azp run mrtk_docs

uh oh, looks like boundingbox might have an unreliable test.

/azp run mrtk_pr


auth-mailchimp-sync: Error Adding users into mailchimp

Describe your configuration
Extension name: auth-Mailchimp-sync
Extension version: 0.1.0
Configuration values (redact info where appropriate):
Cloud Functions Locations: us-central1
Contact status Description: pending
Describe the problem
I was able to install the extension successfully.  I can see the adduserToList is executed successfully.  But not all the new users are imported into the MailChimp account.  Only one out of 4 new users are imported into my MailChimp account.  No errors in the logs.
logs:
ext-auth-mailchimp-sync-addUserToList

Function execution took 2150 ms, finished with status: 'ok'
more_vert

Steps to reproduce:
I simply created a new blank list in Mailchimp, created a new API key for the account, and filled out the information in the configuration. I have a pre-existing Firebase Authentication instance running. The extension was installed successfully.

Go to your Authentication dashboard.
Click Add User to add a test user.

Expected result
All the newly added users in the firebase auth need to be added as contacts in my MailChimp account
Actual result
Only one out of 4 newly added users are imported into MailChimp.

Hi @venkatabhilashchavala, I think it is because you have the status as pending which would indicate that they aren't subscribers (contacts) yet. I found this FAQ which appears to confirm this:

https://mailchimp.com/help/troubleshoot-mailchimp-subscribe/
Although, it is interesting that they are appearing one in four times as subscribed. When i tried with a pending status, no users appeared in my subscriber panel. They all appeared when I set the status to subscribed.

Thank you, Russell, I updated the Contact status to subscribed and it is working.


Add test case ensuring that  discarded generators don't cause state changes

The Nobel example seems to be experiencing this issue.


refactor(material-experimental/mdc-list): no longer use deprecated styles

We recently switched the MDC list to deprecated styles as the MDC team
started reworking the MDC list and our usage is not compatible.
With this change, we start using the standard non-deprecated MDC list
styles. This allows us to simplify a few custom CSS overrides due the
new MDC list API being more aligned with the API we want to support for
backwards compatibility with the non-MDC list (e.g. per list-item
icons and avatars instead of it being a per-list setting).

Blocked on https://github.com/material-components/material-components-web/pull/7021

This is now ready for review. The MDC fixes @crisbeto and I landed are available now.
I've been waiting for #22504 to land; but given it not being merge safe, I'm just updating MDC canary here too


Removed unused node_modules caching in CI

Fix: https://github.com/badges/shields/issues/4719
Remove caching of node_modules in CI because it's unused when using npm ci, the node_modules folder being deleted when using that command.
According to latest run times, this will save up to 30 seconds per CI job.
Another caching strategy can later be implemented (ie: ~/.npm folder).

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @znarf!

  Generated by :no_entry_sign: dangerJS against dfa31d8bd09321d9cbe9e1bc53013c37cd888eee

FWIW - build comparison time for after this change vs. before/without (admittedly anecdotal and not statistically significant)

Job
Before
After
Improvement?

danger
4:06
1:04
💚

e2e
2:09
1:30
💚

frontend
2:00
1:39
💚

integration@node-latest
1:31
0:55
💚

main
1:45
1:33
💚

main@node-latest
1:39
1:13
💚

package
1:50
1:31
💚

services
1:15
1:46
🔻

services@node-latest
1:22
0:43
💚

FWIW - build comparison time for after this change vs. before/without (admittedly anecdotal and not statistically significant)

Not bad! There was a one-time issue in the services build ("Spin Up Environment" step), it should normally have been 28s faster.
Next step, try to cache again dependencies in an efficient way!


 It would be better in every conceivable way to have the option to specify filler on a global or per-channel basis, with individual schedule item filler settings overriding channel settings and channel settings overriding global settings just like what is currently done with fallback filler. The easiest way to do this, by far, would be to just tweak the way fallback filler works by having it randomize at the end of each fallback filler item rather than at the end of each schedule item, and this would not, in any way, compromise the ability to use fallback filler settings for their originally intended purpose (if you want to loop a single filler item, you can just make a collection with a single filler item in it). However, if you prefer to implement this functionality in a needlessly difficult way, I won't complain. Someone might even find a use case for global pre-roll and post-roll filler settings.

This will not be added to the current filler system, but is planned for block scheduling and is under active development as a new "deco" system (to "decorate" channels with non-primary content) that defines watermarks, filler, etc that can be applied to playouts, and to specific times of day independent of the primary content (with inherit, disable and override modes to allow some of the flexibility you describe). Initial work supporting watermarks and fallback filler with the described modes is available on develop builds now.


Bad performance and/or reliability on certain relays

not entirely sure whats happening, but i play modded mc with some online friends and we use e4mc to play together
at random times, the server would stop working. other players would time out and the world would stop updating
both players were flying and possibly generating chunks at the time the server timed out
thats all i know
heres my logs if needed, from the second time this happened
https://mclo.gs/esSptUK

my fault, sorry

Same here, i can't play with any of my friend, everyone gets timed out after 5 seconds of joining

@vgskye Bro today in my dream i saw you fixing the mod and closing this issue, and typed something in here but i don't remember 😭

Self pinging my server from the relay address in EU takes 129 ms on responce which is unacceptable, judging by 40-50 ms on Valve's CS2 EU servers.

pain

pain

I hate to add bloat to the conversation but has anyone figured out a solution? And what is the issue here anyways? Been banging my head into a wall because of this issue

I hate to add bloat to the conversation but has anyone figured out a solution? And what is the issue here anyways? Been banging my head into a wall because of this issue

No one knows, we just waiting patiently for Skye to fix the issue

I initially thought it was my internet causing issues, When I tested the connection on a different computer using the same router, the average latency was over 150 ms.

@vgskye Do we have a ETA or something for this?

because this is due to relay overload, there'll be no definite solution to this. I will try to add more relays to spread the load but we'll see how that works out.


RightOn Display: Create RightOn Display initial screen

Route: display.righton.com/gameID/gameCode
gameID: ID of the game being played
gameCode: code of the game being hosted
Data:
`
props = {
game: {
id: "123abc",
title: "Practicing Percents: Let's Go Shopping!",
code: "9349",
cluster: "A",
domain: "RP",
grade: "7",
standard: "3",
},
studentsInSession: "28",
gameID, gameTitle, gameCode should stay static, while studentsInSession should be updated.

}
`
Components:
DisplayScreen.pdf
(File names here might not reflect final file names)
Black Box = DisplayLaunchScreen.jsx
Yellow Box = DisplayImage.jsx
Dark Green Box = DisplaySwitchMode.jsx
Red Box = DisplayGameInfo.jsx
Blue Box = DisplayGameCode.jsx
Pink Box = DisplayStudentTotal.jsx
Light Green Box = DisplayStartGame.jsx


versions: Update the commit for qemu-lite

The commit for qemu needs to be updated to the tip
of the qemu-lite-2.11.0 branch. The qemu packages for
1.12.0 also contain the latest commit.
Fixes #582
Signed-off-by: Archana Shinde<EMAIL_ADDRESS>

@jcvenegas @sboeuf @egernst PTAL

Merging as this will fix the CI.
Comment from @amshinde:

Without that commit we are always building qemu from source, and the soak tests are failing when we build from source. That commit will cause CI to use the packaged version of qemu. See this for more background:
kata-containers/tests#610 (comment)


[BUG] vSphere CPI configuration is missing in RKE2 cluster management

Rancher Server Setup

Rancher version: 2.7.0
Installation option (Docker install/Helm Chart): Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):  v1.24.9+rke2r1 (1e1469d26dcddd9f712216b299b6a6c1c8e916ca)

Information about the Cluster

Kubernetes version: 1.24.9
Cluster Type (Local/Downstream): local

User Information

What is the role of the user logged in? Admin

Describe the bug
vSphere CPI configuration section is missing
To Reproduce

Go to Cluster Management, Click Create
Change to RKE2/K3s, Choose VMware vSphere
Select Cloud Credential
In Cluster Configuration, change Cloud Provider to vSphere
Go to Add-On Config

Result

vSphere CPI configuration section is missing
If you fill in other info and proceed cluster creation, cluster will not be up and will stuck in "waiting for cluster agent to connect"
SSH into the node, run: kubectl get configmap  vsphere-cloud-config -n kube-system -o jsonpath='{.data}'
You can see vsphere.yaml does not have vcenter address

Expected Result
vSphere CPI configuration can be shown and let the user to input vCenter info
Screenshots

For those who are looking for workaround, you can do the followings:

Fill in all the cluster info in create cluster page first, except CPI because you cannot find it
Open rancher in another browser tab, go to create new vSphere cluster, go to Cluster Configuration > Kubernetes version > v1.22
Go to Add-On Config, fill in the vSphere CPI config.
4 Click Edit YAML. Copy the section in spec.rkeConfig.rancher-vsphere-cpi
Finally, go back to the original tab. Edit YAML, paste the copied YAML into  spec.rkeConfig

Tested the above steps and I am able to create a working cluster now

@J-tt You may try the following YAML. Paste it above rancher-vsphere-csi:
rancher-vsphere-cpi:
  vCenter:
    datacenters: <Your data center name>
    host: <Your vCenter FQDN/IP>
    password: <password>
    username: <username>

Thanks for the quick response! Trying it now and will edit this comment with an update

This looks to be a duplicate of https://github.com/rancher/rancher/issues/39462


[Feature] provide option to disable progress

You can see there are may useless log in ci output when lint failed:

or we should auto simplify the output when we detect lint-staged is running under ci by https://www.npmjs.com/package/ci-info

I would like this as well but outside of CI so a --no-progress would be useful.

for anyone using in ci, can ref: https://github.com/tjx666/fe-scripts/blob/main/lint-changed.ts

How about using the existing --quiet flag?

We could add some CI checks here to enable the verbose logger:
https://github.com/okonet/lint-staged/blob/50cc3cc1e0baa1d45907c7520c654a5851fd4fc8/lib/getRenderer.js#L34-L39

--quiet normally means dont't output anything.

Looking at the initial screenshot a bit more, this looks like an issue of: https://github.com/lint-staged/lint-staged?tab=readme-ov-file#the-output-of-commit-hook-looks-weird-no-colors-duplicate-lines-
Can you try updating your git to the latest version? I'll close this issue but feel free to re-open.


Prettier: allow trailing commas

Pull Request Test Coverage Report for Build 212

7 of 9 (77.78%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.242%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/Form/FormFactory.js
0
1
0.0%

src/components/Table/EditableDraggableTable.js
1
2
50.0%

Totals

Change from base Build 156:
0.0%

Covered Lines:
284

Relevant Lines:
462

💛  - Coveralls

I like this. But as this is a matter of preference, let's see what others think too.

Personally, I don't use trailing commas, but I also don't have a strong opinion on the issue, either way. So, I'm good with whatever the majority decides.

Im fine with merging

With trailing commas, the diff can be smaller, so I'm OK with having them.
If we do so, let's stay consistent with our comma usage.


Use transacted asset for fees by default in the bridge UI

The number 1 feedback we are getting from users is that our gas fees are too high.
After some investigation, it seems as though this perception is largely coming from the fact that fees are charged in the source chain gas asset instead of the transacted asset. Users don't understand the difference between these two options and simply see it as Connext itself being super expensive.
We need to urgently start using transacted asset for fees by default in the UI

closing in favor of #4093


Relay 2

use when ready, not yet, then upgrade graphql and graphql-shield deps
leverage buildin relations https://facebook.github.io/relay/docs/en/runtime-architecture.html for client scheme memoizing

We are not using Relay at its full potential. We should use the store once documented for using with types properly.
https://github.com/facebook/relay/issues/2572
Related: https://github.com/este/este/issues/1597 and https://github.com/este/este/issues/1598

To be clear, we need Relay 2 to get rid of graphql < 14.


Trying Builder and Updating CommandSpec (WIP)

What
Adding a Builder to construct Commands without relying on case class constructor, and updating `CommandSpec
Features

Can construct command without specifying  Options.Empty or Args.none
Cannot use build methods more than once i.e. .name("git").name("ag")

Very WIP

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Select] Missing className in the SelectValue component

Description
The SelectValue component was missing the className property, which caused issues when attempting to customize the element's appearance.

This is by design. See the comment a few lines above
// We ignore `className` and `style` as this part shouldn't be styled.

@chaance  Could you elaborate on why you wouldn't want to modify this element?
I understand it may have been discussed before, and it would be helpful for me to understand as I might be using it incorrectly.


All locales now use 2 letters in the filename

Description

This will fix problems where certain browsers don't support locales which have both a language and a country.
Motivation and Context

Closes #448
Screenshots (if appropriate):

@yaira2 could you pull in the crowdin changes into this PR to make sure it's working correctly?

@hishitetsu can you check the preview page out and make sure it's working?

It works!


HTTPS serving halts after cert renewal fails for some hosts (although it shouldn't)

1. What version of Caddy are you running (caddy -version)?
Own build with a custom plugin. The same issue experienced merged with today's master but also with 0.9.3.
2. What are you trying to do?
The server runs as a transparent proxy with a custom plugin implementing some content filtering.
3. What is your entire Caddyfile?
Caddyfile is generated (registered CaddyfileLoader) with a list of hosts for proxying.
Hosts resolve to server using CNAME of the service. A typical host definition in Caddyfile looks like this:
https://host1.client1.com, http://host1.client1.com, https://host2.client1.com, http://host2.client1.com {

  myplugin {
    client 	"client_id"
  }

  header / Server "MyService"

  proxy / https://upstream.example.net/ {
    header_upstream Host upstream.example.net
    header_downstream -Server ""
  }
}

4.
Running service on Google Container Engine (Kubernetes) with a Docker file that starts the server with:
/app/myservice-proxy -agree -email<EMAIL_ADDRESS>-log stdout
5. What did you expect to see?
Automatic https with certificates for hosts obtained from Let's Encrypt worked so I expected renewals to work as well.
6. What did you see instead (give full error messages and/or log)?
After weeks of working correctly, the last few days the service would hang after 6-12 hours. The last logged messages were:
2016/11/28 20:26:50 in RenewManagedCertificates
2016/11/28 20:26:50 [DEBUG] RenewManagedCertificates - check expiration for myservice.example.com (expires in 1533h27m9.144888136s)
2016/11/28 20:26:50 [DEBUG] RenewManagedCertificates - check expiration for (expires in 1179h56m9.144822329s)
2016/11/28 20:26:50 [DEBUG] RenewManagedCertificates - check expiration for host2.client1.com (expires in 678h24m9.144817546s)
2016/11/28 20:26:50 [INFO] Certificate for [host2.client1.com] expires in 678h24m9.144817546s; attempting renewal
2016/11/28 20:26:51 [INFO][host2.client1.com] acme: Trying renewal with 678 hours remaining
2016/11/28 20:26:51 [INFO][host2.client1.com] acme: Obtaining bundled SAN certificate
2016/11/28 20:26:51 [INFO][host2.client1.com] acme: Trying to solve HTTP-01
2016/11/28 20:26:52 [INFO][host2.client1.com] Served key authentication
2016/11/28 20:26:53 [ERROR] Renewing: acme: Error 400 - urn:acme:error:connection - DNS problem: networking error looking up CAA for com
Error Detail:
Validation for host2.client1.com:80
Resolved to:
<IP_ADDRESS>
Used: <IP_ADDRESS>

; trying again in 10s
2016/11/28 20:27:03 [INFO][host2.client1.com] acme: Trying renewal with 678 hours remaining
2016/11/28 20:27:03 [INFO][host2.client1.com] acme: Obtaining bundled SAN certificate
2016/11/28 20:27:04 [INFO][host2.client1.com] acme: Trying to solve TLS-SNI-01

(I obfuscated real host names and IP addresses.) The host name it was failing on was properly resolving to the service. Some of the  messages are not logged by the original Caddy, I added them to code trying to troubleshoot this.
Some observations about the service in hanged state:

HTTP requests were handled fine, HTTPS not. HTTPS requests would time out.
Chrome instance that was accessing hosted/proxied site before the service hanged, could still use the host via HTTPS. (I guess it was using cached cert info or reusing already open connection.)
Other browsers could not access any of hosted sites via HTTPS nor did the above mentioned Chrome instance in Incognito mode.

After restart, the service would eventually start after failing on cert renewal again (although somewhat differrent error messages) and finally giving up for some time.
Now, I added http handler to trigger caddytls.RenewManagedCertificates(false) manually. Although Caddy failed to renew certs on server start, when invoked manually (triggering handler via URL) renewal worked:
Triggering certs renewal
2016/11/29 17:55:58 in RenewManagedCertificates
2016/11/29 17:55:58 [DEBUG] RenewManagedCertificates - check expiration for myservice.example.com (expires in 1158h27m1.094100987s)
2016/11/29 17:55:58 [DEBUG] RenewManagedCertificates - check expiration for host1.client1.com (expires in 663h21m1.094062916s)
2016/11/29 17:55:58 [INFO] Certificate for [host1.client1.com] expires in 663h21m1.094062916s; attempting renewal
2016/11/29 17:55:59 [INFO][host1.client1.com] acme: Trying renewal with 663 hours remaining
2016/11/29 17:55:59 [INFO][host1.client1.com] acme: Obtaining bundled SAN certificate
2016/11/29 17:55:59 [INFO][host1.client1.com] acme: Trying to solve HTTP-01
2016/11/29 17:55:59 [INFO][host1.client1.com] Served key authentication
2016/11/29 17:56:00 [INFO][host1.client1.com] The server validated our request
2016/11/29 17:56:00 [INFO][host1.client1.com] acme: Validations succeeded; requesting certificates
2016/11/29 17:56:00 [INFO] acme: Requesting issuer cert from https://acme-v01.api.letsencrypt.org/acme/issuer-cert
2016/11/29 17:56:00 [INFO][host1.client1.com] Server responded with a certificate.
2016/11/29 17:56:00 [DEBUG] RenewManagedCertificates - check expiration for host2.client1.com (expires in 656h54m59.132948753s)
2016/11/29 17:56:00 [INFO] Certificate for [host2.client1.com] expires in 656h54m59.132948753s; attempting renewal
2016/11/29 17:56:00 [INFO][host2.client1.com] acme: Trying renewal with 656 hours remaining
2016/11/29 17:56:00 [INFO][host2.client1.com] acme: Obtaining bundled SAN certificate
2016/11/29 17:56:01 [INFO][host2.client1.com] acme: Trying to solve HTTP-01
2016/11/29 17:56:01 [INFO][host2.client1.com] Served key authentication
2016/11/29 17:56:02 [INFO][host2.client1.com] The server validated our request
2016/11/29 17:56:02 [INFO][host2.client1.com] acme: Validations succeeded; requesting certificates
2016/11/29 17:56:02 [INFO] acme: Requesting issuer cert from https://acme-v01.api.letsencrypt.org/acme/issuer-cert
2016/11/29 17:56:02 [INFO][host2.client1.com] Server responded with a certificate.

7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
Not sure. For now I'm sending my findings in case anyone has an idea what could be wrong.

+1 I got the same error last night. @shubhamsoni92

@ktkaushik You need to upgrade. :wink:
@radomirml You have a lot of layers to your infrastructure. It could be any number of things causing it, and I don't suspect Caddy at this point.

@mholt can you please point me in the right direction for upgrading ? I remember when i installed on my ubuntu server, i had to google quite a bit. :)

@ktkaushik Download the latest version, replace binary, restart process. Easy. :)

Thanks @mholt

@mholt I agree, many layers although I find it strange that renewal doesn't work from Caddy's maintenance loop but it does when invoked from http handler. I'll try to isolate and reproduce the issue in dev environment.
Do you possibly have a dependency list of vendor packages (like a glide lock file or equivalent)? It would be useful to know versions of dependency packages the official Caddy is built and tested against.

No, but I don't think you have a dependency problem either. I'm almost sure it's networking or infrastructure or system environment-related.

Hmm. The Error 400 - urn:acme:error:connection - DNS problem: networking error looking up CAA for com error sounds like a DNS problem, or some network issue between LE and your DNS. The challenges it succeeded on used the HTTP challenge, not the TLS-SNI challenge, which makes me wonder if something is up with that. (Does your Caddyfile have any wildcard characters in the site addresses that are defined?)
I'm going to close this issue for now, unless it can be pinpointed as a problem with Caddy -- as right now I'm not really convinced that it is. If it is, and it is caused by #1157, then the discussion could continue in that issue instead. Hope that's okay. :)


[Bug] ApplySystem uses network when it shouldn't

Describe the bug
ApplySystem should simply return an instruction while it internally uses a provider.
provider.ts:91 Uncaught (in promise) Error: Provider local is not available on browser.
    at AnchorProvider.local (provider.ts:91:1)
    at getProvider (provider.ts:416:1)
    at new Program (index.ts:281:1)
    at transactions.ts:333:1
    at step (index.ts:87:1)
    at Object.next (index.ts:87:1)
    at index.ts:87:1
    at new Promise (<anonymous>)
    at<EMAIL_ADDRESS>(index.ts:87:1)
    at createApplySystemInstruction (transactions.ts:331:1)

To Reproduce
Call ApplySystem
Expected behavior
It should simply return the Instruction and a Transaction with the Instruction

I am no longer considering it a bug as we can use setProvider as intended by anchor to make ApplySystem work (it relies on getProvider)

But it makes sense for me for functions to create instructions to be always sync without the need to interact with the network. But to make it happen, some API redesign might be necessary


kctrl: disallow use of shared namespaces while installing packages

Describe the problem/challenge you have
kctrl should not allow installation of packages into shared namespaces
Describe the solution you'd like
This could be disabled by default and we could add a dangerous flag overriding this behaviour.
Anything else you would like to add:

[ ] disallow use of shared namespaces for installation
[ ] Add a flag which accepts comma seperated values where packages can be installed to override this behaviour, similar to --dangerous-allow-use-of-shared-namespace=default,kube-public

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

@cppforlife could you elaborate between the motivation behind this? And how this helps?
Thanks!

we want to discourage users from using default namespace since it's not a good idea to keep sensitive configurations (service accounts, PackageInstall configuration, etc) in it. (it's commonly seen as a "shared" namespace.)


AWS AMI is missing from cn-north-1 region after released in about a month time

Hi,
We are using this stemcell which was released in Oct 12. However, we encountered an error
Error: CPI error 'Bosh::Clouds::CloudError' with message 'Stemcell does not contain an AMI in region cn-north-1' in 'create_stemcell' CPI method

and we noticed the respective AWS AMI ami-05d0602bfa002d885 was missing from the cn-north-1 region. We also noticed any other previous AMI has disappeared.
Can someone please shed some lights regarding:

When v1.260 stemcell AMI was removed? Was this only removed from cn-north-1 AWS region?
Is there a house cleaning practice in place to remove AMI? What is the schedule and affected regions in this case?

Cheers,
Gary

please excuse me if this is not the right place to raise this concern and please suggest which repo is the owner of these stemcells

Sorry about that. We had some problems with the AWS account that hosts these stemcells. The account is active again, but we are having trouble getting the previous stemcells marked as "public" again.
We've had a support ticket open with AWS for a couple of weeks, but they haven't been able to resolve the issue yet.
For now, you can use the heavy version of the stemcell, or use stemcells released after 2023/10/25 (new stemcells are not a problem, only the older ones seem to have a problem getting marked as "public").
We're continuing to work with AWS to get the old stemcell AMIs marked as public though.

AWS has resolved the issue and we were able to make all the Stemcell AMIs public again. Let us know if you have any more problems with them.


Update scheduled day in dependabot.yml

Description of changes: Update scheduled day in dependabot.yml
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #455 (4720a5c) into main (09e6487) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##               main     #455   +/-   ##
=========================================
  Coverage     85.71%   85.71%
  Complexity       19       19
=========================================
  Files             3        3
  Lines            49       49
  Branches          5        5
=========================================
  Hits             42       42
  Misses            3        3
  Partials          4        4

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


Polymorphic fragment not working

Hi I'm trying to work with a polymorphic fragment. I followed the instruction from the read me as close as possible but I can figure it out.
I would appreciate very much it it your could have a look at this demo repo: https://github.com/basz/ember-data-fragment-test
The Ember inspector did show four animals, but no loins or elephants at some point, now it simply stays 0. The template does render four animals...

I figured out why this was not working.... :-)
Turns out that unless you defined the typeKey as field on the parent class it does not work...
I'll create a PR to update the docs.

Closing since this was resolved by #214


MainActivity.java & MainApplication.java files are not updating with renamed package names after comman: react-native-rename "Travel App" -b com.junedomingo.travelapp

When I am putting react-native-rename "Travel App" -b com.junedomingo.travelapp I can see
android/app/src/main/java/com/projectname The last folder wrap with a new folder name travelapp and react-native run-android build failed.
I have search other issue which is closed https://github.com/junedomingo/react-native-rename/pull/62
It's similar to my but I am saying it's wrapping the folder
suppose I have a project with name "myproject" via react-native init myproject
so bundle id will be like com.myproject and the folder names will be myproject.
it's wrapping the folder with saikat

you can see I have renamed the project from sudip to saikat with this code:
react-native-rename "saikat" -b com.saikat

Fixed in the last release v2.7.0

Fixed in the last release v2.7.0


Remove host builds on Windows

CHIP doesn't have native Windows support at the moment, so only embedded
builds will compile there. Remove the host builds on Windows.

@saurabhst @hawk248 @BroderickCarlin @chrisdecenzo @jelderton

@saurabhst @hawk248 @BroderickCarlin @chrisdecenzo @jelderton


Scintilla v5.5.0

Changes of interest:

Implement solution-local NuGet registry
Remove unused project files and put source files into project folder
Move build/**.dll to NuGet's special runtimes folder
Update Scintilla.dll & Lexilla.dll
Fix transparent colors
Fix incorrect default values
Implement Scintilla element APIs

Published as ahmetsait.Scintilla5.NET for easy testing.

Rebased.
I know it's a lot to take at once but all changes are contained in their atomic commits for easy review so it would be phenomenal if this gets merged.

Thanks a lot! Any chance of a NuGet release?

@ahmetsait I'm getting build errors with the nuget file with the cd command giving an exit code 1.  One I fix that I'll work on a release.

I got it fixed, ps was disabled so the ps1 was not able to run, it is good now the nuget is released


Off by one error in Polygen?

If we look at this  line, we see that the input sequence is padded on the right.
And in  order to generate the predictive distribution, we do this  , which makes sense - the last element in the sequence is not used for prediction. But then in an autoregressive setting, I would assume that you would have element 0, a_0 predict a_1 and so on.
In the training script, we have
vertex_model_loss = -tf.reduce_sum(     vertex_model_pred_dist.log_prob(vertex_model_batch['vertices_flat']) *  vertex_model_batch['vertices_flat_mask'])
This does not make sense to me. This would mean we are using the current element to predict itself. This has zero generative power, right?
@saran-t  @charlienash

Whoopsie daisy. The sequence is padded on the left here, so ignore what I said. ;p


Get containers on a node

Hello,
is it possible to get a list of containers running on a node?
I can't find API call for it…it's not included with node resource /api/v1/node/

Ok, found it…it's there when I call directly the REST API, it's just not supported by the python client implementation…I'll try to send a pull request.

Oh I see, maybe I found it…I can list all containers and filter by node, that might work for me.
https://docs.tutum.co/v2/api/?http#list-all-containers


I want to know how much GB of graphics memory I would need to run dynamic video data？

I tried a dynamic video on a 24G, 3090 graphics card, but it showed that the graphics memory was insufficient. If the input frame rate was reduced, the result would be very poor.
Does anyone tried the dynamic video data,could you please tell me how much GB of graphics memory I would need???

when I run this code : all_imgs = torch.zeros(len(videos) - 1, 300, img_wh[-1] * img_wh[-2], 3)
will get:
Process finished with exit code 137

Hi. It may not be the GPU problem as the all_imgs = torch.zeros(len(videos) - 1, 300, img_wh[-1] * img_wh[-2], 3) doesn't use GPUs. It may related to CPU memories. How much memory (RAM) are you using?

Hi. It may not be the GPU problem as the all_imgs = torch.zeros(len(videos) - 1, 300, img_wh[-1] * img_wh[-2], 3) doesn't use GPUs. It may related to CPU memories. How much memory (RAM) are you using?

yes ,we can add .to("cuda") to transfer it to cuda ,but it also need too much memory.


Not getting experiment logs in the UI during experiment execution

What happened:
During experiment execution only helper pod logs are available in the UI and not the experiment pod logs. And logs are not formatted properly.

What you expected to happen:
Both the experiment and helper pod logs should be available in the UI with proper formatting so that it is easy to read.
Where can this issue be corrected? (optional)

How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

@Saranya-jena Can you tell how the formatting should be ?


Error when binding net addr to <IP_ADDRESS>

When binding the server to <IP_ADDRESS> is gives the following error:
ocis-wopiserver server --http-addr <IP_ADDRESS>:1111
{"level":"error","service":"wopiserver","error":"address ::1:1111: too many colons in address","transport":"http","time":"2021-06-21T11:10:23+02:00","message":"Failed to start server"}

When running with localhost it works:
ocis-wopiserver server --http-addr localhost:1111

Note: @labkode reported that oCIS can be started without problems

Could you please try --http-addr '[<IP_ADDRESS>]:1111' / --http-addr '[::0]:1111' ?

@wkloucek same error:
[13:51][root@cbox-ocisdev-03 (ocis_dev:box/ocis) ~]# ocis-wopiserver server --http-addr "[<IP_ADDRESS>]:9505"
{"level":"info","service":"wopiserver","time":"2021-06-21T13:51:38+02:00","message":"Continue without config"}
{"level":"info","service":"wopiserver","time":"2021-06-21T13:51:38+02:00","message":"Continue without config"}
{"level":"info","service":"wopiserver","transport":"http","addr":"[<IP_ADDRESS>]:9505","time":"2021-06-21T13:51:38+02:00","message":"starting server"}
{"level":"info","service":"wopiserver","transport":"debug","addr":"<IP_ADDRESS>:9109","time":"2021-06-21T13:51:38+02:00","message":"starting server"}
2021-06-21 13:51:38  file=v3@v3.5.1-0.20210217182006-0f0ace1a44a9/service.go:192 level=info Starting [service] com.owncloud.web.
{"level":"info","service":"wopiserver","transport":"http","time":"2021-06-21T13:51:38+02:00","message":"Shutting down server"}
2021-06-21 13:51:38  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:255 level=info Listening on [::]:9505
2021-06-21 13:51:38  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:169 level=info Registering node: com.owncloud.web.-72861756-063f-452f-b098-36e55d5ca768
{"level":"error","service":"wopiserver","error":"address ::1:9505: too many colons in address","transport":"http","time":"2021-06-21T13:51:38+02:00","message":"Failed to start server"}
[13:51][root@cbox-ocisdev-03 (ocis_dev:box/ocis) ~]# ocis-wopiserver server --http-addr "[<IP_ADDRESS>]:9505"
{"level":"info","service":"wopiserver","time":"2021-06-21T13:51:54+02:00","message":"Continue without config"}
{"level":"info","service":"wopiserver","time":"2021-06-21T13:51:54+02:00","message":"Continue without config"}
{"level":"info","service":"wopiserver","transport":"http","addr":"[<IP_ADDRESS>]:9505","time":"2021-06-21T13:51:54+02:00","message":"starting server"}
{"level":"info","service":"wopiserver","transport":"debug","addr":"<IP_ADDRESS>:9109","time":"2021-06-21T13:51:54+02:00","message":"starting server"}
2021-06-21 13:51:54  file=v3@v3.5.1-0.20210217182006-0f0ace1a44a9/service.go:192 level=info Starting [service] com.owncloud.web.
{"level":"info","service":"wopiserver","transport":"http","time":"2021-06-21T13:51:54+02:00","message":"Shutting down server"}
2021-06-21 13:51:54  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:255 level=info Listening on [::]:9505
2021-06-21 13:51:54  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:169 level=info Registering node: com.owncloud.web.-fb7ddaf2-3664-4b8a-9e34-e1134656aa6a
{"level":"error","service":"wopiserver","error":"address ::1:9505: too many colons in address","transport":"http","time":"2021-06-21T13:51:54+02:00","message":"Failed to start server"}
[13:51][root@cbox-ocisdev-03 (ocis_dev:box/ocis) ~]# ocis-wopiserver server --http-addr "[::0]:9505"
{"level":"info","service":"wopiserver","time":"2021-06-21T13:52:07+02:00","message":"Continue without config"}
{"level":"info","service":"wopiserver","time":"2021-06-21T13:52:07+02:00","message":"Continue without config"}
{"level":"info","service":"wopiserver","transport":"http","addr":"[::0]:9505","time":"2021-06-21T13:52:07+02:00","message":"starting server"}
{"level":"info","service":"wopiserver","transport":"debug","addr":"<IP_ADDRESS>:9109","time":"2021-06-21T13:52:07+02:00","message":"starting server"}
2021-06-21 13:52:07  file=v3@v3.5.1-0.20210217182006-0f0ace1a44a9/service.go:192 level=info Starting [service] com.owncloud.web.
{"level":"info","service":"wopiserver","transport":"http","time":"2021-06-21T13:52:07+02:00","message":"Shutting down server"}
2021-06-21 13:52:07  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:255 level=info Listening on [::]:9505
2021-06-21 13:52:07  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:169 level=info Registering node: com.owncloud.web.-f8a2ce75-221e-4dff-b97d-6307d8b74999
{"level":"error","service":"wopiserver","error":"address ::1:9505: too many colons in address","transport":"http","time":"2021-06-21T13:52:07+02:00","message":"Failed to start server"}

If I use [::1]:0505 looks like it works:
[13:53][root@cbox-ocisdev-03 (ocis_dev:box/ocis) ~]# ocis-wopiserver server --http-addr "[::1]:9505"
{"level":"info","service":"wopiserver","time":"2021-06-21T13:53:29+02:00","message":"Continue without config"}
{"level":"info","service":"wopiserver","time":"2021-06-21T13:53:29+02:00","message":"Continue without config"}
{"level":"info","service":"wopiserver","transport":"http","addr":"[::1]:9505","time":"2021-06-21T13:53:29+02:00","message":"starting server"}
{"level":"info","service":"wopiserver","transport":"debug","addr":"<IP_ADDRESS>:9109","time":"2021-06-21T13:53:29+02:00","message":"starting server"}
2021-06-21 13:53:29  file=v3@v3.5.1-0.20210217182006-0f0ace1a44a9/service.go:192 level=info Starting [service] com.owncloud.web.
2021-06-21 13:53:29  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:255 level=info Listening on [::1]:9505
{"level":"info","service":"wopiserver","transport":"http","time":"2021-06-21T13:53:29+02:00","message":"Shutting down server"}
2021-06-21 13:53:29  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:169 level=info Registering node: com.owncloud.web.-f730bbd9-e80e-475a-9d8d-885639a7ff4a
2021-06-21 13:53:29  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:209 level=info Deregistering node: com.owncloud.web.-f730bbd9-e80e-475a-9d8d-885639a7ff4a

@refs Do you have an idea? I'm pretty clueless

I have not dug into why it does work with the brackets, but have ran into this error when ipv6 is enabled in my machine. Reading up in your link to the docs I see why it works with brackets:

If the host is a literal IPv6 address it must be enclosed in square brackets, as in "[2001:db8::1]:80" or "[fe80::1%zone]:80".

I pretty much think the logic is assuming too much and treats ipv4 as ipv6 (as in: tcp.Dial("::1:9505") -> this is invalid). A simple guard should suffice and provide support out of the box to both ipv4 and ipv6.

I'm confused as to how <IP_ADDRESS> gets translated into ::1

<IP_ADDRESS> and [::0] have the same meaning: bind to all available interfaces.
These also include <IP_ADDRESS> and [::1] (localhost). This is the theory. But in reality our code uses ::1 only as IPV6 localhost, but I couldn't find the point where it will be translated.

I believe it is in go-micro. I'll do some digging

@wkloucek the corresponding go-micro line that logs is:
2021-06-23 12:50:14  file=v3@v3.0.0-20210408173139-0d57213d3f5c/http.go:255 level=info Listening on [::]:1111
digging into go-micro for the version 0d57213d3f5c: https://github.com/asim/go-micro/blob/4c1f81dadb47b90f71f37c4f845af5821ef80a47/plugins/server/http/http.go#L255
that listener contains the following information (when ipv6 is enabled):

that gets parsed as:

Digging into the lowest level we find this syscall:
if supportsIPv4map() && family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
// Allow both IP versions even if the OS default
// is otherwise. Note that some operating systems
// never admit this option.
syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
}

where the condition evaluates to true, sets the socket options to IPv6. By this time the fd does not have any address set, this is acquired here:
...
fd.setAddr(fd.addrFunc()(lsa), nil)
...

in sock_posix.go from the stdlib.
and ultimately sets the address to an ipv6 address:
func sockaddrToTCP(sa syscall.Sockaddr) Addr {
	switch sa := sa.(type) {
	case *syscall.SockaddrInet4:
		return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port}
	case *syscall.SockaddrInet6:
		return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
	}
	return nil
}

At least in my system.
Now, debugging session apart, with ipv6 enabled in my system, I cannot reproduce @labkode's issue:

And sub-sequentially running:
bin/wopiserver server --http-addr "[::1]:1111"
bin/wopiserver server --http-addr "[<IP_ADDRESS>]:1111"
bin/wopiserver server --http-addr "[::0]:1111"
work for me.

I'm running on go version go1.16.2 darwin/amd64

I'm, however, able to reproduce something similar under this circumstances:

disable ipv6 in my system
run bin/wopiserver server --http-addr ::1:1111

that throws
{
   "level":"error",
   "service":"wopiserver",
   "error":"listen tcp: address ::1:1111: too many colons in address",
   "transport":"http",
   "time":"2021-06-23T13:41:28+02:00",
   "message":"Failed to start server"
}


nub-button

we need an element for transparent buttons that the user can press via mobile touch or mouse clicks
has a slot for an svg icon
has a slot for a tiny little text label
has to work well with multi-touch, so that a user can be using a nub-stick at the same time as pressing the button

should it have particular style or be just default and styled outside in whatever way we need somewhere ?

@zenkyuv hmm, let's try a default style

@zenkyuv hmm, let's try a default style

Should we talk on gh comments here or discord threads are better? Im not sure how more questions i will have 😀

hahah, whichever you prefer -- discord will probably get my attention faster -- github comments are great for recording  important details for an issue for posterity as a matter of record


assert_delivered_email params

Hello, I have simple mailer that looks like this:
defmodule TattooBackend.Web.AccountMailer do
  use Bamboo.Phoenix, view: TattooBackend.Web.AccountMailerView

  alias TattooBackend.Web.LayoutView
  alias TattooBackend.Web.Endpoint
  alias Phoenix.Token

  import TattooBackend.Web.Gettext

  def account_confirmation(account) do
    new_email(
      from<EMAIL_ADDRESS>      to: account.email,
      subject: gettext("Confirm Your Account."),
    )
    |> assign(:token, token(account))
    |> put_html_layout({LayoutView, "email.html"})
    |> render("account_confirmation.html")
  end

  defp token(account) do
    Token.sign(Endpoint, "account_id", account.id)
  end
end

In one of my controller action I'm using it to send the confirmation email. I have test that is testing that after record creation email is sended properly:
    test "with valid parameters", %{conn: conn} do
      account_params = params_for(:account)
      studio_params  = params_for(:studio)

      conn =
        post conn, api_v1_studio_path(
          conn,
          :create,
          %{account: account_params, studio: studio_params}
        )

      created_account =
        Repo.get_by(
          Account,
          email: account_params.email,
          confirmed: false
        )

      created_studio =
        Repo.get_by(
          Studio,
          name: studio_params.name,
          account_id: created_account.id
        )

      assert json_response(conn, 201) ==  nil
      refute created_account.id             ==  nil
      refute created_studio.id                ==  nil

      assert_delivered_email AccountMailer.account_confirmation(created_account)
    end

This test is failing with following error:

  1) test create/2 with valid parameters (TattooBackend.Web.API.V1.StudioControllerTest)
     test/lib/tattoo_backend/web/controllers/api/v1/studio_controller_test.exs:52
     There were no matching emails.

     No emails matched:

       %Bamboo.Email{assigns: :assigns_removed_for_testing, bcc: [], cc: [], from: {nil<EMAIL_ADDRESS>headers: %{}, html_body: "\n  \n    <link rel=\"stylesheet\" href=\"http://localhost:4001/css/app.css\">\n  \n  \n
\nPotwierdź swoje konto.
\n  \n\n", private: %{html_layout: {TattooBackend.Web.LayoutView, "email.html"}, text_layout: false, view_module: TattooBackend.Web.AccountMailerView, view_template: "account_confirmation.html"}, subject: "Potwierdź swoje konto.", text_body: nil, to: [nil<EMAIL_ADDRESS>
     Delivered emails:

      * {:delivered_email, %Bamboo.Email{assigns: :assigns_removed_for_testing, bcc: [], cc: [], from: {nil<EMAIL_ADDRESS>headers: %{}, html_body: "\n  \n    <link rel=\"stylesheet\" href=\"http://localhost:4001/css/app.css\">\n  \n  \n
\nPotwierdź swoje konto.
\n  \n\n", private: %{html_layout: {TattooBackend.Web.LayoutView, "email.html"}, text_layout: false, view_module: TattooBackend.Web.AccountMailerView, view_template: "account_confirmation.html"}, subject: "Potwierdź swoje konto.", text_body: nil, to: [nil<EMAIL_ADDRESS>
When I update my token method in AccountMailer to be a hardcoded string:
  defp token(account) do
    "token"
  end

then test is passing. How can I solve this issue?

There is a time component to the message that’s being signed within Phoenix.Token.sign/3. https://github.com/phoenixframework/phoenix/blob/v1.2.4/lib/phoenix/token.ex#L97
You call TattooBackend.Web.AccountMailer.token/1 twice, once in your controller (within AccountMailer.account_confirmation/1), and again at the bottom of your test. You’re not seeing the tokens match because the function is being called at two different times.
One solution is to modify your account_confirmation/1 function to use dependency injection. That way, you can inject the token dependency into your tests and all will pass.
Hope this helps! :)

Since it's been a while that this issue has been opened, I hope you were able find a solution. I'll close this issue for now. Please let us know if this is still an issue.


Add Enemies

The game should include enemies that kill the player when the player contacts them.

The collision detection works, now I just need to add multiple enemies.


Liveness Detection JS SDK

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

I am interested in the Microsoft JS SDK for liveness detection, which I understand is currently in a private beta phase. This SDK is crucial for a project I'm working on, and I am keen to learn more about its functionalities and potential integration.
Could you please provide information on when access to this SDK will be generally available or how I might apply to participate in the private beta? Any updates or details you can share would be greatly appreciated.
Thank you for your time and assistance.

The JS SDK is now in public preview. Here is sample on using the same https://github.com/Azure-Samples/azure-ai-vision-sdk/tree/main/samples/nextjs
Let me know if you run into any issues.


Add support for file:// URLs

Unity's UnityWebRequest does not support file:// URLs, meaning that - unlike Cesium for Unreal (at least on Windows) - it's not possible for users to use them to access local files. It does support raw file paths, but this sometimes breaks in cesium-native when uriparser doesn't consider a local file path to be a valid URL.
So, we should add explicit file:// URL support to UnityAssetAccessor. When it sees these URLs, it can either read the file from disk directly, or it can turn the URL into a regular file path and pass it to UnityWebRequest.

@kring this would certainly be useful, is there any chance file:// support might appear in an upcoming release?

I believe this issue is outdated and file URLs are supported now. Have you tried it?

I just tried a file URI in Cesium for Unity, and it worked well. In my case it was Unity 2022.3.20f1 and Windows 11, but I don't expect that to make a difference (it could be worth trying a Unity upgrade if it's easy for you to do).
I'm not sure what might be going wrong in your case. Are there any spaces or other non-URI-safe characters in your <redacted> path name perhaps? Did you use forward / slashes everywhere instead of back \ slashes? Can you try clearing the console before setting the URI, just to be 100% certain that the error your pasted above is coming from the most recent URI that you entered?

This worked for me file://E:/.....
Using 2021.3.10f1 and cesium plugin 1.9.0

A tip that may be useful. On Windows I copy the file path from Windows Explorer and paste it into a browser like Chrome or Edge.  It will automatically reformat the path to a URI, which can then be copy and pasted directly into the Cesium UI.  I find this eliminates any human error that might creep into manually reformatting the path.

Thanks a great tip, thanks @r-veenstra! If you use right-click, Copy as Path in Windows explorer, the copied path will be surrounded in quotes. Remove those after you paste into the Chrome address bar and before you hit enter.

I just tried a file URI in Cesium for Unity, and it worked well. In my case it was Unity 2022.3.20f1 and Windows 11, but I don't expect that to make a difference (it could be worth trying a Unity upgrade if it's easy for you to do).
I'm not sure what might be going wrong in your case. Are there any spaces or other non-URI-safe characters in your <redacted> path name perhaps? Did you use forward / slashes everywhere instead of back \ slashes? Can you try clearing the console before setting the URI, just to be 100% certain that the error your pasted above is coming from the most recent URI that you entered?

Thanks for looking into it everyone. It looks like the space characters were the problem. With and without spaces it seems like the tileset.json itself is resolved but the behaviour for handling the relative file paths within changes depending on whether there are spaces or not.
Without spaces, using something like file:///C:/test/tileset.json works as expected.
With spaces (encoded or not), file:///C:/test%20spaces/tileset.json or file:///C:/test spaces/tileset.json (non-encoded isn't valid anyways but often resolves in many applications), fails with the error I previously mentioned.
Testing out some other characters, it seems like any character that requires encoding for the URI path segment causes the problem. Since it affects the path segment, characters that are considered reserved characters in other URI segments, such as +, =, (, ), etc. work just fine because they are allowed to be used in the path segment either literally or encoded. However, characters that require encoding in the path segment, such as   (space, as %20), % (as %25), do not work (as previously described).


UI for email subscription

With the backend part in place (thx to @paskal) we can integrate it on the UI side. This should be something similar to email-based login, i.e:

Add a link "subscribe to email notification"
Click on this link will ask for email and show confirmation dialog expecting a token
Token will be sent to the user by email, the same way as we send confirmations for email auth
Subscribed user should be able to unsubscribe from UI

API for email notifications documented in the readme
@Reeywhaar - let me know if you want to handle this one, should be very similar to email auth you did before.

related: #495 #494

https://www.mailgun.com/ is the easiest way to get a server for email notifications, docker-compose configuration for it would look similar to this:        - NOTIFY_EMAIL_HOST=smtp.eu.mailgun.org
        -<EMAIL_ADDRESS>        - NOTIFY_EMAIL_PASSWORD=password
        -<EMAIL_ADDRESS>        - NOTIFY_EMAIL_PORT=465
        - NOTIFY_EMAIL_TLS=true

remark.rest file has working examples of requests to run against local docker-compose setup, after which you will have chosen email account verified and receiving notifications.
A note on the implementation: when users subscribing to email notifications, they will get all replies to all their comments on the site.
A small fix to apply with implementing this feature: email verification currently have text Copy and paste this text into “token” field on comments page — it should be changed to something like on email verification page when it will be know how it will be named.
https://github.com/umputun/remark/blob/d23d119d70e015d65aaf155713f615056181df96/backend/app/notify/email.go#L128

@umputun I can do it. Where should be placed subscribe button?

Another note: /config endpoint now has email_notifications boolean property which tells UI if notifications interface should be enabled.

@akellbl4 sorry, missed your question. Thx for volunteering, appreciate it.
This subscribe button (link?) should be around other subscriptions

In some other ticket, I have proposed to change the plain list of subscriptions to something under dropdown or whatever control makes sense. As far as I recall the problem on the UI side was how to make it mobile-friendly. Feel free to propose any improvements for this block, as of now all this "subscribe" part is way too visible for such a secondary functionality.

@umputun I made UI example, If it is good for you I will go to logic.

3. A note on the implementation: when users subscribing to email notifications, they will get all replies to all their comments on the site.

Unfortunately at this very moment that’s the only variant of email subscription.

I would suggest having something like "Subscribe to " which will decrease occupied space as well.

@paskal I missed your note.
Your suggestion makes sense and I think I need to add a note about subscription by email.

@umputun @paskal something like that?

LGTM, but I wonder how would it look and feel like from mobile.

yeah. I'd call "Email" as "Replies via email", or even better would make two sections with headers (RSS and Email) in each one

I think it is the best variant :)

nice

@paskal I wrote some code for sending email verification but I won't receive emails with a token. At the same time, the email login works fine.
You can checkout my code from here maybe I did something wrong. I am not sure.


Group aup and add/remove aup for admin configuration

https://jira.argo.grnet.gr/browse/RCIAM-1099
Need email addition.

Email examples:

You have added as VO admin to the group test
You have removed as VO admin from the group test


Open Source Summit 2017 - 2017.19.11-13 - USA, Los Angeles

Added Open Source Summit.
LinuxCon, ContainerCon, CloudOpen and the new Community Leadership Conference combine under one umbrella name in 2017 - Open Source Summit.

thanks ! :) can you correct the date 2017.19.11-13 -> 2017.09.11-13 ? :)

Sorry, for that. It is now corrected.

thanks again :)


Bug in rx.download() when we pass string with # in data argument

Describe the bug
When I pass normal string with "#" in it to the data argument in rx.download() method then download happens with a file but it contains string until "#" and string after it is chopped off
To Reproduce
Steps to reproduce the behavior:

Code/Link to Repo:
rx.download(data = "hello # world", filename="demo.txt")

Expected behavior
It should download a file with "hello # world" as its data .
Screenshots
If applicable, add screenshots to help explain your problem.
Specifics (please complete the following information):

Python Version:
Reflex Version:
OS:
Browser (Optional):

Additional context
But if I encode data then all works fine i.e
rx.download(data = "hello # world".encode(), filename="demo.txt")
It works all fine

Would you mind filling in the Python Version, Reflex Version, and Browser fields in the bug report template?
I do not reproduce the issue on main branch (6709b49cfa238cb3ab2c433ccffd4543f4cebb17) on Chrome/Safari/Firefox on macOS 14.5

Full code

import reflex as rx

def index() -> rx.Component:
    return rx.button("DL", on_click=rx.download(data = "hello # world", filename="demo.txt"))

app = rx.App()
app.add_page(index)

Python Version = 3.11.8
Reflex Version = 0.4.8

I experimented after your reply with version 0.5.3 and it has no such issues, so it means in later version such issue is not there. I have 0.4.8 and it has the bug as i mentioned

Closing this issue as it's resolved in the latest version.


Updating docs

Hey, folks!
Here is an update proposal for the docs, please let me know what you think.
Summary of changes:

introduces dateparser.parse() as main entry point (friendlier to new users)
added more details in DateDataParser description
updated installation section and Scrapy Cloud deploy to use shub deploy-egg
updated autogenerated docs

Does this look good?

Hey Elias, thanks for covering the docs. We are at the end of deadline ATM, but we'll look at this soon as we can (most likely Waqas).
I had a discussion one day with one of developers outside of our team, and he told me that following our docs is not enough to deploy dateparser into a Scrapy Cloud project. You'd also need to deploy dateutil and PyYAML eggs. Also I have this command in my history which I think is related to PyYAML egg, but I don't remember details: python setup.py --without-libyaml bdist_egg. Could you please follow up on this issue?

Right, I'll look into that.

Hey fellows, I've just updated this with instructions to deploy the dependencies and fixing the typos pointed by Waqas.
Only one thing: this is pointing to the latest version of shub which isn't yet released on PyPI.
I will release it later today (have to first fix a bug I found while testing the instructions here), I can leave a note here after.

Hey, fellows -- new shub is released, grab it while it's hot! :)
Sorry for the delay, it took a bit longer than I thought to sort out the issues, but now we can merge this PR if it looks good.

Hi @eliasdorneles I've borrowed your changes from this PR to issue PR #89. Let's review it together.


Laravel 5.4: Call to undefined method Illuminate\Events\Dispatcher::firing()

https://github.com/laravel/framework/commit/dbbfc62beff1625b0d45bbf39650d047555cf4fa
firing() method was removed in Laravel 5.4.

Solution: use 0.6 tag.


-d <alias> disables all instances of the pass invocation

An unintuitive problem that @paili0628 ran into for the #959 pass implementation is that the default pipeline now needs to call dead-group-removal twice. However, the -d <pass> option disables all instances the pass because it is excluded from the pass pipeline. The tests/passes/tdcc tests do -d post-opt which is an alias to -d dead-group-removal -d dead-cell-removal ... which hides the fact that the dead-group-removal pass is being implicitly disabled make the cause of the bug non-obvious.
We probably need to rethink the -d flag a little more and see if it makes sense. Long term, we probably need to re-design the pass manager.

ahhh interesting and tricky! Maybe aliases should be more of a first class scheduling concept so disabling them is disabling a particular block in the main compilation chain rather than disabling each of its constituent passes


File Column Type is no longer pre-release

Page: https://docs.microsoft.com/en-us/power-apps/maker/data-platform/types-of-fields#file-columns
Section:
File columns
[This topic is pre-release documentation and is subject to change.]
The phrase "[This topic is pre-release documentation and is subject to change.]" should be removed.

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

ID: 99285656-64cc-d759-debd-fa439c7f0111
Version Independent ID: 91ec0245-00a2-1de1-dd56-567010ec36df
Content: Image columns (Microsoft Dataverse) - Power Apps
Content Source: powerapps-docs/developer/data-platform/image-attributes.md
Service: powerapps
Sub-service: dataverse-developer
GitHub Login: @mayadumesh
Microsoft Alias: jdaly

Thanks for your comment, @KylieKiser. This issue has been assigned to the doc author for review.

@KylieKiser - Thank you for your feedback. The prerelease indicator has been removed and the article will be published shortly.
Closing issue.


[Bug]: $set does not work, when currencyMask is used

What happened?
I understand that this was an issue in the past (https://github.com/ariaieboy/filament-currency/pull/10?new_signup=true?new_signup=true), but I still can't seem to get it working.
How to reproduce the bug
use ->currencyMask(thousandSeparator: '.', decimalSeparator: ','); on a TextInput component, set the value from a different component using $set.
When inspecting the submitted data after submitting the form I verified that $set indeed adjusted the value on the field, but it's not updated by currencyMask().
Package Version
1.4.0
PHP Version
8.2.0
Laravel Version
10.0.0
Which operating systems does with happen with?
macOS
Notes
No response

If you create a repo that contains minimum code to reproduce this bug I can debug it much much faster.
For start, you can use my GitHub.com/ariaieboy/filament-dev-env
To create a filament app that contains the codes that reproduce this bug.

Hi @ariaieboy ! Thank you for fixing the issue! However, it looks like it created two unwanted (?) side effects.

When I change the value of a TextInput, the thousands separator of the currency mask disappears. So "1.234,56" becomes "1234,56". The currency mask only gets applied again, when the input is loosing focus as I click outside.

If the form now has "managed" input fields (like a disabled "total budget" input, which is updated using $set), there is no way for me to click outside. In that case the currency mask will behave like a toggle. For example, I have two inputs with "1.234,56" and "10,00" and a disabled "total_budget" input that currently displays "1.244,56". When I increment the "10,00" to "20,00" the total budget will be "1254,56" without a thousands separator. If I increment again to "30,00", the total budget becomes "1.264,56" with the separator showing again.

@dm-lars Thanks for your report, I experienced this on my project and will look at it as soon as I find free time.

Seems to work like a charm! Many thanks!