🐛 [Paperless] Does not start <IP_ADDRESS>-5test - OCR Output mode not valid

Description
Install plain Version of Paperless <IP_ADDRESS>-5test
Reproduction steps
1. Start Paperless <IP_ADDRESS>-5test
2. Will not start as it caused a ERROR OCR Output mode is not valid

Addon Logs
-----------------------------------------------------------
 Add-on version: <IP_ADDRESS>-5test
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.1  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.11.2
 Home Assistant Supervisor: 2023.11.3
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
 Defining permissions for main user :
User UID: 0
User GID : 0
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
CONFIG_LOCATION='/config/config.yaml'
OCRLANG='ENG FRA GER'
PAPERLESS_OCR_MODE='skip'
PGID='0'
PUID='0'
certfile='fullchain.pem'
keyfile='privkey.pem'
ssl='true'
Timezone set from Etc/UTC to Europe/Berlin
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
/etc/cont-init.d/01-config_yaml.sh: executing
Load environment variables from /config/config.yaml if existing
---------------------------------------------------------
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables
PAPERLESS_OCR_LANGUAGE='eng'
PAPERLESS_OCR_MODE='skip'
/etc/cont-init.d/01-custom_script.sh: executing
Execute /config/paperless-ng.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
---------------------------------------------------------
... no script found, exiting
/etc/cont-init.d/20-migration_config.sh: executing
/etc/cont-init.d/31-nginx.sh: executing
[23:27:15] FATAL: PAPERLESS_URL not set, you won't be able to access your site (CSRF error)
/etc/cont-init.d/99-run.sh: executing
[23:27:15] INFO: Defining variables
[23:27:17] INFO: Defining database
[23:27:17] INFO: Using sqlite as database driver
PAPERLESS_DATA_DIR="/config/data"
PAPERLESS_MEDIA_ROOT="/config/media"
PAPERLESS_CONSUMPTION_DIR="/config/consume"
PAPERLESS_EXPORT_DIR="/config/export"
USERMAP_UID="0"
USERMAP_GID="0"
PAPERLESS_OCR_LANGUAGES="eng fra ger"
PAPERLESS_OCR_MODE=""skip""
PAPERLESS_ADMIN_PASSWORD="admin"
PAPERLESS_ADMIN_USER="admin"
[23:27:18] INFO: Starting redis
[23:27:18] INFO: Starting nginx
[23:27:18] INFO: Initial username and password are admin. Please change in the administration panel of the webUI after login.

Starting the upstream container

Paperless-ngx docker container starting...
Installing languages...
438:C 21 Nov 2023 23:27:18.075 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
438:C 21 Nov 2023 23:27:18.075 # Redis version=7.0.11, bits=64, commit=00000000, modified=0, pid=438, just started
438:C 21 Nov 2023 23:27:18.076 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
438:M 21 Nov 2023 23:27:18.078 * monotonic clock: POSIX clock_gettime
438:M 21 Nov 2023 23:27:18.080 * Running mode=standalone, port=6379.
438:M 21 Nov 2023 23:27:18.081 # Server initialized
438:M 21 Nov 2023 23:27:18.081 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
438:M 21 Nov 2023 23:27:18.099 * Ready to accept connections
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Fetched 52.1 kB in 1s (57.2 kB/s)
Reading package lists...
Package tesseract-ocr-eng already installed!
Package tesseract-ocr-fra already installed!
Package tesseract-ocr-ger not found! :(
Mapping UID and GID for paperless:paperless to 0:0
Creating directory /config/media/documents
Creating directory /config/media/documents/originals
Creating directory /config/media/documents/thumbnails
Creating directory /tmp/paperless
Adjusting permissions of paperless files. This may take a while.
Waiting for Redis...
Connected to Redis broker.
Apply database migrations...
Operations to perform:
  Apply all migrations: admin, auth, authtoken, contenttypes, django_celery_results, documents, guardian, paperless_mail, sessions
Running migrations:
  No migrations to apply.
Running Django checks
SystemCheckError: System check identified some issues:

ERRORS:
?: OCR output mode ""skip"" is not valid

System check identified 1 issue (0 silenced).

Architecture
No response
OS
No response

Ah, I see... I need to sanitize the arguments to avoid putting "" if there is already some

Hopefully solved in <IP_ADDRESS>-5test3

Actually, probably <IP_ADDRESS>-5test4 as it induced new issues. Now I'm putting "" only if there is a blank in the variable (initial source of this code modification)

I have the same issue:
My Paperless is not starting anymore
Add-on version: <IP_ADDRESS>-5test
You are running the latest version of this add-on.
Running migrations:
No migrations to apply.
Running Django checks
SystemCheckError: System check identified some issues:
ERRORS:
?: OCR output mode ""skip"" is not valid
System check identified 1 issue (0 silenced).

How can i rollback now?

Hi, I've pushed a new version just now that should solve this issue, just testing now

All my configurations are gone, all my files / documents are also gone after updating to this new verson.
What happened here?

Hi, well nearly working but again an issue I need to solved :
Package tesseract-ocr-'eng not found! :(
Package tesseract-ocr-fra already installed!
Package tesseract-ocr-ger' not found! :(

All my configurations are gone, all my files / documents are also gone after updating to this new verson.
What happened here?

What do you mean?
According to change log, I had to adapt to the new way of working of HA : all the files were migrated from the /config folder of HA (that will not be supported in the future) to the new config system of HA (https://github.com/alexbelgium/hassio-addons/blob/master/paperless_ngx/CHANGELOG.md#200b1-5-20-11-2023). To access it, you need another addon such as filebrowser and find your data in /addons_config/something-paperless-ngx. Everything will have migrated automatically
If your files are not in the paperless UI anymore, that's a different issue and I would need a full log including the paths you have set for your data directory. Also, which version have you updated from ?

Did not change yet also with version <IP_ADDRESS>-5test2 still getting the same error

Oki wait until I can update... Is not shown yet

Either you need to wait a couple hours or go in the same place you added my custom repo and click on "look for updates"

Fix is working - Thanks for fast response.
By the way is the Database now been backed up on a Home Assistant Backup run?

So the very good news is that as the new config system is used, the database should now be backed directly in the addon backup !
And therefore restoring the backup of the addon will also restore the database, which was not previously the case as the database was stored in the middle of the HA configuration files


First release v0.0.1

Registration pull request created: JuliaRegistries/General/49190
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" 7669019f13badf67d3f4874a8e07d27f3c27f154
git push origin v0.0.1

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/49190
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" 7669019f13badf67d3f4874a8e07d27f3c27f154
git push origin v0.0.1


Hockey action shows wrong message

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
I am using hockey action to upload dsyms only by using upload_dsym_only option. When running the action the message displayed is Starting with ipa upload to HockeyApp... this could take some time. which is misleading in this case.
It would be nice if it would show message based on the upload_dsym_only option. 👍

Sounds like it's not super important, feel free to submit a PR updating the wording to be more general, see hockey.rb 👍

submitted my first PR even though it's a working change! 👍 https://github.com/fastlane/fastlane/pull/7493


Update php deps reference

Closed in favor of https://github.com/pheature-flags/toggle-model/pull/28


CLI instruction to create the appropriate minimal service account

TL;DR
CLI instruction to create the appropriate minimal service account.
e.g.
gcloud create service account ...
gcloud give role service account ...

Detailed design
No response
Additional information
No response

Hi @louis030195 - are you asking how to create a service account to use for deploying with Cloud Run, or are you asking about assigning a specific service identity to a Cloud Run service.

Hi @louis030195 - are you asking how to create a service account to use for deploying with Cloud Run, or are you asking about assigning a specific service identity to a Cloud Run service.

Oops, I mean for "create a service account to use for deploying with Cloud Run" not using service identity

gcloud iam service-accounts create "my-account"

gcloud projects add-iam-policy-binding "my-project" \
<EMAIL_ADDRESS>\
  --role="roles/run.admin"


Could not find com.facebook.react:react-native:0.27.2.

I'm having an issue building (react-native run-android), and I don't understand what's going on. It looks like the react-native-maps build.gradle wants to compile react-native:0.27.2 but it's not finding it.
I've followed the latest installation instructions exactly (using compile project(':react-native-maps')) and double checked everything, but I'm still stuck with this error. I've even installed RN 0.27.2 in my project. Where is react-native-maps supposed to find com.facebook.react:react-native:0.27.2 and what steps do I need to take to get that set up?
Should I just switch to using compile 'com.airbnb.android:react-native-maps:0.6.0' in build.gradle instead?
I'm using npm 3.7.3 if that makes any difference.
Here's the error log.
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> A problem occurred configuring project ':react-native-maps'.
   > Failed to notify project evaluation listener.
      > Could not resolve all dependencies for configuration ':react-native-maps:_debugCompile'.
         > Could not find com.facebook.react:react-native:0.27.2.
           Searched in the following locations:
               file:/Users/rmendiola/.m2/repository/com/facebook/react/react-native/0.27.2/react-native-0.27.2.pom
               file:/Users/rmendiola/.m2/repository/com/facebook/react/react-native/0.27.2/react-native-0.27.2.jar
               https://jcenter.bintray.com/com/facebook/react/react-native/0.27.2/react-native-0.27.2.pom
               https://jcenter.bintray.com/com/facebook/react/react-native/0.27.2/react-native-0.27.2.jar
               file:/Users/rmendiola/code/evertrue/givingtree-android/node_modules/react-native-maps/node_modules/react-native/android/com/facebook/react/react-native/0.27.2/react-native-0.27.2.pom
               file:/Users/rmendiola/code/evertrue/givingtree-android/node_modules/react-native-maps/node_modules/react-native/android/com/facebook/react/react-native/0.27.2/react-native-0.27.2.jar
               file:/usr/local/opt/android-sdk/extras/android/m2repository/com/facebook/react/react-native/0.27.2/react-native-0.27.2.pom
               file:/usr/local/opt/android-sdk/extras/android/m2repository/com/facebook/react/react-native/0.27.2/react-native-0.27.2.jar
               file:/usr/local/opt/android-sdk/extras/google/m2repository/com/facebook/react/react-native/0.27.2/react-native-0.27.2.pom
               file:/usr/local/opt/android-sdk/extras/google/m2repository/com/facebook/react/react-native/0.27.2/react-native-0.27.2.jar
           Required by:
               GivingTreeAndroid:react-native-maps:unspecified
      > No such property: GROUP for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.113 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

After more investigation there are 2 problems happening:

Could not find com.facebook.react:react-native:0.27.2.
No such property: GROUP for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer

I had to go into node_modules/react-native-maps/android/lib/build.gradle to fix both issues. I had to comment out apply from: 'gradle-maven-push.gradle' to fix problem 2, and I had to change dependencies to use compile 'com.facebook.react:react-native:+' instead of `compile 'com.facebook.react:react-native:0.27.2'.  That file now looks like:
apply plugin: 'com.android.library'
//apply from: 'gradle-maven-push.gradle'

android {
  compileSdkVersion 23
  buildToolsVersion "23.0.3"

  defaultConfig {
    minSdkVersion 16
    targetSdkVersion 23
  }

  lintOptions {
    disable 'InvalidPackage'
  }
}

dependencies {
  compile 'com.facebook.react:react-native:+'
  compile "com.google.android.gms:play-services-base:8.4.0"
  compile 'com.google.android.gms:play-services-maps:8.4.0'
}

Obviously this isn't a great fix since I now have a dirty node_modules. I think this build.gradle assumes we have gradle-mvn-push set up, which I think a lot of people don't. So it'd be great to add language to the instructions saying how to do this (I still don't know).
This also doesn't technically work on the latest version (0.29.0 now) of React Native, making this statement invalid:  "we are not officially going to support this module on anything but the latest version of React Native". Does this package have to be hardcoded to 0.27.2? Can't it just use compile 'com.facebook.react:react-native:+' to use whatever's in the user's project?
Related issues: #331, #288

@skellock 's branch is the best temporary fix: https://github.com/lelandrichardson/react-native-maps/issues/331#issuecomment-229066704

I've also tested the changes to the Java source to bring it up to speed with the new RN Java interface, but I didn't want to pack them into that branch just yet.
@lelandrichardson - anything we could do to help speed this up?  RN 29 is now out and many of us are caught up in the pursuit of shiny.  <3

Could not find com.facebook.react:react-native:0.29.0 same issue when added gradle for android

the latest code on master is now compatible with RN 29.


Suggestion: Modify the documentation in example notebooks

In the pytorch example notebook, for the annotation format of train_labels.csv file, the name of columns is given as "Id" and "Labels". Upon keeping this as the column names for my CSV file I got an error for wrong column names. Upon looking at sample datasets I found that the actual names for the columns are supposed to be "ID" and "Label". Please rectify to avoid confusion.

Thank you for pointing it out. Can you please reformat the associated code so that the column names are dynamic and not restricted to "ID and Label" . You may use pandas library to do the same

Ok sure will do it


[android] jsservice with dev tool bug

Fixed when connecting dev tool restart js runtime then js service missing bug.

迭代分支已经调整，请重新提交至： https://github.com/alibaba/weex/tree/0.11-dev


When the input stops, the line is wrapped

Vscode automatically wraps lines after each input. It feels like as soon as the input stops or is slow, it will automatically wrap, like debounce.

感谢您创建此问题！
然而，由于您没有使用英语，我们很难进行处理。如果可能，请您将此问题描述修改为英文。请您直接编辑此问题，不要提交回复或新问题。
请注意，机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言，所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。
如果您无法做到，没有关系。此问题已经被标记为需要翻译，等待社区成员志愿进行翻译。

Thanks for creating this issue!
Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.
In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.
Otherwise, we have marked this as needing translation and a community member may be able to help out.

/duplicate of  #185460

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Add more easing types

Velocity.js already comes with a great amount of available easing types but three ones (easeInBack, easeOutBack, easeInOutBack) are missing from the available on this site.
Is it possible to add them to Velocity.js too or is there some sort of limitation with negative cubic-bezier values?

yo! check out the FAQ on github. it talks about adding those back :)
i won't be adding them into velocity by default

Thanks for the quick reply :) I haven't seen the FAQ - my bad...


[wiki] error in documentation wiki

https://github.com/erezsh/lark/wiki/Classes-Reference#visitors
I don't have write access to the wiki, but the example given in the documentation is not correct
class IncreaseAllNumbers(Visitor):
  def number(self, tree):
    assert self.data == "number"
    self.children[0] += 1

IncreaseAllNumbers().visit(parse_tree)

it must be tree.data and tree.children[0] to actually work

You're right, thanks. I changed it.
Please let me know if you find other mistakes.


Prevent double escaping of HTML entities in form helper attribute parsin...

Added FALSE as the second parameter to html_escape in _parse_form_attributes to prevent HTML entities being double encoded ie. " being encoded to "

If this prevents double escaping, where does the first escaping occur?

When using the form_input helper as
<?php echo form_input('name', set_value('name', $item->name)); ?>
and $item->name = "Display 14.1" WXGA+ 1440x900"; it first escapes this to Display 14.1" WXGA+ 1440x900 then on the next update it escapes it to Display 14.1&quot; WXGA+ 1440x900 then the next one is Display 14.1&amp;quot; WXGA+ 1440x900 etc. adding FALSE makes it only change the text to Display 14.1" WXGA+ 1440x900 and it stays that way.

set_value() has a parameter to disable escaping in itself, use that instead ...

Ok

I think this pull request should be merged into CI.

your solution might not be what you want:

set_value() has a parameter to disable escaping in itself, use that instead ...

Isn't this enabling XSS when a form is submitted?
e.g: paste this "><script>alert(1)</script> into an input and submit the form.

why it should be merged? because when I retrieve the value from the DB, it's already escaped, thus it will double escape when echoing.

<input value="<?php echo set_value('name', $item->name); ?>">
This is how I save the data into the DB
$this->db->set('name', set_value('name'));

I don't use CI any more and the branch is ancient, but if you want to try and get this merged feel free

@bright-light-in-the-night Yes, but this issue is about preventing double escaping, meaning that the input was already escaped and is thus safe.


Trending Endpoint

It would be really great to request trending gifs with the endpoint they have in their SDK.
Also, it might be considerable to differentiate the command in the GiphyGet class so you can call GiphyGet.getTrends(), GiphyGet.search() or GiphyGet.byId().

Sorry, didn't know you could already do this with giphyClient.


Clarification on simultaneous loss of two regions

Team,
I would like to clarify the next note for Azure SQL:
Note
For disaster recovery, we recommend the configuration with application deployment limited to two regions. This is because most of the Azure geographies have only two regions. This configuration does not protect your application from a simultaneous catastrophic failure of both regions. In an unlikely event of such a failure, you can recover your databases in a third region using geo-restore operation.
So, in case of paired regions usage for geo-replication failover group, simultaneous loss of two regions leads to:

Downtime for SQL servers (obvious)
Downtime for geo-redundant backups (they use Azure Storage in background in GRS mode).

So, full downtime is in place. It looks like it is impossible to restore database backup from failed paired regions.
To be able to restore to 3rd region (per Note), I need to use NON-PAIRED regions for SQL geo-replication.
So, 3 regions are in place (2 for backup GRS and 1 comes from SQL replication).
Please provide your comments / thoughts.
Thanks,
Vlad
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9d8edf47-e8df-673a-d43b-78e91196221d
Version Independent ID: dba47e18-8949-32e0-8425-18d45250fc9d
Content: Design globally available services - Azure SQL Database
Content Source: articles/azure-sql/database/designing-cloud-solutions-for-disaster-recovery.md
Service: sql-database
Sub-service: development
GitHub Login: @anosov1960
Microsoft Alias: sashan

@YanumVlad Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

@YanumVlad This is being assigned to the content author to evaluate and update as appropriate.

@YanumVlad in the case of Geo-Replication for Azure SQL you can choose a pair region or any other region to deploy a replica.
You can deploy up to 4 replicas ( in 4 different regions if needed).
Also with Chaining (you can create secondary of a secondary) you can achieve unlimited number of database replicas in multiple regions.
#please-close


[ReactPoll] Anonymous voting, embed color support, and more

The vast majority of polling bots have the choice to make a poll anonymous (i.e., reactions are removed) to prevent herding or to make votes/polls more "honest". Now this cog does as well, with the option anonymous (which is declared the same way as the multi-vote method, and works alongside it.) The user will receive a DM that their vote has been recorded, similarly to if they'd changed their vote. Until Red gets button support and by extension ephemeral messages, this should do fine. I think.
I've also added the ability to choose the embed color by providing a 3 or 6 character hex code prefixed with #. If no hex code is provided, the will use either channel.guild.me.colour, or self.bot.db.color() (which was the default before)
I started writing up preliminary support for choosing custom emojis in the rpoll new method, which would allow custom emojis without going through the interactive menu. It works fine for custom Discord emojis, provided the bot can access them, but it doesn't yet work with the default emojis, as they are converted into Unicode for some reason and therefore they don't satisfy the current regex search method used in the cog, EMOJI_RE = re.compile(r"<a?:[a-zA-Z0-9\_]+:([0-9]+)>"). If anyone has any ideas how to extract the emojis, that'd be greatly appreciated! :)
Other than that, I've tested it pretty thoroughly will all combinations of new + old options, including without the embeds and on multiple accounts. Should be all set to merge.

Hello, thanks for the PR. I rewrote a lot of this cog and wanted to provide some insight that I don't entirely agree with in this PR. "Anonymous" voting can be very dangerous the way you have implemented it and any public bots would not support this feature the way you are expecting. If a sufficiently large server was pinged and a moderator that made the poll thought anonymous would be good could very quickly and very easily get the bot rate limited and temporarily banned from accessing any information on discord. This would lead to the poll failing to function at all and no longer become anonymous if we were to check the total reaction count once we regained access to discord. I don't think it wise to advertise anonymous as a feature of the cog for everyone because of this. Event a small bot but run for a fairly large server could cause the same problem. Not to mention discord heavily frowns upon bots sending DM requests and will the the first thing to get the bot temporarily banned before removing the reactions does.
The way you implemented adding custom colour's seems fine I suppose but is not ideal. If I were to add colours I would have made a new argument for the new poll command that accepts and uses discord.Colour converter to allow some specific named colours alongside the hex colours. It may also be worthwhile building a separate converter to handle some common names so that you're not forced into just hex.

"Anonymous" voting can be very dangerous the way you have implemented it and any public bots would not support this feature the way you are expecting. If a sufficiently large server was pinged and a moderator that made the poll thought anonymous would be good could very quickly and very easily get the bot rate limited and temporarily banned from accessing any information on discord.

I did notice that the public bots I've seen with this feature don't notify the user of their choice with a DM, which I thought was a bit odd from a UX perspective, but I guess it makes sense when considering the ratelimits. If you'd like, I can recommit with all the await member.send() methods removed.

I'm not terribly interested in this PR for the reasons that Trusty gave. Even if you removed the DMs to users, removing reactions is also not something I feel is proper for this cog. Maybe after buttons are implemented in Red this can be revisited, once the cog supports them. I also am not very fond of this PR being submitted with issues (rpoll new emoji changes not being fully supported by your addition). If you want custom embed colors, perhaps submit a different PR with just that one feature, but also think about what Trusty mentioned in the idea of supporting discord.Color names or more than just hex codes.


Update Quickstart Instructions to Use Helm Install Instead of Make Deploy

The current Quickstart instructions for this project use the make deploy command, which seems to be causing issues as it relies on the upcoming version. This has resulted in the command not functioning as expected. To resolve this, I propose updating the Quickstart instructions to use the helm install vsecm vsecm/vsecm command instead. This change will ensure that the instructions are accurate and up-to-date, leading to a smoother setup process for users.

Done.
Thaks for reporting this ❤ .


shorten stage message

@jfurrow Can you take a look?

One minor comment, otherwise this looks good! Thanks for doing that!

@malnick @jfurrow updated, please check one more time

LGTM :ship:

:ship:


OpenSCAP Error: Could not read from bZ2FILE: DATA_ERROR_MAGIC

When running image-inspector I sometimes get:
2016/06/16 11:28:46 Unable to scan image: Unable to run OpenSCAP: OpenSCAP error: 1: exit status 1
Input:
[xccdf eval --results-arf /var/tmp/image-inspector-scan-results-727398075/results-arf.xml /tmp/com.redhat.rhsa-RHEL6.ds.xml.bz2]
Output:
url:1: parser error : Document is empty
OpenSCAP Error: Could not read from bZ2FILE: DATA_ERROR_MAGIC [bz2.c:83]

In the log I am missing what url was used to download com.redhat.rhsa-RHEL6.ds.xml.bz2 and other useful information.
cc @enoodle

I can't reproduce this so far, do you want to add some deeper log level in the meantime to print things like this download url?


T-pcie A7670G differents versions one work the other randomly restart

Hi,
For our product we have purchased first time T-PCIE A7670G.
We received A7670G-LABE with firmware A069B01A7670M7 and pcb AX7670 V1.0 21-11-28
These modems work well on our product and software. (We also use SIM7070G, SIM7600E and SIM7600G-H without any problem).
We have placed a new order of A7670G (about 200pcs), but this time we received A7670G-LLSE with firmware A011B20A7670M7 and pcb AX7670 V1.1 23-11-15.
These modems randomly restart during their use.
We also try this modem in T_PCIE_V1.1 with same issue. We suspect power so tries are done with 5V3A power supply but restart continue.
But if it was power supply issue why all others modem works ?
Is this a known issue ?
Is there a firmware update for A7670G-LLSE ?
The problem looks like issue #172 but there no details on modem version.
Best regards

What is the firmware version that won't reboot? Send AT+SIMCOMATI to check what the two versions are.

AT+SIMCOMATI from version won't reboot :
Manufacturer: INCORPORATED
Model: A7670G-LABE
Revision: A069B01A7670M7
A7670M7_B01V02_221012
QCN:
IMEI:<PHONE_NUMBER>XXXXX
MEID:
+GCAP: +CGSM,+FCLASS,+DS
DeviceInfo:

OK

AT+SIMCOMATI from reboot :
Manufacturer: INCORPORATED
Model: A7670G-LLSE
Revision: A011B20A7670M7
A7670M7_B20V01_240325
QCN:
IMEI:<PHONE_NUMBER>XXXXX
MEID:
+GCAP: +CGSM,+FCLASS,+DS
DeviceInfo:

OK

For more informations, we use it via UART (no USB) at baudrate 1842000 ( 3686400 does not work ) with hardware flow control.

Try to update A7670G-LLSE to the latest version for testing.
FIRMWARE
How upgrade
Same board

I have a question, the 200 you received this time were both versions available? Or a separate one?

Can you take a picture of the LABE version of the board for me to confirm.

I made a mistake, I update the wrong module, LABE instead of LLSE...
So the LABE does not work anymore.
After that, I update with new firmware on right LLSE.
But after update I lost IMEI (on both LLSE and LABE) :
Manufacturer: SIMCOM INCORPORATED
Model: A7670G-LLSE
Revision: A124B01A7670M7
A7670M7_B01V01_240722
IMEI:

OK

AT+SIMEI? give me an error.
So I put it with AT+SIMEI=867284065474795
Now IMEI get back in AT+SIMCOMATI
Manufacturer: SIMCOM INCORPORATED
Model: A7670G-LLSE
Revision: A124B01A7670M7
A7670M7_B01V01_240722
IMEI:<PHONE_NUMBER>74795

OK

But unfortunately I got reboots again.
We make an order of 200pcs, only 12 were in stocks, we received it which are LABE and work flawless.
After we received 188 others which are LLSE and we get troubles with.
This is the picture of LABE (I broke with wrong update)
Do you have firmware for the LABE so I can try to repair it?

And the LLSE :

When did you buy it?
Did you buy 200 at once? Do you have both versions?
I checked LABE and it should be a very old version

Regarding the LLSE restart issue, I need to get the board on Monday to test it. I will check if I have the same situation here.

Please contact the dealer you purchased from, we need to trace the production batch

You should have used 4G TO AP, right? This requires a huge current. I will test it on Monday. But I personally think it is caused by unstable power supply.

You should have used 4G TO AP, right? This requires a huge current. I will test it on Monday. But I personally think it is caused by unstable power supply.

Yes, that's the first thing I thought of. This is why we used a 5V3A power supply. But which raises the question, why we do not have the problem with the other modules that we have: A7670G-LABE, SIM7070G, SIM7600E and SIM7600G-H.

OK, I will test it on Monday. I may need the modem log to analyze the cause of the reboot. This may be tricky.

Thanks for your help !
Since I made mistake when I update LABE from A069B01A7670M7 to A124B01A7670M7 LLSE and put back to A110B06A7670M7 LABE, I got same reboot issue on LABE.
Did you have original firmware A069B01A7670M7 for LABE (I did not find it), I can try if with this original version fix back the reboot problem.
This would be a good clue to follow.

I need to check

We bought 200 two month ago, but only 12 were in stock. We received it, they are LABE and we received other 188, 3-4 weeks later which are LLSE.
Regarding the LLSE restart problem, as it is random to increase the chance of reproducing it, I use example ap2pppos from esp-idf. I just publish my own example on this repo : https://github.com/fbp2m/t-pcie-ap2pppos

I tested this code, I can't run this code.
I tested the current Arduino ESP32 ppp example, tested the LLSE without restarting, you can try
#include <PPP.h>
#include <WiFi.h>

#define PPP_MODEM_APN "CHN-CT"
#define PPP_MODEM_PIN "0000"  // or NULL

// WaveShare SIM7600 HW Flow Control
#define PPP_MODEM_RST -1
#define PPP_MODEM_RST_LOW true  //active HIGH
#define PPP_MODEM_RST_DELAY 200
#define PPP_MODEM_TX 27
#define PPP_MODEM_RX 26
#define PPP_MODEM_RTS -1
#define PPP_MODEM_CTS -1
#define PPP_MODEM_FC ESP_MODEM_FLOW_CONTROL_NONE
#define PPP_MODEM_MODEL PPP_MODEM_SIM7600

// WiFi Access Point Config
#define AP_SSID "ESP32-ETH-WIFI-BRIDGE"
#define AP_PASS "password"

IPAddress ap_ip(192, 168, 4, 1);
IPAddress ap_mask(255, 255, 255, 0);
IPAddress ap_leaseStart(192, 168, 4, 2);
IPAddress ap_dns(8, 8, 4, 4);
#define BOARD_PWRKEY_PIN                    (4)
void setup() {
  Serial.begin(115200);
  Serial.setDebugOutput(true);

  pinMode(25, OUTPUT);
  digitalWrite(25, HIGH);
  delay(100);

  pinMode(BOARD_PWRKEY_PIN, OUTPUT);
  digitalWrite(BOARD_PWRKEY_PIN, LOW);
  delay(100);
  digitalWrite(BOARD_PWRKEY_PIN, HIGH);
  delay(100);
  digitalWrite(BOARD_PWRKEY_PIN, LOW);
  delay(20000);
  // Listen for modem events
  Network.onEvent(onEvent);

  // Start the Access Point
  WiFi.AP.begin();
  WiFi.AP.config(ap_ip, ap_ip, ap_mask, ap_leaseStart, ap_dns);
  WiFi.AP.create(AP_SSID, AP_PASS);
  if (!WiFi.AP.waitStatusBits(ESP_NETIF_STARTED_BIT, 1000)) {
    Serial.println("Failed to start AP!");
    return;
  }

  // Configure the modem
  PPP.setApn(PPP_MODEM_APN);
  PPP.setPin(PPP_MODEM_PIN);
  PPP.setResetPin(PPP_MODEM_RST, PPP_MODEM_RST_LOW, PPP_MODEM_RST_DELAY);
  PPP.setPins(PPP_MODEM_TX, PPP_MODEM_RX, PPP_MODEM_RTS, PPP_MODEM_CTS, PPP_MODEM_FC);

  Serial.println("Starting the modem. It might take a while!");
  PPP.begin(PPP_MODEM_MODEL);

  Serial.print("Manufacturer: ");
  Serial.println(PPP.cmd("AT+CGMI", 10000));
  Serial.print("Model: ");
  Serial.println(PPP.moduleName());
  Serial.print("IMEI: ");
  Serial.println(PPP.IMEI());

  bool attached = PPP.attached();
  if (!attached) {
    int i = 0;
    unsigned int s = millis();
    Serial.print("Waiting to connect to network");
    while (!attached && ((++i) < 600)) {
      Serial.print(".");
      delay(100);
      attached = PPP.attached();
    }
    Serial.print((millis() - s) / 1000.0, 1);
    Serial.println("s");
    attached = PPP.attached();
  }

  Serial.print("Attached: ");
  Serial.println(attached);
  Serial.print("State: ");
  Serial.println(PPP.radioState());
  if (attached) {
    Serial.print("Operator: ");
    Serial.println(PPP.operatorName());
    Serial.print("IMSI: ");
    Serial.println(PPP.IMSI());
    Serial.print("RSSI: ");
    Serial.println(PPP.RSSI());
    int ber = PPP.BER();
    if (ber > 0) {
      Serial.print("BER: ");
      Serial.println(ber);
      Serial.print("NetMode: ");
      Serial.println(PPP.networkMode());
    }

    Serial.println("Switching to data mode...");
    PPP.mode(ESP_MODEM_MODE_CMUX);  // Data and Command mixed mode
    if (!PPP.waitStatusBits(ESP_NETIF_CONNECTED_BIT, 1000)) {
      Serial.println("Failed to connect to internet!");
    } else {
      Serial.println("Connected to internet!");
    }
  } else {
    Serial.println("Failed to connect to network!");
  }
}

void loop() {
  delay(20000);
}

void onEvent(arduino_event_id_t event, arduino_event_info_t info) {
  switch (event) {
    case ARDUINO_EVENT_PPP_START: Serial.println("PPP Started"); break;
    case ARDUINO_EVENT_PPP_CONNECTED: Serial.println("PPP Connected"); break;
    case ARDUINO_EVENT_PPP_GOT_IP:
      Serial.println("PPP Got IP");
      Serial.println(PPP);
      WiFi.AP.enableNAPT(true);
      break;
    case ARDUINO_EVENT_PPP_LOST_IP:
      Serial.println("PPP Lost IP");
      WiFi.AP.enableNAPT(false);
      break;
    case ARDUINO_EVENT_PPP_DISCONNECTED:
      Serial.println("PPP Disconnected");
      WiFi.AP.enableNAPT(false);
      break;
    case ARDUINO_EVENT_PPP_STOP: Serial.println("PPP Stopped"); break;

    case ARDUINO_EVENT_WIFI_AP_START:
      Serial.println("AP Started");
      Serial.println(WiFi.AP);
      break;
    case ARDUINO_EVENT_WIFI_AP_STACONNECTED: Serial.println("AP STA Connected"); break;
    case ARDUINO_EVENT_WIFI_AP_STADISCONNECTED: Serial.println("AP STA Disconnected"); break;
    case ARDUINO_EVENT_WIFI_AP_STAIPASSIGNED:
      Serial.print("AP STA IP Assigned: ");
      Serial.println(IPAddress(info.wifi_ap_staipassigned.ip.addr));
      break;
    case ARDUINO_EVENT_WIFI_AP_PROBEREQRECVED: Serial.println("AP Probe Request Received"); break;
    case ARDUINO_EVENT_WIFI_AP_STOP: Serial.println("AP Stopped"); break;

    default: break;
  }
}

Thanks for firmware.
I'm currently on Christmas leave so I can't test it.
In your arduino test did you try to increase modem baudrate to speedup connection ?
Restart occur randomly, to increase chances of this happening I set baudrate to 1842000 (3686400 does not work with my A7670G, only with SIM7600x) and I do somes speedtest from a device connected to AP.
Without this the reboot is quite rare.
I will try firmware and Arduino test next week when I am back.

Hi,
I put the firmware A069B01 back on A7670G-LABE, and after many try I didn't get another reboot.
So I think there is a problem with the new simcom firmware used in our specific case.
I also test your arduino example.
I just add this line at line 69 :
PPP.setBaudrate(1842000);
And I get same random restart of modem with LLSE and not with LABE (with firmware A069B01).
There are many errors like this, but it works, before modem restart :
E (164114) esp-netif_lwip-ppp: pppos_input_tcpip failed with -1

1842000 baud rate? Oh! I suspect the baud rate is too high. Have you tested 115200?

Yes, I tested 115200, but connexion speed is very slow, I can't do real stress test.
1842000 baud rate works with A7670-LABE (with firmware A069B01).
On SIM7600 I use 3686400 baud rate (this does not work on A76070 unlike what is written in the simcom documentation).
In arduino code, I forgot to say that I have changed ESP_MODEM_MODE_CMUX to ESP_MODEM_MODE_DATA
for the example to work properly.

I personally feel that the baud rate is too high. In this case, you can only capture the modem log and seek SIMCOM's analysis. You need to provide the log. For specific methods, please see here. https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/a7670x_capture_log.md

Ok I understand that the speed may be too fast.
What I don't understand is that this worked until now with all our other modems, we only have this problem with the latest A7670-LLSEs received.
I managed to capture the logs during a reboot (after 12 mins).

I put export on repo :
https://github.com/fbp2m/t-pcie-ap2pppos/tree/main/SIMCOM_log

Are you using A7670G-LLSE A124B01 version? Please send AT+SIMCOMATI to check the version and tell me

I don't use esphome, you can go to the esphome page and submit a feature request to them

This is AT+SIMCOMATI :
Manufacturer: SIMCOM INCORPORATED
Model: A7670G-LLSE
Revision: A124B01A7670M7
A7670M7_B01V01_240722
IMEI:<PHONE_NUMBER>74795

OK

Since yesterday I reduce baud rate to 921600 (115200 is to slow for our use case), and I have no restart.


Laravel 11.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.
Before merging, you need to:

Checkout the l11-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^10.5. If you would like to also upgrade your tests, you may run the PHPUnit 10 Shift for free.

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 11. However, you should review these changes to ensure the desired combination of versions are built for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/rich-text-laravel.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "tonysm/rich-text-laravel": "dev-l11-compatibility",
    }
}

Finally, run: composer update


Doctrine ignores Index and just takes UniqueConstraint into account for the same field

Hi,
I am not sure if this is a bug or an expected behaviour of Doctrine.
If I set UniqueConstraint and Index on a same field, Doctrine ignores creating a Index entry in database. However, if I remove UniqueConstraint, Doctrine creates Index entry in database. Seems like we cannot set both UniqueConstraint and Index on a same field with Doctrine. Doctrine prefers UniqueConstraint over Index if they both set on a same field.
Note: At database level, we can manually set UNQ and IDX on same field.
Thanks
MAPPING 1
/**
 * @ORM\Entity
 * @ORM\Table(
 *     name="country",
 *     uniqueConstraints={
 *          @ORM\UniqueConstraint(name="UNQ_name", columns={"name"}),
 *          @ORM\UniqueConstraint(name="UNQ_abbreviation", columns={"abbreviation"})
 *     },
 *     indexes={
 *          @ORM\Index(name="IDX_abbreviation", columns={"abbreviation"}),
 *     }
 * )
 */

DQL 1
  UNIQUE KEY `UNQ_name` (`name`)
  UNIQUE KEY `UNQ_abbreviation` (`abbreviation`)

MAPPING 2
/**
 * @ORM\Entity
 * @ORM\Table(
 *     name="country",
 *     uniqueConstraints={
 *          @ORM\UniqueConstraint(name="UNQ_name", columns={"name"})
 *     },
 *     indexes={
 *          @ORM\Index(name="IDX_abbreviation", columns={"abbreviation"}),
 *     }
 * )
 */

DQL 2
  UNIQUE KEY `UNQ_name` (`name`)
  KEY `IDX_abbreviation` (`abbreviation`)

This is expected behavior.
Ref: https://github.com/doctrine/dbal/pull/769
Ref: https://github.com/doctrine/dbal/pull/764
Can't find the original issue where we actually decided to de-duplicate overlapping/redundant indexes.

I've went through those links but there is nothing clear there as there are too many references all over the place.
As far as I can see this is how Doctrine intend to work.


go/cmd: test output changes with -bench=., -fuzz=., etc.

What version of Go are you using (go version)?

go version go1.19.4 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/smoyer1/.cache/go-build"
GOENV="/home/smoyer1/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/smoyer1/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/smoyer1/go:/usr/share/go-tools"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/smoyer1/.asdf/installs/golang/1.19.4/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/smoyer1/.asdf/installs/golang/1.19.4/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19.4"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/smoyer1/git/git-bug/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2844214839=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I don't think I'd classify this as a bug but in my opinion, it does represent undesirable behavior.  Running the following test under different conditions result in different outcomes, which may represent a difference in the actual characters emitted to the output:

import (
	"os"
	"testing"

	"github.com/fatih/color"
	"github.com/mattn/go-isatty"
	"golang.org/x/sys/unix"
)

func TestGetTermios(t *testing.T) {
	t.Log("Stdout FD:", os.Stdout.Fd())
	termios, err := unix.IoctlGetTermios(int(os.Stdout.Fd()), unix.TCGETS)
	t.Log("Termios:", termios)
	t.Log("Termios error:", err != nil)
	t.Log("Is a TTY:", isatty.IsTerminal(os.Stdout.Fd()))
	t.Log("Supports color:", !color.NoColor)
}

What did you expect to see?
The same output to stdout regardless of the command that ran the test.
What did you see instead?
Assuming this test is placed in a sub-package, the outcome of this test is as follows:

(PASS): go test -v -bench=. ./...
(PASS): cd pkg/output && go test -v
(FAIL): 'go test -v ./...`
(FAIL): go test -v ./pkg/output

This behavior is caused by the code at https://github.com/golang/go/blob/f721fa3be9bb52524f97b409606f9423437535e8/src/cmd/go/internal/test/test.go#L1180-L1208 and as noted in the comment, has been around longer since at least Go 1.5 (since the special case was added at that point).  I'm not arguing that there's a need for the buffering in some cases and that it's safe to write directly to stdout in other cases but rather that the test environment should remain consistent regardless of how the test is launched.
Since there's the need for buffering in some cases, it's impossible for stdout to always be a *unix.Termios.  I'd argue that (during tests), stdout should therefore NEVER be a *unix.Termios.

Duplicate of #34877

I swear I searched high and low for an existing issue that described this problem - thanks for linking/triaging my issue!


Problem with Site Provisioning

I have custom URLs in place and was able to alter the EOC-Provision script to connect to our tenant, however whenever I put the Site Name in to be created I am met with this...

I am not using any special characters anywhere and have altered the variables multiple times all with no success.

@clarkec2 , thank you for reporting this issue.
Could you please verify the entered Site Name? It should not contain any spaces. Also, check if the Site exists in Deleted or Active Sites. If it does, either delete it permanently or use a different name when running the script.

We have attempted to use TEOC, TeamsEOCSite and TeamsEmergencyOperationsCenter. All with the same error. No sites exist in our tenant with those names. I was able to work around the issue by manually creating the site in the SP Admin, then running the following to apply the template
$TemplateFilePath = "";
$DestinationSiteUrl = Read-Host -Prompt "Please enter destination SharePoint site URL (e.g. https://sharepoint.com/sites/SiteName)";
Connect-PnPOnline -Url $DestinationSiteUrl -Interactive;
#Apply Template
Invoke-PnPSiteTemplate -Path $TemplateFilePath;
Disconnect-PnPOnline;

@clarkec2 ,
Please ensure that you are executing these scripts on PowerShell 7.2 or later, as it is a prerequisite for using PnP PowerShell. Additionally, update PnP PowerShell and attempt to run the scripts again.

Thanks for the tip, I am and have been running the up to date versions of both Powershell and the PNP Module. Looking over the provided template the issue may have lied in with the SiteName/SiteURL coding not taking in account for custom domains and branding. Weve gotten past it!


add curidx to linearinterpolation and zerospline

Avoids extra searching by keeping a current index and checking the current value before doing a full search. Maybe it's best to not do the neighbors either, and just do the current, but I went ahead and did the neighbors for now. Everything is ifelse since the computations are cheap, I assume that might be faster but haven't fully tested the speed yet.

@YingboMa might have ideas here as well.

Improved and finished in https://github.com/PumasAI/DataInterpolations.jl/pull/147


Catch SQLException thrown by Oracle connection when asked if it wraps a TracingConnection.

Resolves #258
Oracle Connections throw a SQLExecption when the java.sql.Wrapper#isWrapperFor(Class) method is invoked.
Simple fix to catch this error and return a wrapped connection.

How does this relate to #273 ?

If #273 is accepted (as far as I can see this is the removal of the isWrapperFor call), then this error will be resolved as well.
Don't know how to proceed.

@RutgerLubbers could you please rebase off the master branch?

@RutgerLubbers @malafeev any update on this?

I think it's not needed anymore, because I upgraded opentracing-jdbc to latest when I upgraded opentracing-api to 0.33.0

Alright, then I am closing it.
Thanks for the PR @RutgerLubbers


Upload Chocolatey logs in daily run

Upload the Chocolatey logs as artifacts in the daily run. I forgot this on https://github.com/mandiant/VM-Packages/pull/22.
This may help with https://github.com/mandiant/VM-Packages/issues/41.
I don't like the duplication in both actions, but I can't come up with a better way to do this. We could move the log paths to a file if we find ourselves modifying this often, but by now let's leave like it is.

It seems @MalwareMechanic is busy. I am going to merge this without review, as we have the same code in the PR run already.


feat: add SimpleGraph class

This PR implements the SimpleGraph class based on Echarts. Fix #4.
How to use
First, we need to prepare a DOM container with width and height for ECharts.
graphIdAndClass = "hypertrons-graph-div";
insertLineChart() {
    const root = this.getRoot();
    if (root) {
      root.append(
        `<div id="${this.graphIdAndClass}" class="${this.graphIdAndClass}"></div>`
      );
    }
  }

Then we can initialize an SimpleGraph instance to create a simple chart:
var lineChart = new SimpleGraph(this.graphIdAndClass,this.getLineChartOption());

API
render(option)
This is the most powerful interface. All parameters and data can all be passed and modified through option. ECharts will merge new parameters and data, and then refresh chart. The function can be used to:
Dynamic Data Updating
Implementing dynamic data updating is extremely easy. You only need to get data as you wish, fill in data to option, then pass it to render().
Asynchronous Loading
The same as Dynamic Data Updating. You can pass the option to render() once the data is ready after asynchronous loading.
Loading Animation
showLoading() is used to show the simple loading animation, and hideLoading() is used to hide it after data loading.
Theme
Besides the original default theme, you can use 'light' and 'dark' theme:
var lineChart = new SimpleGraph(this.graphIdAndClass, this.getLineChartOption(), 'dark');

You can also call updateTheme(theme) to update the theme color.
Events
bindEvent(eventName, func) is provided to bind some events on the chart and handle accordingly through callback functions. You can refer to Events and Actions in ECharts for more information.
Actions
dispatchAction() is provided to trigger certain actions in the program, such as showing tooltip, or selecting legend. You can refer to action for more information.
Signed-off-by: LinHaiming<EMAIL_ADDRESS>

Please @frank-zsy help look into this and see if there are anything needed but not implemented yet, or totally unnecessary.

The line graph should be configurable, like title, graph style and theme color.

In the current implementation, theme color can be configured when initializing SimpleGraph, and can be updated by updateTheme(theme).
While title and graph style, I think they can be configured  in option and then passed to SimpleGraph.
WDYT @frank-zsy ?

Please @frank-zsy help look into this and see if there are anything needed but not implemented yet, or totally unnecessary.

And I think besides the SimpleGraph class, you also need to implement addGraph function into HypertronsDashboard class so users can use it to add graph into dashboard?

BTW, is it necessary to move the SimpleGraph and SimpleTable class to another file?

I think it is all good, if you move the class into another file, need to add it to mainfest.json too.

I have updated the PR, please @frank-zsy have a look.

We may use single quotes rather than double quotes for strings, is there a certain reason you change all quotes to double quotes?

Because I used prettier to format the code and it automatically replaced double quotes with single quotes. I have changed the prettier configuration and changed it all back.
BTW, maybe we can specify the lint tool and configuration to avoid this problem.

And I think besides the SimpleGraph class, you also need to implement addGraph function...

I have added that to this pr, please review it again.

I think it is all good, if you move the class into another file, need to add it to mainfest.json too.

Yes. I have moved the SimpleGraph class into simple-graph.js and added it to mainfest.json.

I will approve this PR now and refactor later on default styles.
/approve


Fix MissingResourceException "MERGE_PROPERTY" for Postgres

This fixes issue #793.
Root cause is that the resource bundle for Postgres could not be resolved, as

the database driver reported the database product to be "PostgreSQL"
a custom Locale (used for defining the ResourceBundle) uses a lower-cased identifier/language
you are using a case-sensitive file-system

I also did some minor refactorings in order to improve the logging in case of database connection issues.

Can one of the admins verify this patch?

@stefanneuhaus thanks again for this PR!


display regExp string representation in instance inspector

Closes #276.
Unfortunately this is a bit hacky, because stringifying RegExp loses information about actual expression inside, so I called .toString() in sanitize method.

we don't really have to make additional support for this.
https://github.com/vuejs/vue-devtools/pull/319

I added some commits at #319


Documentation on how to run on port != :8080

What problem does this feature solve?
8080 is used by a lot of services.  I need a way to run the dev-tools build on a port other than 8080.
What does the proposed API look like?
Unsure

Hey @FEA5T. Devtools use webpack-dev-server, so it's as simple as passing another parameter:
npm run dev -- --port 4000

More info here: https://webpack.js.org/configuration/dev-server/#devserver-port
If you still think it would be of use, don't hesitate to create a PR with updated documentation :)

@michalsnik Thanks, I noticed that it was running webpack-dev-server however when I did some Ctrl-F'ing I noticed :8080 hardcoded into a lot of tests and other places so I assumed that there had to be something more to it.
Thanks!


tests require nose

Running scipy tests currently requires both pytest and nose due to the use of np.testing.assert_raises, which is literally
In [5]: print(inspect.getsource(assert_raises))
def assert_raises(*args, **kwargs):
   # snip docstring
     __tracebackhide__ = True  # Hide traceback for py.test
    nose = import_nose()
    return nose.tools.assert_raises(*args,**kwargs)

To reproduce:
$ pip uninstall nose
$ python runtests.py

To fix this, we need to either have a compat shim, or globally search-and-replace assert_raises to pytest.raises

Thanks. It's indeed best to avoid compat shims.


radian-scroll-up command breaks mouse-wheel-follow-mouse

(setq mouse-wheel-follow-mouse t), use mouse in inactive window. Active window scrolls.

I observe that behavior too, but if your Emacs is running in terminal mode, how would it know where your mouse cursor is in the first place? With emacs -Q, you get the same behavior, but it doesn't even scroll, it just moves point vertically.

hmm, no idea about terminal usage, but this happens to me on in display-graphic-p.

That's very odd. What operating system / distro / window manager are you using?

Archlinux & X11 with xmonad, regularly updated.

Hmm, this doesn't happen right now, inactive window scrolls, so I'm closing for now. Thanks for looking into it!


API requests for an non-existent resources should return 404

Describe the bug
If a resource doesn't exist then the API request should return a 404
we don't want to expose the existence of resources if a user has no access to them, so we return a 404 Not Found instead of a 403 Forbidden.
Steps

Scenario Outline: user other than the admin tries to add user to a nonexistent group

Expected behavior
Http status code should be 404
Actual behavior
Http status code 401 or 4xx

Non-admin user trying to add user to non-existent group returns 403 Forbidden :+1:
Admin user trying to add user to non-existent group returns 404 Not found :+1:


Model definition with property named System results in class that does not compile

Describe the bug
When generating a client for an OpenApi (swagger version 2.0) with a model definition with a property named System, the generated code no longer compiles. Reason being that the same class also uses references to other classes from the System namespace.
Support Key: mmt1dt0
OpenAPI Specifications
(not the full specs, but this is the gist of it)
{
  "swagger": "2.0",
  "info": {
    "title": "XX",
    "version": "0.0.0"
  },
  "host": "x.io",
  "basePath": "/",
  "schemes": [
    "https"
  ],
  "definitions": {
    "Dummy": {
      "type": "object",
      "properties": {
        "system": {
          "type": "string",
          "description": "XX"
        }
      },
      "description": "XXX",
      "example": {
        "system": "Dummy"
      }
    }
  }
},

Additional context
May also be true for some reserved words. System is not really a reserved word, but just not very practical.

The fix for this is now released and published to nuget.org as v0.5.30


[Mouseover Text Disabler] Toggles on/off when going to other areas

Seems like everytime you teleport away to another place or enter an instance it will toggle the command again on/off.
Example gif; https://imgur.com/FNGTs0y
Havent tested thoroughly but in general it just seems to toggle everytime you go into another area.
Works as intended on login/hop though!

Yeah I've noticed now it's not working all the time, I will look into a fix.

Fixed. b965ec0884631fab7acdbc647a550ca774ed6f0c


Where condition in DoUpdate.withExcluded is being ignored. Update is performed always

Where condition in DoUpdate.withExcluded is being ignored. Update is performed always
await into(_table).insert(entry,
        onConflict: DoUpdate.withExcluded(
          (old, excluded) {
            return onConflictCompanion(old: old, excluded: excluded);
          },
          target: [_table.columnsByName[someUniqueColumn]!],
          where: (old, excluded) => isMoreRecentUpdate(old, excluded),
        ));

While isMoreRecentUpdate method looks like this:
@override
Expression<bool> isMoreRecentUpdate(Users old, Users excluded) {
  return excluded.updatedAt.isBiggerThan(old.updatedAt);
}

It turns out that if I put isBiggerThan or isSmallerThan, update is being performed which results in unwanted stream (by watch) update. How to solve this?

Generally, you can't assume that drift streams don't emit "pointless" updates - the mechanism used to determine when queries update is an approximation. To avoid duplicates being emitted, filter the stream with .distinct().
That said, we could be smarter about this by querying not only the last insert id but also the general amount of rows affected by the last statement. If we know the insert didn't do anything, we don't have to emit a stream update. This change requires a breaking change between the core drift APIs and the backend implementations though, so it's not a big priority at the moment.


esbuild and Babel

Both esbuild and Babel can transform TypeScript, JSX, or newer ECMAScript features. Ok, esbuild can also do bundling (not included in the project) and minifying (included in the project).
If someone decides to install and work with Babel, what is the reason of existence of esbuild? Can it then be uninstalled?

Because it comes with Reboost, it can't be uninstalled :(

At first sight (quick search), I found that esbuild is mentioned only in the following files:

.../node_modules/reboost/dist/node/plugins/index.js
.../node_modules/reboost/dist/node/plugins/removed.js
.../node_modules/reboost/dist/node/index.js

It also seems that its isolation is quite easy. So, if someone decides to use other transformation tool, then (s)he can easily "remove" the references and uninstall it. Am I correct or missing something?


Config in readme disables line numbers

I'm using doom emacs, and the following lines of the config are disabling line numbers in all buffers (If I comment this part of the config, I have line numbers again)
https://github.com/zerolfx/copilot.el/blob/9b13478720581580a045ac76ad68be075466a963/readme.md?plain=1#L43-L52
I have this line in my doom config.el (setq display-line-numbers-type t)

I tried again and the problem was solved. I don't know what happened.


sort slice before comparing

Small change to sort string slices before comparing for equality.

Yup, I'll take it. Have had to do this in other languages as well (see https://github.com/exercism/xrust/pull/134), and it makes sense that the order doesn't matter, the readme only asks for what they're allergic to.
I am going to amend the commit message to include "allergies" in it, so that if we are only scanning through commit logs we can tell what commits are associated with what exercise.
Thanks.

(I don't think a test version bump is required, since solutions before this change will still pass with this change)

I don't think a test version bump is required

Agreed—I think we're good here.


[Question]Screenshots between Mac OS 10.12.5 and Ubuntu(travis) is different, is it a bug?

      const puppeteer = require('puppeteer')
      const server = createServer()
      server.listen(8000)
      const browser = await puppeteer.launch()
      const page = await browser.newPage()
      await page.goto(`http://localhost:8000/demo/`)
      await page.screenshot({ path: `spec/test.png`, fullPage: true })
      server.close()
      browser.close()

The mac os X one is always 134KB

The travis one is 130KB

Usually text rendering differs from platform to platform - this might be the reason in your case.


Add doc on how to add PHP extensions + details on the server root

This PR adds documentation on how to add PHP extensions and clarifies the use of NIXPACKS_PHP_ROOT_DIR.

I'm not sure how I can fix the failing tests though 🤔


inject bytecode

I want to inject some code, but not in the Attribute way, because I want to inject some clients, such as rabbitmq, or redis dll inside the method etc , these dlls, I can not use the Attribute method, I want to pass the namespace and the classes and methods, then to the current framework, the framework helps me find him, then do before and after.can lizzie   do?

Hmm, not entirely sure what you are trying to accomplish.It sounds like you are trying to Bind to a class you can't change for some reasons, am I right?
If I am right, maybe you could use the binder["xxx"] = ... method, and then simply forward the method to your "closed class" ...?
Below is an example from the documentation ...
using System;
using lizzie;

class MainClass
{
    public static void Main(string[] args)
    {
        // Some inline Lizzie code.
        var code = "foo()";

        // Creating a lambda function from our code.
        var function = Compiler.Compile<MainClass>(new Tokenizer(new LizzieTokenizer()), code);

        // Creating an instance of our class, which we can bind to our code.
        var context = new MainClass();

        // Creating a binder, and adding the 'foo' function to it.
        var binder = new Binder<MainClass>();
        binder["foo"] = new Function<MainClass>((ctx, binder2, arguments) => {
            Console.WriteLine("Hello World");
            return null;
        });

        // Evaluates our Lizzie code making sure we bind it to our instance.
        function(context, binder);

        // Waiting for user input.
        Console.Read();
    }
}

thank you for your answer.but I still don't quite understand.
public class Person
{
        public void SayHello(string name)
        {
            Console.WriteLine(name);
        }
 }

i want to intercept  SayHello method.
as i said that i give the (namespace +the classes +methods) string to lizzie ,
which inject some IL.
 httpClient.GetAsync("http://localhost:5002/api/values");
var content = httpClient.GetAsync("http://localhost:5003/api/values");

When the user use httpclient,i want intercept some method inject header,which
I want to pass some associated id.
From service A to service B.
this is a kind of interception scene, I also want to intercept rabbitmq, also injected into the headers.
can you understand my thoughts?

can you understand my thoughts?

Hmm, not entirely. If you try to create an example use case, from A to Z, describing what you're trying to achieve, it would be easier for me ...
But if I am to guess, you've got some existing code that you can't change, and as this existing code is being evaluated, you want something to happen before the original code is being executed, kind of in an AOP fashion, right ...?
If I am right, I assume your SayHello method, and its Person class are code you can't change, right ...?
Please realise that Lizzie doesn't "inject IL". Maybe you'll have some "aha moments" if you check out its 'compiler', which is only 400 lines of code.
The way Lizzie works, is that it creates a delegate for you, which is simply a list of other delegates, that each will do a "lookup" into a Dictionary, using the "Symbolic Name" (function name) as the key. This Dictionary returns a delegate, that becomes evaluated as you evaluate a Lizzie function. Below is pseudo code illustrating arguably the entire "programming language".
Dictionary<string, function> _keywords;

So when I write ...
foo(57)

... as Lizzie code. This will retrieve the "function" from my dictionary with the key of "foo", and pass in 57 as an argument to that delegate ...
Lizzie is hence in such a regard arguably "weird", since it neither compiles nor interprets your code. Instead Lizzie will use your functions as lookups into a Dictionary, which contains your "keywords".  However, as I started out with, if you give me your entire use case, from A to Z, I might find an alternative solution, which doesn't imply modifying the actual assembly at runtime ...

well,Thank you for your answer. i understand it.

NP. To be honest with you, I don't know what to call the process myself. It's not interpretation, since the end result is a delegate you can evaluate, that does not in any ways require the existing code, or interpret it in any ways. It is also not really a compilation process either, since it doesn't create an "image" such as the C# compiler that creates a IL image you can execute. At some point I played around with referring to it as "transpilation", but that's not accurate either, since transpilation translates from one language to another, and although arguably I do translate from Lizzie syntax to IL syntax, the process is very much "indirect".
If you have any suggestions for what I should actually refer to the process as, feel free to come up with some :)

"Assemble"? "Collating"?

Thank you @spadino but I think it's too late to change the name of the methods themselves since it would break existing code out there, but these are good suggestions for the documentation parts I think :)


⚠ Bofrost.be has degraded performance

In c0f680a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1194 ms

Resolved: Bofrost.be performance has improved in 9bfb046 after 6 minutes.


Adds resource revisions to applications.

Description
Allows users to specify exact resource revisions when deploying an application.
Fixes: #322
Type of change

Change existing resource

Environment

Juju controller version:

Terraform version:

QA steps
Manual QA steps should be done to test this PR.
provider juju {}
...

resolved conflicts after other PRs landed.


Invalid JSON due to body filter

Right now the default body filter does not output valid JSON.
The replacement string should probably be "$1: \"XXX\"".

The pattern looks ok to me, the outer parentheses include the colon (which does not need to be escaped btw). Can you give an example of the output you are seeing?
Pattern.compile("(\"(?:access_token|open_id|id_token)\"\\s*\\:\\s*)\".+?\"")

You are right, I was overwriting the pattern with a faulty one (without the : in the group).


After updating to V13 icons are missing | node-module @ant-design/icons-angular/icons missing

Reproduction link
https://codesandbox.io/s/ng-zorro-antd-ivy-forked-xl483?file=/src/app/app.module.ts
Steps to reproduce

Create a new Angular Projekt.
Install NgZorro. Optional: Choose Dynamic Icon loading.
The Node-Module @ant-design/icons-angular/icons is missing

What is expected?
node-module @ant-design/icons-angular/icons in place
What is actually happening?
It was deleted after Updating. Still not there after fresh install.

Environment
Info

ng-zorro-antd
13.0.0

Browser
Chrome

This is not happening in the Sanbox example

I testet it again with 13.0.1

Created a new Angular Application
ng add ng-zorro-antd
Dynamic Icon loading = Y
ng serve
Error

Hi. I tried to reproduce the error but everything looks good. Could you please upload a repo or something so I can investigate into this? Thanks!

Hi @wendellhu95 , here is the repository.
https://github.com/Neru87/Icon-Test
Steps to reproduce:

npm install
ng serve
Error (@ant-design/icons-angular/icons missing)

Issue can be closed. After updating node.js (version 16.13.0 => 16.13.2) and npm (version 8.1.0 -> 8.4.1) everything is working as expected.


[5.4] Add rules() and validationErrorMessages() to SendsPasswordReset

I added these two functions for more convenient work with this class. Hope it will be useful to other developers. 😄

I suggest just overriding that whole method. I don't like creating all these tiny little hooks in these classes.

It makes my class much more dirty. I think two funtions never hurt anyone.


Language Server Boot Failed...

When opening a project via the Ctrl-O the Language Server Failed to start.

[info] [2023-05-18T09:05:46.11Z] [akka.actor.LocalActorRef] Message [org.enso.projectmanager.infrastructure.http.WebSocketConnection$WebSocketStreamFailure] from Actor[akka://project-manager/user/$+e#568197200] to Actor[akka://project-manager/user/language-server-registry/language-server-controller-ce0fb7a9-8374-48af-b883-af6105017b53/bootloader-language-server-ce0fb7a9-8374-48af-b883-af6105017b53/process-wrapper-language-server-ce0fb7a9-8374-48af-b883-af6105017b53/initial-heartbeat-79f7f255-8523-41e8-bac0-2b9419c6b693#-2063247297] was not delivered. [4] dead letters encountered, of which 2 were not logged. The counter will be reset now. If this is not an expected behavior then Actor[akka://project-manager/user/language-server-registry/language-server-controller-ce0fb7a9-8374-48af-b883-af6105017b53/bootloader-language-server-ce0fb7a9-8374-48af-b883-af6105017b53/process-wrapper-language-server-ce0fb7a9-8374-48af-b883-af6105017b53/initial-heartbeat-79f7f255-8523-41e8-bac0-2b9419c6b693#-2063247297] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[info] [2023-05-18T09:05:46.11Z] [akka.actor.LocalActorRef] Message [org.enso.projectmanager.infrastructure.http.WebSocketConnection$WebSocketStreamFailure] from Actor[akka://project-manager/user/$+e#568197200] to Actor[akka://project-manager/user/language-server-registry/language-server-controller-ce0fb7a9-8374-48af-b883-af6105017b53/bootloader-language-server-ce0fb7a9-8374-48af-b883-af6105017b53/process-wrapper-language-server-ce0fb7a9-8374-48af-b883-af6105017b53/initial-heartbeat-79f7f255-8523-41e8-bac0-2b9419c6b693#-2063247297] was not delivered. [1] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[akka://project-manager/user/language-server-registry/language-server-controller-ce0fb7a9-8374-48af-b883-af6105017b53/bootloader-language-server-ce0fb7a9-8374-48af-b883-af6105017b53/process-wrapper-language-server-ce0fb7a9-8374-48af-b883-af6105017b53/initial-heartbeat-79f7f255-8523-41e8-bac0-2b9419c6b693#-2063247297] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[info] [2023-05-18T09:05:47.726Z] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerBootLoader] Found sockets for the language server [json:<IP_ADDRESS>:57005, binary:<IP_ADDRESS>:63545].
[warn] [2023-05-18T09:05:47.727Z] [org.enso.runtimeversionmanager.components.RuntimeVersionManager] Ignoring the minimum required engine version check [0.2.13] for the development version [0.0.0-dev].
[info] [2023-05-18T09:05:47.728Z] [org.enso.runtimeversionmanager.components.RuntimeVersionManager] The engine [0.0.0-dev] found.
[info] [2023-05-18T09:05:47.807Z] [org.enso.runtimeversionmanager.components.RuntimeVersionManager] Found GraalVM runtime [GraalVM 22.3.1-java11].
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
[warn] [2023-05-18T09:05:47.915Z] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerBootLoader] Language server terminated with exit code 2 before finishing booting.
[info] [2023-05-18T09:05:49.938Z] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerBootLoader] Found sockets for the language server [json:<IP_ADDRESS>:57161, binary:<IP_ADDRESS>:56273].
[warn] [2023-05-18T09:05:49.94Z] [org.enso.runtimeversionmanager.components.RuntimeVersionManager] Ignoring the minimum required engine version check [0.2.13] for the development version [0.0.0-dev].
[info] [2023-05-18T09:05:49.94Z] [org.enso.runtimeversionmanager.components.RuntimeVersionManager] The engine [0.0.0-dev] found.
[info] [2023-05-18T09:05:50.022Z] [org.enso.runtimeversionmanager.components.RuntimeVersionManager] Found GraalVM runtime [GraalVM 22.3.1-java11].
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
[warn] [2023-05-18T09:05:50.124Z] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerBootLoader] Language server terminated with exit code 2 before finishing booting.
[error] [2023-05-18T09:05:50.124Z] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerBootLoader] Tried 2 times to boot Language Server. Giving up.
[error] [2023-05-18T09:05:50.125Z] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerController] Booting failed for LanguageServerDescriptor(language-server-ce0fb7a9-8374-48af-b883-af6105017b53,be02e870-d7f7-4313-8934-e092e9a03715,C:\Users\jdunk\enso\projects\Colorado_COVID,NetworkConfig(<IP_ADDRESS>,49152,65535),org.enso.projectmanager.versionmanagement.DefaultDistributionConfiguration$@4845c958,0.0.0-dev,JVMSettings(None,List()),false,None,None,None,Future(Success(Some(ws://localhost:54264/))),false). Language server terminated with exit code 2 before finishing booting.
[warn] [2023-05-18T09:05:50.125Z] [org.enso.projectmanager.infrastructure.languageserver.ShutdownHookActivator] Shutdown hook activator has no recollection of project ce0fb7a9-8374-48af-b883-af6105017b53. Either it was closed already or it never existed. Ignoring.
[error] [2023-05-18T09:05:50.126Z] [org.enso.projectmanager.requesthandler.ProjectOpenHandler] Request ProjectOpen with Number(4) failed due to ProjectOpenFailed(Language server boot failed. Language server terminated with exit code 2 before finishing booting.).

This occurs after #6763 - backend has to be restarted to open a project

Since I am unable to reproduce #6763, as I commented in https://github.com/enso-org/enso/issues/6763#issuecomment-1555003720, I am not sure in which state your old LS resides at this point. It seems like your old LS crashed and, therefore, was unable to properly shut down. It all depends on what precisely happened on your old LS.
Nonetheless, when reopening a project via Ctrl+O, we should be able to restart/shutdown/kill any previous instance of LS, no matter its state.

Closing as not reproducable.


Allow FlowCharting on grafana.ini

HI,
I'm new on grafana and i want to know how can i add unsigned plugins to my grafana.
I see on the doc, i must to go on grafana.ini and add the pluggin to allow_loading_unsigned_plugins
I do this like this:
;allow_loading_unsigned_plugins = "agenty-flowcharting-panel"
i restart grafana service but still unworking.
Ty for helping me

I'm sorry my plugins was already allow i should read the documentation before ask question.

I'm sorry my plugins was already allow i should read the documentation before ask question.


Improve LN connection handling

I have some very small hope that these changes might fix are intermittent CI issues.

bors r+


Icons size and position are inconsistent

Current behaviour
Icon sizes and positions are inconsistent.

Expected behaviour
Icon sizes and positions are consistent.
Version
1.0.2

Tested and the issue can be closed


Minibatching example

Not sure if this is what you had in mind @ChrisRackauckas by moving the batching/data selection into the loss function, but I'm happy to revise and work on this to turn it into a useful example (I think it's far from useful right now).
Well the minibatching isn't really done cleanly. Instead of comparing the entire ODE time series in the loss function, it compares next state vs. predicted state and cycles through all the available data. This is the approach I've been taking when my data is coming from multiple simulations.
Added it as minibatching.jl so it's easier to look at the code but I can easily move it to the README with all the other examples.
Resolves #133

Yes, this is kind of what I had in mind. As an example I was thinking of having a big time series data and doing things like randomly sampling or iteratively subsetting it for the fit, but that's just a different example. In general, this is how I saw it working. Any issues you see with this?
@colinwarner @jessebett

I believe this PR/example is unnecessary now? Close along with #133?

This exact one, yes. But we still have no documentation or example of the data iterator system, so it would be good to show that somewhere.


Merge pull request #1 from NG-ZORRO/master

docs(showcase): correct the url to angular docs (#325)
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

I am so sorry, I make a mistake.

Coverage remained the same at 40.791% when pulling 43f6686d263cbe0bfcf0fd6db9616f4ed45ab53a on AlcheXie:master into 1220c9d8bb6ae7d2785585c7e78df58c2174b921 on NG-ZORRO:master.


Bug Fix - App got stuck and permanently spinning.

https://github.com/vector-im/vector-ios/issues/655
Cancel all the tasks currently run by the managed session when the background task expired (instead of invalidate the session).

When a task is cancelled, the MXHTTPOperation failed with NSURLErrorCancelled error code. So the MXHTTPOperation creator is notified.


Change editor.wordHighlightStrongBackground

Having both editor.wordHighlightStrongBackground and editor.selectionBackground set to the same value makes it impossible to see selections in the active token. Applying 50% opacity to the token highlight restores functionality; I haven't checked to see if this issue exists in the other palettes.

Hey 👋 , Thanks for raising this PR!
As suggested in this comment: https://github.com/catppuccin/vscode/pull/49#issuecomment-1287988421
This PR should:

Modify the index.ts file and re-generate the JSON files.
Change base branch to catppuccin:dev instead of catppuccin:main

@sgoudham should be good to merge now.


Pseudo-class is supported yet? (odd, event, first, last)

Hi, I just want to ask if pseudo-class is fully supported on NativeWind 2.0?
Specifically on "odd","even","first" and "last".
I tried using them on my project but it's not working.

Not yet, most likely in the next month or so.
I'm going to close this issue and add it to the features backlog. I'll update the status it when I start on this feature.


Multiple nic problem

Hi.
I've an instance with Centos 6 and multiple network interfaces, when the package is updated the networks fails, I need to restart to solve.
Is there a way to solve this?

Can you provide more details? How does the network fail? Are you setting configuration on those interfaces manually or are you letting the daemon handle it?

First the package is updated, then the daemons restart, after that the network fails.
I share some log captures


Nav mobile

implement mobile navigation

I'm not sure why but one of the global classnames we created (label-1) was adding 20px vertical margin.


DOC-248 Updated readme

DOC-248 Updated readme to state clearly that the current release is BETA

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


Using “bundler install” gives a warning to use “bundle” instead.

Using “bundler install” gives a warning to use “bundle” instead.

Addressed in #14


Error Running vendor/bin/rocketeer deploy after composer update

After running a composer update and then running vendor/bin/rocketeer deploy I am immediately greeted by
staging/0 | Deploy (Deploys the website) [~63.62s]
staging/0 |-- Notify (Notify a third-party service) fired by deploy.before [~2.18s]
PHP Warning:  strpos() expects parameter 1 to be string, array given in /home/vagrant/Code/oregon/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplate.php on line 41

The problem appears suddenly something from rocketeer is pushing an array value when guzzle is expecting a string. The following are the lines around 41
public function expand($template, array $variables)
    {
        if ($this->regex == self::DEFAULT_PATTERN && false === strpos($template, '{')) {
            return $template;
        }

        $this->template = $template;
        $this->variables = $variables;

        return preg_replace_callback($this->regex, array($this, 'expandMatch'), $this->template);
    }

Line 41 is
if ($this->regex == self::DEFAULT_PATTERN && false === strpos($template, '{')) {

I have compared older versions of composer.lock files finding 20 differences. Some in symfony and some in phpunit. It was both symfony and phpunit changes I rolled back to versions previous and still the error occurs.
If I replace the new composer.lock with the older composer.lock and run composer install rocketeer again deploys correctly.
Clearly the cause of this problem is very obscure and difficult to fine.

Note @Anahkiasen that this issue was / is caused by the rocketeer-slack plugin. Turning off the plugin in the rocketeer config fixes the issue. The discussion is related to this issue in that repo:
https://github.com/rocketeers/rocketeer-slack/issues/26
This issue can probably be closed and discussion moved over there.


feat(auth)!: update default values for env variables

Changes proposed in this pull request

Rename two env variables
Remove default values for some env variables
Update localenv
Update integration tests
Update documentation

Context

fixes #2685
Checklist

[x] Related issues linked using fixes #number
[x] Tests added/updated
[x] Documentation added
[x] Make sure that all checks pass
[ ] Bruno collection updated

LGTM, there's just the small grammatical note

@njlie can you please check and approve again. I committed your suggestion for that grammatical error.


Client Allocation Request for: Fleek

Client Allocation Questions
Core Information

Name: Fleek
Website / Social Media: fleek.co
Region: North America
DataCap Requested: 10TiB
Addresses to be Notarized: f1u77wemzteznm5zar3dyyi4ybithzoite7f4sqky
Notary Requested: s0nik42

Thanks for your request. Can you kindly add more information / context here on:
Exposure :

Yourself , e.g. include links to social media / news mentions etc

Ecosystem :

Your history working on IPFS / Filecoin, e.g. notable contributions to the community, type of engagement shown over time etc

Data :

Type, size and source of the data you are looking to store on Filecoin, e.g. public data vs private data etc
Your relationship with the data, especially with regard to copyright
If the data is encrypted, are you authorized  in case of an Audit to provide me or another notary the key to decrypt a deal of our choice ?

Storage :

How you intend to store the data on Filecoin, e.g. redundancy, location / miner preferences, etc

Could you confirm if the data will be encrypted or not ?

How much data are you considering storing to your own miner ?

Please describe the nature of the relationship you have with the miners you are going to store data to. Especially if you have  any interests ?

Have you already ask Datacap to another notary that have been accepted or rejected.

Finally, will you agree to share here all the CIDs related to the datacap ?

Thanks

Exposure :
Yourself , e.g. include links to social media / news mentions etc

Fleek.co, space.storage, twitter.com/fleekhq, twitter.com/spacestorage

Ecosystem :
Your history working on IPFS / Filecoin, e.g. notable contributions to the community, type of engagement shown over time etc

Running IPFS site hosting since start of 2020 (fleek.co)
Developed Space storage app based on IPFS
Close collaboration with Protocol labs team (support, product discussions, roadmapping)
Participated in Filecoin verification process brainstorming

Data :
Type, size and source of the data you are looking to store on Filecoin, e.g. public data vs private data etc

Your relationship with the data, especially with regard to copyright

If the data is encrypted, are you authorized in case of an Audit to provide me or another notary the key to decrypt a deal of our choice ?

In general, we store files for our users across Fleek and Space.  We aggregate them together so that we can bundle more economic batch sizes and in the future, we want to have user-specific bundles so that they can set their own policies and own the deals. We are storing different types of data so will break it down as per those types:

Sites data: this data is public since it is meant for public static site hosting so it is not encrypted and therefore the Filecoin deal content will be visible by yourself
Storage data: this data is also public since it is meant for public assets so it is not encrypted and therefore the Filecoin deal content will be visible by yourself
Space data: since Space is a privacy focused app, users own these files and we do not have access to their file decryption keys. In this case we would have encrypted files in the bundle and would not be able to decrypt them ourselves. However in the case of an incident, the available option would be to contact our user and request a copy of the file. Perhaps a future improvement could be to store some hash of the original file in our metadata so that if we do require to follow up with the user and get a specific file for incidents, we can confirm it was the original file by generating the hash and comparing to the users metadata

Storage :

How you intend to store the data on Filecoin, e.g. redundancy, location / miner preferences, etc

We are currently storing the archives with Piknik miner.  They have been super helpful in getting us setup and are great to work with. They are located in US west which was ideal for us given our infrastructure is also mostly there.

Could you confirm if the data will be encrypted or not ?

Please see the "data" section above for more details. But essentially since we are batching together files from different products, some of the files in a given deal will be encrypted, while other files may not.

How much data are you considering storing to your own miner ?

Currently we generate about 3GB of data per day and we have set the sector size to be 16GB with the miner.  Once this verification process goes through, we may be able to bring the sector size down if Piknik is okay with it. But this size also works for us.

Please describe the nature of the relationship you have with the miners you are going to store data to. Especially if you have any interests ?

We don't have any financial interests with the miner (Piknik). We met them through Julien and have built a relationship with them around the mining setup.  They are our exclusive miners currently.

Have you already ask Datacap to another notary that have been accepted or rejected.

No

Finally, will you agree to share here all the CIDs related to the datacap ?

Agreed

@jsonsivar thank you for you answers, datacap has to be consume in the spirit of the filecoin network, which means your data should have multiple copy accross the network. Could you confirm you are planning to store short term multiple copies to multiple miners ?
Thank you,
Julien

Thanks @s0nik42 .  I can confirm that we will store short term copies with multiple miners :+1:

Thank you, you will receive 3TiB, could you confirm that your adress will be : f1u77wemzteznm5zar3dyyi4ybithzoite7f4sqky

Confirming that is the address :+1:


Add cardano-filtered-info to Showcase

👋 Hello there! Welcome. Please follow the steps below to tell us about your contribution.

Please complete a Checklist
Fill in all sections of the template
Click "Create pull request"

Checklist
<-- Please fill the boxes with [x] before submitting a pull request -->

[X] I have read the How to Contribute.
[X] I have read the Showcase Requirements
[X] I have run yarn build after adding my changes without getting any errors.
[X] I have not committed any changes to yarn.lock (or have removed these changes).

Showcase addition
<-- Provide information for every bullet in the list below. The tags you select must match the tags in your changes to the showcase.js  -->

Title: Cardano Filtered Info
Description: Real-time Cardano news, social media posts and blockchain analytics
Website:   https://cardano.filtered.info
Source: null
Tags:

analytics
ecosystem

Hey! Thank you both for taking the time to analyze the tool and provide feedback.
@rphair, I'm glad you like aspects of the tool. To clarify, the aim isn't just to be a feed, but rather a comprehensive dashboard for Cardano enthusiasts, investors, and developers. The idea is to provide a single place where users can see what people are saying about Cardano across various platforms, without having to manually open and filter multiple tabs.
Regarding the right side of the desktop view, I want to emphasize that it actually displays dynamic, real-time data, not static content. While some elements like dApp listings or GitHub top repos don't update as frequently as the left side content, they do change over time to reflect the latest information.
@katomm, I understand your point about the categorization. The tool is designed to be multifaceted, covering various aspects of the Cardano ecosystem including analytics, market data, and project information.
I appreciate the consideration for the 'ecosystem' tag, as the tool does indeed link to and provide information about various Cardano apps and projects.


CommonJS modules with "sideEffects": false still removes styles for single-file vue components in production builds

Bug report

What is the current behavior?
I have a vue project with single-file vue components, I use babel  transform my ES2015 module syntax into CommonJS modules (for some reason), but i can`t find my styles from single-file vue component. Here are some config.
babelrc:
"presets": [
    [
      "@babel/preset-env",
      {
        "modules": "commonjs"
      }
    ],
  ],

package.json:
...
"sideEffects": false,
...

If the current behavior is a bug, please provide the steps to reproduce.
Here is the demo
change package.json to
"sideEffects": [
    "*.vue"
  ]

you can find component style from dist/main.[hash].css,
with package.json default, there is no component style in dist/main.[hash].css

What is the expected behavior?
I think that means the tree-shaking is working, but check the babel.rc, I transform my ES2015 module syntax into CommonJS modules.
The documentation about tree-shaking indicates if we use some compilers transform ES2015 module syntax into CommonJS modules, we can`t use tree-shaking.
According to the documentation, there should be my component style there  no matter with or without "sideEffects".

Other relevant information:
webpack version:  ^4.36.1
Node.js version: 10.16.0
Operating System: macOS 10.13.6 (17G65)
Additional tools:

by your configration your babel config only affects .js files, not .vue files and it's generates source code.

@sokra Thanks for your replay.
According to the documentation of vue-loader, after I create a instance of VueLoaderPlugin,

if you have a rule matching /.js$/, it will be applied to

@sokra Hello, you must be very busy.
I will be very grateful if you can point out my problem when you are free. Feel free if not 😊.

if you have a rule matching /.js$/, it will be applied to