Declaration History Limited to 4 (ages 0-3)

ISSUE TYPE

Bug Report or Documentation Update

AS3 BUILD/ VERSION

f5-appsvcs-3.0.0-34.noarch.rpm

BIGIP VERSION

Sys::Version
Main Package
  Product     BIG-IP
  Version     <IP_ADDRESS>
  Build       0.0.3
  Edition     Point Release 6
  Date        Fri Apr 20 18:04:26 PDT 2018

NOTE: this is a VE with 1 core and 2GB RAM (perhaps declaration history is keyed to resources?)
SUMMARY

Documentation states a declaration history of 16 declarations (0-15) is kept. AS3 only keeps a history of 4 declarations.
STEPS TO REPRODUCE

POST 4 declarations and note the output of a GET to https://{{bigip}}/mgmt/shared/appsvcs/declare?age=list
[
    {
        "name": "____appsvcs_declaration-1525273534246",
        "timestamp":<PHONE_NUMBER>246,
        "date": "2018-05-02T15:05:34.246Z",
        "age": 0
    },
    {
        "name": "____appsvcs_declaration-1525273530784",
        "timestamp":<PHONE_NUMBER>784,
        "date": "2018-05-02T15:05:30.784Z",
        "age": 1
    },
    {
        "name": "____appsvcs_declaration-1525273527654",
        "timestamp":<PHONE_NUMBER>654,
        "date": "2018-05-02T15:05:27.654Z",
        "age": 2
    },
    {
        "name": "____appsvcs_declaration-1525273520317",
        "timestamp":<PHONE_NUMBER>317,
        "date": "2018-05-02T15:05:20.317Z",
        "age": 3
    }
]

Now POST a 5th declaration and note the output of https://{{bigip}}/mgmt/shared/appsvcs/declare?age=list.
[
    {
        "name": "____appsvcs_declaration-1525273591802",
        "timestamp":<PHONE_NUMBER>802,
        "date": "2018-05-02T15:06:31.802Z",
        "age": 0
    },
    {
        "name": "____appsvcs_declaration-1525273534246",
        "timestamp":<PHONE_NUMBER>246,
        "date": "2018-05-02T15:05:34.246Z",
        "age": 1
    },
    {
        "name": "____appsvcs_declaration-1525273530784",
        "timestamp":<PHONE_NUMBER>784,
        "date": "2018-05-02T15:05:30.784Z",
        "age": 2
    },
    {
        "name": "____appsvcs_declaration-1525273527654",
        "timestamp":<PHONE_NUMBER>654,
        "date": "2018-05-02T15:05:27.654Z",
        "age": 3
    }
]

Checking the output of https://{{bigip}}/mgmt/shared/appsvcs/declare shows the 5th declaration is present -- its just not displayed in the history.

EXPECTED RESULTS

Declaration history of 16 entries with ages from 0-15 to be present.
ACTUAL RESULTS

Declaration history was limited to 4 entries (0-3).

Hi @kreynoldsf5, the affected portion of the documentation will be updated. The default declaration history limit is 4, and the maximum is 15. This is in the AS3 request schema. To change this setting, you must include historyLimit everytime you POST the declaration, like the example below. (If you don't include it in subsequent requests, the default value of 4 will be used).
{
"class":"AS3",
"action": "deploy",
"historyLimit": 15,
"declaration":  {
  "class": "ADC",
  "schemaVersion": "3.0.0",
  "id": "declarationID",
  "controls": {
      "logLevel": "debug"
  },
  "myTenant": {
...

Thanks Kevin, we've published Document Revision 1.1 with this change (http://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/3/refguide/revision-history.html).  Closing this issue.


Add Subsite filtering

Filter menus in the admin if created under different subsites

See commit https://github.com/dnadesign/silverstripe-menumanager/pull/1/commits/7b331761b3bee35173cf1793d17b2bcc71056ac8


Add bibliography submodule

[x] Adds https://github.com/the-teachingRSE-project/bibliography as a submodule of this project
[ ] Adds a workflow to update the submodules (manually/on a schedule)
[ ] Removes the local bibTeX file, after having moved it to the other repository
[ ] Updates the contributing guidelines

Remember also:

[ ] Move the BibTeX file to the other repository
[ ] Check the current workflows

Adds a workflow to update the submodules (manually/on a schedule)

I have reservations about automatically updating the submodule revision: any commit in the BibTeX repository would trigger a new commit in N repositories. If the commit contains a syntax error, CI will break in N repositories. At my institute, we introduced CI in the BibTeX repository to mitigate that issue, and required the update to be done manually, so that the individual updating the submodule is also responsible for checking the entire bibliography in the manuscript.

I can make the workflow manual, that's not a problem.
We definitely don't want a cascade of commits and errors.

Everything works as expected: https://github.com/the-teachingRSE-project/institutionalized_education/pull/4 and compile action<PHONE_NUMBER>.

From my side, this is ready to merge. I will not join the next two meetings, please go ahead and implement any edits that might pop up.


feat: wip accordion menu

Looks good @tzoeov!  One small issue, the sub buttons arent expanded it seems:

Could we add an option to default to be open by default on a certain viewport? E.g. defaultopen="desktop"

The menu is opened using the activeItem prop.


No exception when the server port is already in use

Hello,
It's strange but I can start the server on a port which is already used and no exception is thrown.
I'm using boost 1.59
Regards

Ok, it's seems that it's the normal behaviour.. it's lazy..  powerful but a bit problematic in my case

I get terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >: bind: Address already in use, but what OS are you running the server on?

I'm working on Windows 8.1 and toolset v120_xp (Visual Studio 2013), boost 1.59
I start a node server on the same port that SimpleWebServer. Sometimes it's the node server which catch the packets, and sometimes it's the SimpleWebServer. Maybe it's something like port sharing?! I'm not an expert for the sockets TCP.

I know there are some problems with exceptions on Windows, had the problems related to another project I'm working on (https://github.com/cppit/jucipp), but I have not had time to dive into it yet. Would appreciate any helpful links or pull requests towards fixing any Windows exception issues.

I must do that on Windows in order to have the exception:
diff --git a/server_http.hpp b/server_http.hpp
index 569a618..6917773 100644
--- a/server_http.hpp
+++ b/server_http.hpp
@@ -333,6 +333,7 @@ namespace SimpleWeb {
             //Create new socket for this connection
             //Shared_ptr is used to pass temporary objects to the asynchronous functions
             std::shared_ptr<HTTP> socket(new HTTP(io_service));
+            socket->set_option(boost::asio::socket_base::reuse_address(false));

             acceptor.async_accept(*socket, [this, socket](const boost::system::error_code& ec){
                 //Immediately start accepting a new connection

resources:

http://stackoverflow.com/questions/5002761/boostasio-server-detect-failure-to-listen-to-server-port
http://itamarst.org/writings/win32sockets.html

Try add the following inside the ServerBase constructor (https://github.com/eidheim/Simple-Web-Server/blob/master/server_http.hpp#L156):
boost::asio::ip::tcp::acceptor::reuse_address option(false);
acceptor.set_option(option);

I've tried and it changes nothing. :-(

See if you can make sense of http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t/14388707#14388707. If your node server and the Simple-Web-Server uses exactly the same ip:port combination you should get an exception no matter if reuse_address is true or false.
You can use boost::asio::ip::address::from_string("<IP_ADDRESS>") for instance to set a specific address instead of using boost::asio::ip::tcp::v4() at https://github.com/eidheim/Simple-Web-Server/blob/master/server_http.hpp#L155.
Try set the same address on both the node server and Simple-Web-Server.

I will, by the way, add another constructor most likely, that has the address as first parameter. So that this becomes simpler, and one can run this server on multiple network cards.

I'll commit a solution for the things discussed above Tomorrow, using a Server::options class that one can set before running Server::start. One of the options will be reuse_address that will be set correctly.

Hello,
Thanks for all
Then yes, when I set the same address on node and on server_http then an exception is thrown.
If node is binding on <IP_ADDRESS> then the exception is never thrown even is reuse_addr is set explicitly to false.
I even tested with something like (without success)
typedef boost::asio::detail::socket_option::boolean<BOOST_ASIO_OS_DEF(SOL_SOCKET), SO_EXCLUSIVEADDRUSE> exclruse_address;
acceptor.set_option(exclruse_address(true));

But I'm not able to have a case where it fails everytime.

Did you try the latest commit? Boost::Asio is very picky on where you set the options.

Ok I've a case where it works as expected..
If server_http binds on <IP_ADDRESS>, reuse_address is false and excluse_address is true, the exception is always thrown (tested with node on <IP_ADDRESS> and <IP_ADDRESS>).
I can leave with that but for me it's a security problem because I want to bind server_http only on <IP_ADDRESS> with the same behaviour.

Yes I've tried with the latest version

The working case:
	this->server->config.address = "<IP_ADDRESS>";
	this->server->config.reuse_address = false;

(only valid with Windows)
diff --git a/server_http.hpp b/server_http.hpp
index afb36c0..8d3cc48 100644
--- a/server_http.hpp
+++ b/server_http.hpp
@@ -141,6 +141,10 @@ namespace SimpleWeb {
                 endpoint=std::unique_ptr<boost::asio::ip::tcp::endpoint>(new boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), config.port));
             acceptor.open(endpoint->protocol());
             acceptor.set_option(boost::asio::socket_base::reuse_address(config.reuse_address));
+
+            typedef boost::asio::detail::socket_option::boolean<BOOST_ASIO_OS_DEF(SOL_SOCKET), SO_EXCLUSIVEADDRUSE> exclreuse_address;
+            acceptor.set_option(exclreuse_address(true));
+
             acceptor.bind(*endpoint);
             acceptor.listen();

I will have to read up on this some more, but as I understand it now: On Windows, if Server::config.reuse_address == false, also set the SO_EXCLUSIVEADDRUSE socket option?

The exception is always thrown (with my tests) if:

Server::config.reuse_address == false
SO_EXCLUSIVEADDRUSE == true
Server::config.address = "<IP_ADDRESS>"
The other server  (node for example) binds on <IP_ADDRESS> or <IP_ADDRESS>

The SO_EXCLUSIVEADDRUSE flag smells just like a hack
#define SO_EXCLUSIVEADDRUSE ((int)(~SO_REUSEADDR)) /* disallow local address reuse */

Then I've tried with:
int optval = 1;
auto native_socket = acceptor.native_handle();
if (::setsockopt(native_socket,
				 SOL_SOCKET,
				 SO_EXCLUSIVEADDRUSE,
				 reinterpret_cast<const char *>(&optval), sizeof(optval)) != 0)
{ /* error management */

}

But the bind() is still possible when my node server is already listening on the same port.
I don't understand and I've no idea how to fix it.

From what I can understand from http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t/14388707#14388707: "Microsoft realized that this might be a problem and thus added another socket option SO_EXCLUSIVEADDRUSE", you need to set SO_EXCLUSIVEADDRUSE on the node server. Is that possible?

I've tested with only two node servers, the first one uses the wildcard and the second one the loopback IP (both the same port).
Both server can be started (without exception) and it's not always the same server that catch the paquets. Then the problem is global... I'm not sure that I can do something around this problem.

I was maybe a bit unclear in my previous post, from http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t/14388707#14388707 (scroll down to Windows): "Setting SO_EXCLUSIVEADDRUSE on a socket makes sure that if the binding succeeds, the combination of source address and port is owned exclusively by this socket and no other socket can bind to them, not even if it has SO_REUSEADDR set.". So if you set SO_EXCLUSIVEADDRUSE on an application (the main application which is running node), then no other application can bind to the same address(any combination):port.
For instance if you set SO_EXCLUSIVEADDRUSE on Simple-Web-Server, then no other application, Simple-Web-Server or any node application, can bind to this address:port. The challenge, though, is to set SO_EXCLUSIVEADDRUSE on the node application.
This is at least my understanding of the problem. If possible though, I would use Debian stable as server OS, but that is a personal preference, and maybe not possible in your case.

I think that as a security measure, and to make sure any networking server performs as in a posix environment, SO_EXCLUSIVEADDRUSE should always be turned on in Windows. I will most likely add this, but again, I have to read more on this. Reopening this issue.

I've tried with SO_EXCLUSIVEADDRUSE on Simple-Web-Server, bind on <IP_ADDRESS>:3333
The node server can bind on <IP_ADDRESS>:3333 without error and it's the problem. It's not working like the documentation.
If the node server is started before Simple-Web-Server with the same settings, Simple-Web-Server binds without error too; but it should be exclusive.
The error happens only if the node server uses <IP_ADDRESS> like Simple-Web-Server.
I can provide a complete archive with all files in order to reproduce the problem.

For what I can understand, this is a rather huge security issue for Windows, but what if the different serverapplications are running on different user logins? I'm afraid I do not have any other ideas if SO_EXCLUSIVEADDRUSE is not working. Maybe other than setting the SO_EXCLUSIVEADDRUSE option correctly, if it is not set correctly already for some reason. Like I said, boost is rather picky on how you set these options.


Undo .var refactoring

We should refactor ingestion components so that in the .var data frame:

gene ids (e.g. ensembl ids) is the index
columns 'feature_types', 'gene_names', 'gene_ids' are not renamed to 'feature_type', 'gene_name', or 'gene_id'

I don't seem to be able to let BD Rhapsody output in transcript ids rather than gene ids.


Seemingly fix squished loading screens at startup by always using inn…

…er_size.
I think we've gone back and forth on what window size source to listen to. Wherever we landed, on my Linux machine, starting with a chain of loading screens winds up squished, because we process one of the resize events, then stop to do another long load. Before:

After:

I'd appreciate a test on your Mac too. I'm doing cargo run -- --actdev=poundbury --edits='poundbury one-ways'. You may need to download gb/poundbury -- you can do it easily from launching the Poundbury proposal from the Community Proposals screen. Thanks!

Interestingly, it seems like on macos the request to maximize doesn't process until the loading window is complete.
I think that's probably Ok. And it means we sidestep this issue completely.
before

after

Though, I won't be surprised if something inadvertently breaks down the road. Cross platform UI dev is like:

The before/after GIFs didn't seem to process, but the stutter step into water did, so I'll take that as: plunge ahead! :)


move start methods in dialog_node

This PR move the start and start_from_save methods from DialogicClass to dialogic_node.
This allows the DIalogicNode to be persistent: no need to delete and create a new node to play a new timeline.
I had to add a new var named runtime_id to check if the timeline changed between 2 events. This was necessary when calling start from a signal fired by Dialogic: the new timeline would get loaded, then the index incremented when reaching the end of the signal event, from the previous timeline, skipping the first event from the new timeline.
To make this work I had to refactor a bit the event loading system.
This may need more work, as the DIalogicNode was not designed to be reset.
Example usage:
With DialogNode added to the tree:

The triggering timeline:

After receiving the start_minigame signal, the dialog closes itself, the minigame starts, and on gameover, the next timeline starts. All this using the same Dialogic node.

I'm a bit weary because right now the test project I have fails to run because the function start doesn't exists. Is there a way you could program in a fallback for it to not break compatibility? otherwise we would have to wait until v2.0 to merge this

I added back the previous functions (start and start_from_save) and marked them as deprecated. So this PR should not be breaking anymore.
I also added a new function add_node() which adds the dialogic node to the given parent, and checks if the parent is of type Control. If it isn't, it throws an error.
When closed, the dialog now hides, and shows itself back when calling the start method. This allows to add the node at the start of the game, hide it, and only show it again when triggering a dialog.
We will have to update the documentation to tell people to use this function now.

As I exposed start methods in dialog_node.gd, I named the class to improve typing when using the node and I separated public from private functions. So I renamed all private functions to add the _ prefix, which is why this PR has a lot of changes.

I just noticed it broke the theme editor. This is fixed now, but seeing how the preview dialog is handled, I think it need a bit of refactoring. The dialog_node should not be marked as a tool as it is used in the final game. We should create a new script (eg: dialog_node_preview) extending this base class and adding preview related stuff to it, and only this class should be marked as a tool. But this is the work of another PR.

I'm still getting errors on the theme editor. I can't open it but I'll see if I can manage to clean up the preview thing a bit on this same PR

Well, it seems like it was an issue with the project I had running and not with the changes you made 😅


feat(pay): only show pay modal if the active account doesnt have enough funds

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
The focus of this PR is to add a check for wallet balance before showing a payment modal in the useSendTransactionCore hook.
Detailed summary

Added getWalletBalance import
Added balance check before showing payment modal in useSendTransactionCore

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4172  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @joaquim-verges and the rest of your teammates on  Graphite


gulp-uglify can't handle async / await

We have a build that gets transpiled before hitting uglify(). Our code breaks with the following thrown error:
'Unexpected token: keyword «function», expected: punc «;»',

We've finally narrowed down that the usage of async and await broke uglify. Is there a fix for this?

There are some recommendations in this project's README. You can replace uglify-js with any other module that exports the same API.

I didn't see any, can you point me exactly where? Are there other ES6+ pieces of functionality that uglify chokes on?

I have looked at what they've done lately. I'd assume that pretty much anything other than const is going to cause issues.
https://github.com/terinjokes/gulp-uglify/blob/master/README.md#using-a-different-uglifyjs

Sorry if I'm being dense here, but how were you able to find what version of Javascript this version of uglify would support?

I don't recall, it's been several years since I added that section to the readme. My understanding is terser is the currently maintained fork with support for harmony features.
PRs to update the readme accepted.


[NEW] Support Markdown on message text

This issue seems to have been fixed already? Or is there something remaining?

Sure


texlab: 5.4.2 -> 5.5.0

Description of changes
Update to the latest version: https://github.com/latex-lsp/texlab/releases/tag/v5.5.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 227854 run on x86_64-linux 1

2 packages built:

texlab
texlab.man

I approve.


⚠ ClamAV has degraded performance

In 3c9f8fc, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 91 ms

Resolved: ClamAV performance has improved in c285e25 after 5 minutes.


Scrolling does not work

Scrolling issue:
When we visit the link https://react.dev/reference/react the scroll does not work.
If we look into this element  and under the selector .lg:w-[342px] change the width to 320px scroll works correctly.
I am new to web developement and I hope my understanding of the problem and solution is correct.
Regards,
Saurabh

already raised this issue as #6220 and pushed the fix for that, maybe you could upvote that to get the attention

Thanks for your answer Furrukh. I do not know how to upvote the issue. but i see your solution and you used 330px.
I still feel that 320px is the perfect fit for width.
Regards,
Saurabh


source code help

Describe your problem here.
i tried to do some compiling with the latest source code, how do i fix this?
Error: Could not find include file "C:/haxelib/hxCodec/3,0,2/vlc/lib/LibVLCBuild.xml"
i used that .bat file in the source code as well
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

haxelib set hxCodec 3.0.2 outside the directory for the engine

it’s a bug with the haxelib, that’s already been fixed before

that should be put in the .bat file. so no duplicates happen

now its showing this

also why are you using hxcodec 3.0.2? the recommended version is 2.5.1

do haxelib set hxCodec 2.5.1 in the same folder as .haxelib, which is the engine folder

you did this in the nobotplay lag directory, which likely means you didn't get it globally. go out of the nbl directory and run the same command.


Latest version at main branch doesn't allow clients to connect to multiple namespaces

Latest version at the main branch (12ccfd1acb7b5610f89e980a3385bb1a0cd2a43b) doesn't allow clients to connect to multiple namespaces.
To reproduce:
Client (Python):
requirements.txt
python-socketio
python-socketio[client]==4.6.1

main.py
import socketio

NAMESPACES = ["/channel"]
URL = "http://<IP_ADDRESS>:8003/"

sio = socketio.Client(logger=True, engineio_logger=True)

@sio.event
def connect():
    print('connection established')

@sio.event
def connect_error(data):
    print("The connection failed!")

@sio.event
def disconnect():
    print('disconnected from server')

sio.connect(URL,
    transports="websocket",
    namespaces=NAMESPACES)

sio.wait()

Server:
main.go
package main

import (
	"log"
	"net/http"
	"time"

	sio "github.com/njones/socketio"
	eio "github.com/njones/socketio/engineio"
	eiot "github.com/njones/socketio/engineio/transport"
)

func main() {
	port := "localhost:8003"

	server := sio.NewServerV2(
		eio.WithSessionShave(1*time.Millisecond),
		eio.WithPingInterval(5*time.Second),
		eio.WithPingTimeout(1*time.Minute),
		eio.WithMaxPayload(1000000),
		eio.WithTransportOption(eiot.WithGovernor(1500*time.Microsecond, 500*time.Microsecond)),
	)

	// Root namespace
	server.OnConnect(func(socket *sio.SocketV2) error {
		log.Printf("/ %s connected.", socket.ID().String())
		return nil
	})

	// Channel namespace
	channel := server.Of("/channel")
	channel.OnConnect(func(socket *sio.SocketV2) error {
		log.Printf("/channel %s connected.", socket.ID().String())
		return nil
	})

	log.Printf("Serving port %s...\n", port)
	log.Fatal(http.ListenAndServe(port, server))
}

If you use v0.1.1 --  go get<EMAIL_ADDRESS>it works, it connects to "/" and "/channel".
But if you use the latest version -- go get github.com/njones/socketio@main, it doesn't work, it just connects to "/".
Let me know if you need anything else. Keep up the great work!

Thanks for report, I'll look into this. If I have any more questions I'll ping this thread.

Okay, I've found where the issue is. I should have a test and the fix out in about a day.

This should be working, now. Thank you for the detailed bug report. It helped in fixing the bug.

Glad to help! I'll keep testing the lib in the next few days, if I find anything else I'll let you know. Thanks!

Hey Nika, I tried to send a message to "/channel" and it says that /channel is not a connected namespace.


Add support for NOMAD-based parsers

See https://github.com/materialsproject/atomate2/issues/299. The goal here would be to leverage NOMAD-based parsers to have more thorough outputs that could complement data parsed by ASE and/or cclib. The challenge is that nomad-lab has an enormous dependency list, so there is a potential tradeoff to consider here.

Not going to consider because it's a dependency nightmare.


[sw] Added, filled in common.yaml

Initial addition/completion of common.yaml

Closing as this has been merged in https://github.com/home-assistant/intents/pull/2077


fix: rename Contract entity to AlertsRegistration

As per suggestion, this renames the alerts registration entity from Contract to AlertsRegistration. It could otherwise be confused with the Contract domain entity.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 91.066%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
5032

Relevant Lines:
5387

💛  - Coveralls


Unstaged new files have extra character at end of branch

vim: 8
vim-airline: whatever vim-plug downloads (master?)
OS: Windows 10
Have you reproduced with a minimal vimrc: yes
What is your airline configuration: default with powerline fonts enabled

A square tofu character is displayed after the branch name for new unstaged files. It disappears when the file is staged (git add) and reappears when the file is unstaged (git reset).
Sometimes the icon doesn't seem to appear until after the first interaction with Vim.
Doing :echo strlen(fugitive#head(7)) returns 6 so I don't think the extra character is coming from fugitive.

Yes that is basically the symbol for an unstaged buffer. See the help.

Do any of the powerline fonts support all of the default symbols in airline?

I don't know. But you can set it to whatever you want.


[FLINK-25645][table-runtime] UnsupportedOperationException would thrown out when hash shuffle by a field with array type

What is the purpose of the change
Support complex shuffle hash key type
Brief change log

Support complex shuffle hash key type

Verifying this change
This change added tests and can be verified as follows:

Added unit tests in HashCodeGeneratorTest

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): ( no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: ( no)

Documentation

Does this pull request introduce a new feature? (no)

@beyond1920 Can you help review this pr?

@beyond1920 Thanks for your review, I have updated the pr according to your feedback.

@flinkbot run azure

@flinkbot run azure

@wuchong Thanks for review, I've addressed your comments.

The failed case is tracked by FLINK-26721


Login via browser doesn't work

Issue Type: Bug

Install live share extension
Click start sharing
This brings you to the page where it's signing in. In the top there is a drop down - to sign in via github or microsoft account.
Click login via microsoft account.
Default browser opens (I've tried Edge Spartan, Edge Anaheim, and Chrome)
Select my work account<EMAIL_ADDRESS>Click confirm that this is VS Code
Browser prompts that it's trying to open VS code
Click allow

then ... nothing.
Signing in via a code worked, but finding that link was hard. There's no affordance for that on the vsliveshare-welcome-page. Troubleshooting was harder than it should have been.
Extension version: 1.0.1783
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz (12 x 3592)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.92GB (4.13GB free)

Process Argv
.

Screen Reader
no

VM
0%

@fubaduba @BrunoGuardia FYI

@mattkur Thanks for reporting this issue. We're sorry for the inconvenience.
If you can get Live Share logs and attach them to this issue, that will help us investigate.
Get the logs with Live Share: Export Logs command in VSCode command palette, which you can get with Ctrl + Shift + P. Thanks!

Sorry, this my logs as you ask before. I can't start live share too.

I am in a similar situation on my Liunx system but with two differences in the ending:

the external protocol ("code-oss://") get prompted in Chrome and if I confirm to open it Firefox opens to parse it, VSCode hangs forever
if I follow the instructions for user code signin I get the code, then once I paste that in the VSCode dialog and hit enter nothing happens, and I have no clue what has happened or should have happened instead (like flag or icon appear confirming the login)

Should I open a new different ticket or can I paste my logs here?

I am in a similar situation on my Liunx system but with two differences in the ending:

the external protocol ("code-oss://") get prompted in Chrome and if I confirm to open it Firefox opens to parse it, VSCode hangs forever
if I follow the instructions for user code signin I get the code, then once I paste that in the VSCode dialog and hit enter nothing happens, and I have no clue what has happened or should have happened instead (like flag or icon appear confirming the login)

Should I open a new different ticket or can I paste my logs here?

We've changed our authentication service. See #4128 and if the new authentication is giving you an issue, please create a new issue. Thank you for your patience.


web: compiler error with composable inline function and anonymous object (Assertion failed)

Versions:

compose 1.0.1, kotlin 1.6.10
compose 1.0.0, kotlin 1.5.31
compose 1.0.0-alpha1-rc1, kotlin 1.5.21

As for now, the issue-causing sample was reduced to this:
@Composable
inline fun InlineComposableFoo(content: @Composable () -> Unit) {
    content()
}

@Composable
fun Game() = InlineComposableFoo {
    var message by remember { mutableStateOf<String?>(null) }
    val onWin = { message = "You win!" }
    val difficulty = object {}
}

It fails at compileDevelopmentExecutableKotlinJs:
// fails when translating call arguments. There is 1 value argument in the call and it's null, so `assert(validWithNullArgs)` fails

e: java.lang.AssertionError: Assertion failed
        at org.jetbrains.kotlin.ir.backend.js.transformers.irToJs.JsAstUtilsKt.translateCallArguments(jsAstUtils.kt:343)
        at org.jetbrains.kotlin.ir.backend.js.transformers.irToJs.JsAstUtilsKt.translateCall(jsAstUtils.kt:111)
        ...

IR (dump kotlin like):
Call (has no argument):
return Game$composable$<anonymous>$lambda-2()

the function (has 1 parameter):
private fun Game$composable$<anonymous>$lambda-2($message$delegate: MutableState<String?>): Function0<Unit> {
  return <no name provided>$factory($$message$delegate = $message$delegate)
}

It doesn't fail if either:

remove val difficulty = object {}  (or moved out of the fun Game)
remove val onWin = { message = "You win!" }
not use remember - var message by  mutableStateOf<String?>(null)
make inline fun InlineComposableFoo not inline

tried to create a similar code (with by, lambda using delegated value, object) without compose (plain k/js) - no error

The root cuase has been fixed in k/js - https://youtrack.jetbrains.com/issue/KT-51102

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


docs!: interlink documentation with API

See #4, section on Documentation

Codecov Report

Merging #7 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev       #7   +/-   ##
=======================================
  Coverage   59.56%   59.56%
=======================================
  Files          56       56
  Lines        7970     7970
  Branches     1568     1568
=======================================
  Hits         4747     4747
  Misses       2797     2797
  Partials      426      426

Flag
Coverage Δ

#unittests
59.56% <ø> (ø)

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

Impacted Files
Coverage Δ

tf_pwa/dec_parser.py
75.00% <ø> (ø)

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 040698d...b85240a. Read the comment docs.


ROX-12862: Enable postgres by default on local deploys only

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

/test

/test images stackrox_branding-images stackrox_branding-push-images push-images

/retest

/test all

/test gke-upgrade-tests  aro-qa-e2e-tests eks-qa-e2e-tests rosa-qa-e2e-tests osd-gcp-qa-e2e-tests osd-aws-qa-e2e-tests

/test aro-qa-e2e-tests eks-qa-e2e-tests gke-kernel-qa-e2e-tests gke-nongroovy-e2e-tests gke-postgres-qa-e2e-tests gke-postgres-scale-tests gke-postgres-upgrade-tests gke-qa-e2e-tests gke-race-condition-qa-e2e-tests gke-scale-tests gke-ui-e2e-tests gke-upgrade-tests gke-version-compatibility-tests local-roxctl-tests openshift-newest-operator-e2e-tests openshift-newest-qa-e2e-tests openshift-oldest-operator-e2e-tests openshift-oldest-qa-e2e-tests openshift-penultimate-qa-e2e-tests osd-aws-qa-e2e-tests osd-gcp-qa-e2e-tests rosa-qa-e2e-tests

/retest

/test gke-ui-e2e-tests

/test gke-ui-e2e-tests gke-upgrade-tests

/test gke-ui-e2e-tests gke-upgrade-tests aro-qa-e2e-tests rosa-qa-e2e-tests gke-scale-tests openshift-penultimate-qa-e2e-tests openshift-oldest-qa-e2e-tests openshift-newest-qa-e2e-tests

/test openshift-newest-qa-e2e-tests

/test gke-upgrade-tests rosa-qa-e2e-tests aro-qa-e2e-tests openshift-penultimate-qa-e2e-tests openshift-newest-qa-e2e-tests openshift-oldest-qa-e2e-tests gke-scale-tests

/test go-postgres-tests gke-upgrade-tests rosa-qa-e2e-tests aro-qa-e2e-tests openshift-penultimate-qa-e2e-tests openshift-newest-qa-e2e-tests openshift-oldest-qa-e2e-tests gke-scale-tests

/test gke-scale-tests

/test eks-qa-e2e-tests gke-kernel-qa-e2e-tests gke-postgres-scale-tests gke-race-condition-qa-e2e-tests gke-ui-e2e-tests gke-version-compatibility-tests osd-aws-qa-e2e-tests osd-gcp-qa-e2e-tests rosa-qa-e2e-tests

/test

/test gke-ui-e2e-tests gke-postgres-ui-e2e-tests

/test gke-postgres-qa-e2e-tests


Mention upgrades

Since the default behaviour of the chart is to break the installation during an upgrade, i'd recommend mentioning this somehow and explaining what happens when upgrading using the default values
Signed-off-by: Stefan Bakocs<EMAIL_ADDRESS>What this PR does / why we need it:
*Lowers the expectation of people mindless using this chart in production
Which issue this PR fixes
*This chart is in the stable section it should be mentioned that helm upgrade will break your upgrade
Special notes for your reviewer:
*Pure README Fix

yeah we need to bump the version!

/lgtm


Do not suggest any hole filling if there are too many suggestions

Perhaps it would be possible to use the type of the hole to make a
better limiter here, but this is better than the current situation I
think.
Closes https://github.com/haskell/haskell-language-server/issues/532

I wonder if we could detect in some way the type is ambiguous, or if there is a bigger, fixed, threshold in that case.

The test which tests that show is suggested for the hole _ :: Int -> String fails, because too many holes suggestions are generated (hence none are reported).
The test is:
globalConvert :: Int -> String
globalConvert = undefined

globalInt :: Int
globalInt = 3

bar :: Int -> Int -> String
bar n parameterInt = _ (n + n + n)  where
  localConvert = (flip replicate) 'x'

foo :: () -> Int -> String
foo = undefined

And the suggested holes are:
7. replace _ with localConvert
8. replace _ with globalConvert
9. replace _ with prettyPrint
10. replace _ with mempty
11. replace _ with showGhc
12. replace _ with show
13. replace _ with discard
14. replace _ with bar _
15. replace _ with foo _
16. replace _ with ($) _
17. replace _ with pure _
18. replace _ with join _
19. replace _ with return _
20. replace _ with (!!) _
21. replace _ with unfoldr _
22. replace _ with id _
23. replace _ with head _

I really like the suggestion of filling a hole with id _ or ($) _! (reminds me of this: https://github.com/haskell/haskell-language-server/pull/520)
I think that although this is a good example of why this is useful, it might not be good to use until holes are either suggested with a bit more restraint, or could be sorted by likely usefulness (and in that case only the top n holes could be reported)

Ghc flags allow to set the max number of hole suggestions. The code is in D.I.GHC.Compat

I think the limit (be it 5 or 15) should be moved to the GHC flags that we set in GHC.Compat, and make sure we don't override a user value.

That's fine, although as mentioned above these do do subtly different
things, and as this is it's more of a filter to overwhelming users with
suggestions.
With the ghc limit is there any rhyme or reason to what holes make the cut
if there's a limit?
On Fri, Oct 30, 2020, 5:01 PM Pepe Iborra<EMAIL_ADDRESS>wrote:

I think the limit (be it 5 or 15) should be moved to the GHC flags that we
set in GHC.Compat, and make sure we don't override a user value.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/haskell/ghcide/pull/888#issuecomment-719430979, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGRJXDQ7IDER3YZNCD2XBDSNJ6DJANCNFSM4TBXMUPA
.

GHC flags allow specifying the sorting algorithm too

The ghcide Github project is becoming archived and merged into https://github.com/haskell/haskell-language-server
This PR will need to be reopened in the HLS repo. To do that, create a new branch from HLS HEAD in your HLS repo and do:
git remote add ghcide https://github.com/georgefst/ghcide.git
git fetch ghcide
git merge ghcide disable-warnings

Thanks!


What's the output_location parameter in generated workflow file?

When I deploy an Azure Static Web Apps with Azure CLI or ARM template, the generated workflow file includes output_location instead of app_artifact_location.
GitHub Action shows Warning: Unexpected input(s) 'output_location' when the workflow run, but the output_location seems to work as app_artifact_location. for evidence, if remove the output_location parameter, the following error occurred.
---End of Oryx build logs---
Oryx built the app folder but was unable to determine the location of the app artifacts. Please specify the app artifact location through the Github workflow file.

I tested these behaviors on this repository that is based on vue-basic template.
This is a command to deploy the static web apps for the repository above at first.
az staticwebapp create -n static-test -g <resource group> -s https://github.com/dzeyelid/staticwebapps-test --token <token> -l eastasia -b master --app-artifact-location dist

Then I tested whether the output_location works correctly on this pull request.
https://github.com/dzeyelid/staticwebapps-test/pull/2
In addition, the ARM template that makes the same situation is here. This template is based on this syntax.
https://github.com/dzeyelid/line-liff-with-azure-handson/blob/main/arm-templates/template.json
These behaviors make us confused, so I would like you to confirm it.
Thanks.

Yes they are the same, app_artifact_location == output_location. We realized that app artifact location is slightly confusing so we are starting to change this to output_location.
@craigshoemaker we should probably document this in the docs and once our release is finished we should mark app_artifact_location as deprecated in favor of output_location.
Both of these will continue to work in the ARM, CLI, and Portal, as well as any existing workflows you already have. I will make the necessary changes to make sure the action does not throw this warning.
Thanks for surfacing this!

@miwebst Thanks for responding and for the improvement. I understood that.

The warnings should be gone now, going to keep this open until we get the docs updated.

This has been documented!


Why can't it run in PowerShell?

Why can't Latte be run in PowerShell? Is there a reason it needs to be run in cmd?

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

ID: 96a8a8ae-019a-9164-7506-e6a2ac60269c
Version Independent ID: 1ba5d5b9-ca37-ba98-6866-4cf726ad1172
Content: Test network latency between Azure VMs
Content Source: articles/virtual-network/virtual-network-test-latency.md
Service: virtual-network
GitHub Login: @asudbring
Microsoft Alias: allensu

@andrewtchilds , thank you for your feedback. We have assigned this to the content owner/author for review.
@asudbring , could we add a clarification on why we've mentioned the following in our doc? - Run latte.exe from the Windows command line, not from PowerShell.
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-test-latency?tabs=windows#run-latte-on-the-vms

Thanks for your dedication to our documentation. We have created an internal work item in our backlog to resolve this issue. If you determine another possible update to our documentation, please don't hesitate to reach out again.
#please-close


Doors lock or unlocked state unknown

Don't know if I am missing something or not but the door lock state is unknown.
I havn't been able to figure out if I need to do some custom settings in a YAML or not.
If I click Lock or Unlock button in the integration it actually does lock and unlock all the doors, which is the desired thing, I can confirm this with emails from Subaru and checking the car in person.
All the other sensors seem to be working, windows closed, doors closed, fuel level, just the door lock state. I can even remote start the car.

If anyone has or sees this and isn't sure like me I was reading the source code and there is a comment I see that this is the current thing and there isn't a way to return the known state of the locks, so they will always show unknown.

I added a note to the README.md that mentions this now, so others don't have to dig through the source to find out.


VSCode cannot connect to the server anymore, and code synchronization in real-time is not possible.

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
theme watch --allow-live
Actual behavior
request failed after 5 retries with error: Get "https://theme-kit-access.shopifyapps.com/cli/meta.json": dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Verbose output
theme confige -t -s -p

Reproduction steps

Operating System
Windows11
Shopify CLI version (check your project's package.json if you're not sure)
3.60
Shell
24.5
Node version (run node -v if you're not sure)
v20
What language and version are you using in your application?
ruby 3.3

@qpa2003 you've not clearly read the tick boxes here.
The command you're referring to is for ThemeKit, not CLI.


[stable/prometheus-operator] Add ignoreNamespaceSelectors

Adds ignoreNamespaceSelectors as an option on the Prometheus Spec and ensures that default ServiceMonitors are accordingly deployed in the namespace which contains the service they intend to monitor.

Is this a new chart

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

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

fixes #

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

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

/hold
Let’s hold PRs to stable/prometheus-operator chart for a short time until https://github.com/prometheus-community/community/issues/28#issuecomment-672933972 is resolved. If you want to help with that effort, to test etc, that would be great!

🚧 This chart is now deprecated.
Further development has moved to prometheus-community/helm-charts. The chart has been renamed kube-prometheus-stack to more clearly reflect that it installs the kube-prometheus project stack, within which Prometheus Operator is only one component.
If applicable, please re-open this PR there. Thanks!


Error reading tag from mp3 file

Reproducer
I tried this code:
pub fn read_tag(path: String) -> Option<TagReadResponse> {
    let path = Path::new(&path);

    if !path.is_file() {
        return None;
    }

    let tagged_file = Probe::open(path)
        .expect("no probe")
        .read()
        .expect("no read");

    let tag = tagged_file.primary_tag().expect("no primary tag");

    ...
}

Summary
Trying to read the attached file gives this error:
PanicException(no read: Id3v2(ID3v2: BadFrameLength)

Expected behavior
I'm not sure this is actually a bug. This might just be a corrupted file and lofty is doing the right thing here but it seems like other software is able to read the tag and play the file. Maybe there's a way to skip a bad frame or something in this case?
ffprobe is able to read something:
ffprobe version 7.0.2 Copyright (c) 2007-2024 the FFmpeg developers
  built with Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0.2 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Input #0, mp3, from 'sample.mp3':
  Metadata:
    TDTG            : 2014-06-10T02:16:10
    encoder         : Lavf53.21.1
    artist          : Elvis Crespo
    title           : Suavemente
    genre           : Merengue;Latin;Salsa;Dance
    minor_version   : 0
    major_brand     : mp42
    compatible_brands: isommp42
    album           : Suavemente
    album-sort      : Suavemente
  Duration: 00:04:28.36, start: 0.000000, bitrate: 193 kb/s
  Stream #0:0: Audio: mp3 (mp3float), 44100 Hz, stereo, fltp, 192 kb/s
  Stream #0:1: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 600x600 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn (attached pic)
      Metadata:
        comment         : Other

Assets
sample.mp3.zip

The file does have an invalid TDEN frame, but that's not actually an issue. The problem is, the frame fails to be parsed and the parser is told to skip it. Except it ends up trying to skip the entire frame size... even though we already read some of it.
The frame parsing is done with a restricted reader that cannot go outside the bounds of a frame. The frame skipping is not restricted, so it's actually able to read outside the bounds of the frame.
So, what's happening is:

Try to parse the TDEN frame (length of 1)
Create a reader restricted to the length of TDEN
Read the frame content
The frame is invalid, report it as such
Discard the restricted reader and tell the parser to skip the frame
End up skipping 1 byte ahead, even though we already read it
We've now eaten into the next frame and the parser freaks out

Don't know how this wasn't caught by tests, I definitely have to add some.

Thanks very much for another super fast response! I'm glad I didn't try to debug this one myself.

The fix works and I can now scan that file. Thanks!
One odd thing - the audio_bitrate is coming back as 32 although I think it should be 192 as reported by ffprobe. Could that be related to this issue or is it likely to be unrelated?

That'd be unrelated. The stream is likely VBR, which isn't supported yet (they just get treated like CBR streams for now).
https://github.com/Serial-ATA/lofty-rs/blob/06618cf1a7407bf564ea129cc1755d27384650da/lofty/src/mpeg/properties.rs#L216-L221


chore(deps): update dependency babel-plugin-module-resolver to v4

This PR contains the following updates:

Package
Type
Update
Change

babel-plugin-module-resolver
devDependencies
major
3.2.0 -> 4.0.0

Release Notes

tleunen/babel-plugin-module-resolver
v4.0.0
Compare Source
⚠ BREAKING CHANGES

The minimum node.js version that is now officially supported is Node 8.

Features

Add support for alias with array of paths (#376) (f2173ee)

Update dependencies (#377) (0cef5ee)

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

:tada: This PR is included in version 2.152.23 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


1 import core odis patterns specifications

This PR is where we'll ship the ODIS-Arch domain-neutral specifications and patterns into the CDIF Environment

there are many files here dealing with different aspects of data documentation.  I suggest we split these up into separate pull requests focused on different resource types, or perhaps CDIF workgroup focus?

I ran through the JSON files in the https://github.com/Cross-Domain-Interoperability-Framework/cdif-core/tree/1-import-core-odis-patterns-specifications/json-ld/schema folder from the PR, and I'd suggest that some more curation is needed-- there are repeated files, not all the json files seem to be in the subdirectory where they belong. It's not obvious what is a 'specification',
''template' or 'example'. I've generated a refactor of the content (PR  #3) that's a start towards what I'd propose as a repo structure for a 'CDIF-core' set of recommendations/guidance.   The CDIF workgroup needs to discuss and make decisions about how to manage these kind of recommendations, in parallel with the documents that WG's are generating (e.g. Discoverability )

there are many files here dealing with different aspects of data documentation.  I suggest we split these up into separate pull requests focused on different resource types, or perhaps CDIF workgroup focus?

Yes, as described in #3

Looking at the dataset examples, the documents have many properties that are outside the scope of the current Discovery recommendation draft.  These would not be part of CDIF-core as I understand the idea.

We covered all properties in the schema.org Type - we do this under an open world assumptsion: we don't know what is useful to all of our stakeholders, so we're exhaustive. I recommend that CDIF do the same.
That being said, we'll also offer the minimal recommended version of the graph, with far fewer properties. This again would be a good idea for CDIF.
As time goes on, and metadata becomes richer, I anticipate that more content from the exhaustive pattern will end up in the minimal one.

I ran through the JSON files in the https://github.com/Cross-Domain-Interoperability-Framework/cdif-core/tree/1-import-core-odis-patterns-specifications/json-ld/schema folder from the PR, and I'd suggest that some more curation is needed-- there are repeated files, not all the json files seem to be in the subdirectory where they belong. It's not obvious what is a 'specification',
''template' or 'example'. I've generated a refactor of the content (PR  #3) that's a start towards what I'd propose as a repo structure for a 'CDIF-core' set of recommendations/guidance.   The CDIF workgroup needs to discuss and make decisions about how to manage these kind of recommendations, in parallel with the documents that WG's are generating (e.g. Discoverability )

I think this will be cleaned up as we split the PR into its components - thanks for catching this.


Allow indexing sources to a different URL than the NuGet push URL

We're using Klondike (build 92) for our nuget server. We have a URL that is used by all the developers to pull packages, symbols and sources from Klondike. And we have a different URL for the build server to do the NuGet push to (same IIS website though, just a different DNS name). This is done so that we can have both a production and a test build environment which internally to the environments look the same but still go to different machines.
However we have now discovered that the URL for the symbol server that is embedded in the PDBs indexed by Klondike is the same as the NuGet push URL and not the URL of the website. Is there anyway we can configure Klondike to use the URL of the IIS website instead of the NuGet push URL?

The hostname is selected based on the hostname used in the request to push the symbol package in UrlHelperExtensions.cs, invoked by SymbolsController.
Can your process push symbol packages using the same hostname you want to use when accessing symbol data?
If not, coding changes would be necessary to allow the URL to be configurable.

Closing due to inactivity. If the proposed workflow doesn't work for you, feel free to reopen.

I've used a workaround for the time being. Thanks for the suggested solution.


rocketmq_proxy: remove well_known_names

Signed-off-by: Long Dai<EMAIL_ADDRESS>
Commit Message:
Remove well_known_names in listener field, part of #7238
Additional Description:
Risk Level: Low
Testing: functional, integration
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

Please merge in the latest main.

@dmitri-d thanks for review, seems after rebase it would be added again, I will remove it.
Sorry for force push, I just rebase main branch :(

Sorry for force push, I just want to rebase main branch :(

No worries, please use merge instead of rebase next time. This lgtm.

please take a look @lizan

@lizan thanks for review, I have made them constants.

@lizan hi, seems can not all absl lib here:
n file included from source/extensions/filters/network/rocketmq_proxy/active_message.cc:1:
In file included from ./source/extensions/filters/network/rocketmq_proxy/active_message.h:4:
In file included from ./envoy/network/connection.h:13:
In file included from ./envoy/network/filter.h:6:
In file included from ./envoy/network/listen_socket.h:11:
In file included from bazel-out/k8-fastbuild/bin/external/envoy_api/envoy/config/core/v3/base.pb.h:26:
In file included from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34:
external/com_google_protobuf/src/google/protobuf/map.h:229:21: error: use of undeclared identifier 'ImplicitConvert'
      return base()(ImplicitConvert(str));
...
external/com_google_protobuf/src/google/protobuf/map.h:214:27: note: candidate function not viable: no known conversion from 'const absl::string_view' to 'std::string_view' (aka 'basic_string_view<char>') for 1st argument
  static std::string_view ImplicitConvert(std::string_view str) { return str; }

Is there a simple way to do it?

/wait

Seems like CI is broken
/wait

@lizan @dmitri-d for final approvals

@yanavlasov thanks for review!

/wait

@lizan after introduce contrib, is it still necessary? If so, I would resolve conflicts, or I would close this.


[cloud_firestore] Internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken.

Bug report
Describe the bug
I've been seeing these somewhat frequently (maybe 20 ish times in the last week), recently, in our error reporting service (sentry.io).
The error appears out of nowhere, which seems to cause related snapshot listeners to break, and in turn, break the code that relies on them.
Steps to reproduce
Never seen it personally, but I'm hoping we can keep the issue open, so people can chime in.
Additional context
From what I can see in Sentry, only Android is affected.
I have an incomplete list of devices where it has happened. It is hard to track, because the error logged isn't the actual error, but an error born from it. I'll see if I can improve this error logging in subsequent versions of our app.
Android 12:

Samsung Galaxy Tab A7.
Samsung Galaxy Tab A8.

It has happened for quite a while, in small amounts. Not sure which version of cloud_firestore it first showed up.
We're using no special configuration parameters for Firestore, only:
// Following is run in main.dart, before Flutter is even initialized using `runApp`.
await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
);

Where DefaultFirebaseOptions.currentPlatform is the autogenerated file, that contains our firebase config.
Sorry I don't have much more to contribute with. I've done a search here in the issue tracker, and this is clearly not an isolated issue.
The issue is high priority to us, but not critical as users seem to figure out that they need to restart the app.
The complete error and it's tiny stack trace:
[cloud_firestore/internal] Internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken.
#0      EventChannelExtension.receiveGuardedBroadcastStream (package:_flutterfire_internals/src/exception.dart:67)
#1      MethodChannelDocumentReference.snapshots.<anonymous closure> (package:cloud_firestore_platform_interface/src/method_channel/method_channel_document_reference.dart:117)

We've added the following to our proguard.pro file:
-keep class io.grpc.** {*;}
Not sure if it does anything. Will keep an eye on it.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Note that we can't upgrade to the latest Flutter since our app in huge, and we're still not null safe.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.12, on macOS 13.5.1 22G90 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.81.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.19.6
Flutter SDK 3.7.12

dependencies:
- android_id 0.3.4 [flutter]
- animated_text_kit 4.2.2 [flutter characters]
- audioplayers 4.0.1 [audioplayers_android audioplayers_darwin audioplayers_linux audioplayers_platform_interface audioplayers_web audioplayers_windows file flutter http meta path_provider synchronized uuid]
- bloc 7.2.1 [meta]
- built_collection 5.1.1
- built_value 8.5.0 [built_collection collection fixnum meta]
- cached_network_image 3.2.3 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- cloud_firestore 4.9.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- country_pickers 2.0.0 [flutter]
- crypto 3.0.3 [typed_data]
- cupertino_icons 1.0.6
- dart_date 1.2.2 [intl timeago]
- decimal 2.3.3 [rational]
- device_info_plus 9.0.3 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry]
- drag_and_drop_gridview 2.0.1 [flutter]
- expansion_widget 0.0.3 [flutter]
- firebase_auth 4.9.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.15.1 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_storage 11.2.6 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- flutter_bloc 7.3.3 [flutter bloc provider]
- flutter_dotenv 5.1.0 [flutter]
- flutter_html 3.0.0-beta.2 [html csslib collection list_counter flutter]
- flutter_keyboard_visibility 5.4.3 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection js material_color_utilities meta path vector_math]
- flutter_material_color_picker 1.1.0+2 [flutter]
- flutter_nfc_acs 0.4.6 [flutter flutter_plugin_android_lifecycle]
- flutter_nfc_kit 3.3.1 [flutter flutter_web_plugins json_annotation ndef convert logging js]
- flutter_riverpod 2.3.7 [collection flutter meta riverpod state_notifier]
- flutter_slidable 2.0.0 [flutter]
- flutter_timezone 1.0.7 [flutter_web_plugins flutter js]
- flutter_vibrate 1.3.0 [flutter]
- geography 1.1.5 [meta http path archive latlong2 diacritic equatable collection json_annotation]
- html_unescape 2.0.0
- http 0.13.6 [async http_parser meta]
- image 4.0.17 [archive meta xml]
- image_picker 0.8.9 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows]
- in_app_update 4.2.0 [flutter]
- internet_connection_checker 1.0.0+1
- intl 0.17.0 [clock path]
- meta 1.8.0
- network_info_plus 4.0.2 [collection nm flutter flutter_web_plugins meta network_info_plus_platform_interface win32 ffi]
- package_info_plus 4.1.0 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface win32]
- path_provider 2.1.1 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- phone_number 1.0.0 [flutter meta]
- positioned_tap_detector_2 1.0.4 [flutter]
- qr_flutter 4.1.0 [flutter qr]
- random_string 2.3.1
- rational 2.2.2
- reorderables 0.6.0 [flutter]
- retry 3.1.1
- rxdart 0.27.7
- sentry_flutter 7.9.0 [flutter flutter_web_plugins sentry package_info_plus meta]
- shared_preferences 2.2.1 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- sprintf 7.0.0
- time 2.1.3 [clock]
- timezone 0.9.2 [path]
- url_launcher 6.1.11 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 3.0.7 [crypto]
- validators 3.0.0
- xml 6.2.2 [collection meta petitparser]

dev dependencies:
- build_runner 2.3.3 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- built_value_generator 8.5.0 [analyzer build build_config built_collection built_value collection source_gen]
- flutter_lints 2.0.3 [lints]

transitive dependencies:
- _fe_analyzer_shared 61.0.0 [meta]
- _flutterfire_internals 1.3.5 [collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 5.13.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.3.7 [crypto path pointycastle]
- args 2.4.2
- async 2.10.0 [collection meta]
- audioplayers_android 3.0.2 [audioplayers_platform_interface flutter]
- audioplayers_darwin 4.1.0 [audioplayers_platform_interface flutter]
- audioplayers_linux 2.1.0 [audioplayers_platform_interface flutter]
- audioplayers_platform_interface 5.0.1 [flutter meta plugin_platform_interface]
- audioplayers_web 3.1.0 [audioplayers_platform_interface flutter flutter_web_plugins js]
- audioplayers_windows 2.0.2 [audioplayers_platform_interface flutter]
- boolean_selector 2.1.1 [source_span string_scanner]
- build 2.3.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.1.1 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.3.1 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml]
- build_runner_core 7.2.7+1 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- cached_network_image_platform_interface 2.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.2 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.2.1
- checked_yaml 2.0.3 [json_annotation source_span yaml]
- clock 1.1.1
- cloud_firestore_platform_interface 5.16.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.7.0 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.6.0 [built_collection built_value collection matcher meta]
- collection 1.17.0
- convert 3.1.1 [typed_data]
- cross_file 0.3.3+5 [js meta]
- csslib 0.17.3 [source_span]
- dart_style 2.3.2 [analyzer args path pub_semver source_span]
- dbus 0.7.8 [args ffi meta xml]
- device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface]
- diacritic 0.1.4
- equatable 2.0.5 [collection meta]
- fake_async 1.3.1 [clock collection]
- ffi 2.0.2
- file 6.1.4 [meta path]
- file_selector_linux 0.9.2+1 [cross_file file_selector_platform_interface flutter]
- file_selector_macos 0.9.3+2 [cross_file file_selector_platform_interface flutter]
- file_selector_platform_interface 2.6.1 [cross_file flutter http plugin_platform_interface]
- file_selector_windows 0.9.3+1 [cross_file file_selector_platform_interface flutter]
- firebase_auth_platform_interface 6.18.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.8.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.7.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.4.5 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.6.6 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.1.0
- flutter_blurhash 0.7.0 [flutter]
- flutter_cache_manager 3.3.1 [clock collection file flutter http path path_provider rxdart sqflite uuid]
- flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_plugin_android_lifecycle 2.0.16 [flutter]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- frontend_server_client 3.2.0 [async path]
- glob 2.1.2 [async collection file path string_scanner]
- graphs 2.3.1 [collection]
- html 0.15.4 [csslib source_span]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- image_picker_android 0.8.7+5 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.2.0 [flutter flutter_web_plugins image_picker_platform_interface mime]
- image_picker_ios 0.8.8+2 [flutter image_picker_platform_interface]
- image_picker_linux 0.2.1+1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_macos 0.2.1+1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_platform_interface 2.9.1 [cross_file flutter http plugin_platform_interface]
- image_picker_windows 0.2.1+1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface]
- io 1.0.4 [meta path string_scanner]
- js 0.6.5 [meta]
- json_annotation 4.8.1 [meta]
- latlong2 0.8.2 [intl]
- lints 2.0.1
- list_counter 1.0.2
- logging 1.2.0
- matcher 0.12.13 [meta stack_trace]
- material_color_utilities 0.2.0
- mime 1.0.4
- ndef 0.3.1 [uuid]
- nested 1.0.0 [flutter]
- network_info_plus_platform_interface 1.1.3 [flutter meta plugin_platform_interface]
- nm 0.5.0 [dbus]
- octo_image 1.0.2 [flutter flutter_blurhash]
- package_config 2.1.0 [path]
- package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- path 1.8.2
- path_provider_android 2.2.0 [flutter path_provider_platform_interface]
- path_provider_foundation 2.3.1 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.1 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32]
- petitparser 5.1.0 [meta]
- platform 3.1.2
- plugin_platform_interface 2.1.6 [meta]
- pointycastle 3.7.3 [collection convert js]
- pool 1.5.1 [async stack_trace]
- provider 6.0.5 [collection flutter nested]
- pub_semver 2.1.4 [collection meta]
- pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml]
- qr 3.0.1 [meta]
- riverpod 2.3.7 [meta stack_trace state_notifier]
- sentry 7.9.0 [http meta stack_trace uuid]
- shared_preferences_android 2.2.1 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.3.4 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.3.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.3.1 [flutter plugin_platform_interface]
- shared_preferences_web 2.2.1 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.3.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.4.1 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.3.2 [analyzer async build dart_style glob path source_span yaml]
- source_span 1.9.1 [collection path term_glyph]
- sqflite 2.2.8+4 [flutter sqflite_common path]
- sqflite_common 2.4.5+1 [synchronized path meta]
- stack_trace 1.11.0 [path]
- state_notifier 1.0.0 [meta]
- stream_channel 2.1.1 [async]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- synchronized 3.1.0
- term_glyph 1.2.1
- test_api 0.4.16 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timeago 3.3.0 [intl]
- timing 1.0.1 [json_annotation]
- typed_data 1.3.2 [collection]
- url_launcher_android 6.0.39 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.1.5 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.6 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.7 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.4 [flutter plugin_platform_interface]
- url_launcher_web 2.0.19 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.8 [flutter url_launcher_platform_interface]
- vector_math 2.1.4
- watcher 1.0.2 [async path]
- web_socket_channel 2.4.0 [async crypto stream_channel]
- win32 4.1.4 [ffi]
- win32_registry 1.1.0 [ffi win32]
- xdg_directories 1.0.3 [meta path]
- yaml 3.1.2 [collection source_span string_scanner]

Hi @larssn, thanks for filing this. A few questions

What platform(s) are you seeing this issue on?
Can we get the full error message including the stack trace?
Has this been happening with every version of cloud_firestore or did you start seeing it after a particular version?
How is cloud_fire setup in your app?

Hey @danagbemava-nc thanks for replying, I've updated the OP with more info.

I know from experience that Firebase Support is useless unless you pay for it. They waste your time until you give up, sadly.
But are you saying that the error comes from further down, and not the Dart/Platform Channel layer?

But are you saying that the error comes from further down, and not the Dart/Platform Channel layer?

Yes, the internal error code from what I gather is for "serious" issues. The plugin is only surfacing it to you.

Hm ok.
Well I've tried reporting many issues of a serious nature to Firebase Support (including this one I believe), never with any luck. They always require a reproduction, which isn't always possible.

For now, I'll be closing this since there isn't much action to take from our end.
If you are able to get a repro, we would love to revisit this in the future.
Thank you


Compiling specified resources

Environment and configuration

Maven version 3.3.1

Java version 1.8

Operating system and platform linux

plugin configuration, the full/complete snippet of your pom.xml for the sass-maven-plugin

<plugin>
        <groupId>nl.geodienstencentrum.maven</groupId>
        <artifactId>sass-maven-plugin</artifactId>
        <configuration>
          <resources>
            <resource>
              <source>
                <directory>${basedir}/src/main/resources/sass/</directory>
                <includes>
                  <include>**/app.scss</include>
                </includes>
              </source>
              <destination>${basedir}/target/resources/css</destination>
            </resource>
          </resources>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>update-stylesheets</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

Expected Behavior
The plugin should only compile the files specified in the  definition.
Actual Behavior
At the moment, the plugin ignors the  definition and compiles all the sass resources in the provided  directory.

compilation may be required because you're including stuff, without your code I have no idea..
A test case and a maven debug log would surely help.

include and exclude filters are directory level filters; it is currently not possible to specify those to sass; so if you want this you will need to declare different resources.
see also: #116

closing this as both include and exclude work at the directory level, just like Sass itself


[SQL] Implement analyze table xxx statement

Reference: https://dev.mysql.com/doc/refman/5.7/en/analyze-table.html
What would you like to be added:
analyze table student;

Why is this needed:

pls assign to me


Sightingdb location

Hello, for me It's quite hard.
Can anyone explain, where to git clone sighting dir?
Should it be in /home/user or just in / .
Another question is, how to run sighting-daemon... Iam quite newbie in Linux.
Thanks for reply.

You can clone it in /home/user or /opt if you prefer.
To run the sighting-daemon, have a look at the generated binary in targets/release or debug.

So, It's trying to unwrap()
user@ubu-srv-101:~/sightingdb$ ./target/debug/sighting-daemon
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })', src/daemon/main.rs:93:61
stack backtrace:

When I look at src/daemon.main.rs:93:61

user@ubu-srv-101:~/sightingdb$ cat ./src/daemon/main.rs | head -n 100 | tail -n 10
    let mut sharedstate = Arc::new(Mutex::new(SharedState::new()));

    let config = Ini::load_from_file("sighting-daemon.ini").unwrap();

    let daemon_config = config.section(Some("daemon")).unwrap();
    match daemon_config.get("daemonize").unwrap().as_ref() {
        "true" => { Daemonize::new().pid_file("/var/run/sightingdb.pid").start().unwrap(); },
        "false" => println!("This daemon is not daemonized. To run in background, set 'daemon = true' in sigthing-daemon.ini"),
        _ => println!("Unknown daemon setting. Starting in foreground."),
    }

Any Idea, What is incorrect?


Jelly master and email stable/unstable not working

Jellyfin master ( 2021-01-24)
Email notification version: 9.2101.2419.3813
also does not work with v<IP_ADDRESS>
getting this error in the jelly log when pressing 'test notification' and when jelly tried to send an email based on notification settings.

[21:45:13] [DBG] [4] Emby.Notifications.NotificationManager: Sending notification via Email Notifications to user XXX
[21:45:14] [ERR] [4] Emby.Notifications.NotificationManager: Error sending notification to Email Notifications
MimeKit.ParseException: Unexpected token at offset 26
   at MimeKit.MailboxAddress.set_Address(String value)
   at MimeKit.MailboxAddress..ctor(Encoding encoding, String name, String address)
   at MimeKit.MailboxAddress..ctor(String name, String address)
   at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotification(UserNotification request, CancellationToken cancellationToken)
   at Emby.Notifications.NotificationManager.SendNotification(NotificationRequest request, INotificationService service, String title, String description, User user, CancellationToken cancellationToken)

This looks like configuration error, can you double check what was entered in the email address fields?

This looks like configuration error, can you double check what was entered in the email address fields?

hi,
email field has user@fqdn, nothing fancy.
i also run an 10.5.5 instance, with the same settings that works fine (just copy pasted them to this master installation).
//edit
took the hard way to fix it:
exported 10.5.5 instance settings and imported them into master instance. works. No idea what was wrong.


OCPBUGS-13547: Pass payload-version to MCS and MCC

What this PR does / why we need it:
Follow up to #2572, all MCO related components need to have the payload version passed in, so pass to MCC and MCS as well, else they cannot construct a featuregateaccess once openshift/machine-config-operator#3688 merges.

/approve

/lgtm


Prevent deletion of propagated objects

Restructures the object validation controller to prevent deletions. Also
simplifiest the logic by explicitly checking the operation
(create/update/delete) that we're trying to validated.
Tested: new unit tests; tried a variety of legal and illegal
modifications on GKE 1.16 and confirmed that everything passed or failed
as expected in included namespaces, and that every change (including
illegal ones) pass in the excluded namespace kube-system. Confirmed
log messages are always printed out on failure while successes are never
printed.
Fixes #845

/assign @rjbez17
/assign @yiqigao217
cc @GinnyJI

/lgtm
/approve
/hold cancel


Support Case link provides a bot service but loops

The support case link for the below prerequisite provides a bot service but does not provide any method of raising a ticket after answering all the questions from the bot.
Have 100 or fewer users in your organization. If your organization has more than 100 users, contact Support for help with connecting to Azure AD.
Customer provided a demo and the bot appears to loop back to the article to raise a support ticket which opens up the bot.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 031380a0-4f04-4105-199a-81715b42c653
Version Independent ID: 570b2795-90ad-32b4-7ad0-1fceb186ffa3
Content: Connect organization to Azure Active Directory - Azure DevOps Services
Content Source: docs/organizations/accounts/connect-organization-to-azure-ad.md
Product: devops
Technology: devops-accounts
GitHub Login: @chcomley
Microsoft Alias: chcomley

@Donovand4 -- Donovan, thank you for your feedback.  This repo is solely for documentation issues, and this seems product-related.  Please add it here:

Developer Community

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


[FEATURE REQ] Use source-generator to support chat function with type

Library name
Azure.AI.OpenAI
Please describe the feature.
To leverage typed method into Chat Function, we can use source generator to generate FunctionDefinition and a wrapper function, which takes in a string as input, retrieve arguments from that string and mapping back to original typed method.
This can also reduce the effort of consuming function call with GPT, where a FunctionDefinition object needs to be manually crafted, arguments need to be manually parsed and the two steps need to be synchronized for every change.
Both FunctionDefinition and wrapper function can be generated according to syntax information like function name, argument type and its comments if there's any.
Here's one implementation
https://github.com/LittleLittleCloud/groupchat-example-for-dotnet/tree/main/src/GroupChatExample.SourceGenerator
Example
// file: ChatFunction.cs
public partial class ChatFunction
{
    /// <summary>
    /// Get the current weather in a given location.
    /// </summary>
    /// <param name="city">The city to get the weather for</param>
    /// <param name="date">The date to get the weather for</param>
    [FunctionAttribution]
    public string GetCurrentWeather(string city, string date)
    {
        return $"The weather in {city} on {date} will be sunny.";
    }
}

We can make use of its function name, parameter list and structured xml comment, and generate FunctionDefinition and it's wrapping function for consumption. This can save the effort of creating function definition object and keep parsing code in place with function parameters.
// file: ChatFunction.generated.cs
public partial class ChatFunction
{
    public FunctionDefinition GetCurrentWeatherFunction
    {
        get => {
            new FunctionDefinition()
            {
                Name = "GetCurrentWeather",
                Description = "Get the current weather in a given location.",
// todo
// using literal Json string
                Parameters = BinaryData.FromObjectAsJson(
                new
                {
                    Type = "object",
                    Properties = new
                    {
                        city = new
                        {
                            Type = "string",
                            Description = "The city to get the weather for",
                        },
                        date = new
                        {
                            Type = "string",
                            Description = "The date to get the weather for",
                        }
                    },
                },
                new JsonSerializerOptions() {  PropertyNamingPolicy = JsonNamingPolicy.CamelCase }),
            };
        }
    }

    private class GetCurrentWeatherSchema
    {
        public string city { get; set; }
        public string date { get; set; }
    }

    public string GetCurrentWeather(string arguments)
    {
        var schema = JsonSerializer.Deserialize<GetCurrentWeatherSchema>(arguments);
        return GetCurrentWeather(schema.city, schema.date);
    }
}

Nice to have

Generate a mapper function for automatic function call.

I created something similar for another openai lib, although using reflection instead of source generation
https://www.linkedin.com/pulse/using-openai-function-calling-net-andrás-velvárt/
It even goes one step further by streamlining the actual function calling if the AI so requires.
I'd love to contribute by implementing it for Azure SDK.

I got this working:
completionOptions.Functions = FunctionCallingHelper.GetFunctionDefinitions<Calculator>();
...
var functionCall = firstChoice.Message.FunctionCall;
var functionCallResult = FunctionCallingHelper.CallFunction<float>(functionCall, calculator);
...

	public class Calculator
	{
		[FunctionDescription("Adds two numbers.")]
		public float Add(float a, float b)
		{
			return a + b;
		}

		[FunctionDescription("Subtracts two numbers.")]
		public float Subtract(float a, float b)
		{
			return a - b;
		}

Please let me know, and I'll prepare a PR.

Just find one similar issue from dotnet-interactive
https://github.com/dotnet/interactive/issues/3243

@LittleLittleCloud: I have no insight.  We'll need an update from the OpenAI team.

@jsquire Thanks, Could you please loop OpenAI SDK team under this thread.
also @trrwilson, any suggestions/feedback for supporting function_all with type? I already have an implementation and I can create a draft PR if you like.


Events not lined up css

The event don't line up with the hours on the left

removing the cal-hour border-bottom fixed it


Issue/#24 Lint the frontend code with airbnb style during build step

Fixes #24
Proposed Changes
Frontend:

Configure react-scripts to use our custom eslint configuration for the start, build and test npm run commands.
Configure eslint and prettier with airbnb style, 100 max line width, single quotes, trailing commas everywhere.
Add npm run lint and npm run lint-fix commands.
Fix the linting errors.

How this affects you

A few files were modified to fix linting issues, so it'll probably cause merge conflicts later on.
The dependencies have changed, so developers will need to run npm install.
There was also a conflict in the babel-eslint dependency with airbnb, so you may need to remove the node_modules folder and rerun npm install from scratch :cry:

Here's a diff that only contains the configuration changes - hopefully that'll make it easier to review:
https://github.com/se701-group6/se701-assignment1/pull/25/files/3d5ea8430023ea2e271b26accf412f0178985aae
The remaining diff comes from updating README and fixing the linting errors.


Wrong hoodie url when using from another host

The client.js bundle initialize hoodie without url options, like this:
hoodie = new Hoodie();

This causes hoodie to use the url from location.origin, the problem is that in my use case, I need to use hoodie as an external resource, like this:
<script type="text/javascript" src="http://localhost:4000/hoodie/client.js"></script>

But my application is running on another port (e.g. localhost:8000), so hoodie does not work. And if I instantiate it like this on my app side:
hoodie = new Hoodie({url: 'http://localhost:4000'});

It's too late because client.js already initialized hoodie on the wrong url, so some automatic calls, like api/user%2Fmyuser/, keep getting called on my own app url (localhost:8000/hoodie instead of localhost:4000/hoodie like it should be), throwing 404s, and poor clueless PouchDB says they are normal

we will fix it via the client option instead, see https://github.com/hoodiehq/hoodie/pull/520#issuecomment-230166837


x-ms-immutability-policy-mode does not respect ImmutabilityPolicyMode values

Whatever service is returning the calls I guess has different consts to this repo or uses strings.ToLower().
getPropertiesHandleResponse (generated) is assigning resp.Header.Get("x-ms-immutability-policy-mode") to ImmutabilityPolicyMode. In this repo ImmutabilityPolicyModeLocked is "Locked" but calls like NewBlobClient(blob).GetProperties(ctx, nil) are returning &ImmutabilityPolicyMode("locked") which is not ideal because ImmutabilityPolicyMode("locked") == ImmutabilityPolicyModeLocked is false meaning we can't use these types for checking and instead need to do something like strings.EqualFold(string(ImmutabilityPolicyMode("locked")), string(ImmutabilityPolicyModeLocked)).

Oh it seems the returned value is BlobImmutabilityPolicyModeType although it cast to ImmutabilityPolicyMode

Maybe the swagger or whatever is generating the client was set to ImmutabilityPolicyMode by mistake and should instead be BlobImmutabilityPolicyModeType?

OK I see similar mentioned here already https://github.com/Azure/azure-sdk-for-go/issues/16791#issuecomment-1011518946

These values are as per the return values coming back from backend. SDK is just using the same value while returning back status.

So it's a mistake on the backend then? If the expected type is "Locked" but "locked" is returned


Upstream the lspconfig configuration

Hi there!
Would you happen to like to upstream the nvim-lspconfig that's here? I was just looking to send lspconfig a PR adding it for coq-lsp but then found this plugin. If you'd like to I'll wait for your PR, otherwise let me know and I can do so.
(Looking forward to trying out your plugin in general as well!)

Hi, I just made PR at lspconfig https://github.com/neovim/nvim-lspconfig/pull/2850. Thanks for reminder.


Prevent overriding the sample size in sample_dataset

Resolves #230
Hello!
Pull Request Overview

Prevent num_samples from being reduced for all subsequent labels if one label with less than num_samples samples is encountered.
Add test to prevent regression.

Bug Details
Please see #230 by @solomonno for some details surrounding the bug. As mentioned by Sungjun in that issue, these lines are the culprit:
https://github.com/huggingface/setfit/blob/eee595ede962b9a9bbe62d4d919f5629d2fc2868/src/setfit/data.py#L100-L103
In short, num_samples is modified, and may be decremented when we loop over the different labels. I'd rather show you with a code example:
How to reproduce
import string
from datasets import Dataset
from setfit import sample_dataset

# Generate a dataset where "a" has label 0, and all other letters have label 1
ds = Dataset.from_dict({"text": string.ascii_letters, "label": [0] + 51 * [1]})

# Simulate the few-shot regime by sampling 8 examples per class
train_ds = sample_dataset(ds, num_samples=8)
print(train_ds)

This script outputs:
Dataset({
    features: ['text', 'label'],
    num_rows: 0
})

Note: 0 rows. This is because num_samples is reduced to 0 in the first iteration of the loop.
After this PR
When running the same script on the branch of this PR, the output becomes:
Dataset({
    features: ['text', 'label'],
    num_rows: 8
})

I've made a test that ensures that the num_rows of this script is 8.
What now?
The output after this PR is almost as I would have expected, with the following 2 exceptions:

I would expect a num_rows of 9: 1 sample for label 0 and 8 samples for label 1.
I would expect a warning that for label 0, it was not possible to sample the full num_samples samples.

For exception 1, I don't fully understand why we even perform the integer division by 2 on this line:
https://github.com/huggingface/setfit/blob/eee595ede962b9a9bbe62d4d919f5629d2fc2868/src/setfit/data.py#L102
It means that the "second half" of each label in the dataset after shuffling can never be sampled. Why is that? I assume it's unrelated to the contrastive learning.
@lewtun is there a reasoning for this, or should I remove the integer division?
I can also implement the warning from exception 2 (in a different PR?).
Thank you @solomonno for raising the issue and providing the fix. I've added you as a co-author to the commit.

Tom Aarsen

This should be all set now!

This update has yet to be pushed to pypl, correct @lewtun?

That is correct, @dcruiz01


RFC for logging v2

This PR is an RFC for a v2 version of the logging library.
The focus for the v2 version is enabling contextual logging, so that logging contexts can be defined and inherited in order to allow for logging code to be easier to write and more consistent.
This is not intended to be the complete and final implementation, but rather an RFC to flush out heftier comments.
Some basic performance comparison with v1 shows that the contextual logging is not that heavy:
ETW+console:
v1 PERF_TEST_LOG_CRITICAL (0) 3410000 logs in 5.003131 s (5003130 us),<PHONE_NUMBER>34 logs/us
v2 PERF_TEST_LOG_CRITICAL (0) 3410000 logs in 5.003131 s (5003130 us),<PHONE_NUMBER>34 logs/us
v2 with local context created once PERF_TEST_LOG_CRITICAL (0) 3130000 logs in 5.004188 s (5004188 us),<PHONE_NUMBER>22 logs/us
v2 with dynamic context created once PERF_TEST_LOG_CRITICAL (0) 3120000 logs in 5.012561 s (5012560 us),<PHONE_NUMBER>58 logs/us
v2 with local context created every time PERF_TEST_LOG_CRITICAL (0) 2690000 logs in 5.010611 s (5010611 us),<PHONE_NUMBER>08 logs/us
v2 with dynamic context created every time PERF_TEST_LOG_CRITICAL (0) 2690000 logs in 5.010611 s (5010611 us),<PHONE_NUMBER>08 logs/us
ETW only:
v1 PERF_TEST_LOG_CRITICAL (0) 38860000 logs in 5.000658 s (5000658 us), 7770977.028565 logs/us
v2 PERF_TEST_LOG_CRITICAL (0) 38860000 logs in 5.000658 s (5000658 us), 7770977.028565 logs/us
v2 with local context created once PERF_TEST_LOG_CRITICAL (0) 36940000 logs in 5.000964 s (5000963 us), 7386576.606688 logs/us
v2 with dynamic context created once PERF_TEST_LOG_CRITICAL (0) 37310000 logs in 5.000699 s (5000698 us), 7460957.704209 logs/us
v2 with local context created every time PERF_TEST_LOG_CRITICAL (0) 13930000 logs in 5.002816 s (5002815 us), 2784431.919310 logs/us
v2 with dynamic context created every time PERF_TEST_LOG_CRITICAL (0) 13930000 logs in 5.002816 s (5002815 us), 2784431.919310 logs/us

It would be great to have an MD here that explains how to use this with some examples and a little explanation.

There actually is an .md, it is already in the repo.
So this RFC PR is diminishing as more and more things get merged. I am keeping the RFC PR as my stash until all is implemented.

In reply to:<PHONE_NUMBER>

logging_v2 has been merged and is used.


Tensorflow issue

Hi,
Does anyone ever face this issue while trying to run? Kindly let me know if anyone know how to fix this. Thanks a lot!

I have met the same problem，wonder if you have already fix it?Thank you~

Add following codes at line 330, in tf_pose/estimator.py
 if tf_config is None:
     tf_config = tf.ConfigProto()
 tf_config.gpu_options.allow_growth = True