Fixed broken get_table_description API

Summary of Changes
Fix a duplicate /v0 in the API for getTableDescription
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide

Codecov Report

Merging #323 into master will increase coverage by 4.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #323      +/-   ##
==========================================
+ Coverage    72.3%   76.49%   +4.19%
==========================================
  Files         147       26     -121
  Lines        3784     1187    -2597
  Branches      473      109     -364
==========================================
- Hits         2736      908    -1828
+ Misses       1016      250     -766
+ Partials       32       29       -3

Impacted Files
Coverage Δ

...ication/static/js/components/common/Tabs/index.tsx

...ndsen_application/static/js/ducks/search/api/v0.ts

...ion/static/js/components/PreferencesPage/index.tsx

...mponents/PreferencesPage/PreferenceGroup/index.tsx

...ication/static/js/components/common/Flag/index.tsx

...ts/common/ResourceListItem/TableListItem/index.tsx

...sen_application/static/js/ducks/allTags/reducer.ts

...tatic/js/components/common/ScrollTracker/index.tsx

...pplication/static/js/ducks/popularTables/api/v0.ts

...static/js/components/common/ResourceList/index.tsx

... and 110 more

Continue to review full report at Codecov.

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


new parameters

It's now possible to:

exclude packages from the diagrams
show names of classes only (no details of properties and methods)
show inheritance links only

--merge=PACKAGE:NAME,...
PACKAGE is the full name of the package or just the begining
NAME is the name of the image generated


keras.backend.round acts differently in theano and tensorflow

Theano uses round away from zero, while tensorflow uses round to nearest even number.
Example:
class Rounder(Layer):

    def __init__(self, **kwargs):
        super(Rounder, self).__init__(**kwargs)

    def get_output_shape_for(self, input_shape):
        return (input_shape[0], input_shape[1])

    def call(self, x, mask=None):
        x1 = K.round(x)
        return x1

model = Sequential()
model.add(Rounder(input_shape=(4,)))
model.compile(loss='mse', optimizer='sgd')
A = model.predict(np.array([-0.5,0.5,1.5,2.5]).reshape(1,-1))
print(A)

Output with tensorflow:
[[ 0.  0.  2.  2.]]

Output with theano:
[[-1.  1.  2.  3.]]

This is quite undesirable, and one mode should be chosen and imposed. At the very least the documentation should mention this. As theano implements both half_away_from_zero and half_to_even in its round function, it could be a pretty easy fix.

fixed in #5089


S390X Support

This PR adds support for cpu_features on S390X architectures including the latest z16 hwcapabilities.

z15 Model T01 would be 8561 and not  3932
you might also want some older processors as well
2964 and 2965 z13
3906 and 3907 z14

Thanks for the review. I ended up removing the explicit model checking, since the elf AT_PLATFORM definition includes this.

Thanks, I've made those changes

Thanks, I've made those changes

Thx, can you also turn the num_processors field into an int? then I think it's good to go.

Made a rookie mistake, forgot to set my git user+email on a new environment and it failed the CLA check. I amended and I think its good to go now


Setting Nextion attributes

Greetings,
I'm not sure this is the correct place to put this so please tell me if there is somewhere else to post.
I am building an HASwitchPlate but using it with my Homevision home control system not Home Assistant. It has been going well but I was having trouble with sending some MQTT commands to set or change attributes on the nextion display from my system. For example I can send:
hasp/disp01/command/page 1
and page 1 is sent to the display and it changes as it should
however when I send:
hasp/disp01/command/picq 0,0,120,120,1
picq=0,0,120,120,1 is sent to the display and I get an error since the display doesn't want the = sign.
I went into the ESP8266 source and changed the following lines as shown here by replacing the = sign with a space.
`void nextionSetAttr(String hmiAttribute, String hmiValue)
{ // Set the value of a Nextion component attribute
Serial1.print(hmiAttribute);
Serial1.print(" "); // was "="
Serial1.print(utf8ascii(hmiValue));
Serial1.write(nextionSuffix, sizeof(nextionSuffix));
debugPrintln(String(F("HMI OUT: '")) + hmiAttribute + " " + hmiValue + "'");```
This works for now but I don't know if this will affect anything else or if I'm doing something incorrectly. Can you provide me some insight?
Thanks,
Bob Gardner

What you're looking to do is send a command, not set an attribute.  The modification you've made to nextionSetAttr() is going to cause problems for you down the road and I'd recommend switching it back, as you'll have broken the ability to send attribute changes.
To run Nextion commands that have arguments, you'll want to send a message like this:
Topic: hasp/disp01/command
Message: picq 0,0,120,120,1

As a side note - very interested to hear about your progress with getting HASP to work with HomeVision!  If you want to drop in on our Discord channel I might be able to field questions interactively as they come up and would love to help out where possible.

Thanks for the quick response. I switched the Wemos software back to the
original form and I changed the way I was sending the message from
Homevision and it worked just fine. From Homevision I send a serial command
which is captured by an MQTT plugin written by one of the Homevision users
which is written in TCL. The original purpose of the plugin was to work
with Sonoff and Shelly devices that had been flashed with Tasmota software.
The command has this format:
mqtt: pub hasp/disp01/command picq 0,0,120,120,1;
This worked great. I also wrote another plugin that captures the published
messages from the hasp and performs the associated actions in Homevision.
When I'm all done I'll put together a page on my web site that has all of
the details and share it with you and our Homevision users.
I will also pop over to the discord channel since I have  few other
questions about 3D printing the enclosures.
Bob
On Wed, Mar 11, 2020 at 4:50 AM Allen Derusha<EMAIL_ADDRESS>wrote:

What you're looking to do is send a command, not set an attribute. The
modification you've made to nextionSetAttr() is going to cause problems
for you down the road and I'd recommend switching it back, as you'll have
broken the ability to send attribute changes.
To run Nextion commands that have arguments, you'll want to send a message
like this:
Topic: hasp/disp01/command
Message: picq 0,0,120,120,1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aderusha/HASwitchPlate/issues/96?email_source=notifications&email_token=AOTBCN5BVTYGLK3YBDLJ77DRG53HVA5CNFSM4LFJM2P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOPHQEY#issuecomment-597587987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOTBCNYFQV4UJNSCWN4SQJLRG53HVANCNFSM4LFJM2PQ
.


Add route for adding, updating, and deleting logged call tags

To improve dataset quality, users should be able to add and edit logged call tags. Users can now update and delete tags on their logged calls by passing in an array of filters with values that should be equal to or contained in the provided fields.

Would you mind squashing this PR into a single commit? I often look at the git blame for a given line to remind myself why things are the way they are as I'm going through the code, and since this PR currently deletes and restores the deprecated route code in two separate commits it would break that workflow.

Would you mind squashing this PR into a single commit? I often look at the git blame for a given line to remind myself why things are the way they are as I'm going through the code, and since this PR currently deletes and restores the deprecated route code in two separate commits it would break that workflow.

I'm not sure what you mean, I think I always squash and merge.


[REQUEST] Timer

Desired Behavior
Implement a timer option. The bot should stop after a specific amount of time. So we can let the bot running all night without caring of it.
Actual Behavior
No timer implemented
Steps to Reproduce
No one

Seems like a nice idea. Maybe a extended version should be a schedule on when to run?

Whoa! That's nicer!

use cronjob if you are running linux, or task scheduler in windows. there is alot of ways to make this possible


support ios please🥲

I'm waiting for you to support ios to cheer me on.

The iOS version is completed and available for sale.


migrate contacts to enable Group's to be used as group acl's

From mashlib v1.7.3 and NSS v5.6.7 Contacts Group created with contact-pane can be used as group acl.
A manual migration is needed to update the old  contacts group.
A migration is only needed if the contacts group do not contain owl:sameAs predicate for a contact with a WebID
The following process must be used to migrate team group (...Contacts/Group/team.ttl :

in Contacts create a new group : for example : teamBackup
click on group team
move each member of team to teamBackup

You now have a Group teamBackup containing all members with the new format.

delete group team
create new group team
then move back all teamBackup members to team
delete teamBackup

@timbl The above should let you migrate  https://solidos.solidcommunity.net/Contacts groups to make them group's acl.
This issue is referenced in the wiki https://github.com/solid/solidcommunity.net/wiki


Understanding parameter

Hi,
I was wondering if you could detail the significance of the two parameters in the code. The first is "numRandomTests". Is this parameter analogous to mtry in Brieman's random forest (the number of features randomly selected at each node)?
The second is "numProjectionFeatures". In a traditional random forest, the split at each node occurs on one variable. Does this parameter set to >1 create a function that the data is split on? Is there an analogous parameter in traditional random forests?
Thanks,
Daniel

Hi Daniel,

numRandomTests: Yes, it's the number of features to be randomly chosen at each node

numProjectionFeatures: In this implementation, I use hyperplanes to split the data. The traditional RF uses axis aligned hyperplanes (i.e. splitting only on a single feature). You can generalize that to choosing numProjectionFeatures features, creating a random hyperplane from them and then using that to split the data. I think if you set it to 1, it will create axis aligned cuts similar to traditional forests.

Amir

Thank you for your reply. I was wondering if you could define epochs. Is that the number of times it cycles through the data?
Is it possible to train the model in one go, using full-batch instead of online, for comparison purposes?

Yes, epochs is the number of times it goes through the entire dataset.
If you're referring to full-batch as offline training where the learner has access to all dataset at once, not I'm afraid you can't train it like that as the algorithm is designed for online training.
However, you can use sklearn or any other libraries that offer RF implementation for offline training.


Revert incorrect custom code for partial class sample gen

This PR is fixing of https://github.com/Azure/azure-sdk-for-net/pull/45116 which had an incorrect custom code which was trying to fix sample compile issue,
For the issue of sample generation for partial resource and its sub resource, here is an issue opened for tracking.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.SecurityInsights


Update manage.md

I corrected the typo in line 302, from "To remove the link between and subscription and the management group use the" to "To remove the link between the subscription and the management group use the"

Learn Build status updates of commit 98ac794:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/governance/management-groups/manage.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off

Due to the upcoming Ignite conference, all merging and publishing is on hold until the morning of October 12.
This PR is ready for merge on 10/12.


untured permission issue

What problem did you noticed?
When i load up my server none of my rocket plugins work like the groups nobody can do any perms they have we have tried changing some of the permissions becuAse thats what it said it was but its notworking
What is the expected result?
for everyone to be able to use there permissions corectly
What is the current result?
[8/29/2017 7:48:44 AM] [Error] An error occured while executing kits []: System.NullReferenceException: Object reference not set to an instance of an object
at Rocket.Core.Permissions.RocketPermissionsManager.HasPermission (IRocketPlayer player, System.Collections.Generic.List1 permissions) [0x00000] in <filename unknown>:0    at Essentials.Core.Permission.EssentialsPermissionsProvider.HasPermission (IRocketPlayer player, System.Collections.Generic.List1 requestedPermissions) [0x00000] in :0
at Rocket.API.IRocketPermissionsProviderExtensions.HasPermission (IRocketPermissionsProvider rocketPermissionProvider, IRocketPlayer player, System.String permission) [0x00000] in :0
at Rocket.API.IRocketPlayerExtension.HasPermission (IRocketPlayer player, System.String permission) [0x00000] in :0
at Rocket.Core.Commands.RocketCommandManager.Execute (IRocketPlayer player, System.String command) [0x00000] in :0
How to reproduce the issue?
if you type /kits or any comand it comes up with the error message above i know its something to do with permission i just dont know what permission+
Operating System and Version:

Unturned Version:v<IP_ADDRESS>
Rocketmod Version: v<IP_ADDRESS>

Your Permissions.config.xml is broken, please delete it or fix it.


SSH Connection Issues when on VPN

Your Windows build number:  Version 10.0.19041.153
What you're doing and what's happening:
While connected to the company VPN some SSH connections fail / get stuck. This is most notably happening with GIT (push) & SSH Tunnels to Kubernetes clusters. After disconnecting, the commands work as expected.
Executing the same command on the Windows Command Line works when connected to the VPN. I could observe this with different servers (e.g. GitHub + self-hosted Git Server). Also this does not affect all repositories on that server at once - for some repositories this still does work while for others it won't. If it doesn't work it will continue to not work for a week or so, at some point it will work again and others will fail. Other git commands, like git fetch , git pull still do work, only pushes do not work.
What's wrong / what should be happening instead: SSH Should not hang.
Strace of the failing command, if applicable:
Last few hundred lines of the strace, and git SSH command output in verbose mode: Gist
VPN Connection Type: L2TP/IPSec

Upon further investigation this was due to the VPN connection using a MTU of 1400.
tracepath suggests to use an MTU of 1400:
 1?: [LOCALHOST]                      pmtu 1500                                                                                1:  lp-gerneth-fritz                                      0.249ms                                                                                1:  lp-gerneth-fritz                                      0.281ms                                                                                2:  lp-gerneth-fritz                                      0.306ms pmtu 1400                                                                                2:  no reply                                                                                3:  no reply                                                                                4:  no reply

However the detected MTU seems to get ignored. Manually setting the MTU to 1400 fixes this issue.
Wondering why this seems to get ignored though. Might be related to this, did not test this further though.

Merging this into /dupe #4698 which arrived to the same MTU conclusion.

Merging this into /dupe #4698 which arrived to the same MTU conclusion.


Cannot add cluster or access the dashboard

scripts in the remote machine (Ubuntu 16.04 x64):
sudo bash < <(curl -fsSL https://dl.flynn.io/install-flynn)
sudo systemctl start flynn-host
sudo systemctl status flynn-host
// the output shows the status is active(running)

sudo \
    CLUSTER_DOMAIN=flynn.{my-domain} \
    flynn-host bootstrap \
    --min-hosts 1

//output shows "Flynn bootstrapping complete"

But I cannot access the http://dashboard.flynn.{my-domain}
Related DNS config is
CNAME *.flynn.{my-domain} flynn.{my-domain}.
A  flynn.{my-domain} {ip}

If I run flynn cluster add -p xxxx= default flynn.{my-domain} xxx in my development machine, it will show error message
Error writing CA certificate: Get https://controller.flynn.{my-domain}/ca-cert: dial tcp: lookup controller.flynn.{my-domain} on <IP_ADDRESS>:53: server misbehaving

Any suggestions?

@abnerlee it sounds like you have DNS issues, try running:
$ host controller.flynn.{my-domain}

I checked again, it is do because of the DNS


Garbled characters cannot be avoided

Issue Type: Bug
Open the file, set the encoding to EUC-JP, and type double-byte "~" in Japanese to save. Open it in another code editor (either Atom or sublime text) and
If you change from UTF8 to EUC-JP, what is the previous ~? It has changed
VS Code version: Code 1.55.1 (08a217c4d27a02a5bcde898fd7981bda5b49391b, 2021-04-07T18:22:52.186Z)
OS version: Darwin x64 18.7.0

If there is issues with other editors, I suggest to report that issue to them. Let me know if you see an issue purely within VSCode.


Driver Security Improvements:  Go Driver Dependencies

ANTLR v4.9.2 -> v4.11.1

Go Dependencies

Parser README

### TESTING  Steps:

[x] Run go get -u ./... -> SUCCESS
[x] Run go test ./... -> SUCCESS - Output

@aru-d-at @dehowef Do we need to have the generated files on github?

@jrgemignani
Did you mean the interface related files inside the parser folder? I had already removed the unneeded generated *.token and *.interp files prior to commit.

@jrgemignani @aru-d-at On the ANTLR modification for the python driver, I asked Arun to remove the generated files from the commit-- I think he would apply similar logic to this one as well. As far as I can see, there are no generated files. Looks good to me.

@jrgemignani @aru-d-at On the ANTLR modification for the python driver, I asked Arun to remove the generated files from the commit-- I think he would apply similar logic to this one as well. As far as I can see, there are no generated files. Looks good to me.

I'm referring to the age_*.go files in golang/parser. All of them are generated by Age.g4 it looks like. We can probably remove them all.

@jrgemignani @aru-d-at On the ANTLR modification for the python driver, I asked Arun to remove the generated files from the commit-- I think he would apply similar logic to this one as well. As far as I can see, there are no generated files. Looks good to me.

I'm referring to the age_*.go files in golang/parser. All of them are generated by Age.g4 it looks like. We can probably remove them all.

@aru-d-at can you go and see if it is possible to remove these files from the repository? Thank you

@jrgemignani @aru-d-at On the ANTLR modification for the python driver, I asked Arun to remove the generated files from the commit-- I think he would apply similar logic to this one as well. As far as I can see, there are no generated files. Looks good to me.

I'm referring to the age_*.go files in golang/parser. All of them are generated by Age.g4 it looks like. We can probably remove them all.

@aru-d-at can you go and see if it is possible to remove these files from the repository? Thank you

@dehowef @jrgemignani Various functions and interfaces from the parser folder are used in the 'builder.go' and 'mapper.go'. These are just some of the ones in first few lines.

@aru-d-at I just checked and they [.go files in parser] are generated by antlr4. However, we don't provide antlr4 in our package, just the runtime. It looks like if those file aren't there, it would be a pain for anyone to regenerate them manually. So, ignore my concerns about the .go files in parser.

@jrgemignani @dehowef So in that case all good for the merge?

Hmmmm,... did you regenerate these files or just edit them?

@jrgemignani All parser files are generated. I needed to edit the antlr import statement to reflect newer import path for v4.11.1 for mapper and builder inside age folder.

@jrgemignani All parser files were generated then licenses were edited in. I needed to edit the antlr import statement to reflect newer import path for v4.11.1 for mapper and builder inside age folder.

Is it possible to add something to the go driver to automatically build these files or something in a README explaining how to build them so that we don't need to include the generated files in the distribution?

@jrgemignani I have this Batch script ready for Windows and have tested it.
I also have the Bash script ready and tested on Linux but, haven't found a way to test it on Mac yet.
Should I go ahead and commit them?
Batch script
@echo off
setlocal

set "minimum_version=1.18"
set "installed_version="
set "download_url=https://go.dev/dl/go1.19.7.windows-amd64.msi"

:: Check if Go is installed and get its version
set "go_path="
for %%i in (go.exe) do set "go_path=%%~$PATH:i"
if defined go_path (
	for /f "tokens=3" %%v in ('go version 2^>^&1') do set "installed_version=%%v"
)

:: If Go is not installed or the version is less than 1.18, prompt the user to install a new version
if not defined installed_version (
	echo installing Go
	:: Download and install the latest version of Go
	powershell -Command "& {Invoke-WebRequest -Uri "%download_url%" -OutFile '%TEMP%\go-minimum-version.msi'}"
	start /wait msiexec /i "%TEMP%\go-minimum-version.msi"
	for /f "tokens=3" %%v in ('go version 2^>^&1') do set "installed_version=%%v"
) else if "%installed_version%" lss "%minimum_version%" (
    set /p "install_new_version=Go version %minimum_version% or higher is required. Would you like to install the latest version? (y/n)"
    if /i "%install_new_version%"=="y" (
        :: Download and install the latest version of Go
        powershell -Command "& {Invoke-WebRequest -Uri "%download_url%" -OutFile '%TEMP%\go-minimum-version.msi'}"
        start /wait msiexec /i "%TEMP%\go-minimum_version.msi"
        for /f "tokens=3" %%v in ('go version 2^>^&1') do set "installed_version=%%v"
    ) else (
        echo Please update Go version before installing driver.
        goto end
    )
)

:: Echo "a", "b", and "c"
echo a
echo b
echo c
pause
:end
pause
endlocal

@aru-d-at I believe that a decision on this is up to @dehowef
That being said, I do think that if we can have these files autogenerated on the users machine, then we won't need to track them in the repo. Being that they are autogenerated, we shouldn't track them in the repo.

@aru-d-at go ahead and commit it

@aru-d-at but yeah we should remove as many auto generated files as possible-- there is no need to track those unless absolutely necessary

@dehowef I have pushed the scripts after testing on all 3 OS's

@dehowef Seems the Go Workflow needed to be updated as well as a Go Target Generation file.

@dehowef Updated the workflow again since generation was failing as ANTLR jar is non-existent. Hopefully workflow works now. (If it doesn't may need to inspect Java dependency in yml)

@aru-d-at Yeah, it still seems to be failing 2 tests-- this issue has been plaguing us for awhile

@dehowef Sorry, my bad, I should have run workflow on a separate repo first.
Should work now.

@aru-d-at All checks passed. Great work! I'll merge it now


publish fails when including retained parameter

Hi Nick,
Just started using your MQTT library with the ESP8266 and the Arduino IDE.
All works well when using the short form of publish, e.g.:
client.publish(topic, myIP);
where the 2 variables are both char (string arrays).
However, when I try to use the extended form so that I can include the retained parameter:
client.publish(topic, msg, 50, 1);
It fails with:
\sketches\libraries\pubsubclient\src/PubSubClient.h:115:12: error:   initializing argument 2 of 'boolean PubSubClient::publish(const char*, const uint8_t*, unsigned int, boolean)' [-fpermissive]
    boolean publish(const char* topic, const uint8_t * payload, unsigned int plength, boolean retained);
            ^
invalid conversion from 'char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive]

So it appears the parameter 2 is defined differently? My C skills are totally naff I'm afraid so I can't work out whether this is deliberate (and if so why). If it is, I'm uncertain how to convert from the string array to the uint8_t format.
I'm also not sure why I need the length parameter just to set the retained flag?
Thanks for the library though, without it I'd still be struggling along with the NODEMCU firmware and LUA!

Hi,
this is what you want:
client.publish(topic, (uint8_t*)msg, 50, true);
There are so many data types and ways the client gets used, providing every combination of every type and argument wouldn't be manageable. That said, it seems reasonable to want to have a publish(string,string,boolean) function that does what you want without having to worry about the length field - I'll add one next time I'm updating the client.

Huzzah! Thanks Nick, told you my C was rubbish. I hate it with a vengence but at least it works when you can figure it out unlike NODEMCU/LUA which I was fighting every step of the way and gave up when I got an out of memory error on a simple program.
You've also answered my next question which was why my LWT message wasn't getting the retained flag - true not 1!

Hmm, always too complex!
      IPAddress myAddr = WiFi.localIP();
      snprintf (myIP, 16, "%s.%s.%s.%s", myAddr[0],myAddr[1],myAddr[2],myAddr[3]);
      client.publish(topic, (uint8_t*)myIP, 50, true);

is what finally worked. It publishes the IP address when the device connects to the broker. The LWT changes the same topic to "Offline".

Have just released v2.3 that introduces a publish(topic,payload,retained) function.

Ha ha! Cheers, I'll grab it shortly.

If you do stick with what you've got there, you'll want to use strlen(myIP) rather than 50 - as it won't be a 50 character string.

If you do stick with what you've got there, you'll want to use strlen(myIP) rather than 50 - as it won't be a 50 character string.

hello Mr Knolleary
i was not able to publish to topic using a retain flag and Qos as this function shows
boolean publish_P(const char* topic, const uint8_t * payload, unsigned int plength, uint8_t qos, boolean retained);
i follow the same same and got this error
C:\Users\gendi\OneDrive\Documents\Arduino\DosingEsp32working in edit\DosingEsp32working in edit.ino:1415:70: error: no matching function for call to 'PubSubClient::publish(char [60], uint8_t*, unsigned int&, int, bool)'
client.publish(buf_topic,(uint8_t*) msg , arrSize, MQTTpubQos, true);
^
In file included from C:\Users\gendi\OneDrive\Documents\Arduino\DosingEsp32working in edit\DosingEsp32working in edit.ino:10:
c:\Users\gendi\OneDrive\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:151:12: note: candidate: 'boolean PubSubClient::publish(const char*, const char*)'
boolean publish(const char* topic, const char* payload);
^~~~~~~
c:\Users\gendi\OneDrive\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:151:12: note:   candidate expects 2 arguments, 5 provided
c:\Users\gendi\OneDrive\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:152:12: note: candidate: 'boolean PubSubClient::publish(const char*, const char*, boolean)'
boolean publish(const char* topic, const char* payload, boolean retained);
^~~~~~~
c:\Users\gendi\OneDrive\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:152:12: note:   candidate expects 3 arguments, 5 provided
c:\Users\gendi\OneDrive\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:153:12: note: candidate: 'boolean PubSubClient::publish(const char*, const uint8_t*, unsigned int)'
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength);
^~~~~~~
c:\Users\gendi\OneDrive\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:153:12: note:   candidate expects 3 arguments, 5 provided
c:\Users\gendi\OneDrive\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:154:12: note: candidate: 'boolean PubSubClient::publish(const char*, const uint8_t*, unsigned int, boolean)'
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength, boolean retained);
^~~~~~~
c:\Users\gendi\OneDrive\Documents\Arduino\libraries\pubsubclient-master\src/PubSubClient.h:154:12: note:   candidate expects 4 arguments, 5 provided
exit status 1
Compilation error: no matching function for call to 'PubSubClient::publish(char [60], uint8_t*, unsigned int&, int, bool)'
any advice to how to publish Qos2 with retain flag set , i am using V2.8


general\zstr.hpp:68:8: error: 'strerror_s' was not declared in this scope

Hi,
Trying to build with cmake 3.15.6 and compiling with g++ 9.2.0 under Win 10 and got this error.  The cmake config command is:
cmake -DCMAKE_MAKE_PROGRAM=make -DCMAKE_CXX_COMPILER=g++ -G "Unix Makefiles" ..
Is strerror_s compiler specified function (say ms-VC)?
Cheers
Henry

Can you clarify what you mean by g++ under Win10? Are you using WSL?

It looks like the #ifdef here: https://github.com/mfem/mfem/blob/f97eef13fce98d86ab5d3a1a9e163f82204b3f88/general/zstr.hpp#L67-L72
needs to use _MSC_VER instead of _WIN32.

Can you clarify what you mean by g++ under Win10? Are you using WSL?

No WSL. I am using gnu c++ from here http://www.equation.com/servlet/equation.cmd?fa=fortran


refactor: manager server new params

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

refactor manager server new params.

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #464 (9e93556) into main (7659def) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #464   +/-   ##
=======================================
  Coverage   36.54%   36.54%
=======================================
  Files          89       89
  Lines        6959     6959
=======================================
  Hits         2543     2543
  Misses       4048     4048
  Partials      368      368

Flag
Coverage Δ

e2etests
?

unittests
36.54% <ø> (ø)

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


Added Twitter automation project

This project gives you an idea how website automation works; So I made this program that login to your twitter account (using credentials you provide) & tweet something of your choice all from your command prompt.

After approving changes, can you merge the pull request please! thanks.


[Bug] Hit Miss Tracker not working on Pathfinder 2e v5.15.3

Switching to that tab comes up with an error message saying "Feature not supported for your current system". Worked on 5.15.1, but has broken since then.

Does it work once you start making attacks? Some quick testing today seemed to have it not show up initially but once rolls started being tracked it worked.
Will do some more investigating tomorrow.

Yes, you're right, it looks like once it has data it works correctly. I assumed it would backfill from the chat log, that's my mistake. Maybe switch the error message to say "not supported or no data"? Regardless, thank you!

Ah yeah none of the stats backfill. It’s pulls data whenever a chat msg gets created so won’t load in any old data that was already created.
Will make a different display for each tab.


Quality of life improvements to Notification class

Remove Notification.__repr__(), utilize native __repr__ of @dataclass instead
Make Notification._buttons_dict public, utilize immutabledict for that
Allow initializing Notification and Button with identifier=None

Off topic: One can tell that @dataclass was designed without typing in mind... Without typing one would simply change Notification.buttons directly to a dict and just accept a list in __init__... But with typing that's not possible unless we implement __init__ manually, defying the purpose of @dataclass.

Codecov Report
Attention: Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.02%. Comparing base (26c6af2) to head (16d6c46).
Report is 14 commits behind head on main.

Files with missing lines
Patch %
Lines

src/desktop_notifier/common.py
89.47%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #203      +/-   ##
==========================================
- Coverage   85.13%   85.02%   -0.12%
==========================================
  Files          10       10
  Lines         895      908      +13
==========================================
+ Hits          762      772      +10
- Misses        133      136       +3

Flag
Coverage Δ

pytest
85.02% <90.47%> (-0.12%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I am not very familiar with immutabledict. Is there a possible Python stdlib solution instead? For example MappingProxyType?

MappingProxyType has a rather poor API not even closely similar to dict. immutabledict tries to be a dict.


Meta: API

This is an meta issue with links to all API issues:

#80 Imprint endpoint
#79 Full content endpoint
#49 HSDS/HSDA implementation
#46 bundle resources
#28 FCM endpoint
#27 Feedback endpoint for events
#26 Feedback for extras list
#25 Feedback for site lists
#24 Feedback for search results
#23 Feedback for single extra
#22 Feedback for page
#21 Extra details endpoint
#20 Extras endpoint
#19 Parents endpoint
#18 Languages endpoint
#17 Page children endpoint
#16 Sites endpoint
#15 All pages endpoint
#14 Single page endpoint

idea: use swagger.io to design the API and generate the docu and django code from it.

During the team call yesterday we decided, that we're going to use Swagger (or a similar service) with APIv4. Implementing it in version 3 is not useful, because we do not have strong typing and clear definitions yet. Also, the API is already implemented in the apps and the app teams would have to rewrite the API part to make use of a Swagger-like service.


SIRS model

Add demo of SIRS model, a demonstration of disease spread using cellular automata rules. Currently, the GDScript implementation outperforms the NumDot one by a large margin. This is likely due to the numerous conversion calls of to_godot_array() and back when computing the nearest neighbours of a cell. This can be rectified if a convolve2d function is exposed by NumDot.
Regardless, this PR is submitted to serve as a test case to further optimize NumDot calls and until it is fixed, it remains as a warning of the inefficiency of type conversions.
(Also made some minor changes to the wave equation demo to be more consistent and avoid clashes with other demos.)

Looks good, thank you!


Add fidesops worker command to run Celery workers

This works in development, but for a production deployment we need to make the celery worker configuration more foolproof
Can we add a new CLI command like fidesops worker, which acts similarly to fidesops webserver except it starts celery instead of uvicorn?
Originally posted by @NevilleS in https://github.com/ethyca/fidesops/pull/621#discussion_r895221099

@conceptualshark do we document CLI commands like this in our docs? If so, we may need to add this ticket to your doc board


#12 allow context substitution for proto class name

@parikhyash

CLA is valid!

Looks good. Merging..


Revert "pkg/endpoint: Pass endpoint alive context to regeneration tasks"

Let's merge this one. A proper fix is in the PR - https://github.com/cilium/cilium/pull/18267.

Only updated the commit message.


[BUG] keep making api calls even when commits end

Environment details

OS: ubuntu
Node.js version: v14.17.3
npm version: 6.14.13
release-please version:

11.11.0 from https://github.com/google-github-actions/release-please-action
tested locally on current version

Steps to reproduce

setup release-please-action on a repo with manifest mode
don't set neither bootstrap-sha or last-release-sha in the manifest config

Related
https://github.com/google-github-actions/release-please-action/issues/311

I guess it's because the found value is only true when the commit matches the sha which can be null.
so checking if there are any other commits to fetch will be the solution.
// line 340 of src/github.ts
found = response.data.length < per_page || found;

https://github.com/googleapis/release-please/blob/master/src/github.ts#L340

@bcoe yes and when both bootstrap-sha or last-release-sha not setted or has an incorrect value.
commitsSinceShaRest keep making call till it found a commit with the sha as bootstrap-sha, last-release-sha` or last release sha wich may not be set & valid
https://github.com/googleapis/release-please/blob/master/src/github.ts#L330


Your website is not resolving

Your website URL (as below) doesn't seem to be resolving.
https://postjs.io/docs

sorry, it's under construction.


consider extending Observable?

RxJS 5 supports extending Observables and adding custom operators. I think custom Observables are pretty neat, and they're generally faster than the Observable.create style. Best of all, by overriding lift to return your custom Observable subtype, your type will be preserved through operator chaining!
KafkaObservable.fromTopic(...)
  .filter(Boolean)
  .kafkaMessage() // <-- these work
  .flatMap(() => ...)
  .otherKafkaThing() // <-- just fine!
  .subscribe()

For example, the kafka-message operator can be implemented like this:
const { Observable, Subscriber } = require('rxjs');

// Extend Observable, and override `lift` to return instances of KafkaObservable
// All the Rx operators all call `this.lift(some_operator)` just like I do in `kafkaMessage`
export class KafkaObservable extends Observable {
  lift(operator) {
    const kObs = new KafkaObservable();
    kObs.source = this;
    kObs.operator = operator;
    return kObs;
  }
  kafkaMessage(mapper = x => x) {
    return this.lift(function(source) {
      // the `this` context is the destination Subscriber
      const sink = this;
      return source.subscribe(new KafkaMessageSubscriber(sink, mapper));
    });
  }
}

class KafkaMessageSubscriber extends Subscriber {
  constructor(sink, mapper) {
    super(sink);
    this.mapper = mapper;
  }
  next(x) {
    super.next(this.mapper(x.message.toString('utf8'));
  }
}

You don't have to worry about things like forwarding errors, completion, or disposal. Because this is how we do things inside the Rx library, you get all the same stuff for free just by extending Subscriber! Here's a few examples I've done if you're interested in seeing more:

rxjs-gestures
rxjs-mapd
rxjs-fs

Hi @trxcllnt
my original idea was to extend Observable, but I got discouraged by this recommendation.
However, I agree that it is probably the right way to go. I will check your libraries and make the updates in the next few days...

@ghermeto yeah, I should probably PR an update to the docs about extending Observable. I also wrote about lift in this comment recently, which includes some interesting links.
At the end of the day, let, lift, and pipe are three ways to do mostly the same thing. I prefer lift because it's usually less code, and is easier for the JIT to optimize. You can also compose operators externally with lift just like you can with let, except the operator interface is implemented in terms of Observers instead of Observables.
The one drawback to this approach is that calling the static Observable creation methods on Observable subclasses doesn't return an instance of your subclass by default.
It's easy to workaround if your subclass implements a slightly more intelligent constructor, and you don't mind wrapping the static creation methods to return instances of your subclass, but we should probably have a mechanism in Rx to do this for you.
Let me know if I can answer any questions along the way. Cheers!


Add CN doc for broadcast_tensors

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


[Protected Var] Report 31244 "Fixed Asset - Book Value 1 CZF"

Describe the request
Please change the following global variables to protected global variables:
-GroupHeadLine
-GroupTotals
Additional context
We need use variables.
Internal work item: AB#538722

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 21998.


Django 4.0 upgrade.

Django 4.0 upgrade.

Probably need to reinstall pip -r "requirements.txt" under api for this.


XFuse file overwrite and lookup improvements

This pull request fixes a couple of annoyances I've had with the xfuse filing system:-

When connecting for the first time, file can't be viewed without browsing down to them (e.g.):-

$ ls -l ~/thinclient_drives/U\:/Downloads/temp.txt
ls: cannot access /home/disktest/thinclient_drives/U:/Downloads/temp.txt: No such file or directory
$ ls -l ~/thinclient_drives/U\:/Downloads
ls: cannot access /home/disktest/thinclient_drives/U:/Downloads: No such file or directory
$ ls -l ~/thinclient_drives/U\:/
<snipped>
$ ls -l ~/thinclient_drives/U\:/Downloads/
<snipped>
$ ls -l ~/thinclient_drives/U\:/Downloads/temp.txt
-rw-r--r--. 0 disktest gdat_hdv_disktest 43 Feb 28 16:08 /home/disktest/thinclient_drives/U:/Downloads/temp.txt

Existing files can't be overwritten or appended (e.g.):-

$ echo "More text" >~/thinclient_drives/U\:/Downloads/temp.txt
bash: echo: write error: Input/output error
$ echo "More text" >>~/thinclient_drives/U\:/Downloads/temp.txt
bash: echo: write error: Input/output error

The first is fixed by changing the lookup functionality for remote files. The original lookup functionality only looks for file attributes in the local cache, even for remote files. Not only does this fail if the directory hasn't been read before, but long-term caching problems are introduced. This implementation always goes to the remote system to look for file attributes, relying on the fuse implementation to do any local caching.
The second of these is relatively simple; the open file functionality needs to have support added for O_WRONLY mode.
For the purpose of review and discussion, I've left this pull request as a series of four commits for now. The first two implement quite a few tidy-ups to the code, and the second two implement the features above.
I appreciate this is a fairly significant change, so I'm happy to split this up into separate pull requests if this helps.

Thank you for your great work! Make sure to pass CI test.

As an extra bit of info, I'm pretty sure, this PR addresses the issues raised in #996

Let's ship this to the upcoming v0.9.10 release.


Redo documentation

Right now the "docs" are spread out over a blog post, youtube video, and examples on the README. They are also incomplete. The wiki for this repository should consolidate existing information and be extended with more docs. Two kinds of documentation are needed most:

Overview of features: navigation, selection, transformation, replace-in, protocol to make new navigators,  higher-order navigators, precompilation, late-bound parameterization, recursive navigation, protocol paths
Reference documentation for built-in navigators: Should describe what they do and provide examples of usage.

Also need to document the zipper integration and provide examples that can be handled with zipper navigators that can't be handled by the typical navigators (ALL, keywords, etc.)

I think the biggest problem with the current state of documentation (using the source code as the docs) is that because specter has so many features, it's a bit difficult to tell what the core API functions/macros of specter are, especially since now they are split across multiple files, and currently transform, select, collect etc. don't have any doc strings at all.

Generated API docs: http://nathanmarz.github.io/specter/

A recipe book would be fantastic although the only person with enough experience with the library to write one probably doesn't have the time.
I'm working on some Specter Koans since I find the guided path the easiest to follow.
It would start off with simple select statements then transforms and eventually have the user writing custom navigators. I'll try to cover the whole API.

@gdeer81 That would be great

@nathanmarz https://github.com/gdeer81/specter-koans It's alive
I actually learned a lot writing it
The most difficult part is thinking of interestingly hairy data structures.
Also, I'm not sure how readable the problems are with the nested collections inlined with the problems.
I used let bindings so I could refer to it by name but then my tests went from
(= __ (form-to-contemplate))
and started looking like
(let [hairty-coll {{{{{{{...so much stuff..}}}}}}}] (= __ (select [ALL] hairy-coll)
I like having the blank hanging out to the far left and all the action happening on the other side.
In the next set of problems I might try deffing all the forms in the beginning and see if it makes the problems more readable or if its annoying having to refer back to the top of the file
The other thing I want to make sure is that the problems are good. Like I said, I'm learning a lot writing this but I want to make sure I'm presenting the library properly.
For each track I'm going to be scraping blogs, your talks, and examples from the documentation to get a solid set of problems.
Of course, if you have good examples all I need is   and I can convert it into a koan

@gdeer81 Great, as you make more I can look through and give you feedback.
FYI, I tried running it myself but I get this error:
Now meditate upon /Users/nathan/opensource/specter-koans/src/koans/01_selection.clj
---------------------
Assertion failed!
clojure.lang.ExceptionInfo: We shall contemplate selection by exploring navigation, first ALL
(= __ (= [1 2 3] (select [ALL] [1 2 3]))) {:line 7}, compiling:(/Users/nathan/opensource/specter-koans/src/koans/01_selection.clj:5:1)

Give a tip for specter users that on clojurescript, they should care about require/require-macros
Some usable examples like
(:require [com.rpl.specter :refer :all :refer-macros :all])
(:require [com.rpl.specter :as s :refer-macros [select transform]])

The specter wiki is now in its own repository so that pull requests can be made to it: https://github.com/nathanmarz/specter-wiki
Also, the issue tracker on that project can be used to record anything that needs to be improved in Specter's documentation.

A visualization tool for how navigators move through a data structure would be helpful, something like highlighting which parts of a data structure are currently navigated to as you move through a path.
Something that wouldn't be as good but would be easy to implement would be a visualize-path command that simply reduces through the path, showing what is navigated at each step. Example output:
(visualize-path [ALL :a even?] [{:a 1 :b 2} {:a 2} {:a 4}])

START
[{:a 1 :b 2} {:a 2} {:a 4}]

ALL
{:a 1 :b 2}
{:a 2}
{:a 4}

:a
1
2
4

even?
2
4

Getting this to visualize recursive paths and higher-order navigators in a useful way would be substantially harder, though just a basic implementation should still be helpful.

@nathanmarz I just now saw your comment about the koans failing when you tried to run it. That's how it is supposed to work. You were supposed to go to /Users/nathan/opensource/specter-koans/src/koans/01_selection.clj and look at line 7
you will see the code that it showed in the error message: (= __ (= [1 2 3] (select [ALL] [1 2 3])))
so then you fill in the blank so it looks like this (= true (= [1 2 3] (select [ALL] [1 2 3]))) since that expression evaluates to true
Then when you save the file you'll get another error that will say
clojure.lang.ExceptionInfo: To understand selection you must understand navigation (= __ (count (select [ALL odd?] [1 2 3]))) {:line 10}, compiling:(/Users/nathan/opensource/specter-koans/src/koans/01_selection.clj:5:1)
So you do the same thing, fill in the blank and save. If you put the correct answer in the blank it will move on to the next meditation that is blank, else it will stay on the current one until you have filled in the correct answer.
The answers are stored in koans.clj if you want to play around with it

@gdeer81 I started playing with your koans. Looks great! One thing I was expecting is to fill in the blanks myself, not just true/false.
Ie. in your example above, I think it would be more useful to have the blanks like that:
 (= __ (select [ALL] [1 2 3]))

It would make me think a little bit harder, not just guess if it looks alright or not but actually think about what it means and does. In my case I think would make me integrate/remember things better.

In addition to

Overview of features: navigation, selection, transformation, replace-in, protocol to make new navigators, higher-order navigators, precompilation, late-bound parameterization, recursive navigation, protocol paths

it would be very nice to have the API into a cheat-sheet, like https://clojure.org/api/cheatsheet and http://clojuredocs.org/quickref. The bonus point of a cheat-sheet is that you have to categorize it precisely, in a very fined-grained way.
I think the part I quoted just above is not even enough, because I'm sure that there are even other kind of functionality inside specter. Like collection (from collect) which I consider slightly different from selection, removal (NONE), indexed navigation vs. keyed navigation, predicates etc. So the first step would be to list ALL (see the pun?) of them concepts/functionality that are used in Specter, whether they're part of Specter or not (think data-structures for examples). Then define them, then categorize all APIs under those.
I'm willing to give a hand in the limits of my time, ability and understanding of Specter.

@DjebbZ That's a good idea. Such a cheatsheet could categorize most navigators by data structure type. An incomplete list:
Maps - keypath, must, ALL, MAP-VALS, MAP-KEYS, submap
Sequences - nthpath, ALL, filterer, srange, srange-dynamic, continuous-subseqs, BEFORE-ELEM, AFTER-ELEM, before-index, FIRST, LAST
Sets - subset, NONE-ELEM
Keywords/symbols - NAME, NAMESPACE
Then there are other kinds of navigators which aren't data structure specific, e.g. if-path, multi-path, subselect, and view. Those could be categorized separately.

That's a good beginning.
As a relative beginner to Specter (even if I managed to write a recursive navigator), I don't see value in categorizing by data structures only. If you look carefully at both cheatsheets I linked above, they group APIs sometimes by concrete data structures, sometimes by abstractions over data structures (sequences), sometimes by types of operations (flow control, concurrency, Java Interop etc.) etc. Then subgroup once, sometimes twice into more fine grained category : create, 'change', use, etc.
The goal IMHO would be to find both the proper vocabulary with respect to the current code base and names already chosen and the proper categorization. I love naming things, so I'd be extremely happy to review what you can come up with Nathan. I can try in my own, but my limited knowledge of Specter prevents me to cover everything.
I hope you appreciate (and agree!) with this proposal. At the end of the day I just want to become proficient with Specter, so much power and expressiveness here.

We're on the same page. Most of the navigators categorize by data structure, while the rest can have their own categorizations. Here's a list of categories which cover pretty much all of the navigators:
Maps
Sequences
Sets
Keywords/symbols
Atoms
Strings
Filters (e.g. pred, selected?)
Views (e.g. view, transformed, traversed, NIL->VECTOR)
Control (e.g. if-path, multi-path, stay-then-continue, STAY, STOP)
Value collection (e.g. DISPENSE, collect-one, collected?)
Multi-transform (terminal, terminal-val)
Some navigators belong in multiple categories and thus should be listed multiple times (e.g. srange for sequences and strings, ALL for maps, sequences, and sets).

Great, it's getting better.
I see you didn't reuse the category "replace-in" you mentionned earlier. I found it useful.
One small confusion though: there's no API specific to sets as sets are sequences, right? Also, the wiki mentions navigators for collections, but you didn't mention them above. I think it's useful to have collection as a kind of category (as a data structure) since it encompasses all Clojure's compound data structures.
A problem I see in putting data structures and others at the same level of categorization is that data structures are the object we operate on whereas the rest is the kind of navigation/operation we use on the object. This distinction is more easily materialized if we use "nouns" for the objects and verbs for the kinds of operation. So for me most (if not all) navigators will have at least one data structure and one navigator/operation. Ex: the first of the wiki AFTER-ELEM is a navigator on sequences (maps too?) which has the role of "replace-in". That's how I see it at least. Of course no need to be extremist if a word (or a few words) is better than a verb for instance. but I think it's the general direction to follow.
For the record I tried using the categories you mentioned to categorize all the navigators from the Navigators Wiki page, but stopped because:

it's getting late here, I need to sleep
I think we're too early in the discussion to try a draft

As I was trying to categorize I realized that several navigators have a different behavior when used in queries and in transforms. Not sure how to best materialize the difference yet. Ex: AFTER-ELEM makes almost no sense in queries since it returns com.rpl.specter.impl/NONE (so it's a not a "syntax" error to use it) but is useful in transforms.
Now on what's called macros in Specter. I think the naming is poor because it's a feature of Clojure and doesn't tell anything about their role in Specter. The README uses the term "operations" and then distinguish queries and transforms which is already much better. Although the wiki dedicated to them also use the wording "selection operations" for queries, which is fine too. Just need to choose one.
Then there are "macros" that are neither queries or transform:

collected?: it's used in paths like another navigators, so putting it into the macros page feels weird. I think you put it there from a technical point of view (it's a Clojure macro), but from a semantic point of view it makes little sense.
the various def. There is some categorization already in the dedicated wiki page but it's still about macros. Maybe a wording like "Defining your own paths/navigators" or "Custom paths/navigators".

The last point raises a concern:
Paths and navigators definitely need some definition. Below my current understanding in pseudo BNF style (far from a complete definition):
Usage: (Operation Path Data)
Operation: Query|Transform
Path: Navigator|Vector of Navigators
Data: User provided data structure to operate on.

Now I know all "macros" are not like this, but it helps to have a kinda formal definition of what an operation is and what a path is (this one is really useful). Of course the wording depends of all the categorization work above, so take it as a hint and not a proposal at all.
End of the comment it's really late for me. Looking forward to see your thoughts.

replace-in is an operation like select/transform, not a category.
Sets are not sequences. Specter's set-specific navigators are NONE-ELEM, subset, and set-elem.
I think "query" makes sense as a general term for select, traverse, select-any, etc.
In my last comment I was just outlining a categorization for navigators, but it does make sense for a cheat sheet to include the operations as well: select, select-any, select-one, select-one!, traverse, transform, setval, vtransform, replace-in. Makes sense to split a cheat sheet into two sections, one for operations and one for navigators.
collected? should be included under navigators section for "Value collection" category.
Regarding AFTER-ELEM, it's true that it is only really useful for transforms. But it still has sensible navigation behavior for queries. (and it's only for sequences)
There could be a final section on the cheat sheet for everything available for making new navigators: defnav, defrichnav, late-bound-nav, defdynamicnav, etc.

Based on your feedback I'm going to work on an outline of a cheatsheet. Will get back here, hopefully soon.

@DjebbZ Great! The specter wiki is in its own repository and you can make a pull request there: https://github.com/nathanmarz/specter-wiki

Truth is, every GitHub with a wiki has special repo where you suffix it
with .wiki, no need to create it.
So I already cloned locally from https://github.com/nathanmarz/specter
https://github.com/nathanmarz/specter-wiki.wiki
I hope to have something to show by the end of the day.
Le 11 févr. 2018 05:12, "Nathan Marz"<EMAIL_ADDRESS>a écrit :
@DjebbZ https://github.com/djebbz Great! The specter wiki is in its own
repository and you can make a pull request there:
https://github.com/nathanmarz/specter-wiki
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nathanmarz/specter/issues/56#issuecomment-364719307,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEt3lsr90ZCU4LEk1LaAydYb16SHJmZks5tTmjFgaJpZM4HPqse
.

Here we go https://github.com/nathanmarz/specter-wiki/pull/26
(The .wiki trick is a bad idea, impossible to fork it and push my changes...)

Another idea: a glossary of all Specter concepts. Based on this:

Overview of features: navigation, selection, transformation, replace-in, protocol to make new navigators, higher-order navigators, precompilation, late-bound parameterization, recursive navigation, protocol paths

I would also add the concept of a view to this list.
Willing to give a hand here too after the initial work on a cheat sheet is finished.

Sure, that would be great.

@nathanmarz Hi Nathan! It seems that Cheat Sheet link for vtransform is broken and the docs for this macro are still missing.


Provide the option of disabling/Enabling Shared/Isolated/L2 networks,

ISSUE TYPE
Enhancement/Improvement Request /Bug
COMPONENT NAME
Component: API/ UI
CLOUDSTACK VERSION
Cloudstack version 4.18,
SUMMARY
Provide the option of disabling/Enabling Shared/Isolated/L2 networks,
Steps to reproduce the issue

Create a Shared network

Click on edit network

Currently, the only option is to use the updateNetwork api call and update the parameter "displaynetwork"  or perform the action from UI

https://cloudstack.apache.org/api/apidocs-4.18/apis/updateNetwork.html

But once the network is displaynetwork is set to true, there is no option to enable it back from UI

Bug part

Also listNetwork api call doesn't list the networks where displaynetwork is set even when the  listall parameter is passeed

https://cloudstack.apache.org/api/apidocs-4.18/apis/listNetworks.html
list networks filter=name,displaynetwork, listall=true
Expected behavior
It would be great, if we can add enable/disable network option or provide an option to disable the display network, in the UI
or show some sort of filter column in the Ui for the list network page.
Currently the admin user has update the database or execute the api call  to display the network back again

display or not-display, not enable/disable, right ?

yes @weizhouapache ,
to allow to undo the on-display flag, we must display it, so an exemption to the non-display directive must be defined to do that. A trivial solution is the non-display networks are visible to admins, but then again they would have to not see them during deploy... I think this is overcomplicated for what we are trying to achieve for the user.

yes @weizhouapache ,
to allow to undo the on-display flag, we must display it, so an exemption to the non-display directive must be defined to do that. A trivial solution is the non-display networks are visible to admins, but then again they would have to not see them during deploy... I think this is overcomplicated for what we are trying to achieve for the user.

yes
we could add a switch button next to the "Projects". this is only for root admins, and applies on other resources (volumes, vm, etc) as well.
for the non-display networks, since they are not displayed, they should not be in the list of networks in vm deployment.

@kiranchavala  I'm struggling to see the use case.
Is the idea to disable a network so no new VMs can use it?

@alexandremattioli @DaanHoogland @weizhouapache
From the Ui point of view
As an admin user from the UI if I can disable "Display network"  for a particular network.  The admin user must also have the option to enable the "Display network" back.

The bug related to the issue is
Steps to reproduce the bug.

Create a isolated network

cmk >  create network name=test networkofferingid=1f106372-654f-40ab-abe4-c0258e1b51f1 zoneid=412fd1ab-8341-4fef-9d94-c178fd816613

Execute list networks

cmk>  list networks name=test
The output is displayed correctly

Update the network to disable the "Display network"

cmk >update network displaynetwork=false id=9ba79732-9e85-4f21-8af0-c930cece8010

Execute the list network api call again

cmk > list networks name=test
cmk > list networks listall=true
No response

Create a new network  say test2

cmk >  create network name=test2 networkofferingid=1f106372-654f-40ab-abe4-c0258e1b51f1 zoneid=412fd1ab-8341-4fef-9d94-c178fd816613

Execute the list network api call again name as test

cmk > list networks name=test
The api response displays that of test2 network which is incorrect

{
  "count": 1,
  "network": [
    {
      "account": "admin",
      "acltype": "Account",
      "broadcastdomaintype": "Vlan",
      "canusefordeploy": true,
      "cidr": "<IP_ADDRESS>/24",
      "created": "2024-02-09T10:08:33+0000",
      "details": {},
      "displaynetwork": true,
      "displaytext": "kiranisoaltednet2",
      "dns1": "<IP_ADDRESS>",
      "dns2": "<IP_ADDRESS>",
      "domain": "ROOT",
      "domainid": "6bd03bc7-c649-11ee-a7b4-1e006b0003e2",
      "egressdefaultpolicy": false,
      "gateway": "<IP_ADDRESS>",
      "hasannotations": false,
      "id": "abd4fd9c-7e9b-4662-b413-df55d0c76921",
      "ispersistent": false,
      "issystem": false,
      "name": "test2",

@kiranchavala and others If I'm understanding it right I guess we are mixing listall functionality with displaynetwork functionality.
displaynetwork param description says an optional field, whether to the display the network to the end user or not.
It is an admin only parameter to allow making network not viewable to the end user.
Later admin can list such networks using API, passing the same network:
> list networks displaynetwork=false filter=name,displaynetwork,
{
  "count": 1,
  "network": [
    {
      "displaynetwork": false,
      "name": "hidden-nw"
    }
  ]
}

Also, Kiran there is no param name in listNetworks API.
IMO, list* apis should list all resources for root admins irrespective of the value of displaynetwork, displayvm, displayvolume fields but we have prevented that for all types of accounts for a long, https://github.com/apache/cloudstack/commit/bbf5a912c61c42587f4403ea6f64301d421d3204


Fixes mutation reference to include ecommerce prefix

Follow-up from #2685. Also adds a changelog entry for that PR.

Hmm weird, I wonder why the tests failed now but not on Orta's original PR?

Oh I see, hmm. Our testing setup is a little brittle here. The Artwork view is next on the React Native rewrite list, so probably not worth it to invest into fixing it.

weirrrrdddd

could there be dummy data that needs the same change?


bumped serverless dependencies to fix compatibility issues /w byb-ass…

…ist-api service

tested byb-assist-api locally with this as local dependency and was able to run yarn sls step-functions-offline --stateMachine=FetchInspectionsStateMachine successfully


Delete tag (cascade delete)

It seems that the deleteTag command only works for tags with capitalised first letter.

The tags are parsed to be auto-capitalized, so it shouldn't be an issue.


Remove post_install hook

We should be using NVM. As such, the required version of Node must be installed before npm install is run. Therefore, users should probably run nvm use and npm install manually.

 Makes sense to me though, I've updated the docs re: nvm.

Fixed by #29 and #30


Error: No supported distribution was found for input microsoft

Description:
Error: No supported distribution was found for input microsoft.
Task version:
actions/setup-java@v2
Platform:
Using the runners hosted on k8s - https://github.com/actions-runner-controller/actions-runner-controller
Runner type:

[x] Self-hosted

Repro steps:
Adding the below steps to your workflow job
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-java@v2
        with:
          distribution: 'microsoft'
          java-version: '17'

Expected behavior:
Java installation to be completed successfully. Started throwing error from last 2 days
Actual behavior:
Error: No supported distribution was found for input microsoft

Why am I getting this?
@.*** @.***> *
Donna Murdoch
On Mon, 7 Mar 2022, 5:12 pm shettarvinay, @.***> wrote:

Description:
Error: No supported distribution was found for input microsoft.
Task version:
@.***
Platform:
Using the runners hosted on k8s -
https://github.com/actions-runner-controller/actions-runner-controller
Runner type:

Hosted
[ X] Self-hosted

Repro steps:
Adding the below steps to your workflow job
steps:
  - uses<EMAIL_ADDRESS>  - uses<EMAIL_ADDRESS>    with:
      distribution: 'microsoft'
      java-version: '17'

Expected behavior:
Java installation to be completed successfully. Started throwing error
from last 2 days
Actual behavior:
Error: No supported distribution was found for input microsoft
[image: image]
https://user-images.githubusercontent.com/8999590/156977959-1039dbc6-274e-415a-8895-13856e33b942.png
—
Reply to this email directly, view it on GitHub
https://github.com/actions/setup-java/issues/299, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVVEBHU5XDTGDIV2NBL7MELU6WM5PANCNFSM5QCKCC2Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Meaning ?

Hello @shettarvinay. Thank you for your report. Do you use GHES? I think the issue can be related to https://github.com/actions/setup-java/issues/240

Hello @shettarvinay just a gentle ping.

hey @dmitry-shibanov , we are now able to use the setup-java with microsoft versions (infact all supported versions). I personally didn't sync anything from my end, may be done at enterprise level.
But for sure, this was working all good and suddenly stopped working and we didn't find a fix for close to 3weeks, later when i tested after your comment, it was resolved already 😆

Hello @shettarvinay. Thank you for your report. Do you use GHES? I think the issue can be related to #240

Yes we are on GHES 3.3.5

Thank you for your response @shettarvinay . For now I'm going to close the issue. If you have any concerns feel free to ping us.


I'm using chewie ,Is there any way to play the video after re-entering  the app? And why chewie doesn't support udp file

...


centos install wrong

I tried to install cleverhans in my centos,but failed:
error in cleverhans setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
notes:pip method and clone is the same issue
anyone know the reasons, appreciate

thanks ,I solved it by change the setup.py install_requires mnist ~= 0.2 to mnist >= 0.2.
seem the centos is too old can't recognize the ~=.


Updated documentation with some examples on common errors

Added some improvements in the documentation for the Installation an CRUD modules based on a step by step App creation.

Is it possible that the documentation as it ends up on the twill website includes a "Last updated" time stamp ?

@arkid Yes, that's possible.
Will add that timestamp on my next pull request.
Thanks for the suggestion.

Reviewed and merged as part of 09e22483554b574c0137c824829ac5fedc2cd33e. Thank you so much @sauron!


Absolute rubbish

The instructions don't match the screenshot, documentation on this subject is apauling.

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

ID: 426842c5-260f-9180-e394-12b470163468
Version Independent ID: c781230d-4992-5e45-7e13-10d89f97a086
Content: Register a SaaS application - Azure Marketplace
Content Source: articles/marketplace/partner-center-portal/pc-saas-registration.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @arifgani
Microsoft Alias: argani

@rngDeadeye Thank you for your feedback. We will investigate and update the thread further.

@arifgani FYI.

Thanks for your feedback. We are incorporating this feedback into our internal planning for upcoming docs updates. #please-close


Is mass decay rate same as vanilla agar.io?

I felt some faster than agar.io.
It isn't?

It can be modified in:
PlayerDecayRate = .002
gameserver.ini

@Jhair2015 Oh yea I have some mistake.


Update: Enlightenment + EFL

EFL: 1.12.3 -> 1.13.1
Enlightenment: 1.19.3 -> 1.19.4

@matejc, a new version of Enlightenment arrived :)

Should be ready for merging now.

Tested locally, works fine. Thank you.


upload failed

What should I do?
`joni@pop-os:~$ imgur-screenshot
Please select area
Uploading '/home/joni/Pictures/imgur-2021_03_26-18:17:29.png'...
Upload failed: "{"data":{"id":"rT0ZuPf","title":"imgur-2021_03_26-18:17:29","description":null,"datetime":1616775455,"type":"image/png","animated":false,"width":1152,"height":520,"size":496062,"views":0,"bandwidth":0,"vote":null,"favorite":false,"nsfw":null,"section":null,"account_url":null,"account_id":0,"is_ad":false,"in_most_viral":false,"has_sound":false,"tags":[],"ad_type":0,"ad_url":"","edited":"0","in_gallery":false,"deletehash":"aLgOUDjAjI6oPVQ","name":"","link":"https://i.imgur.com/rT0ZuPf.png"},"success":true,"status":200}"
/home/joni/.local/bin/imgur-screenshot: line 285: jq: command not found
Failed to check for latest version:
`

install jq. https://github.com/jomo/imgur-screenshot#dependencies


Added Privacy Policy for Settings

What it Does

Closes #issueNumber
Describe what your change does

How I Tested

Add a list of steps to show the functionality of your feature
For example:
Run the application
Tap the (+) button
See this screen
etc...

Notes

Anything else that should be noted about how you implemented this feature?

Screenshot

Add a screenshot of your new feature! OR show a screen recording of it in action. (On the simulator press Cmd + R to record, and the stop button when done). This video should be no longer than 30 seconds.

@Oksenoyt Please fill out the PR template properly, it's still empty and using the default values. Also be sure to enter the issue number as shown with #issueNumber and when you click save it will automatically link the issue number

Be sure to always fill out PR information when making a PR to any project
I'll review this soon, thank you for contributing!


[Task]: Design static code rules for Ballerina

Description
Sub task of https://github.com/ballerina-platform/ballerina-lang/issues/43123.
Describe your task(s)
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

This design was reviewed by the team members and I was started the implementation


Make with_filter work also with the array syntax

In v0.21.0, the with_filter function corresponding to the filter search parameter can accept both array and string syntax:

string:
"filter": "genre = comedy AND price > 13"

array:
"filter": ["genre = comedy", "price > 13"]

Currently, only the string syntax is accepted:
index
  .search()
  .with_filter("value = \"The Social Network\" AND price < 3")
  .execute()
  .await

with_filter should accept both syntaxes, or another function allowing the array syntax should be added
tests must be added

⚠ This issue should be solved after #130 is merged

hey @curquiza , I want to work on this issue.
This might be a silly question but can you please answer it for me as this is my first contribution :) ?
I think that I need to add some other function ( such as with_array_filter ? ) and then can connect the items into a string and pass them through the original with_filter function and write some basic tests to ensure that it connects all of them properly?

hey @curquiza , I would like to work on this issue.
This might be a silly question but can you please answer it for me as this is my first contribution :) ?
I think that I need to add some other function ( such as with_array_filter ? ) and then can connect the items into a string and pass them through the original with_filter function and write some basic tests to ensure that it connects all of them properly?

hey @curquiza , I would like to work on this issue.
This might be a silly question but can you please answer it for me as this is my first contribution :) ?
I think that I need to add some other function ( such as with_array_filter ? ) and then can connect the items into a string and pass them through the original with_filter function and write some basic tests to ensure that it connects all of them properly?

That won't work due to lifetimes. with_filter takes a &str. What you can do is adding a new array_filters field on the struct (and the setter function of course).

Hello @heksadecimal and @Mubelotix!
Thanks @Mubelotix for your explanation. Feel free to open a PR @heksadecimal following the @Mubelotix's instructions :)


Nick: Watch playtunes.co

Nick requests the watch of the watch_keyword playtunes\.co. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

playtunes\.co has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


[HIPIFY] unsupported identifier warnings

I tried to migrate the cuda example (https://github.com/Ending2015a/ICCG0_CUDA) with hipconvertinplace-perl.sh.
Any suggestions on the unsupported identifier warnings ?  Thanks.
warning: iccg_solver.h:20: unsupported identifier "cusparseMatDescr"
warning: iccg_solver.h:21: unsupported identifier "cusparseMatDescr"
warning: solver.cu:77: unsupported identifier "cusparseSpMatDescr"
warning: solver.cu:81: unsupported identifier "cusparseDnVecDescr"
warning: solver.cu:84: unsupported identifier "cusparseDnVecDescr"
warning: solver.cu:87: unsupported identifier "cusparseDnVecDescr"
warning: solver.cu:103: removed identifier "cusparseDcsric0" since CUDA 11.0
warning: solver.cu:103: deprecated identifier "cusparseDcsric0" since CUDA 10.2
warning: solver.cu:103: unsupported identifier "cusparseDcsric0"
warning: solver.cu:113: removed identifier "cusparseDcsric0" since CUDA 11.0
warning: solver.cu:113: deprecated identifier "cusparseDcsric0" since CUDA 10.2
warning: solver.cu:113: unsupported identifier "cusparseDcsric0"
warning: solver.cu:117: removed identifier "cusparseDcsric0" since CUDA 11.0
warning: solver.cu:117: deprecated identifier "cusparseDcsric0" since CUDA 10.2
warning: solver.cu:117: unsupported identifier "cusparseDcsric0"
warning: solver.cu:121: unsupported identifier "csrsv2Info"

The warning unsupported identifier means that the identifier is not yet supported either by HIP API, ROC API, or corresponding ROCm HIP library. It might be function, define, or data type.
There is up-to-date information about supported/unsupported APIs: https://github.com/ROCm-Developer-Tools/HIPIFY/blob/amd-staging/docs/supported_apis.md#supported-cuda-apis

cusparseMatDescr is converted to hipsparseMatDescr by the translator. So the warning message may be confusing.

CUDA_R_32F => HIPBLAS_R_32F: 2
This is mapped to HIP_R_32F.

cusparseMatDescr is converted to hipsparseMatDescr by the translator. So the warning message may be confusing.

What kind of translators is meant?
The struct cusparseMatDescr is not translated to hipsparseMatDescr by HIPIFY tools, only the typedef struct cusparseMatDescr *cusparseMatDescr_t is translated to typedef void* hipsparseMatDescr_t, as hipSPARSE doesn't have a declaration of hipsparseMatDescr or any other struct corresponding to struct cusparseMatDescr. Thus, cusparseMatDescr is reported as unsupported by HIP.

CUDA_R_32F => HIPBLAS_R_32F: 2
This is mapped to HIP_R_32F.

Here you are right, typedef enum cudaDataType_t should be translated to the already presented in HIP typedef enum hipDataType, but hipDataType is not supported yet by all the HIP libraries. As for hipBLAS, there is a corresponding ticket https://github.com/ROCmSoftwarePlatform/hipBLAS/issues/366. Once it is fixed in hipBLAS, HIPIFY tools will be updated accordingly.

Thanks


Add more detail about AWS layout

Need to add more information about the default Rack configuration and how we take advantage of AWS to provide a stable deployment environment.

Explain ECS clusters and how capacity, scheduling works
Explain autoscaling group and how it handles AZ failure
Explain logging infrastructure
Explain build system

When I ran convox uninstall I was both shocked, amazed and delighted at the sheer number of things that were set up ... but I was a bit surprised.
Before I pressed "install rack", it would have been good to have a list of things that were about to happen, just so I knew what I was doing ahead of time.

how to shut down a rack when not in use (save money on instances i.e. staging) where spin-up time isn't an issue

Would be nice also to mention what sticks around after convox uninstall (S3 buckets, for instance).

 Guide: Deploy / Rack

 Docs: Rack


Why update_metrics utilizes so much of time.

I am trying to run train_imagenet.py on task3 from imagenet 2012.
I prepared the data set to recordIO format with 2562563 data shape.
with 25080 training samples, it takes around 20 hours to finish 20 epochs training with VGG network
And I found most of time, around 98% is spend by update_metrics function.
I also checked train_minst.py, and train_cifar10.py, both of them spend around 98% time on update_metrics too.
I utilized default update metrics functions provided by scripts.
I sounds really unreasonable, is there something wrong with my runnings ?

this is because mxnet runs asynchronizely, and update_metrics is the only point where the process block and wait for the prediction. So the time spent on update_metrics contains the time needed for forward operations, as well as previous backward updates

This is the same problem I had in #2204.
Is it that this metric is for information only and doesn't affect training at all? In my case I got 10x speed up by replacing the default accuracy metric with a dummy one.
If waiting for the prediction is where the program gets blocked, can this metric be evaluated asynchronously as well?

usually the speedup you observe was not really speedup, but the asynchronous executions that are pushed but not finished get counted as finished. It is usually fine to use the default evaluation metric provided.

tqchen,
Thanks for your feedback. How about _LIB.MXKVStorePush call, is it also working asynchronous ?
When I run on single node with local kvstore, it seems that the execution time of _LIB.MXKVStorePush (inside push method of kvstore.py) is much smaller than the execution time of MXKVStorePush (measured at c_api.cc). Why could this happen ?

I guess that was simply due to inaccurate estimate. The kv store ops are also async

Hi Tianqi,
Thanks for getting back to me.
I looked at kvstore codes under src/kvstore folder.
the kvstore defined in kvstore_local.h is utilized, It seems everything in this file works synchrony.
I think MXKVStorePush at c_api.cc is simple an wrapper to the Push method defined in kvstore_local.h. They have similar execution time, around 3 seconds for 1 epoch. To my understanding, _LIB.MXKVStorePush in python is to call MXKVStorePush in c_api.cc directly, as _LIB is just a ctypes class. But its execution time is much smaller, around 0.8 seconds. I think _LIB.MXKVStorePush should have similar execution time to MXKVStorePush at c_api.cc, despite whether async op or sync ops are used inside kvstore_local.h . Am I right ?


data not decrypted in sharding-tables scenario

Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:

Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
4.0.0-RC1
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
Expected behavior
data should be decrypted when sharding:encrypt-rules correctly configured (sharding-tables scenario)
Actual behavior

data decrypted when selecting all records
data not decrypted when selecting records with sharding-key specified

Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
configuratoin:
<sharding:data-source id="dataSource">
<sharding:sharding-rule data-source-names="sharding_ds">
sharding:table-rules
<sharding:table-rule logic-table="card_info" actual-data-nodes="sharding_ds.card_info_${0..1}" table-strategy-ref="preTableShardingStrategy"/>
</sharding:table-rules>
sharding:binding-table-rules
<sharding:binding-table-rule logic-tables="card_info"/>
</sharding:binding-table-rules>
sharding:encrypt-rules
<sharding:encryptor-rule id="card_encryptor" qualified-columns="card_info.card_pwd" type="AES" props-ref="props" />
</sharding:encrypt-rules>
</sharding:sharding-rule>
sharding:props
true
</sharding:props>
</sharding:data-source>

data decrypted
[ShardingSphere-SQL] - Logic SQL: SELECT
a.batch_no AS "batchNo",
a.type_id AS "cardType.id",
a.card_no AS "cardNo",
a.card_pwd AS "cardPwd",
b.name as "cardType.name",
FROM card_info a
left join card_type b on a.type_id = b.id limit 30

data not decrypted
[ShardingSphere-SQL] - Logic SQL: SELECT
a.batch_no AS "batchNo",
a.type_id AS "cardType.id",
a.card_no AS "cardNo",
a.card_pwd AS "cardPwd",
b.name as "cardType.name",
FROM card_info a
left join card_type b on a.type_id = b.id
WHERE  a.batch_no = ? limit 30

Example codes for reproduce this issue (such as a github link).

Can you use 4.0.0-RC2 to test?
I test your sceniro in 4.0.0-RC2, and it is ok

cannot find 4.0.0-RC2 at maven mvnrepository, where can i get 4.0.0-RC2

can you help share you test case?
i can still reproduce this issue when using 4.0.0-RC3-SNAPSHOT (build at local). I configure shardingsphere in spring namespace.

Thanks for your reply, if possible, can u upload your easy example to gitHub, can give me the url of your example? So i can detect the issue quickly.
@yishenghuang

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.


Update NOTICE.txt

Based on https://github.com/mattermost/mattermost-mobile/blob/release-1.44/package.json

/release-note-none

Cherry pick is scheduled.


Update packages documentation link for Flutter packages page

Hi Istvan,
We have some new Flutter documentation for Flutter packages, so can you please update this page:
https://pub.dartlang.org/flutter/packages
So that

link changes text from "Learn more about Flutter." to "Learn more about using packages with Flutter.", and
destination from "https://flutter.io/" to "https://flutter.io/using-packages/".

cc @isoos @kevmoo , I'm assuming this is a pretty trivial fix, so would love to see it made fairly soon!

That was fast :-) 👍


For a 0.1.3 release

Codecov Report

Merging #19 (2b6cb31) into master (affd56b) will decrease coverage by 0.76%.
The diff coverage is 92.00%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   88.33%   87.57%   -0.77%
==========================================
  Files           7        6       -1
  Lines         180      177       -3
==========================================
- Hits          159      155       -4
- Misses         21       22       +1

Impacted Files
Coverage Δ

src/bagofwords_transformer.jl
88.00% <ø> (ø)

src/bm25_transformer.jl
87.17% <80.00%> (-2.01%)
:arrow_down:

src/abstract_text_transformer.jl
75.86% <100.00%> (ø)

src/tfidf_transformer.jl
86.66% <100.00%> (-0.84%)
:arrow_down:

src/utils.jl
97.56% <100.00%> (-0.12%)
:arrow_down:

src/MLJText.jl

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 affd56b...2b6cb31. Read the comment docs.


[storage] Support get mvcc by ts

Support mvcc get ts read for debugging usage
curl http://<IP_ADDRESS>:10080/mvcc/txn/405179368526053377/test/t1

Returns the transaction commits/rollbacks up to the input startTs

@coocood @bobotu PTAL

@coocood @bobotu  PTAL

LGTM


.NET August 2021 Update - .NET 5.0.9, .NET Core 3.1.18 and .NET Core 2.1.30

Release Notes
5.0.9
3.1.18
2.1.30
Update:
The .NET Core 2.1.29 August update did not include the correct fix for CVE-2021-34532. To resolve this, we are re-releasing the August security update for .NET Core 2.1 as 2.1.30. If you have installed .NET Core 2.1.29 previously you need to install the .NET Core 2.1.30 update in order to be fully protected.
Note: .NET Core 3.1 and .NET 5.0 August updates are not affected and therefore not being re-released.
Please report any issues you find either by responding to this issue, creating a new issue or creating a new issue in one of the following repos:

dotnet/aspnetcore - for ASP.NET Core questions
dotnet/efcore - for Entity Framework Core questions
dotnet/sdk - for CLI tools and questions
dotnet/runtime - for runtime, API, or installer issues and questions
dotnet/winforms - for WinForms issues
dotnet/wpf - for WPF issues
nuget/home - for NuGet questions and issues

Status of availability of SDK on Microsoft's Linux feeds:

Distro
5.0.9
3.1.18
2.1.30

Ubuntu 16.04
✅
✅
✅

Ubuntu 18.04
✅
✅
✅

Ubuntu 20.04
✅
✅
✅

Ubuntu 21.04
✅
✅
✅

Centos 7
✅
✅
✅

Centos 8
✅
✅
✅

Debian 9
✅
✅
✅

Debian 10
✅
✅
✅

Fedora 33
✅
✅
✅

Fedora 34
✅
✅
✅

OpenSUSE 15
✅
✅
✅

SLES 12
✅
✅
✅

SLES15
✅
✅
✅

Note: This list refers to the Microsoft-provisioned feeds (packages.microsoft.com) and does not in any way represent direct availability in distros (eg RHEL, Fedora).
Known Issues
If there are any issues with this release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.

Att net

closing in favor of https://github.com/dotnet/core/issues/6687


Customizing Fonts

Is it possible to allow customizing fonts in the editor and the output?
I am recently working on a Tengwar notation so I need to introduce custom fonts for the editor and the output...

Version 0.2 already supports some style operations such as font size and color. I can add font family support with slight changes to the code.

@graphemecluster Docs about styles?

Will, but we haven’t released v0.2 yet.

Basically you return something like ({ f, b }) => f`Hello ${b`bold text`}`, but font isn’t supported yet.

May need font customization for the UX too (like the dropdowns).

因為這是系統字型或瀏覽器的功能，可以由用户自己解決（例如使用 CSS 插件）


contract has insufficient funds to support upload

RC2 Darwin
My file upload is struggling to get that last bit of redundancy. I keep getting these in the log. The contract is fully funded on my end (This is a test 8 KB image, working with a fresh 10 GB storage contract I just purchased).
2016/06/27 22:26:45.158351 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: contract has insufficient funds to support upload
2016/06/27 22:26:45.166990 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: contract has insufficient funds to support upload
2016/06/27 22:26:45.167656 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: host did not accept transaction signature: host unable to add sector despite having the storage capacity to do so
2016/06/27 22:26:50.172939 repair.go:278: repairing 1 chunks of<PHONE_NUMBER>804.jpg
2016/06/27 22:27:00.969904 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: contract has insufficient funds to support upload
2016/06/27 22:27:00.970927 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: contract has insufficient funds to support upload
2016/06/27 22:27:00.971647 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: host did not accept transaction signature: host unable to add sector despite having the storage capacity to do so
2016/06/27 22:27:05.976329 repair.go:278: repairing 1 chunks of<PHONE_NUMBER>804.jpg
2016/06/27 22:27:16.368748 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: contract has insufficient funds to support upload
2016/06/27 22:27:16.369647 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: contract has insufficient funds to support upload
2016/06/27 22:27:16.370332 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: host did not accept transaction signature: host unable to add sector despite having the storage capacity to do so
2016/06/27 22:27:21.380717 repair.go:278: repairing 1 chunks of<PHONE_NUMBER>804.jpg
2016/06/27 22:27:32.949370 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: contract has insufficient funds to support upload
2016/06/27 22:27:32.950547 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: contract has insufficient funds to support upload
2016/06/27 22:27:32.951344 repair.go:301: failed to upload to host <IP_ADDRESS>:9982: host did not accept transaction signature: host unable to add sector despite having the storage capacity to do so

These issues should be reported on the Sia repo, not Sia-UI
It's possible that the hosts increased their storage price. For example, if they initially set a price of 0, then the renter would allocate 0 coins to the contract. If they later increase their price, you won't be able to revise the contract.

Closing this issue since it's open in the Sia repo.


Fix latex label rendering.

When creating the latex labels in the calibration GUI, a .png of a matplotlib figure is created. The figure only includes text generated by latex. But, this text is rarely centered and can sometimes lead to the label being cut off by other GUI objects.
Look at:
-How to robustly center the label (check the latex.png file in the calibration folder, and utility.latex_translation.py).
-How to accurately size the label box such that it is not cut off.

This also includes the funky rendering of \alpha (approx. line 370 as of 11/15). For some reason, $\alpha$ cannot be rendered. But, other greek characters work fine. It may be a font problem? Or it could be fixed with r$\alpha$. Probably worth a stack overflow search.

This also includes the funky rendering of \alpha (approx. line 370 as of 11/15). For some reason, α cannot be rendered. But, other greek characters work fine. It may be a font problem? Or it could be fixed with r$\alpha$. Probably worth a stack overflow search.

This was fixed in a previous push. Still need to fix how the .png files are rendered.

Patched this to a reasonable working fidelity right now. Problem was in the tight_layout() command -- removing that centered everything else.


Support

Why did you abandon support for such a clean and concise library? After all, a lot of work was invested, it is clear that it was written in the image of another repository, but that one became more like a mess ...

Yes, it's a nice library. But looks like he is not maintaining this repository anymore.

hello , i had real life issues. i will continue maintaining. i appreciate any contribution.


Doc: Discord Button not redirecting to the discord page

Describe the documentation update needed
In the readme.md file the discord button is not redirecting you to the discord channel...rather it just reloads the page
Reason for Update
Discord button should be functional so that we can join the discord community
Proposed Changes
I suggest adding a Link to the discord button.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 contributor
[X] I want to work on this issue

Hey PA can u assing me this issue please as i have experience in working with FullStack development?


Please consider adding documentation

It would be great to have documentation explaining how this works. After spending about 2 hours investigating the code and issues, I’ve gathered the following points:

The sysroot is being compiled into MIR (but, you say modified standard library so I miss understanding).
Dependency libraries are also being executed by the interpreter.
There seems to be some kind of caching mechanism (changes to library files are not reflected unless a clean is performed).
Dummy files are being generated without compilation.
It appears to be related to rustc’s compile-time constants (https://rustc-dev-guide.rust-lang.org/const-eval/interpret.html).

However, I’m still not entirely sure how everything fits together. Also, some parts are deeply tied to rustc, making it challenging to read through the code.
Having documentation available would be greatly appreciated.

Thanks for your interest in Miri!
We don't have the resources to write and maintain a fully in-depth documentation of all the inner workings and implementation details of Miri. Such a document could easily fill a book. We do have documentation on how to use Miri and how to work on Miri, which doesn't seem to be what you are looking for, but it makes the issue title is also misleading by making it sound like we have no documentation.
So the question is: what would be the goal of this documentation? What is it you are trying to achieve? If you merely want to use Miri, most of these questions should not matter.

Miri is the most advanced implementation of an interpreter for Rust's mid-level intermediate representation. Therefore, I want to customize it, fork it, reference it, or contribute to it. This is why I need documentation.
The documentation I am seeking includes, among other things, an overview of the first two aspects mentioned above and systems that have been extracted outside of repositories like rustc. Without a clear understanding of the system's overall structure, it becomes quite challenging to delve into the code, hence the need for documentation.
It is very difficult, especially when the code you want to refer to may even be in RUSTC.
I would like at least a document that clearly outlines the responsibilities of the relevant code within rustc and the responsibilities of the code within this repository.

Okay, so it's mostly about the large-scale internal architecture. We do have plenty of comments explaining local small-scale concerns, and we have user-facing docs, but we don't have an architecture overview.
That's a fair point. However, I'm not sure I'll be able to prioritize it any time soon.
This depends on https://github.com/rust-lang/miri/issues/4108 -- we'd need a good place to put those kinds of docs first.


Detect Jottacloud cloud drive

Details of Changes

Added support for Jottacloud cloud drive.

Validation
How did you test these changes?

[x] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)

Apologies for circumventing the process of creating and discussing this as an issue, before submitting a PR. The required code was so trivial that basically no time was wasted, should you decide to reject this PR.

@tormodfj can you add your agreement to #7625?

Already done :+1: