Visual Studio 2017 Azure Mobile Apps Table Controller Scaffold Error

I have created a .NET Mobile App Backend by following the guide as shown here. This worked wihout a problem in Visual Studio 2015, but once I loaded the project in Visual Studio 2017, I had the following issue:

Right-click on the Controllers folder and select Add > Controller....

Select the Azure Mobile Apps Table Controller option, then click Add

Visual Studio give me the following error, and I think it's a problem with the new SDK in VS 2017, but I'm not entirely sure:

The specific error is 'A TwoWay or OneWayToSource binding cannot work on the read-only property 'EntityTypes' or type 'Microsoft.Cct.MobileApps.WebExtensions.Scaffolding.MobileAppsTableViewControllerViewModel'.

@scout208 this feature is not hosted on this particular repo (azure sdk repo)
Please go to the below website and ask question
https://azure.microsoft.com/en-us/support/forums/


Unignore Cargo.lock file

Recent packaging changes at Void Linux have detected that this project doesn't have a lockfile, which seems incorrect for a binary

Sorry for the late reply.
The Cargo.lock may be outdated, so I'll update it after merging this PR.


#8 is incorrectly defined as not Express Route

ID #8 is defined as not being Express Route service but the matches that I have in our environment (attachments.office.net and autodiscover-s.outlook.com) are all serviced via Express Route.

@officedocsbot assign @mypil

@KevFM - May we know which Microsoft document link you used in reference to this issue?
Please share it with us so we can investigate further. Thank you.

Apologies. I forgot commenting directly in Github won't include the relevant link.
https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges
Regards,
Kev
[https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png]https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges
Office 365 URLs and IP address ranges | Microsoft Docshttps://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges
Summary: Office 365 requires connectivity to the Internet. The endpoints below should be reachable for customers using Office 365 plans, including Government Community Cloud (GCC).
docs.microsoft.com
Kevin Farnes  |  Senior Professional Services Engineer
Palo Alto Networks  |  140 Leadenhall Street  |  London  EC3V 4QT  |  UK
Mobile: +44 (0) 7879 772468  |<EMAIL_ADDRESS>JMS: +44 (0) 1225 818133 |<EMAIL_ADDRESS>MODNET<EMAIL_ADDRESS>
From: Joyce Y<EMAIL_ADDRESS>Sent: 02 July 2019 14:03
To: MicrosoftDocs/OfficeDocs-Enterprise
Cc: Farnes, Kevin Contractor; Mention
Subject: Re: [MicrosoftDocs/OfficeDocs-Enterprise] #8 is incorrectly defined as not Express Route (#450)
@KevFMhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKevFM&data=02|01|kevin.farnes100%40mod.gov.uk|22c8ede6a3d64c90077a08d6feedbf4e|be7760ed5953484bae95d0a16dfa09e5|0|0|636976694400607011&sdata=TJCbZKh%2Bu2wG%2BXXXIwsROEcpi2QsX%2FaUCjn7mVF8qgs%3D&reserved=0 - May we know which Microsoft document link you used in reference to this issue?
Please share it with us so we can investigate further. Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-Enterprise%2Fissues%2F450%3Femail_source%3Dnotifications%26email_token%3DALYFNAFJ3V52IAPT5UTF2E3P5NG33A5CNFSM4H42NCW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBGHVY%23issuecomment-507667415&data=02|01|kevin.farnes100%40mod.gov.uk|22c8ede6a3d64c90077a08d6feedbf4e|be7760ed5953484bae95d0a16dfa09e5|0|0|636976694400617007&sdata=8LI9JA50n6zdd2ctNp9C%2FdnZVXo71EBpgon0gOSHTPg%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALYFNAHSBVMA2CIROQ6AONDP5NG33ANCNFSM4H42NCWQ&data=02|01|kevin.farnes100%40mod.gov.uk|22c8ede6a3d64c90077a08d6feedbf4e|be7760ed5953484bae95d0a16dfa09e5|0|0|636976694400617007&sdata=kFMFWFyP4ZnooY1QVH5oy70AsFhoqUit7QA9t62KcuM%3D&reserved=0.

@JoeDavies-MSFT - Can you please share your insights on this issue?
This might need to be consulted with the product team that manages the endpoint data for this content. Here are some details for your reference:
Content Title: Office 365 URLs and IP address ranges
Live Content: https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges
Content Source: https://github.com/MicrosoftDocs/OfficeDocs-Enterprise/blob/live/Enterprise/urls-and-ip-address-ranges.md
Thank you for your kind assistance.

KevFM From the definition of the "ER" Column: When ER is No, this means that ExpressRoute is not supported for this endpoint set. However, it should not be assumed that no routes are advertised for an endpoint set where ER is No.  Does this address your issue? Thanks

Hi Joe,
As a statement this simply doesn't make sense.
I don't understand how you can have an Endpoint Set that isn't supported over Express Route but you still advertise routes to that Endpoint Set over Express Route and all access to that Endpoint Set is via Express Route?
Surely if it wasn't supported over Express Route then I shouldn't be able to access it via Express Route?
Regards,
Kev
Kevin Farnes  |  Senior Professional Services Engineer
Palo Alto Networks  |  140 Leadenhall Street  |  London  EC3V 4QT  |  UK
Mobile: +44 (0) 7879 772468  |<EMAIL_ADDRESS>JMS: +44 (0) 1225 818133 |<EMAIL_ADDRESS>MODNET<EMAIL_ADDRESS>
From: Joe Davies<EMAIL_ADDRESS>Sent: 10 July 2019 17:17
To: MicrosoftDocs/OfficeDocs-Enterprise
Cc: Farnes, Kevin Contractor; Mention
Subject: Re: [MicrosoftDocs/OfficeDocs-Enterprise] #8 is incorrectly defined as not Express Route (#450)
KevFM From the definition of the "ER" Column: When ER is No, this means that ExpressRoute is not supported for this endpoint set. However, it should not be assumed that no routes are advertised for an endpoint set where ER is No. Does this address your issue? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-Enterprise%2Fissues%2F450%3Femail_source%3Dnotifications%26email_token%3DALYFNAELJIO4B7ICXBGRNCDP6YDS7A5CNFSM4H42NCW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZT7RAY%23issuecomment-510130307&data=02|01|kevin.farnes100%40mod.gov.uk|46e99d0edbff489b1d9108d7055228f4|be7760ed5953484bae95d0a16dfa09e5|0|0|636983722739913467&sdata=d5gKhv86TLGmNMbpyKI%2BrKle69CRljGA8AoQhxCUPts%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALYFNADGCZU5VTSYLYHWAKLP6YDS7ANCNFSM4H42NCWQ&data=02|01|kevin.farnes100%40mod.gov.uk|46e99d0edbff489b1d9108d7055228f4|be7760ed5953484bae95d0a16dfa09e5|0|0|636983722739913467&sdata=M1y5NYvGcajpF65yDQhqTo4AMVpRtTfMe7z4wVVSQQs%3D&reserved=0.

@JoeDavies-MSFT - Can you please assist to respond to KevFM's additonal query?
Thank you.

@KevFM I have forwarded this issue to the product team responsible for maintaining the Exchange Online endpoints for their investigation. Hope to have an answer soon.

@KevFM Here is the response: Because these endpoints are in the Default category, they would not be listed as supported on ExpressRoute (ExpressRoute = No). If you are routing to ExpressRoute by IP addresses rather than the more common URL routing with proxy servers, then these servers may route traffic to your two listed URLs over ExpressRoute without any problems.

But that still doesn't explain why, if its not supported over Express Route, you would provide routing via Express Route. Surely the fact that you are providing routes over Express Route means it is supported - I don't understand the difference. Regardless of whether you route via IP or by URL, that fact that you can access it via Express Route surely means its supported over Express Route.
Are you saying they are only listed as not supported over Express Route because they are in the Default category?
I'm trying to understand the ER column as I need to define firewall policies based on that information, i.e. making sure that the correct URL's go down the correct path. At the moment I can't reliably do this as the more accurate definition of the ER columns seems to be either 'Yes' or 'Maybe' as it seems 'No' doesn't really mean 'No'.
Regards,
Kev
Kevin Farnes  |  Senior Professional Services Engineer
Palo Alto Networks  |  140 Leadenhall Street  |  London  EC3V 4QT  |  UK
Mobile: +44 (0) 7879 772468  |<EMAIL_ADDRESS>JMS: +44 (0) 1225 818133 |<EMAIL_ADDRESS>MODNET<EMAIL_ADDRESS>
From: Joe Davies<EMAIL_ADDRESS>Sent: 16 July 2019 19:08
To: MicrosoftDocs/OfficeDocs-Enterprise
Cc: Farnes, Kevin Contractor; Mention
Subject: Re: [MicrosoftDocs/OfficeDocs-Enterprise] #8 is incorrectly defined as not Express Route (#450)
Closed #450https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-Enterprise%2Fissues%2F450&data=02|01|kevin.farnes100%40mod.gov.uk|f00d0b0a6aec417c8b9508d70a18a03a|be7760ed5953484bae95d0a16dfa09e5|0|0|636988973186645962&sdata=kNUK%2FB1dbxBreWRuULMtXqV2AtJlvQvkA%2BNagFQeMFQ%3D&reserved=0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-Enterprise%2Fissues%2F450%3Femail_source%3Dnotifications%26email_token%3DALYFNAEYNDZHBGEUDXKLHO3P7YFCJA5CNFSM4H42NCW2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSQ6SM7Y%23event-2487035519&data=02|01|kevin.farnes100%40mod.gov.uk|f00d0b0a6aec417c8b9508d70a18a03a|be7760ed5953484bae95d0a16dfa09e5|0|0|636988973186655962&sdata=QAS%2B37JbhXS994BLEJL9D63x3qJo8YcVpcwdjFihEqQ%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALYFNADXWPT5QOWDOI6MN63P7YFCJANCNFSM4H42NCWQ&data=02|01|kevin.farnes100%40mod.gov.uk|f00d0b0a6aec417c8b9508d70a18a03a|be7760ed5953484bae95d0a16dfa09e5|0|0|636988973186655962&sdata=i3RN%2BcYcUwXqoNiCZ%2BSb4GUVZwpjpV24WFTDE5ZuYjU%3D&reserved=0.


Difference in background color between Wezterm & Neovim

Description
It seems like the Neovim version is always darker than the one from WezTerm (which is the one from the official screenshots) and Neovim.
You can even see the "border" around Neovim on the screenshots I have provided.
Any ideas why this is happening?
Ps.: I am using LazyVim.

Neovim version
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1703358377

Terminal and multiplexer
wezterm version: 20230712-072601-f4abf8fd aarch64-apple-darwin
Catppuccin version / branch / rev
catppuccin 1.6.0
Steps to reproduce
N/A
Expected behavior
Background color to be the same on both WezTerm and Neovim.
Actual behavior
Background in Neovim is somehow darker than it is in WezTerm.
Repro
Here's my ~/.config/nvim/lua/config/options.lua:
-- Leader
vim.g.mapleader = ","
vim.g.maplocalleader = ","

-- Folding
vim.opt.foldenable = true
vim.opt.foldnestmax = 10
vim.opt.foldlevelstart = 10
vim.opt.foldmethod = "indent"

-- Enable 24-bit RGB colors
vim.opt.termguicolors = true

Here's my ~/.config/nvim/lua/plugins/colorscheme.lua:
return {
  "catppuccin/nvim",
  lazy = true,
  name = "catppuccin",
  opts = {
    show_end_of_buffer = false,
    background = {
      light = "latte",
      dark = "mocha",
    },
    styles = {
      comments = { "italic" },
      conditionals = {},
      loops = {},
      functions = {},
      keywords = {},
      strings = {},
      variables = {},
      numbers = {},
      booleans = {},
      properties = {},
      types = {},
      operators = {},
    },
  },
}

Here's my WezTerm config:
local wezterm = require("wezterm")

local config = {}

if wezterm.config_builder then
	config = wezterm.config_builder()
end

function scheme_for_appearance(appearance)
	if appearance:find("Dark") then
		return "Catppuccin Mocha"
	else
		return "Catppuccin Latte"
	end
end

config.automatically_reload_config = true

config.color_scheme = scheme_for_appearance(wezterm.gui.get_appearance())

Please disregard. It was an issue with LazyVim.


Add support for SSL certificate and private key in ClientRequest

Description
Updates to the ClientRequest so that it can make a connection providing a SSL certificate and a private key.
Motivation and Context
Some servers require a SSL certificate to connect (e.g. Apple APNs). This modification allows you to pass both certificate and private key path (and the passphrase if needed) to libcurl.
How Has This Been Tested?
This modification was tested by creating a terminal client on Linux that sends a push notification to an iOS sample app. The notification was successfully sent and received by the physical device.
Checklist:

[x] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

Codecov Report

Merging #215 into master will decrease coverage by 0.22%.
The diff coverage is 12.5%.

@@            Coverage Diff             @@
##           master     #215      +/-   ##
==========================================
- Coverage   73.83%   73.61%   -0.23%
==========================================
  Files          30       30
  Lines        4082     4097      +15
==========================================
+ Hits         3014     3016       +2
- Misses       1068     1081      +13

Flag
Coverage Δ

#CHTTPParser
56.11% <ø> (ø)
:arrow_up:

#KituraNet
73.61% <12.5%> (-0.23%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/KituraNet/ClientRequest.swift
80.39% <12.5%> (-3.87%)
:arrow_down:

Sources/KituraNet/HTTP/HTTPServer.swift
82.11% <0%> (+0.66%)
:arrow_up:

Continue to review full report at Codecov.

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

Any updates on this? I would like to see this in the library! Currently using NSUrlSession with a special implemented delegate, but that is not working on Linux.

Hi - I understand the use-case but I think there are a few issues with this PR as it stands:

It adds new cases to ClientRequest.Options - unfortunately because Swift does not yet have "open" enums this is a breaking change according to SemVer.
It is PEM-only. On macOS we would want to support "P12" for PKCS#12 certificates too - curl does support this - https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html
It is bespoke and not built on https://github.com/IBM-Swift/BlueSSLService - we use BlueSSLService.Configuration for server-side certificate handling and it would be best to reuse the same APIs for client-side certificates too.

So as it stands we won't be able to merge this unfortunately. Having said that I do see the value in the feature so we have no objection in principle to supporting client-side certificates in ClientRequest.

I can try to change the implementation with all your requirements and suggestions. Thank you!

@ianpartridge Thank you for the response, i was thinking about my own implementation (based on @emiliopavia answer).

Is it okay to add another enum (e.g. ClientRequest.SSLConfig) and add another initialiser with ClientRequest.Options and ClientRequest.SSLConfig? Or if we want to implement BlueSSLService, just add SSLService as object?
For this we could add a simple string/enum for PEM, DER and P12 and set these ourself, or based on selected files.
We could use the parameters like certificateFilePath, keyFilePath, password used in the BlueSSLService? (But is this necessary when we only need the paths and password? Looks a overkill for me.

Yes I think the best thing is to add ClientRequest.SSLConfig. If possible we'd like to reuse as much of BlueSSLService as possible, hopefully that won't be overkill.
@pushkarnk can you give your thoughts on this as well please?

 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.


A tag editor representing a TagUnknown can break the UI with long text

SVG:
<svg width="14" height="14" xmlns="http://www.w3.org/2000/svg"><yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeet/></svg>

should trim it and show full text in tooltip

There aren't real SVG tags long enough to cause this.


Browser extension

Add a browser extension that enables the admin interface to communicate with the agent with packed messages.

These changes reduced the errors. Still remaining are reference complaints about the files in concrete\.


Remove dummy test

This reverts commit 99755b0732c060440fd66a7fa58641d46f96ad00.
The dummy test is no longer needed as there exist a lot of real tests now.
Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

Is it sufficient to support testing only with autoconf, but not with cmake? I think yes, but maybe there are other opinions.

there were problems with cmake testings so I turn them off in 126ca8050c178769dc9149b8bab357ab6e3fc871


Evaluate detecting existence of style tag

When server rendering, some style tags might already be present and there is no need to create and reconcile the initial client side style tag. I do not really think this matters, but it is possible to detect the existence of the style tag based on the generated hash.
For example:
const cssHash = hash(props.css);

if (document.head.querySelector(`[data-href="${cssHash}"]`) {
  return
}

But this would happen during reconciliation... does not feel right, and React already wastes a ton of work doing reconciliation... this is probably minimal overhead.

This does not matter, React does a lot of reconciliation work in the client also with SSR. A lot of React.createElement are run, even though the DOM does not actually update... the same goes for the style tag. So no much overhead added.


Error while run Apollo_5.0? docker/scripts/dev_start.sh: line 335: type: nvidia-docker: not found

System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): 20.04
Apollo installed from (source or binary): source
Apollo version (3.5, 5.0, 5.5, 6.0): 5.0 && 5.5
Output of apollo.sh config if on master branch:

Steps to reproduce the issue:
https://www.svlsimulator.com/docs/archive/2020.06/apollo5-0-instructions/

docker pull lgsvl/apollo-5.0
git clone --recurse-submodules https://github.com/lgsvl/apollo-5.0.git
./docker/scripts/dev_start.sh

Supporting materials (screenshots, command lines, code/script snippets):
Before i was working on Apollo_5.5 but it is not compatible with LGSVL simulator so I am trying to run Apollo_5.0 on the same PC. can we run Apollo5.0 and Apollo5.5 on same PC?
Apollo_5.5 works fine but Apollo_5.0 gives an error.
OUTPUT Apollo_5.0:
docker/scripts/dev_start.sh: line 335: type: nvidia-docker: not found
Error response from daemon: Container 3b75262142b5493f95d8d5aa7d03cdfb6d136feb418ab2750e1dc1ec312b188d is not running

OUTPUT Apollo_5.5:

I received the same error initially on Apollo 5.0 (I didn't try 5.5). As I saw in the console text (and you have the same), "type: nvidia-docker" not found. You did not state an install of nvidia-docker in your steps, so maybe this will fix it.

Install nvidia-docker, as stated in https://www.svlsimulator.com/docs/archive/2020.06/apollo5-0-instructions/#setup

Note that you still have to install nvidia-docker even if your nvidia-smi call works which is what I missed on a quick skim of the instructions the first go-around.

Even after doing this, I received an nvidia-runtime error. I fixed that by reinstalling nvidia-container-runtime.

See:
https://forums.developer.nvidia.com/t/docker-container-nvidia-l4t-ml-wont-run/146534/12

@roshambo919  thanks. I did the same to install nvidia drivers. It works fine.
But now I use Apollo_6.0 and every time when I go inside Docker, I need to install Nvidia drivers otherwise it gives error . Why every time I need to install nvidia again and again.


Add a sqlite config option to the aio option of fdo-admin-cli

The user should be able to specify that they want a sqlite database as the storage method when running the servers with fdo-admin-cli aio
The tool should automatically create the sqlite databases and store them in <aio-dir>/stores/.
The user should still manually export the OVs from the manufacturing server's DB and then import them into the owner server's DB.

Maybe we should add a "backend" option and have sqlite/files as the options and default to sqlite

Once sqlite has been enabled in aio, other features that depend on database support, such as the re-registration window of OVs in the owner server should also be configured.


camera isn't working

USB information
https://tva1.sinaimg.cn/large/0082zybply1gbwe0gnj0xj30jc0mq40c.jpg
https://tva1.sinaimg.cn/large/0082zybply1gbwe4tqhywj30u00wegr2.jpg
But camera can't be found!
https://tva1.sinaimg.cn/large/0082zybply1gbwe38qz7gj31220u0adf.jpg
FaceTime is not ok too.
https://tva1.sinaimg.cn/large/0082zybply1gbwe419fyjj31080sqjty.jpg

Cause camera function is seldom used, it's been disabled in Bios settings (See the last point in Bios settings from my guide.)
After testing and enabled camera in Bios, camera working as normal.
Pls check your Bios settings again...


sensor.thermometer_humidity

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
**Home Assistant release (hass --version):35.3
**Python release (python3 --version): 3
**Component/platform: sensor
**Description of problem: sensor.thermometer_humidity took 0.435 seconds. Please report platform to the developers at https://goo.gl/Nvioub
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

What kind of component is your humidity thermometer?

Hi Daniel,
It's a RFX thermometer.  Do you need more info?
-------- Origineel bericht --------
Van: "Daniel Høyer Iversen"<EMAIL_ADDRESS>Verzonden: 18 januari 2017 14:30:54 CET
Aan: home-assistant/home-assistant<EMAIL_ADDRESS>CC: heilloos<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Onderwerp: Re: [home-assistant/home-assistant] sensor.thermometer_humidity (#5416)
What kind of component is your humidity thermometer?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/home-assistant/home-assistant/issues/5416#issuecomment-273475392
Met vriendelijke groeten, with kind regards,
Hans Hofstee

Do you use the Tellstick component to get the data?

I use a raspberry with usb rfxcom transciever.  The thermometer is a Cresta thermo  - hygro.
In the yaml the config of the rfxtrx sensor and the two data types mentioned as des ribed in th HA guidance.
-------- Origineel bericht --------
Van: "Daniel Høyer Iversen"<EMAIL_ADDRESS>Verzonden: 18 januari 2017 16:17:13 CET
Aan: home-assistant/home-assistant<EMAIL_ADDRESS>CC: heilloos<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Onderwerp: Re: [home-assistant/home-assistant] sensor.thermometer_humidity (#5416)
Do you use the Tellstick component to get the data?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/home-assistant/home-assistant/issues/5416#issuecomment-273503090
Met vriendelijke groeten, with kind regards,
Hans Hofstee
Mobile (31) (0) 6 51578359

Hi Daniel,
Did not get the error message again up to now
Met vriendelijke groet, With kind regards,
Hans Hofstee
The Netherlands
De Rietvink 10 1852 RM Heiloo
Mobile (31) (0) 6 51578359
Van: Daniel Høyer Iversen<EMAIL_ADDRESS>Verzonden: woensdag 18 januari 2017 16:17
Aan: home-assistant/home-assistant<EMAIL_ADDRESS>CC: heilloos<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Onderwerp: Re: [home-assistant/home-assistant] sensor.thermometer_humidity (#5416)
Do you use the Tellstick component to get the data?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant/issues/5416#issuecomment-273503090 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQGdHMsFo0xPcy6fB5kuBYvvk6Xvt_OVks5rTiz5gaJpZM4LmqhJ .

Ok,
I have check the code and can not see anything wrong.
Closing this, but please open a new issue if it remains a problem.


Swagger Doesn't Support Scala 'Option' Types in version 1.5.6

refer to https://github.com/swagger-api/swagger-core/issues/706

fixed in master.

thx!


[diem-framework][move-stdlib] Use Named Addresses

Motivation

Increase readability of Diem Framework and also clean-up some now un-needed functions

Test Plan

rebuilt DF/Stdlib

Related PRs

Built on  #8390, so need to wait for that

@tnowacki looking into it right now...

I tried to run the diem-framework binary with = 0x1 removed from from both move-stdlib/modules/addresses.move and diem-framework/modules/CoreAddresses.move and here's what I got:

   ┌── /Users/vgao/libra/language/diem-framework/modules/AccountAdministrationScripts.move:2:23 ───
   │
 2 │ module DiemFramework::AccountAdministrationScripts {
   │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unable to fully compile and resolve module declaration
   ·
 2 │ module DiemFramework::AccountAdministrationScripts {
   │        -------------  No value specified for address 'DiemFramework'
   │

error:

   ┌── /Users/vgao/libra/language/diem-framework/modules/AccountCreationScripts.move:1:23 ───
   │
 1 │ module DiemFramework::AccountCreationScripts {
   │                       ^^^^^^^^^^^^^^^^^^^^^^ Unable to fully compile and resolve module declaration
   ·
 1 │ module DiemFramework::AccountCreationScripts {
   │        -------------  No value specified for address 'DiemFramework'
   │

error:

   ┌── /Users/vgao/libra/language/diem-framework/modules/AccountFreezing.move:2:23 ───
   │
 2 │ module DiemFramework::AccountFreezing {
   │                       ^^^^^^^^^^^^^^^ Unable to fully compile and resolve module declaration
   ·
 2 │ module DiemFramework::AccountFreezing {
   │        -------------  No value specified for address 'DiemFramework'
   │

error:

   ┌── /Users/vgao/libra/language/diem-framework/modules/AccountLimits.move:3:23 ───
   │
 3 │ module DiemFramework::AccountLimits {
   │                       ^^^^^^^^^^^^^ Unable to fully compile and resolve module declaration
   ·
 3 │ module DiemFramework::AccountLimits {
   │        -------------  No value specified for address 'DiemFramework'
   │

...

This is expected right? I mean I would only expect this to work if you fix the generation code so that it binds the addresses when calling the compiler.
I did not observe "a lot of other crazy new files". Note it's normal to see a bunch of files being deleted -- those are the old artifacts and we failed to regerate them.
D releases/artifacts/current/modules/000_Signer.mv
 D releases/artifacts/current/modules/001_Errors.mv
 D releases/artifacts/current/modules/002_CoreAddresses.mv
 D releases/artifacts/current/modules/003_DiemTimestamp.mv
 D releases/artifacts/current/modules/004_Roles.mv
 D releases/artifacts/current/modules/005_ValidatorOperatorConfig.mv
 D releases/artifacts/current/modules/006_Vector.mv
 D releases/artifacts/current/modules/007_Option.mv
 D releases/artifacts/current/modules/008_Signature.mv
 D releases/artifacts/current/modules/009_ValidatorConfig.mv
 D releases/artifacts/current/modules/010_SlidingNonce.mv
 D releases/artifacts/current/modules/011_BCS.mv
 D releases/artifacts/current/modules/012_Event.mv
 D releases/artifacts/current/modules/013_DiemConfig.mv
 D releases/artifacts/current/modules/014_DiemSystem.mv
 D releases/artifacts/current/modules/015_Hash.mv
 D releases/artifacts/current/modules/016_FixedPoint32.mv
 D releases/artifacts/current/modules/017_RegisteredCurrencies.mv
 D releases/artifacts/current/modules/018_Diem.mv
 D releases/artifacts/current/modules/019_AccountLimits.mv
...

Okay, so I tried to run the diem-framework binary with = 0x1 removed from only move-stdlib/modules/addresses.move and it works. Nothing was updated and I didn't see any "crazy new files" either. I'm not sure I'm replicating the exact issues you ran into, but I can see two potentially problems we'll have to deal with here.

How the addresses are bound

Is it correct that right now, the only way to bind an address to a name is to include an "assignment" (I don't know the right term here... you know what I mean) in a .move file? I'd argue if want your "package" to be deployable to different platforms, such address assignments should not be part of the package itself.
This might explain some of the problems you ran into: you have Std declared in the stdlib, but unbound. This is fine when you build the diem-framework since it sets Std to 0x1. It is problematic however when you build stdlib alone (we currently do this to generate the docs).
I wonder if you should allow the addresses bindings to specified via the public interfaces of movec.

How do we present addresses in the docs/making the doc generator support named addresses

Should we have named or actual addresses in the docs? Also a similar question is, should the docs be platform-specific?

How the addresses are bound

Yeah you need an assignment currently, but you can declare it without binding it. I want to have address Std; in this file, not address Std = 0x1;
You can declare a address any number of times you want, so over in the DF it has a declaration address Std = 0x1; which is fine for these packaging issues.
I do plan on allowing addresses to be specified as an argument for move-build, but I don't really plan on doing that anytime soon.

How we present addresses in the docs

Named addresses. Always.
Addresses are unique to their name, you cannot swap it out for the value in the syntax. So if you have address Std = 0x42; you have to do Std::Vector, and 0x42::Vector is an error.
I don't see why docs would have to be deployment specific based on this.
But overall, why do the docs need the compiled code? Doesn't make a lot of sense to me.

I did not observe "a lot of other crazy new files". Note it's normal to see a bunch of files being deleted -- those are the old artifacts and we failed to regerate them.

Thats probably what I saw, that on one of my commits the files were deleted when they were failed to be regenerated, and then got added again later once it worked. Makes sense, thanks!

I personally prefer "Std" over "StdLib", and along the same lines, I'm wondering if "Diem" would be better than "DiemFramework". In both cases, the "Lib" or "Framework" suffix seems unnecessary and just makes the names longer. To be clear, I'm not suggesting we change the "Diem Framework" name, only that the named address doesn't need to include the "framework" part.

I personally prefer "Std" over "StdLib", and along the same lines, I'm wondering if "Diem" would be better than "DiemFramework". In both cases, the "Lib" or "Framework" suffix seems unnecessary and just makes the names longer. To be clear, I'm not suggesting we change the "Diem Framework" name, only that the named address doesn't need to include the "framework" part.

Definitely agreed on the Std case.
For the framework, my main reason of adding Framework all over is there are other Diem associated addresses.
Like it felt weird to have
address Diem = 0x1;
address DiemRoot = 0xA550C18;

and
address DiemFramework = 0x1;
address DiemRoot = 0xA550C18;

felt a bit better

But I agree it is a bit verbose and makes everything longer... maybe just DF?

DF is too short for my tastes. Diem and DiemRoot seems fine to me.

To me Diem seems too terse. The point that Todd makes is a good one, and I think having descriptive (and consistent) names is important here.
One other thing is if at a later date the association wanted to publish modules just for itself, then having the Diem name for that would make more sense, and the Diem Framework to be under the DiemFramework address.
While I have preference for DiemFramework, I'm not strongly against Diem so would be fine with that if we can't reach consensus on DiemFramework (but am pretty strongly against DF -- it's too short and not descriptive enough for me).

I can live with DiemFramework

I'd also prefer "DiemFramework" over "DF" -- just imagine having both "DF" and "DiemRoot" and they look inconsistent to me. You could rename the latter to "DR" but I would still prefer us being explicit.

sir, when will this land?

@lerencao, sorry for the delay but this has hit a bit of snag. There is an issue in that the sandbox for the CLI (among other tools) uses compiled modules to build fake "interface files" for the source language compiler. In that translation from source code ~> compiled modules ~> source code, the named addresses are lost and I am working on an extension to the compiler (and the sandbox) to address this.
So it might be a bit, sorry!

/land


Can't use the firebase_messaging package with other firebase packages

Steps to Reproduce
I'm having any issue building my app when I use the firebase_messaging package. I can run the example on its own but when I try to add other packages (e.g. firebase_auth) in the pubspec.yaml my build fails. The same is true the otherway around, I can build an example firebase_auth app but I can't include the firebase_messaging package.
Logs
Running "flutter packages get" in my_friendlychat...
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Configuration 'compile' in project ':firebase_analytics' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':firebase_auth' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':firebase_database' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':firebase_storage' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':google_sign_in' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':image_picker' is deprecated. Use 'implementation' instead.
Dex: Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/internal/zzbq;
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/internal/zzbq;
com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/internal/zzbq;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:198)
at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:61)
at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:36)
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.

com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/internal/zzbq;

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 38s
Finished with error: Gradle build failed: 1
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.1.5, on Microsoft Windows [Version 10.0.16299.309], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.0)
[√] Connected devices (1 available)

I figured it out. I was using old versions of some of the packages and just needed to change them to the up to date ones. Feeling dumb...


[WIP] Catalog group and policy seeding

That is an early start at trying to seed groups if the user is an org_admin and the groups do not already exist in RBAC.
I considered moving the controller work into a before or after action callback.  Also, the code does not currently check if the Groups exist before calling the existing seeding logic.  The Thread.new is optional as well.
Per the linked Jira issue the suggested names are "Default Catalog Administrators" and "Default Catalog Users".
Note: The code as-is does not currently work.
https://projects.engineering.redhat.com/browse/SSP-686
cc @syncrou

Pulling the group_seed service @gmcculloug built here into https://github.com/ManageIQ/catalog-api/pull/391

Closing this as we're merging the group_seed service into an api based seeding mechanism.


Uncaught TypeError: webpack_require.i(...) is not a function

I am getting this error when I upgraded to 3 version of react-treebeard. I had to switch to 2.1.0.
Error: Uncaught TypeError: webpack_require.i(...) is not a function
Code: I was using the example code from the readme file

Hi @uzairalam15. Do you have the same error yet? I can't reproduce this.


Updates to Leptos Book

Related issue: #2007
In this commit, three things have been modified:

the mdbook-admonish dependency has been updated to the latest version
the appendix on "optimizing wasm binary size" has been moved under the "Deployment" chapter as a sub-chapter (and the corresponding files have been moved into a 'deployment' directory)
there have been some very light edits to the deployment chapters (1 sentence added, fixed some grammar and such)

nb: No core Leptos code has been updated.
Lastly, I tend to prefer updating in small chunks to make reviews easier, but if you prefer the updates to the book to be batched into a single larger commit, just let me know. Thanks!

Thanks! This all looks good.


Avoid using golden json which need to be kept up to date

This removes the need for the golden manifests and injects the values needed for the various tests directly so these files don't need to be kept up to date with schema changes.

Without a golden schema file+ CI test, how do we verify that the PR didn't
modify the schema, which requires an explicit user intervention version
bump?
This is intentional friction only applicable to schema changes.
On Fri, Jan 20, 2023, 16:27 Peter @.***> wrote:

@.**** commented on this pull request.
In tests/core/test_read_manifest.py
https://github.com/siliconcompiler/siliconcompiler/pull/1218#discussion_r1083065376
:

@@ -51,11 +51,8 @@ def test_read_defaults(datadir):
actual = json.load(f)

 # expected

with open(os.path.join(datadir, 'defaults.json'), 'r') as f:

   expected = json.load(f)

special case (initialized in constructor)

expected['design']['value'] = 'test'

expected_chip = siliconcompiler.Chip('test')
expected = expected_chip.schema.cfg

It's possible this test needs to be reworked to test the functionality
better, which I wasn't sure what the true test was aiming for. I'd like to
see if there is a path for the test that doesn't require the defaults
manifest, but if that is not possible, we can restore it.
—
Reply to this email directly, view it on GitHub
https://github.com/siliconcompiler/siliconcompiler/pull/1218#discussion_r1083065376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARAM4DFILRNUVE23CYOMSDWTL7KHANCNFSM6AAAAAAUB4IMCU
.
You are receiving this because your review was requested.Message ID:
@.***>

Without a golden schema file+ CI test, how do we verify that the PR didn't modify the schema, which requires an explicit user intervention version bump? This is intentional friction only applicable to schema changes.
…
On Fri, Jan 20, 2023, 16:27 Peter @.> wrote: @.* commented on this pull request. ------------------------------ In tests/core/test_read_manifest.py <#1218 (comment)> : > @@ -51,11 +51,8 @@ def test_read_defaults(datadir): actual = json.load(f) # expected - with open(os.path.join(datadir, 'defaults.json'), 'r') as f: - expected = json.load(f) - - # special case (initialized in constructor) - expected['design']['value'] = 'test' + expected_chip = siliconcompiler.Chip('test') + expected = expected_chip.schema.cfg It's possible this test needs to be reworked to test the functionality better, which I wasn't sure what the true test was aiming for. I'd like to see if there is a path for the test that doesn't require the defaults manifest, but if that is not possible, we can restore it. — Reply to this email directly, view it on GitHub <#1218 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARAM4DFILRNUVE23CYOMSDWTL7KHANCNFSM6AAAAAAUB4IMCU . You are receiving this because your review was requested.Message ID: @.***>

okay, I can see that, I'll restore the default.json

@aolofsson I restored the test with the defaults.json manifest.


feat: stop spinner on process exit

Stops the spinner when SIGTERM or SIGINT is received.
cc @PondWader

Looking at other implementations aren't there more signals we need to use? See https://github.com/tapjs/signal-exit/blob/main/src/signals.ts

all should be sorted now 👍
on exit event we process.exit with the code that was passed
on SIGINT and SIGTERM, we exit with 128 + {code} as per node's docs (for whatever reason)


Automatic Rate limiting / DDoS prevention

Cache senders' IDs.
Decide on ttl for cached IDs.
Decide if we're going to have cool-offs for spammers, or permanent bans.
Decide on ttl for cool-offs.

Closing this one for now. Telegram's protection mechanisms work really nice and I think manual bans (#4) are a better user feature than this. Reopen if any real-world need is encountered for this one


Is it possible to get flashing progress (percentage)?

First. Many thanks to this great library/tool. It saves a lot of time.
And forgive me the issue template doesn't fit the feature request.
Feature request
Provide flashing progress.
Expected behavior
may be add progress callback here
var Avrgirl = require('avrgirl-arduino');

var avrgirl = new Avrgirl({
  board: 'uno'
});

avrgirl.flash('Blink.cpp.hex', function (error) {
  if (error) {
    console.error(error);
  } else {
    console.info('done.');
  }
}, function(progress) { // progress here
    console.log(progress);
});

Description
I used avrdude to flash the board before.
Avrdude doesn't have the progress, But I can detect the output string with symbol '#' to calculate progress.
The information of debug mode is not enough. Any way to get progress on avrgirl-arduino ?
Current debug mode
found nano on port /dev/cu.usbserial-A50285BI
connected
reset complete.
flashing, please wait...
flash complete.

Avrdude
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/alex/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem14B431
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
         Hardware Version: 3
         Firmware Version: 4.4
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "/var/folders/dl/l61g8nsd3cbdt05jk2xjrdt40000gp/T/arduino_build_896654/StandardFirmata.ino.hex"
avrdude: writing flash (12330 bytes):

Writing | ################################################## | 100% 2.24s

avrdude: 12330 bytes of flash written
avrdude: verifying flash memory against /var/folders/dl/l61g8nsd3cbdt05jk2xjrdt40000gp/T/arduino_build_896654/StandardFirmata.ino.hex:
avrdude: load data flash data from input file /var/folders/dl/l61g8nsd3cbdt05jk2xjrdt40000gp/T/arduino_build_896654/StandardFirmata.ino.hex:
avrdude: input file /var/folders/dl/l61g8nsd3cbdt05jk2xjrdt40000gp/T/arduino_build_896654/StandardFirmata.ino.hex contains 12330 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.67s

avrdude: verifying ...
avrdude: 12330 bytes of flash verified

avrdude done.  Thank you.

Hi @altjz thanks for opening this issue.
Progress reporting is a feature I have wanted to implement for a long time now. After this issue was opened by you I started working on this. I'll set up a milestone and reference this issue soon so you can track progress on this feature. It is a big job to implement for a variety of reasons, but we're getting there slowly 😄
Would you be interested in helping test this feature once it's ready?
Thanks again

Hi @noopkat, thanks for response.
I can't wait to test this feature! Let me know once it's ready! 😃

Hi @noopkat, what is the status of this ? Is there any work that can be contributed?

@s00500 I'm about halfway through implementing this but I want to prioritize the work on my end to get it done asap. Sorry it has taken so long it's been a lot of work.


--retain_upload_dir is missing from stage

I don't think this is needed. Stage overrides the value and sets it to true so appcfg doesn't delete the directory after completing. It's a little hacky :\


[FEATURE] URL command - navigate using JS without reloading

It would be awesome to have ability to switch Lovelace cards using builtin JS navigation.
My personal use case is that I have a card with 'open door' button and webrtc stream from my door cam that support background streaming. When someone press doorbell I want to switch/navigate to that card, but with navigation implemented in wallpanel (url command) I can only  go there with reloading stream - that takes few seconds to show stream.
Switching card by touching Lovelace UI card navigates smooth and stream is shown instant. Switching card by navigating by wallpanel make it realod.
Maybe there is simple way using eval command ?
BTW, please check links on GitHub wiki page, they seams to be broken after moving to new url

same suggestion


Version 1.2.10 - ClassCastException in specific devices (Lenovo, Asus)

After upgrading to1.2.10 some crashes were reported in:

Lenovo Tab M10 FHD Plus
Lenovo Tab E10
ZenFone 6 (ZS630KL) (WW) / 6Z (ZS630KL) (IN)

with Android Versions 8, 10 and 11.
When my activity class that extends LocalizationActivity is created, this crash occurs:
Caused by java.lang.ClassCastException: be.a cannot be cast to androidx.fragment.app.Fragment
       at androidx.fragment.app.Fragment.instantiate(Fragment.java:613)
       at androidx.fragment.app.FragmentContainer.instantiate(FragmentContainer.java:57)
       at androidx.fragment.app.FragmentManager$3.instantiate(FragmentManager.java:483)
       at androidx.fragment.app.FragmentStateManager.<init>(FragmentStateManager.java:85)
       at androidx.fragment.app.FragmentManager.restoreSaveState(FragmentManager.java:2728)
       at androidx.fragment.app.FragmentController.restoreSaveState(FragmentController.java:198)
       at androidx.fragment.app.FragmentActivity$2.onContextAvailable(FragmentActivity.java:149)
       at androidx.activity.contextaware.ContextAwareHelper.dispatchOnContextAvailable(ContextAwareHelper.java:99)
       at androidx.activity.ComponentActivity.onCreate(ComponentActivity.java:322)
       at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:273)
       at com.akexorcist.localizationactivity.ui.LocalizationActivity.onCreate(LocalizationActivity.java:24)
       at com.xxx.MyCustomActivity.onCreate(MyCustomActivity.java:104)

Do you know what be.a is ? It was obfuscated.

Do you know what be.a is ? It was obfuscated.

It is obfuscated class. But I only get the error in production app and unfortunately I cannot figure out what the obfuscated fragment is.

You can upload mapping.txt that generated from obfuscate processing in Google Play.
It will help you to retrace mapping the obfuscated class in production to original class name.

Since AndroidX AppCompat has per-app language preferences for backward compatibility. Please migrate this library to AndroidX for more stability, compatibility, and longer support from Google team.
See Migrate to AndroidX guide
Thank you for your support


Unhide new suggestions icon

resolves #1586

Also, do we still want to hide the @ and # buttons? That CSS rule needs updated more if so. I can do that in this PR too.

Let's get this in and we can open a separate issue on reworking all CSS selectors around that toolbar properly.

Yes we still want to hide those. They make no sense, just press @ and #

I think the rest was unhidden for some reason before that. Let's discuss that whole toolbar and the implementation. This was just a quick fix for new GitHub feature.


adding 2024-01-01-preview changes

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

Please fill out the Purpose of this PR and Due diligence checklist.

As recommended yesterday, please fill out the Purpose of this PR and Due diligence checklist.

Please check and review the common types and reuse them accordingly.
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/common-types/resource-management/v5/types.json


Missing JavaScript file

The file
Scripts\plugins\angular\angular-message-format-min.js
is missing from the project and is not in github though it is referenced in the project.

Hi Terry,
sorry for the delay around this. Could you also share which solution this is referring into, since there's multiple samples/solutions in this repository. Thx.

Double checked and missing file is currently in project. Thx Terry for reporting and closing this one.


Addon fails to start after update to <IP_ADDRESS>

zigbee2mqtt add-on version (if edge, please report commit hash):
<IP_ADDRESS>
Operating environment (HassOS, Virtual Machine, Device/platform running Home Assistant):
Home Assistant 0.115.2
Description of problem:
I resolved the issues with <IP_ADDRESS> by updating the config to the new block and passlist names.  On updating to <IP_ADDRESS> today, zigbee2mqtt add on fails to start.
Your entire configuration from the frontend (with sensitive fields redacted):
data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://hassio.lan'
  user: *****
  password: *******
  version: 5
serial:
  port: >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E325A9-if00
  disable_led: true
advanced:
  report: true
  log_level: warn
  pan_id: 6754
  channel: 20
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
experimental: {}
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

Your logs from Home Assistant
s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
./run.sh: line 17: [Info] Configuration backup found in /share/zigbee2mqtt/.configuration.yaml.bk. Skipping config backup.: No such file or directory
[Info] Socat is DISABLED and not started
2020-09-23T23:11:35: PM2 log: Launching in no daemon mode
2020-09-23T23:11:35: PM2 log: App [npm:0] starting in -fork mode-
2020-09-23T23:11:35: PM2 log: App [npm:0] online
><EMAIL_ADDRESS>start /zigbee2mqtt-1.14.4
> node index.js
npm
 ERR! code ELIFECYCLE
npm ERR! errno 1
npm
 ERR<EMAIL_ADDRESS>start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-09-23T22_11_59_582Z-debug.log
2020-09-23T23:12:00: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2020-09-23T23:12:00: PM2 log: App [npm:0] starting in -fork mode-
2020-09-23T23:12:00: PM2 log: App [npm:0] online
><EMAIL_ADDRESS>start /zigbee2mqtt-1.14.4
> node index.js

@dunxd can you please change log_level to debug and restart the add-on? The trace provided is not very explicit.

Hi, I have a same problem. Here is my log with debug level.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
./run.sh: line 17: [Info] Configuration backup found in /share/zigbee2mqtt/.configuration.yaml.bk. Skipping config backup.: No such file or directory
[Info] Socat is DISABLED and not started
2020-09-24T12:43:37: PM2 log: Launching in no daemon mode
2020-09-24T12:43:37: PM2 log: App [npm:0] starting in -fork mode-
2020-09-24T12:43:37: PM2 log: App [npm:0] online

<EMAIL_ADDRESS>start /zigbee2mqtt-1.14.4
node index.js
Zigbee2MQTT:info  2020-09-24 12:43:39: Logging to console and directory: '/share/zigbee2mqtt/log/2020-09-24.12-43-39' filename: log.txt
Zigbee2MQTT:debug 2020-09-24 12:43:39: Removing old log directory '/share/zigbee2mqtt/log/2020-09-24.12-41-05'
Zigbee2MQTT:debug 2020-09-24 12:43:40: Loaded state from file /share/zigbee2mqtt/state.json
Zigbee2MQTT:info  2020-09-24 12:43:40: Starting Zigbee2MQTT version 1.14.4 (commit #1.14.4)
Zigbee2MQTT:info  2020-09-24 12:43:40: Starting zigbee-herdsman...
Zigbee2MQTT:debug 2020-09-24 12:43:40: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null},"backupPath":"/share/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/share/zigbee2mqtt/database.db.backup","databasePath":"/share/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/ttyACM0"}}'
(node:242) UnhandledPromiseRejectionWarning: Error: SREQ '--> ZDO - activeEpReq - {"dstaddr":0,"nwkaddrofinterest":0}' failed with status '(0xc2: NWK_INVALID_REQUEST)' (expected '(0x00: SUCCESS)')
at Znp. (/zigbee2mqtt-1.14.4/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:291:27)
at Generator.next ()
at fulfilled (/zigbee2mqtt-1.14.4/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:24:58)
(node:242) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:242) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Your error UnhandledPromiseRejectionWarning: Error: SREQ '--> ZDO - activeEpReq - ... failed with status '(0xc2: NWK_INVALID_REQUEST)' ... points to a problem with your adapter.
You can try a few steps:

Remove and reinsert CC2531
Press reset button on CC2531
Change the panId ⚠ unsure if this would require you to repair all your devices

If nothing works, try to re-flash the USB with the latest stable firmware

Hi,
Thanks for help! In my case Press reset button on CC2531 helped and solved the problem. Remove and reinsert didn't work.
By the way what is easiest way to check  ZStack/Firmware on CC2531?

@M1kk0H you can use Edge version of the add-on and that gives you a lot of debug messages on startup including that or if you want to use Stable and get the information, you can use for Stable:
Configuration → Integrations → MQTT → Configure → Listen to a topic
Topic to subscribe to: zigbee2mqtt/bridge/config → Start Listening
You should see a JSON like this:
{
    "commit": "1.14.4",
    "coordinator": {
        "meta": {
            "maintrel": 3,
            "majorrel": 2,
            "minorrel": 6,
            "product": 0,
            "revision": 20190619,
            "transportrev": 2
        },
        "type": "zStack12"
    },
    "log_level": "info",
    "network": {
        "channel": 11,
        "extendedPanID": "<redacted>",
        "panID": 6754
    },
    "permit_join": false,
    "version": "1.14.4"
}

In my experience it wasn't necessary to do anything with my CC2531. After I changed log_level to debug and restarted zigbee2mqtt add-on things started working again.
I ended up restoring a backup with HA 1.115.0 and Zigbee2Mqtt add-on 1.14.2, and things started working again. I then brought zigbee2mqtt up to date (1.14.4) and things still worked, so I finally brought HA up to date (1.115.2) and still everything works. I don't know what was going wrong last night.

I might have been that something kept the resource busy. Maybe the Supervisor didn't release the serial port resources from the older version before the new one got installed, so it just needed time to recover. This has nothing to do with the add-on itself.

I think it might have been something like that. I haven't encountered with any previous updates. The issue did persist between HA reboots, but perhaps it just requires more patience on my part.
Thanks for assistance.


FOAT Support for Cellular Modules

It would be nice to have the ability to perform an FOAT update from the host MCU to the cellular module built into ubxlib. Or the ability to use the AT client directly to make my own implementation of this. Unless im missing this and it's already a built in feature?

Hi @michaelboeding,
Thank you for getting in touch! We do already support monitoring-only functionality in ubxlib. However, adding FOAT update support is indeed a valuable enhancement, and we’ll definitely discuss it internally.
In the meantime, you can use the AT client directly. Please refer to the ATClient documentation for more details. You can also obtain the AT Client Handle using uCellAtClientHandleGet.
Let me know if using the AT client directly along with the current monitoring support works for you.
Thank you.

Hey @m-abubakar I have started implementing this in my code and am using the AT client you listed above - thanks! So far I have gotten to where the module is ready to receive the data over UART so I start transferring the data OTA and then to the module over UART as received using the Xmodem protocol. But I never seem to get a packet to send. See below on some of my logs. Note the weird bytes that the module seems to be emitting...does that mean anything? I also noticed in the documentation it says that " Once the +UFWUPD AT command is ready to transfer binary data, it will not accept any AT
commands for approximately 109 s" should I not be using the AT client to send the data over UART or is this fine even though it says this?
E (187915) SARAR4: Timeout or error while waiting for ACK for packet 1
E (187915) SARAR4: Failed to send packet 1
E (187915) ExternalModuleUpdater: Firmware update send to SARAR422S over UART via AT Client Failed
I (187925) SARAR4: Sending firmware data using AT client...
I (187925) SARAR4: Sending Xmodem packet 1 with 128 bytes
AT
AT
OK
[01][01][fe][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][08][1f][fe]?[13][00][00][00]T[04][fe]?T[04][fe]?[00][00][00][00][80][1b][fe]?F[01][00][00][d4][99][fc]?[04][b1][fe][90][c2]![[00]90@?j[bc][1b]B[14][9f][b8][c2][04][b1][fe][90][c2]![[00]90@?j[bc][1b]B[14][9f][b8][c2][04][b1][fe][90][c2]![[00]90@?j[bc][1b]B[1E (187915) SARAR4: Timeout or error while waiting for ACK for packet 1
E (187915) SARAR4: Failed to send packet 1
E (187915) ExternalModuleUpdater: Firmware update send to SARAR422S over UART via AT Client Failed
I (187925) SARAR4: Sending firmware data using AT client...
I (187925) SARAR4: Sending Xmodem packet 1 with 128 bytes
AT
AT
OK
[01][01][fe][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][08][1f][fe]?[13][00][00][00]T[04][fe]?T[04][fe]?[00][00][00][00][80][1b][fe]?F[01][00][00][d4][99][fc]?[04][b1][fe][90][c2]![[00]90@?j[bc][1b]B[14][9f][b8][c2][04][b1][fe][90][c2]![[00]90@?j[bc][1b]B[14][9f][b8][c2][04][b1][fe][90][c2]![[00]90@?j[bc][1b]B[1

Any update on this? Am I doing something wrong based on that output?


Add HTML Character Escape Decoding

PR closes feature #2
As evident from tests, requests with character encoding are now translated to paths that include spaces.
Requests with spaces are rejected as invalid URIs.
Thanks for creating this project, it has saved me a lot of time!

I have tested this in my dioxus embedded project and it works without issues. Firefox network request screenshot attached.

@informationsea this is now green, thanks for building :)

Bump, in case you would like to merge this @informationsea

Bumping again @informationsea in case you have forgotten

@informationsea bump to merge please :)


Create a function from Logic App Designer

Exactly how do you go about getting the dialog where you can specify the "Input payload object" when automatically creating a new function from within the logic app designer?

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

ID: 087366a1-80f9-fd3a-c736-d1275f0c4aca
Version Independent ID: c12d4e3b-aa27-aa3e-1ec2-82116599c01d
Content: Custom code for Azure Logic Apps with Azure Functions
Content Source: articles/logic-apps/logic-apps-azure-functions.md
Service: logic-apps
GitHub Login: @jeffhollan
Microsoft Alias: LADocs; jehollan

@Bartolomeus-649 Thanks for the feedback! We are currently investigating and will update you shortly.

Hey @Bartolomeus-649
UI label in the Azure Portal for the said dialog used to read "Input payload object," however, it has since been renamed to read "Request Body," screenshot below:

The dialog will show, within your LA designer View -> Function app Action, right after you go through the steps below:

Add a new Action in your existing LA flow and select Azure Functions as your Action
Select Functions app account available to your subscription (if none exists, go to Function App & create one)
Choose "Create new Function" and name your Function
Dialog to specify payload object will show at this step and its label should read "Request Body"

I hope after taking the steps above, you'd be able to complete your LA & Function App setup successfully. If you continue to have issues following this doc, let us know and we'd be happy to assist. Furthermore, as next step, we will re-assign this issue to the content author to update the screenshots.

Creating a new function wasn't the problem. In the documentation, the "old" dialog seem to have been displayed before the actual function was created, and when next was pressed and the function was created, it, according to the documentation,  should have variables reflecting the object you choose as th input objects to the function in the dialog.
Since the create function action dialog now just asks for the name, it creates a function that has nothing to do with the parameters you then later choose to invoke it with.

@Bartolomeus-649 Thanks for your valuable feedback & clarification. Content author has been notified and will review and take the right course of action when it comes to the new UX flow within Azure Functions Connector today VS one described in this doc.
To elaborate a bit more to your second point, aside from asking the name of the function, create function action dialog also shows the function code in a textarea field where you can make any necessary edits to it prior to the function creation process.

Well, the whole point of creating the function from within the Logic App must be that the Logic App knows things like what parameters we are sending to it, so it can generate the correct code for dealing with those parameters and whatever datatype they might be of.
If that's not the case, then what's the point of having his feature in the Logic App at all?

The screenshot above is what you get when select a pre-existing function. We changed the name to better reflect what you are providing (the request body). That said I'm not aware of any changes to the "create new function" experience where you first provide the context you want to invoke, and it scaffolds out some basic javascript code based on the object you crafted previously. I believe that still exists today @derek1ee could confirm / correct

@derek1ee Can you look into this?

@MicrosoftDocs/azure-cxp-triage Can you reassign to @derek1ee?

@Bartolomeus-649 This article has been updated with the current UX and behavior. If there are other issues, please open a new GitHub issue. Thanks for letting us know so we could fix this.
@MicahMcKittrick-MSFT #please-close


(dis)allow corner crossing in diagonal mode

When diagonal moves are allowed, an agent when turning around a corner (wall edge) can cross the corner. This behaviour might not be suitable for some games, as it results in unaesthetic paths, especially for agents having a certain size. Although it can be solved with clearance, we shoud be able to allow/disallow the ability to cross a corner when making a diagonal move.
This can be easily implemented by skipping an adjacent neighbor when getting the list of a node neighbors. Assuming dx and dy are the normalized vectors of movement, we check if the node at (currentNode.x+dx, currentNode.y) is walkable. In case it is, we only add it to the list of neighbors if cornerCrossing is allowed.
The ability to (dis)allowCornerCrossing will be added as a new method to the pathfinder interface.

Hello, was this feature added? I can't find it in the pathfinder.lua script, also "myFinder:setTunnelling(false)"  doesn't work. Have you abandoned this project? or am I missing something?
I'm not very good at algorithms and I don't fully understand this framework, I'm unable to add it myself.


Orca startup time workaround

Workaround for https://github.com/plotly/streambed/issues/11780, plus debugging improvement.

[ ] Tested with CI-built image

@jkaplowitz Please review.

I think the script's fd configuration gets shared by child processes unless/until they take action to redirect theirs.

This is correct, and this is why we don't need the explicit redirection on the xvfb-run ... line anymore.

The redirections on new line 26 differ from those on former line 38 in one way: if pid 1 has different destinations for its own stdout and stderr, the old code sends the script's stdout and stderr to the corresponding pid 1 destinations, whereas the new code sends them both to pid 1's stdout.

You're right about that, and I didn't intend to make that change. I've changed it to keep stdout and stderr separate, just in case someone is relying on this behaviour. (docker logs does keep them separate.)

Great. The new revision looks good. :dancer:


use standard err serializer

hey,
this pull request adds pino.stdSerializers.err to the logger serializers.
is there a reason why this was not done before? maybe i'm naive and missing something obvious.
cheers!

I left that to the user to add, but I think that's a very good point that everybody is going to need it.
So, I'm 👍  for this.
LGTM
@marcbachmann @davidmarkclements what do you think?


add user-defined command lookup mechanism from foreign module

introduce fully qualified command name

pass fully qualified command name to COMP_HOOK


Update LICENSES.md

Corrected grammar.

Codecov Report

Merging #1457 into master will not change coverage.
The diff coverage is n/a.

 Closing this.
Apologies for the noise.


Establish dead code fragments

Whilst refactoring the code as part of #33 there are a few questions that have come up.
Looking at Janni's original repo there are a number of subdirectories under sam_cases/, each with a different version of nn_convection_flux.f90, nn_diffusion.f90, and parameters file prm.
It seems that the code was designed to test a variety of configurations with/without certain variables during development through the use of switches such as rf_uses_rh etc. Is this behavior that needs preserving, or is there a 'final'/'best' version of the net that we are wanting to implement?
If we only want one version of the net then we can(should) remove dead code fragments to speed things up and simplify the code.
If we are wanting to implement a specific net, then which one of the instances in sam_cases/ is it, or is it the nn_convection_flux.f90 file in the sam_code_NN/ directory?
If the latter then is this governed by the parameters listed as defaults in setparm.f90, as there is no prm parameters file in the main directory?
Finally I note that there is a file nn_diffusion.f90. Do we need to do anything with this? My understanding was that we were extracting nn_convection_flux.f90, but perhaps I have misunderstood?

Tagging @paogorman and @yaniyuval in the hopes that they might be able to advise.

Some answers:

We don't need to deal with nn_diffusion.f90
We don't need rf_uses_qp option
We don't need rf_uses_rh in the first implementation (but we might want to add it later)

I believe the correct nn_convection_flux.f90 file to use is un_files_x8_5_layers
Note this is the same as: https://github.com/yaniyuval/Neural_nework_parameterization/blob/v.1.0.3/sam_code_NN/nn_convection_flux.f90

Given that we don't need the rf_uses_qp option, should we delete all code that pertains to that flag, i.e., that would run when this is equal to true (all the name lists set it to false at the moment)? That would leave a leaner code base to work with.

Yes, that code should be deleted.
On Fri, May 12, 2023 at 10:20 AM Dominic Orchard @.***>
wrote:

Given that we don't need the rf_uses_qp option, should we delete all code
that pertains to that flag, i.e., that would run when this is equal to true
(all the name lists set it to false at the moment)? That would leave a
leaner code base to work with.
—
Reply to this email directly, view it on GitHub
https://github.com/m2lines/convection-parameterization-in-CAM/issues/36#issuecomment-1545823967,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARPLW6YIFE6RNQSNJEUILCTXFZBJTANCNFSM6AAAAAAX6GRJEY
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

Thanks @paogorman
I assume do_yin_input (equatorial distance) is always used?
Likewise for Tin_feature_rf?
If this is the case I'll refactor to remove the if statements and clean things up.
What about qin_feature_rf?
Finally @yaniyuval please could you clarify which input parameters are used for the 'final' net?
I'm assuming it's those in setparm.f90 given the absence of a prm file?

Yes do_yin_input, Tin_feature_rf and qin_feature_rf will be always used.
The prm file is in this directory:
https://github.com/yaniyuval/Neural_nework_parameterization/tree/main/sam_code_NN/sam_cases/run_files_x8_5_layers


Add MP3.2 with Helidon, Payara and Liberty

Draft as it will have conflicts with https://github.com/eclipse/microprofile-starter/pull/245

Add Thorntail and merged changes from master


[SR-12930] Add protocol extension to "Result where Success == Void" so that we can use .success()

Previous ID
SR-12930

Radar
None

Original Reporter
ronyfadel (JIRA User)

Type
Improvement

Additional Detail from JIRA

Votes
0

Component/s
Standard Library

Labels
Improvement, StarterProposal

Assignee
None

Priority
Medium

md5: 176bf2fbbef4e6b7e54e92d66bdb68aa

Issue Description:
Currently, to signal a success of type Result<Void, Swift.Error>, we need to use:
.success(())

Combine, for example, special-cases Subject for when the Output is of type Void:
extension Subject where Self.Output == Void {
    /// Signals subscribers.
    public func send()
}

A similar extension could be added for `Result` so that we can use .success(()) instead:
extension Result where Success == Void {
    static func success() -> Self {
        return .success(())
    }
}

I'd be happy to contribute a patch if someone can point me to the proper PR policy.

It seems as if the implementation PR has been closed, should this issue be worked on at the moment?


Erudite Alerts Generated While in Baseline Mode

Alerts should not be created if inquisition is operating with baseline mode enabled.

To be more specific, these are alerts for traffic node analysis. Host analysis just adds the hosts for tracking, as expected.

Completed with commit
https://github.com/magneticstain/Inquisition/commit/133f1e1ccacc202421918e2ea514705fb7ec1964


Fix bit operations.

This fixes a bug in witjitgen where the bit operations used for masking in bit-decomposition would use field elements as types for the masks. The problem is that we sometimes mask using masks outside the field and the proper type for masks is FieldElement::Integer.

The problem is that even if the mask is smaller than the modulus, the result can still be larger. The proper way here would be to do the whole operation in the integers instead. What about adding an operation that just checks that x == x | y? we could either make it an assertion or return 1 on true and 0 on false.

Oh wait no, it's much simpler!


[Feature request] Ledger-integration

Hope this feature request belongs here - I think a ledger-integration like seen on feather-wallet or the official monero-gui would be a nice feature for people owning a ledger :)

@NeatFennec Talk to Ledger Support on the Ledger Live support so that your issue can be looked into.
Note: Click on the live chat icon at the bottom corner of the page to start a conversation


add the name of the college

Please add a name of the college this assignment is for

Name has been added


🐛 Checked options.include when filtering tags

no-issue
Was only checking the query before and not the options which is used from the internal api calls

🐛 Checked options.include when filtering tags

The user won't understand this bug fix.
IMO this does not need an emoji at all?
The logic is only executed if members is enabled and this is an experimental, not announced feature or?

:weary: these emojis!!!

updated commit!


[BUG] Deprecated Twig Errors in PHP 8.1

Expected Behavior
No deprecation errors.
Actual behavior
Front end errors:
Deprecated: Return type of Twig\Node\Node::count() should either be compatible
with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be
used to temporarily suppress the notice in /[site-path]/wp-content/plugins/timber-library/vendor/twig/twig/src/Node/Node.php on line 213

Deprecated: Return type of Twig\Node\Node::getIterator() should either be compatible
with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange]
attribute should be used to temporarily suppress the notice in
/[site-path]/wp-content/plugins/timber-library/vendor/twig/twig/src/Node/Node.php on line 221

Steps to reproduce behavior
Running php v8.1.13
Notes
Installed Timber via composer from the wpackagist library (so using the WP plugin repo source, not a 'true' composer install)
What version of Timber are you using?
1.22.1
What version of WordPress are you using?
6.2.2
What version of PHP are you using?
8.1.13
How did you install Timber?
Other (see notes)

I am seeing the same errors since I updated PHP to 8.1

When I look at wp-content/plugins/timber-library/vendor/twig/twig/src/Node/Node.php on line 213, I see the following error in my IDE's popup:

Method 'Twig\Node\Node::count()' is not compatible with method 'Twig_NodeInterface::count()'.

Similarly, on line 221 I see the message:

Method 'Twig\Node\Node::getIterator()' is not compatible with method 'Twig_NodeInterface::getIterator()'.

Looking at line 23, I see that there's a problem with class Node implements \Twig_NodeInterface:
'Twig_NodeInterface' is deprecated.

Twig_NodeInterface

Represents a node in the AST.

<?php
interface Twig_NodeInterface extends
    Countable,
    IteratorAggregate { }
Abstract base interface that cannot be implemented alone. Instead it must be implemented by either {@see IteratorAggregate} or {@see Iterator}.

@deprecated since — 1.12 (to be removed in 3.0)

@author Fabien Potencier [fabien@symfony.com](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

I did a little investigating, and it looks like replacing class Node implements \Twig_NodeInterface with class Node implements \Twig\Node\Node on line 23 solves the problem.
Note:
I'm using the WordPress installable plugin version, which seems to still be using Twig 1.something, so at this point I got more errors. I downloaded the GitHub version, composer installed from within the newly downloaded directory, and then replaced the vendor folder in the WP plugin with the vendor directory generated by the GH version. Now everything works. Unfortunately, this fix will be wiped out next time an update to the WP installable plugin is released 🤦🏽♀ I can't move this particular site to a composer-managed workflow, so I guess the solution in this case is to downgrade the PHP back to 7 😛

Thank you @baerkins  for the bug report and @megclaypool. In Timber 2.x we are going to upgrade to Twig 3 where this error is no longer present. Since all our resources are currently at making Timber 2 a reality we are not going to fix this at this time. You could both give Timber 2 a spin by using composer require timber/timber:2.x-beta2 in your project. See docs as well: https://timber.github.io/docs/v2/installation/ This version is compatible with PHP8.1.


Add support for flake.lock

Make flake.lock files JSON and mark them as generated.
Description
flake.lock is the lock file for Nix flakes generated by the nix command.
Checklist:

[x] I am associating a language with a new file extension

[x] The new extension is used in hundreds of repositories on GitHub.com:
24.7k results for path:**/flake.lock
[x] I have included a real-world usage sample:

Sample source:
Sample license(s):

[ ] I have included a change to the heuristics

[x] I am adding new or changing current functionality

[x] I have added or updated the tests for the new or changed functionality.

STOP
On Fri, Nov 18, 2022 at 11:45 PM John Gardner @.***>
wrote:

@.**** requested changes on this pull request.
In lib/linguist/generated.rb
https://github.com/github/linguist/pull/6166#discussion_r1027039891:

@@ -466,6 +467,13 @@ def cargo_lock?

   !!name.match(/Cargo\.lock/)

 end

Internal: Is the blob a generated Nix flakes lock file?

Returns true or false

def flake_lock?

 !!name.match(/flake\.lock/)

/flake.lock/ will match filenames that merely contain flake.lock as a
substring; i.e., “Backup‑of‑flake.lockfiles.tgz”. To match the complete
filename only, use:
⬇ Suggested change

 !!name.match(/flake\.lock/)

 name.downcase == 'flake.lock'

Remove the .downcase part if the match is supposed to be case-sensitive.
—
Reply to this email directly, view it on GitHub
https://github.com/github/linguist/pull/6166#pullrequestreview-1187024830,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AITMYZV4S7LHCIDZ22MXGOTWJBSRBANCNFSM6AAAAAASD6YGTY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Looks great. Real-world distribution checks out. Just to confirm the origin of the sample you've added, this is one that you've created, correct? I saw your username listed in one of the fields, but I'd rather not go off an assumption.

It is, it is copied from https://github.com/figsoda/cfg/blob/main/flake.lock, probably one commit or so behind main

The test fail seems to be because that name is the full path of the file, maybe something like !!name.match((^|\/)flake.lock$) would work?

The test fail seems to be because that name is the full path of the file

Shit, you're right. 🤔 So many of these tests are interrogating only the basename(3) of a file path, it didn't occur to me that there might be a dirname(3) component. And, of course, it doesn't help that the property in question has a misleading name/description…
In any case, these oversights are beyond the scope of this PR. For now, we'll just get these tests passing.


Add support for iOS Local Network permission

Summary
Fix #509
Test Plan
Tested in my app by calling the following and verifying that the permission prompt is displayed:
Permissions.check(PERMISSIONS.IOS.LOCAL_NETWORK_PRIVACY)
Permissions.request(PERMISSIONS.IOS.LOCAL_NETWORK_PRIVACY)

Compatibility

OS
Implemented

iOS
✅

Android
❌

Checklist

[x] I have tested this on a device and a simulator (local network privacy not available on simulator)
[x] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[x] I updated the typed files (TS and Flow)
[x] I added a sample use of the API in the example project (example/App.js)

Thanks a lot for this one! However, is it possible for you to migrate the module to ObjC? There's already too much languages on this repository (ObjC, Java, TypeScript, C#…).

@zoontek I have

Thanks a lot for this one! However, is it possible for you to migrate the module to ObjC? There's already too much languages on this repository (ObjC, Java, TypeScript, C#…).

Converted to objective c and tested it still works d2d598fc5aa0bcfaf0aa2c186db65207f9061a01

@grit96 The library has a builtin escape hatch for these cases: https://github.com/zoontek/react-native-permissions/blob/37d732e8333f1a653300292e82d08decaf9e3995/ios/RNPermissions.m#L363
Get ˋisFlaggedAsRequestedvalue on check. If it's false, return "undetermined". If it's true, you can perform a request to get the status (+ callflagAsRequested` on request).
You can have an usage example in the FaceID handler: https://github.com/zoontek/react-native-permissions/blob/2d645ff4f3dfc6db9686bc2fd2877bd049b8043e/ios/FaceID/RNPermissionHandlerFaceID.m

@zoontek something like this?
#import "RNPermissionHandlerLocalNetworkPrivacy.h"
#import "LocalNetworkPrivacy.h"

@implementation RNPermissionHandlerLocalNetworkPrivacy

+ (NSArray<NSString *> *_Nonnull)usageDescriptionKeys {
  return @[ @"NSLocalNetworkUsageDescription" ];
}

+ (NSString *_Nonnull)handlerUniqueId {
  return @"ios.permission.LOCAL_NETWORK_PRIVACY";
}

- (void)checkWithResolver:(void (^_Nonnull)(RNPermissionStatus))resolve
                 rejecter:(void(__unused ^ _Nonnull)(NSError *_Nonnull))reject {
  if (![RNPermissions isFlaggedAsRequested:[[self class] handlerUniqueId]]) {
    return resolve(RNPermissionStatusNotDetermined);
  }

  LocalNetworkPrivacy *local = [LocalNetworkPrivacy new];
  [local checkAccessState:^(BOOL granted) {
    resolve(granted ? RNPermissionStatusAuthorized : RNPermissionStatusDenied);
  }];
}

- (void)requestWithResolver:(void (^_Nonnull)(RNPermissionStatus))resolve
                   rejecter:(void (^_Nonnull)(NSError *_Nonnull))reject {
  [RNPermissions flagAsRequested:[[self class] handlerUniqueId]];
  [self checkWithResolver:resolve rejecter:reject];
}

@end

@grit96 Exactly. With your current request code:
- (void)requestWithResolver:(void (^ _Nonnull)(RNPermissionStatus))resolve
                   rejecter:(void (^ _Nonnull)(NSError * _Nonnull))reject {
  LocalNetworkPrivacy *local = [LocalNetworkPrivacy new];
  [local checkAccessState:^(BOOL granted) {
      [RNPermissions flagAsRequested:[[self class] handlerUniqueId]];
      [self checkWithResolver:resolve rejecter:reject];
  }];
}

I've moved the network request into checkWithResolver so it doesn't get called twice.

I recommend the opposite : perform a request in check (for consistency)

Hi
i used
Permissions.check(PERMISSIONS.IOS.LOCAL_NETWORK_PRIVACY)
this error generated  -> Cannot find name 'Permissions'. Did you mean 'PERMISSIONS'?
i need Network privacy permission check and displaying message for accessing application to Local Network
please help me
tnx a lot
@zoontek
@grit96

Hello! Thanks for this PR, I've tested this and find out that straight after permission request it immediately returns BLOCKED as a response while user request alert is still on screen and user did not allowed or denied it, so it just do not wait untill user will process with any action

@bintoll hmm you are correct - it's happening because there is no way to detect when the user presses decline, so we have a timer which automatically returns denied after 2s. There does seem to be an alternative using NWBrowser but I can't find any objc equivalent API (https://stackoverflow.com/a/67758105/2468126).

@grit96 Got it, that generally is fine, it will not lead to the best UX for user (in case if we would like to alert user after declining permission and allow him to navigate to device settings), but requesting permission itself works nice.
I would recommend to mention this behavior somewhere in readme so the flow would be clear and developers would not create issues regarding this functionality.
Thank you again for implementing this!

after a decline you can re-check (but not re-request!) in order to differentiate perhaps? I have not looked that closely though, if that idea doesn't fit at all, apologies

@mikehardy It seems that it could work, it will be needed to setup an interval to check status consistently until the status will be changed (when user finally will press allow or decline). Will check it al little bit later.
But anyway, as long as this flow breaks the common behavior of requesting permissions in this lib, it's better to mention this.

Why this PR is not merged yet?

@nilaydigiwhiz https://jacobtomlinson.dev/posts/2022/dont-be-that-open-source-user-dont-be-me/
I do almost free, volunteer work on this library (and others) and have a full time job, that's why.
Also, every time someone say things like "Why is this not done yet?", "My company need this!" (for free, obviously) or else, my motivation doesn't go up, isn't it weird? 😄
Anyway, I'm currently on holidays ☀ and will probably take some time from it to review it / test it on several devices and simulators / release it (and later, maintain it and reply to issues - just in case you though that being an open source maintainer is just pressing "merge" buttons)

@zoontek Thanks for your effort and for this great library! Did you have time to review/test this PR? Maybe I can help in someway with this?

@vitalyiegorov Not yet.

I took a check and finally try the @grit96 solution. IMHO this is not enough (and I'm afraid it can't be better)
The permission must be requested using the library or it will fails on check (ex: here react native in dev mode will prompt for permission at app start)
https://user-images.githubusercontent.com/1902323/189542881-c009ee70-e0c6-49c3-aa16-241dab03e455.MP4
Also, this indeed use deprecated APIs so it's not future proof. I'd rather not merge this as it will create confusions and issues.

Any updates here?


write big file cloud not finish

use repo-client write a 32k file, repo still return 300.
repo-client log

ndn-repo-python log

ndn-repo-python sourceCode

by reading code, find meta_info.final_block_id is error
ndn-repo-python commit-id: acaf20ade8

Hello. I'm unable to reproduce the result. Could you confirm that:

Have you ever used the name /test on any other data?

The putfile client is supposed to print a log when it receives the Interest sent from the repo. From your screenshot, it seems that the repo's Interest did not reach the putfile client, which means the segments and the final block ID could belong to some other data packets, instead of the file you intended to put.
I'm not sure what happened, but this is my guess.

Thanks for your reply. I restart NFD, and use a new name_at_repo, this issue not happen.
Next, I not restart NFD, and continue use a new name_at_repo, this issue also not happen.
I guess the previous name_at_repo uesd repeatly could impact the result.
Thank you again.


PoMetaDataEntry

Just downloaded this a couple of days ago. Obviously a lot of hours of hard work into this project, thank you sir.
Win 10 home, Lazarus 2.08R62944 : Produces a compile error PoMetaDataEntry not found. And sure enough, it is not in the set (or Type, I forget how it's defined at the moment, I'm old and my memory is causing me problems :-)  definition.
Managed to work around all that. However, some of the form objects are transposed in the PDF, ie: some labels etc. from the top end up on the bottom. Not only that, the lines are off for the data (text in this instance) inside the controls. It draws the TEdit boxes correctly and in the right spots, but the corresponding data is printed half below the boxes.
You've put so much time and effort into this I hope you have a solution for me. Hopefully just a case of defining PoMetaDataEntry and adding it to the type or set.
Thanks,
Steve<EMAIL_ADDRESS>

Hi Steve
Thanks for your comments. Are you able to update your Lazarus and Free Pascal to Lazarus 2.0.12 and FPC 3.2.0 or higher? poMetaDataEntry was only defined in version 3.2.0 of FPC.
As far as the misalignment of the text is concerned if you can provide some screenshots and the code generating the misalignment that would be great. Unfortunately Form2PDF is still very rough around the edges and I have only implemented a very limited subsection of control alignment. Text alignment in the horizontal plane should work, but I have not yet implemented alignment in the vertical plane.
Regards
Alan

Good morning Alan,
Thanks for the quick reply. I'll update Lazarus and FPC this morning. Meanwhile here are 2 screenshots. One is a screen snip of the actual invoice form, the other is a snip of the pdf created by Form2PDF. The vertical text alignment is probably a pretty easy one to solve, but what is transposing top to bottom might be harder to track down.
As for my code, in my test, since I had work around PoMetaDataEntry, I just save the file to disc by calling  FormToPDF(FileName:string):integer;
I'll let you know what happens after I get the updates done.
Thanks,
Steve
On Mon, Jul 26, 2021, at 2:31 AM, Alan Chamberlain wrote:

Hi Steve
Thanks for your comments. Are you able to update your Lazarus and Free Pascal to Lazarus 2.0.12 and FPC 3.2.0 or higher? poMetaDataEntry was only defined in version 3.2.0 of FPC.
As far as the misalignment of the text is concerned if you can provide some screenshots and the code generating the misalignment that would be great. Unfortunately Form2PDF is still very rough around the edges and I have only implemented a very limited subsection of control alignment. Text alignment in the horizontal plane should work, but I have not yet implemented alignment in the vertical plane.
Regards
Alan
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/alanphys/Form2PDF/issues/1#issuecomment-886417095, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYTPWBQ5LZ527RKLCIYYH3TZT6MZANCNFSM5A6VJ6BA.

Question everything, believe nothing, until proven without a single doubt.

Hi Steve
I think you may have forgotten to upload the screenshots.
Regards
Alan

Hmmm, they show up here in my "SENT" email. Ok, we will try again. 2 attachments, the actual invoice form and the pdf created by Form2PDF.
On Mon, Jul 26, 2021, at 10:59 AM, Alan Chamberlain wrote:

Hi Steve
I think you may have forgotten to upload the screenshots.

As you can see, it's not just a matter of inversion. Strangely it's not in exactly backwards order. Things are mixed up.
Thanks, Steve

I was responding directly from my email program, let's see if this works.

Thanks Steve.
I think I know what the problem is. Did you by any chance remove or comment out the poPageOriginAtTop option when you removed the poMetadataEntry option?
PDF coordinates increase from bottom left to top right. Most imaging systems including windows increase from top left to bottom right. The poPageOriginAtTop option tells fcl-pdf that you are using windows coordinates not PDF.
Put this option in again and see if it solves the problem.
Regards
Alan

Good morning Alan!
You nailed it. Works perfectly now. Thanks so much. Doing this database as a favor for a buddy.
Have a GREAT day,
Steve