Write Unit Tests for setFileType Method

Description: Write unit tests for the setFileType method to verify it sets the file type regex correctly. Test with various valid and invalid file types.
Resources: Use the pytest getting started guide for writing tests.
Path: twinTrim/dataStructures/fileFilter.py
Note: Ensure to maintain the file structure as per the existing files and tests, and add these tests.

can you asign it to me?

@kushwxha Yes,
make sure to create a separate branch before making the necessary changes and retain the folder structure.

#26 added the unit test for setfiletype method

@kushwxha
please check the review I left

hey, in test folder only I have to create the unit test files.

@kushwxha
as this issue belongs to a method within fileFilter file
create a file named fileFilter within tests folder
then write the tests that belong to that particular file
do same for other issues

hey now you can check i made a new folder and added the unit test in it

#30 this is the new pull request

@kushwxha
It's great but you really need to understand folder structure of the project
Just creat a single file in tests folder, named  fileFilter
then write the tests that belong to that particular file
do same for other issues
If you have doubts feel free to ask
Then proceed with PR

i have was trying to create only fileFilter folder but when i am running test in terminal its giving me error that there is module named twinTrim so for that i had to add conftest.py so that the unit test can use the module.
can you give the review in pr

@kushwxha
You don’t need to create any folder within tests! I’ve been explaining how to maintain the file structure all along. I’ve left a review on your PR—please address it. Also, don’t close and reopen your PR whenever you make fixes. Just use the necessary git commands to update it.

hey @Kota-Karthik ,
i have made changes in this #30 pr also can please check it.
i have attached the screenshot for

hey @Kota-Karthik,
i am getting conflict when i am trying  pr for this issue.

@kushwxha
just try to resolve the conflicts!
then it would all be done !

hey @Kota-Karthik,
i have resolved the conflict, can you check it now??
and please don't forget to add labels to pr.


Is Kafka Topic Offset and Consumer group disabled for a secure cluster

I upgraded Kafka Manager from <IP_ADDRESS> to <IP_ADDRESS> and then i am unable to see topic offset details and consumer group info ?
Cluster version is <IP_ADDRESS>
Is this expected ?

I also faced same issue

Experienced the same issue (with a <IP_ADDRESS> cluster and KafkaManager with the 0.10 pull request). With a fully secured cluster (only SSL Kakfa listener), Kafka Manager was able to connect (with a correct consumer.properties file). It also showed some consumer information, namely the consumer group, consumer name and consumer offset per partition.
But I was never able to get it also to read and display the current Topic offset and in consequence no lag was shown.
I had to revert to configure Kafka with 2 listeners (an additional plaintext one). Only then would Kafka Manager show all consumer information

Thats right .
We use kerberos SASL .
The problem with that approach is that we have to give read permission for the plain text listener to access the topic offset and consumer offset and display lag .
giving read only permission means to open the topic for unauthorized users

I just don't understand why Kafka Manager can retrieve SOME information via a SSL connection but not ALL. I guess I need to dig into the code a bit

Hi,
Any tricks ?
I see with new KM version <IP_ADDRESS> , if a kafka cluster has both SASL and PLAINTEXT ports open , then KM always uses the SASL port , i tried the consumer property to force it to use the PLAINTEXT port but no luck .

I am also facing same issue, my kafka cluster has both PLAINTEXT and SSL enabled but KM connects to 9093 SSL port only and even on passing truststore cert, it is not connecting to broker at port 9093
Tested on <IP_ADDRESS> and <IP_ADDRESS>

Okay for both plaintext and SSL, I changed broker listeners in kafka properties in an order.
listeners = PLAINTEXT://FQDN:9092,SSL://FQDN:9093,
then it is working as it connects to 9092 now.
I checked in ZK, broker information, it had default SSL then PLAINTEXT but it was open port 9092 as well, it seems KM takes 1st defined port in ZK and doesn't try PLAINTEXT on failure

I did a bit of tests and below ticket has more details about this problem
https://github.com/yahoo/kafka-manager/issues/368

Latest version you can configure security protocol per cluster in cluster config.

Awesome .
Can we do some documentation how to configure a secured cluster in KM please  ?
it will help to get started quickly.

Yes, will add some notes.

Cool , thanks

@patelh it works great as see that it connects to all available listeners of brokers now.
Question, if we have only SSL with client auth required Kafka cluster, in that case, where to put certificate? all clusters trustcerts should be in single cert ?

I tried to add related security config to "consumer.properties" in MK_HOME/config, BUT it doesn't work anyway.

@tanuj83 Have you solved this problem?

@jerryldh I am using <IP_ADDRESS> version and it has option at cluster modify to select "Security Protocol". I just selected SSL and it is working good. I see also on brokers, and my broker has connection to Kafka manager servers with 9093,2181 port only.
Do we really need Cert?  if yes why, it is metrics data not producer/consumer data

@tanuj83 Thanks，i update KM to <IP_ADDRESS>， i set Security Protocol as SS.
Related consumer.properties worked, but it seems that i confused my problem, i still can,t get topic's Latest Offset and Leader Size.
As to "Do we really need Cert?" , my situation is that my kafka cluster only has ssl port, but i still have to manager the cluster by KM, so...

I set "Security Protocol" to SSL in cluster setting, but still I got this error in KM:

We're using multiple clusters in the same Kafka manager but each one has different SSL cert. How can we configure that ?


tweedie regression in stan

Hello everybody
I am a green hand to Stan and I want to run a tweedie spatio-temporal model on my dataset with Bayesian estimation. Now my question is:
Do I have to write both of “the model on (mu)” and “the tweedie distribution for (y)” in a stan page?
Or I should just write the tweedie distribution in stan and after that, define the model in R? I really need an example of modeling in stan but I couldn’t find anything. May anybody help me?
I appreciate any suggestion and help.
Many thanks

We do not have the Tweedie distribution built into Stan.  I don't know how hard it would be implement as a Stan program.  See the Stan home page, which has all the doc.  If you know you want to use R and write Stan models from scratch, then you can start with the RStan getting started page.  Here's the user's guide chapter on custom distribution;  Aki also wrote a case study on custom densities.
I suggest taking future general questions about usage and modeling to the Stan forums.  We like to reserve GitHub for bug reports and feature requests.

Thank you very much for your reply and the links. I will ask my questions about modeling and bug reports in the future.
Many thanks


PDA/medical scanner long range intel

Description
Among new features on display is copy of character that is shown in the window. Should someone decide to keep it open they will know at all times when target is standing still, when taking damage, when gibbed and so on.
Reproduction

Take medical PDA/scanner.
Scan the captain.
You no longer need pinpointer as HoS. Sec comms being down do not matter like for implanter either.

#31696
Both has something to do with ItemToggleComponent.

I think the issue is that you only need to be in range to start scanning. Normally the DoAfter would handle being too far away, but the analyzer now updates with info after the DoAfter is complete.
There probably needs to be a range check every so often in an Update() or something.

~I think the issue is that you only need to be in range to start scanning. Normally the DoAfter would handle being too far away, but the analyzer now updates with info after the DoAfter is complete.~
~There probably needs to be a range check every so often in an Update() or something.~
Nevermind, looks like this was fixed already.

Just for clarity's sake: HealthAnalyzer already had logic to turn off the scan if the target went to far away, eg: damage values would stop updating. The issue is with SpriteView, which just takes a reference of the target's SpriteComponent, so any value changes on the component would show up on the analyzer regardless of what the analyzer wanted.
I went with the simplest solution for this, but if you are interested, a way to properly clone SpriteComponent to "freeze the view" would be kinda nice. It seemed like a ton of work to me, and I honestly don't know if it would have any applicability outside of this.


How can I add the static images into the cache?

I may be being a bit noob... I've added the astrojs-service-worker and it is working, in that it has created a service-worker.js for me and that has cached the static routes present in my project, however it has not added the images in my /public/images folder.
I guess I need to add some options to the serviceworker() integration but I can't tell from the docs what that might need to be (something to do with the globPatterns, I'm thinking...?)
Also, even with the routes cached (I can see them in the devtools application tab) I cannot navigate to them. On one device (PC with devtools network options set to offline) I get a nicely presented "You're offline" with my favicon logo. On my tablet, with the Wi-Fi turned off I get the default chrome error "No internet" dinosaur logo.
Confused...
Thanks. Hamish.

however it has not added the images in my /public/images folder.

import { defineConfig } from "astro/config";
import serviceWorker from "astrojs-service-worker";

export default defineConfig({
  integrations: [serviceWorker({
+     workbox: {
+       include:  './public/images/*'
+     }
  })],
});

Could you try the above and let me know if it works for you?

Also, even with the routes cached (I can see them in the devtools application tab) I cannot navigate to them. On one device (PC with devtools network options set to offline) I get a nicely presented "You're offline" with my favicon logo. On my tablet, with the Wi-Fi turned off I get the default chrome error "No internet" dinosaur logo.

Does your Tablet support service workers? What browser and version are you using?
Did you visit the site before turning the wifi off? The service worker has to install, which includes downloading all of the content it is set to cache, before it can serve content offline.

OK I got there, I have success!! I had to make  a couple of alterations... Firs in the astro.config.js I changed your "include" key to "globPattern", so it now looks like this:
import serviceWorker from "astrojs-service-worker";

// https://astro.build/config
import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
  integrations: [tailwind(), serviceWorker({
    workbox: {
      globPatterns: ["**\/*.{js,css,html,png,jpg}"]
    }
  })]
});

... so it picks up the images. Then to make the offline links work I had to adjust my index page links so that they included the trailing slash. So the main home page lists a series of (32) linked dances, each one now goes to /dance/0/, /dance/16/ etc, whereas before it was just /dance/0. I think that was upsetting the fetch from cache logic of the service-worker.
I don't necessarily understand it, but it is successfully working for me as an installed offline app on my tablet! 👍 Thank you so much for the pointers, and the plug-in. 😀

Thanks for digging in here @squeezeboxhuf. I think it's reasonable for astrojs-service-worker to handle public folder without any configuration, so I'll look into that.
I'm surprised by the trailing slash requirement for links -- I'll look into this. Do these links work without the trailing slash in production? If so, how are you deploying you application? Is it served out of a static server like AWS S3? Or something else?
Possibly related: https://docs.astro.build/en/reference/configuration-reference/#trailingslash

Yes it was OK in dev mode, and it works in production with a network connection. Just fails when I'm disconnected and working from the cache.  I'm developing using a docker VSCode instance on my Oracle cloud instance VM, the built version is being served by another docker container, I think using a base docker image from Nginx (I can't remember how I built the image now, but the container mounts the "dist" folder from the VSCode folder) but this project started as a Sveltekit development, then after struggling for a while with the Sveltekit Static adapter I realised if I was making a static site, maybe I should use a static dev platform! :)  I'll take a look at the trailingslash option, but for me for this project I just added the final slash to the links I'm generating with my array map on the index page and it works a treat online and offline.


[NestJS] - Wrap OsoModule as a library

First of all, thanks a lot for having such a great RBAC library and tutorials. I am current going to use it other than any of the library else, as it has organization / project-based access control on top of RBAC, which makes my life a lot easier when the app requires multi-tenancy.
However, it indeed needs a bit of the time and learning curve to understand the flow underneath on OsoModule. Therefore, it'd be much better if it can be wrapped as a library and expose limited configurations for end-users.

Hey @eltonlau1994! Thanks for opening this. We don't have a NestJS integration yet, but our friends @bjerkio developed one that you might want to check out: https://github.com/bjerkio/nestjs-oso. In the meantime, please let us know if there's anything else we can do to help you use Oso 🙂

@leina05  thanks a lot! The library is really good and easy to use.
I just realized it was posted in Oso documentation as well: https://docs.osohq.com/node/getting-started/application.html


[ SVACE ] Fix svace issues.

This PR includes fixes about svace
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #386. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


fix reference.py definition docs formatting

Description
reference documentation had an extra space between the words, which was weird, so I changed that and it looks nice now.

Screenshots below

Changes
Screenshots
Before

After

Known Issues
Notes
Checklist

[ ] My name is on the list of contributors (CONTRIBUTORS.md) in the pull request source branch.
[ ] I have updated the documentation to reflect my changes.

IDE messed up and brought things from another branch. will make a new PR


Add value set content to data dictionary exporter

The data dictionary exporter needs an additional file exported that includes value set content for internally . This file should include:

The value set name
Value set description
Logical definition (for value sets defined with phrases such as includes codes from [...] or includes codes descending from [...]). If the value set is not logically defined, populate with N/A
Code (for value sets with enumerated codes). If the value set does not contain enumerated codes, populate with N/A.
Code description (for value sets with enumerated codes). If the value set does not contain enumerated codes, populate with N/A.
Code system(s): the code system associated with the enumerated code (or the logical definition).

Note: the same value set can include enumerated codes from several code systems, and may contain a mix of enumerated codes and logical definitions.

Added


Clean up cargo build warnings

Describe the bug
Clean up the cargo build warnings. This could be across different platforms (x86, aarch64, musl and arch32)
To Reproduce
cargo build
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS [incl. version]
Hardware [incl. revision]
System-Architecture [e.g. result of "uname -a"]
thin-edge.io version [e.g. 0.1.0]

Additional context
Add any other context about the problem here.

I guess this is partly related to my work for #825. I'll mark this WIP therefore.

@matthiasbeyer I saw you are working on cargo clippy. Are you also going to work on fixing compilation warnings, right?

To me, I don't think we should keep both #825 and this issue. Looks duplicated. Since @matthiasbeyer has already worked on #825, can I close this issue?

Yes, I'm working on all these things, with the goal to have zero warnings in both cargo check and cargo clippy, so that we can switch on #[deny(warnings)] at some point and make all warnings into errors.
I think this is a duplicate, I will close it.


load extension in android

sqlite3.sqlite3.ensureExtensionLoaded();
Does it work with Android? I am asking as there is no test here, for the android platform.

It should work with Android as well. It really only calls sqlite3_auto_extension with a function pointer. At the moment, there is no test for this on Android though (contributions are welcome!).

Hey, hope you are well. I am facing strange behavior while loading extensions in android & ios. Working fine with macOS & windows.
It doesn't load the SQLite extension when the app launches but after a hot restart it is working fine!
I am using this with sqflite_common_ffi. Here is the demo project link.
I don't know if the issue is in the sqlite3 or not. Just give it to your knowledge.
Again thanks for this awesome plugin

Fixed. We need to first load the extension, then the database.


lxd move --storage failure leaving unused and non-removable container in new storage

Required information

Distribution: Ubuntu
Distribution version: 16.04
The output of "lxc info" or if that fails:

Kernel version: 4.4.0-66-generic
LXC version: 3.4
LXD version: 3.4
Storage backend in use: dir and zfspool

Issue description
Moving a container's storage from dir to zfspool failed with this output:
$ /snap/bin/lxc move serviio serviio2 --storage zfspool
Error: Failed to run: rsync -a -HAX --sparse --devices --delete --checksum --numeric-ids --xattrs --bwlimit 0 -q /var/snap/lxd/common/lxd/storage-pools/default/containers/serviio/ /var/snap/lxd/common/lxd/storage-pools/zfspool/containers/serviio2: rsync: set_acl: sys_acl_set_file(., ACL_TYPE_ACCESS): Operation not supported (95)
rsync: set_acl: sys_acl_set_file(rootfs/var/log/journal, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: set_acl: sys_acl_set_file(rootfs/var/log/journal/a74b9fcc748449e6aff724e4d761dd48, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: set_acl: sys_acl_set_file(rootfs/var/log/journal/a74b9fcc748449e6aff724e4d761dd48/.system.journal.UKFmAW, ACL_TYPE_ACCESS): Operation not supported (95)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]

Note that I have to specify a dummy second container name as simply specifying one name results in an error saying there's not enough args to the CLI.
Steps to reproduce

Have a container in dir storage
create some empty zfs storage
lxc move name1 name2 --storage

Information to attach
See the initial output above. Also note here that the zfs pool has got my two containers I tried to migrate plus two of the snapshots in the one called "hass":
$ /snap/bin/lxc storage info zfspool
info:
  description: ""
  driver: zfs
  name: zfspool
  space used: 2.56GB
  total space: 100.94GB
used by:
  containers:
  - hass2
  - hass2
  - hass2
  - serviio2

However the containers hass2 and serviio2 don't show up in lxc ls
$ /snap/bin/lxc ls
+---------+---------+----------------------+------+------------+-----------+
|  NAME   |  STATE  |         IPV4         | IPV6 |    TYPE    | SNAPSHOTS |
+---------+---------+----------------------+------+------------+-----------+
| hass    | RUNNING | <IP_ADDRESS> (eth1) |      | PERSISTENT | 2         |
|         |         | <IP_ADDRESS> (eth0) |      |            |           |
+---------+---------+----------------------+------+------------+-----------+
| serviio | RUNNING | <IP_ADDRESS> (eth0) |      | PERSISTENT |           |
+---------+---------+----------------------+------+------------+-----------+

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

Also can't delete the rogue copy:
$ /snap/bin/lxc rm hass2
Error: not found

Hmm, my guess is that it's the ZFS side missing acltype=posixacl or something similar, but the error handling clearly seems wrong here...
Can you show lxd sql global "SELECT * FROM storage_volumes;" and zfs list -t all` so we can give you instructions on manually cleaning up the mess?

The storage was created with something like this:
/snap/bin/lxc storage create test zfs
I presume I need to add flags. As a zfs newbie I assumed it would have POSIX ACLs out of the box :/
lxd sql global "SELECT * FROM storage_volumes;"
+----+-------------------+-----------------+---------+------+-------------+
| id |       name        | storage_pool_id | node_id | type | description |
+----+-------------------+-----------------+---------+------+-------------+
| 1  | hass              | 1               | 1       | 0    |             |
| 4  | hass/snap1        | 1               | 1       | 0    |             |
| 5  | hass/pre-upgrade  | 1               | 1       | 0    |             |
| 6  | serviio           | 1               | 1       | 0    |             |
| 7  | hass2             | 2               | 1       | 0    |             |
| 8  | hass2/snap1       | 2               | 1       | 0    |             |
| 9  | hass2/pre-upgrade | 2               | 1       | 0    |             |
| 10 | serviio2          | 2               | 1       | 0    |             |
+----+-------------------+-----------------+---------+------+-------------+

NAME                          USED  AVAIL  REFER  MOUNTPOINT
zfspool                      2.38G  94.0G    19K  none
zfspool/containers           2.38G  94.0G    19K  none
zfspool/containers/hass2     1.04G  94.0G  1.04G  /var/snap/lxd/common/lxd/storage-pools/zfspool/containers/hass2
zfspool/containers/serviio2  1.35G  94.0G  1.35G  /var/snap/lxd/common/lxd/storage-pools/zfspool/containers/serviio2
zfspool/custom                 19K  94.0G    19K  none
zfspool/deleted                19K  94.0G    19K  none
zfspool/images                 19K  94.0G    19K  none
zfspool/snapshots              19K  94.0G    19K  none

@bigjools can you also show zfs get all zfspool/containers/hass2?

Yep:
$ sudo zfs get all zfspool/containers/hass2
NAME                      PROPERTY              VALUE                                                            SOURCE
zfspool/containers/hass2  type                  filesystem                                                       -
zfspool/containers/hass2  creation              Sun Sep 16 21:45 2018                                            -
zfspool/containers/hass2  used                  1.04G                                                            -
zfspool/containers/hass2  available             94.0G                                                            -
zfspool/containers/hass2  referenced            1.04G                                                            -
zfspool/containers/hass2  compressratio         2.55x                                                            -
zfspool/containers/hass2  mounted               no                                                               -
zfspool/containers/hass2  quota                 none                                                             default
zfspool/containers/hass2  reservation           none                                                             default
zfspool/containers/hass2  recordsize            128K                                                             default
zfspool/containers/hass2  mountpoint            /var/snap/lxd/common/lxd/storage-pools/zfspool/containers/hass2  local
zfspool/containers/hass2  sharenfs              off                                                              default
zfspool/containers/hass2  checksum              on                                                               default
zfspool/containers/hass2  compression           on                                                               inherited from zfspool
zfspool/containers/hass2  atime                 on                                                               default
zfspool/containers/hass2  devices               on                                                               default
zfspool/containers/hass2  exec                  on                                                               default
zfspool/containers/hass2  setuid                on                                                               default
zfspool/containers/hass2  readonly              off                                                              default
zfspool/containers/hass2  zoned                 off                                                              default
zfspool/containers/hass2  snapdir               hidden                                                           default
zfspool/containers/hass2  aclinherit            restricted                                                       default
zfspool/containers/hass2  canmount              noauto                                                           local
zfspool/containers/hass2  xattr                 on                                                               default
zfspool/containers/hass2  copies                1                                                                default
zfspool/containers/hass2  version               5                                                                -
zfspool/containers/hass2  utf8only              off                                                              -
zfspool/containers/hass2  normalization         none                                                             -
zfspool/containers/hass2  casesensitivity       sensitive                                                        -
zfspool/containers/hass2  vscan                 off                                                              default
zfspool/containers/hass2  nbmand                off                                                              default
zfspool/containers/hass2  sharesmb              off                                                              default
zfspool/containers/hass2  refquota              none                                                             default
zfspool/containers/hass2  refreservation        none                                                             default
zfspool/containers/hass2  primarycache          all                                                              default
zfspool/containers/hass2  secondarycache        all                                                              default
zfspool/containers/hass2  usedbysnapshots       0                                                                -
zfspool/containers/hass2  usedbydataset         1.04G                                                            -
zfspool/containers/hass2  usedbychildren        0                                                                -
zfspool/containers/hass2  usedbyrefreservation  0                                                                -
zfspool/containers/hass2  logbias               latency                                                          default
zfspool/containers/hass2  dedup                 off                                                              default
zfspool/containers/hass2  mlslabel              none                                                             default
zfspool/containers/hass2  sync                  standard                                                         default
zfspool/containers/hass2  refcompressratio      2.55x                                                            -
zfspool/containers/hass2  written               1.04G                                                            -
zfspool/containers/hass2  logicalused           2.63G                                                            -
zfspool/containers/hass2  logicalreferenced     2.63G                                                            -
zfspool/containers/hass2  filesystem_limit      none                                                             default
zfspool/containers/hass2  snapshot_limit        none                                                             default
zfspool/containers/hass2  filesystem_count      none                                                             default
zfspool/containers/hass2  snapshot_count        none                                                             default
zfspool/containers/hass2  snapdev               hidden                                                           default
zfspool/containers/hass2  acltype               off                                                              default
zfspool/containers/hass2  context               none                                                             default
zfspool/containers/hass2  fscontext             none                                                             default
zfspool/containers/hass2  defcontext            none                                                             default
zfspool/containers/hass2  rootcontext           none                                                             default
zfspool/containers/hass2  relatime              off                                                              default
zfspool/containers/hass2  redundant_metadata    all                                                              default
zfspool/containers/hass2  overlay               off                                                              default

Did you create that particular pool a while back? We've had code to set some of those properties on creation time since LXD 3.1.
Unfortunately we couldn't put code to reset the properties on upgrade because the system administrator may actually have wanted the current value and we can't tell whether something is in fact on the original default value or has been set to that value on purpose...

Yeah it was created under 3.0. I upgraded to the snap package so I could use the storage move feature.

In your case, you could make your zpool a bit better with:

zfs set xattr=sa zfspool
zfs set acltype=posixacl zfspool

That would most likely fix the rsync issue, though the fact that we're not cleaning up storage volumes on move failure is something we definitely still need to fix.

Can I suggest that you remove the requirement for the container renaming when you move storage as well?

Yeah, currently this is needed because there's no internal API which does that move, it's effectively the client asking LXD to copy the container and then delete the old one. We've already added an API like that for moving containers within a cluster, so we should be able to use the same infrastructure to also allow local container moves between storage.

Reproduced the error here, looking into fixing the codepath that didn't trigger a deletion on error


[kmac] Added errorcode for fatal-fault #10804

This addresses #10804

@cindychip I don't have commit rights. So if you need this PR, you (or someone with commit rights) need to merge it yourself  ;)


Fold functions in haversine.py into sphere.py

Proposed by @selipot in https://github.com/Cloud-Drift/clouddrift/pull/193#discussion_r1238785831

Done by #205


fixed require statement to reference couchbase

require statement initializing couchbase var was passed wrong parameter

Closing, no longer relevant.


Return XMLHttpRequest object from Snap.load

Return XMLHttpRequest object from Snap.load just in case there is a need for it.

Note that Snap.ajax returns XMLHttpRequest object. This change causes Snap.load to also return it.


Appstudio update test-component-pac-ndxk

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-ndxk-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
12 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
26 seconds
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
sanity-inspect-image

✅ Succeeded
32 seconds
clamav-scan

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
7 seconds
sanity-label-check

✅ Succeeded
7 seconds
sanity-optional-label-check

✅ Succeeded
4 seconds
show-summary


Transactional/scheduled DOM updates

I completely understand if this is out of scope for this library - I'm mostly asking to make sure it's been considered and deliberately omitted.
If you're familiar with fastdom, scheduled/transactional DOM updates eliminate DOM thrashing, as do most modern libraries/frameworks. I'm not proposing we use this library, I'm merely wondering if this is common enough that you'd want the library to cover that.
I understand that there's nothing preventing you from implementing this library or the technique in your own application or framework - but unless it's something you plan for and design around, you're more likely than not to end up creating something that does thrash the DOM, and maybe that's not a desirable "default", if we can design a simple/solid solution around it?
I think it's worth considering, though as said, I completely understand if this is out of scope.

Sounds interesting, I'll try to look into it when I have time! Thanks for bringing this up.

Here's the solution I'm currently using.
import { VNode, patch } from "picodom";

/**
 * Bind a given target element to a model instance and a view-function.
 *
 * An update-function is returned - when called, this will present the model instance
 * to the view, and update the target element to which the view/model was bound.
 */
export default function bind<TModel>(target: HTMLElement, model: TModel, view: { (model: TModel): VNode<{}> }) {
    let oldNode: VNode<{}>;
    let scheduled = false;

    return function update() {
        if (!scheduled) {
            scheduled = true;

            requestAnimationFrame(() => {
                let newNode = view(model);

                patch(target, oldNode, newNode);

                oldNode = newNode;

                scheduled = false;
           });
        }
    }
}

It's pretty simple, just tracks whether an update has already been scheduled, and defers it - this lets me make numerous calls to actions that call an update() function without clobbering the DOM.
In it's current form, this likely belongs in a framework and not in picodom itself.

Yes, this looks very much like framework material to me. Also, there was a clear misunderstanding (from my part) as I thought you meant something completely different with this issue.
The solution you posted above is similar to what we were doing in Hyperapp, but this has now changed to using setTimeout, because rAF causes issues (by design) with inactive tabs / calls are throttled it seems.

Maybe this doesn't belong in this library at all? Should we just close the issue?

@mindplay-dk Yep, definitely not something we should force into users by default. But we could have a picothrottle (or else if you have a better name) library. Just thinking out loud. 🤔😉


Is it possible to use logback.xml instead of *.yml?

Hello. We've got a lot of different projects. All of them are configured by logback.xml and it works. I don't understand why should I learn one more DSL? Why should I think again:

How to create new appender?
How to use custom appender?
What will happen when logback add new functionality? How to use it with dropwizard?

The question is: how to use logback.xml configuration instead of .yml one?

The only official way is through the yaml configuration though I believe #996 allows one to define their own logging factory, so one should be able to create one to use logback.xml

@fedotxxl The intention of Dropwizard as a framework is to provide a single point of configuration (the configuration file) for all parts involved. Otherwise, users would have to write their own logback.xml, jetty.xml, hibernate.properties etc. files.
If you want to use a custom Logback appender, you will have to add it programatically.
Since @nickbabcock mentioned an existing workaround for your use case, I'll close this issue.

Fixed.

Read http://stackoverflow.com/a/27513081/716027
Or implement custom LoggingFactory  (e.g. https://gist.github.com/fedotxxl/0b3cc5e5e4eaeffdcde1f9834796edc6) and override getLoggingFactory() of your Configuration class to return instance of new loggingFactory (I used this approach).


Random "Lost connection to MySQL server during query" without any cause

plugin.mysql: R39-3 successfully loaded.
There is no reason for mysql plugin to lose connections, i've been running it for literally years without a issue and this has now started happening, i use Tquery only and every mysql_connect call has reconnect parameter set to true.
The only thing that changed recently is, that i had to disable crashdetect for a while.
Maybe this is an effect of mysql plugin threads crashing or something?
mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS, SQL_PORT, true);

I did my grep-ing of logs.. and this has only started to happen after switching from R35 to R39-3.
There is NO reason for connection to have been closed, my connections are permanent.
I did my best research and there is nothing external closing the connection than plugin itself.

Could you reproduce this with debug logging enabled and share your log output here?

84692813-[11:01:02] [DEBUG] mysql_tquery - connection: 1, query: "update ", callback: "JustDecrementQueryCounter", format: "i"
84692977-[11:01:02] [DEBUG] mysql_tquery - connection: 1, query: "update ", callback: "JustDecrementQueryCounter", format: "i"
84693152-[11:01:02] [DEBUG] mysql_tquery - connection: 1, query: "update ", callback: "NS_SaveAccount", format: "ii"
84693317-[11:01:02] [DEBUG] mysql_unprocessed_queries - connection: 1
84693378-[11:01:02] [DEBUG] mysql_tquery - connection: 1, query: "SELECT ", callback: "ET_GetCmds", format: "(null)"
84693543-[11:01:02] [DEBUG] CMySQLQuery::Execute[JustDecrementQueryCounter] - query was successfully executed within 858.236 milliseconds
84693672-[11:01:02] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
84693741-[11:01:02] [DEBUG] CMySQLQuery::Execute[JustDecrementQueryCounter] - starting query execution
84693835-[11:01:02] [DEBUG] Calling callback "JustDecrementQueryCounter"..
84693901-[11:01:02] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called
84693973:[11:01:03] [ERROR] CMySQLQuery::Execute[JustDecrementQueryCounter] - (error #2013) Lost connection to MySQL server during query
84694101-[11:01:03] [DEBUG] CMySQLQuery::Execute[JustDecrementQueryCounter] - error will be triggered in OnQueryError
84694210-[11:01:03] [DEBUG] CMySQLQuery::Execute[JustDecrementQueryCounter] - starting query execution
84694304-[11:01:03] [DEBUG] mysql_tquery - connection: 1, query: "update ", callback: "JustDecrementQueryCounter", format: "i"
84694479-[11:01:03] [DEBUG] mysql_tquery - connection: 1, query: "update ", callback: "JustDecrementQueryCounter", format: "i"
84694654-[11:01:03] [DEBUG] mysql_tquery - connection: 1, query: "insert ", callback: "spec_logenterspecid", format: "ii"
84694824-[11:01:03] [DEBUG] Calling callback "OnQueryError"..
84694877-[11:01:03] [DEBUG] mysql_reconnect - connection: 1
84694928-[11:01:03] [DEBUG] CMySQLConnection::Disconnect - connection was closed
84695000-[11:01:03] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
84695086-[11:01:03] [DEBUG] CMySQLConnection::Connect - connection was successful
There is nothing there, these disconnects seem to be caused somehow by the plugin internally and there id no indication on what would do this.
Downgrading plugin to R34 had fixed it for me.

I guess this is something caused by pquery implementation.
All my queries are tquery type and the server runs fine for a while.. sometimes even hours before this starts to happen and connectiony simply die.

Did you set the pool_size parameter in mysql_connect to zero?

I've left it at default value. Later i tried changing it to "1".
Both had same issue,

Did you actually tried to set it to zero (0) like this
mysql_connect("hostname", "username", "database", "password", .pool_size = 0);

?

No.. As there was nothing documented on wiki about this parameter affecting Tqueries and i do not use any pquery.
See:
http://wiki.sa-mp.com/wiki/MySQL/R33#mysql_connect
I will try again with this set to 0, but still - this should not affect tquery.

Any updates on this yet @JernejL?

Not yet - i was not able to analyze this again, but i will once i update my server to 0.3.7 (which is today)

Seems like setting pool size to 0 makes it function again, at least on windows in r39-3.

Doing new tests.. still have issues with connections - can't figure this out.. I will prepare a in-depth report for you.

Maybe your MySQL server allows only a very limited amount of concurrent open connections (I'm talking about the MySQL server here, not the SA-MP server; thus a connection from anywhere like a user control panel or panels like phpMyAdmin count too) and closes other connections instead.
It's unlikely that this is a plugin problem, since you're the only one reporting this type of problem and the effective difference between R35 and R39-3 is the higher amount of connections to the MySQL server.

I have this issue too, it happens when the server stops doing sql operations (after certain time of 'inactivity'). But, after the operation fails, the samp server reconnects to the sql server and all sql operations work again.


New option to ignore the basenamespace

Hi,
I modified the wsdl, create a new test to check when necessarily the user wants to ignore the base name space if it exist.
The problem was:
The code always uses the base name space of a node if it exists, in some cases this is wrong because the server can not accept this workaround and you need to ignore that base namespaces. The problem is localized in the line 1557 in the wsdl:
if(childParameterTypeObject.$baseNameSpace
{
    ns = childParameterTypeObject.$baseNameSpace + ':';
}

Solution:
To use it:
options: {
"ignoreBaseNameSpaces" : true/false (by default false)
}

I added a new option: "ignoreBaseNameSpaces" by default set "false", and modified the line, now it looks like:
if(childParameterTypeObject.$baseNameSpace && !this.options.ignoreBaseNameSpaces) {
   ns = childParameterTypeObject.$baseNameSpace + ':';
}

Also I modified the "request-response-samples-test.js"
Because the call adds the "options" parameter in the end, that is incorrect because the call never use that var in the code. Now the call makes sense with the signature to call the "createClient"
Old call:
 soap.createClient(wsdlPath, wsdlOptions, function(err, client){.......}, options);

New call:
 soap.createClient(wsdlPath, wsdlOptions, function(err, client){.......});

I update also de Readme to add the new wsdl_options description.
Thats all.
Regards

This works perfectly and solves my issue.
Thanks @lauort !

You are welcome @riaan53  :dancer:

Hi @herom
Does it exist the possibility to merge this pull request in the master branch?? I am using this module in my project and it is very important.
Regards.

+1
On Thursday, July 30, 2015, lauort<EMAIL_ADDRESS>wrote:

Hi @herom https://github.com/herom
Does it exist the possibility to merge this pull request in the master
branch?? I am using this module in my project and it is very important.
Regards.
—
Reply to this email directly or view it on GitHub
https://github.com/vpulim/node-soap/pull/689#issuecomment-126240594.

--
Riaan Jacobs
<EMAIL_ADDRESS>

This worked for me! Thank you so much. This issue has been causing me a lot of trouble and this patch fixed it.

Thanks @droidenator , but it is needed to merge with the master branch X_X!

Looks pretty good to me, other than it needs to be squashed down to 1 commit.

Hi @jsdevel,
I put again that var in test file and pushed it.
Regards!

Hi @jsdevel,
is there any problem to merge my changes?
Regards

@lauort almost there:

Please squash your changes down to a single commit in this branch's history
Please add an example in the README.

Hi @jsdevel
I made a reset to the branch, and update the readme, added the option, I think is all right now.
Regards

I'm still seeing 10 commits.

Hi @jsdevel
Now is only 1 commit i do not know why the git do not update my previously head reset.
Regards and sorry for all the drawbacks.

I'm still seeing multiple commits:

Can you esplain me what is the problem becaus if i reset the branch, all the changes will be lose... do you prefer i open a new pull request?

I am making 1 commit only and I will make the pull request

HI @jsdevel
Now the branch only has 1 commit with all the changes.
New Test, add descriptions in the 2 readme files, and the modifications in the wsdl file.
Sorry for all but is the 1st time i tried to colaborate in a git project.
Regards and thanks for all.

@lauort looks like github is complaining about conflicts still? "This branch has conflicts that must be resolved"
Cant wait until this is in :)

@riaan53 I think the merge problems need to be solved by  @jsdevel  if i need make some other changes i will :dancer:

Hi  @jsdevel , Do i need to make some rebase to solve the issues or you will fix it?
Regards

You'll need to rebase your branch onto the latest in master.  There are several ways to do this.   Sorry for all the problems


maxProperty doesn't have a good way to use "default"

:smile: If I don't pass a yMax, I get a nice default behavior:
{{ember-nf-graph}}

:smile: If I do pass a yMax, I can get a nice override:
{{ember-nf-graph yMax=100 class='percent-graph'}}

:cry: But there's no way for me to use yMax=someBoundProperty that might be undefined or might be an integer. If it's undefined, then yMax gets set to undefined, not to the default behavior.
I think an easy solution would be to change the logic in the maxProperty to use the override only if it's not null:
// was:
if(arguments.length > 1) {
  this[__Max_] = value;
} else {

// suggested:
if (value != null) {
  this[__Max_] = value;
} else {

This is tricky. It seems like a few cases are not covered:

null
undefined
NaN
Infinity

I think the behavior you're suggesting is perfect for undefined, where you just don't change whatever it's been set to. But for null or NaN, I think it should probably go to 0 or some minimal number, because it seems like in those cases the consuming code is specifically getting at changing the value to something, even if it's not apparent what that something is.
Thoughts, @jayphelps?

.. and on the Infinity side, I think that's an extreme edge case, but I can probably default that to MAX_VALUE or MIN_VALUE depending on the polarity of the thing.

@jamesarosen so I have a good understanding, what's a use case for binding the property, but the value is undefined/null but it is not a bug? I've found myself more and more not doing these sort of "I can't use the value, fall back to default" because they tend to mask bugs in apps that later are hard to track down. Instead, I usually prefer to either throw an actual error or fallback with a console.warn() that the value provided wasn't usable and it's falling back.

My use-case: I'm building a component that wraps nf-graph. It has a unit that could be "percent", "byte", or "count". If it's "percent", then yMax should be 100. Otherwise, it should be auto.
My implementation is
// my-graph.js
yMax: computed("unit", function() {
  return this.get("unit") === "percent" ? 100 : undefined;
})

Alternatively, I could pass in something like "auto" to indicate I want the default behavior.

@jamesarosen that seems like a very valid case. I dig your suggestion for "auto" to let nf-graph know to use the default behavior. Back to you @blesh.

In that case, the docs might read something like

yMax: maximum value on the y-axis. Defaults to "auto", which causes the axis to use a value slightly higher than the highest value in the data.

Any my example might look something like
{{nf-graph yMax=(if isPercent 100 "auto")}}

It's tricky. I sort of view the value the graph was initially set with to be the "default", not necessarily the coded default. It seems like we could memoize that when it's initialized, somehow. I think passing undefined and expecting it to default is fine. I'm more concerned with that matching up with where someone is inadvertently passing in NaN due to some miscalculation, I guess.
Perhaps it should be like this:
{{#nf-graph xMax=someValue xMaxDefault=100}}

Where if someValue is undefined or null it gets set to xMaxDefault...
However, in the event that someValue is NaN it should be set to 0 and MIN_VALUE or MAX_VALUE for ±Infinity.
Thoughts?

What's the current behavior if I set yMax=NaN?

It should behave the same as a 0, I think.

So you want

undefined, null, NaN, 0 to all be treated as "calculate max"
any number to be treated as a fixed value

I really depends on the yMaxMode how it will behave. If it's auto it should ignore setting the value entirely.

@blesh can you give me very specific requirements? I need to work on this this week to ship a feature. I can make up an implementation that works for me, but I'd rather do something that will get merged here (eventually).

different yMaxModes:

auto: automatically calculate yMax from contained graphics' data
push: allow setting of yMax, but push the yMax value up if the contained data passes it.
push-tick: same as push, but go to the next nicest "tick" value.
fixed: user determines the yMax value at all times.

When in doubt, use fixed and set it yourself. We do this for things like sliding windows, etc.
Does that help?

These yMaxModes suggest maybe I'm going about this wrong. Imagine the following use-case:

When showing a percentage graph, default to showing [0-100%] by default. Allow the user to zoom in on the displayed range.

Given that, I would guess something like
{{nf-graph yMax=100
           yMin=0
           yMaxMode=(if isZoomed "push" "fixed")
           yMinMode=(if isZoomed "auto" "fixed")}}

I'm totally cool with setting yMax to "auto" or some other string when I want default behavior:
{{nf-graph yMax=(if isZoomed "auto" 100)}}

The method that is going to give you the most control will be using fixed in most cases. auto and push or push-tick were really added as conveniences, but might not be doing the most efficient thing when trying to suss out where your min and max values lie.

but might not be doing the most efficient thing when trying to suss out where your min and max values lie.

For example, maybe your array is already sorted, or maybe your service already gave you the min and max values, and you can just pick them out of an object or an array without having to iterate over that array.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 818

Questions ?
Please refer to the Backport tool documentation


OPNsense BGP Alias lists empty after upgrades (and other events?)

Important notices
Our forum is located at https://forum.opnsense.org , please consider joining discussions there in stead of using GitHub for these matters.
Before you ask a new question, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

I currently have an issue when upgrading from OPNsense 23.1.5 series to later versions (including 23.1.6 and 21.1.7).
My rules rely heavily on BGP aliases (e.g., to limit SMTP and IMAP to locally valid addresses).  On upgrades, and possibly other configuration/setup change events (e.g., possibly restoring configuration backups?), the configured BGP alias lists are empty.  This has immediate consequences on email as well as push notifications (e.g., Apple, WhatsApp, etc.) among others.
Am I correct that BGP alias lists are flushed on these type of events?  How long does it take to refresh these aliases?  Can I manually force the BGP alias lists to be refreshed?  (Or, has the BGP alias system broke since 23.1.5?)
I asked this question in the community forums as per the guidelines for contributing, but I have received no reply.  I have not filed a bug report yet.

It downloads the content from https://rulesets.opnsense.org/alias/asn.gz on our end, usually the log (Firewall: Log Files: General) does offer some more clarity. On my end it works without issues.

Thanks @AdSchellevis .  The firewall logs at The Firewall -> Log Files -> General reveal:
2023-05-19T12:06:42-04:00	Error	firewall	alias resolve error BGP_Apple_v4 (HTTPSConnectionPool(host='rulesets.opnsense.org', port=443): Max retries exceeded with url: /alias/asn.gz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get issuer certificate (_ssl.c:1134)'))))
The issue began to occur with 23.1.5_4.  I have upgraded to 23.1.7_3.  On a separate system, I do not have the issue.  I have now upgraded the system at issue, removed unnecessary plugins, performed a configuration reset to defaults (and reloaded the saved configuration).
Under Firewall -> Aliases, the BGP aliases show Loaded# with various numbers of loaded aliases.  However, under Firewall        -> Diagnostics -> Aliases, the BGP aliases are all empty.  The update dates are current regardless of the failure above.  This seems related to #6327 ( https://github.com/opnsense/core/issues/6327 ).
The firewall rules on which BGP aliases depend no longer function.

Likely installed certificate authorities breaking trust upstream. When visiting our website with https://rulesets.opnsense.org it does look normal (and works without issues on my OPNsense as well).

If the health audit looks ok sometimes the following file get damaged beyond repair for the package tool /usr/local/openssl/cert.pem for reasons not to be debated here...
To fix:
cp /usr/local/openssl/cert.pem{.sample,}
/usr/local/etc/rc.configure_firmware


security issue: use alternative to isomorphic-fetch dependency

The library does not seem maintained, especially since it depends on node-fetch which has a security issue that is still unpatched:
https://github.com/matthew-andrews/isomorphic-fetch/pull/204
The last release for isomorphic-fetch is Sep 2020, about 16 months ago.

https://github.com/matthew-andrews/isomorphic-fetch/pull/204#issuecomment-1026921194 cross-fetch seems to be a drop-in alternative

closed via #96


Windows and Linux support?

Hi, the readme says the package only supports iOS, Android, web, and Mac OS. However, on the fluttergems.dev it states that all platforms are supported. Could you please clarify this and perhaps fix the issue?

Thanks for opening the issue.
I couldn't test it on Windows and Linux, but it should work.
Are you able to test it?
Would be happy if you open a PR updating the readme (can just remove the bullet point, or add the two platforms) 🤗

Removed the ambiguous line from the readme and published to pub.dev.


[Enhancement] YAML validation of a TestStep file

When kuttl parses a TestStep file, there is currently no validation performed to ensure basic things such as:

a field is specified but unrecognized / indentation errors
a required field is missing
a referenced file in a field cannot be located

We need to add some of these basic validation checks to ensure authors of these kuttl tests don't waste time chasing simple problems.

@chipzoller
Will these issues be solved in the LFX duration or I could start working on this now?  Since I am applying for the LFX 2023.

These are all reserved for the LFX mentorship.


www/caddy: Fix type error in configAction of DiagnosticsController.

Fixes this:
[17-Jun-2024 16:08:31 Etc/UTC] TypeError: Cannot assign OPNsense\Mvc\Response to property OPNsense\Mvc\Dispatcher::$returnedValue of type array|string|null in /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Dispatcher.php:165

Is this a master or stable/24.1 issue?

It happens since: 24.7.b_43
This patch fixes it in 24.7.b_43 and I tried it out in 24.1.8 too, where it seems to have no regressions.

Merged, thanks! I was only worried I had to redo parts of 24.1.9 since that is already taken care of. In that case let's leave it on master branch.
Cheers,
Franco

Yup no worries there, this one is for later :)


Ghost monotonic references

Following the same pattern as Steel and Steel.ST monotonic references, this PR proposes a specification and implementation of Steel and Steel.ST ghost monotonic references.

The code defining values of higher monotonic references and ghost higher monotonic references (the history type), and operations thereon, is common to both kinds of references, so I moved it to Steel.Preorder

Since here I am mainly dealing with ghost computations (notably write), I think the value argument to pts_to needn't be Ghost.erased.
(Sadly GitHub won't allow me to request changes on my own pull request, so I'm opening a checkbox here: )

[ ] Remove Ghost.erased on the value argument to pts_to


Word double tap doubles the word in Android.

Video worth a thousand words :)
Recorded on Chrome in Android7.

Same here, also on Chrome

We managed to fix this issue by switching to EasyMDE, which was pretty much a drop in replacement from SimpleMDE for us: https://github.com/Ionaru/easy-markdown-editor

Pressing space after typing also repeats the entire thing. Android 9 + Chrome


SW vacuum concurrent update

ERROR:  tuple concurrently updated
CONTEXT:  automatic vacuum of table "juggernaut.public.v_mrel0"

ERROR:  tuple concurrently updated
CONTEXT:  automatic vacuum of table "juggernaut.public.v_mrel0"
error at:
pipeline: autovacuum worker process   juggernaut(errstart+0x217)[0x766007]
pipeline: autovacuum worker process   juggernaut(elog_finish+0xb0)[0x7698f0]
pipeline: autovacuum worker process   juggernaut(simple_heap_delete+0xa5)[0x48e965]
pipeline: autovacuum worker process   juggernaut[0x49726c]
pipeline: autovacuum worker process   juggernaut(toast_delete+0x81)[0x497bc1]
pipeline: autovacuum worker process   juggernaut(heap_delete+0x819)[0x48e879]
pipeline: autovacuum worker process   juggernaut(matrel_heap_delete+0x30)[0x620180]
pipeline: autovacuum worker process   juggernaut(lazy_vacuum_rel+0xbe4)[0x58d6d4]
pipeline: autovacuum worker process   juggernaut[0x58b19a]
pipeline: autovacuum worker process   juggernaut(vacuum+0x20b)[0x58bf1b]
pipeline: autovacuum worker process   juggernaut[0x630dfb]
pipeline: autovacuum worker process   juggernaut[0x6312ab]
pipeline: autovacuum worker process   juggernaut(StartAutoVacWorker+0x29)[0x631b19]
pipeline: autovacuum worker process   juggernaut[0x63ee98]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40)[0x7f8630dd2d40]
/lib/x86_64-linux-gnu/libc.so.6(__select+0x13)[0x7f8630e8dd83]
pipeline: autovacuum worker process   juggernaut[0x463bc3]
pipeline: autovacuum worker process   juggernaut(PostmasterMain+0xeb8)[0x63fe38]
pipeline: autovacuum worker process   juggernaut(main+0x3e9)[0x464ef9]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f8630dbdec5]
pipeline: autovacuum worker process   juggernaut[0x464f60]


pkg/allocator: store key in variable for error message

In case of an error, the returned 'key' would have been nil. By storing it in a separate variable we will be able to return the error with a more descriptive message.
Fixes: e39fcaea5721 ("pkg/allocator: Improve 'Key allocation attempt failed' handling for CRD mode")

/test


Updated my info in TEAM.md in table format

Please review the changes and accept

@sarathkumar6 can you specify about which file name are you talking about ?

@SwatiRaoDataEnthusiast  the firstpr file name
from swati_rao to swatirao?

@sarathkumar6 people are naming it like this because of NAMING-CONVENTIONS.md file... We should make changes there

@tusharkandpal  Barring a few files, rest of the files in the firstpr folder follows small case convention.
So, better to stick with the convention followed in the folder I feel. Instead of looking outside the folder.
eventually we would want to follow same standards across; bit for now we could stick to what's followed inside the folder
https://github.com/twindle-co/twindle/tree/main/firstpr

Yes i agree...i was saying to correct the guidelines in there.

Sure, we will. But for now, we could stop one more change for the future now with this; that's the thought process behind it.


Volumes Tab in container detail does not show all information

Rancher Version: v1.2.0-pre2-rc2
Steps to Reproduce:

Create a volume using convoy-nfs Driver, add sidekicks and select Primary for those sidekicks in Volumes From.
Go to primary container details page, then go to a sidekick container details page

Results:
The Volumes from information and the Volume Driver are not shown.
Expected:
Should we show this information on this page?

Version - master 11/20
Verified fixed


Add metrics for internal queue

The input has the following structure:

UdpLister accepts packets from the UDP socket
pushes those packets into @intput_to_wroker queue https://github.com/logstash-plugins/logstash-input-udp/blob/cda777a859f11a12d061ae3b6c3a1080cf8ab39f/lib/logstash/inputs/udp.rb#L70
then one of inputWorker threads pull data from it, invokes the codec, and pushes the event created into Logstash queue

The metrics that the plugin exposes are only:
https://github.com/logstash-plugins/logstash-input-udp/blob/cda777a859f11a12d061ae3b6c3a1080cf8ab39f/lib/logstash/inputs/udp.rb#L71-L72
which are static data, extracted from the plugin configuration. Could be helpful to have a metric the measure the filling of the queue and another that register the number of packets received by the listener.

The metrics information could be monitored with  curl --silent http://localhost:9600/_node/stats/pipelines | jq .pipelines.main.plugins.inputs that provides an output like:
{
  "id" : "udp_test_input",
  "name" : "udp",
  "queue_size" : 10000,
  "workers" : 2,
  "events" : {
    "queue_push_duration_in_millis" : 0,
    "out" : 8
  }
}


feat: add experimental browser build and karma setup

new babel config, new webpack config, and karma config
all behind a experimental flag
BREAKING CHANGE: webpack bumped to version 4+
related to this https://github.com/ipfs/aegir/issues/228

@hugomrdias is this WIP or ready to be reviewed?

i think i addressed only the comments

Solving the issues outlined above and trying it manually for a project that currently uses a build of js-ipfs (locally or via unpkg) and I think we're ready to merge this.

Solving the issues outlined above and trying it manually for a project that currently uses a build of js-ipfs (locally or via unpkg) and I think we're ready to merge this.

@VictorBjelkholm is this https://codesandbox.io/s/github/hugomrdias/js-ipfs/tree/feat/dist-setup/examples/codesandbox-vanilla enough ?

Only builds a minified version by default, compared to minified + unminified as before

This is cumbersome, do we really need an unminified version ? simple fix run it twice NODE_ENV=development and NODE_ENV=PRODUCTION but still isn't the same thing, to be exactly the same it needs to run twice in production mode but first with uglify and the second without, i would rather keep it simple like it's now.
But if you think this is important ill change it.

Yeah, I think we really need a unminified version. Usually (AFAIK) when using window scripts, you use the unminified one while developing for ease of usage, debugging and experimentation, but switch to the minified one for deployment. So think we should still keep it that way.
The codesandbox is good enough, thanks! :+1:

Isn't minified + source maps even better than a non-minified version?

@vmx I think that just solves the issue for errors and looking in the "Source" pane in the devtools. Editors and others doesn't use sourcemaps AFAIK.

@hugomrdias was "There is no indication of that the build started, so it looks like it hanged until it's done." addressed so far?

Yes it is, forgot to mention that in the last commit.

@VictorBjelkholm added the build without uglify in the last commit


Cross platform error codes

Firstly:
The current method for getting the Auth error code in Android is:
task.getException().hashCode()
this should be replaced with
task.getException().getErrorCode()
for greater error consistency between android and IOS.
Once that method is implemented we can create a function that takes the android and ios error codes and returns a universal error code which we can publish and developers can use to switch on for front end purposes e.g displaying an error message to a user.

Will merge after I get a chance to test this out.


Improving Scrollbars?

I noticed the scrollbars are just standard wide scrollbars, probably the ones used by Edge (at least on a PC). Is there a possibility to have the scrollbar either disappear or shrink when it's not focused?
I know in native UWP apps like Mail, the scrollbars are just a thin line until you hover over them, and they are dark as well. Having these scrollbars instead of the standard white & wide ones would improve the look of the app a lot imo.

The ugly scrollbars are a side effect of changing the user agent string to Chrome, which has native support for scrollbar styling. This feature is on the backlog for Edge, so Discord's custom scrollbars should start working in the future.


BABE and GRANDPA

1.0 Abstract of PoS
In traditional PoS System, block production participation is dependent on token holdings as opposed to computational power.
Most project end up proposing some level of centralized operation. While the number of validator with full participation right has impact on the performance of consensus (ex. HoneyPBFT).
2.0 BABE
Actually BABE (Blind Assignment Blockchain Extension protocol) assigns block production using roughly the randomness cycle from Ouroboros Praos. But with two differences, one is called GRANDPA best chain selection and another is using a new Clock in distribution system instead of their own clock.  In short  BABE + GRANDPA == Hybrid Consensus
2.1 How did BABE work ?
There are sequential slots{s1, s2, s3, s4} which consist of a number of sequential block production and then blockchain group them into non-overlapping epoch{e1 = [s1, s2, s3, s4]}. At the beginning of an epoch, every party "rolls a die".They compute a hash with proof by VRF(It will be described later) and stop if it is blew threshold r which one is the hash of VRF values from the blocks in the epoch before last(N - 2).So by the way, the past randomness affects the current pendding  randomness. The number of parties who had passed VRF Challenge would be zero, one or more than one sometimes.

If Partyi and Partyj had passed challenge, they all have the right to broadcast a VRF block. The winner block is the one which had been accecpt by most of the paties firstly.At this point, it's a race full of luck under the same conditions.
If there is no any paties had passed challenge, the block production running use a round-robin style validator selection algorithm in the background. It is called secondary block which has lower priority than the VRF block, so the secondary block would be ignore when a VRF block appeared in the same slot.

3.0 GRANDPA
GRANDPA(GHOST-based Recursive ANcestor Deriving Prefix Agreement) is the finality gadget.It run a protocol similar to other two-phase synchronousByzantine agreement algorithms. It works in a partially synchronous network as long as 2/3 of nodes are honest and cope with 1/5 Byzantine nodes.But it reach the agreement on chain rather than blocks. So where they would vote in the second phase on the exact value that over 2/3 of voters voted for in the first phase. Then GRANDPA search latest block on the first set of votes to find the longest common prefix that 2/3 of voters agree on and use that for second phase.Sometimes participants would not agree on the latest block but still agree on a long chain with earlier blocks.

T: the network delay, V: prevote, C: precommit, r' ≤ r, g(v): get latest block from v, B: latest block
a voter v can start round r > 1 when round r-1 is completable and v has cast votes in all previous rounds where they are voters. Let tr,v be the time v starts round r.
At time  tr,v, if v is the primary of this round then they broadcast Er-1, v(Vr-1, v ,Cr-1, v)
v waits until either it is at least time tr,v+2T or round r is completable, then broadcast a prevote. They prevote for the head of longest containing Er-1, v(Vr-1, v ,Cr-1, v) unless we received a block from primary and g(Vr-1, v) ≥ B > Er-1, v(Vr-1, v ,Cr-1, v), in which case they use the best chain contains B instead.
v wait until g(Vr, v) ≥ E(r-1, v) and either it is at least time time tr,v+4T or round r is completable, and then broadcast a precommit for g(Vr, v)
v  sees a block B as finalised in round r if g(Cr, v) ≥ B

@kwanCCC Maybe we can use https://github.com/filecoin-project/bls-signatures as the backend of our aggregated signatures (For GRANDPA).

@keyvank , If we only keep one kind curves for signing, the BLS is really a good choice. But I'm not sure there's a Elliptic Curve VRF which base on BLS. I just found schnorrkel in substrate which atisfies the trusted uniqueness, trusted collision resistance, and full pseudorandomness properties.

@keyvank ,Oh I see what you mean. The validators in GRANDPA are usually signing the same thing. It make sense to optimize the protocol


(AcmeProtocolException): JWS has an invalid anti-replay nonce:

wacs abort with this:
(AcmeProtocolException): JWS has an invalid anti-replay nonce: "0102O2UKuwaTpw0C6VQzWsbdPSl2_T_nZPil94ND1P_rpYo"
I seems to occur one domain.  What is the basic idea here?   The source says there is a TODO here regarding a retried but I can't tell it is retrying and then aborting with the above exception.
How can I clear the nonce?
Thanks

A nonce is a random piece of data exchanged between client and server that is used to make sure that nobody can replay the request that you make (i.e. capture it, save it and re-send it at a future time). Nonces are short-lived and not rigourously persisted on the server side (e.g. they are lost when a node a loadbalanced cluster goes done), so prone to failure even for a legitimate user.
win-acme - as per the ACME specification - retries to send the request with a newly requested nonce when it fails with in invalid nonce. It does that up to three times. If it still fails at the third try, this exception shows up. Chances of it happening in regular circumstances are pretty minimal. Most likely it indicates some kind of stability issues at the server side.

Yes, I read the code and online comments, the TODO.  I thought maybe the csr was stale. Repeated it 3 times over the last 36 hours.  It happen  on another but then it worked.   I was concerned of 'too much real testing so I paced myself with it.   Anyway.. let me try now    Ohhh, look at this, it got pass the nonce, and wacs caught a syntax error! HA!
(AcmeProtocolException): Error creating new order :: Cannot issue for "aws2,winserver.com": Domain name contains an invalid character
Ok it was corrected, repeat, MAGIC - Its working, automated script!   I went with DNS scripting.
You have a great tool here!   I Love it when things work!!
Thanks

Going to close this @WouterTinus.   Thanks Again.


⚠ Samsung has degraded performance

In faa9174, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2527 ms

Resolved: Samsung performance has improved in a761958.


[FLINK-20703][table] HiveSinkCompactionITCase test timeout

What is the purpose of the change
HiveSinkCompactionITCase test timeout
The phenomenon is:
All failure are related to the hive tests.
All tests timeout when fail.
Brief change log
In CompactOperator:
Some writer not support RecoverableWriter, so fallback to per record moving.
For example, see the constructor of HadoopRecoverableWriter. Although it not support
RecoverableWriter, but HadoopPathBasedBulkFormatBuilder can support streaming writing.
Catch unsupportedException, fallback to doMultiFilesCompact.
Verifying this change
HiveSinkCompactionITCase
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? no

+1. Thanks for fixing the issue.
And perhaps we should make UnsupportedOperationException part of the API contract. Otherwise, we'll be depending on implementation details here.

Thanks for the review, there are some comments on FileSystem.createRecoverableWriter.

+1. Thanks for fixing the issue.
And perhaps we should make UnsupportedOperationException part of the API contract. Otherwise, we'll be depending on implementation details here.

Thanks for the review, there are some comments on FileSystem.createRecoverableWriter.

I see. Then I think we're good to go.


[stability] Add LoadImageList and ScrollLargeHightPage test

Add two stability tests for XWALK-4050/4094, XWALK-3941
Update test purpose in test xml
Format tests.full.xml:
xmllint --format tests.full.xml
convert tests.xml from tests.full.xml:
tools/xmlsimplifier/xmlsimlifier.py -f tests.full.xml -o tests.xml

Impacted tests(approved): new 2, update 0, delete 0
Unit test platform: [Android][Crosswalk 14.43.342.0]
Unit test result summary: pass 2, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/XWALK-4050
BUG=https://crosswalk-project.org/jira/browse/XWALK-4094
BUG=https://crosswalk-project.org/jira/browse/XWALK-3941

lihao, no need test apps source code like manifest.json, as its just host app, please refer to the suite.json in crosswalk-test-suite/stability/stability-longlasting-android-tests/suite.json, and only pack hostapp from url is enough to use


notebook // matplotlib confusion

The function in_notebook  is pretty useless, and it  prevents MatPlot to be in the qcodes name space, for no good reasons.
We do not really depend on the notebook anymore (thankfully).

@giulioungaretti Removing the notebook check fixes the issue, but it adds overhead in importing qcodes. For people wanting to quickly import qcodes (this will probably become important again when doing multiprocessing) the overhead of importing pyqtgraph and matplotlib is significant.

@eendebakpt @peendebak  then we can put a config switch ? see pr #625

@giulioungaretti The config option in #625 looks good to me.

I close it since the fix has been implemented in #625 and #699


linterOptions.format doesn't work

Bug Report

TSLint version: 5.12
TypeScript version: 3.2.2
Running TSLint via: CLI

TypeScript code being linted
not important
with tslint.json configuration:
{
  "extends": [
    "@martin_hotell/ts-lint-config"
  ],
  "rules": {
    // core lint rules

    // @martin_hotell/ts-lint-config overrides
    "no-unsafe-any": false,
    "match-default-export-name": false,
    "file-name-casing": {
      "options": [
        {
          ".ts": "kebab-case",
          ".tsx": "pascal-case"
        }
      ]
    },

    // tslint:recommended overrides

    // tslint-config-standard overrides

    // tslint-etc rules

    // tslint-react rules
    "jsx-boolean-value": {
      "options": "never"
    }
  },
  "linterOptions": {
    "format": "codeFrame"
  }
}

Actual behavior
default formatter is used.
Expected behavior
codeFrame should be used like from CLI tslint -p ./ -t codeFrame
Related: https://github.com/palantir/tslint/pull/4155

@adidahiya I'm using version 5.18.0 and the problem still persist.

💀 It's time! 💀
TSLint is being deprecated and no longer accepting pull requests for major new changes or features. See #4534. 😱
If you'd like to see this change implemented, you have two choices:

Recommended: Check if this is available in ESLint + typescript-eslint ✅
Not Recommended: Fork TSLint locally 🤷♂

👋 It was a pleasure open sourcing with you!
If you believe this message was posted here in error, please comment so we can re-open the issue!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


can't run mvn clean package successfully  in EM/demos dir , any suggestions ?

Hi,
sorry for late response, it seams notifications for issues does not work for me. Can you try again and if still have problems provide the output.
Also please note that in master branch, demos depend on not yet released version 0.2.0-SNAPSHOT. Before you can use them, you need to:

run mvn clean install in the main folder, which will build and install locally EM and it's dependencies
run mvn clean install in contractors folder  which will build and install locally the OOTB contractors

Hi,
sorry for late response, it seams notifications for issues does not work for me. Can you try again and if still have problems provide the output.
Also please note that in master branch, demos depend on not yet released version 0.2.0-SNAPSHOT. Before you can use them, you need to:

run mvn clean install in the main folder, which will build and install locally EM and it's dependencies
run mvn clean install in contractors folder  which will build and install locally the OOTB contractors

I'm closing this issue. Please reopen if you still experience the problem.


Make OSError.winerror reference portable

Apparently, OSError only has a winerror attribute on Windows, so we need to use getattr() for support on other platforms.

Codecov Report

Merging #123 (6ceabf5) into master (8007c47) will decrease coverage by 2.73%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   67.91%   65.17%   -2.74%
==========================================
  Files           1        1
  Lines        1390     1390
  Branches      308      289      -19
==========================================
- Hits          944      906      -38
- Misses        358      394      +36
- Partials       88       90       +2

Impacted Files
Coverage Δ

src/datalad_installer.py
65.17% <50.00%> (-2.74%)
:arrow_down:

Continue to review full report at Codecov.

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

The test failure is due to an unrelated connection error while downloading a build artifact from GitHub.

thanks!


toolbar in speak activity not responsive

Whatever could be the screen size the Stop button should always visible to be sure the user will be able to quit the activity.
but here it is not in the case of speak activity.

The window size you're suggest doesn't match any real device and is not in landscape mode.
As mentioned here, activities are not suppose to be responsive in any condition.

like in physics (here) write activity etc, we have this feature,
are they having the same feature because they are having more number of toolbar buttons .
am i right?

The more toolbar buttons there are, the more it's important to handle the way the window is responsive. Specifically by hiding buttons to avoid a toolbar on two lines.
BTW it doesn't change the rules: the activity should try to be responsive for a "classic" smartphone in landscape mode. If it works for the "iphone 6/7/8" device in Chrome responsive mode, that's fine.


gene annotated to this term page does not appear to load

at least this one
http://pombase2.aska.gen.nz/term_genes/GO%3A0010389

yep. I think they worked earlier though? maybe not.
Works for phenotypes, maybe that is what I was looking at earlier.

Sorry I broke it when fixing #231.  Should be fixed now if you shift-reload.


Quick read of ipv6 docs and small fixes.

Why on earth does one directly edit the systemd/system/docker.service
file just to add a start argument?
Fixed typos.
I have not fully tested it yet, but I will when I have time.

Thanks for reviewing!
I don't understand your comment about modifying the systemd service for two reasons:

People shouldn't be modifying the service file directly.  It should be overriden as described in the init file.  I'm currently running several OpenVPN servers on one of my servers and it works. The goal is to make the systemd service extensible and have sensible defaults.   Open to other suggestions.
The IPv6 stuff in the service file is an eye sore, but Docker doesn't handle network configuration very well at this point.

Why are you using the start argument?  Are you storing the state in a single container?  Running a single container makes it very hard to update.  My philosophy is to do a docker pull to always pull the latest openvpn image (and fail gracefully if the pull fails) to get the latest security updates and then create a new container with docker run.  If you're doing docker start ... it suggests you're re-using a container, why?

Hi
Not sure if I understand you correctly.
My main confusion was about the sed -e 's:^\(ExecStart.*\):\1 --ipv6:' /lib/systemd/system/docker.service | tee /etc/systemd/system/docker.service line which you used to append the --ipv6 switch. This can be done much simpler and more robust using the /etc/default/docker file. (Wrote an Ansible Role for that :smile: ypid.docker)
About the systemctl restart vs. service command I guess they are interchangeble on most systems running systemd (which is the majority of current distributions). I am just used to the service command because it is shorter :smile: (reverted …).
To 2. Not sure what you mean. I published parts of my Docker setup configuration on GitHub. Here is the relevant part.
BTW. Thanks for your work on v6 integration!

Ahh.  I was thinking of<EMAIL_ADDRESS>and you're talking about docker.service.
The /etc/default configuration directory is Debian (and derivative) specific thing, as is service.  These will hopefully go away when people finally standardize an init system across distributions.  Systemd defines all these things in a much more extensible way.
In short, we need both until the Debian way dies (as it has already moved ot systemd) and Ubuntu will soon follow.  Fedora and Arch has been on systemd for years.


cli: Add the git revision to the version command output

eg
cardano-cli 1.11.0 - linux-x86_64 - ghc-8.6
git rev 597dfa13094ad51e5178c9d534b0e94206f2ea66

Converted this to a draft. Will add this to the node tomorrow.

Help text now for the cli
$ cardano-cli
cardano-cli - utility to support a variety of key operations (genesis
generation, migration, pretty-printing..) for different system generations.

Usage: cardano-cli (Byron specific commands | Shelley specific commands |
                     Miscellaneous commands)

Available options:
  --version                Show the cardano-cli version
  -h,--help                Show this help text

Byron specific commands
  byron                    Byron node operation commands
  genesis                  Create genesis.
  print-genesis-hash       Compute hash of a genesis file.
  keygen                   Generate a signing key.
  to-verification          Extract a verification key in its base64 form.
  signing-key-public       Pretty-print a signing key's verification key (not a
                           secret).
  signing-key-address      Print address of a signing key.
  migrate-delegate-key-from
                           Migrate a delegate key from an older version.
  issue-delegation-certificate
                           Create a delegation certificate allowing the
                           delegator to sign blocks on behalf of the issuer
  check-delegation         Verify that a given certificate constitutes a valid
                           delegation relationship between keys.
  submit-tx                Submit a raw, signed transaction, in its on-wire
                           representation.
  issue-genesis-utxo-expenditure
                           Write a file with a signed transaction, spending
                           genesis UTxO.
  issue-utxo-expenditure   Write a file with a signed transaction, spending
                           normal UTxO.
  get-tip                  Get the tip of your local node's blockchain
  validate-cbor            Validate a CBOR blockchain object.
  pretty-print-cbor        Pretty print a CBOR file.

Shelley specific commands
  shelley                  Shelley specific commands

Miscellaneous commands
  version                  Show the cardano-cli version

and summary usage (e.g. displayed on a mistake)
$ cardano-cli  --foobar
Invalid option `--foobar'

Usage: cardano-cli (Byron specific commands | Shelley specific commands |
                     Miscellaneous commands)

And for the node:
$ cardano-node
Usage: cardano-node (run | run-mock | [--help])
  Start node of the Cardano blockchain.

Available options:
  --version                Show the cardano-node version
  --help                   Show this help text

Execute node with a real protocol.
  run                      Execute node with a real protocol.

Execute node with a mock protocol.
  run-mock                 Execute node with a mock protocol.

Miscellaneous commands
  version                  Show the cardano-node version

and summary usage (e.g. displayed on a mistake)
$ cardano-node  --foobar
Invalid option `--foobar'

Usage: cardano-node (run | run-mock | [--help])
  Start node of the Cardano blockchain.

So note that we hide the --version flag and version command from the short usage text. Otherwise it'd appear as
Usage: cardano-node (run | run-mock | (version | --version) [--help])
  Start node of the Cardano blockchain.

bors merge


Unable to logout from facebook

Hi,
The code
await widget.plugin.logOut();
does not log the user out. (this code is taken from link)
If I click on login button after clicking logout button, then a pop-up window appears for a second and I get the previous user automatically(i.e. it didn't logout the previous user).
I have noticed that if I log out from the Facebook app then the user in the app is also logged out.(without clicking logout button)
Please help me fix this bug, it is urgent!
Summary:
The logout code given in the example doesn't actually log the user out because of which when we click on the login button the next time it automatically returns the previous logged in user.
Thank you!

Hi!
I think maybe we talking about different logouts =)
Let's see. There is a 3 different "log in/log out":

User logged in Facebook social network. That's not our area of responsibility - we can't log out from network itself.
User allow our Facebook app to log in with. When user is log in for the first time - he allows our Facebook application to use his account for log in and gives some permissions. When he is log in next time - he doesn't need to allow anything, because he's already logged in to this Facebook app (in some login variants he may see "Continue" button to confirm log in, but without permissions, etc). Not sure if we can log out user from Facebook app (I think not), but we definitely  shouldn't, because user may have been logged in with our Facebook application in different places (mobile app and web, or simply on different devices), and logout in one place shouldn't force logout in all places. If user want to log out from all places - he can do it from his Facebook settings by revoke permissions from our Facebook app.
User logged in via Facebook in our (mobile) application. Define user session in specific app instance. That's what we control. Logout in this context just clear current access token, so user no longer logged in this app instance. But he is still logged in our Facebook app (so he can use it in different app instances) and he is still logged in Facebook itself. Thus if he click log in again - he will be logged in with minimum actions from his side.

So, plugin (and the native SDK) makes "logout" in the 3rd context. To make sure that it's working you may:

Check assessToken after logout. It should be null (and it is).
Terminate app after logout and run it again. If we logged in - than session will be restored and we can see user information again, if it's not - user logged out from this app instance (and it's not).

Summary: Logout in plugin works as expected and designed by Facebook.
If I'm wrong or plugin doesn't works as described in some cases, please tell me about it. Have a nice day!


Update cisdem-pdfmanagerultimate to 2.5.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 343edcd165cd7f84944b598e97cd7b2108d7da2b. Your contribution is still credited to you.


Move a few lines from stability-stdlib-abi-with-asserts.test to stability-stdlib-abi-without-asserts.test

@glessard This was failing in the noasserts bots. It appears the change is independent of asserts vs noasserts, and should go in the noasserts diff instead (which is concatenated with the asserts diff).

@swift-ci Please smoke test

I initially tried to add it to the no-asserts exclusion list, and it still failed. That's why I added it to the with-asserts file instead.

https://ci.swift.org/job/oss-swift_tools-R_stdlib-RD_test-simulator//6876/consoleFull


Showing where the failures occured

Thank you for the template it is very well designed.
I'm currently having a problem that it doesn't tell me where the error occurred. If I'm running multiple iterations with a large data-set and there have been 5 failures it will tell me this but not where the failures occurred like it does in the standard newman HTML reporter.

Thank's for the info, well, i see now that have some new params in the default template, then, i wiil check that's possibile implement (it should be possible, i think).
My schedule to deploy this will be a week at the most.

Feature implemented.

That's great! Thank you very much for the quick turn around.


PluginException at the startup. It seems nothing happens.

Describe the bug
Once PhpStorm updated to 2020.1 EAP.
What triggered the plugin
Directly at the startup
Versions
PhpStorm: Build #PS-201.4865.19
Save Actions 2.0.0
saveactionslog.txt

Thanks @gianlucagerla

Duplicates #299

@gianlucagerla does the IDE starts anyway?

@gianlucagerla does the IDE starts anyway?

Yes..!


Scroll long messages

Also:

Use CSS transitions for showing and hiding the popup box
Fix for hotseat missing @ bug (#5)

Wee demo (jerky as the GIF is only 30fps):

Implementation details
Popping up animation (using CSS transitions)

<html> and <body> are set to height: 100%, overflow: hidden; so none of this causes a scrollbar to appear.
The default transform for the popup box is transform: translate3d(0, calc(100% + 20px), 0); which moves it down by 100% of its height plus the 20px it's offset due to the bottom: 20px we used to pin it to the bottom of the screen.
transition: all .4s ease-out; causes style changes to be animated
Adding the show class to the popup box animates its position (and opacity) to where it would normally be if we hadn't hidden it with transform; removing the class animates back in the opposite direction.
When the popup is already showing but we want to replay the popup animation, we need to reset it without animating first, which is done in the resetAnimation() function.

Scrolling overflowing messages (using CSS animations)

When we're changing the popup text, we check if it's wider than the popup box; if so it's overflowing and we'll scroll it.
If it's overflowing, we calculate the keyframe percentages for an animation which fade the text in, pause, scroll to the end using transform: translate3d(), pause again, fade out and restart.
Finally we add an animation to the popup text to loop through this.

Here's the demo function I used when creating the GIF above if anyone wants it for testing:
function demo() {
  let index = 0
  let commands = [
    [{mod: true}, '!alert Wee alert', 2],
    [{mod: true}, '!delete', 2],
    [{mod: true}, '!alert Big very very quite very very quite very very quite very very quite long alert', 12],
    [{mod: true}, '!hotseat someone', 2],
    [{username: 'someone', 'display-name': 'someone'}, 'that was a 4-2-1', 4],
    [{username: 'someone', 'display-name': 'someone'}, 'he did a 4, then a 2, then a 1, then read a joke off the card, then forgot the joke and re-read the card in the middle', 15],
    [{mod: true}, '!delete'],
  ]
  function next() {
    var [context, msg, delaySeconds] = commands[index++]
    onMessageHandler(null, context, msg)
    if (index < commands.length) {
      setTimeout(next, delaySeconds * 1000)
    }
  }
  next()
}

Keyframes, yaass!

This is me being a pain but wondering if the hotseat scroll would look better if the emojis were locked in place at full width

I downloaded this but it didnae work. I hotseated myself, mind you, maybe that broke it, but it popped up once then not again.

I downloaded this but it didnae work. I hotseated myself, mind you, maybe that broke it, but it popped up once then not again.

@DaftLimmy might depend on how you downloaded it - I just tried downloading a fresh copy of my branch separate from where I'm working on it and it seemed ok: https://github.com/insin/TwitchPopups/archive/scroll-long-text-css-animation.zip

I downloaded this but it didnae work. I hotseated myself, mind you, maybe that broke it, but it popped up once then not again.

 The latter would save you of time.

I'm going to do an animation that pops up from the bottom, similar to this. After that, could you have a look to see if you could do the scrolling? Leave it with me in the meantime. Thanks for the help!

@DaftLimmy Yup, no bother