Design bugs identified in issue #1201

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
This issue comes from the work done in Issue #1201 List in all the doc the incompatibility with ODS in which all Boosted components (variants included) have been inspected in order to identify the ones that do not respect ODS specifications and therefore need an alert message saying "Do not use in ODS".
Doing this work, some design bugs were noticed. They are summed up here is the list below in order to be corrected in Boosted to respect ODS specifications.
Process

Choose one use case in the list below
Create a branch and a PR for this use case
In the list, add at the end of the corresponding line a link to the PR
When the PR is merged, check the use case in the list

Note: Please try to avoid creating a PR that handles several use cases at the same time; it will be easier to track the use cases and easier for the reviewers with small PRs.
Note: This issue will be considered done (and can be closed) when all the use cases are handled, checked and merged.
List of what needs to be corrected in Boosted:
-- DOING... --
docs/5.1/content/tables/

hoverable-row:

[ ] on table-light: change the background color on hover for "#DDD".  (See PR #859 - contains design specification)

[ ] on table-dark, change the background color on hover for "#333".  (See PR #859 - contains design specification)

row-selection:

[ ] on table-light, change background color on selected by "#DDD" (See PR #859 - contains design specification)
[ ] the space between the checkbox of the first column and the text of the second column is too large. It's the same for all the following table with a similar checkbox. (See issue Docs > Tables > Row selection: space after checkbox incorrect #1236)
[ ] The checkbox icon container shall be 40px x 40px instead of the present (30px x 30px + margin of 5px). See ODS specification "standard table with column header WEB-TBL-STD-003.

docs/5.1/forms/checks-radios/

indeterminate:

[ ] background checkbox color on state indeterminate to be changed

[ ] background checkbox color on state indeterminate disabled to be changed

Reduced test cases
NA
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Boosted are you using?
v5.2

Could you please create specific separate issues. Otherwise it will be complicated to track.
Note: bugs should not appear in sprints boards (I removed this issue from it)


Implement better boundingVolume geometry

Currently the boundingVolume is a sphere, which is rather inefficient.

Need to implement convex hull geometry. (QuickHull?)

This is no longer needed after k-d tree implementation


Change initialValue if new initialValue is provided

I have a case where my numbers keep changing between any of the 5 items from an array of [200, 300, 500, 128, 11]. As soon as the page loads, I do NOT want the counter to animate. So I pass initialValue and value as the same variable.
{
  initialValue: 200,
  value: 200,
  animated: false //expected
},
{
  initialValue: 200,
  value: 300,
  animated: true //expected
},
{
  initialValue: 300,
  value: 200
  animated: false // this is happening because initialValue is set in the state of the component and doesn't update, so it only counts up, but doesn't count down to the initialValue.

I think this is should be fixed as for a finite number of units that need animating, this might become a recurring issue.

I can take this up and make a PR for it.


Update to WebdriverIO v8

Hey 👋
Thanks for providing this boilerplate project. It seems like it uses WebdriverIO v6 or older which are versions that the WebdriverIO team has deprecated. Please update the dependencies as we otherwise have to remove it from our docs.
Let me know if you have any questions! Thank you!

Hi,
The boilerplate repo is updated to V8. Please check and let me know.


How to solve the problem of players refusing to accept the resource pack resulting in repeated kicks out？

I have a player on my server who clicked reject when asked if he would accept the resource pack, so how do I get the server to ask again？

Have the player delete the server entry in their multiplayer server list and readd. Should prompt again.

Exactly. This is unfortunately a behavior implemented fully in the client, and the server cannot detect whether it was permanently rejected or temporarily, so I cannot add this into the message.


[HUDI-5758] Restoring state of HoodieKey to make sure it's binary compatible w/ its state in 0.12

Change Logs
RFC-46 modified HoodieKey to substantially optimize its serialized footprint (while using Kryo) by making it explicitly serializable by Kryo (inheriting form KryoSerializable, making it final).
However, this broken its binary compatibility w/ the state as it was in 0.12.2.
Unfortunately, this entailed that as this class is used in DeleteRecord w/in HoodieDeleteBlock that it also made impossible to read such blocks created by prior Hudi versions (more details in HUDI-5758).
This PR restores previous state for HoodieKey to make sure it stays binary compatible w/ existing persisted HoodieDeleteBlock created by prior Hudi versions
Impact
See above
Risk level (write none, low medium or high below)
Low
Documentation Update
N/A
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

CI is green:

https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=15085&view=results


Correct commit to use in plugins that add support for PlaceholderAPI

So it might be confusing for developers that don't know jitpack what the line compile "com.github.rojo8399:PlaceholderAPI:master-SNAPSHOT" does.
I just wanted to add support in another plugin for PAPI but looking at the current commits it may be not working with the latest commit of master(SNAPSHOT). So I had to dig to the commit that introduced version 4.0 and use that. I would very really highly recommend you to just add a version tag under the release section of this repo to point to this commit of v4.0. Then the dependency looks like this: com.github.rojo8399:PlaceholderAPI:v4.0. It would make things very easy.
I do this regularly: https://github.com/randombyte-developer/kosp/tags
Edit: 1b6fb7bf6c5adccaae8e240fd2ea84da5d7e5d8b is right for 4.0?

Nope, that commit is not version 4.0. Version 3.12 is likely what you are looking for if you don't want to work with the breaking changes. 4.0 is the complete rewrite to support more than player, annotation based object-method registration and more nifty stuff. Version 3.12 will be kept on the branch legacy-(3.12) for some time, for documentation and legacy support purposes.
To clarify: version 4.0 was SUPPOSED to be the update adding relational placeholders and forcing a breaking method change. However, a suggestion by dualspiral got me thinking about a more effective system to have more dynamic replacement. As such, I moved the then-existing 4.0 into 3.12 and undid it's breaking change, then completely rewrote the plugin, and called the new version 4.0. (Sorry for the confusion about this).
I will look into release tags for jitpack for both 3.12 and 4.0, and all future versions. Shouldn't be too hard to do so I will likely do it by the release of 4.0.

Ok, thanks. Creating a tag/release is very easy: releases -> new -> pick right commit on right branch -> name the thung(v3.12) -> done!

Tags exist for 3.12, 4.0 and 4.1. Any future versions will also have tags attached to them.


[BUG] namespace missing in CQL queries

I'm currently working on switching a project to the new typescript approach using @cap-js/typer.
Unfortunately, when using the newly generated types it looks like the namespace is missing when performing CQL queries.
I'm using the same approach as described here in the documentation.

Also mentioned in following community question: https://answers.sap.com/questions/13938363/cap-typescript.html
Details
Versions used:
@cap-js/cds-typer: 0.5.0
@cap-js/sqlite: 1.0.1
@sap/cds: 7.1.0
@sap/cds-compiler: 4.0.2
@sap/cds-dk: 7.0.3
@sap/cds-dk (global): 7.0.3
@sap/cds-fiori: 1.0.0
@sap/cds-foss: 4.0.2
@sap/cds-mtxs: 1.9.2
@sap/eslint-plugin-cds: 2.6.3
@thevaluechain/cap-number-range: 1.1.5
Node.js: v16.19.0
home: /home/user/projects/icm-reuse-numberrange/node_modules/@sap/cds

Sample Code
Sample Model
using { User, cuid, managed } from '@sap/cds/common';
namespace eu.thevaluechain.common.numberrange.db;

@singular: 'NumberRangeObject'
@plural: 'NumberRangeObjects'
@assert.unique: {object: [Object]}
entity NumberRangeObjects : cuid, managed {
    Object: String(10) @mandatory;
    Description: String(40);
    NumberLength: Decimal(2,0);
    WarningPercentage: Integer;
    Prefix: Boolean;
    Intervals: Composition of many Intervals on Intervals.Object=$self;
}

@singular: 'Interval'
@plural: 'Intervals'
@assert.unique: {objectnumber: [Object,NumberRangeNo]}
entity Intervals : cuid, managed {
    Object: Association to one NumberRangeObjects;
    NumberRangeNo: UInt8 @mandatory;
    Description: String(40);
    NumberFrom: Integer64 @mandatory;
    NumberTo: Integer64 @mandatory;
    IntervalStatusses: Association to many IntervalStatusses on IntervalStatusses.Interval=$self;
}

@singular: 'IntervalStatus'
@plural: 'IntervalStatusses'
@assert.unique: {intervalprefix: [Interval,Prefix]}
entity IntervalStatusses : cuid, managed {
    Interval: Association to one Intervals;
    Prefix: String(4) @readonly;
    NumberStatus: Integer64 @readonly @Core.Immutable;
}

Sample Code
const {NumberRangeObject, Intervals} = require('../../@cds-models/eu/thevaluechain/common/numberrange/db')

// Get number range object configuration
this._numberRangeObject = await SELECT.one.from(NumberRangeObject).where({ID: this._numberRangeObjectID});
if(!this._numberRangeObject){
      throw new Error("Number Range Object not found!");
}
this._numberRangeObject.Intervals = await SELECT.from(Intervals).where({Object_ID: this._numberRangeObjectID });

[^1]: You can acquire the version of cds-typer you are using by executing: npx cds-typer --version
[^2]: A repository to your project where the problem manifests (including the relevant branch).
[^3]: These versions can be acquired by running cds v -i. May not apply to you, in that case just leave it blank.

Hi Geert-Jan,
that does look odd, yes.
Do you think you could share a bit more information, like (parts of) the model you were using to generate the types?
Best,
Daniel

Hi Geert-Jan,
thanks for adding the model! I will look into it asap.
Best,
Daniel

I am just looking into it and I have a hard time reproducing the error. Could you please verify that the types you are importing are actually in the place you expect them to be? I.e. ctrl + left click the path within your require to see if it leads you to the index.ts file that contains the types.
(btw. you can use require('#cds-models/eu/thevaluechain/common/numberrange/db') to spare yourself the trouble of using relative paths everywhere if you installed cds-typer using the facet 🙂)

Just tested the ctrl + left click, which is working perfectly fine :)
I switched to  the relative paths just for testing and making sure that everything was working fine. (I used the facet approach for setting up the cds-typer)
Is there any other information that I can provide that might be helpful for you to try to reproduce this issue?

If you are able to provide a minimal reproducible example in a separate repository where I can observe the behaviour, that would be of great help!

I just added you to the repository which is presenting with this issue. (branch: cds-typer)
It's a quite straight forward process to reproduce this issue:

Start the server with: npm run watch:dev
Open the action.http file and execute the second request (action Get Next Number)

This will cause error "no such table: NumberRangeObjects in:\nSELECT * FROM NumberRangeObjects WHERE Object = ? LIMIT 1"

Awesome, I will check it asap, thanks!

Hi Geert-Jan,
I just tried out your (very well detailed!) repro and I am afraid it works on my computer(TM) 😬
Running the Postman action returns:
HTTP/1.1 200 OK
X-Powered-By: Express
X-Correlation-ID: a2888b7b-41c2-420c-af97-d0cbe051631b
OData-Version: 4.0
content-type: application/json;odata.metadata=minimal
Date: Wed, 02 Aug 2023 16:28:39 GMT
Connection: close
Content-Length: 62

{
<EMAIL_ADDRESS>"$metadata#Edm.String",
  "value": "2510000001"
}

And I can step over the assignment of numberrangedb and see that it is being filled in in the debugger:

Could you maybe to a clean checkout of your project and see if the errors persists for you? Just to make sure there isn't some weird cache-effect going on.
Best,
Daniel

Hi Daniel,
I'll try that again, but this is what I did yesterday! :)
Can this be related to the fact that I'm using SAP Business Application Studio? (e.g. node version is 16.19 -> something which can't be changed)
Best regards,
Geert-Jan

Hi Daniel,
Seems to be an issue with caching or something like that at least, I created a completely new workspace in BAS and now is does seem to be working. (in my original workspace, uninstalling and re-installing all modules didn't solve the issue)
I'll close the issue, I don't think it's worth diving into the details as this does work in a new workspace. (the previous workspace was already +1 year old, so over time maybe something went wrong with the configuration)
Thanks for the support on this one!
Best regards,
Geert-Jan


1.21.4 not working

crash-2024-12-04_11.13.06-client.txt

fresh install of 1.21.4 minecraft/fabric, please help!

works great again! ty! you a real one


Prevent duplication of Services

When editing the Name of a Service/Webinterface the entry got duplicated. This PR fixes that behaviour, so editing of Service Names is possible without duplicating.

LGTM


_hydrated() monkey patch breaks integration py2neo 1.6.4

Using a py2neo batch in combination with neomodel object does not work as expected.
The code below simple creates a relation to an existing node(544) in a batch :

from py2neo import neo4j, rel
from neomodel import StructuredNode, StringProperty

class TestAsset(StructuredNode):
    filename    = StringProperty(required=True)

# node id of the status we want to set
status = 544

asset = TestAsset(filename="test.jpg")
asset.save()
print "created id: ", asset._id

g=neo4j.GraphDatabaseService()
batch = neo4j.WriteBatch(g)
batch.create( (g.node(asset._id), 'HAS_STATUS', g.node(status)) )
batch.submit()

executing this will cause give this runtime error:
batch.submit()
File "/usr/local/lib/python2.7/site-packages/py2neo/neo4j.py", line 2674, in submit
for rs in responses.json]
File "/usr/local/lib/python2.7/site-packages/py2neo/neo4j.py", line 2523, in __init__
self.__hydrated = self.__hydrate(result, hydration_cache)
File "/usr/local/lib/python2.7/site-packages/py2neo/neo4j.py", line 2506, in __hydrate
return _hydrated(body, hydration_cache)
TypeError: _hydrated() takes exactly 1 argument (2 given)

Closing this one as we have now migrated to the neo4j_driver as oppose to py2neo


CSS documentation...

Users who would like to tweak the styling of our widgets need to override our default CSS properties, for example cesium-widget-small-icon controls the default button size for the toolbar buttons.  We have absolutely no documentation for any of it.  I'm not sure if we could generate CSS documentation with our existing tools, or if we just rely on inline comments in the CSS file to inform people about what they can tweak.

From three years ago:

I'm okay with closing this, though I think our overall CSS strategy needs to be reevaluated at some point in the future.

Closing for now.


bot.Servers returns nothing, even though there are several servers connected

Ahh, so I should probably wait for the ready event to trigger, then?

Issue resolved.

Fixed by adding servers during the ServerAvailable event


Install docs refer to incorrect package name

Expected behavior
When running the command from https://unpoller.com/docs/install/linux, I should be able to install Unpoller with no errors:
curl -s https://golift.io/repo.sh | sudo bash -s - unpoller

Current behavior
When using the installer script from https://unpoller.com/docs/install/linux, the command references unpoller as a package name, which results in a package not found error:

Error when installing unpoller
# curl -s https://golift.io/repo.sh | sudo bash -s - unpoller

OK
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:3 https://packages.grafana.com/oss/deb stable InRelease
Hit:4 https://repos.influxdata.com/ubuntu focal InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:9 https://pkgs.tailscale.com/stable/ubuntu focal InRelease
Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,712 kB]
Get:6 https://packagecloud.io/golift/pkgs/ubuntu focal InRelease [24.5 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [918 kB]
Hit:8 https://packages.graylog2.org/repo/debian sidecar-stable InRelease
Hit:11 https://packagecloud.io/sensu/stable/ubuntu focal InRelease
Get:13 https://packagecloud.io/golift/pkgs/ubuntu focal/main amd64 Packages [3,661 B]
Fetched 3,000 kB in 2s (1,580 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package unpoller

Instead, the command I'm having to use is referencing unifi-poller as the package name:

Success when using unifipoller
# curl -s https://golift.io/repo.sh | sudo bash -s - unifi-poller
OK
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 https://repos.influxdata.com/ubuntu focal InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 https://packages.grafana.com/oss/deb stable InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Get:9 https://pkgs.tailscale.com/stable/ubuntu focal InRelease
Hit:6 https://packages.graylog2.org/repo/debian sidecar-stable InRelease
Hit:8 https://packagecloud.io/golift/pkgs/ubuntu focal InRelease
Hit:10 https://packagecloud.io/sensu/stable/ubuntu focal InRelease
Fetched 5,542 B in 1s (4,595 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  unifi-poller
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 5,213 kB of archives.
After this operation, 5,402 kB of additional disk space will be used.
Get:1 https://packagecloud.io/golift/pkgs/ubuntu focal/main amd64 unifi-poller amd64 2.1.3-884 [5,213 kB]
Fetched 5,213 kB in 1s (7,814 kB/s)
Selecting previously unselected package unifi-poller.
(Reading database ... 163595 files and directories currently installed.)
Preparing to unpack .../unifi-poller_2.1.3-884_amd64.deb ...
Unpacking unifi-poller (2.1.3-884) ...
Setting up unifi-poller (2.1.3-884) ...
Created symlink /etc/systemd/system/multi-user.target.wants/unifi-poller.service → /lib/systemd/system/unifi-poller.service.
Processing triggers for man-db (2.9.1-1) ...

Potential solution
As a potential solution, the docs should be updated to refer to the correct package name in the Packagecloud repos.

I can confirm I got the same issue ("E: Unable to locate package unpoller") on a fresh Debian 11 which I resolved by using the provided command (which uses unifi-poller).

should be fixed by #438


sap_ha_pacemaker_cluster: ASCS ERS Simple Mount

@ja9fuchs Lets review it together next week when you are available.
This PR adds new feature: Simple Mount scenario for ASCS ERS cluster.
Changes:

Simple Mount added as separate task, enabled by as default ASCS cluster for SUSE, disabled for Red Hat and marked as TODO when SAPStartSrv agent is available.  Controlled by variable sap_ha_pacemaker_cluster_nwas_abap_ascs_ers_simple_mount
Added more variables for cluster resources and updated naming to align with previous changes: variables for order, colocation and groups.
Added IS_ERS parameter, which is valid for all 3 scenarios.
New entry for SAPStartSrv in resource agent dictionary __sap_ha_pacemaker_cluster_resource_agents

Requirement: Simple mount uses shared NFS for both ASCS and ERS data across both nodes, sap_storage_setup role has to be executed for both NFS entries on both servers by changing input in AP4S dictionary:
      sap_storage_setup_host_type:
        - nwas_abap_ascs
        - nwas_abap_ers

sap_storage_setup vars in AP4S need to be adjusted as well to use actual variables from var files, instead of lookup based on hostname:
        sap_storage_setup_nwas_abap_ascs_instance_nr: "{{ sap_system_nwas_abap_ascs_instance_nr }}"
        sap_storage_setup_nwas_abap_ers_instance_nr: "{{ sap_system_nwas_abap_ers_instance_nr }}"

Example of cluster with Simple Mount
Node List:
  * Online: [ ae1ascs ae1ers ]

Full List of Resources:
  * rsc_fence_aws       (stonith:external/ec2):  Started ae1ascs
  * Resource Group: grp_AE1_ASCS00:
    * rsc_vip_AE1_ASCS00        (ocf::heartbeat:aws-vpc-move-ip):        Started ae1ascs
    * rsc_SAPStartSrv_AE1_ASCS00        (ocf::suse:SAPStartSrv):         Started ae1ascs
    * rsc_SAPInstance_AE1_ASCS00        (ocf::heartbeat:SAPInstance):    Started ae1ascs
  * Resource Group: grp_AE1_ERS10:
    * rsc_vip_AE1_ERS10 (ocf::heartbeat:aws-vpc-move-ip):        Started ae1ers
    * rsc_SAPStartSrv_AE1_ERS10 (ocf::suse:SAPStartSrv):         Started ae1ers
    * rsc_SAPInstance_AE1_ERS10 (ocf::heartbeat:SAPInstance):    Started ae1ers

@ja9fuchs New post steps were added to ensure that cluster is in stable state after HAlib implementation as it was doing changes on running resources without proper restart so sapcontrol functions were not returning proper values.
It differentiates between Simple mount and classic, restarting SAPStartSrv or SAPInstance.


Using ScrollTrigger in a component of the layout

I am trying to setup a ScrollTrigger in a component that is imported into a layout (where <LocomotiveScroll> is set) :
ScrollTrigger.create({
        trigger: this.$el,
        scroller: this.$refs.scroller.locomotive.el,
        toggleClass: { targets: document.body, className: 'theme-light' },
})

but I get an error Cannot read property 'locomotive' of undefined since this.$refs.scroller only exists in the parent (layout) and not the child component.
How would I preferably get this.$refs.scroller.locomotive.el inside the component (which is actually a data-scroll-section)?

Hi,
actually you can work in the parent where the scroll is initialized.
I've updated the Scroll Trigger example with a child component https://github.com/DidoMarchet/starter-kit-nuxt-locomotive-scroll/blob/main/pages/scroll-trigger.vue.
If you need to get reusable the animation you can use a mixin.
Have a nice day,
Davide

Hi,
actually you can work in the parent where the scroll is initialized.
I've updated the Scroll Trigger example with a child component https://github.com/DidoMarchet/starter-kit-nuxt-locomotive-scroll/blob/main/pages/scroll-trigger.vue.
If you need to get reusable the animation you can use a mixin.
Have a nice day,
Davide

So there is no way to work with this.$refs.scroller.locomotive.el inside a component, outside of the parent where the scroll is initialized?

So there is no way to work with this.$refs.scroller.locomotive.el inside a component, outside of the parent where the scroll is initialized?

Hi,
you can pass the locomotive instance as a props:
<BoxComponent :scroller="$refs.scroller" />
Inside the component BoxContent, for example, you can retrieve the instance:
<script>
export default {
  name: 'BoxComponent',
  props: {
    scroller: {
      type: Object,
      default: () =>({}),
      required: true
    }
  },
  mounted(){
    console.log(this.scroller.locomotive)
  }
}

and doing your own logic.
My uses doesn't need this process then you could try to do yours.
I hope it helps,
Davide

Hi,
you can pass the locomotive instance as a props:
<BoxComponent :scroller="$refs.scroller" />
Inside the component BoxContent, for example, you can retrieve the instance:
<script>
export default {
  name: 'BoxComponent',
  props: {
    scroller: {
      type: Object,
      default: () =>({}),
      required: true
    }
  },
  mounted(){
    console.log(this.scroller.locomotive)
  }
}

and doing your own logic.
My uses doesn't need this process then you could try to do yours.
I hope it helps,
Davide

Hi Davide,
So I am using this technique to pass the scroller to my components via props, so I can have my ScrollTriggers inside of each component.
That being said, if I switch page then come back (ex: Home --> About --> Home) the second time I land on Home I get an undefined value for this.scroller.locomotive.
I console logged this.scroller.locomotive inside my SectionManifest.js component, so you can see it returns undefined the second time. Do I need to manually dispose of the scroller?
Please see below :

Hi,
Have you tried with a watcher ? The Locomotive Scroll emits an Init event and maybe the prop passed to SectionManifest could be filled after the this event.
But unfortunately this doesn't concern issues about the starter kit.
My advice is work in the parent preserving the integrity and independency of the component.
Have a nice day and regards,
Davide


Removed build watch and tini from container run-time

Thank you for contributing to Dashy! So that your PR can be handled effectively, please populate the following fields (delete sections that are not applicable)
Category:
Build related changes
Overview
Current production Dockerfile run-time command for the container is yarn build-and-start, that is a parallel run of node server and vue-cli-service build --watch --mode production. This parameter will make the build process keep watching the folder waiting to rebuild the app on any change. I guess this is related with 2 needs, developing or the app itself need to rebuild to show some changes.
Presented Dockerfile just init the container with yarn start and removes tini, effectively using ~60 Mb of RAM (reduced from ~500Mb!), with no rebuilds. I restored my dashboard with ID and then created new items and everything seems to be working as it should, but no extensive testing has been done.
Code Quality Checklist

[X] All changes are backwards compatible
[X] All lint checks and tests are passing
[X] There are no (new) build warnings or errors

Hey, I love the app thanks @Lissy93


textSelectable not working

textSelectable prop does not work on Android or React Native Web.  My HTML component is part of a FlatList item, which may have something to do with the problem.
"react-native-render-html": "^4.2.0",
<HTML
	            key={key}
	            html={body}
	            textSelectable={true}
	            baseFontStyle={getStyle('bodyText', theme, largeText)}
	            onLinkPress={(event, href)=>{
	              //console.log('clicked: ', href)
	              WebBrowser.openBrowserAsync(href)
	            }}
	            tagsStyles={getTagsStyles(theme)}
	            classesStyles={getClassesStyles(theme)}
	            ignoredTags={['inline-block']}
	            alterData={(node) =>{
	              let { parent, data } = node
	              if(parent && parent.name === 'a' && /[^\u0000-\u00ff]/.test(data)){
	                return " "
	              }
	            }}
	        />

I have a similar problem, but my HTML is inside a View, and the textSelectable prop only work just after refreshing the page with ctrl + s in my code.

Possible duplicate of #193.
I'm closing because this issue does not follow our contribution guidelines. We need a full reproduction to help you out. Feel free to post a new compliant issue.


simplex-chat-desktop: 6.1.1 -> 6.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for simplex-chat-desktop is: Desktop application for SimpleX Chat
meta.homepage for simplex-chat-desktop is: https://simplex.chat
meta.changelog for simplex-chat-desktop is: https://github.com/simplex-chat/simplex-chat/releases/tag/v6.2.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.2.0 in filename of file in /nix/store/rsxbj6561x70786wvh7b3yhp9brbrcvf-simplex-chat-desktop-6.2.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

simplex-chat-desktop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rsxbj6561x70786wvh7b3yhp9brbrcvf-simplex-chat-desktop-6.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/b5f1e7667d64935243bd5c568856cf9581d71d1b#simplex-chat-desktop

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rsxbj6561x70786wvh7b3yhp9brbrcvf-simplex-chat-desktop-6.2.0
ls -la /nix/store/rsxbj6561x70786wvh7b3yhp9brbrcvf-simplex-chat-desktop-6.2.0/bin

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

x86_64-linux

:white_check_mark: 1 package built:

simplex-chat-desktop

Maintainer pings
cc @TerryGarcia for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Store evidence documents as a VoID dataset

Treating an evidence document as a VoID dataset retains the evidence grouping and document provenance. This will be useful for evidence filter and export use cases.
Work to wrap BEL RDF output as a VoID dataset is tracked under OpenBEL/bel.rb#66.
Initially we should support filtering evidence by dataset using /api/evidence?filter=....

Included in OpenBEL API 0.4.0.


CORS Example does not work

Hi, tried the CORS example from the docs here:
    corsPost : Request
    corsPost =
        { verb = "POST"
        , headers =
            [ ("Origin", "http://elm-lang.org")
            , ("Access-Control-Request-Method", "POST")
            , ("Access-Control-Request-Headers", "X-Custom-Header")
            ]
        , url = "http://example.com/hats"
        , body = empty
        }

It does not work, my browser sends options, as if it's trying to do a preflight request. Does Elm not manage CORS as xhrRequest does now automatically in JS ?

I can't tell what "as xhrRequest does now automatically in JS" means. Can you open a new issue with an http://sscce.org/ so I can reproduce what you are seeing?

@evancz sorry, i was too quick in this, i hadn't enabled cors on my webserver...

no issue then

Cool, glad it is working!


edit file name

edit file name ,add 'e' to the filename @wey-gu

LGTM for file name change, but this file doesn’t seem to be working, is it possible to consider removing it?

We could create further tasks in Oct. to further improve this as Hacktoberfest tasks!

LGTM for file name change, but this file doesn’t seem to be working, is it possible to consider removing it?

I remember that this file does not work in actions, but can be configured to assist in the IDEA reminder, is that so？@Nicole00

LGTM for file name change, but this file doesn’t seem to be working, is it possible to consider removing it?

I remember that this file does not work in actions, but can be configured to assist in the IDEA reminder, is that so？@Nicole00

Yeah,  in actions the compile does not use this file but use nebula_java_style_checks.xml in the maven plugin config. https://github.com/nebula-contrib/ngbatis/blob/fbeb601f0fe30554bc605d7bfd5da962acf32aab/pom.xml#L295
If we want to keep the java code style the same with nebula_java_style_checks.xml, we should config the google-checkstyle.xml in local IDEA reminder, because there are a little differences between them.
I sugget to remove the google-checkstyle.xml to keep one style for the code.


syntax: add function calls & brackets highlighting

credits to @pangloss (https://github.com/pangloss), most of this was taken from vim-javascript

ping @hdima, @nfnty

Hi
Is this issue still under process?
I really looking forward to this feature

I'm not working on this, there is the issue with the comments that is illustrated in my previous comment that needs to be solved before merging. If anyone wants to take the lead on this PR go ahead.


Adjust scrips location

Moved back some scripts into hack folder.

Please wait, Im not sure it would work.


After committing a value to the story, no visual indicator is made for any member of the session to know it is done

Duplicate of #16


chore(main): release 0.18.0

:robot: I have created a release beep boop
0.18.0 (2023-09-26)
Features

bumped cff module version for apigee & kms to v26.0.0 (5a0d4a3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/apigee/terraform-modules/releases/tag/v0.18.0 :sunflower:


Utilize SDK EthereumFlow on EthereumTransaction submission

Problem
Currently the relay manually does a a FileCreate, FileAppend and ethereumTransaction.setCallDataField() in sdkClient.createFile when the callData is large.
This logic is encapsulated by the SDK so there's no need to duplicate it in the relay.
Solution
Utilize https://github.com/hashgraph/hedera-sdk-js/blob/develop/src/EthereumFlow.js#L229
Alternatives
No response

We likely don't want to do this anymore as it results in us missing the metrics around consumption


Distinct authorizations for instances of the same client running on different devices

User could grant authorization (assuming client has redirect_url)

For this specific client instance running on this specific device
For any instance of client with this redirect_url no matter of the device

Authorization Server would not need to identify device directly, it just need to keep track of different instances of the same client which run on different devices.
Relates to: Client ID per Client Instance or per Client Software https://tools.ietf.org/html/rfc7591#appendix-A.4

What do you think are practical use cases for this functionality? At the moment I can't think of any, but I would love to hear.

I think we need to keep track of different instances of the client running on different devices anyways (especially for native apps). Person may install same native app on two different devices and want the same set of authorizations to apply to both (all) of those instances. I think most UIs would provide it as default option. At the same time already having distinction between instances of the same client running on different devices, UIs could provide 'advanced' options to only apply authorizations to the instance of the client on the device currently used. I could imagine that some cases where I might want to give broader access to app running on desktop machine always located at home or in the office, and narrower access to app running on mobile device I carry around in my pocket (I have not experience with newer wearable devices).
Again, I think we need to have distinct per device instance of the the client anyways, in that case we just need to record in authorization if it applies to specific instance of the client, selection of instances with redirect_ur or all instances of the client with given redirect_url. First two would probably only differ in UI, so we would only have:

user delegates specific access to the specific instance of the client
user delegates specific access to all instances of the client with specific redirect_uri

We should dive further in Device Code and Client Credential Grants, where we don't have convenience of redirect_url. Possibly we may need more general 'client group' which could get defined by some redirect_uri or manually managed as simple list of client instances.

related issue: https://github.com/solid/specification/issues/92

Okay, I could see separate settings for each device as being useful. Though we want to be careful to make sure that it's not confusing for users.

I think this granularity would not be available for solid clients implemented as confidential client style web applications. In that case all devices, and actually all users delegate access to the same shared instance of solid client.

EDIT: I think owl:Restriction approach suggested during one of past meetings could also allow to define group as 'all members which have specific redirect_url'.
https://github.com/solid/authorization-and-access-control-panel/blob/master/meetings/2019-10-09.md#tags-vs-token-embedding
<#FooClients> a owl:Class;
  owl:equivalentClass [
    a owl:Restriction ;
    owl:onProperty oauth:redirect_uri ;
    owl:hasValue <https://foo.example/auth> .
  ] .

fwiw, one possible representation in SHACL ->
oauth:FooClientsShape a sh:NodeShape ;
  sh:targetClass oauth:FooClients ;
  sh:property [
    sh:path oauth:redirect_uri ;
    sh:hasValue <https://foo.example/auth>
  ] .

oauth:Bob a oauth:FooClients . # will fail

oauth:Alice a oauth:FooClients ; # will pass
  oauth:redirect_uri <https://foo.example/auth> .

We should make sure to distinguish between two aspects:

how to express such constraints
how to enforce them

Whereas languages such as OWL (or SHACL for that matter) offer expressive power, we should ensure that the complexity of determining compliance is thus not too hard.


fix(Highlighters) Use local scale of 1,1,1 to match parent size

The copy highlighter needs a scale of 1,1,1 to match the size of the parent, otherwise if the parent doesn't have a scale of 1,1,1 it'll be smaller/bigger than the parent.

There were the following issues with your Pull Request

Commit: 504844d3afd03c55de75066be7536cdd3ba025a5
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com


Additional Cisco WRL 7 and IOS-XR changes based on Cisco feedback

Additional Cisco WRL 7 and IOS-XR changes based on Cisco feedback in chef/ohai#617.
Cisco is changing the following:

ID: eXR => ios_xr (code changed)
ID_LIKE: wrlinux => cisco-wrlinux (code NOT changed, still matching only on 'wrlinux' as to not break WRL 5)
NAME: IOS-XR => IOS XR
BUILD_ID: (removed)

One nitpick, otherwise :+1:

Hold off on this one for a bit longer - I've just been informed that WRL7 (unlike WRL5) has a native /etc/os-release file that we've been unintentionally overwriting, so we may need a slightly different approach here after all. Will update as I know more.

Closing this PR based on feedback from @glennmatthews regarding upcoming changes to /etc/os-release.  We'll put together a clean PR for chef/ohai once we know more.


Move azure-aot-graalvm-perf package to common directory from sdk/aot

Since this library is used in multiple services, it should be in common directory similar to perf-test-core.

Closing as this was done


'has an unsupported format' happen to specific avif image

Describe the bug
i have an test.avif converted by Convertio, i want to use squoosh-cli to compress it but get an error
$ squoosh-cli --avif '{}' test.avif
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a
catch block, or by rejecting a promise which was not handled with .catch().
The promise rejected with the reason "test.avif has an unsupported format".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

but it work when the image is converted by squoosh itself
$ squoosh-cli --avif '{}' test1.png
1/1 √ Squoosh results:
 test1.png: 770.92KB
  └ test1.avif → 16.93KB (2.20%)

$ squoosh-cli --avif '{}' test1.avif
1/1 √ Squoosh results:
 test1.avif: 16.93KB
  └ test1.avif → 15.42KB (91.0%)

To Reproduce

convert a png image to avif using Convertio
run squoosh-cli --avif '{}' test.avif

Version:

OS w/ version: Windows10
Browser w/ version Chrome 100.0.4896.127
Node version: 16.14.2
npm version: 8.5.0

is there any difference between the avif image converted by Convertio and Squoosh?

Unfortunately, due to a few people leaving the team, and staffing issues resulting from the current economic climate (ugh), the CLI and libsquoosh packages are no longer actively maintained. I know that sucks, but there simply isn't the time & people to work on this. If anyone from the community wants to fork it, you have my blessing. The squoosh.app web app will continue to be supported and improved.


Ignore the duplicate messages. Remove the map first, if the thread is do...

...ne

This belongs to MLHR-1677


Increase premerge databricks IDLE_TIMEOUT to 4 hours [skip ci]

Signed-off-by: Peixin Li<EMAIL_ADDRESS>the whole DB test (cluster init + test) cost more than 3 hours

build


nvgpu cuda softmax optimization

performance 6.6x:
23,558us -> 3,584us

when reduce size is 1, set all output to 1.
choose between two different kernel for better cache

before:
============================================================================
---- Processing 'tfl/1024/mxnet-ngraph-Function_1-CompileSubgraph-post-optimized-fprop.json'
============================================================================

---- Benchmark ----
compile time: 2,329ms
101.3ms per iteration

---- Aggregate times per op type ----
Softmax              23,558us
Rnn                  10,809us
Dot                   3,969us
Add                   3,666us
Broadcast             2,607us
Reshape                 548us
GetOutputElement        233us
Concat                  103us
Result                    2us

---- Aggregate times per op type/shape/count ----
Softmax {61440, 2000} 1             23,558us
Rnn {61440, 200} 1                  10,809us
Dot {61440, 2000} 1                  3,969us
Add {61440, 2000} 1                  3,666us
Broadcast {61440, 2000} 1            2,527us
Reshape {61440, 200} 2                 260us
Reshape {1024, 60, 200} 1              254us
GetOutputElement {61440, 200} 1        233us
Broadcast {1024, 200} 4                 80us
Concat {2048, 200} 2                    52us
Concat {643200} 1                       51us
Reshape {200, 2000} 1                   22us
Reshape {160000} 4                       6us
Reshape {800} 4                          5us
Result {61440, 2000} 1                   2us
Reshape {60, 1024, 200} 1                1us

after:
============================================================================
---- Processing 'tfl/1024/mxnet-ngraph-Function_1-CompileSubgraph-post-optimized-fprop.json'
============================================================================

---- Benchmark ----
compile time: 2,785ms
130.4ms per iteration

---- Aggregate times per op type ----
Rnn                  10,540us
Dot                   3,951us
Softmax               3,584us
Add                   3,458us
Broadcast             2,608us
Reshape                 520us
GetOutputElement        216us
Concat                   99us
Result                    1us

---- Aggregate times per op type/shape/count ----
Rnn {61440, 200} 1                  10,540us
Dot {61440, 2000} 1                  3,951us
Softmax {61440, 2000} 1              3,584us
Add {61440, 2000} 1                  3,458us
Broadcast {61440, 2000} 1            2,528us
Reshape {61440, 200} 2                 248us
Reshape {1024, 60, 200} 1              239us
GetOutputElement {61440, 200} 1        216us
Broadcast {1024, 200} 4                 80us
Concat {643200} 1                       50us
Concat {2048, 200} 2                    49us
Reshape {200, 2000} 1                   19us
Reshape {160000} 4                       6us
Reshape {800} 4                          6us
Reshape {60, 1024, 200} 1                2us
Result {61440, 2000} 1                   1us

@csullivan It's possible a reshape will worth it. Also possible won't worth it.  We could still add a fusion and collect more data to decide which way to go.
for example:
{61440, 2000} with axis{1}  37xx us;
{2000, 61440} with axis{0} 59xx us;
reshape 2700 us,  2700 + 37xx > 59xx us, which means a reshape does not worth it.
I'm sure there are other case reshape will worth it.

Right, it will require tuning depending on the graph.


Operation Sort: added value Length to option Order

I added value Length to the Order option of the Sort operation.
This sorts lines/fields by their length.
Example of use: use the strings operation to extract strings from a malware sample, and then sort those strings by length.

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


fix: Display absolute URL images in formfield/image. Closes #2024.

Adopted the same mechanism in browse.blade.php.

Not 100% sure why TravisCI wants to fail everything right now, but it's 100% unrelated to your changes.
Thanks!

Phew, was thinking I'd done something wrong here, because the other PRs I had open were failing as well.
:+1:


Add softlayer python to list of prompt-toolkit users

This is the only user of prompt-toolkit that's packaged in Debian that wasn't already listed.

Thank you! Merged in: https://github.com/jonathanslenders/python-prompt-toolkit/commit/7bd72d81b2ce5520e768606a6cd9e08ace24301c


cache observation issue

Hi, when I follow the download instruction and try to run the command to cache observations, it shows the following problem
Could anyone help me with that? Thanks

Well, I realize this issue comes from the fact that I install the latest version of Habitat and Habitat-sim (0.2.0). Once I re-install the 0.1.7 version, it works. Btw, do you plan to upgrade the dependency to match the latest Habitat? It seems like it is a major version change.

Hi @sukun1045 Yes, I'm planning to. We're working on SoundSpaces 2.0, which will support continuous rendering and match the latest the Habitat version. For now, either you can stick to 0.1.7 or you can manually upgrade to 0.2.0 if some of the new features are desirable to you. I haven't looked at the API change yet, but I don't think it's that a lot of work, asssuming Habitat makes it back-compatible.

@ChanganVR Thanks for your reply. I had a problem manually upgrading to 0.2.0 since I couldn't find the documentation for 0.1.7 (I think the current documentation on Habitat Official Website is for 0.2.0). For now, I will stick with 0.1.7 but I encounter the segmentation fault issue when I use the interactive demo script, similar to #44 . I follow the solutions and it can somehow work but the control experience is not smooth. I saw the #49 but it seems like only using the following function could generate the smooth videos. Is there a way to smooth the interactive one as well? Finally, when will you plan to release the SoundSpaces 2.0? Thanks.

@sukun1045 sorry about the bad control experience. I think the unsmooth control experience is mostly due to  the discrete movement. Once the rendering can be continuous and online, the interactive demo would be much more smoother. As for the release time, we're still working on it. But hopefully the 2.0 version will be released early next year.


Rotation scan moves aperture to LARGE by default

Fixes DiamondLightSource/mx-bluesky#203
To test:

Check changes and new tests

Moved to https://github.com/DiamondLightSource/mx-bluesky/pull/429


Change name and symbol PEN

The PEN code corresponds to Peru. By Law the denomination and the symbol of the currency in Peru is changed.

Thanks Victor.


Laravel 10.x support

This PR adds Laravel 10.x support

@stijnvanouplines please could you merge this release for Laravel 10 support.

Checks are failing and I did not had time yet time to investigate.

@stijnvanouplines I believe tests are failing because of PHP version incompabilities. Those combinations should be excluded from tests.
Example: https://github.com/spatie/laravel-backup/blob/main/.github/workflows/run-tests.yml#L20-L22


Invalid import when generating language service type

When generating a type for the language service, the following is added:
import "nodejs.proto";

This should not be added and leads to a problem when generating the protobuf type.

This has something to do with the hacky way that we are "unbinding" the type from its original source https://github.com/protoflow-labs/protoflow/blob/main/pkg/generate/nodejs.go#L135


Speed up compilation

Currently running node js/compile.js compiles all files from scratch. We can check file modification timestamps, or do some kind of immutable / verifiable builds with bazel, to speed up compilation.

re-compiling based on presence of compile outputs and inputHash (keccak hash) of the source file has now been added as part of the @democracy.js/compile package


Content-Type (and other) headers.

For the life of me, no matter what approach I try, I cannot get the Content-Type header set appropriately.... I get two Content-Type headers. I have tried.. email.headers, email.setHeaders.. etc... Who knows the deal? Thank you!
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
From: Darth Vader<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Millennium Falcon
Content-Type: text/calendar
Content-Disposition: inline;charset=utf-8
Message-ID: 14b13df44de.4c5.141146@ismtpd-024
Date: Thu, 22 Jan 2015 22:59:35 +0000 (UTC)
X-SG-EID: jaENuOTdB8Bk7RtuiCyqc+0Jw9hn9vZMXQqZgO3H2d8ZuYj1STs3m+NtDr5mindwuuF7qsxYYEOGBj
wLE4Z+oGVEFRW0pXXaOiDm/DbEnZPds49E4TT+FZq6TW0PIxIhs/b/mISCWGnhjHcrU1PUvpVCIV3q
O7/I5Jfo0RftrOwc3fr2+ZJSFvGuWVyQiIYv
X-Feedback-ID: 1524223:IY3rkXZ8NBJgzRvJtFVqQ6lJGwFckyQOu1koyu0IaYs=:IY3rkXZ8NBJgzRvJtFVqQ6lJGwFckyQOu1koyu0IaYs=:SG

Our WebAPI handles content-type and a few other headers for the user. There is currently no way to overwrite them.
If it's something you need to do, you can use SMTP as a transport instead with something like nodemailer.


Support glob matching in vite.config.(j|t)s

Clear and concise description of the problem
I'm using vite plugin macro and wanna integrate a series of macro definitions into the config option of the macro plugin.
The standard usage is:
import { defineConfig } from "vite";
import { defineMacroPlugin } from "vite-plugin-macro";
import { join } from "path";
import { fooMacro } from "./macros/foo";
import { barMacro } from "./macros/bar";
import { bazMacro } from "./macros/baz";

export default defineConfig({
  plugins: [
    defineMacroPlugin({
      name: "macro-plugin",
      typesPath: join(__dirname, "./macros.d.ts"),
      parserPlugins: [],
      exports: {
        "@foo": {
          macros: [fooMacro],
        },
        "@bar": {
          macros: [barMacro],
        },
        "@baz": {
          macros: [bazMacro],
        },
      },
    }),
  ],
});

Suggested solution
Support import through glob matching to apply similar configuration.
import { defineConfig } from "vite";
import { defineMacroPlugin } from "vite-plugin-macro";
import { join } from "path";
const macros = import.meta.globEager('./macros/*.ts')

export default defineConfig({
  plugins: [
    defineMacroPlugin({
      name: "macro-plugin",
      typesPath: join(__dirname, "./macros.d.ts"),
      parserPlugins: [],
      exports: someTransform(macros),
    }),
  ],
});

We can focus on writing macro itself rather than config the macro to vite.config.ts
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

While this seems like a possible thing to do, I don't think it's worth the effort as Vite-specific features start to bleed into the config, where the config is supposed to be the place to configure Vite-specific features. E.g. for import.meta.glob, we'd have to apply a partial working implementation that doesn't support aliases as it hasn't been configured yet at that point in time. And I feel like it would open a can of worms from there onwards.


Unable to start ArangoDB after install

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[ ] 3.0
[ ] 3.1
[ ] 3.2
[x] 3.3
[ ] self-compiled devel branch

Mode:

[ ] Cluster
[x] Single-Server

Storage-Engine:

[ ] mmfiles
[ ] rocksdb

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[x] other:

[ ] Windows, version:
[ ] MacOS, version:

this is an AQL-related issue:
[ ] I'm using graph features
I'm issuing AQL via:

[ ] web interface with this browser:     running on this OS:
[ ] arangosh
[ ] this Driver:

I've run db._explain("<my aql query>") and it didn't shed more light on this.
The AQL query in question is:
The issue can be reproduced using this dataset:
Please provide a way to create the dataset to run the above query on; either by a gist with an arangodump, or `db.collection.save({my: "values"}) statements. If it can be reproduced with one of the ArangoDB example datasets, it's a plus.
Foxx
this is a web interface-related issue:
I'm using the web interface with this browser:     running on this OS:

[ ] authentication is enabled?
[ ] using the cluster?
[ ] _system database?

These are the steps to reproduce:

open the browser on http://<IP_ADDRESS>:8529
log in as ...
use database [ ] _system [ ] other:
click to ...
...

The following problem occurs: [Screenshot?]
Instead I would be expecting:
this is an installation-related issue:
Describe which steps you carried out, what you expected to happen and what actually happened.
Using Arch aur I have installed arangodb on my manjaro linux laptop. I was unable to start arangodb using systemctl due to the following error generated by journalctl
--
-- Unit arangodb3.service has begun starting up.
May 10 20:24:16 Laptop arangod[32265]: executing upgrade procedure: disabling server features
May 10 20:24:16 Laptop arangod[32265]: cannot write to file '/var/log/arangodb3/arangod.log': Permission denied
May 10 20:24:16 Laptop arangod[32265]: {startup} caught exception during prepare of feature 'Logger': cannot write file
May 10 20:24:16 Laptop arangod[32265]: arangod terminated because of an exception: cannot write file
May 10 20:24:16 Laptop systemd[1]: arangodb3.service: Control process exited, code=exited status=1
May 10 20:24:16 Laptop systemd[1]: arangodb3.service: Failed with result 'exit-code'.
May 10 20:24:16 Laptop systemd[1]: Failed to start ArangoDB.
-- Subject: Unit arangodb3.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit arangodb3.service has failed.
--
-- The result is RESULT.
May 10 20:24:16 Laptop systemd[1]: arangodb3.service: Service hold-off time over, scheduling restart.
May 10 20:24:16 Laptop systemd[1]: arangodb3.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Automatic restarting of the unit arangodb3.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
May 10 20:24:16 Laptop systemd[1]: Stopped ArangoDB.
-- Subject: Unit arangodb3.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit arangodb3.service has finished shutting down.
May 10 20:24:16 Laptop systemd[1]: arangodb3.service: Start request repeated too quickly.
May 10 20:24:16 Laptop systemd[1]: arangodb3.service: Failed with result 'exit-code'.
May 10 20:24:16 Laptop systemd[1]: Failed to start ArangoDB.
-- Subject: Unit arangodb3.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit arangodb3.service has failed.

Hi @dilipvamsi ,
Thank you for opening an issue.

Please make sure you are the root user or sudo the commands that you are using.

Please check if arangod process has the required privileges to write/read the files at the specified location, including the directories? If not please adjust the privileges using chown.

Let us know if the issue still persists. Thanks.
Best,

Thanks @vinaypyati ,
I had to give permissions to user arangod for /var/log/arangodb3/, /var/lib/arangodb3/, /var/lib/arangodb3-apps/ to start arangodb.
sudo chown -R arangodb /var/log/arangodb3/
sudo chown -R arangodb /var/lib/arangodb3/
sudo chown -R arangodb /var/lib/arangodb3-apps/

But, though it has started there are many warnings in /var/log/arangodb3/arangod.log
2018-05-11T12:24:25Z [5587] INFO {authentication} Jwt secret not specified, generating...
2018-05-11T12:24:25Z [5587] INFO detected operating system: Linux version 4.14.39-1-MANJARO (builduser@development) (gcc version 7.3.1 20180406 (GCC)) #1 SMP PREEMPT Wed May 2 19:03:39 UTC 2018
2018-05-11T12:24:25Z [5587] WARNING {memory} environment variable GLIBCXX_FORCE_NEW' is not set. it is recommended to set it to some value to avoid unnecessary memory pooling in glibc++
2018-05-11T12:24:25Z [5587] WARNING {memory} execute 'export GLIBCXX_FORCE_NEW=1'
2018-05-11T12:24:25Z [5587] WARNING {memory} /sys/kernel/mm/transparent_hugepage/enabled is set to 'always'. It is recommended to set it to a value of 'never' or 'madvise'
2018-05-11T12:24:25Z [5587] WARNING {memory} execute 'sudo bash -c "echo madvise > /sys/kernel/mm/transparent_hugepage/enabled"'
2018-05-11T12:24:25Z [5587] WARNING {memory} execute 'sudo bash -c "echo madvise > /sys/kernel/mm/transparent_hugepage/defrag"'
2018-05-11T12:24:26Z [5587] INFO using storage engine mmfiles
2018-05-11T12:24:26Z [5587] INFO {authentication} Authentication is turned on (system only), authentication for unix sockets is turned on
2018-05-11T12:24:26Z [5587] INFO {syscall} file-descriptors (nofiles) hard limit is 4096, soft limit is 1024
2018-05-11T12:24:26Z [5587] WARNING {syscall} file-descriptors limit is too low, currently 1024, please raise to at least 8192 (e.g. ulimit -n 8192)
2018-05-11T12:24:28Z [5587] INFO database upgrade passed
2018-05-11T12:24:28Z [5587] INFO {startup} Server will now shutdown due to upgrade, database init or admin restoration.
2018-05-11T12:24:32Z [5629] INFO {authentication} Jwt secret not specified, generating...
2018-05-11T12:24:32Z [5629] INFO ArangoDB 3.3.8 [linux] 64bit, using jemalloc, build , VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.1.0h  27 Mar 2018
2018-05-11T12:24:32Z [5629] INFO detected operating system: Linux version 4.14.39-1-MANJARO (builduser@development) (gcc version 7.3.1 20180406 (GCC)) #1 SMP PREEMPT Wed May 2 19:03:39 UTC 2018
2018-05-11T12:24:32Z [5629] WARNING {memory} environment variable GLIBCXX_FORCE_NEW' is not set. it is recommended to set it to some value to avoid unnecessary memory pooling in glibc++
2018-05-11T12:24:32Z [5629] WARNING {memory} execute 'export GLIBCXX_FORCE_NEW=1'
2018-05-11T12:24:32Z [5629] WARNING {memory} /sys/kernel/mm/transparent_hugepage/enabled is set to 'always'. It is recommended to set it to a value of 'never' or 'madvise'
2018-05-11T12:24:32Z [5629] WARNING {memory} execute 'sudo bash -c "echo madvise > /sys/kernel/mm/transparent_hugepage/enabled"'
2018-05-11T12:24:32Z [5629] WARNING {memory} execute 'sudo bash -c "echo madvise > /sys/kernel/mm/transparent_hugepage/defrag"'
2018-05-11T12:24:32Z [5629] INFO using storage engine mmfiles
2018-05-11T12:24:32Z [5629] INFO {cluster} Starting up with role SINGLE
2018-05-11T12:24:32Z [5629] INFO {authentication} Authentication is turned on (system only), authentication for unix sockets is turned on
2018-05-11T12:24:32Z [5629] INFO {syscall} file-descriptors (nofiles) hard limit is 4096, soft limit is 1024
2018-05-11T12:24:32Z [5629] WARNING {syscall} file-descriptors limit is too low, currently 1024, please raise to at least 8192 (e.g. ulimit -n 8192)
2018-05-11T12:24:34Z [5629] INFO using endpoint 'http+tcp://<IP_ADDRESS>:8529' for non-encrypted requests
2018-05-11T12:24:34Z [5629] ERROR {communication} unable to bind endpoint: Address already in use
2018-05-11T12:24:34Z [5629] WARNING {communication} failed to open endpoint 'http+tcp://<IP_ADDRESS>:8529' with error: Address already in use
2018-05-11T12:24:34Z [5629] FATAL failed to bind to endpoint 'http+tcp://<IP_ADDRESS>:8529'. Please check whether another instance is already running using this endpoint and review your endpoints configuration.
2018-05-11T12:24:34Z [5629] ERROR Removing LOCK file
2018-05-11T12:24:35Z [5696] INFO {authentication} Jwt secret not specified, generating...
2018-05-11T12:24:35Z [5696] INFO detected operating system: Linux version 4.14.39-1-MANJARO (builduser@development) (gcc version 7.3.1 20180406 (GCC)) #1 SMP PREEMPT Wed May 2 19:03:39 UTC 2018
2018-05-11T12:24:35Z [5696] WARNING {memory} environment variable GLIBCXX_FORCE_NEW' is not set. it is recommended to set it to some value to avoid unnecessary memory pooling in glibc++
2018-05-11T12:24:35Z [5696] WARNING {memory} execute 'export GLIBCXX_FORCE_NEW=1'
2018-05-11T12:24:35Z [5696] WARNING {memory} /sys/kernel/mm/transparent_hugepage/enabled is set to 'always'. It is recommended to set it to a value of 'never' or 'madvise'
2018-05-11T12:24:35Z [5696] WARNING {memory} execute 'sudo bash -c "echo madvise > /sys/kernel/mm/transparent_hugepage/enabled"'
2018-05-11T12:24:35Z [5696] WARNING {memory} execute 'sudo bash -c "echo madvise > /sys/kernel/mm/transparent_hugepage/defrag"'
2018-05-11T12:24:35Z [5696] INFO using storage engine mmfiles
2018-05-11T12:24:35Z [5696] INFO {authentication} Authentication is turned on (system only), authentication for unix sockets is turned on
2018-05-11T12:24:35Z [5696] INFO {syscall} file-descriptors (nofiles) hard limit is 4096, soft limit is 1024
2018-05-11T12:24:35Z [5696] WARNING {syscall} file-descriptors limit is too low, currently 1024, please raise to at least 8192 (e.g. ulimit -n 8192)

ulimit is far more than what it is required.
~ # su arangodb --shell /bin/bash --command "ulimit -n"
40000

Is there a proper way to setup the system without any of these warnings and could you please direct me to the required as we are planing to use arangodb as our main db and the system we will be using for deployment would be ubuntu 18.04 .
Thanks,
Dilip Vamsi.

Hi @dilipvamsi ,
Thank you for your interest in ArangoDB. To begin with you can have a look at our extensive documentation on the setup of ArangoDB server with all the options.
After investigation of the latest logs that you have posted, I can see that there are some errors due to the port binding. ArangoDB by default binds to port 8529. Please make sure there are no arangod process running already. If you want to specify a different port you can use the arangod command option --server.endpoint. ArangoDB will be served at the specified port.
The warnings that you see in the logs are recommendations to execute the commands suggested before starting the ArangoDB server. These warnings ensure to get the best performance. Please check this page that explains these warnings. Once you execute these commands suggested, you can restart the server and check if these warnings still appear on ubuntu 18.04.
Let us know if you still face these warnings.
Best,

maybe the AUR - maintainer @sleepycat can have a look at this?

Thanks @vinaypyati
I will get back you if there are any issues after deployment.

@dilipvamsi @dothebart I'll take a peek at the Arch package. It looks like I need to fix some permissions.

Hi @dilipvamsi
Just sending a quick followup - how things are going with this ticket?
Any feedback from you will be appreciated
Thanks,

Hi @dilipvamsi
I am going ahead and close this, please note that ticket can be reopened at any time by adding a new comment.
Best,


BUGFIX: Accept shortcuts in toLocaleString methods

This is a bug fix for #9
I wasn't sure if the ongoing refactoring prevents this from being merged and published as a patch, so sorry if it's not possible.
Anyway thanks for your project!

This has since been fixed in the refactor leading up to v0.2.0. But I really appreciate the PR!


Anexia Provider: Utilize Creating state instead of blocking Create call

What this PR does / why we need it:
The machine-controller calls the providers Create method sequentially and only starts with the provisioning of another instance after Create returned without any errors. This PR changes the

Create method to not block until the VM provisioning has completed
Get method to check via the instance status whether InstanceID and ProvisioningID are set

and utilizes the Creating state until the VM is ready.
This reduces the provisioning duration of node pools with more than one replica significantly as there are now only a couple of seconds (~10s) between the provisioning starts.
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

NONE

Documentation:

NONE

/ok-to-test

Hey @marioreggiori, can you please fix the liniting errors from pull-machine-controller-lint?
level=info msg="[runner] linters took 36.340750268s with stages: goanalysis_metalinter: 36.290770629s, structcheck: 16.344µs, wastedassign: 12.051µs"
pkg/cloudprovider/provider/anexia/helper_test.go:67:6: `createSearchHandler` is unused (deadcode)
func createSearchHandler(t *testing.T, iterations int) http.HandlerFunc {

You can ignore the rest of the CI jobs.

/test pull-machine-controller-e2e-anexia

/hold to avoid retries.
@xrstf can you please override pull-machine-controller-e2e-vsphere

/override pull-machine-controller-e2e-vsphere
/unhold

/cherry-pick release/v1.54

ok, was worth a try ^^

/cherry-pick release/v1.55

/cherry-pick release/v1.55

oh noes, looks like manual PR?
@marioreggiori can you take care of this?


py : Not Recognised as Command Issue

I recently downloaded all the files and edited the config, put in my server token and tinkered with the code to make the self bot work how I wanted it to, (true, false, pokemon names, etc.) Upon setting it up which only took 1 second before the cmd window closed, the run.bat file instantly comes up with the text shown below in the screenshot.

If someone can please explain this to me, it would be a big help!

Looks like you either don't have python installed or don't have it in the path.
Trying replacing py -3 in run.bat with python. If it doesn't work, reinstall python and make sure you add it to path.

put in my server token

You are supposed to put in your user token. wdy,m server token?

Thanks for the quick response. By server token, I meant user token and I think the problem has to do with me not having python. I'm installing it right now and giving it a spin. Hopefully it works

I've installed Python and the bot looked like it started up right, though when I try use p^autocatcher on, nothing happens. What could be going on?

Can you see anything being printed out on the console?
And are you using the commands from the same account as to which the token
belongs to?
On Sat, May 26, 2018 at 1:26 PM, DaSpookyMan<EMAIL_ADDRESS>wrote:

I've installed Python and the bot looked like it started up right, though
when I try use p^autocatcher on, nothing happens. What could be going on?
[image: screenshot 13]
https://user-images.githubusercontent.com/39640576/40574008-186feff2-610e-11e8-90a2-759fa96d2e59.png
[image: screenshot 14]
https://user-images.githubusercontent.com/39640576/40574010-18c070f8-610e-11e8-937e-97c78ce4be82.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Hyperclaw79/PokeBall-SelfBot/issues/34#issuecomment-392244738,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ab8O63FMv7C-ieHXpr2Oz_drIyA_mfUZks5t2QqvgaJpZM4UOw7l
.


Edit tests

resolves #129
resolves #124
resolves #123
resolves #122
resolves #121
resolves #116
resolves #115
resolves #111
resolves #107
grade/assignments can no longer be [number]/0, and new different error messages will shown when trying to perform the addAssignmentCommand

too many assignments (max 10)
duplicate assignments

Codecov Report
Base: 52.73% // Head: 53.88% // Increases project coverage by +1.15% :tada:

Coverage data is based on head (4ede7bf) compared to base (8276426).
Patch coverage: 31.42% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #143      +/-   ##
============================================
+ Coverage     52.73%   53.88%   +1.15%
- Complexity      475      496      +21
============================================
  Files            99       99
  Lines          2124     2177      +53
  Branches        217      231      +14
============================================
+ Hits           1120     1173      +53
+ Misses          954      953       -1
- Partials         50       51       +1

Impacted Files
Coverage Δ

...eedu/address/logic/commands/AttendanceCommand.java
0.00% <ø> (ø)

...ava/seedu/address/logic/commands/GradeCommand.java
0.00% <ø> (ø)

...ava/seedu/address/logic/commands/RolesCommand.java
0.00% <0.00%> (ø)

...ress/logic/parser/AddAssignmentsCommandParser.java
0.00% <0.00%> (ø)

...seedu/address/logic/parser/GradeCommandParser.java
0.00% <0.00%> (ø)

...seedu/address/logic/parser/RolesCommandParser.java
0.00% <ø> (ø)

...in/java/seedu/address/model/person/Assignment.java
39.53% <0.00%> (+4.65%)
:arrow_up:

...a/seedu/address/model/person/position/Student.java
48.04% <30.76%> (+7.07%)
:arrow_up:

...seedu/address/model/person/position/Professor.java
78.57% <60.00%> (+38.57%)
:arrow_up:

...dress/model/person/position/TeachingAssistant.java
80.76% <75.00%> (+35.31%)
:arrow_up:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


"stm32h723zg" board not available

Hi, I am working on a stm32h723zg board but this board is not available in the prob-run chips list so can you please guide me how to add this board in probe-run?

Update https://github.com/probe-rs/probe-rs/blob/master/probe-rs/targets/STM32F7_Series.yaml

Should be in probe-rs master already:
https://github.com/probe-rs/probe-rs/pull/1011

Should be in probe-rs master already:
probe-rs/probe-rs#1011

@burrbull Thank you for your response, but it is not showing in the chip list. Or I need to reinstall 'probe-run'.

@burrbull These are the variants available for the stm32h7 series
STM32H7 Series     Variants:         STM32H742AGIx         STM32H742AIIx         STM32H742BGTx         STM32H742BITx         STM32H742IGKx         STM32H742IGTx         STM32H742IIKx         STM32H742IITx         STM32H742VGHx         STM32H742VGTx         STM32H742VIHx         STM32H742VITx         STM32H742XGHx         STM32H742XIHx         STM32H742ZGTx         STM32H742ZITx         STM32H743AGIx         STM32H743AIIx         STM32H743BGTx         STM32H743BITx         STM32H743IGKx         STM32H743IGTx         STM32H743IIKx         STM32H743IITx         STM32H743VGHx         STM32H743VGTx         STM32H743VIHx         STM32H743VITx         STM32H743XGHx         STM32H743XIHx         STM32H743ZGTx         STM32H743ZITx         STM32H745BGTx         STM32H745BITx         STM32H745IGKx         STM32H745IGTx         STM32H745IIKx         STM32H745IITx         STM32H745XGHx         STM32H745XIHx         STM32H745ZGTx         STM32H745ZITx         STM32H747AGIx         STM32H747AIIx         STM32H747BGTx         STM32H747BITx         STM32H747IGTx         STM32H747IITx         STM32H747XGHx         STM32H747XIHx         STM32H747ZIYx         STM32H750IBKx         STM32H750IBTx         STM32H750VBTx         STM32H750XBHx         STM32H750ZBTx         STM32H753AIIx         STM32H753BITx         STM32H753IIKx         STM32H753IITx         STM32H753VIHx         STM32H753VITx         STM32H753XIHx         STM32H753ZITx         STM32H755BITx         STM32H755IIKx         STM32H755IITx         STM32H755XIHx         STM32H755ZITx         STM32H757AIIx         STM32H757BITx         STM32H757IITx         STM32H757XIHx         STM32H757ZIYx         STM32H7A3AGIxQ         STM32H7A3AIIxQ         STM32H7A3IGKx         STM32H7A3IGKxQ         STM32H7A3IGTx         STM32H7A3IGTxQ         STM32H7A3IIKx         STM32H7A3IIKxQ         STM32H7A3IITx         STM32H7A3IITxQ         STM32H7A3LGHxQ         STM32H7A3LIHxQ         STM32H7A3NGHx         STM32H7A3NIHx         STM32H7A3QIYxQ         STM32H7A3RGTx         STM32H7A3RITx         STM32H7A3VGHx         STM32H7A3VGHxQ         STM32H7A3VGTx         STM32H7A3VGTxQ         STM32H7A3VIHx         STM32H7A3VIHxQ         STM32H7A3VITx         STM32H7A3VITxQ         STM32H7A3ZGTx         STM32H7A3ZGTxQ         STM32H7A3ZITx         STM32H7A3ZITxQ         STM32H7B0ABIxQ         STM32H7B0IBKxQ         STM32H7B0IBTx         STM32H7B0RBTx         STM32H7B0VBTx         STM32H7B0ZBTx         STM32H7B3AIIxQ         STM32H7B3IIKx         STM32H7B3IIKxQ         STM32H7B3IITx         STM32H7B3IITxQ         STM32H7B3LIHxQ         STM32H7B3NIHx         STM32H7B3QIYxQ         STM32H7B3RITx         STM32H7B3VIHx         STM32H7B3VIHxQ         STM32H7B3VITx         STM32H7B3VITxQ         STM32H7B3ZITx         STM32H7B3ZITxQ

You need to update probe-run to use probe-rs from git instead of released:
https://github.com/knurling-rs/probe-run/blob/2eb6eeb8010a0822bd25fcebb6bf36a97730fc3f/Cargo.toml#L27
And then install from source.
Or wait for new release.

Try to install from this branch:
cargo install probe-run --git https://github.com/tronical/probe-run --branch stm32h7_update --force

Try to install from this branch:
cargo install probe-run --git https://github.com/tronical/probe-run --branch stm32h7_update --force

I am getting this error.

Ok. What about
cargo install probe-run --git https://github.com/burrbull/probe-run --branch h7 --force

@burrbull Thank you so much, now it's working.

My upcoming project, which I plan to use atsaml21, probe-run is not available to this board so how can I add?

All questions about chip support in this repo, please: https://github.com/probe-rs/probe-rs
Or https://matrix.to/#/#probe-rs:matrix.org

okay, thanks.

Thanks for answering here @burrbull . PR #314 documents what to do when a chip is not supported by stock probe-run (i.e. how to build probe-run against the git version of probe-rs)


create aliases for top level records-*

When we remap, we should create the also the top level aliases if SEARCH_INDEX_PREFIX is set.

records-hep
records-authors
records-....
...

$ inspirehep index create-aliases --yes-i-know
Removing old alias (records-authors)
Creating alias 'records-authors' -> 'test-prefix-records-authors-1597230543'
Removing old alias (records-journals)
Creating alias 'records-journals' -> 'test-prefix-records-journals-1597230543'
Removing old alias (records-hep)
Creating alias 'records-hep' -> 'test-prefix-records-hep-1597230543'
(...)

It was implemented long time ago already...


Free TTS

You are using OpenAI TTS models as the app TTS which needs API, this app was created to give free access to AI models, right? so I have a suggestion for you, instead of using OpenAI TTS for generating AI responses to voice, use this free project that gives free access to Microsoft edge TTS inside python
The project link: https://github.com/rany2/edge-tts
And the best model is "en-US-AvaMultilingualNeural (Female)" in my opinion

Thanks for suggestion, i will try it out

This is a little example for you, and seems like i successfully implemented it to pyqt-openai. (Still working for other features to make a new release though)
I've never tried in other OS such as Linux and MacOS and i'm using Linux in VirtrualBox and MacOS in MacInCloud, so i might not able to do sound test such as tts in both. It works in Windows though.
https://github.com/yjg30737/edge-tts-gui

Amazing, nice job man, I knew you would get something great out of it

https://github.com/user-attachments/assets/a8c8fc1b-1efa-469b-b0f1-36abd3200142
I've implemented just like this.
I don't know if this will work after making a binary file out of this as well, but I'll try and tell you. If this works perfectly, we can add some crazy amount of voices to this, by me or by getting a pull request. I hope it will work.
Also, thanks for following me and give a star.

We have to support each other so a star and follow ks nothing👍🏻

After making bin file with pyinstaller, this didn't turn out well so i spent almost 5 hours to figure out how to successfully run this without any problems. A LOT Harder than i imagined. But at least i firmly know how to handle executable file when running the application.
In Windows, Linux it works like a charm. (If you install mpv) Don't know about Mac though because i tested in MacInCloud, which doesn't support audio. (Maybe they support it but i'd rather getting the maintainer for Mac than using MacInCloud every time.)

Wait i take that back it doesn't work in binary state 😥 Maybe i tested in wrong way or something. edge-tts.exe in Scripts "need" Python and that's not what i intended when it comes to deployment.
But, oh well, it works when we're running VividNode with "python main.py" and since we are developers after all, that is good enough. Case closed. Mission accomplished!


Translate the footer to Spanish

I rule and have completed some work on Case Manager that's ready for review!
Adds il8n keys for the footer like so:

In that example, the DC Abortion Fund is set from an env var and so an in-place spanish translation would be a not-easy basket. but the stuff around it is hardset so let's il8n that.
This pull request makes the following changes:

Translates the footer content

@DarthHater for review on the ruby, @montanezp for review on the spanish
It relates to the following issue #s:

Bumps #1382

Translation looks good! My only flag is whether we should translate DCAF since NAF is translated. I know in the tri-fold that was translated into Spanish, DCAF was called "El Fondo para el Aborto del Distrito de Columbia (DCAF)"

hm, I think translating DCAF there would be a bit more trouble than it's worth, since we set that from an environment and not inline. Lots of work for not that much reward. That said, let's revisit this when we're getting ready to do the rollout and see if it's a pain point.


Upgrading the tool fails if I have multiple NuGet package sources

I have multiple NuGet Package Sources on my machine and when I was running
"dotnet tool update -g upgrade-assistant"
seems that the tool only looked at one of my sources (Telerik) even though all of them were turned on, and gave me an error that it couldn't find Upgrade Assistant info

When I went to VS and turned off all Package Sources except nuget.org:

and reran the command, the upgrade worked:

This is a problem with the way the CLI handles stuff. I think this issue covers a request to ignore that by default: https://github.com/dotnet/sdk/issues/18402


Screen saver is pausing

Screen saver is pausing when Mac connected to secondary monitor.
One of screen just shows paused video and other keep running normally.

By default the screensaver streams the videos from Apple's servers. So the videos can be affected by network conditions. With the latest beta you can cache all the videos on your computer and the screensaver will play them from there. Try the latest beta, enable the caching options and see if it plays any better for you. Let us know how you get on.
https://github.com/JohnCoates/Aerial/releases/tag/v1.2beta5

I get the same issue. It's really actually paused.  If you click on the screen (escaping out of the password prompt) then press the space bar it resumes.  Maybe it pauses when it reaches the streaming limit.  I'll try out the latest beta thanks!

Hi, so I downloaded the beta but I am still facing this issue :(
Can you guys confirm if it was resolved for you after downloading the beta?

It pauses for me even in the preview.

@brettrann If the screensaver pauses when you hit the spacebar then you're running an older version. Try the latest beta, it will let you cache the videos and should resolve any problems when streaming the videos. https://github.com/JohnCoates/Aerial/releases/tag/v1.2beta5
@iCHAIT Please try the latest beta and try caching the videos. That should stop the pausing you get when the videos are streaming. https://github.com/JohnCoates/Aerial/releases/tag/v1.2beta5

Hey @alistairmcmillan, I downloaded the latest beta only
From your comment on #172.

Select the Cache pane and tick the "Cache Aerials As They Play" box.

This was checked by default.

Finally click "Download Now"

This is currently in progress for me, lets hope this will fix it :)

@amrinderquikr @iCHAIT Any progress?

Hey @alistairmcmillan
Yeah, so it worked for me after I cached all the videos.
Thanks a lot for the help :smile:

Please check version 1.4 for this.


Change Cert directory from /var/run to anything else.

/var/run gets cleaned out after reboots.

Done.


feat: circulating supply queries

What's up with this?  Is it the same thing that @anilCSE is deploying to a node?

What's up with this? Is it the same thing that @anilCSE is deploying to a node?

Yes, will close the other PR


Using History?

Been trying to get this working but every time I send the ID after history I just keep getting the same message "please send me a channel id (from the whitelist)"
It seems to be working fine downloading new posts but is there a way to have it not ask every time for the path and just auto download without posting in the channel?

Did you make sure you entered in the values correctly?
You should have this in your config
[channels]
12134 = C:\Pictures\Channel12134Images

Where 12134 is the ID of the channel you want to download from.
The second config file should have :
[interactive channels]
4545 = C:\Pictures\Channel12134Images

Where 4545 is the ID of your direct message channel conversation between your primary and secondary discord channels, and is different from the channel you want to download from. Make sure you save and restart the .exe.

I'm having the same issue and all the values are entered correctly :(

[auth]
email    = frsfreerfs
password = fdrgerwfer
[general]
skip edits                           = true
download tistory sites               = false
max download retries                 = 5
download timeout                     = 60
send notices to interactive channels = false
[channels]
247508780319899649 = C:\Users\ciara\Desktop\dis
173460534715219968 = C:\Users\ciara\Desktop\dis
channelid3 =
[interactive channels]
307565351267467264 = C:\Users\ciara\Desktop\dis
[flickr]
api key = your flickr api key
[twitter]
consumer key        = your consumer key
consumer secret     = your consumer secret
access token        = your access token
access token secret = your access token secret
help would be appreciated :)

Thank you very much for your help Iksanun.
@FusDremJun Did you censor the password in the config you just posted? Make it isn't your real password.
And please show me the chatlog with the tool.

@Seklfreak yes I did censor my password
and here's the chat log

you have to send a channel id, not the history command again.

ah thanks it's working now 👍


v1.20.3 (master)

Waiting for: https://github.com/PelionIoT/snap-pelion-edge/pull/339

Waiting for: https://github.com/PelionIoT/snap-pelion-edge/pull/339


Enable Lighthouse CI App integration for nicer checks display?

Currently the lighthouse result show up as:

Total size of all the files uploaded is 1165820 bytes
Finished uploading artifact lighthouse-results. Reported size is 1165820 bytes. There were 0 items that failed to upload
Uploading median LHR of http://localhost:45821/about.html...success!
Open the report at https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1640813497053-27107.report.html
Uploading median LHR of http://localhost:45821/binder.html...success!
Open the report at https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1640813497456-16487.report.html
Uploading median LHR of http://localhost:45821/community.html...success!
Open the report at https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1640813497852-78305.report.html
Uploading median LHR of http://localhost:45821/documentation.html...success!
Open the report at https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1640813498306-7357.report.html
Uploading median LHR of http://localhost:45821/hub.html...success!
Open the report at https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1640813498846-65386.report.html
No GitHub token set, skipping GitHub status check.
Dumping 5 reports to disk at /home/runner/work/jupyter.github.io/jupyter.github.io/.lighthouseci...
Done writing reports to disk.

Error: 2 results for http://localhost:45821/about.html
Report: https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1640813497053-27107.report.html
❌ categories.accessibility failure for minScore assertion
Expected >= 0.95, but found 0.94
❌ categories.best-practices failure for minScore assertion
Expected >= 0.95, but found 0.93
Error: 2 results for http://localhost:45821/binder.html
Report: https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1640813497456-16487.report.html
❌ categories.accessibility failure for minScore assertion
Expected >= 0.95, but found 0.85
❌ categories.seo failure for minScore assertion
Expected >= 0.95, but found 0.92
Error: 1 result for http://localhost:45821/documentation.html
Report: https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1640813498306-7357.report.html
❌ categories.accessibility failure for minScore assertion
Expected >= 0.95, but found 0.94

But we could go fancy and have:

This would require authorizing https://github.com/apps/lighthouse-ci ; it is tied to a private account of maintainer but also mentioned on https://github.com/GoogleChrome/lighthouse-ci/blob/main/docs/getting-started.md#github-status-checks.
Just an option - I don't have opinion on this one.
Originally posted by @krassowski in https://github.com/jupyter/jupyter.github.io/issues/579#issuecomment-1002793724

Hi @krassowski 👋
I had an attempt to work on this! Here is the PR: https://github.com/jupyter/jupyter.github.io/pull/692
It would remove the need to have a LightHouse CI App to be installed and the CI workflow can directly put up a comment over the PR.


Notice: Use of undefined constant AF_INET - assumed 'AF_INET'

Notice: Use of undefined constant AF_INET - assumed 'AF_INET' in  \Cassandra\Cassandra.php on line 151
How to solve this warning.

Make sure you install the PHP Sockets extension. It is available for every PHP release. If you're using Windows then edit your php.ini file and uncomment the line that says

extension=php_sockets.dll

Thanks, got it.


Double tick bindings have a range that represents the full ticked name

e.g
let ``thing``() = ()

Has a range of:
RangeAlternate	(1,4-1,16) /doublequotebug/Program.fs IsSynthetic=False	Microsoft.FSharp.Compiler.Range.range
Yet the compiled name is just thing.
The means thats theres no way to know that the range is not representative of the symbols name.  Which in tern means we get issues like this:

Where ranges cannot be transformed back into screen coordinates.
For reference heres some of the symbol properties:

I think this is by design.  The symbol range should include the ticks - it would somehow be odd if it didn't.


minor corrections to "gun tolerence" and bluetooth related labels

Thanks, "PAIR A BLUETOOTH DEVICE FROM A LIST" is really better :)

yes, i agree.
to be merged after b36 released.

This never got merged, any chance of it making it into Batocera v39?

yes we can (but needs rebase)


Installation error, loading script upgraded_depth_anything_v2.py

*** Error loading script: upgraded_depth_anything_v2.py
Traceback (most recent call last):
  File "D:\~diffuse\stable-diffusion-webui-1.7.0\modules\scripts.py", line 469, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "D:\~diffuse\stable-diffusion-webui-1.7.0\modules\script_loading.py", line 10, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\~diffuse\stable-diffusion-webui-1.7.0\extensions\sd-webui-udav2\scripts\upgraded_depth_anything_v2.py", line 21, in <module>
    'outdir_udav2': shared.OptionInfo(util.truncate_path(os.path.join(paths_internal.default_output_dir, 'depths', 'vis_image_depths')),
    'Output directory for UDAV2 images', component_args=shared.hide_dirs),
AttributeError: module 'modules.util' has no attribute 'truncate_path'

When using Automatic1111 (1.7.0) internal extension installation.

Fixed w/ latest update. Apologies for the delayed response, haven't had much free-time until now! I primarily use comfy, though occasionally when I do use a1111, I too use (v1.7.0), tried to install it internally from the extensions tab & got the same error as you. I've updated the script to prevent this error from occurring as well as several other errors I encountered too. Now everything is working smoothly @axymeus, thank you for bringing this to my attention! Simply update the udav2 extension inside a1111 & you'll be good to go.

No problem, glad you could fix it. Also I confirm everything's working now, cheers!


Storage: Fix LVM unmount pool bug

This PR fixes the following issues:

Racing the LVM subsystem for thinpool activation during LXD daemon start after a shutdown.
LXD daemon shutdown trying to unmount storage pools before instances are stopped.
LXD daemon unmounting storage pools during a reload (rather than just the LXD daemon storage volumes as originally intended).

Also reworks the general LXD daemon stop process to make it clearer which steps should be done when and in which order.

Testsuite passed

@stgraber I wonder if the bug that was causing storage pools to be unmounted during LXD reload could've caused some of those ZFS mount issues.


packet: first stab at cluster autoscaler

This adds a cluster_autoscaler option to the packet terraform module.
When set to true, it will add and configure the Packet Cluster
Autoscaler in the resulting cluster, which extends or shrinks the worker
node pool depending on the Pod load.
This also adds a number of new variables, some should be taken from the
worker module so they are added as outputs there.

worker_user_data: it's needed for the autoscaler to spawn new nodes,
should be taken from the worker pool module.
àuth_token: the autoscaler needs the auth token to spawn new nodes.
worker_type, worker_os_channel: to configure the nodes that will
be spawned by the autoscaler.
pool_name: autoscaler pool name, for now only one pool is supported
and should be taken from the worker module.
min_workers, mas_workers: limits for the total number of workers
when using the autoscaler.

Worker nodes created when the cluster is spawned are also part of
the autoscaler pool and are tagged accordingly.
I decided to consider it a core component and add it at cluster set up
but this is up for discussion.
The autoscaler container image is not the mist one because of one bug
I found when scaling up the cluster by more than one node. I commented
on the upstrem PR so hopefully this gets fixed in their image soon.
Note that HostEndpoint objects that secure worker nodes are not applied
here, this needs to be solved later.
This is based on #28

We've decided on a non-terraform approach. Closing.


PS-Remoting Kerberos Delegation to SQL-Server

I'm using Remote-Powershell-Session.
I have configured Kerberos Constrained Delegation, to access fileshares on other servers, which works fine.
But if i want to access a SQL-Server, i'm getting:
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
The SPN's are correctly set, because other clients are authenticating with kerberos.
Steps to reproduce
Enter-PSSession -ComputerName xxxx -SessionOption $options -Authentication Kerberos -ConfigurationName "powershell.6.2.0"
$SqlConnection = New-Object System.Data.SqlClient.SqlConnection
$SqlConnection.ConnectionString = "Data Source=tcp:host,port; Initial Catalog=database; Integrated Security = SSPI"
$SqlCmd = New-Object System.Data.SqlClient.SqlCommand
$SqlCmd.CommandText = "select * from sys.tables"
$SqlCmd.Connection = $SqlConnection
$SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
$SqlAdapter.SelectCommand = $SqlCmd
$DataSet = New-Object System.Data.DataSet
$nRecs = $SqlAdapter.Fill($DataSet)

Expected behavior
Kerberos-Authentication to SQL-Server should work.

Actual behavior
Exception calling "Fill" with "1" argument(s): "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
At line:1 char:1
+ $nRecs = $SqlAdapter.Fill($DataSet)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SqlException

Environment data
Name                           Value
----                           -----
PSVersion                      6.2.0
PSEdition                      Core
GitCommitId                    6.2.0
OS                             Microsoft Windows 6.3.9600
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0.}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Does anyone have an answer to this question?

I posted this question on stack overflow: https://stackoverflow.com/questions/57331089/sspi-sql-access-fails-in-remote-powershell-request-due-to-double-hop-failure-co
it was suggested to check for the SPN and authentication scheme. will reply here if i make progress.

We finally got this to work:

Register the SPN for sql server in active directory using:
SetSPN –A MSSQLSvc/.:
enable kerberos delagation for server "B" in active directory. Enable the option "trust this computer for delegation to any server (Kerberos only)" in the delegation tab of the computer account.

see https://support.microsoft.com/en-ca/help/909801/how-to-make-sure-that-you-are-using-kerberos-authentication-when-you-c
the following code can be used to test if the connection is possible to be made using kerberose (when not using double hop), look at the auth_scheme column:
$conn = new-object System.Data.SqlClient.SqlConnection 'Data Source=demodbca02\demo16;Initial Catalog=master;Integrated Security=SSPI'
$conn.open()
$cmd = New-Object System.Data.SqlClient.SqlCommand 'select * from sys.dm_exec_connections where session_id=@@spid',$conn
#get field name/positions
$SQLReader = $cmd.ExecuteReader()
$columns = @()
for ($i = 0 ; $i -lt $SQLReader.FieldCount ; $I++)
{
$columns += $SQLReader.GetName($i)
}
#$SQLReader.Read()
foreach ($row in $SQLReader)
{
$info = @{}
foreach ($col in $columns)
{
$info[$col] = $row.Item($col)
}
	[pscustomobject]$info

}
$SQLReader.Close()
$conn.Dispose()


Part of the Multisig page is not blocked under Multisig account

Steps to reproduce:

Go to the Multisig page under the Multisig account
Click on the bin buttons for a co-signer added or on the right side of the Send button

Actual result: Part of the Multisig page for a Multisig account is not blocked for interaction
Expected result: All the Multisig page is blocked for interaction under Multisig account
Video

Verified

Verified


display='inline' crashes on android

Environment

Platforms

Versions

Android:
iOS:
react-native-modal-datetime-picker:
react-native-community/datetimepicker:
react-native:
react:

Description

Reproducible Demo

@harshnagalla you can use platform specific code and set it only on iOS


Can we optimize the case when no suspension is really needed?

C# checks whether a task is already completed, and does not suspend if it is

The current implementation of suspendCoroutine makes this check, so the trivial implementation of CompletableFuture.await() on top of suspendCoroutine works exactly like that -- it does not suspend coroutine when the future had already completed. This issues can be closed.

A part of performance is lost due to dumping stack into an object and then reading it back.
In case if suspend function doesn't call continuation itself, but returns an indicator of whether suspension is going to happen or not, we could defer stack spilling until it's clear that we're going to suspend.
Even if we're not doing this optimization now, we should evaluate whether our design is future-proof enough to make it possible later.

Closed. Obsolete.


Lisa map

This PR introduces mid-layer and high-level methods to easily create LISA plots. A notebook showing how to use them to follow soon.

NOTE: do not merge yet as some commits, in particular fb741f5 and 71c678f are not part of the PR.

I think applying git revert, as suggested by @ljwolf has worked and the PR contains now what it was meant to. Should be ready to merge.