[TESTPLAN] Full Test Plan for 1.0/GA for User, VMware 6.7, ACS <IP_ADDRESS>-SNAPSHOT

Note: for User role test exclude after Account/User feature, for DomainAdmin role exclude after Infrastructure (except for Offerings)
Common

[x] Project selector
[ ] Language selector
[ ] Notifications / clear notifications
[ ] Paginations
[ ] Profile
[x] Help
[ ] Logout
[ ] Context-sensitive help

Dashboard

[ ] Fetch latest
[ ] View hosts in alert state
[ ] View alerts
[ ] View events

Compute > Instances

[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Links
[ ] Filter by
[ ] Create new instance

Compute > Kubernetes

[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Links
[ ] Filter by
[ ] Add Kubernetes cluster
[ ] Start/stop a Kubernetes cluster
[ ] Scale Kubernetes cluster
[ ] Upgrade Kubernetes cluster
[ ] Delete Kubernetes cluster

Compute > Instances > selected instance

[ ] View console
[ ] Reboot instance
[ ] Update instance
[ ] Start/Stop instance
[ ] Reinstall instance
[ ] Take snapshot
[ ] Assign VM to backup offering
[ ] Attach ISO
[ ] Scale VM
[ ] Migrate instance to another host
[ ] Change affinity
[ ] Change service offering
[ ] Reset Instance Password
[ ] Assign Instance to Another Account
[ ] Network adapters
[ ] 	- Add network to VM
[ ] 	- Set default NIC
[ ] 	- Add/delete secondary IP address
[ ] 	- Delete VM network
[ ] Settings
[ ] 	- Add setting
[ ] 	- Update setting
[ ] 	- Delete setting
[ ] Add / delete comment
[ ] Add / delete tags
[ ] Links

Compute > Instance groups

[ ] Search
[ ] Sort
[ ] Links
[ ] New instance group

Compute > Instance groups > selected instance group

[ ] Links
[ ] Update instance group
[ ] Delete instance group

Compute > SSH Key Pairs

[ ] Search
[ ] Sorting
[ ] Links
[ ] New SSH key pair

Compute > SSH Key Pairs > selected SSH key pair

[ ] Links
[ ] Delete SSH key pair

Compute > Affinity Groups

[ ] Search
[ ] Sort
[ ] Links
[ ] New affinity group

Compute > Affinity Groups > selected affinity group

[ ] Links
[ ] Delete affinity group

Storage > Volumes

[ ] Basic earch
[ ] Extended search
[ ] Sort
[ ] Links
[ ] Create volume
[ ] Upload local volume
[ ] Upload volume from URL

Storage > Volumes > selected volume

[ ] Detach volume
[ ] Take snapshot
[ ] Recurring snapshot
[ ] Resize volume
[ ] Migrate volume
[ ] Download volume
[ ] Delete volume
[ ] Links
[ ] Add/delete tags

Storage > Snapshots

[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Links

Storage > Snapshots > selected snapshot

[ ] Links
[ ] Add/delete tags
[ ] Create template
[ ] Create volume
[ ] Revert snapshot
[ ] Delete snapshot

Storage > VM Snapshots

[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Links

Storage > VM Snapshots > selected snapshot

[ ] Links
[ ] Add/delete tags
[ ] Revert VM snapshot
[ ] Delete VM snapshot

Storage > Backups

[ ] Import offering
[ ] Configure backup provider (Veeam)
[ ] Create backup offering
[ ] Assign VM to backup offering
[ ] Revert to backup
[ ] Delete backup

Network > Guest networks

[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Links
[ ] Add network

Network > Guest networks > selected network

[ ] Links
[ ] Add/delete tags
[ ] Update network
[ ] Restart network
[ ] Delete network
[ ] Acquire new IP (only for isolated networks)
[ ] Replace ACL list(only for isolated networks)
[ ] Delete public IP address (only for isolated networks)
[ ] Add/delete egress rule (only for isolated networks)
[ ] Add/delete egress tags (only for isolated networks)

**Network > VPC **

[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Links
[ ] Add VPC

Network > VPC > selected VPC

[ ] Links
[ ] Update VPC
[ ] Restart VPC
[ ] Delete VPC
[ ] Networks
[ ] - Links
[ ] - Paginations
[ ] - Add network
[ ] - Add internal LB
[ ] Public IP addresses
[ ] - Links
[ ] - Pagination
[ ] - Select tier
[ ] - Acquire new IP
[ ] - Delete IP address
[ ] Network ACL Lists
[ ] - Links
[ ] - Pagination
[ ] - Add network ACL list
[ ] Private Gateways
[ ] - Links
[ ] - Pagination
[ ] - Add private gateway
[ ] VPN Gateway
[ ] - Links
[ ] VPN Connections
[ ] - Links
[ ] - Pagination
[ ] - Create Site-to-site VPN connection
[ ] Virtual routers
[ ] - Links
[ ] Add/delete tags

Network > Security groups

[ ] Search
[ ] Sort
[ ] Links
[ ] Add security group

Network > Security groups > selected security group

[ ] Links
[ ] Add/delete tags
[ ] Add ingress rule by CIDR
[ ] Add ingress rule by Account
[ ] Ingress rule - add/delete tags
[ ] Ingress rule - delete
[ ] Add egress rule by CIDR
[ ] Add egress rule by Account
[ ] Egress rule - add/delete tags
[ ] Egress rule - delete
[ ] Ingress/egress rules pagination

Network > Public IP Addresses

[ ] Search
[ ] Sort
[ ] Links
[ ] Acquire new IP

Network > Public IP Addresses > selected IP address

[ ] Links
[ ] Add/delete tags
[ ] Enable/Disable static NAT
[ ] Release IP
[ ] Firewall - add rule
[ ] Firewall rule - add/delete tags
[ ] Firewall rule - delete
[ ] VPN - Enable/Disable VPN
[ ] VPN - Manage VPN Users

Network > VPN Users

[ ] Links
[ ] Search
[ ] Sort
[ ] Add VPN user

Network > VPN Users > selected VPN user

[ ] Links
[ ] Delete VPN User

Network > VPN Customer Gateway

[ ] Links
[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Add VPN Customer Gateway

Network > VPN Customer Gateway > selected gateway

[ ] Links
[ ] Edit VPN Customer Gateway
[ ] Delete VPN Customer Gateway
[ ] Add/delete tags

Images > Templates

[ ] Links
[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Change order (move to the top/bottom, move one row up/down)
[ ] Register template
[ ] Upload local template

Images > Templates > selected template

[ ] Links
[ ] Add/delete tags
[ ] Edit template
[ ] Copy template
[ ] Update template permissions
[ ] Delete template
[ ] Download template
[ ] Zones pagination
[ ] Settings - add/edit/remove setting

Images > ISOs

[ ] Links
[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Change order (move to the top/bottom, move one row up/down)
[ ] Register ISO
[ ] Upload local ISO

Images > ISOs > selected ISO

[ ] Links
[ ] Add/delete tags
[ ] Edit ISO
[ ] Download ISO
[ ] Update ISO permissions
[ ] Copy ISO
[ ] Delete ISO
[ ] Zones - pagination

Images > Kubernetes ISOs

[ ] Links
[ ] Basic search
[ ] Sort
[ ] Refresh
[ ] Pagination
[ ] Enable/Disable
[ ] Add Kubernetes Version

Projects

[ ] Links
[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Switch to project
[ ] New project
[ ] Enter token
[ ] Project invitations

Projects > selected project

[ ] Links
[ ] Add/delete tags
[ ] Edit project
[ ] Suspend/Activate project
[ ] Add account to project
[ ] Accounts - Make account project owner
[ ] Accounts - Remove account from project
[ ] Delete project
[ ] Accounts - pagination
[ ] Resources - edit

Events

[ ] Links
[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Archive event
[ ] Delete event

Events > selected event

[ ] Links
[ ] Archive event
[ ] View event timeline
[ ] Delete event

Users

[ ] Links
[ ] Search
[ ] Sort
[ ] Add user

Accounts

[ ] Links
[ ] Search
[ ] Sort
[ ] Add account
[ ] Add LDAP account

Accounts > selected account

[ ] Links
[ ] Update account
[ ] Update resource count
[ ] Disable/enable account
[ ] Lock/unlock account
[ ] Add certificate
[ ] Delete account
[ ] Settings

Users > selected user

[ ] Links
[ ] Edit user
[ ] Change password
[ ] Generate keys
[ ] Disable/enable user
[ ] Delete user
[ ] Copy API Key
[ ] Copy Secret Key

Domains

[ ] Search
[ ] Expand/collapse
[ ] Add/delete note
[ ] Add domain
[ ] Edit domain
[ ] Delete domain
[ ] Update resource count
[ ] Link domain to LDAP Group/OU
[ ] Settings

Roles

[ ] Links
[ ] Search
[ ] Sort
[ ] Create role

Roles > selected role

[ ] Edit role
[ ] Delete role
[ ] Rules - add new rule
[ ] Rules - modify rule
[ ] Rules - delete rule
[ ] Rules - change rules order

Infrastructure > Summary

[ ] Links
[ ] Setup SSL certificate

Infrastructure > Zones

[ ] Links
[ ] Search
[ ] Sort
[ ] Pagination
[ ] Add zone

Infrastructure > Zones > selected zone

[ ] Links
[ ] Edit zone
[ ] Enable/disable zone
[ ] Enable/disable out-of-band management
[ ] Enable HA (disable?)
[ ] Add VMWare datacenter
[ ] Delete zone
[ ] Settings - edit

Infrastructure > Pods

[ ] Links
[ ] Search
[ ] Sort
[ ] Add Pod

Infrastructure > Pods > selected Pod

[ ] Links
[ ] Dedicate/Release Pod
[ ] Edit Pod
[ ] Disable/enable Pod
[ ] Delete Pod

Infrastructure > Clusters

[ ] Links
[ ] Search
[ ] Sort
[ ] Add Cluster

Infrastructure > Clusters > selected cluster

[ ] Links
[ ] Dedicate/Release cluster
[ ] Enable/disable cluster
[ ] Manage/unmanage cluster
[ ] Enable/disable out-of-band management
[ ] Enable/disable HA
[ ] Configure HA
[ ] Delete cluster
[ ] Settings - edit

Infrastructure > Hosts

[ ] Links
[ ] Search
[ ] Sort
[ ] Add host

Infrastructure > Hosts > selected host

[ ] Links
[ ] Add/delete notes
[ ] Dedicate/release host
[ ] Edit host
[ ] Force reconnect
[ ] Disable/enable host
[ ] Enable/cancel maintenance mode
[ ] Enable/disable out-of-band management
[ ] Enable/disale HA
[ ] Delete host (only if disabled)

Infrastructure > Primary Storage

[ ] Links
[ ] Search
[ ] Sort
[ ] Add Primary storage

Infrastructure > Primary Storage > selected primary storage

[ ] Links
[ ] Edit primary storage
[ ] Enable/cancel maintenance mode
[ ] Delete primary storage
[ ] Settings - edit

Infrastructure > Secondary Storage

[ ] Links
[ ] Search
[ ] Sort
[ ] Add Secondary storage

Infrastructure > Secondary Storage > selected secondary storage

[ ] Links
[ ] Delete secondary storage
[ ] Settings - edit

Infrastructure > System VMs

[ ] Links
[ ] Search
[ ] Sort

Infrastructure > System VMs > selected system VM

[ ] Links
[ ] View console
[ ] Start/Stop system VM
[ ] Reboot system VM
[ ] Change service offering
[ ] Migrate system VM
[ ] Run diagnostics
[ ] Get diagnostics data
[ ] Destroy system VM

Infrastructure > Virtual routers

[ ] Links
[ ] Search
[ ] Sort

Infrastructure > Virtual routers > selected virtual router

[ ] Links
[ ] View console (running)
[ ] Start/Stop router
[ ] Reboot router
[ ] Change service offering
[ ] Migrate router (running)
[ ] Run diagnostics (running)
[ ] Get diagnostics data
[ ] Destroy router

Infrastructure > Internal LB VMs

[ ] Links
[ ] Search
[ ] Sort

Infrastructure > Internal LB VMs > selected internal LB VM

[ ] Links
[ ] View console
[ ] Stop router
[ ] Migrate router

Infrastructure > CPU Sockets

[ ] Search
[ ] Sort

Infrastructure > Management servers

[ ] Links
[ ] Search
[ ] Sort

Infrastructure > Management servers > selected management server
Infrastructure > Alerts

[ ] Links
[ ] Search
[ ] Sort

Infrastructure > Alerts > selected alert

[ ] Archive alert
[ ] Delete alert

Offerings > Compute offerings

[ ] Links
[ ] Search
[ ] Sort
[ ] Add offering

Offerings > Compute offerings > selected offering

[ ] Links
[ ] Edit offering
[ ] Update offering access
[ ] Delete offering

Offerings > System offerings

[ ] Links
[ ] Search
[ ] Sort
[ ] Change order (move to the top/bottom, move one row up/down)
[ ] Add offering

Offerings > System offerings > selected offering

[ ] Edit offering
[ ] Delete offering

Offerings > Disk offerings

[ ] Links
[ ] Search
[ ] Sort
[ ] Change order (move to the top/bottom, move one row up/down)
[ ] Add offering

Offerings > Disk offerings > selected offering

[ ] Links
[ ] Edit offering
[ ] Update offering access
[ ] Delete offering

Offerings > Backup offerings
Offerings > Network offerings

[ ] Links
[ ] Search
[ ] Sort
[ ] Change order (move to the top/bottom, move one row up/down)
[ ] Add offering

Offerings > Network offerings > selected offering

[ ] Edit offering
[ ] Enable/Disable offering
[ ] Update offering access
[ ] Delete offering

Offerings > VPC offerings

[ ] Links
[ ] Search
[ ] Sort
[ ] Change order
[ ] Add offering

Offerings > VPC offerings > selected offering

[ ] Links
[ ] Add / delete tags
[ ] Edit offering
[ ] Enable/Disable offering
[ ] Update offering access
[ ] Delete offering

Configuration > Global settings

[ ] Links
[ ] Search
[ ] Sort
[ ] Edit value

Configuration > LDAP Configuration

[ ] Links
[ ] Search
[ ] Sort
[ ] Configure LDAP

Configuration > LDAP Configuration > selected LDAP configuration

[ ] TBD

Configuration > Hypervisor capabilities

[ ] Data
[ ] Search
[ ] Sort

Opened just for testing the template, closing now


Please provide Windows arm64 binaries

VSCode recently started shipping binaries for Windows arm64 https://twitter.com/joaomoreno/status/1266005299661545474
It would be useful for rust-analyzer to be available as well.

You can build rust-analyzer yourself for now.

rust-analyzer is now available via rustup, that I think should build more platforms.

Windows arm64 is now supported at Tier 2 as a host environment. It would be good to make it a supported environment here as well.

Windows arm64 is now supported at Tier 2 as a host environment. It would be good to make it a supported environment here as well.

Hopefully implemented in #7148, #7151, #7155, but we'll see tomorrow.

Hopefully implemented in #7148, #7151, #7155, but we'll see tomorrow.

Thanks - do you know when those changes will go live? The nightly extension I just downloaded still has the old code which does not accept aarch64. @lnicola

Thanks - do you know when those changes will go live? The nightly extension I just downloaded still has the old code which does not accept aarch64. @lnicola

The builds are triggered at 00:00 UTC and take about an hour, probably due to the scarcity of the MacOS 11 runners.. The latest nightly is at https://github.com/rust-analyzer/rust-analyzer/releases/tag/nightly.
Also, the message was shown only when trying to download there server binary, and that was fine since there were no binaries for this platform. But the extension still worked fine if you built your own server binary and set rust-analyzer.serverPath to point to it.

The builds are triggered at 00:00 UTC and take about an hour, probably due to the scarcity of the MacOS 11 runners.. The latest nightly is at https://github.com/rust-analyzer/rust-analyzer/releases/tag/nightly.
Also, the message was shown only when trying to download there server binary, and that was fine since there were no binaries for this platform. But the extension still worked fine if you built your own server binary and set rust-analyzer.serverPath to point to it.


Select2 Multiple - Style Issues

Select2 Multiple seems to have some style issues, see:
Before: http://joxi.ru/8Anz9YYTbR9MAO
After: http://joxi.ru/zANejXXTEZLM29
(See https://github.com/Laravel-Backpack/CRUD/issues/717#issuecomment-305993723)
@splodgeco reports this fix (see https://github.com/Laravel-Backpack/CRUD/issues/717#issuecomment-307745595).

#746 fixes this

Merged, it's now on dev, thank you!


How to use it in the LAN?

Make runs can run normally.However, I want to use it in the LAN. I tried the following command, but none of them succeeded.
server(<IP_ADDRESS>):

./out/tty-server --url http://<IP_ADDRESS>:8090  --web_address <IP_ADDRESS>:8090 --sender_address :7654 -frontend_path ./frontend/public
sudo  ./out/tty-server --url http://<IP_ADDRESS>   --sender_address :7654 -frontend_path ./frontend/public

As you can see, I tried it twice on the server.
client(<IP_ADDRESS>):

./out/tty-share --useTLS=false --server localhost:7654

web(<IP_ADDRESS>)
http://<IP_ADDRESS>:8090/s/qjeU3w5wrfckB-4yNQLsn6GbgpU_5fT8XQ0azTTpD1Y=
I received lERR_ADDRESS_UNREACHABLE
How can I work?

Hey @ggyyll . The way you tried it, looks good at first sight. But the ADDRESS_UNREACHABLE error you get sounds more like a network problem - your "web" <IP_ADDRESS> machine cannot reach the other machine <IP_ADDRESS>, where you run the server. Did you check to see if the two hosts can talk to each other?

./out/tty-server --url http://<IP_ADDRESS>:8090 --web_address <IP_ADDRESS>:8090 --sender_address :7654

./out/tty-server --url http://<IP_ADDRESS>:8090 --web_address <IP_ADDRESS>:8090 --sender_address :7654

I assume that the setup is the same as in your first comment, where you run the server and tty-share on the host <IP_ADDRESS>, and then the browser on <IP_ADDRESS> host. In that case,
can you try again with --web_address <IP_ADDRESS>:8090 or just --web_address :8090 instead of --web_address <IP_ADDRESS>:8090? Then in your browser try to open http://<IP_ADDRESS>:8090/s/somerandomtexdthere . If you still get ADDRESS_UNREACHABLE then the two hosts/IPs can't talk with each other. Can you ping <IP_ADDRESS> from <IP_ADDRESS>?

thank you very much, my iptables is a little problem.Now can work


DRAFT: Miscellaneous MUI styling fixes

This PR addresses two issues:

#5
#7

Testing

Prepare your local environment as described in the project's README (package installation, node version selection, etc.)
Launch MEME's Admin panel and create a group with two users (to test Comment read styling)
Log in with the first user you created.
Create some new entities and outcomes. Refresh the page and do the same. Note that they appear on page. This tests the behavior reported in #7.
Create a few new comments. Note that there are no warnings in the console when doing so. This tests the behavior reported in #5.
Open a separate browser window and log in as the second user that you created.
Look at the Comment button in the toolbar, it should have a "unread" state (it will look like a chat bubble with text).
Open the comments
Note that the Comment button switches to a solid filled chat bubble indicating that the comments have been read.

Developer Notes
The fixed issues are related to MUI components that were partially migrated from MUI v4 to v5. These changes revolve around including the styled utility, properly wrapping components to inject styles, and misc. styling fixes to accommodate other changes.

Hey @ben, @dsri
Claimfixed: #5, #7
This PR does some MUI styling component conversions which may overlap or be rendered unnecessary by your recent decision to move off of MUI entirely.


ListBox was Listbox at few places

Just fixed a few typos.
And normalized the use of text Listbox to ListBox in docs to avoid any confusion.

That definitely needed to be fixed in the import example, but the versions in the <h3> tags will need to be reverted. These follow two conventions:

When spelled out, for humans to read, it's Listbox. Capital case (example)
For components, we utilize camel case for consistency, so ListBox

If you don't mind doing that, otherwise I don't mind grabbing that on my either. Either way!

Went ahead and handled the title reverts. Merging now! Thanks for the contribution!


For ImageIO coder, if the image is scaled down, then we need to modify the original image data pointer

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: #2026
Pull Request Description
We should keep previous behavior. So for shouldScaleDown options, we need to modify the original image data after we sucessfully scaled down the image.

Codecov Report

Merging #2074 into master will increase coverage by 0.16%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2074      +/-   ##
==========================================
+ Coverage   78.61%   78.77%   +0.16%
==========================================
  Files          33       33
  Lines        3334     3341       +7
==========================================
+ Hits         2621     2632      +11
+ Misses        713      709       -4

Impacted Files
Coverage Δ

SDWebImage/SDWebImageImageIOCoder.m
80.95% <100%> (+1.36%)
:arrow_up:

SDWebImage/SDWebImageWebPCoder.m
81.74% <0%> (-0.82%)
:arrow_down:

SDWebImage/NSData+ImageContentType.m
74.41% <0%> (+6.97%)
:arrow_up:

Continue to review full report at Codecov.

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


Admin APIs for ERROR Segments

I'd be helpful to have an API to get all segments in ERROR state for a table, and then be able to reset all of these segments. Right now, we've to get these segments from the EV, filter, and curl to the reset endpoint from inside a pod. Declarative APIs for these would be really handy, thanks!

#10239 adds the support to reset all ERROR segments within a table
cc @zhtaoxiang

Ah, this solves it! I think this issue can be closed then.


How to configure the environment correctly to run with pyenv and create the python versions.

I've been following the project. And I saw that he now supports pyenv.
I did not understand how to make them work together. I use pyenv a long time.
I tested the lines added in the lasts commit.
$ py -c "import os; print (bool (os.environ.get ('PYENV_SHELL')) or bool (os.environ.get ('PYENV_ROOT')))"

True # Exit the shell

What should I do to make it work?
Thanks in advance for the help :grimacing:

Try this (where 3.5 is a python you don't have installed):
$ mkdir newproject
$ cd newproject

$ pipenv install requests --python 3.5

I've documented this here: http://docs.pipenv.org/en/latest/advanced.html#automatic-python-installation

I get this log
$ pipenv install requests --python 3.0.1
Warning: Python 3.0 was not found on your system…
You can specify specific versions of Python with:
  $ pipenv --python path/to/python

:disappointed:
Do I need to configure some environment variable for pipenv?

Do you have pyenv installed and activated? if so, you should have either PYENV_ROOT or PYENV_SHELL set

Also, it's $ pipenv install requests --python 3.0. We don't support specifying patch releases.

Also, we don't support 3.0.

No one devs for 3.0. Try 3.3.

The list is here:
https://github.com/kennethreitz/pipenv/blob/master/pipenv/cli.py#L364

This is my setup.
$ pyenv --version
pyenv 1.1.3

$ echo $PYENV_ROOT
/home/coderpy/.pyenv

$ echo $PYENV_SHELL
zsh

I'm doing tests to adopt pipenv for all projects.

It worked now, thank you Kenneth :sparkles: :cake: :sparkles:


Return file name from lc.create_list_for(url='channel_url')

Merging this PR into master since there's been no activity on this PR nor on the original issue.
If something is missing, please reopen Issue 4, add a comment here, or do both. 🙂


species and refs are empty lists in some of r.KMvalues.items() while it doesn't look like this in the original txt-data and in the online version of Brenda

Hello,
Sorry to bother you again. I'm not sure, but probably I noticed something unexpected again. Here is an example:
`brenda = BRENDA(brenda_txt_file)
for r in brenda.reactions:
if r.ec_number == "<IP_ADDRESS>":
for met,vals in r.KMvalues.items():
print("EC:",r.ec_number, "metab:", met, "data:",str(vals))`
The output of which has empty lists in species and refs:
EC: <IP_ADDRESS> metab: 4alpha-methyl-5alpha-cholestan-3beta-ol data: [{'value': 0.125, 'species': [], 'meta': '#2# at pH 7.4 and37Â°C <11>', 'refs': []}]
However, when I go to both Brenda-txt and online version of Brenda, I see that this Km value is from Rattus norvegicus.
I didn't go into the details of your code, but probably empty species output is due to slightly different line pattern for this case (as well as some other cases): "PR      #2# Rattus norvegicus   (#2# isoform RBCK1 <1>) <1,2,11,12,13>"  [most lines of PR don't have a part with "(...)"]. Sorry if it's due to any intentional aspect to omit these data in your parser.
Thank you!
Best regards,
Polina

Thank you! Sorry for bothering you

No problem, thank you for finding out these bugs! sorry for the very late reply. I fixed the issue of parsing species in the new version of the code. Closing this issue for now, feel free to reopen or open a different issue.


Independent font setting for notebook output

@chungmoklee commented on Wed May 05 2021

As far as know, there is no separate setting for notebook output font setting now.
(Correct me if I am mistaken about this)
I often want to reduce the font size and line space in the notebook output so that condensed information can be displayed.
Thanks in advance!

@DonJayamanne commented on Thu May 06 2021
Thanks for filing this issue, I don't think we have plans on supporting this at our end.
With the new Native Notebooks VS Code owns the output and the font settings.
Transferring issue to VS Code.

Something to mention related here. Non-monospaced fonts can look really bad in dataframe output in particular. https://github.com/microsoft/vscode-jupyter/issues/6546

Another issue is that the line spacing is inconsistent in code and the notebook output and the terminal.  See this example:

Also, the font of Notebook output is inconsistent: the font of the output (middle) is different from that of editor (top) and terminal (bottom):

I took this screenshot on VS Code 1.59 for Linux. No font settings are applied.

Starting from today, for whatever reason, in all of my vscode notebooks, the output is no longer rendered as monospace; rather, it's the default browser font (some sans):

I've triple-checked all of my user/workspace settings, and there's nothing related to this. What could have cause this and how does one change it back to monospace?..
(It makes it extremely hard to work with any notebooks)

For anyone else affected, you can temporarily set styles in your notebooks sort of like so:
from IPython.core.display import HTML
HTML(r"""
<style>
    .output {
        font-family: Monaco, Menlo, monospace !important;
        line-height: 1.2 !important;
        font-size: 12px !important;
    }

    .output-plaintext, .output-stream {
        font-family: Monaco, Menlo, monospace !important;
        line-height: 1.2 !important;
        font-size: 12px !important;
    }
</style>
""")

But this is an ugly hack, works for one notebook only, and I hope someone can answer what's the current story with notebook output fonts?

PLEASE change the font behaviour back to what it was in the previous version. And may I please ask the team to see if they can improve their QA procedures before releasing a new version as I instantly picked up this issue the second I had to re-open VS Code, so in my view, this is not acceptable. It might seem like a minor nuisance to some, but when you have been working for weeks on a series of notebooks and suddenly your work looks messed up for no logical reason at all, it becomes a major annoyance.

PLEASE change the font behaviour back to what it was in the previous version.

Since it would need to be fixed anyway, the best way to go would be to move 2 steps forward and finally allow users to set notebook.output.fontSize and notebook.output.fontFamily (and for extra kicks, notebook.output.lineHeight).
IIUC, if it  can be done via a triivial CSS hack, it should also be trivial to add it to the settings? (and keep the default font-family the same as the terminal font / editor font / whichever - most importantly, monospace)

Since it would need to be fixed anyway, the best way to go would be to move 2 steps forward and finally allow users to set notebook.output.fontSize and notebook.output.fontFamily (and for extra kicks, notebook.output.lineHeight).
IIUC, if it can be done via a triivial CSS hack, it should also be trivial to add it to the settings? (and keep the default font-family the same as the terminal font / editor font / whichever - most importantly, monospace)

You might be right, and I might just be confused, but I am not sure it is quite the same as the trivial hack. For example, compare the .show() output of a PySpark vs a Pandas DataFrame .head() in 1.64.2. The one needs monospace, the other doesn't use (or need) it. And then more subtle things, like if you show your spark session with simply spark there is a mix in the output of monospace for the warnings and then the specific formatting for the actual SparkContext display.
The trivial CSS hack just forces everything to monospace and equally makes it "ugly" but at least everything is aligned. Things were perfect (in my opinion) before, so for now I just went back to the old version, and if this font issue stays I guess I will be stuck on this version until some fancy new feature arrives I just have to have.

Since it would need to be fixed anyway, the best way to go would be to move 2 steps forward and finally allow users to set notebook.output.fontSize and notebook.output.fontFamily (and for extra kicks, notebook.output.lineHeight).
IIUC, if it can be done via a triivial CSS hack, it should also be trivial to add it to the settings? (and keep the default font-family the same as the terminal font / editor font / whichever - most importantly, monospace)

You might be right, and I might just be confused, but I am not sure it is quite the same as the trivial hack. For example, compare the .show() output of a PySpark vs a Pandas DataFrame .head() in 1.64.2. The one needs monospace, the other doesn't use (or need) it. And then more subtle things, like if you show your spark session with simply spark there is a mix in the output of monospace for the warnings and then the specific formatting for the actual SparkContext display.
The trivial CSS hack just forces everything to monospace and equally makes it "ugly" but at least everything is aligned. Things were perfect (in my opinion) before, so for now I just went back to the old version, and if this font issue stays I guess I will be stuck on this version until some fancy new feature arrives I just have to have.

There's separate CSS classes, e.g. .output-stream or .output-plaintext, for when you print() stuff or for output results if it's not a rich-repr object - it's this part that should be configurable. Please let us configure fonts (and most importantly, font size! and maybe line-height) of output-stream and output-plaintext. It's not a cosmetic thing for stdout-heavy notebooks.
DataFrames and the like are more like overrides (their custom reprs output HTML, for dataframes it's .dataframe inside .output_container > .output) and should be formatted as they previously were - i.e. as long as .output is untouched, it should be all fine. You can try experimenting by removing .output in the css hack above and see what it does.

@aldanor Thanks for the hack. Is there any way to make the monospaced font sans-serif? I tried a couple of different fonts, but they are all serif.

verification steps:
create some output for a notebook or an interactive window
change the settings notebook: output line height, notebook: output font size, notebook: output font family and the corresponding fallback editor options and verify the output uses them


Is vrf a reserved key in topology in a testbed definition?

I couldn't find documentation on the vrf key, but it looks like either pyATS or Genie want to do something special with it.  I was attempting to use it as a custom key.
A snippet of my testbed example topology:
topology:
  spine1:
    interfaces:
      Ethernet1/1:
        ipv4: <IP_ADDRESS>/31
        link: spine1-to-leaf1
        type: ethernet
      Ethernet1/2:
        ipv4: <IP_ADDRESS>/31
        link: spine1-to-leaf2
        type: ethernet
      Ethernet1/3:
        ipv4: <IP_ADDRESS>/31
        link: border1-to-spine1
        type: ethernet
      Ethernet1/4:
        ipv4: <IP_ADDRESS>/31
        link: border2-to-spine1
        type: ethernet
      mgmt0:
        ipv4: <IP_ADDRESS>
        link: spine1-mgmt0
        type: ethernet
        vrf: management

This results in the following error:
2018-12-17T13:43:07: %AETEST-ERROR: Caught exception during execution:
2018-12-17T13:43:07: %AETEST-ERROR: Traceback (most recent call last):
2018-12-17T13:43:07: %AETEST-ERROR:   File "/home/tyler/nfs/Projects/netdevops/pyats/example.py", line 40, in genie_init
2018-12-17T13:43:07: %AETEST-ERROR:     Genie.init(testbed=testbed)
2018-12-17T13:43:07: %AETEST-ERROR:   File "src/genie/conf/main.py", line 90, in genie.conf.main.Genie.init
2018-12-17T13:43:07: %AETEST-ERROR:   File "src/genie/conf/utils/converter.py", line 60, in genie.conf.utils.converter.Converter.convert_tb
2018-12-17T13:43:07: %AETEST-ERROR:   File "src/genie/conf/utils/converter.py", line 164, in genie.conf.utils.converter.Converter.convert_device
2018-12-17T13:43:07: %AETEST-ERROR:   File "src/genie/conf/utils/converter.py", line 231, in genie.conf.utils.converter.Converter.convert_interface
2018-12-17T13:43:07: %AETEST-ERROR:   File "src/genie/decorator.py", line 1168, in genie.decorator.managedattribute.__set__
2018-12-17T13:43:07: %AETEST-ERROR:   File "src/genie/decorator.py", line 781, in genie.decorator.managedattribute._default_setter
2018-12-17T13:43:07: %AETEST-ERROR:   File "src/genie/decorator.py", line 704, in genie.decorator.managedattribute._transform
2018-12-17T13:43:07: %AETEST-ERROR: ValueError: management: Not None. Not an instance of Vrf.

I tried to find this in the pyATS documentation for the topology schema here, but I came up with nothing.  I could go code spelunking, but I'd also like to know if this is a bug, an intended feature, or if I'm just doing it wrong.
For now, I've worked around this by making the key custom_vrf and updating my code accordingly.
Thanks!

Hi Tyler,
"vrf" is a reserved word within the "interface" object but it is not a reserved word to be used anywhere else in the testbed yaml file.
Hope that answered your question!
Thanks,
Karim

Great!  Thanks, @karmoham.  Any hint as to its use?  Is it simply reserved because of the object in Python, or does it have a use in the testbed YAML as well?

Hi Tyler,
It is a managed attribute of the Genie "interface" object.
Source code is here https://github.com/CiscoTestAutomation/genielibs/blob/master/pkgs/conf-pkg/src/genie/libs/conf/interface/init.py#L178

If you are interested in knowing how managed attributes work you can get the details from the following documentation https://developer.cisco.com/site/pyats/docs/packages/
Thanks,
Karim

Great.  Thank you!


Create docker image pipeline

Create a pipeline for building the latest OddDotNet API and pushing to dockerhub.

Apparently I finished this as part of the GitVersion work. This is complete.


Fix/timers memory leak

These days i have been trying to hunt down memory leaks in my xamarin forms application. I was using this code:
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;

namespace MyApp
{
    public static class Refs
    {
        private static ConcurrentQueue<WeakReference> _refs = new();

        public static void AddRef(object p)
        {
            _refs.Enqueue(new WeakReference(p));
        }

        private static void Collect()
        {
            GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced);
            GC.WaitForPendingFinalizers();
            GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced);
        }

        public static void Inspect()
        {
            Collect();
            ConcurrentQueue<WeakReference> remainingRefs = new();

            Dictionary<string, int> count = new();
            foreach (var myref in _refs)
            {
                object obj = myref.Target;
                if (obj != null)
                {
                    string k = obj.GetType().FullName;
                    if (count.TryGetValue(k, out int v))
                    {
                        count[k] = v + 1;
                    }
                    else
                    {
                        count[k] = 1;
                    }
                    remainingRefs.Enqueue(myref);
                }
            }
            System.Diagnostics.Debug.WriteLine("\n\n\n----------\nInspect refs\n\n");
            foreach (var kv in count)
            {
                System.Diagnostics.Debug.WriteLine($"{kv.Key} = {kv.Value}");
            }
            System.Diagnostics.Debug.WriteLine("\n---------\n\n\n");
            _refs = remainingRefs;
        }

        public static void Clear()
        {
            _refs.Clear();
        }
    }
}

In every view / viewmodel of my application I was calling Refs.AddRef(this) to track if the object was being leaked or not.
This code allow to see what object is still not collected when calling Inspect() and to count them by type.
To detect leaks , by calling the Inspect() on the xamarin.android part of my xamarin.forms , just after the mainactivity is destroyed (but the app is not killed), i start the app again and again (without killing the process by swiping the app) and each time I look if the number of object that are still alive is increasing or not.
After investigation, by means of commenting large part of codes (halves by halves) to eliminate parts, I found out that the mapcontrol was basically making my whole UI view hierarchy leak.
A little more investigation, i found out that you use timers (there is two , one for the render loop and one for the animations)
these two timers , despite not begin of the same class, they both are disposables, but they are never disposed.
I dont know exactly about the implementations of timers, but i guess that the runtime has to keep a global references on currently active timers somewhere to keep track of them and actually trigger them on time, so if they are not disposed they are never going to be collected , alongside everything these timer references... Disposing the timer seems to remove that global reference.
for example the timer inside the animation class that is inside the navigator:

the Timer is referenced globally by the runtime (somehow...)
Timer has a reference on the Animation instance because of  the HandleTimerElapse member method being registered as an event handler on the timer.
the Animation instance has a reference on the Navigator instance because of AnimationTimerTick member method being an event handler
the Navigator has a reference on the MapControl because of member method Navigated being event handler
in xamarin forms the mapcontrol is a regular view and has basically reference to the whole UI Hierachy because the way the xamarin forms hierarchy is implemented (Element type has a Parent property referencing their parent)

To sum up: (Runtime or some kind of global static) -> Timer -> Animation -> Navigator -> MapControl (-> optionally rest of application being referenced from there).
Thanks to the mark and sweep garbage collector if we cut off the first arrow by disposing the timer, everything else can be garbage collected, even if there are circular references.
So in the case where the mapcontrol is in the mainview of a xamarin forms application, if the application is closed with the back button on android, the activity is destroyed (but the process is not killed).
If you restart the application a whole new UI hierarchy may be instantiated (i think there may be ways to avoid that, but this is the way the visual studio template does it. I think it is probably best to stick with it, because when the app is terminated in background, I would like that my app uses as little memory as possible). At this point the whole UI hierarchy has been leaked by the timers.
I think that my pull request is far from perfect but this is an first step to show what needs to be done (this is affecting not only xamarin forms but all platform since the timers are in shared code ...). Currently in my application I have taken directly the mapsui code with modifications instead of using the nugets (i added some extra logic to  always unsubscribe all event handlers in dispose including the OnGLPaintSurface and OnPaintSurface out of prevention, i did not actually test if these event handlers created any leaks ...)

The pull request looks good for me. The Maui build failure was introduced in an earlier pull request

@tmijieux Thanks a lot for your rigorous work and methodic approach.
A few remark before I merge.

The PR updates 2 MapControls but there are more. This means the other still have the memory leak?
Would it be somehow possible to add you testing code to Mapsui. It would perhaps already be useful for manual testing. Automatic testing would be great.
This is not part of the scope of this PR but I created an issue with respect to Timers. Perhaps we could have no timers at all. This way we could perhaps avoid the dispose implementations. https://github.com/Mapsui/Mapsui/issues/1395

The PR updates 2 MapControls but there are more. This means the other still have the memory leak?

Yes i think, this is affecting not only xamarin forms but all platform since the timers are in shared code ....
At first i wanted to put Dispose() and Dipose(bool) in the shared part. But i saw it is not possible because for example on android , the MapControl inherits from ViewGroup which is xamarin-android peer object (linked with an object in java world) that is inheriting from Java.Lang.Object and already implements the Dispose pattern. So the solution is maybe to implement the dispose pattern in each platform but my knowledge about other platforms beyond Xamarin.Forms and Android is very limited. So I did not look into it yet because i was focused on my own application which is xamarin.forms.

Would it be somehow possible to add you testing code to Mapsui. It would perhaps already be useful for manual testing. Automatic testing would be great.

I know we can probably do test like this to test for leaks:
[Test]
public void Test_Leak()
{
    MyLeakyObject leaky = new();
    WeakRef wr = new(leaky);
    leaky.DoStuff();

    leaky = null;

    GC.Collect();
    GC.WaitForPendingFinalizers();
    GC.Collect();

    Assert.IsFalse(wr.IsAlive);
}

For the test code that i used. I have to add  Refs.AddRef(this) into all ctor of objects that i want to test for leaks, so i dont think we can put this kind of code instrumentation directly in the library, unless we protect this with a preprocessor condition limited to debug builds? I can try to setup  it in one or two sample xf apps.

I tried with PR #1397 to remove timers from animations. Do you think, this helps?


[nrf noup] boards: thingy53_nrf5340: Set MCUBoot to use all of RAM

Change enables MCUBoot to use all available RAM on thingy53 as it require more RAM than what is reserved as secure. This will make thingy53 a little bit less secure than our other boards. Since this is a prototype board I think it should be okay as we require the enabled MCUBoot features for it to be programmable without a debugger.
Jira: NCSDK-17250
Signed-off-by: Sigvart Hovland<EMAIL_ADDRESS>

Related nRF PR that requires this change https://github.com/nrfconnect/sdk-nrf/pull/9780

Moved the Kconfig default out of Zephyr and into NCS

https://github.com/nrfconnect/sdk-nrf/pull/9780/files#diff-20a0ebbac4434a507dd7e71b80070ffa6d2d99756fbda1fe2ccb08a78007e86cR118


Package upload fails with internal server error (with twine and setuptools)

When I try to upload the attached package, I get an internal server error. Can anyone tell me what is wrong?
packaging_tutorial.zip

When I attempt to publish these distributions, this is the error I'm seeing:
HTTPError: 400 Client Error: Invalid value for classifiers. Error: Classifier 'License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE' is not a valid classifier. for url: http://localhost/legacy/

This classifier is not a valid classifier. Valid classifiers are listed at https://pypi.org/classifiers.
If I make this change, the upload succeeds:
-         "License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE",
+         "License :: OSI Approved :: GNU General Public License (GPL)",

When I attempt to publish these distributions, this is the error I'm seeing:
HTTPError: 400 Client Error: Invalid value for classifiers. Error: Classifier 'License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE' is not a valid classifier. for url: http://localhost/legacy/

This classifier is not a valid classifier. Valid classifiers are listed at https://pypi.org/classifiers.
If I make this change, the upload succeeds:
-         "License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE",
+         "License :: OSI Approved :: GNU General Public License (GPL)",

That is weird, I get a different error. It is the error below (I also get this error when I make the change you suggest):
Received "500: Internal Server Error" Package upload appears to have failed.  Retry 5 of 5
Content received from server:

Internal Server Error

Internal Server Error

HTTPError: 500 Server Error: Internal Server Error for url: https://test.pypi.org/legacy/

Hi @josine-cqm, can you give us some more details? How are you authenticating? What user on pypi.org are you trying to upload with? What version of twine are you using?

Hi @di ,
Here are the details you asked for:

I use testpypi for uploading:
python setup.py sdist bdist_wheel
then
python -m twine upload --repository testpypi dist/*
My python version is 3.7.6
I am authenticating with __token__  and pypi-<password>
(following the tutorial on https://packaging.python.org/tutorials/packaging-projects/)
my testpypi user is josine_cqm
this is my twine version:

Hi @josine-cqm, can you try to make an upload again and then tell me exactly what time you got this error? That way I can correlate this error to an exception in our backend.

Hi @di ,
I tried it just now again. At 9:29 Dutch time.

Here's the corresponding exception: https://sentry.io/share/issue/8737571d268f41ae9eef2d12279882d2/
It looks like your API token is malformed. You said you're using pypi-<password>, is the string after pypi- your actual password, or an API token that was generated for this project on TestPyPI?

It actually seems like the token being provided is 'pypi-', with just a single space instead of the token value.

And looks like it's not in fact an empty space, but this character: https://www.utf8icons.com/character/65533/replacement-character

Thanks for your fast response. That means the actual problem is that the password was wrong (it turns out I did an incorrect copy-paste). How come I did not get an authentication error like I get when I enter a password pypi-0?
With a correct copy paste, I got a successful upload. So thank you!

Great, ultimately this is a duplicate of #7434 then, so I'm going to close. Thanks for the report!


monero-gui: <IP_ADDRESS> -> <IP_ADDRESS>

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/monero-project/monero-gui/releases.
meta.description for monero-gui is: Private, secure, untraceable currency
meta.homepage for monero-gui is: https://getmonero.org/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS> with grep in /nix/store/vnbd3bahlhxzl9n8d72l1jmz55hn5vq7-monero-gui-<IP_ADDRESS>
found <IP_ADDRESS> in filename of file in /nix/store/vnbd3bahlhxzl9n8d72l1jmz55hn5vq7-monero-gui-<IP_ADDRESS>

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
monero-gui

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vnbd3bahlhxzl9n8d72l1jmz55hn5vq7-monero-gui-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A monero-gui https://github.com/r-ryantm/nixpkgs/archive/92d09785062512757d9c422aeda7937f6dbf5567.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vnbd3bahlhxzl9n8d72l1jmz55hn5vq7-monero-gui-<IP_ADDRESS>
ls -la /nix/store/vnbd3bahlhxzl9n8d72l1jmz55hn5vq7-monero-gui-<IP_ADDRESS>/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

monero-gui

Maintainer pings
cc @rnhmjoj for testing.

Closing as monero-cli and monero-gui need to be updated in sync.


make admin.conf -> .kube/config non-executable

Almost certainly, the .kube/config file (YAML) should not be executable.

I think there is most certainly more places this should be fixed.

I isn't that bad. Focusing on my context, I did not walk the global scope. While I was at it, I had a look at what @woopstar suggested: 0700 files are mostly directories and shell-scripts. I added the one exception I found to the branch.

ci check this

Thanks for your work!


OC integration - getMissingItems ignores missing fluids (and not getMissingFluids())

https://github.com/raoulvdberge/refinedstorage/blob/68e857cc9c32f996c599db4223e38267e45f66b8/src/main/java/com/raoulvdberge/refinedstorage/integration/oc/EnvironmentNetwork.java#L117
getMissingItems returns just missing items from crafting task; it ignores missing fluids.
But there is not getMissingFluids() - please ass information about missing fluids as well.

This is a duplicate of #1907

Sorry, that one had no description and title was not exactly what I had in mind.
I just reported that there is no way to check if request will fail or not; fluid autocrafting works as long as fluids are there :-)

No problem, I understand.


Added word count function and sample script

I left some in-line comments, but I also have a few other thoughts.

Do we want to store the word count in dictionaries? I guess the data set is not that large, but it might be useful to have it stored as a pandas data frame or numpy array if we will be accessing it often.

Does it take a long time to run? Is that why you put in the break? We may want to try to optimize this script for speed if we think we will have to use it a lot in the future.

In response to your comments, Alicia:

Dictionaries are very easy to reference for this sort of data, because you can just call it by the word. I think it would be more difficult to reference a pandas data frame, but could be convinced otherwise.
It doesn't take too long to run, but longer than I wanted to wait while testing and developing the code.


Feature request: Add capillary BG, for instance when sensor is warming up/not reading, or enable fetch of manually added BG in NS.

This would be useful when sensor is not working as blood glucose source, in order to always keep looping

+1 I wished for this feature just this morning when my sensor stopped and I have not yet received a new box.

+1 I wished for this feature just this morning when my sensor stopped and I have not yet received a new box.

You can use this app for adding capillary BG readings to FreeAPS X and to NS. It's a really great CGM app for European Libre 2 sensors also. https://github.com/creepymonster/LibreDirectApp

Implemented as Health Kit integration


Refactoring 2

Related Issue
Follow up for #476
Description of Changes
Start adding Section Components
Start adding Card Components

kaafi cheeje distort horhi h...... Actually previous PR caused change in footer:

This caused when tailwind you set colors.. may be there color are also to be added

kaafi cheeje distort horhi h...... Actually previous PR caused change in footer:
This caused when tailwind you set colors.. may be there color are also to be added

I know about this, even while creating this PR it is my biggest concern as this may cause even more distortion but I am planning that after completing card and section component and once you approved them I will fix these things.

That's cool!! Noted

Have a look at card components, still a couple of components are remaining.

wow, those are cool.

Indeed it's a great pR @Isha988 ........ reviewing these changes @anmode

@Isha988 as it distorted the UI, it is good to complete other components in this PR only.

@Isha988 as it distorted the UI, it is good to complete other components in this PR only. after which you can fix them.

Okay, can you please list all the misalignments or kind of distortion appeared.

See the preview,

Visit footer
Visit mentor page ( cards)
Visit any mentor profile

Okay.

@anmode and @Riyazul555  Section and Profile components completed.

I am bit confused that is Section component needed or not, I have just created it by having uniformity in my mind. Have your views on this.
I don't why this prettier is getting failed even after running its command
Will fix mentors page in next pr, if you agree.

All changes are cool Isha, Liked It,

No worries of prettier.
If you wanna other PR - Do one thing create a branch from refactoring-2 and apply the fixes ( use your created components and fix the text size too).
All set thanks a lot for this.

Okay, will do it like this.


Consensus upgrade to allow contracts to read code version of any account

Background
A smart contract deployed on an EOSIO blockchain may depend on another contract deployed to another account. The dependency can be in the form of read-only access to the tables of the other contract directly or in the form of calling certain actions of the other contract and expecting them to behave in a certain way. However, smart contracts will typically be upgraded over time to fix bugs and add features.
While it is possible for the account that the contract is deployed on to nullify its permissions in a way that makes the contract immutable (short of privileged actions taken by a super-majority of BPs), this is not recommended practice since there will always be bugs discovered or reasons to need to update the contract code in order to just maintain the same behavior that users of the contract expect (note that giving up one extreme of immutability does not require going to the other extreme of a single developer unilaterally and instantly being able to update the contract; EOSIO enables the possibility of middle-ground solutions, but that is beyond the scope of this document). Even for smart contracts that are not meant to change, the specific behavior of the code may need to be tweaked either because: a bug was discovered and the code needs to be modified to match the intent of the code that both the developers and users of the contract agreed upon (as described by the Ricardian contract); or a dependency of the contract (or the platform itself) changes behavior after a sufficient deprecation period in a way that requires the contract to be updated to use new patterns/intrinsics/actions to maintain its same behavior going forward.
A smart contract that depends on another smart contract may wish to play it safe and automatically shut down its functionality (in an effort to protect its users) if a smart contract that it depends on but does not fully control has changed compared to the pinned version that it knows was safe (perhaps because auditors it trusts have fed in a specific version of the contract dependency as safe to use).
For example, it may be desirable for a contract deployed on account contracta to only send an inline action contractb::foo authorized with the contracta@active permission to the contract deployed on account contractb if it is confident that the behavior of contractb::bar will be identical to that which was concluded by the contract developer at the time of writing the contract. Perhaps they are concerned about contractb changing its behavior during the contractb::bar action to bill contracta more RAM than expected. So the contract developer may want to include the hash of the WASM code that is deployed on contractb in a table accessible to contracta and write code in the contract deployed on contracta to actually assert that the current code hash of contractb matches the store hash in the table prior to sending the inline action.
Or perhaps checking the code hash is not conservative enough. An audit of the contract code that was deployed to contractb may have led to the conclusion that calling the contractb::foo action is safe (for whatever definition of safety that the developer chose) assuming the deployed contract is the exact same code as the one that was audited AND only that specific code had write access to a specific subset of the contract's tables for the entire lifetime of those particular tables. This may be because the audited code was only proven to be safe if certain invariants about the table records held true. However, a malicious controller of the contractb account could replace the original contract (that has hash H1) with another contract (that has hash H2) which messes up the tables before then resetting the contract back to the original contract with hash H1. This would fool the contract deployed to contracta if it only pinned to the code hash H1. However, if the contract instead pinned to a code sequence number (something that incremented on every eosio::setcode call), it would be safe from this scenario as well.
Furthermore, the ability to check the code hash and/or code sequence number of an arbitrary account (or at least assert that they hold specified values) can be used by an assertion smart contract that assists clients/wallets. A client could craft a transaction to assert that the contract code of the other actions used in the transaction have not changed since the time the transaction was signed.
Consensus upgrade feature
The goal of this consensus upgrade feature is to allow any contract to read the current code hash and code sequence number of any account.
A new consensus upgrade feature will be added to trigger the changes described in this consensus upgrade proposal. The actual digest for the feature understood at the blockchain level is to be determined. For the purposes of this proposal the codename CODE_VERSION will be use to stand-in for whatever the feature identifier will actually end up being.
New intrinsic get_code_version
A new intrinsic uint64_t get_code_version( const account_name& account, int64_t& last_code_update_time, fc::sha256& code_hash ) should be added to the authorization_api.
The get_code_version intrinsic will assert that the specified account exists, set the specified account's code_version value from account_object into code_hash, set the specified account's last_code_update.time_since_epoch().count() value from account_object into last_code_update_time, and return the specified account's code_sequence value from account_sequence_object.
Contracts should only be able to link with this intrinsic after CODE_VERSION activation.

This issue depends on #6429 and #6437. It will also be setup by default to be a protocol feature requiring pre-activation, thus it also depends on #6431.

Does anyone know why this issue is still open?

Documentation reference: For the read-only queries feature, one of the fields returned from a query is the code hash, so users of that (upcoming) API can track the contract version across queries.


Implement control flow

This PR adds three new opcodes: "Jump", "Conditional jump if true" and "Go to".
"Jump": 0x70 -- offsets the program counter by the given amount
"Conditional jump if true": 0x71 -- offsets the program counter by the given amount if a condition is met
"Go to": 0x72 -- changes the program counter to the given offset
reference.txt was updated accordingly
NOTE: For some reason updating reference.txt causes the build to fail?

For some reason updating reference.txt causes the build to fail?

I'm not sure it aligns with my goals for Sherwood

I'm extremely hesitant to hand arbitrary control of the instruction pointer to users

Sorry! This is the only way I know how to implement control flow.
In order to resolve this, maybe hold a dictionary (idk what they are called in Crystal I just looked at your code :P) of labels and their insp vals. Then, when you use one, simply compile it as a insp value. This way you don't hand over the entire system to users, but allow for some flexibility.

In order to resolve this...

Most likely, my solution would be similar to this, but minus the compilation step. Once the file has been parsed into distinct Opcodes, it would be fairly easy to scan through for labels and build a mapping of them before execution, which would then be used as a jump table. In fact, that's the entire reason I pre-parse in the first place, though it does have some other benefits =)

Closed in favor of #3.


elastalert install fails

Someone posted a similar error on this but with not resolution and I was wondering if anyone has a solution to this error on the install:
TypeError: 'NoneType' object is not callable
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
func(_targs, *_kargs)
File "/usr/lib64/python2.6/multiprocessing/util.py", line 258, in _exit_functi                                                                             on
info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
func(_targs, *_kargs)
File "/usr/lib64/python2.6/multiprocessing/util.py", line 258, in _exit_functi                                                                             on
info('process shutting down')
TypeError: 'NoneType' object is not callable

I am having the same issue. Not able to install ElastAlert due to this error.
+1

I am having the same issue. Not able to install ElastAlert due to this error.
+1

Upgrading python to 2.7.9 seems to fixed it.


enhanceLimit the number of partitions for table creation

Proposed changes
Issue Number: close #xxx
Creating too many partitions is time-consuming, so limiting the number of partitions
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


"all" build is missing in 0.8.6

Hi,
Until v0.8.5, an "all" build was made available in the releases (with all the supported providers built-in), ie.: https://github.com/GoogleCloudPlatform/terraformer/releases/download/0.8.5/terraformer-all-linux-amd64
It's not the case anymore for v0.8.6: is this just a temporary missing build or is it a decision on your side to not build it?
Thanks!
Kind regards,
Stephane

bug...
Fixed uploaded
Thanks!


Update hyprlock.conf

Fixes Rendering Issue #3

@jaybobsilver does this config file work for you?

I replaced my current config with that, and the placeholder text simply does not appear. It is replaced with the generic Input Password placeholder text. Removing the tags around the text does make the correct text appear, however.

I replaced my current config with that, and the placeholder text does not appear. It is replaced with the generic Input Password text. However, when I apply the changes to my own config the proper text appears. A quick glance between the two and I'm still unsure why. Here is my whole config:
source = $HOME/.config/hypr/colorscheme/macchiato.conf

$accent = $lavender
$accent2 = $lavenderAlpha
$text2 = $textAlpha
$text = $text
$font = JetBrainsMono Nerd Font

# GENERAL
general {
    disable_loading_bar = true
    hide_cursor = true
    grace = 300
}

# BACKGROUND
background {
    monitor =
    path = $HOME/Pictures/Wallpapers/SMACS0723_3840x2160.png # .png only for now...
    blur_passes = 0
    color = $base
# All these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
    blur_passes = 2 # 0 disables blurring
    blur_size = 2
    noise = 0.0117
    contrast = 0.8916
    brightness = 0.8172
    vibrancy = 0.1696
    vibrancy_darkness = 0.0
}

# TIME
label {
    monitor =
    text = cmd[update:30] echo "$(date +"%r")"
    color = $text
    font_size = 60
    font_family = $font
    position = -30, 0
    halign = right
    valign = top
}

# DATE
label {
    monitor =
    text = cmd[update:43200000] echo "$(date +"%a, %b. %d %Y")"
    color = $text
    font_size = 20
    font_family = $font
    position = -30, -100
    halign = right
    valign = top
}

# USER AVATAR

image {
    monitor =
    path = $HOME/.face
    size = 100
    border_color = $accent
    position = 0, 75
    halign = center
    valign = center
}

# INPUT FIELD
input-field {
    monitor =
    size = 300, 60
    outline_thickness = 2
    dots_size = 0.2
    dots_spacing = 0.15
    dots_center = true
    outer_color = $accent
    inner_color = $surface0
    font_color = rgb(cad3f5)
    fade_on_empty = false
    fade_timeout = 1000 # in ms
   # placeholder_text = 󰌾 Logged in as $USER
   placeholder_text = 󰌾 Logged in as $USER
    hide_input = false
    check_color = $accent
    fail_color = $red
    fail_transition = 300
    fail_text = $FAIL ($ATTEMPTS)
    capslock_color = $yellow
    numlock_color = $peach
    invert_numlock = true
    check_color = $green
    position = 0, -35
    halign = center
    valign = center
}

so if u just completely replace it is broken, yet if u manually change the lines its not? is that what you meant by

I replaced my current config with that, and the placeholder text does not appear. It is replaced with the generic Input Password text. However, when I apply the changes to my own config the proper text appears.

Maybe I should use whiskers to generate all files automatically. Like this

I replaced my current config with that, and the placeholder text does not appear. It is replaced with the generic Input Password text. However, when I apply the changes to my own config the proper text appears. A quick glance between the two and I'm still unsure why. Here is my whole config:
source = $HOME/.config/hypr/colorscheme/macchiato.conf

$accent = $lavender
$accent2 = $lavenderAlpha
$text2 = $textAlpha
$text = $text
$font = JetBrainsMono Nerd Font

# GENERAL
general {
    disable_loading_bar = true
    hide_cursor = true
    grace = 300
}

# BACKGROUND
background {
    monitor =
    path = $HOME/Pictures/Wallpapers/SMACS0723_3840x2160.png # .png only for now...
    blur_passes = 0
    color = $base
# All these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
    blur_passes = 2 # 0 disables blurring
    blur_size = 2
    noise = 0.0117
    contrast = 0.8916
    brightness = 0.8172
    vibrancy = 0.1696
    vibrancy_darkness = 0.0
}

# TIME
label {
    monitor =
    text = cmd[update:30] echo "$(date +"%r")"
    color = $text
    font_size = 60
    font_family = $font
    position = -30, 0
    halign = right
    valign = top
}

# DATE
label {
    monitor =
    text = cmd[update:43200000] echo "$(date +"%a, %b. %d %Y")"
    color = $text
    font_size = 20
    font_family = $font
    position = -30, -100
    halign = right
    valign = top
}

# USER AVATAR

image {
    monitor =
    path = $HOME/.face
    size = 100
    border_color = $accent
    position = 0, 75
    halign = center
    valign = center
}

# INPUT FIELD
input-field {
    monitor =
    size = 300, 60
    outline_thickness = 2
    dots_size = 0.2
    dots_spacing = 0.15
    dots_center = true
    outer_color = $accent
    inner_color = $surface0
    font_color = rgb(cad3f5)
    fade_on_empty = false
    fade_timeout = 1000 # in ms
   # placeholder_text = 󰌾 Logged in as $USER
   placeholder_text = 󰌾 Logged in as $USER
    hide_input = false
    check_color = $accent
    fail_color = $red
    fail_transition = 300
    fail_text = $FAIL ($ATTEMPTS)
    capslock_color = $yellow
    numlock_color = $peach
    invert_numlock = true
    check_color = $green
    position = 0, -35
    halign = center
    valign = center
}

Does this work?
$font = JetBrainsMono Nerd Font

# GENERAL
general {
    disable_loading_bar = true
    hide_cursor = true
}

# BACKGROUND
background {
    monitor =
    path = ~/.config/background
    blur_passes = 0
    color = $base
}

# TIME
label {
    monitor =
    text = cmd[update:30000] echo "$(date +"%R")"
    color = rgb(cad3f5)
    font_size = 90
    font_family = $font
    position = -30, 0
    halign = right
    valign = top
}

# DATE
label {
    monitor =
    text = cmd[update:43200000] echo "$(date +"%A, %d %B %Y")"
    color = rgb(cad3f5)
    font_size = 25
    font_family = $font
    position = -30, -150
    halign = right
    valign = top
}

# USER AVATAR

image {
    monitor =
    path = ~/.face
    size = 100
    border_color = int(b7bdf8)

    position = 0, 75
    halign = center
    valign = center
}

# INPUT FIELD
input-field {
    monitor =
    size = 300, 60
    outline_thickness = 4
    dots_size = 0.2
    dots_spacing = 0.2
    dots_center = true
    outer_color = int(b7bdf8)
    inner_color = rgb(363a4f)
    font_color = rgb(cad3f5)
    fade_on_empty = false
    placeholder_text = 󰌾 Logged in as $USER
    hide_input = false
    check_color = rgb(b7bdf8)
    fail_color = rgb(ed8796)
    fail_text = $FAIL ($ATTEMPTS)
    capslock_color = rgb(eed49f)
    position = 0, -35
    halign = center
    valign = center
}

Yes it Does, just it doesnt show the accent color as much as mine does

So, maybe I'll use that version instead of theme file from Hyprland repo


chore: 'rework string types' section in the 'Data types' chapter

Related to https://github.com/cairo-book/cairo-book/issues/585.
I've started rewriting the 'string types' section in the 'Data types' chapter.
In the issue, you talk about a dedicated page for ByteArray. So, for 'ByteArray' strings, I don't know if I have to explain more things or if we will just pointing to this dedicated page for more details.

This change is

great, can you add a commented TODO in the markdown document to remind us to add a link to a future ByteArray chapter?

Oups, I forgot to push my last modification ! I wrote a small paragraph about 'ByteArray' string, at least to give an example of what it is.
TODO comment added 👍


How to keep only last build's artifacts without having to rebuild everything?

How to keep only the last build's artifacts without having to rebuild everything?

Currently you will have to use the stamp and file loading features outlined in the README.
I.e cargo sweep -s then cargo build, cargo test etc and finally cargo sweep -f.
This is due to limitations in the information provided in Cargo and the way Travis etc handles caching.
Does this not work for you?

A full rebuild takes hours for my project, so I want to avoid that..

Thanks, I did this now. Unfortunately it also deleted all my frontend artifacts, requiring me to rebuild the whole yew/wasm frontend (cargo web deploy)..
Is there a way to keep the artifacts of the latest build of BOTH backend and frontend? (Both are crates in the same workspace.)

Ah that is not very good, and might be a bug with multiple crates in the same workspace.
Just to make sure though, when you built the system, did you build both the front end and backend, or just the backend?

Okay, that is very strange. Is your project open source by any chance? In that case I could try and take a look specifically on your project and try to find the problem.
And might I ask you with platform you are on/building for?
Will hopefully have time to look at this this weekend and integrate it as part of 0.3.0 if it is indeed a bug.

@holmgr And now this build of the backend failed with hundreds of errors like this:
warning: file-system error deleting outdated file `\\?\D:\projects\myproject\target\debug\incremental\foo-iunoksi4y22j\s-f6xn1j2202-v70o0s-working\3i6cw8dnqbbpva2r.bc.z`: The system cannot find the file specified. (os error 2)

for different files, and then ends with:
thread 'main' panicked at 'failed to open bitcode file `\\?\D:\projects\myproject\target\debug\incremental\foobar-gin5a1xi91ne\s-f6xn1j0ddz-12k5ctb-working\4gav9wcduaqo3mho.pre-thin-lto.bc`: The system cannot find the file specified. (os error 2)', librustc_codegen_ssa\back\write.rs:1821:9
stack backtrace:
   0: std::sys_common::alloc::realloc_fallback
   1: std::panicking::take_hook
   2: std::panicking::take_hook
   3: rustc::ty::structural_impls::<impl rustc::ty::context::Lift<'tcx> for rustc::ty::instance::InstanceDef<'a>>::lift_to_tcx
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic_fmt
   6: std::panicking::begin_panic_fmt
   7: <rustc_codegen_llvm::metadata::LlvmMetadataLoader as rustc::middle::cstore::MetadataLoader>::get_dylib_metadata
   8: <unknown>
   9: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
  10: rustc_driver::driver::build_output_filenames
  11: rustc_driver::driver::phase_4_codegen
  12: <humantime::wrapper::Duration as core::convert::Into<core::time::Duration>>::into
  13: <humantime::wrapper::Duration as core::convert::Into<core::time::Duration>>::into
  14: <rustc_driver::pretty::NoAnn<'hir> as rustc_driver::pretty::HirPrinterSupport<'hir>>::sess
  15: <humantime::wrapper::Duration as core::convert::Into<core::time::Duration>>::into
  16: rustc_driver::driver::compile_input
  17: rustc_driver::run_compiler
  18: rustc_driver::driver::build_output_filenames
  19: rustc_driver::run_compiler
  20: <rustc_driver::derive_registrar::Finder as rustc::hir::itemlikevisit::ItemLikeVisitor<'v>>::visit_item
  21: _rust_maybe_catch_panic
  22: rustc_driver::target_features::add_configuration
  23: rustc_driver::main
  24: <unknown>
  25: std::panicking::update_panic_count
  26: _rust_maybe_catch_panic
  27: std::rt::lang_start_internal
  28: <unknown>
  29: <unknown>
  30: BaseThreadInitThunk
  31: RtlUserThreadStart
query stack during panic:
end of query stack

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.32.0-nightly (5aff30734 2018-11-19) running on x86_64-pc-windows-msvc

note: compiler flags: -C opt-level=1 -C panic=abort -C debuginfo=2 -C debug-assertions=on -C incremental --crate-type lib

note: some of the compiler flags provided by cargo are hidden

error: Could not compile `foobar`.
warning: build failed, waiting for other jobs to finish...
error: build failed

:(
What should I do now?

Ah very bad then... :(
Sorry for that, but not really sure why that would happen. That said, I will look into windows a bit more since I have not tested that platform enough.
For now I would think that a cargo clean is your only solution.

Might be related to https://github.com/rust-lang/rust/issues/48700, tagging this so I can personally keep track of it in this issue

Is it really a rustc bug? I thought it's because cargo-sweep deleted some files that were still needed for incremental builds..

Probably not, but the issue might be that cleaning the incremental folder is not really a safe thing to do. Currently the tool is agnostic about the types of files/folders in target. Which might not be safe even if I have tested it with about a dousin projects.
Again, sorry for any problems I may have caused :(

But at the same time that would mean that those files were not read when building, but at the same time they are needed when building. Perhaps cargo just checks if they are available but not reading, thus not updating access times. This might be related to #3, but since it does not "crash" it seems unlikely

@holmgr Cargo tries to delete a lot of them at least (the many warnings), but it tried to read at least one (the error).


Access default.realm file from iTunes

If I understood correctly, default.realm file is located in Documents folder. I tried to access it from iTunes by enabling UIFileSharingEnabled flag in Info.plist, but it doen't appear yet. Could you give any recommendations how to do that?

Hi @AlexEdunov!
Yes! That's correct! Realm, by default places default.realm in the Documents directory of iOS apps. You only need to enable UIFileSharingEnabled in the Info.plist file and everything should simply appear in the 'File Sharing' section of your device's configuration in iTunes:

If the app itself hasn't appeared in the list yet, it's possible iOS hasn't properly noticed that the key has been set on it yet. If that's the case, you can try either deleting the app from your device and re-installing it, or even just rebooting the device in order to get iOS to refresh it.
Let me know how you go!

As we didn't heard back on this, I assume this could be answered by @TimOliver's proposals. If you should be still unable to retrieve your Realm file from your phone, please feel free to comment.


Add haxe hello world

#1

Merged with f8a8ac43fe4d8a35cb172baeeef8c01678bd5565 but GitHub isn't recognizing. You'll still get the shirt :P


Update Kiali to 1.50

Please provide a description of this PR:

In response to a cherrypick label: new pull request created: #38699


RAD-1038 Add more usage info to 'adloader' docs

Basically, describe how to use the new caching param.

@protonate I've added a description of the cacheRequest param based on your comments.  What do you think?  If it's good I'll merge.

Looks good, reviewed.


Having issues getting admin panel to load

Just installed this tool using docker compose.  Container created just fine.  I can reach localhost/80 and localhost/443 just fine.  When looking at the docker container health it claims unhealthy.  An I see and a snip from the docker logs are below.
Last output	% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 502 Bad Gateway
[5/10/2019] [3:20:43 PM] [Global   ] › ✖  error     Config file /app/config/production.json cannot be read Error: Config file /app/config/production.json cannot be read,

Have you read this?

Same here.
Why it just not runs as described - docker-compose ...
The config is there, so what is the problem?

Similar problem here - things look fine but I am not certain how to dig deeper unfortunately.  I suspect there are some pre-flight things I've done wrong (creating DB, User, etc) - not sure where to look for logs to see what's failing.  Any direction on what to check would be greatly appreciated.
I use this tool via HASSIO regularly and would love to get it working stand-alone for use on AWS

Same issue.  Funny thing is it works fine on a KVM virtual machine but on a OpenVZ 7 virtual machine it does not.  Not sure if that coincidence or not ...


Translation files are not updated

Last updated was done 8 days ago!
Please check it.
Thanks

Hi,
I have had a look at the translation done in Crowdin  and there has not been any activity for 8 days. That means that this repo has no reason to update.


Static export of tags in the blog theme

It would be really useful if there were a setting or some method for building the tag pages statically, when using output: 'export' in next.config.js. Clicking on a tag results in a 404 error, and using getStaticPaths doesn't seem to work.

You can add a tags generation script to generate static tags, like this: huc-blog
After I run npm run build, it will first generate rss and tags file, then the tags.mdx in pages folder will display all tags in all posts.
example: https://huc-blog.vercel.app/tags


Web Hook Generator

This pull request addresses issue #12 and provides a web hook generator.
The generator creates resource routes and a controller, with support for namespaced controllers and pluralized and singular names.
I've updated the README with instructions for use and have provided tests for the functionality. No existing code was changed, with the exception of one test. I've commented on the commit as to why I changed that test.
I did add one development dependency to the .gemspec file to permit testing of the generator. As requested, I've isolated that addition to its own commit.
This has been a great gem to use - thanks! I hope you find this addition useful.

brilliant @brianknight10 .. thanks for this


jupyter: ruff v0.1.4 doesn't consider variables in the other cells

This is the previous Jupyter Notebook file, and it had no lint errors with ruff v0.1.3.

When ruff was upgraded to v0.1.4 (https://github.com/deepmodeling/dpdata/pull/573/), import dpdata got removed,

Besides, F821 was complained:
ruff.....................................................................Failed
- hook id: ruff
- exit code: 1

docs/nb/try_dpdata.ipynb:cell 4:1:1: F821 Undefined name `system`
docs/nb/try_dpdata.ipynb:cell 5:1:1: F821 Undefined name `system`
docs/nb/try_dpdata.ipynb:cell 6:1:1: F821 Undefined name `system`
Found 3 errors.

It's obvious that ruff doesn't consider variables in the other cells.

In this case, it's because system is a Jupyter magic which can be used as an automagic. In Jupyter, you can do system ls in a cell (without any percent signs), and it will treat the command as an ls. We started ignoring cells that look like automagics, because it can be hard (impossible) to understand their behavior, since Jupyter will actually treat them differently depending on what other variables are defined, i.e., the order in which you run your cells.
If you use any other variable name, it will work as expected, but we'll consider how to make this more targeted.

That explanation is probably unclear, here's an image that demonstrates what I'm describing -- the first and third cells are identical, but their behaviors entirely depend on the other of execution:

\cc @dhruvmanila since we discussed this a bit at the time

Yeah, this is tricky. We could implement the simple solution that we discussed earlier about having support for only pip but then the same problem would appear.
The far fetched solution would be to not ignore such cells and perform some semantic analysis on the parsed code but then it could potentially raise a syntax error (cd ..). For any potential automagic command, the semantic model would probably check if the identifier (system, cd, etc.) is already defined in the scope. If it is, continue as Python code otherwise continue as an automagic.
I'd actually want to spend some time figuring out how IPython does it as it could lead to some insights.

So, IPython is doing exactly that: https://github.com/ipython/ipython/blob/de97f0032dd96e0109780396e9219e8d73073e29/IPython/core/prefilter.py#L428-L467
For something like pwd = "foo", the AssignmentChecker will run it normally as Python code and then for any other usage of pwd, the AutoMagicChecker checks if it's shadowed or not and runs it as a magic command accordingly.

Hmm yeah. We could apply some similar heuristics though they'd need to be more expansive... We could also try parsing, then fallback to automagic if the code doesn't parse, but that will also be wrong in some cases. I'd just really like to avoid doing semantic analysis on the code block to understand how to parse it.

This is fixed by #9653.


Time Stamp in Database

For all of our table, seems there is no time stamp, I hope we can add this into future table design. More specifically, I hope there are two time stamp:
Created_at_time: to record the time a record has been created.
Update_at_time: to record the time a item has been modified. (For example individual)

@dvarrazzo has implemented this as part of the audit table in new schema.


 Automagically fixes spacing issues and makes things more compact and usable (default step is 1/20th of the limits, which works well in testing). Also use setKeyboardTracking(False) to avoid needing to update until enter is pressed.
Add mousePressEvent handling to QFloatSlider so that when you click somewhere specific on the slider, you jump to that point.
Use QFloatSlider for the time axis so that non-integral time points can be used, which is the way it was before and is especially useful when using non-nearest-neighbor interp (doesn't seem to hurt nearest-neighbor use cases because you still see it "snap" on changes, and has the advantage of jump-to-location on click).

@GuillaumeFavelier can you try it and see what you think?
main:
https://user-images.githubusercontent.com/2365790/109566835-6f990a00-7ab2-11eb-8f18-8b3e6b5b7b65.mp4
this PR:
https://user-images.githubusercontent.com/2365790/109566849-745dbe00-7ab2-11eb-962d-9db0be6e2367.mp4

I hope you don't mind @larsoner, I pushed a commit to port _named_layout to _notebook as well

Yes that's great!
Next I think I'll change scale just to be - and + buttons. In theory we could do a slider where you click to the right or left and it rescales by the proportion away from the midpoint you are (i.e., basically the way we had it before) but this will require custom widgets in both backends and I'm not sure it ends up being that much more usable than buttons that you can just click somewhat rapidly. For example if the + increases by (and - decreases by the inverse of) 1.2x then you've doubled the limits in 4 clicks, which I think will be pretty good for interaction.


Unpacked array declaration using size

The test needs checks.
Manually I was able to see the output of stat to see that there are 2 memories and 16 memory bits as opposed to 9 memory bits in the same test without the changes to verilog_parser.y but I did not find a way to check for this.
I would be happy to extend this checks if I could get a pointer of how to do it.

Merged and added test that actually checks something in 6a6dd5e.

Thanks a lot Clifford for adding a test!


downloading file issue in internal storage

I am getting download error: java.io.IOException: java.util.zip.DataFormatException: invalid stored block lengths when downloading file (file size is 10Mb) but other files get downloaded .Any suggestions.Thanks

same error getting me any udpate?


Furry Malachite Crab

Hotspot b58 Addresses
11u31i9h68RxRGSsQ2RYQK28kJC9tiP5mfQhxB8Hi6Bwbc5abVA
Discord Handle
No response
Reason(s)
This hotspot is doing packet forwarding. the region is mountainous. 27m can't get that many connections. Otherwise, everyone should.

Did you leave the project to the cheaters? Why don't you intervene? How can they further damage this project? @6CornerDefender


compile error Argument 2: cannot convert from 'string' to 'OWSData.Models.StoredProcs.AddOrUpdateCustomCharacterData'	OWSCharacterPersistence

It's likely too that I'm compiling wrong, but it won't let me past this. i'm on windows 10. OWSCharacterPersistence is the only one I can't get to compile. I looked into the error and I was having trouble finding a solution, I'll edit if I do.

How are you compiling? Right now I'm using Development Editor and just pressing play inside the project VS (you must generate the VS files trough right click in the project).

OWSCharacterPersistence is a currently unused project that is under development.  I just checked in an update to temporarily remove the syntax error so that the project can compile, but the project is not needed.  If you use the normal Docker Compose build process, the project is not include and won't throw the error.  Now with this update, it won't throw the error even if you do happen to compile the unused OWSCharacterPersistence project.


[Error Message Improvement] Insufficient Funds

This one has been confusing to a lot of users, especially people new to crypto.
If we change 'Insufficient funds' to 'Insufficient ETH' then it would add more clarity to the users.
@colourfreak - how about following it with a '?' that leads to our FAQ or a blob on network fee?

When implementing, we should change 'ETH' to the native token of the relevant network.

Refer to https://github.com/AlphaWallet/alpha-wallet-android/issues/1875#issuecomment-850144198. Re-open if there are changes.

Insufficient ETH
Insufficient xDAI

then (?) icon for pop up box explainer.

===

Short text:
"When you make a transaction on Ethereum, you need to pay a network fee (gas fee) to the Ethereum miners. Just as your car can’t run without fuel, your transactions can’t be executed without gas. What is the network fee? The network fee (gas fee)= gas price * gas amount. In short, if you don’t have enough ETH, you can not use the Ethereum network, therefore you can not make any transaction. To fix this, you can buy Ether on crypto exchanges or using our browser."

Or
2. explainer can link to our FAQ Website:   https://alphawallet.com/faq/what-do-insufficient-funds-for-gas-price-mean/
Or

Redirect in App to Settings --> Support --> Help & FAQ: (we should put an entry in here).

====
Separate product decision to consider roadmapping:

have a small link to gas fee estimator under "buy ETH" button.
build in gas fee estimator to show up natively (similar to ramp.network)

Have added 2 x Gas Fee Estimators to dApps list:
https://ethgasstation.info - Consumer oriented metrics for Eth Gas Market
https://www.gasnow.org/ - Eth Gas Price forecast system
So you can point to it natively in app:
iOS: https://github.com/AlphaWallet/alpha-wallet-android/pull/1876
Android https://github.com/AlphaWallet/alpha-wallet-ios/pull/2813

Related; we already support gas estimation (using gasnow.org):

And if it's helpful for users to check the price (e.g to get a feel for a good time to cash out), push for https://trello.com/c/sx6Toyh0/25-gas-prices-widget

Re-opening issue for a while in case discussion gets lost


add condition "gamma radiation"

I can't find anything.....
curs/f3b2e78baad1483c

If you can add this next time you are working I can get this session through...

I wonder if you are annotating to
normal mitotic G2/M phase transition + the condition "gamma radiation"
Where I may have annotated to
normal cell cycle regulation during cellular response to ionizing radiation during mitotic G2 phase

For the
mitotic G2/M transition delay
I would have requested a more specific term. I think the DNA damage makes it different from a 'normal' laboratory cell cycle.

but I added PECO:0000305 ionizing radiation (to match FYPO)

Ok, the term
normal cell cycle regulation during cellular response to ionizing radiation during mitotic G2 phase
sounds pretty horrendous...but I think we need to make sure we are consistent here.... what do you think?
eg mitotic G2/M transition delay during cell resp to ionizing radiation
or
normal cell cycle regulation during cellular response to ionizing radiation

I'lll go back to this one and see what I was trying to capture ! leave it with me...

I think what I was trying to capture was
abolished mitotic G2 DNA damage checkpoint (condition:  ionizing radiation)
(this results in a G2 transition delay which was abolished in the mutant)
I still think the condition is essential as the checkpoint would not be active without it.

Condition should be available by now :-)


LSTM training not equal when stateful=True/False units=1 samples=1 batch_size=1 epochs=1

I'm trying to compare output when doing a stateful vs not LSTM, but I'm stuck on the first batch, because I can't get them to be equal and looking at the recurrent.py and tensorflow_backend.py isn't helping...
(transcribed the script, so hopefully it works)
IMPORT
import keras
from keras.models import Sequential
from keras.layers import LSTM
import numpy as np
BUILD MODELS
nonstateful_model = Sequential()
nonstateful_model.add(LSTM(1, input_shape=(1,1), stateful=False)
nonstateful_optimizer = keras.optimizers.SGD()
nonstateful_model.compile(loss='mean_squared_error', optimizer=nonstateful_optimizer)
stateful_model = Sequential()
stateful_model.add(LSTM(1, input_shape=(1,1), batch_size=1, stateful=True)
stateful_optimizer = keras.optimizers.SGD()
stateful_model.compile(loss='mean_squared_error', optimizer=stateful_optimizer)
COPY WEIGHTS BETWEEN MODELS AND COMPARE TO VERIFY
stateful_model.set_weights(nonstateful_model.get_weights())
print(nonstateful_model.get_weights())
print(stateful_model.get_weights())
TRAIN MODELS
x = np.array([[[1.]]],dtype='float32') # Noticed that the initial_states type will reflect x.dtype, but stateful states will be default float type
y = np.array([0.5],dtype='float32')
nonstateful_model.fit(x, y, epochs=1, batch_size=1, verbose=2, shuffle=False)
stateful_model.fit(x, y, epochs=1, batch_size=1, verbose=2, shuffle=False)
COMPARE WEIGHTS AFTER TRAINING
print(nonstateful_model.get_weights())
print(stateful_model.get_weights())

2nd elements of the kernel arrays are different
recurrent kernels match perfectly
2nd elements of the bias arrays are different

My goal is to be able to match kernels after training both models on N (x,y) pairs, where the nonstateful model is trained all at once and the stateful model is trained one pair at a time.

Stateful models require a different formulation of the training data, since batches are assumed to correspond to time steps. See https://keras.io/layers/recurrent/ for details. And besides, there is no reason why two different models should be equal after training. The stateful parameter is a pretty fundamental change in the model.

I'm not doing multiple batches, so the statefulness should not affect anything at all.  According to the documentation, in this case, the weight updates should definitely match.  I purposefully chose timestep=1, epochs=1, batch_size=1 to make sure this was true.  Note that all are indeed equivalent, except for the kernel_f value and its corresponding bias_f.  This could very well be a bug, but first I'd like to simply pinpoint the reason why the values are different.


Add filter for FontAwesome

This should prevent memory leak tests from sporadically fail because of problematic fontawesome resource disposal.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14957/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14957/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14957/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14957/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.


Add DNS redirect for techstars

Needs to whitelist new cluster in equinor's vpn

Waiting for ticket to be updated


Incorrect results from polyfill

I've been having a conversation with @nrabinowitz on SO about unexpected results from polyfill.
I noticed the issue while working in h3-java, but my results are consistent with h3-py and h3-js. I get similar (looking) results at resolutions 2, 3, and 4.
Using  the same GeoJSON input asking for a polyfill, @nrabinowitz gets 282 correct-looking hexes at resolution 3. I get 349 hexes, none of which have the same address as his 282. I posted a .csv with his results vs mine.
I've tried installing later versions of H3Core and bumped the initial Java version from 3.0.2 (when I started) to 3.0.4 but I got the same (incorrect) results.

Can you publish the compiler/operating system/CPU architecture you are running on?

Sure.
I'm using Suse Tumbleweed, Linux 4.17.12-1-default #1 SMP PREEMPT Fri Aug 3 06:36:01 UTC 2018 (ef4920c) x86_64 x86_64 x86_64 GNU/Linux
make is GNU Make 4.2.1 Built for x86_64-suse-linux-gnu
gcc is gcc (SUSE Linux) 8.1.1 20180719 [gcc-8-branch revision 262874]

I was able to reproduce this issue using your Java code. I got 349 hexagon IDs, and I see they match some of the addresses you got.
I believe the problem here is that H3 expects coordinates in the latitude,longitude order, but GeoJSON uses longitude,latitude order. When I swap the coordinates, I get 282 hexagon IDs and they match @nrabinowitz' set.

Wow good catch.

Ah. I'm so glad you recognized that. I had them the correct way in an earlier attempt, but the output was transposed. Everything works perfectly when I deal with it on the output, too.
Thank you.  I'll close this.

Have this issue been fixed? In a GeoJSON the coordinates are in the order [lon,lat]. However, the polyfill function expects the coordinates to be [lat,lon]. So we aren't truly following the GeoJSON standards.

Just saw the issue #141 ! Will move to the python bindings repo! :)

Have this issue been fixed? In a GeoJSON the coordinates are in the order [lon,lat]. However, the polyfill function expects the coordinates to be [lat,lon]. So we aren't truly following the GeoJSON standards.

The core library doesn't attempt to follow GeoJSON - this is left as a job for the bindings, and in some cases additional libraries, to handle.


Return 405 Not Allowed if route is not defined

Hello,
I just started using Martini and I noticed that if I try to make a request that's not supported, I get a 404 instead of a 405.  Would it be possible to change this to return the 405 instead?
Also, if you read the RESTful Web APIs book by O'Reilly, it is suggested that you return the following header to alert the client to what methods are supported:
Allow: GET, POST

Thanks!

I'm not sure what you mean by "request that's not supported". If you mean the route is correct, but the method is not supported, that should be a 405. Otherwise all things being equal, a 404 is correct.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Yes, you are correct.  The route is correct, but the method is not supported.

I've submitted a PR for this. In the meantime you can implement this yourself with your own handler, see https://gist.github.com/talbright/b63761338d14803ce371 for an example.

Just found this too :flushed:
https://github.com/martini-contrib/strict