server is not making qos 1/2 assurance when subscribed client not response puback

Background
We are testing qos assurance, but found that mochi-mqtt is not assure qos 1message's delivery.
But I walk through mochi-mqtt's readme. It says it implements Full qos 1/2.
Our testcase demonstrate like below:

we create a mqtt client to subscribe specify topic like /testTopic， but not response puback packet.
we publish mqtt message to the topic /testTopic with another client.
So with this testcase, we want this message to resend interval.

Code walk through
I'm not sure if I was making the right conclusion.
Here I walk through the code, but not finding anything about qos =1/2's retrying.
Below is the code that I was walked through, Please feel free If I was missing something.

publishToClient - github.com/mochi-mqtt/server/v2/server.go

select {
	case cl.State.outbound <- &out:
		atomic.AddInt32(&cl.State.outboundQty, 1)
	default:
		atomic.AddInt64(&s.Info.MessagesDropped, 1)
		cl.ops.hooks.OnPublishDropped(cl, pk)
		if out.FixedHeader.Qos > 0 {
			cl.State.Inflight.Delete(out.PacketID) // packet was dropped due to irregular circumstances, so rollback inflight.
			cl.State.Inflight.IncreaseSendQuota()
		}
		return out, packets.ErrPendingClientWritesExceeded
	}

WriteLoop - github.com/mochi-mqtt/server/v2/clients.go

// WriteLoop ranges over pending outbound messages and writes them to the client connection.
func (cl *Client) WriteLoop() {
	for {
		select {
		case pk := <-cl.State.outbound:
			if err := cl.WritePacket(*pk); err != nil {
				// TODO : Figure out what to do with error
				cl.ops.log.Debug("failed publishing packet", "error", err, "client", cl.ID, "packet", pk)
			}
			atomic.AddInt32(&cl.State.outboundQty, -1)
		case <-cl.State.open.Done():
			return
		}
	}
}

I found that after WritePacket， if it didn't encouter any error, It will treat the message as publish success.
Expect
When subscribed client didn't response puback, server must resend message to ensure qos =1 or 2.
Please feel free to tell me that if I was missing something.

Given MQTT is based on TCP, with well behaved (conforming to MQTT spec) client and server, only when there is a break in the TCP connection may result in server not receive PubAck. Hence, the un-acked messages are only resent when the client reconnects to the server.
In addition, with MQTT, there is Publisher, Broker and Subscriber:
Publisher ---> Broker ---> Subscriber

Each segment has its own respective QoS. For example, the publish QoS only dictates the delivery guarantee for Publisher to the Broker portion. Subscriber defines its QoS in the subscription message. Generally you can consider the end-to-end QoS is the min(Publisher QoS, Subscriber QoS), assuming the server allows up to QoS 2.
Given the Publish API is to "simulate" a Publisher publishing to a topic, it returns when the Broker can accept the message.

@cxshun, does the above resolve your concern?

Thanks @thedevop for your reply, sorry to reply such late.
May be we are thinking two different situation.

What you are talking about is about tcp disconnect then reconnect, it's already handle by mochi-mqtt.
But I'm talking about is the situation like this:
Our device may enter some place that has weak signal(may be remote mountains etc), so when it receive publish packet, then it's unable to respond normal puback, or it can not received publish packet in the worst case.

We know tcp disconnect only happen when keepalive timeout or active disconnect, so in my above situation, may be device is in its keepalive period, so it will not reconnect, so the message may not deliver again in its connection.
So the code segment that you post:
 if sessionPresent {
 	err = cl.ResendInflightMessages(true)

will not be able to trigger.
We try to check EMQX, It seems to implement this assurance.
Look forward to more dicussion!

At layer 4, TCP guarantees delivery in order until the connection is lost, so if the underlying TCP is not disconnected, the TCP protocol will handle redelivery of unacked packets (layer 4), and you will not receive any future data (layer 7) until the "lost" packet is redelivered by TCP or until the connection is lost.
In addition to that, at layer 7, MQTT protocol has its own heartbeat and keepalive, if that timeout, the server will disconnect the connection.
Hence re-deliver on the same TCP connection at MQTT layer is not necessary.


Add Counter Analytics Function

Related to https://github.com/spring-cloud-stream-app-starters/app-starters-release/issues/222

squashed and merged


Pre-loader has been added to the website.

🛠 Fixes Issue #566

👨💻 Changes proposed

Added the Pre-loader to enhance the look of the website.

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

The functionality has been added using HTML, CSS, and JavaScript.

📷 Screenshots
https://user-images.githubusercontent.com/90326051/165258277-5410f545-f27b-458d-a4aa-56f24badb909.mp4

@Astrodevil Kindly review my PR, thank you.


Added functions for exporting and importing model field values from Dict

I've also changed the include order in Stipple.jl since these functions need the INTERNALFIELDS, AUTOFIELDSin order to determine which model fields should not be exported.

@PGimenez this is to be merged into the vue2-compat branch, right?

Yes, this PR targets that branch which is the one we use in GB, right?

@PGimenez I merged this into my megamerge branch (0.28 + 0.30) - not sure if we need to merge into v0.28 anymore. I think we can close it.

I guess we can merge so it works for apps on v0.28 until we merge GB onto 0.30


Can not reproduce the results.

Hi,
I have trained the writer-dependent classifiers using your pre-trained models. But EER score is not the same as reported in your papers.

Hi, can you please inform :

The EER values that you obtained
The dataset
Which commands you used for preprocessing
Which command you used for training the WD classifiers

Hi,
I used this command to preprocess the GPDS dataset
python -m sigver.preprocessing.process_dataset --dataset gpds --path ./datasets/gpds --save-path gpds_170_242.npz
And I trained the writer dependent classifiers using the pre-trained models provided by you using the following command:
python -m sigver.wd.test -m signet --model-path <path/to/trained_model>
--data-path <path/to/data> --save-path <path/to/save>
--exp-users 0 300 --dev-users 300 881 --gen-for-train 12
I obtained these results:
For signet.pth

For signet_f_lambda_0.95.pth

@mfaisal59 thanks for the info. These results are way off. I just re-ran these experiments with the GPDS dataset, and here is what I get (left is sigver; right is sigver-f)

The first I think it is worth checking is the data. To be sure, these experiments use the Grayscale version of the GPDS dataset - can you confirm that this is the case for your dataset? (I know that some version of GPDS was shared as binary images).
Please check the histogram of the first image in the dataset:
import skimage
import numpy as np
import matplotlib.pyplot as plt
img = skimage.io.imread('<path>/002/c-002-01.png') # replace the data path here
plt.hist(img.reshape(-1))
plt.yscale('log')
plt.savefig('histogram.png')
print(img.shape)

I got this (image of shape 519, 1142):

Hi,
The dataset, that I downloaded, have images in jpg format whereas you have in png format. Did you convert the images to png?
I got this histogram for the same image:

Hi @mfaisal59,
I think you are using the GPDS Synthetic dataset instead of the GPDS-960 dataset. I also have a copy of the GPDS synthetic dataset, and 1) they are jpg images (whereas GPDS-960 has png images) 2) I generated the histogram for c-002-01.jpg (on the synthetic dataset) and it is exacly the same as the one you posted above.
Please note that all experiments in the paper were done with GPDS-960, MCYT-75, CEDAR and the Brazilian PUC-PR. We did not perform any experiments with the GPDS synthetic dataset. In my opinion, you should take results on the synthetic dataset with a grain of salt: while the procedure to generate the genuine signatures is reasonable, I don't quite agree with the authors on how they generate the skilled forgeries (see the paper that introduced the dataset: [1]). In practice, we observe some particularities in skilled forgeries (such as limp strokes, caused by slow hand movements) that were not modeled in the synthetic dataset.
[1] Miguel A. Ferrer, Mois\E9s Diaz-Cabrera, Aythami Morales, "Static Signature Synthesis: A Neuromotor Inspired Approach for Biometrics," IEEE Transactions on Pattern Analysis and Machine Intelligence, ISSN: 0162-8828, vol. 37, no. 3, pp.1- 667-680, March 2015.

@mfaisal59 I am closing this issue since the results you obtained were from a different dataset than those used in the paper. If you have other questions / find any issues, please create a new issue.

Hi,
I have one confusion, I downloaded GPDS Synthetic Signature database from this link http://www.gpds.ulpgc.es/ under the license agreement, this dataset consists of signatures of 4000 users.
Whereas in your paper you used GPDS-960 dataset, I can not find this dataset link. From where should I download this dataset. Is GPDS-960 the subset of GPDS Synthetic?
Thanks in advance.

Hi @mfaisal59,
The GPDS-960 is a different dataset - it is not a synthetic dataset, but rather was collected from 960 individuals. It used to be available in the same page you listed above (search for the term "GPDS960GRAYsignature database"), but unfortunately it seems that it is no longer being distributed.
You can still use the CEDAR (https://cedar.buffalo.edu/signature/) and MCYT-75 (https://atvs.ii.uam.es/atvs/mcyt75so.html) datasets.

@mfaisal59 here is the SigNet model trained on GPDS4000.
https://drive.google.com/open?id=1GbvMf1V7_r6CajO4UQMh4myQ3qTG6xpt


DHCP fails to get IP with Personal/Enterprise WiFi (IDFGH-12867)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
5.1.2
Espressif SoC revision.
ESP32
Operating System used.
Linux
How did you build your project?
Command line with CMake
If you are using Windows, please specify command line type.
None
Development Kit.
esp32-wroom-32
Power Supply used.
USB
What is the expected behavior?
DHCP works always and with any Personal and Enterprise WiFi
What is the actual behavior?
DHCP sends discovery requests and we see it with wireshark but they are ignored by the router.
We are able to recreate it by switching between Personal and Enterprise network on Mist but it always happens on Aruba router with Enterprise PEAP network.
We didn't notice this issue on Rockus yet.
Cellphones on the same time has no issues connecting these networks.
Steps to reproduce.
Just connect to Enterprise PEAP wifi created by Aruba router
or
Switch between two networks Personal and Enterprise PEAP created by one Mist router
Debug Logs.
I 24392 | WiFi             Starting connection
I 24422 | wifi             new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I 24422 | wifi             state: init -> auth (b0)
I 24462 | wifi             state: auth -> assoc (0)
I 24462 | wifi             state: assoc -> run (10)
I 24552 | wifi             connected with it_personal_x, aid = 3, channel 11, BW20, bssid = 5c:5b:35:01:f7:18
I 24552 | wifi             security: WPA2-PSK, phy: bgn, rssi: -43
I 24562 | wifi             pm start, type: 1
W None |dhcp_start(netif=0x3ffcefb4) st2
W None |dhcp_start(): restarting DHCP configuration
W None |dhcp_start(): starting DHCP configuration
W None |dhcp_discover()
W None |dhcp_discover(): dhcp state is DISCOVER
W None |dhcp_select: could not allocate DHCP request
W None |transaction id xid(dc7b4519)
W None |dhcp_discover: making request
W None |dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER)
W None |dhcp_discover: deleting()ing
W None |dhcp_discover: SELECTING
W None |dhcp_discover(): set request timeout 500 msecs
I 24602 | WiFi             Connected
I 24612 | wifi             AP's beacon interval = 102400 us, DTIM period = 2
W None |dhcp_coarse_tmr()
W None |dhcp_fine_tmr(): request timeout
W None |dhcp_timeout()
W None |dhcp_timeout(): restarting discovery
W None |dhcp_discover()
W None |dhcp_discover(): dhcp state is DISCOVER
W None |dhcp_select: could not allocate DHCP request
W None |transaction id xid(dc7b4519)
W None |dhcp_discover: making request
W None |dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER)
W None |dhcp_discover: deleting()ing
W None |dhcp_discover: SELECTING
W None |dhcp_discover(): set request timeout 1000 msecs
W None |dhcp_coarse_tmr()
W None |dhcp_fine_tmr(): request timeout
W None |dhcp_timeout()
W None |dhcp_timeout(): restarting discovery
W None |dhcp_discover()
W None |dhcp_discover(): dhcp state is DISCOVER
W None |dhcp_select: could not allocate DHCP request
W None |transaction id xid(dc7b4519)
W None |dhcp_discover: making request
W None |dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER)
W None |dhcp_discover: deleting()ing
W None |dhcp_discover: SELECTING
W None |dhcp_discover(): set request timeout 2000 msecs
W None |dhcp_coarse_tmr()
W None |dhcp_coarse_tmr()
W None |dhcp_fine_tmr(): request timeout
W None |dhcp_timeout()
W None |dhcp_timeout(): restarting discovery
W None |dhcp_discover()
W None |dhcp_discover(): dhcp state is DISCOVER
W None |dhcp_select: could not allocate DHCP request
W None |transaction id xid(dc7b4519)
W None |dhcp_discover: making request
W None |dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER)
W None |dhcp_discover: deleting()ing
W None |dhcp_discover: SELECTING
W None |dhcp_discover(): set request timeout 4000 msecs
W None |dhcp_coarse_tmr()
W None |dhcp_coarse_tmr()

More Information.
Changing settings to
CONFIG_LWIP_DHCP_DISABLE_CLIENT_ID=y
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=n
didn't help.

Hi @tomasznowik, Does router ack these dhcp packets(ignored ones)?

This is old capture from WiFi directly showing that ESP32 never gets an answer for DHCP Discovery:

And that's a capture from PC with DHCP server. Looks like after switching ESP32 to personal1 WiFi the DHCP Offer is sent but ESP32 doesn't receive it:

And here's the last one - also from PC with DHCP server. Looks like after switching to other WiFi no packets from ESP32 are visible although previously ESP32 did receive IP on this WiFi SSID. And I see in ESP32 log that it sends DHCP Discovery a few times before switching to other WiFi:

Note: we have other device based on RTL chip and we didn't notice any DHCP issues with it in the same scenarios and tests.

Hi @tomasznowik, in all these captures, esp32 is always sending dhcp request however AP is not forwarding the packets from DHCP server to esp32.
Could you please share sniffer capture of RTL device and esp32 device with the same AP so that I can analyze a bit?

@kapilkedawat This is a capture of two successful requests for ESP32 and RTL: dhcp_issue_esp32_vs_rtl.zip
From what I see ESP32 sends hostname and client identifier OPTIONS in DHCP Discovery package and client identifier OPTION in DHCP Request package and RTL doesn't do that.
I will check if disabling both would help. In the past we tested CONFIG_LWIP_DHCP_DISABLE_CLIENT_ID alone but it didn't help.

Could you please share sniffer capture of RTL device and esp32 device with the same AP so that I can analyze a bit?

@kapilkedawat Did you check the log in https://github.com/espressif/esp-idf/issues/13830#issuecomment-2135133436 ? Any finding?

Hi @tomasznowik, sorry for the delay, I missed the reply. These are both from the success case or later AP dropped these packets? Could you also attach over the air capture of the same instances?

@kapilkedawat First capture I've attached is over the air (wifi) but it's no so easy to setup the test to grab it. But I have some logs with DHCP in debug mode  where I've added DHCP client stop & start in case IP is not received in 10 sec. Maybe it will help:
dhcp_reset_helped.txt

Yes, currently it's mitigated by reconnect to the wifi network and we do not debug it anymore


bitcoin: unable to parse Tx with no inputs and 1 output

Currently, the Tx class in @node-dlc/bitcoin is unable to parse a base transaction with no inputs and 1 output.
This is because zero inputs and 1 output is serialized as "0001", which also happens to be the witness marker and version flag. However, these are invalid witness transactions because a Tx needs to have a witness to be considered a witness transaction.
Example tx:<PHONE_NUMBER>0100e1f5050000000017a9148fe46e05e329badba1c390a5ea2c0ad7de2059cd8700000000
There is support for parsing this type of transaction in Bitcoin Core and Bitcoin-s (perhaps others, I haven't checked).
Bitcoin-s currently implements a throw catch to solve this issue. They also have a test for ensuring their Transaction module is able to parse these types of transactions.
I suggest adding a throw/catch to Tx.parse and adding a test for this type of transaction.

@matthewjablack, thanks for submitting the issue! Shouldn't be too much of a problem to fix this.  I'll take a look over the weekend here and try to get a patch applied along with the appropriate vectors.
I have a standing issue #158 to pull in the vectors used in Bitcoin core. That likely would have found this!  Best intentions I guess haha


Media queries for responsive design are not working?

Hi, I just started from your template but found a problem with responsive queries not working.
How can they be enabled? Thanks

solved by adding
export default defineNuxtConfig({
  ...
  tailwindcss: {
    config: {
      variants: {
        extend: {
          width: ['responsive']
        }
      }
    }
  }
 ...
})


How do I change my last Name on my JetBlue Airlines Flight ticket?

Aka.ms link name
https://hpdcrmportal.dynamics365portals.us/forums/general-discussion/25088712-d04d-ef11-b4ad-001dd80afa97
Category (Optional. Select None to auto-select)
learn

To change your last name on your JetBlue Airlines flight ticket, you'll need to follow a specific process outlined by JetBlue. Here's a step-by-step guide:
Contact JetBlue Customer Service: Call JetBlue Airlines customer service at +1-833-730-7587. Inform them that you need to change your last name on your flight ticket.
Provide Booking Details: Have your booking reference number ready. Share this with the customer service representative to locate your booking.
Explain the Reason for Name Change: Clearly explain the reason for the last name change. This could be due to marriage, divorce, or legal name change.
Submit Documentation: Depending on the reason for the name change, you may need to submit official documentation.


Use xarray-dataset to save all data

I think we should store all the data from the sampling straight to xarray.Dataset. This way the results are in a compact place and we have a good way to access it.
Not sure should also store functions there or only the data.
See. e.g. https://github.com/arviz-devs/arviz/issues/97

Or maybe we could still use a dictionary, but save with the same format
{'theta' : arr}
# arr is ndarray
arr.shape = (chain, draw, *shape)

Or
{'theta' : arr}
# arr is List of ndarray
arr[i].shape = (draw, *shape)

Or
[{'theta' : arr}]
# arr is ndarray
arr.shape = (draw, *shape)

Then we can easily transform to xarray.Dataset.
Should we try and kick some tyres, now the version is 3.0.x alpha?
cc. @mkcor

I think with arviz.from_pystan works, so we can keep Fit object as a simple numpy object.


Add a 'static' data source to Nanoc core.

The static data source fills a common need for Nanoc sites. Hopefully it'll reduce the amount of n00b questions in IRC and on the mailing list :)
The original author of this data source appears to be @ddfreyne. Data source code from here.
I also updated create_site command to include a stub configuration, routing rule and compilation rule for the static data source. This doesn't change the defaults, but it adds commented out configuration to make it easier to get going.

Mounting the items from content/assets won’t work yet because it will cause files in content/assets to be parsed once by filesystem_unified and once by static, which is wrong. I’d also like to update the filesystem_* data sources with an option to enable/disable extension stripping.
Appart from that, this pull request looks promising! I think I’ll do the next developments for this, but if you’re up to it you can take a stab at it too.

Updated the generated config.yaml to be a bit more clear on the assets/ directory location.

Ideally, I’d like to have a configuration for my sites where I have two data sources: one data source for the usual files (filesystem_unified mounted at content/) and another one for static files (filesystem_static mounted at content/static).
This is currently not possible because you cannot nest source locations. I’m no fan of having two directories for content (content and static or assets) so I’d like to fix this before the static data source becomes part of nanoc.

Isn't this use case almost already solved?
compile '/assets/*' do
end

route '/assets/*' do
  return item.identifier.chop + '.' + item[:extension]
end

Is a static data source just a data source without metadata, and no config.yaml / index.html munging?

@ogier It is mostly solved in the way you describe, but in some cases it is useful to have two items where the extension is included in the identifier, e.g. /assets/fonts/blah.otf/ and /assets/fonts/blah.ttf. nanoc’s normal data sources strip file extensions, while a static data source doesn’t. I’m not sure what you men about config.yaml munging… but I guess index.html should not be handled in a special case either for static data sources.

Sorry, by config.yaml munging, I meant how xyz.yaml files are considered metadata for xyz.real_extension files. Which as you point out is a case of the general problem of having files with the same extension. That by itself is enough justification for a static data source.

@ogier I think that allowing metadata to be associated with static files is still useful so it’s not something I want to remove. Being able to have raw .yaml files as actual items is something I’d like to have as well, so this needs some more thought.


Fix minor charamake issues

Summary

Allow pressing escape to cancel at the final prompt (was accidentally changed)
Only restore the alias if it's been chosen (i.e. not after pressing F1)

It seems to work well. Thank you.


Add support for -pushimage flag.

Running trcplgtool -pushimage should push a docker image to a remote docker registry.  The registry configurations are already registered with TrcshAgent.

This has been completed


DEV is not defined

i have a<EMAIL_ADDRESS>project on OSX.
I have deleted the node_modules folder and after i have given the following commands:
npm i
react-native upgrade

but I get this error:
> .../node_modules/react-native/Libraries/react-native/react-native.js:15
> if (__DEV__) {
>     ^
>
> ReferenceError: __DEV__ is not defined

How do I fix? I can't run my project now...

Removing .babelrc seems to fix the problem.
My .babelrc:
{
  "presets": ["react-native"]
}

I use same config, but not meet the problem
Saro Vindigni<EMAIL_ADDRESS>01:40写道：

Removing .babelrc seems to fix the problem.
My .babelrc:
{
"presets": ["react-native"]
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/7814#issuecomment-222372790,
or mute the thread
https://github.com/notifications/unsubscribe/ABc9iqbur0KDLInLllb4AxHett2v2Xscks5qGc9wgaJpZM4IpCJF
.

You have<EMAIL_ADDRESS>Can you try to delete the directory node_modules?
And after give:
npm i && react-native upgrade

I had not entered 'babel-preset-react-native' in my package.json

@sarovin @xuchuandong 666 has different meanings in different cultures. It represents a thumbs up in China. Haha.

Thanks @alex1007...I'm better now 😌


Im getting error in installed requirement module using pip : pip install -r requirements.txt showing ERROR: Could not install packages due to an EnvironmentError

C:\Users\vasan>cd dictionary/pygetpapersdev

C:\Users\vasan\dictionary\pygetpapersdev>pip install -r requirements.txt
Collecting requests==2.20.0
  Using cached requests-2.20.0-py2.py3-none-any.whl (60 kB)
Collecting pandas_read_xml==0.0.9
  Using cached pandas_read_xml-0.0.9-py3-none-any.whl (6.2 kB)
Collecting pandas==1.2.0
  Using cached pandas-1.2.0-cp39-cp39-win_amd64.whl (9.3 MB)
Collecting lxml==4.6.2
  Using cached lxml-4.6.2-cp39-cp39-win_amd64.whl (3.5 MB)
Collecting chromedriver_autoinstaller==0.2.2
  Using cached chromedriver_autoinstaller-0.2.2-py3-none-any.whl (5.9 kB)
Collecting xmltodict==0.12.0
  Using cached xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB)
Collecting selenium==3.12.0
  Using cached selenium-3.12.0-py2.py3-none-any.whl (946 kB)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\python39\lib\site-packages (from requests==2.20.0->-r requirements.txt (line 1)) (1.24.3)
Collecting idna<2.8,>=2.5
  Using cached idna-2.7-py2.py3-none-any.whl (58 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\python39\lib\site-packages (from requests==2.20.0->-r requirements.txt (line 1)) (2020.12.5)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python39\lib\site-packages (from requests==2.20.0->-r requirements.txt (line 1)) (3.0.4)
Collecting distlib
  Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipfile36
  Using cached zipfile36-0.1.3-py3-none-any.whl (20 kB)
Collecting pyarrow
  Using cached pyarrow-3.0.0-cp39-cp39-win_amd64.whl (12.6 MB)
Collecting numpy>=1.16.5
  Using cached numpy-1.20.1-cp39-cp39-win_amd64.whl (13.7 MB)
Collecting pytz>=2017.3
  Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting python-dateutil>=2.7.3
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting six>=1.5
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: idna, requests, xmltodict, distlib, zipfile36, numpy, pyarrow, pytz, six, python-dateutil, pandas, pandas-read-xml, lxml, chromedriver-autoinstaller, selenium
  WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an EnvironmentError: [WinError 2] The system cannot find the file specified: 'c:\\python39\\Scripts\\f2py.exe' -> 'c:\\python39\\Scripts\\f2py.exe.deleteme'

WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\python39\python.exe -m pip install --upgrade pip' command.

Run command prompt as adminstrator or alternatively use pip install -r requirements.txt --user or pip3 install -r requirements.txt --user.


Zero copy reductions for MI300

Zero-copies the reduction buffer if the hip architecture is gfx94x, otherwise uses HOST_PINNED + DEVICE.

@tomstitt, is this ready?

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.


Feature Request: RPC Node Suggestions

Currently, the users have to change RPC nodes themselves. For example, in case of api.steemit.com being down, people have to know what node is working and where to change it.
That's too much for the average user. It would be better if the app, who is making the request, could check internally which nodes are working and then suggest a specific rpc node to be used.
Example - Curently:

Bob is playing SteemMonsters
Bob wants to transfer a card to Peter
Bob approves the transaction with keychain, but api.steemit.com is down.
Bob receives an error and is wondering what happened

Example - Then:

Bob is playing SteemMonsters
Bob wants to transfer a card to Peter
Bob approves the transaction with keychain, but api.steemit.com is down.
SteemMonsters knows that api.steemit.com is currently not functioning and is suggesting api.steemmonsters.com
Keychain is accepting the RPC node as its found in an array of approvedRPCNodes (to prevent apps from suggesting malicious RPC nodes)
Bob transferred the card successfully and wasn't even aware that api.steemit.com is down

I would say that points 3 and 4 can be merged. Let's give SteemMonsters the option to set the RPC node. No point trying api.steemit.com first.

I ll do my best to have this done tomorrow!


Subclassing AngularFirestore

I want to layer some functionality on top of angularfire, and subclassing AngularFirestore seems a promising way to do that. I am running into a problem with dependency injection, however. I am trying to do something like this:
class MyAngularFirestore extends AngularFirestore {
  public myMagic() { return 42; }
}

@Injectable()
class MyService {
  constructor(private myAngularFirestore: MyAngularFirestore) { }

  foo() { return this.myAngularFirestore.collection("my-items"); }
}

However, when I do this, at run time I get errors such as
TypeError: Class constructor MyAngularFirestore cannot be invoked without new

I sort of can see that Angular doesn't have all the information it needs to instantiate AngularFirestore. I tried adding the constructor parameters such as FirebaseAppConfig to my subclass and do a super with them, but obviously Angular doesn't know where to get those values to inject, and using @Inject() does not work either. I'm clearly over my head here. Is there some general principle about how to subclass injectable services that I missed? Or is this a bad idea to start with?
I am also confused by the following. Looking at the source code for AngularFirestore, I see
constructor(
    @Inject(FirebaseAppConfig) config:FirebaseOptions,
    @Optional() @Inject(FirebaseAppName) name:string,
    @Optional() @Inject(EnablePersistenceToken) shouldEnablePersistence: boolean,
    zone: NgZone
  ) {

whereas in the version brought into my node_modules, it shows as
export declare class AngularFirestore {
    constructor(app: FirebaseApp, shouldEnablePersistence: boolean);

Is this some kind of versioning issue, or what is going on? Why do I see two different signatures for the constructor?
Version info
Angular: 5.2.2
Firebase: 4.11.0
AngularFire: 5.0.0-rc.6

You're seeing a difference because there are changes on master that were not released in rc6. rc7 is now released.

Thank you. By the way, what are the prospects for moving past RC, and/or supporting Angular 6?

Angular 6 is coming, I'm aiming to get it shipped Monday.
GA was hung up on the Zone and Universal issues. Now that we're past those it's mostly documentation. We're going to continue our steady March after Google I/O but deast and I are very busy in preparation.


Return all intermediates in a custom struct

Currently pathfinder only returns the ELBO-maximizing distribution as well as the requested samples, but for debugging and visualization, it would be better to return a PathfinderResult object that contains also the trace, gradients, and all Laplace approximations.
multipathfinder could return a MultiPathfinderResult object that contains the vector of objects, all draws used for importance sampling, and the Pareto k parameter returned by PSIS.

Closed by #60


⚠ Bofrost.at has degraded performance

In 7741b3d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1716 ms

Resolved: Bofrost.at performance has improved in b33052f.


Add new emojis

Some emojis from the new Apple set are missing. For example, flags:
:pt:, :in:, :br:, :au:, :ca: and others
Full changelog here

Hi, since we currently depend on emoji-cheat-sheet for emoji, we will have to wait till they add them :)


Request all model checkpoins

Of the 3 models:
HighResNet
SRCNN Multi-Frame
SRCNN Single-Image
It appears only HighResNet checkpoint is uploaded in https://github.com/worldstrat/worldstrat/tree/main/pretrained_model
Could I request the remaining 2?
Thanks

Yes, absolutely, if we still have them! @ivanorsolic, do we?
On Thu, Feb 23, 2023, 14:29 Robin Cole @.***> wrote:

Of the 3 models:
HighResNet
SRCNN Multi-Frame
SRCNN Single-Image
It appears only HighResNet checkpoint is uploaded in
https://github.com/worldstrat/worldstrat/tree/main/pretrained_model
Could I request the remaining 2?
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/worldstrat/worldstrat/issues/11, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFBERL5ORBY6MWDSYIPFIDWY5X5HANCNFSM6AAAAAAVFWVM7I
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

We sure do, I've attached them below.
Background: we've got three pre-trained models for HighResNet, SRCNN MF, SRCNN SI (triplets with different seeds).
There is no significant variance between them. The HighResNet model uploaded is just the first triplet/seed.
Likewise, the now attached SRCNN Multi-Frame and SRCNN Single-Image models are the first triplets as well.
SRCNN Single-Image.zip
SRCNN Multi-Frame.zip

Feel free to reopen if you need anything else related to this!

Thank you @ivanorsolic and @jucor

@ivanorsolic just to comment that if these were included in the model dir it would be a nice convenience for people git cloning this repo

I agree, that's a good point, I forgot to mention I'll was planning to
upload them to the repo this weekend.
I was in a rush yesterday, just wanted to get those checkpoints to you and
forgot.
Thank you very much for the ping, very much appreciated.
On Fri, Feb 24, 2023, 11:27 Robin Cole @.***> wrote:

@ivanorsolic https://github.com/ivanorsolic just to comment that if
these were included in the model dir it would be a nice convenience for
people git cloning this repo
—
Reply to this email directly, view it on GitHub
https://github.com/worldstrat/worldstrat/issues/11#issuecomment-1443432370,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPNKYSNXS6D5U2WRMQATADWZCEIRANCNFSM6AAAAAAVFWVM7I
.
You are receiving this because you were mentioned.Message ID:
@.***>


Sorting of results lost on moving to a subsequent page

Rich observed nexpected results when sorting by year across multiple pages. Initially sorts by year with oldest first, but on page 2 it then sorts by year with newest first.
I would expect the sort to remain consistent across multiple pages.
Vino and Pat confirmed that this was  not just on ipads/mobile
Denise to test with the various types of sort

Ready for testing in test3

Tested, works perfectly.  Thanks, Pat


Fix incompatible Python packages in mlx-api build

Pinning/downgrading the following dependencies:
* elyra-server<3.4.0            # elyra-server>=3.4.0 requires minio>7.0.0 which breaks mlx-api code
* python-lsp-server[all]<1.3.0  # from elyra-server, 1.3.0 requires autopep8>=1.6.0 but elyra-server==3.3.0 requires autopep8<1.5.6
* black==21.12b0                # from elyra-server, 22.1.0 requires click>=8.0.0 which breaks kfp 1.7.1 and Flask 1.1.4
* Flask>=1.1.4,<2.0.0           # Flask>2.0.0 requires Werkzeug>=2.0, but connexion[swagger-ui]==2.9.0 requires werkzeug<2.0,>=1.0

Resolves #299

@Tomcli @yhwang -- when you get a minute, could you /lgtm this PR? We need to get our API build fixed.

/lgtm

I tested this in a new mlx-api image on my local KIND deployment, catalog operations, code gen, running at least one of each asset pipelines


Feature Request: service start on boot only if display is on

hey andrew!
I love what you have done with raspi2raspi. its an awesome way to get the displays mirrored.
I was wondering if I could suggest another feature, or maybe you can point me to the source code where I could implement such a thing for you.
Id like to get full 1080p through my HDMI if my RPI display is off. it appears that on boot, the service still starts and replicates nothing to the HDMI out since my RPI desplay was off.
is there a way we can get the service to check for the smaller screen before starting? maybelooking to see if source 0 is up before replicating to dest 5?
like, if display width = 800 and display height = 480 then start, else dont send out HDMI and just let the raspian OS mount and drive the IO?
what might also be nice is to have a "mirror" mode button you could turn on and off the service. Those business laptops usually have some sort of function key that lets to toggle output from mirror to second display or blank. Its usually for projector output.

Hi,
I will try and get some time to have a look.
Andrew

I added sh script that is in the middle of service and daemon, it does a
fbset -s and checks resolution to make the decision.
Works well but feels like a hack. Let me know if you wanna see the code.
Jules
On Jun 9, 2017 17:24, "Andrew Duncan"<EMAIL_ADDRESS>wrote:

Hi,
I will try and get some time to have a look.
Andrew
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndrewFromMelbourne/raspi2raspi/issues/2#issuecomment-307503525,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABU8dOayu1tKnfzQZkHRzqOqSH3B00tAks5sCbgZgaJpZM4N1tu4
.

What does "the RPi display is off" mean? (Assuming that the RPi display here is the official 7" Touch LCD) Do you start your RPi with the 7" Touch LCD powered off?

I've got an inline toggle switch on the 5v line between pi GPIO and 5v in
pin on display. When off, the pi boots with HDMI and I use my tablet with
the external monitor only. I also do this to save some battery of I'm just
using the pi has a headless ssh client.
I'd like to do it with soft switch, but I don't think the pi hardware will
do that in on the fly?
On Jun 11, 2017 02:42, "TheDiveO"<EMAIL_ADDRESS>wrote:
What does "the RPi display is off" mean? (Assuming that the RPi display
here is the official 7" Touch LCD) Do you start your RPi with the 7" Touch
LCD powered off?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndrewFromMelbourne/raspi2raspi/issues/2#issuecomment-307610231,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABU8dGW1kok4xZpN6jt9X_M_JppX-2gHks5sC4xvgaJpZM4N1tu4
.


Install prefix

This new version of rustup no longer supports an install prefix.  I need that for my automated builds in snappy.

rustup installs to two locations, represented by CARGO_HOME and RUSTUP_HOME, and that cannot be represented with a single prefix. To change where rustup installs, set both these variables while running rustup-init. Note though that these two environment variables must remain set during execution of the Rust toolchain.
I believe this is yet-undocumented, and there may be better interfaces.
cc https://github.com/rust-lang-nursery/rustup.rs/issues/994

@brson thanks! I'll give this a shot soon. I think that'll solve my issue

BTW, snapcraft in Debian still remains broken by this change. Since that's a built-in plugin, I don't have a way to fix it.
Given that Debian moves at glacial pace, this is going to remain defunct for a long time. It'll be best if Rustup re-added --prefix, --disable-sudo and --save, at least as no-ops.


[seamlisten] download button

Add a download button so that the user can download the extracted segment locally.
[Internal issue: 38]

I can work on this one @Celebio

So we want to be able to download each segment separately through some sort of download button when hovering over each segment separately.


'Alpine WSL Support' hyperlink on Windows 10's  Microsoft Store app page is not useful.

That button only has an email address behind it. In fact, it is there because Microsoft requested it in order to approve the app.
But until now I only received scam, phishing, and spam emails on that address...


Add input/output support for Niftii file format

Done. Can now work with .nii files just as well as .mat files.


special characters while typing for inline code

Hi
How can i use special characters, for inline (code, bold and ...) while typing?

Implemented in 0.5.4
See the changelog of that version.


Recovery from private key

[ ] option to export private key
[ ] option to import private key

Doesn't make sense when using hd wallet scheme. Using recovery from seed words for now.


MAINT: Upgrade Docker to FSL 6

Local test passed, so let's see how this goes.

For reference, here are a few reports of a subject using flirt -bbr
current master (5929041): https://3428-53175327-gh.circle-artifacts.com/0/tmp/ds210/derivatives/fmriprep/sub-02.html
fsl6: https://3427-53175327-gh.circle-artifacts.com/0/tmp/ds210/derivatives/fmriprep/sub-02.html
I don't think this is as controversial as initially believed.

The problem is FSL bet - it easily gets stuck with long paths if I recall correctly. I thought there was an open issue on nipype, but I can't seem to find it. Was the problem perhaps addressed?

does d3a4d33 address the name concerns, or were you referring to something different?

@oesteban Just a bump on this. Should be a very quick yes/no.

@mgxd Can you open PRs (they won't need to be merged) in niworkflows, sdcflows and smriprep? Let's give their CIs a chance to find errors, too.

Okay, I think we've tested with all dependencies...


Repositorty ownership

Hi @aenario,
This new ODM is really cool. But it doesn't appear in the Cozy repository list.  Could you give the repository ownership to the Cozy organisation?

done

Thx!


Add support for stacked ensembles in prediction explanations

Passing a stacked ensemble pipeline into our prediction explanations function will result in a stack trace
from evalml.demos import load_fraud
from evalml.pipelines import BinaryClassificationPipeline, StackedEnsembleClassifier
from evalml.pipelines.utils import make_pipeline_from_components
from evalml.model_understanding import explain_predictions

X, y = load_fraud(1000)

class RFPipeline(BinaryClassificationPipeline):
    component_graph = ["Imputer", "DateTime Featurization Component", "One Hot Encoder", "Random Forest Classifier"]

class LogisticPipeline(BinaryClassificationPipeline):
    component_graph = ["Imputer", "DateTime Featurization Component", "One Hot Encoder", "Logistic Regression Classifier"]

class LgbmPipeline(BinaryClassificationPipeline):
    component_graph = ["Imputer", "DateTime Featurization Component", "One Hot Encoder", "LightGBM Classifier"]

p1 = RFPipeline({})
p2 = LogisticPipeline({})
p3 = LgbmPipeline({})

ensemble_pipeline = make_pipeline_from_components([StackedEnsembleClassifier([p1, p2, p3])],
                                                  problem_type="binary",
                                                  random_seed=0,
                                                  custom_name="Ensemble Pipeline")

ensemble_pipeline.fit(X, y)

explain_predictions(ensemble_pipeline, X, y, indices_to_explain=[100, 150])

-------------------------------------------------------------------
TypeError                         Traceback (most recent call last)
<ipython-input-7-6b4265438f4b> in <module>
----> 1 explain_predictions(ensemble_pipeline, X, y, indices_to_explain=[100, 150])

~/sources/evalml/evalml/model_understanding/prediction_explanations/explainers.py in explain_predictions(pipeline, input_features, y, indices_to_explain, top_k_features, include_shap_values, output_format)
    101                                              output_format=output_format, top_k_features=top_k_features,
    102                                              include_shap_values=include_shap_values)
--> 103     return report_creator(data)
    104
    105

~/sources/evalml/evalml/model_understanding/prediction_explanations/_user_interface.py in make_text(self, data)
    476             else:
    477                 report.extend([""])
--> 478             report.extend(self.table_maker.make_text(index, data.pipeline, data.pipeline_features))
    479         return "".join(report)
    480

~/sources/evalml/evalml/model_understanding/prediction_explanations/_user_interface.py in make_text(self, index, pipeline, pipeline_features)
    411             y (pd.Series):
    412         """
--> 413         table = _make_single_prediction_shap_table(pipeline, pipeline_features,
    414                                                    index_to_explain=index,
    415                                                    top_k=self.top_k_features,

~/sources/evalml/evalml/model_understanding/prediction_explanations/_user_interface.py in _make_single_prediction_shap_table(pipeline, pipeline_features, index_to_explain, top_k, include_shap_values, output_format)
    226     if pipeline_features_row.isna().any(axis=None):
    227         raise ValueError(f"Requested index ({index_to_explain}) produces NaN in features.")
--> 228     shap_values = _compute_shap_values(pipeline, pipeline_features_row, training_data=pipeline_features.dropna(axis=0))
    229     normalized_shap_values = _normalize_shap_values(shap_values)
    230

~/sources/evalml/evalml/model_understanding/prediction_explanations/_algorithms.py in _compute_shap_values(pipeline, features, training_data)
     54     # Catboost can naturally handle string-encoded categorical features so we don't need to convert to numeric.
     55     if estimator.model_family != ModelFamily.CATBOOST:
---> 56         features = check_array(features.values)
     57
     58     if estimator.model_family.is_tree_estimator():

~/miniconda3/envs/evalml/lib/python3.8/site-packages/sklearn/utils/validation.py in inner_f(*args, **kwargs)
     61             extra_args = len(args) - len(all_args)
     62             if extra_args <= 0:
---> 63                 return f(*args, **kwargs)
     64
     65             # extra_args > 0

~/miniconda3/envs/evalml/lib/python3.8/site-packages/sklearn/utils/validation.py in check_array(array, accept_sparse, accept_large_sparse, dtype, order, copy, force_all_finite, ensure_2d, allow_nd, ensure_min_samples, ensure_min_features, estimator)
    614                     array = array.astype(dtype, casting="unsafe", copy=False)
    615                 else:
--> 616                     array = np.asarray(array, order=order, dtype=dtype)
    617             except ComplexWarning as complex_warning:
    618                 raise ValueError("Complex data not supported\n"

~/miniconda3/envs/evalml/lib/python3.8/site-packages/numpy/core/_asarray.py in asarray(a, dtype, order)
     81
     82     """
---> 83     return array(a, dtype, copy=False, order=order)
     84
     85

TypeError: float() argument must be a string or a number, not 'Timestamp'

This is trickier than just getting rid of the check_array calls in _compute_shap_values.
Shap will convert the data you pass it into it's own DenseData format, which is basically a numpy array.
Since the StackedEnsembleClassifier component has pipelines inside, we need the dataframe/datatable representation for the internal pipeline components to work properly.
AFAIK, shap can really only handle sklearn/catboost/lgbm/xgboost estimators and numpy arrays. When we first designed this, we got around this limitation by extracting the features for the final estimator and passing the _component_obj (not the evalml component) to the shap algorithm.
However, this doesn't really work for our ensembles.

@freddyaboulton I think we should simply raise a known exception when a user tries to generate prediction explanations for an ensemble. Does that sound good to you?

@dsherry That sounds good to me!
I think it would be cool if we could eventually do prediction explanations for ensembles but it looks like that's a heavy lift given what we can do with shap at the moment. I think that might be a good project for a future blitz 😄  hehe


[v7] Propagate secretness from labels to pulumiLabels and effectiveLabels

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
labels can contain secrets. If a label (or the labels block) is a secret, then it will be encrypted in state. We need to make sure that we see the same behavior when propagated to effectiveLabels and pulumiLabels.
Affected area/feature

We have hedged to by making pulumiLabels and effectiveLabels secret: https://github.com/pulumi/pulumi-gcp/commit/ab4ff6e3db073ce78e0f12a4a0d1bead539b6bce by @guineveresaenger.
I'm leaving this issue open for finer grained secrets when https://github.com/pulumi/pulumi-terraform-bridge/issues/1506 is implemented.


Docs: Add examples for point evaluation and cross sections

Add example scripts and pages for

Field evaluation at arbitrary points
Cross-section plotting

Along the way, add a set of points on the TERRA lateral grid as
data in examples/data/example_mesh_points.txt.  These points
are useful in constructing synthetic TerraModels which have
the same structure as those actually written by TERRA.

Test failure is one caused by a bad test for TerraModel.plot_section failing randomly, which will be fixed in another PR.

Test failures resolved by #114.


[WIP] requestBetter() and requestLikeBrowser() functions

See https://github.com/apifytech/apify-js/issues/255

I think that we can also give an option to use the Mozzila enhanced by google bot UA ("Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)). Most sites will probably allow to index public content with Google.

It can be an option, but I'm not sure how much it will help. There's an advanced Google bot verification mechanism that might be used by many websites - https://support.google.com/webmasters/answer/80553?hl=en

What do you think about this package https://www.npmjs.com/package/iltorb ? I need something that supports stream decompression for brotli. I think that the stream implementation should be faster than using the promise one.

@jancurn There's are also other methods to detect the use of the browser in Headless mode.
Despite these tips described in this article, It seems possible to detect Chrome Headless.
For example these 2 sites detect & block Chrome Headless. :
https://programmetv.ouest-france.fr/1
https://www.orexad.com/collier-bande-pleine-largeur-9-mm-w1/p-0445-8013441
To do this, he uses the DataDome Real-Time Bot Protection service.
I have no idea how he proceeds to detect Chrome Headless.

@LeMoussel Thanks for the tip! However, in this PR, the requests are made using HTTP client that pretends to be a browser by a request headers.

process

According to the _suppressTunnelAgentAssertError(). Should we move it somewhere else, so it could be shared by both parts?

According to the _suppressTunnelAgentAssertError(). Should we move it somewhere else, so it could be shared by both parts?

@petrpatek
I think that it should be integrated directly into the requestExtended because it actually fixes an existing issue with the request package.

According to the _suppressTunnelAgentAssertError(). Should we move it somewhere else, so it could be shared by both parts?

@petrpatek
I think that it should be integrated directly into the requestExtended because it actually fixes an existing issue with the request package.

@mnmkng Should I attach/umount the listener every time the request is made? or just initialize it once and let it be?


Add BLAS and LAPACK dependencies to host

This PR adds libblas and liblapack dependencies to host section.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

It would seem like we need something to test after adding these, or did you want to add BLAS/LAPACK as run dependencies, @twiecki?

Oops, just saw the comment. Yes, I think aesara will depend on this at run-time too for compilation.

I'm not sure what the difference is between host and run are and what we need here.


signature verification fails if one of the xxproperties fields are missing in request

adding logic in sign tx bytes of messages with list to resolve


More lemmas in advance of group theory migration

After this one I will be moving the main files into theories/group_theory.

I would like to clean up the treatment of "disjoint". We have three ways of saying that two sets are disjoint. There is one here:
https://github.com/leanprover/lean/blob/master/library/data/finset/basic.lean#L486-L521
Now there is the new disjoint_sets, and there is simply s₁ ∩ s₂ = ∅. It is confusing to have so many.
Both disjoint_sets and s₁ ∩ s₂ = ∅ are useful. (The second is clearly decidable, so we can do proofs by cases, and it is also good for calculation.)
I propose we:

get rid of the first
rename disjoint_sets to disjoint.
for uniformity, generally prefer s₁ ∩ s₂ = ∅ in the statement of theorems (it is short, decidable, and clear)
use lemmas disjoint_of_inter_eq_empty and inter_eq_empty_of_disjoint to mediate between the two formulations.

We should use the same convention for set.
@leodemoura @htzh What do you think?

@avigad disjoint_sets describes a set of sets that are pairwise disjoint. I don't think it is an interchangeable concept with disjoint. It does use the empty intersection definition of disjoint, as the comment in finset/basic makes clear that the quot definition of disjoint is for internal use.

The definition of disjoint_sets and the lemma  disjoint_sets_filter_of_disjoint_sets should be moved out of partition namespace and into the finset namespace as they are more general concepts than partition.

My apologies -- I scanned the files too quickly. Yes, I agree, it should be moved to the finset namespace. I'll be happy to do it when I get back, but, as always, feel free to do it if you prefer.


Add the option to add custom themes

Unlike the platform page, the themes page doesn't have the option to change its index.json uri. This forbiddens homebrew themes. Thanks.

People already made wallpapers themes via index JSON. Just not available in offline form for now.


stack build complains

I ran the new script, it worked, then did stack build, and got terminalsession.txt. Since the top fell off the scrollback, I piped stderr into a log, but since something was already there, I deleted that and did it again, and then it turned out the contents were different, so I'm pasting both. log.txt Also here's the logs.zip from .stack-work, there's also at least some warnings in there.
Edit: Oh hey, opening it in sublime rather than notepad inserts line breaks at enough points to make it readable! Up next, my stream of research as a logfile for you, Nothing object-level helpful I think. Hmm, missing a system package. I did the pacman install step from your build guide already, I think, before I tried the nonworking .sh, but lets do it again and see what happens. msys says "bash: pacman: command not found". Huh that might be something to do with msys, after installing, saying something with links or something like that changing (and indeed the start menu msys starter thing doesnt work). Worked before I did the .sh, hmm. Lets google "bash: pacman: command not found" windows (some other fruitless searches omitted). Aha, "add C:\msys64\usr\bin to path". Restart msys and works. msyslog.txt. stack build still fails the same way.
Edit2: This IRC discussion makes it sound like those pacman installs should be doable by the stack build file? Also is this the correct channel for this problem? Cause I just noticed we're supposed to send build problems per email... ehh this is surely fine.

Hi Gurkenglas,
Looks like the error is probably due to the failed recursive checkout you had last time? It's failing to find m_pd.h which should be in pd-hs/libpd/pure-data/src
Yes, this is perfectly fine for issues! I'll update the README : )

(so running git pull && git submodule update --init --recursive in pd-hs should hopefully get it going)

C:\Users\Gurkenglas\Documents\GitHub\rumpus\pd-hs>git pull && git submodule update --init --recursive 2> log.txt
Already up-to-date.
C:\Users\Gurkenglas\Documents\GitHub\rumpus\pd-hs>
Cloning into 'pure-data'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:lukexi/pure-data' into submodule path 'pure-data' failed
Failed to recurse into submodule path 'libpd'

OK, switched my libpd repo to https too...
(although now that I think of it I've cloned all this on other computers than my own without trouble before, so I'm not sure why you're having public key issues - do you have your public keys set up with github?)

C:\Users\Gurkenglas\Documents\GitHub\rumpus\pd-hs>git pull && git submodule update --init --recursive
Already up-to-date.
Cloning into 'pure-data'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:lukexi/pure-data' into submodule path 'pure-data' failed
Failed to recurse into submodule path 'libpd'

Maybe you forgot to push?

I dont think I explicitly set up github "keys" at any point.
Here's some more public-key error throwers when I try doing the .sh thing into a fresh folder:
`Cloning into 'gl-pal'...
remote: Counting objects: 1057, done.
remote: Total 1057 (delta 0), reused 0 (delta 0), pack-reused 1057
Receiving objects: 100% (1057/1057), 134.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (533/533), done.
Checking connectivity... done.
Cloning into 'bullet-mini'...
remote: Counting objects: 748, done.
remote: Total 748 (delta 0), reused 0 (delta 0), pack-reused 748
Receiving objects: 100% (748/748), 480.37 KiB | 353.00 KiB/s, done.
Resolving deltas: 100% (420/420), done.
Checking connectivity... done.
Submodule 'bullet3' (git@github.com:bulletphysics/bullet3.git) registered for pa                                                                                th 'bullet3'
Cloning into 'bullet3'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:bulletphysics/bullet3.git' into submodule path 'bullet3                                                                                ' failed
Cloning into 'vr-pal'...
remote: Counting objects: 896, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 896 (delta 0), reused 0 (delta 0), pack-reused 883
Receiving objects: 100% (896/896), 146.68 KiB | 0 bytes/s, done.
Resolving deltas: 100% (424/424), done.
Checking connectivity... done.
Cloning into 'glfw-pal'...
remote: Counting objects: 318, done.
0), reused 0 (delta 0), pack-reused 318
Receiving objects: 100% (318/318), 28.84 KiB | 0 bytes/s, done.
Resolving deltas: 100% (90/90), done.
Checking connectivity... done.
Cloning into 'halive'...
remote: Counting objects: 622, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 622 (delta 0), reused 0 (delta 0), pack-reused 617eceiving objeK
Receiving objects: 100% (622/622), 127.65 KiB | 0 bytes/s, done.
Resolving deltas: 100% (356/356), done.
Checking connectivity... done.
Cloning into 'animation-pal'...
remote: Counting objects: 154, done.
remote: Compressing objects: 100% (64/64), done.
remote: TotalRec 154eiving ob (delta 76), reused 154 jects: (delta  51% (776), p                                                                                ack-reused9/15 0
Receiving objects: 100% (154/154), 23.12 KiB | 0 bytes/s, done.
Resolving deltas: 100% (76/76), done.
Checking connectivity... done.
Cloning into 'linear-extra'...
remote: Counting objects: 183, done.
), reused 0 (delta 0), pack-reused 183
Receiving objects: 100% (183/183), 17.86 KiB | 0 bytes/s, done.
Resolving deltas: 100% (81/81), done.
Checking connectivity... done.
Cloning into 'lens-extra'...
remote: Counting objects: 40, done.
remote: Total 40 (delta 0), reused 0 (delta 0), pack-reused 40
Unpacking objects: 100% (40/40), done.
Checking connectivity... done.
Cloning into 'openvr-hs'...
remote: Counting objects: 562, done.
remote: Total 562 (delta 0), reused 0 (delta 0), pack-reused 562
Receiving objects: 100% (562/562), 256.23 KiB | 332.00 KiB/s, done.
Resolving deltas: 100% (251/251), done.
Checking connectivity... done.
Submodule 'openvr' (git@github.com:ValveSoftware/openvr.git) registered for path 'openvr'
Cloning into 'openvr'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:ValveSoftware/openvr.git' into submodule path 'openvr' failed
Cloning into 'pd-hs'...
remote: Counting objects: 568, done.
remote: Total 568 (delta 0), reused 0 (delta 0), pack-reused 568
Receiving objects: 100% (568/568), 1.68 MiB | 421.00 KiB/s, done.
Resolving deltas: 100% (304/304), done.
Checking connectivity... done.
Submodule 'libpd' (https://github.com/lukexi/libpd) registered for path 'libpd'
Cloning into 'libpd'...
remote: Counting objects: 5028, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 5028 (delta 0), reused 0 (delta 0), pack-reused 5025
Receiving objects: 100% (5028/5028), 7.51 MiB | 430.00 KiB/s, done.
Resolving deltas: 100% (2457/2457), done.
Checking connectivity... done.
Submodule path 'libpd': checked out '04fcd43f9b5323daca19dd97cf4c02a9009538bc'
Submodule 'jni/opensl_stream' (git://github.com/nettoyeurny/opensl_stream.git) registered for path 'jni/opensl_stream'
Submodule 'pure-data' (git@github.com:lukexi/pure-data) registered for path 'pure-data'
Cloning into 'jni/opensl_stream'...
remote: Counting objects: 51, done.
remote: Total 51 (delta 0), reused 0 (delta 0), pack-reused 51
Receiving objects: 100% (51/51), 12.16 KiB | 0 bytes/s, done.
Resolving deltas: 100% (28/28), done.
Checking connectivity... done.
Submodule path 'libpd/jni/opensl_stream': checked out '5f3930698569754c519f5b3e4cc7691223bc99a8'
Cloning into 'pure-data'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:lukexi/pure-data' into submodule path 'pure-data' failed
Failed to recurse into submodule path 'libpd'
Cloning into 'bindings-GLFW'...
remote: Counting objects: 517, done.
remote: Total 517 (delta 0), reused 0 (delta 0), pack-Receireuvised 517ng
Receiving objects: 100% (517/517), 740.25 KiB | 403.00 KiB/s, done.
Resolving deltas: 100% (285/285), done.
Checking connectivity... done.
Cloning into 'freetype-gl-mini'...
remote: Counting objects: 934, done.
remote: Total 934 (delta 0), reused 0 (delta 0), pack-reused 934
Receiving objects: 100% (934/934), 149.26 KiB | 0 bytes/s, done.
Resolving deltas: 100% (504/504), done.
Checking connectivity... done.
Submodule 'freetype-gl' (https://github.com/rougier/freetype-gl) registered for path 'freetype-gl'
Cloning into 'freetype-gl'...
remote: Counting objects: 2651, done.
Receiving objects:  19% (526/2651), 3.44 MiB | 432.00 KiB/s
`
The end got chopped off because the window closes when the script is done.

I updated more of the repos - try a git submodule sync to have them pull in the new URLs.
And this should fix the problem overall:
https://help.github.com/articles/generating-an-ssh-key/

I switched the rumpus repo to submodules which should hopefully make life easier down the road!
git submodule update --init --recursive should pull them in.

I realized I can't push to GitHub with them set as HTTPS, so you'll have to do the SSH key thing : )

C:\Users\Gurkenglas\Documents\GitHub\rumpus>git clone --recursive https://github.com/lukexi/rumpus
Cloning into 'rumpus'...
remote: Counting objects: 8645, done.
remote: Compressing objects: 100% (60/60), done.
Receiving objects: 100% (8645/8645), 8.99 MiB | 356.00 KiB/s, done.5eceiving objects: 100% (8645/8645), 8.82 MiB | 359.00 KiB/s

Resolving deltas: 100% (4834/4834), done.
Checking connectivity... done.
Checking out files: 100% (1724/1724), done.
Submodule 'submodules/animation-pal' (git@github.com:lukexi/animation-pal) registered for path 'submodules/animation-pal'
Submodule 'submodules/bindings-GLFW' (git@github.com:lukexi/bindings-GLFW.git) registered for path 'submodules/bindings-GLFW'
Submodule 'submodules/bullet-mini' (git@github.com:lukexi/bullet-mini.git) registered for path 'submodules/bullet-mini'
Submodule 'submodules/extensible-ecs' (git@github.com:lukexi/extensible-ecs.git) registered for path 'submodules/extensible-ecs'
Submodule 'submodules/freetype-gl-mini' (git@github.com:lukexi/freetype-gl-mini.git) registered for path 'submodules/freetype-gl-mini'
Submodule 'submodules/gl-pal' (git@github.com:lukexi/gl-pal.git) registered for path 'submodules/gl-pal'
Submodule 'submodules/glfw-pal' (git@github.com:lukexi/glfw-pal.git) registered for path 'submodules/glfw-pal'
Submodule 'submodules/halive' (git@github.com:lukexi/halive.git) registered for path 'submodules/halive'
Submodule 'submodules/lens-extra' (git@github.com:lukexi/lens-extra.git) registered for path 'submodules/lens-extra'
Submodule 'submodules/linear-extra' (git@github.com:lukexi/linear-extra.git) registered for path 'submodules/linear-extra'
Submodule 'submodules/openvr-hs' (git@github.com:lukexi/openvr-hs.git) registered for path 'submodules/openvr-hs'
Submodule 'submodules/pd-hs' (git@github.com:lukexi/pd-hs.git) registered for path 'submodules/pd-hs'
Submodule 'submodules/text-gl' (git@github.com:lukexi/text-gl.git) registered for path 'submodules/text-gl'
Submodule 'submodules/udp-pal' (git@github.com:lukexi/udp-pal.git) registered for path 'submodules/udp-pal'
Submodule 'submodules/vr-pal' (git@github.com:lukexi/vr-pal.git) registered for path 'submodules/vr-pal'
Cloning into 'submodules/animation-pal'...
Enter passphrase for key '/c/Users/Gurkenglas/.ssh/id_rsa':
Received disconnect from <IP_ADDRESS>: 11: Bye Bye
Disconnected from <IP_ADDRESS>
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:lukexi/animation-pal' into submodule path 'submodules/animation-pal' failed

<.<
I've heard the .gitconfig could cause problems, so here's mine
[gui]
[gui]
  recentrepo = C:/Users/Gurkenglas/Desktop/dev/git
  recentrepo = C:/Users/Gurkenglas/workspace_luna/uni_WS2014_KS2
[user]
  name = Gurkenglas
  email =<EMAIL_ADDRESS>[filter "lfs"]
  clean = git-lfs clean -- %f
  smudge = git-lfs smudge -- %f
  required = true

You can use ssh-agent so you only have to enter it when you reboot your computer : )
https://help.github.com/articles/working-with-ssh-key-passphrases/#auto-launching-ssh-agent-on-msysgit

stack build works now.
(
Rumpus requires GHC 8. If you have trouble running Rumpus after building, please use this preview build of GHC 8.0.2 which resolves a linker issue. https://github.com/lukexi/ghc/releases/download/<IP_ADDRESS>/ghc-8.0.1-x86_64-unknown-mingw32.tar.xz"

How do I make stack use that? Nobody answered on the IRC when I asked.
)

Yahoo!!
Hm according to the stack manual, it will use the system GHC as long as it is in the PATH (i.e. which ghc gives /usr/local/ghc/bin/ghc - which I achieve by just copying ghc there manually and adding /usr/local/ghc to my .profile as documented in https://gist.github.com/lukexi/e634067f1d7e3a629988
The manual claims it defaults to true, but you can try adding to $APPDATA/stack/config.yaml
system-ghc: true
(via https://github.com/commercialhaskell/stack/blob/master/doc/yaml_configuration.md)
if the above still doesn't work!

msys2 session:
Gurkenglas@Gurkenglas-PC  /usr/bin
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.0.1

Gurkenglas@Gurkenglas-PC  /usr/bin
$ stack exec -- ghc --version
Run from outside a project, using implicit global project config
The Glorious Glasgow Haskell Compilation System, version 7.10.3

Gurkenglas@Gurkenglas-PC  /usr/bin
$ stack exec -- ghc --version
Run from outside a project, using implicit global project config
The Glorious Glasgow Haskell Compilation System, version 7.10.3

Gurkenglas@Gurkenglas-PC  /usr/bin
$

global config.yaml after the first stack exec -- ghc --version:
extra-lib-dirs: ["D:\\Haskell"]

templates:
  params:
    author-email<EMAIL_ADDRESS>    author-name: Gurkenglas
    category: library
    copyright: (c) 2016-2016 Gurkenglas
    github-username: Gurkenglas

system-ghc: true

The key line is
Run from outside a project, using implicit global project config
which is what you get when you run stack from outside of a stack project
(the global project config is in $APPDATA/stack/global-project/stack.yaml)
If you run it from within the rumpus directory you should get a different result since it will use rumpus's stack.yaml instead which specifies GHC 8.

Yea, that gives 8.0.1. So what do I do now? That error's still there. Copying the config.yaml into the rumpus folder so it'll also count for that doesn't even make it build anew, and I didn't expect it to because that config looks global and you don't have it in the repository.

Oh 8.0.1 is right! The version I compiled still reports as 8.0.1 since it is just that with one of the patches from 8.0.2. Is that the error you mean?

No, I mean at the end:
$ stack exec rumpus
C:/Users/Gurkenglas/AppData/Roaming/local/bin/stack.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

(The end is transposed to the right in the lpaste.)

I missed that sorry! Hmm that is a new one... usually library errors occur during stack build. Did you run scripts/copyLibsWin.sh? You can also try stack clean && stack build, maybe something about switching out the submodules confused things?
The list of needed libraries is:
libfreetype-6.dll
libpd.dll
libwinpthread-1.dll
OpenAL32.dll
openvr_api.dll
libstdc++-6.dll
libbz2-1.dll
libharfbuzz-0.dll
zlib1.dll
libpng16-16.dll
libgcc_s_seh-1.dll
libglib-2.0-0.dll
libintl-8.dll
libiconv-2.dll
/mingw64/x86_64-w64-mingw32/lib/libmingw32.a
/mingw64/x86_64-w64-mingw32/lib/libmingwex.a

(which I have to copy in scripts/rumpus-release.sh to get a standalone executable)
You could also try running that script, and then double-clicking the rumpus.exe in .release from Windows to see if it gives you more information as to what's missing.

I did run scripts/copyLibsWin.sh. (Retried now too.) stack clean && stack build works, but doesn't change anything. Running that sh:
logrelease.txt
(Want a TeamViewer session?)

Hopping on IRC now : )

Noting for posterity - we figured out that this was due to a bad MSYS2 installation, and fixed by reinstalling it according to https://gist.github.com/lukexi/e634067f1d7e3a629988


Skip keyCode check in is() when keyCode does not exist on event object

In some scenarios (e.g. Ctrl-Click) in Firefox and IE the event object does not have the keyCode property. Therefore the loop always returns false when comparing properties with the jwertycode object.
This check skips the comparison if the property is missing on the event object.

Hey @brettpostin thanks for the PR! Could you explain what this solves, with code examples please?


test: add test to pkg/configurator

Signed-off-by: Allen Leigh<EMAIL_ADDRESS>
Description:
Add test case to pkg/configurator.
Resolves issue #3407 .

Affected area:

Functional Area

New Functionality
[ ]

Documentation
[ ]

Install
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Ingress
[ ]

Egress
[ ]

Networking
[ ]

Observability
[ ]

SMI Policy
[ ]

Sidecar Injection
[ ]

Security
[ ]

Upgrade
[ ]

Tests
✅

CI System
[ ]

Demo
[ ]

Performance
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?

No

Is this a breaking change?

No

Codecov Report

Merging #3506 (e80ddee) into main (fa1a084) will increase coverage by 0.50%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3506      +/-   ##
==========================================
+ Coverage   65.99%   66.49%   +0.50%
==========================================
  Files         169      169
  Lines        7895     8046     +151
==========================================
+ Hits         5210     5350     +140
- Misses       2654     2666      +12
+ Partials       31       30       -1

Flag
Coverage Δ

unittests
66.49% <ø> (+0.50%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/injector/envoy_config.go
89.28% <0.00%> (-6.05%)
:arrow_down:

pkg/injector/envoy_config_health_probes.go
92.62% <0.00%> (-3.09%)
:arrow_down:

pkg/envoy/ads/stream.go
4.43% <0.00%> (ø)

pkg/endpoint/providers/kube/client.go
79.20% <0.00%> (+0.99%)
:arrow_up:

pkg/kubernetes/announcement_handlers.go
77.14% <0.00%> (+5.71%)
:arrow_up:

pkg/envoy/cds/response.go
89.13% <0.00%> (+28.26%)
:arrow_up:

Continue to review full report at Codecov.

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


Refactored of making permissions from scheme entry

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report

Merging #263 (49f3469) into master (5ff3cad) will decrease coverage by 41.64%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master     #263       +/-   ##
===========================================
- Coverage   56.90%   15.26%   -41.65%
===========================================
  Files         132      129        -3
  Lines       15294    15188      -106
===========================================
- Hits         8703     2318     -6385
- Misses       6043    12586     +6543
+ Partials      548      284      -264

Flag
Coverage Δ

1.14.x
?

1.15.x
?

1.16.x
?

1.17.x
15.26% <0.00%> (-41.65%)
:arrow_down:

1.18.x
?

connection
?

discovery
?

e2e
15.26% <0.00%> (-30.81%)
:arrow_down:

integration
15.26% <0.00%> (-30.81%)
:arrow_down:

macOS-latest
?

ratelimiter
?

scripting
15.26% <0.00%> (+<0.01%)
:arrow_up:

table
?

ubuntu-latest
15.26% <0.00%> (-41.65%)
:arrow_down:

unit
?

windows-latest
?

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

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


drivers: dma: stm32 initialize a dma_stm32_data structure

In the dma.h there is a dma_ctx structure using a magic code
to be identify. This structure must be prepared as a new element of the dma_stm32_data.
Without this init, the tests/drivers/dma/loop_transfer/ on the  test nucleo_f091rc board fails in the dma_request_channel()  function call.
*** Booting Zephyr OS build zephyr-v2.6.0-1722-g8566bfec2609  *
Running test suite dma_m2m_loop_test
===============================================================
START - test_dma_m2m_loop
DMA memory to memory transfer started on DMA_1
Preparing DMA Controller
E: ***** HARD FAULT *****
E: r0/a1:  0x080059d4  r1/a2:  0xfffffc7f  r2/a3:  0x20000488
E: r3/a4:  0x200006b1 r12/ip:  0x00000000 r14/lr:  0x08002d6f
E:  xpsr:  0x21000000
E: Faulting instruction address (r15/pc): 0x08000550
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x20000290 (test_dma_m2m_loop)
E: Halting system

Signed-off-by: Francois Ramu<EMAIL_ADDRESS>

When initialised, the tests/drivers/dma/loop_transfer PASSED on the nucleo_f091rc.
*** Booting Zephyr OS build zephyr-v2.6.0-1722-g8566bfec2609  *
Running test suite dma_m2m_loop_test
===============================================================
START - test_dma_m2m_loop
DMA memory to memory transfer started on DMA_1
Preparing DMA Controller
this platform do not support the dma channel
Starting the transfer on channel 1 and waiting for 1 second
Each RX buffer should contain the full TX buffer string.

The dma_stm32_data which is mapped to a dma_context is now initialised and test does not crash anymore
	if (dma_ctx->magic != DMA_MAGIC) {
		return channel;
	}

could

move the initialisation  of the dma_stm32_data in the static struct dma_stm32_data dma_stm32_data_##index section


AttributeError: module 'chatterbot.storage' has no attribute 'JsonFileStorageAdapter'

Traceback (most recent call last):
File "E:\users\administrator\eclipse-workspace2\chatbot-deeplearning\2.py", line 20, in
output_adapter='chatterbot.output.TerminalAdapter'
File "E:\ProgramData\Anaconda3\lib\site-packages\chatterbot\chatterbot.py", line 39, in init
utils.validate_adapter_class(storage_adapter, StorageAdapter)
File "E:\ProgramData\Anaconda3\lib\site-packages\chatterbot\utils.py", line 64, in validate_adapter_class
if not issubclass(import_module(validate_class), adapter_class):
File "E:\ProgramData\Anaconda3\lib\site-packages\chatterbot\utils.py", line 17, in import_module
return getattr(module, module_parts[-1])
AttributeError: module 'chatterbot.storage' has no attribute 'JsonFileStorageAdapter'

Hi @ithjz, the JsonFileStorageAdapter class was removed from ChatterBot several versions ago.
I would suggest using the SQLStorageAdapter instead.


TestHost: support WebSocket testing

Implement https://github.com/aspnet/Hosting/issues/315

Hi @tmds, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@Tratcher I re-implemented the feature based on your feedback
I still need to add the read/write test. Also, the WebSocket.Abort/Dispose logic needs to be checked.

This looks much better overall. It's definitely going to need some tests though.

@Tratcher, @davidfowl, I improved the code further based on your comments
Two points:

WebSocketClient disposes the server websocket when the pipeline ends. Disposing the client websocket is the responsibility of the client (i.e. the test)
I replaced HttpRequestMessage by HttpRequest for WebSocketClient.ConfigureRequest. I limited this to the request, as this is also the case for the real WebSocketClient.

@Tratcher, is this ready for merging?

@tmds Sorry, this is on hold while we resolve an internal discussion about WebSockets. We'll get back to you soon.
cc: @DamianEdwards

@Tratcher no problem, take your time

:shipit: I'll try rebasing myself.

Rebased and merged.


新增SetHost函数

see #150 新增SetHost函数

Codecov Report

Merging #152 into master will decrease coverage by 0.43%.
The diff coverage is 61.53%.

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
- Coverage    94.1%   93.67%   -0.44%
==========================================
  Files          33       33
  Lines        1459     1485      +26
==========================================
+ Hits         1373     1391      +18
- Misses         55       61       +6
- Partials       31       33       +2

Impacted Files
Coverage Δ

dataflow.go
100% <100%> (ø)
:arrow_up:

import.go
91.42% <100%> (+0.51%)
:arrow_up:

req.go
84.27% <51.61%> (-3.67%)
:arrow_down:

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 10416cb...26c77b5. Read the comment docs.


API keys in gradle.properties

On other projects, I use a build properties plugin to keep keys in separate files, and I add these to the .gitignore:
https://github.com/ataulm/art-collector/blob/master/app/build.gradle#L7..L14
I've replaced the values in gradle.properties but I need to remember to avoid staging it because in Plaid, gradle.properties is tracked by git.
Is there some way to avoid tracking local changes to this file explicitly? Or do you just remember not to commit it? 🤔

We keep the keys in the global properties, not in the project properties. Therefore, we don't have the commit issue.

Thanks! The project one has placeholders so I assumed they were being
replaced but I guess the global ones override
On Wed, 2 Jan 2019, 11:17 Florina Muntenescu<EMAIL_ADDRESS>wrote:

Closed #584 https://github.com/nickbutcher/plaid/issues/584.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nickbutcher/plaid/issues/584#event-2050166474, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACjfG5QcilLfejHUYZU21zZtxlnUkqH4ks5u_JU-gaJpZM4Zl15J
.


Navigation API router not working when Next.js is configured with a basepath

Description
I have set up a project using Next.js 14 (App Router) and have been trying to integrate with next-intl by reading the docs. I am mocking up a simple application with a dashboard page (/dashboard) and a login page (/login) and I want to have internationalization handled.
There is a pseudo-request being performed (a timeout task that resolves a promise) on the client-side that returns a route to redirect to when the user navigates to a non-login page (mimicking a request response which determines that the current user does not have an active logged-in session yet). Since redirection needs to happen on the client side for the project I am working on, I need to use the navigation API rather than the middleware.
When not using a basePath in the Next.js config, the code seems to work as expected. However, when setting a basePath (e.g. /admin) and navigating say to the home page (/admin), the redirection that should take the user to the login page at /admin/en/login, fails. Instead, the user is redirected to /admin/login, which is not an existing page.
I tested on my larger project and <Link> components generated from the navigation API seem to work still. It seems that the router being returned by the useRouter() hook is the one having the issue.
Pages

Home (./app/page.jsx or ./app/[locale]/page.jsx)
Dashboard (./app/[locale]/dashboard/page.jsx)
Login (./app/[locale]/login/page.jsx)

Redirect Component
See the Promise defined inside the useEffect() hook call in ./components/AuthRouter/authRouter.js.
Mandatory reproduction URL
https://codesandbox.io/p/devbox/cranky-hamilton-8yz98j?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clt946y7c00073b6i80upd3bp%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clt946y7b00023b6irk8st3ib%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clt946y7b00043b6ihwfz33xc%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clt946y7c00063b6i3tsojyp8%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clt946y7b00023b6irk8st3ib%2522%253A%257B%2522id%2522%253A%2522clt946y7b00023b6irk8st3ib%2522%252C%2522tabs%2522%253A%255B%255D%257D%252C%2522clt946y7c00063b6i3tsojyp8%2522%253A%257B%2522id%2522%253A%2522clt946y7c00063b6i3tsojyp8%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A3000%252C%2522id%2522%253A%2522cltdcgp6f02ir3b6irsu12ft6%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252Fadmin%252Flogin%2522%257D%255D%252C%2522activeTabId%2522%253A%2522cltdcgp6f02ir3b6irsu12ft6%2522%257D%252C%2522clt946y7b00043b6ihwfz33xc%2522%253A%257B%2522id%2522%253A%2522clt946y7b00043b6ihwfz33xc%2522%252C%2522activeTabId%2522%253A%2522cltdh9gkn02en3b6iu50mnqmp%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522id%2522%253A%2522cltdh9gkn02en3b6iu50mnqmp%2522%252C%2522mode%2522%253A%2522permanent%2522%257D%255D%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D
Reproduction description
Steps to reproduce:

Navigate to code sandbox using reproduction link provided.
Start the Dev server if not started on its own.
Go to /admin. You'll notice an error show up.
Similarly go to /admin/en or /admin/en/dashboard and you'll see the same issue.
In contrast, navigate directly to /admin/en/login and you'll see the login page show up just fine.

Expected behaviour
The router created by the navigation API should be able to correctly route from non-login pages to the login page when a basePath is set in the Next.js configuration file.

Thanks for the elaborative report! I think this very issue was just reported 3 days ago: https://github.com/amannn/next-intl/issues/905. A fix is also already in the works, should be released soon: https://github.com/amannn/next-intl/pull/906


schildichat-*: 1.9.0-sc.1 -> 1.9.7-sc.1

Motivation for this change
https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk
Things done

Built on platform(s)

[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

https://github.com/NixOS/nixpkgs/pull/150562


use MapGive branding

use the MapGive branding that mapgive.state.gov and the twitter account feature on the toolkit site for consistency and so that folks can easily identify

simplify header, rather than crazy inclusion of bootstrap javascript
and add in footer


Csm1365

BQ Sink Json Support
BigQuery has json as data type and this pr adds support in the sink plugin for it.
JSON String
As there is no json data type in cdap we are using string as json , to differentiate  string and json we let user enter all the strings that are to be treated as json via a UI field

Nested Fields
Nested Fields can be targeted via the . as shown in the image above

Code Changes

User may skip adding the fields if table already exist.
getJsonStringFieldsFromBQSchema Function can extract the json fields from the tabel schema

setJsonStringFields Updates the table schema for the api request , marking user selected string fields to json

validateJsonStringFields Validated if all fields given by user are present in schema

We need fields at runtime hence they are set in config with a key.

writeJsonObjectToWriter
writeJsonElementToWriter
writeJsonArrayToWriter
writeJsonPrimitiveToWriter
All function are used to merge the user json in the main tree as json element.
Note
Some function may be repeated , this is done to maintain a path and call them recursively for nested fields.

There was a bug when writing jsonObject, i forgot about json array.
Here is the new code to handle both cases.
 if (jsonStringFieldsPaths.contains(pathString)) {
  Gson gson = new Gson();
  String jsonString = object.toString();
  if (jsonString.startsWith("{") && jsonString.endsWith("}")) {
  writeJsonObjectToWriter(gson.fromJson(jsonString, JsonObject.class), writer);
  } else if (jsonString.startsWith("[") && jsonString.endsWith("]")) {
  writeJsonArrayToWriter(gson.fromJson(jsonString, JsonArray.class), writer);
  } else {
  throw new IllegalStateException(String.format("Expected value of Field '%s' to be a valid JSON " +
     "object or array.", name));
  }
  break;
}

I have added a few test cases (highlighted) to increase the code coverage.


Allow clients to enable or disable all jdbc traces (#56)

Pull Request Test Coverage Report for Build 245

6 of 6 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.4%) to 47.893%

Totals

Change from base Build 244:
1.4%

Covered Lines:
466

Relevant Lines:
973

💛  - Coveralls


[Help needed] How not to include WRN and INF messages in terminal's output?

Any way or argument to not show INF or WRN messages?

hey there, thanks for checking out the project!
You can remove the INF and WRN messages by removing the -vv from your command.
Nothing here appears out of sorts or a bug, so closing as an answered question.


Unable to load model with advanced_activations.LeakyReLU

Hello,
I have encountered following problem after training my model, using model.save() and model.load():
Using TensorFlow backend.
Traceback (most recent call last):
File "[path1]/generate_answer.py", line 6, in
cardio_predictor = load_model('models/3rd_run_epoch_39.h5', )
File "[packages_path]\keras\models.py", line 240, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "[packages_path]\keras\models.py", line 301, in model_from_config
return layer_module.deserialize(config, custom_objects=custom_objects)
File "[packages_path]\keras\layers_init_.py", line 46, in deserialize
printable_module_name='layer')
File "[packages_path]\keras\utils\generic_utils.py", line 140, in deserialize_keras_object
list(custom_objects.items())))
File "[packages_path]\keras\models.py", line 1199, in from_config
layer = layer_module.deserialize(conf, custom_objects=custom_objects)
File "[packages_path]\keras\layers_init_.py", line 46, in deserialize
printable_module_name='layer')
File "[packages_path]\keras\utils\generic_utils.py", line 141, in deserialize_keras_object
return cls.from_config(config['config'])
File "[packages_path]\keras\engine\topology.py", line 1210, in from_config
return cls(**config)
File "[packages_path]\keras\layers\advanced_activations.py", line 38, in init
self.alpha = K.cast_to_floatx(alpha)
File "[packages_path]\keras\backend\common.py", line 108, in cast_to_floatx
return np.asarray(x, dtype=_FLOATX)
File "[packages_path]\numpy\core\numeric.py", line 531, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'dict'
the model is as follows:
https://gist.github.com/ikamensh/b2b2ff205e482b801dd0d284c86a2dd1
saved model file is in attachment.
smoke_epoch_39.zip

I can confirm this issue. It affects me too.

I'm affected by this as well, updates?

same here, any updates?

Bumped to the same problem as well, but since I used ReLU and not LeakyReLU, I changed the line (in the same file referred by @ikamensh)
self.max_value = K.cast_to_floatx(max_value)
to
try:         self.max_value = K.cast_to_floatx(max_value)     except TypeError:         self.max_value = K.cast_to_floatx(max_value['value'])


Accessibility fixes

Accessibility improvements as suggested by @batpigandme:

Add alt text to contributed cheatsheet thumbnails
Add empty alt text to pdf preview thumbnails
Add alt text to rest of hex logos

Question for @batpigandme and @mine-cetinkaya-rundel - Currently the hex logos in the margins of the posit cheatsheets have descriptive alt-text, and this is inherited on the listings page, so they have the same alt-text there. Should it be in both?

I think it's fine to have it be descriptive in both places!

Awesome, thanks both!


 tag shows blank in Electron v0.27.1

With messages.
[9648:0528/231234:ERROR:gles2_cmd_decoder.cc(11539)] [GroupMarkerNotSet(crbug.com/242999)!:D086EB929E010000]GL ERROR :GL_INVALID_OPERATION : glTexStorage2DEXT: <- error from previous GL command
[9683:0528/231234:INFO:renderer_main.cc(200)] Renderer process started
NOT SANDBOXED
[9648:0528/231234:ERROR:gles2_cmd_decoder.cc(11539)] [GroupMarkerNotSet(crbug.com/242999)!:D098EB929E010000]GL ERROR :GL_INVALID_OPERATION : glTexStorage2DEXT: <- error from previous GL command

Test on ArchLinux x64, with pepper flash <IP_ADDRESS>.
Update:
In fact, all contents in webview won't be rendered correctly...

I can confirm this behaviour, it was working fine in 0.26.0

Yeah I just tested my app which relies on webviews and I also see a blank webview. I'm on Windows 10 x64 using Electron 0.27.1 x64.

+1. Also get blank on Mac OSX.

Confirm.

I've got the same error and the phantom BrowserWindow shown in the snapshot with Electron 0.28.3 on Ubuntu 12.04.3 32-bit. Any suggestion?

same error message show after upgrading ubuntu 14.04 LTS to 14.10, when I run polymer app.


Finish up configs for tail sampling policies

Fixes #146.
Note one additional change is now each tail sampling processor can only
accept one policy, because one processor can only have one next
consumer. If users need more than one policies they can define multiple
tail sampling processors in the config.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1660277). Click here to learn what that means.
The diff coverage is 54.44%.

@@            Coverage Diff            @@
##             master     #221   +/-   ##
=========================================
  Coverage          ?   73.16%
=========================================
  Files             ?      109
  Lines             ?     6334
  Branches          ?        0
=========================================
  Hits              ?     4634
  Misses            ?     1467
  Partials          ?      233

Impacted Files
Coverage Δ

processor/tailsampling/processor.go
69.65% <54.44%> (ø)

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 1660277...360aa05. Read the comment docs.

@songy23 the change itself looks good. As you pointed, correctly, it is not possible with the new config (as it is at this moment) to select the exporters/destinations of each police as before. However, I think that there is still value in having multiple policies per instance of tail sampling processor. Did you hit any blocker in that path? If yes we can start with single as in the PR and later make the work to support multiple.

I don't see any blocker here. We can add multiple policies in one processor though they all pass the trace data to the same consumer.

Yes, it will be the same consumer but they still can combine policies so it is closer (not equal) in capability to what we had before.

https://github.com/open-telemetry/opentelemetry-service/pull/221/commits/7f822478ec29a9e9c9c64ba62860062b2b5adc3e restored the ability on having multiple policies per instance of tail sampling processor. PTAL.

Thanks :)


Release 3.3.4

Coverage increased (+0.05%) to 88.938% when pulling d154f020e9053c844599665a281741f496a8fc73 on czpython:release/3.3.4 into 55f1d69191b47194b598a7479a401e4abc756ee1 on divio:release/3.3.x.