[Bug] Nx unable to find fvm despite being present in path

Plugin Name
@nxrocks/nx-flutter
Nx Report
   Node   : 16.15.1
   OS     : darwin arm64
   pnpm   : 7.13.1
   Hasher : Native

   nx             : 16.1.4
   @nx/workspace  : 16.1.4
   @nx/devkit     : 16.1.4
   @nrwl/tao      : 16.1.4
   ---------------------------------------
   Community plugins:
   @nxrocks/nx-flutter : 7.0.3

Expected Behaviour
Expected plugin to create a flutter app using fvm
Actual Behaviour
 >  NX   'fvm' was not found on your system's PATH.
Please make sure you have installed it correctly.
👉🏾 https://fvm.app/docs/getting_started/installation
Pass --verbose to see the stacktrace.
I have installed fvm using homebrew and fvm is located at /opt/homebrew/bin/fvm and my PATH includes /opt/homebrew/bin:/opt/homebrew/sbin
Steps to reproduce the behaviour
1 - ran pnpm nx g @nxrocks/nx-flutter:create
2 - selected yes for the option "Are you using Flutter Version Manager"

Hi @rohitsrao ,
Thanks for using the plugin and for reporting this.
Can you confirm that fvm is globally found/accessible by running fvm --version in the same terminal where you ran the pnpm nx g @nxrocks/nx-flutter:create  command?

Humm 🤔...this looks like a bug indeed.
Can you add the --verbose flag to the pnpm nx g @nxrocks/nx-flutter:create command and paste in the full output?
I'll have a look at it

Thanks. Here you go.
pnpm nx g @nxrocks/nx-flutter:create --verbose

>  NX  Generating @nxrocks/nx-flutter:project

✔ What name would you like to use? · test
✔ What package name would you like to use? · com.test.test
✔ What is the project about? · testing flutter app creation using nx with fvm
✔ Which type of Flutter project would you like to create? · app
✔ Are you using Flutter Version Manager (fvm)? (y/N) · true
✔ Which platforms would you like to use? · android, ios, linux, windows, macos, web
✔ Which Android language would you like to use? · kotlin
✔ Which iOS language would you like to use? · swift
Generating Flutter project with following options : --project-name=test --org=com.test.test --description="testing flutter app creation using nx with fvm" --android-language=kotlin --ios-language=swift --template=app --platforms="android,ios,linux,windows,macos,web" ...

 >  NX   'fvm' was not found on your system's PATH.

   Please make sure you have installed it correctly.
   👉🏾 https://fvm.app/docs/getting_started/installation

Error: 'fvm' was not found on your system's PATH.
Please make sure you have installed it correctly.
👉🏾 https://fvm.app/docs/getting_started/installation
    at /Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/@nxrocks+nx-flutter@7.0.3_zqbjo4rte6cxok4y43iraq25ve/node_modules/@nxrocks/nx-flutter/src/generators/project/lib/generate-project.js:13:19
    at Generator.next (<anonymous>)
    at /Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js:167:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js:163:16)
    at generateFlutterProject (/Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/@nxrocks+nx-flutter@7.0.3_zqbjo4rte6cxok4y43iraq25ve/node_modules/@nxrocks/nx-flutter/src/generators/project/lib/generate-project.js:9:20)
    at /Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/@nxrocks+nx-flutter@7.0.3_zqbjo4rte6cxok4y43iraq25ve/node_modules/@nxrocks/nx-flutter/src/generators/project/generator.js:48:48
    at Generator.next (<anonymous>)
    at fulfilled (/Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js:164:62)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Ok thanks!
I'll have a look tonight.
Stay tuned!

Should nx-flutter be installed globally ?
When I ran pnpm install --save-dev @nxrocks/nx-flutter
 ERR_PNPM_ADDING_TO_ROOT  Running this command will add the dependency to the workspace root, which might not be what you want - if you really meant it, make it explicit by running this command again with the -w flag (or --workspace-root). If you don't want to see this warning anymore, you may set the ignore-workspace-root-check setting to true.

So I installed it with pnpm install -w --save-dev @nxrocks/nx-flutter in my monorepo folder.
I did try to install it globally but when I do I get the following error
pnpm nx g @nxrocks/nx-flutter:create --verbose

 >  NX   Unable to resolve @nxrocks/nx-flutter:create.

   unable to find tsconfig.base.json or tsconfig.json

Error: Unable to resolve @nxrocks/nx-flutter:create.
unable to find tsconfig.base.json or tsconfig.json
    at Workspaces.readGenerator (/Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/nx@16.1.4/node_modules/nx/src/config/workspaces.js:151:19)
    at Object.<anonymous> (/Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/nx@16.1.4/node_modules/nx/src/command-line/generate.js:226:209)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/rohitsrao/Downloads/test-fvm/node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js:164:62)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Hi @rohitsrao
Ok I've just re-read the installation instruction for fvm/flutter
https://fvm.app/docs/getting_started/installation/

Recommendation
We recommend install Flutter SDK globally using the official installation guide HERE. This will be the main version of Flutter across your machine.
Use FVM to manage the Flutter SDK version for your projects.

(emphasis are mine)
This means you need to install a main version of flutter. Then use fvm install/ fvm use <version> to install/use a specific version of flutter within your project.
And the the command to use to check the right setup is fvm flutter --version (and not just fvm --version)
Can you try that please and let me know?

Awesome!
I'm closing this then


Column footprints and capabilities in segmentMetadata query

For understanding and optimizing data footprint, it's valuable to know the footprint (in bytes) and capabilities (dictionary encoded, has index, etc) of each column on a per-segment basis and also on an aggregated basis across an entire datasource.
Today, the main way people get footprint information is by reading meta.smoosh files, which are a CSV descriptor that is part of the physical segment package, and which looks like the following. Each row (other than the first) represents a column part, and is four fields: column name, column part number, start offset, and end offset. The footprint in bytes of a column is the difference between the fourth and third fields.
v1,2147483647,1
__time,0,0,5466
channel,0,5727,8512
isRobot,0,5466,5727

Instead of needing to dig through meta.smoosh files, we'd like users to be able to use segmentMetadata queries (https://druid.apache.org/docs/latest/querying/segmentmetadataquery/) to retrieve the column footprints. For merge: false, users would get column footprints from each segment individually. For merge: true, users would get total footprint for each column across all segments.
On the capabilities side, certain capabilities, like hasMultipleValues, are exposed in segmentMetadata queries today. However, they aren't all exposed. We should expose all of them, so people can see which columns have dictionaries, which dictionaries are sorted, etc.
As a follow-up to this feature, we could add column footprint and capability to system tables in SQL. System tables are built on top of segmentMetadata queries, so adding the fields to segmentMetadata is the first step. (Note that adding to segmentMetadata is also valuable by itself, since users can issue segmentMetadata queries directly. The SQL would be merely a convenience.)

i think this would be satisfied by #16132 once I get back to it, hopefully not too much time from now, but i've a few things I'm planning on doing first


Product image doesn't display in shopping cart block

Product image doesn't display in shopping cart block, but if check code it should appear

I think the problem is in this css:
.media-body {     width: 10000px; }
if change it to:
.media-body {     width: auto; }
then it displays correct:

Fixed by https://github.com/cscart/cscart-boilerplate/commit/1c3c3c55bcf70d3ddbf9d6ea5659b4b6b89df8ae


Fix for #1837 and added a test

@dougbu, @pranavkm - Could you please take a look?

:shipit: from me

Change looks good

:shipit:  with minor non-nit corrected


Read_Buffer_Selector needs None Selector?

I am porting some code that includes glReadBuffer(GL_NONE); but subtype Read_Buffer_Selector in GL.Framebuffer does not include a  None selector.
Should the subtype be:
   subtype Read_Buffer_Selector is Buffers.Color_Buffer_Selector range
     Buffers.None .. Buffers.Right;

Committed in my framebuffer branch


Custom PassManager section

Closes #102,  @kevinsung will help @abbycross take this over while I'm on holiday.  Goes over the PassManager and StagedPassManager, plugins, and passmanager control flow.

Will be merged into #391


POE Overlay not working in latest release of POE

🐞 bug report
Describe the bug

To Reproduce

Expected behavior

Screenshots

🌍  Your Environment

Version:  e.g. 0.6.9 portable
PoE:  e.g. Steam 3.10.0/e English

Is this being worked on?

I should add that I launched the market (alt +m) and then it crashed and since then will not load in the game.

Same here, I hit alt +m, it crashed and I've been getting "Something went wrong" error ever since.

Instead of marking this as stale perhaps feedback on this being fixed is more appropriate?


poor data transfer speed

Hello
I'm using version 0.25.0 and two servers with Ubuntu 22.04
After establishing a connection between the nodes, I observe a low data transfer speed
I have little experience interacting with libp2p and my tests showed that the speed slowdown does not exceed 15-20% of the channel speed when hosts are connected directly, without relays.
Where the problem could be?
EDGEVPNCONFIG=config.yaml ./edgevpn --address <IP_ADDRESS>/24 --holepunch
Traffic capture using wireshark shows that network packets are sent directly

@Villain88 are you using the file-send and file-receive commands or you mean like doing scp between two nodes which are connected. I ask because the speed of the former is much better than that of the latter


Use distroless images for Istio proxy

Request description:
The upstream distroless istio-proxyv2 container be mirrored and used throughout charts
Actual behavior:
Currently the ubuntu-based upstream image is used, containing apt and distro-related tooling
Expected behavior:
Only required binaries/libraries etc. are available in the container image to improve security
SURE-3494
SURE-4606

@samkulkarni20 - at this point all we need is an LOE/Tshirt size, we don't have to commit to this. Your team has been keeping us up to date on the Istio releases so this isn't as urgent as was thought.

@SheilaghM Done.

Steps to Validate:
Create 2 downstream clusters, first k8s 1.24 cluster and the second k8s 1.23.

Fresh install checks with istio 100.4.0+up1.14.1 on downstream k8s 1.24 cluster.

Upgrade checks from istio 1.13 --> istio 1.14 on k8s 1.23 cluster (istio 1.13 does not support k8s 1.24).

Steps to Validate:
Create 2 downstream clusters, first k8s 1.24 cluster and the second k8s 1.23.

Fresh install checks with istio 100.4.0+up1.14.1 on downstream k8s 1.24 cluster.

Upgrade checks from istio 1.13 --> istio 1.14 on k8s 1.23 cluster (istio 1.13 does not support k8s 1.24).

Validated on rancher v2.6-head(https://github.com/rancher/rancher/commit/13482caab5fb28b9445494d95f865eeb5d39c44e)
Created a downstream k8s v1.24.2-rancher1-1 cluster with 2 worker, 1 etcd, 1 cp nodes.
Tested below scenarios with istio 100.4.0+up1.14.1. All checks look good.

Fresh install checks
Upgrade istio from 100.3.0+up1.13.3 —> 100.4.0+up1.14.1 (after upgrade deployed book app and validated traffic and traces through kiali and jaeger)
Upgrade with custom overlay
Kiali
Jaeger traces
Reinstall with Kiali and Jaeger enabled
Fresh install with modified ingress gateway
Unistall/reinstall checks
Istio pointing to externally-installed Prometheus
Multiple ingress
Egressgateway
Also provisioned k8s v1.23.8-rancher1-1 cluster(1cp, 1e, 2w) and validated the upgrade checks from 100.3.0+up1.13.3 —> 100.4.0+up1.14.1(after upgrade deployed book app and validated traffic and traces through kiali and jaeger). All checks look good.

Istio components with distroless images:

Result:

Istio 100.4.0+up1.14.1, Kiali and Jaeger are working as expected, hence closing the issue.


Consistently use radians in EWBIK

Describe the status of the issue.
proposed
List the deciders of the issue.
V-Sekai,fire,
Describe the tags of the issue.
V-Sekai,
Context and Problem Statement
Use radians consistently in EWBIK.
Describe the proposed option and how it helps to overcome the problem or limitation
This helps usability and variable consistency.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Godot uses Radians across the board.
Describe how your proposal will work, with code, pseudo-code, mock-ups, or diagrams
Use ,radians
Positive Consequences
No response
Negative Consequences
No response
Option graveyard

Option:
Rejection Reason:

If this enhancement will not be used often, can it be worked around with a few lines of script?
In a c++ module.
Is there a reason why this should be core and done by us?
I maintain EWBIK.
References

V-Sekai
ewbik

License of the contribution
Copyright (c) 2022 V-Sekai contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Prioritizing VR locomotion and UIUX selection of objects over inverse kinematics.


Release process

I'd love to somehow document how we want to handle releases (mostly so that we can automate the process as much as possible).
Basically what we'll need to do for a release is:

Bump the version (npm version)
Update the changelog (see #103; we can automatically run this as a "post script" for npm version)
Since master is protected we'll need to pull-request the version bump and changelog to master.
Tag the release and create a GitHub release
Docker files will automatically update once we tag a release in the web-ui repo.

If that is correct, my question would be: Where should we add the tag? We can either:

Tag the "bump and changelog branch"
Tag master after the "bump and changelog" branch was pull-requested and merged (we could even do that automated via GitHub actions, i.e. "everytome a pull request with the release label gets merged, create a tag and a release").

I think I'd prefer option 2. since having tags on master feels clean to me and a pull-request before a release is probably not the worst thing to do.
Any thoughts? Did I forget anything important?

I think I'd prefer option 2. since having tags on master feels clean to me and a pull-request before a release is probably not the worst thing to do.

full ack.

Any thoughts? Did I forget anything important?

I think you laid it out great.
Point 5 is maybe a little bit exaggerated as it is just "semi-automated" (which normally means.. not automated at all). A PR to include the newly released UI version is generated by a cron job (so with delay) and one has to create a release manually, which triggers the image build and upload. I think this is acceptable for the first two or three releases - feel free to improve this process as you see fit!


add option that only forces wrapping if a trailing comma is manually entered

Potential option name: multilineArraysOnTrailingComma. Would not work in JSON because JSON doesn't support trailing commas.
For example, with this option turned on, this would stay on one line:
const thing = ['a', 'b'];

whereas this would wrap:
const thing = ['a', 'b',];

This would really be a great feature, then we can opt in for multi-line where we need it to without any comments.

Is it going to support function parameters and arguments?
function greet(
  param0,
  param1,
  param2,
) {}

greet(
  'arg 0',
  'arg 1',
  'arg 2',
);

@monim67

Is it going to support function parameters and arguments?

This is currently not supported. I created a new issue for that feature: #5

This feature has been released in version 1.0.0! Note that there are other changes include din that version as well, some noted at the top of the README: v1.0 breaking changes.


Redesign the Graphics

Background:
Acceptance Criteria:
Including from #6 : Fix RITE Launcher image
Implementation Details:

Graphics updated


Can't connect with google and facebook social networks

Issues with social logins (Google and Facebook)
At first, I was unable to select some of the AppKitSocialOption enums, as shown in the image below.

The UI output

Then, I uncommented the commented lines, as shown in the image below.
In lib > modal > models > public > appkit_social_options.dart
from this

to this

In lib > modal > pages > social_login_page.dart
from this

to this

Then, I used the uncommented enum values.

Now I got this UI output

Now, when I try to continue with Google, it gets stuck at this page after I select my Google account.

Facebook also displays this error.

How can I fix this. Thanks in advance!.

Hello! Only X, Apple, Discord and Farcaster are enabled for now. We are still working on Google and Facebook and a few more. Duplicate of: https://github.com/reown-com/reown_flutter/issues/44#issuecomment-2497230322


Privacy and encrypted data storage

User story
As a software developer, I need to store FHIR data in a private and encrypted storage. I seek good security and privacy by design.
Does microsoft/fhir-server supports encryption of FHIR documents before storage ? I quikly browsed the code and searched for encryption and found nothing.
I know that CosmosDB do data encryption at rest, but it doesn't count since the keys are managed and hosted by Microsoft (remember the famous USA PATRIOT Act and similar stuff). Some alternative FHIR databases do encryption before storage, and expose a set of fields for indexing, sometimes hashed with salt and pepper.
Is a set of features related to encryption and privacy planned for microsoft/fhir-server ?
Thank you very much.

Hi, both Cosmos DB and SQL support customer-managed keys aka BYOK (https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-setup-cmk and https://docs.microsoft.com/en-us/azure/sql-database/transparent-data-encryption-byok-azure-sql).
Please evaluate if this meets your needs. Encrypting the data such that the database cannot decrypt it makes some searches impossible. Secure enclaves would be a solution to this, but we do not currently have plans to support it in the near future.

Thanks for your answer.
I understand that you can bring your own RSA keys with Cosmos DB and Microsoft SQL Server, however :

You must store customer-managed keys in Azure Key Vault.

For sure the key is stored in a fancy HSM and this kind of setup checks the "encryption" box for many companies, but from a user point of view I store the data at Microsoft and I give the keys to Microsoft.
Secure enclaves do sound like a good solution for my needs. I'm sure I will hear more about your project if you decide to support such a solution in the future.


LINUX_KERNEL_TYPE = "preempt-rt" support

Using LINUX_KERNEL_TYPE = "preempt-rt" in local.conf will generate kernel with:
Linux raspberrypi4-64 5.15.34-v8 #1 SMP PREEMPT Tue Apr 19 19:21:26 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
The Yocto kernel types are defined here:
https://docs.yoctoproject.org/kernel-dev/advanced.html#kernel-types
Setting the kernel type to "preempt-rt" should produce an image with SMP PREEMPT_RT.
Meaning it should apply RT patch from https://cdn.kernel.org/pub/linux/kernel/projects/rt/
And ensure kernel fragment is correct.

I don't think that works magically on any kernel. This BSP layer uses the BSP's kernel fork hence a different recipe provider. Where is this implemented in yocto? I haven't played with it before.

I think it's another kernel fragment conflict.  The fragment enabled sets the RT config as expected, only it doesn't stick.
Looking at the kernel patches I see a number of RT patches get applied.  Which is odd, opposed to just the one.
I think the Yocto system is like a black whole when it comes to kconfig patching.  It would be nice to have full config output after each fragment patch.  Then highlight what changed beyond the applied fragment, printing out kconfig Delta.  Enable output with something like --kfrag-debug.
Seems one could identify all the special yocto kernel flags for a given release, then have test cases for each.

just to add some information as this originated from my post in the yocto list: https://lists.yoctoproject.org/g/yocto/topic/96470693#59124
I have downloaded oe-core and added only the meta-raspberrypi layer. Then added the following:
Create linux-raspberrypi_5.15.bbappend and add
SRC_URI += "
file://patch-5.15.86-rt56.patch
file://rt.cfg
"
in rt.cfg I put
CONFIG_PREEMPT_RT=y
If I select MACHINE = "raspberrypi4-64" in local.conf and I run bitbake linux-raspberrypi I get the following kernel .config file in work directory:
CONFIG_HAVE_PREEMPT_LAZY=y
CONFIG_PREEMPT_NONE=y
CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT is not set
whereas if I replace the machine to MACHINE = "raspberrypi4" and run bitbake linux-raspberrypi again I get:
CONFIG_HAVE_PREEMPT_LAZY=y
CONFIG_PREEMPT_LAZY=y
CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT is not set
CONFIG_PREEMPT_RT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
Any idea why the behaviour is different?

I have tried to look further into this issue. I have taken dunfell branch and build the recipe linux-raspberrypi-rt_4.19.bb for raspberrypi4-64. That works. If I run uname -a I get:
Linux raspberrypi4-64 4.19.71-rt24-v8 #1 SMP PREEMPT RT Mon Jun 29 03:06:40 UTC 2020 aarch64 aarch64 aarch64 GNU/LINUX
Next step I have taken bcm2711_defconfig from rpi-4.19.y-rt branch and replaced it in my Kirkstone build with the corresponding rt patch (5.15 RT patch). This does not work either. If I go back to the original bcm2711_defconfig from kirkstone and run bitbake -c menuconfig linux-raspberrypi and I go to "General Setup -> Preemption Model" the preemption RT option "Fully Preemptible Kernel (Real Time)" does not appear.
But if I replace the Machine in local.conf from raspberrypi4-64 to raspberrypi4 and I run bitbake -c menuconfig again my "Preemption Model" has now the additional option "Fully Preemptible Kernel (Real Time)" and I can selected. I have made a diff of the new .config and .old.config after saving the changes:
`
< CONFIG_PREEMPT_LAZY=y
112c111
< # CONFIG_PREEMPT_VOLUNTARY is not set

CONFIG_PREEMPT_VOLUNTARY=y
114,116c113
< CONFIG_PREEMPT_RT=y
< CONFIG_PREEMPT_COUNT=y
< CONFIG_PREEMPTION=y

CONFIG_PREEMPT_RT is not set

139d135
< CONFIG_PREEMPT_RCU=y
144d139
< CONFIG_TASKS_RCU=y
149,150d143
< CONFIG_RCU_BOOST=y
< CONFIG_RCU_BOOST_DELAY=500
261a255

CONFIG_SLAB is not set

262a257

CONFIG_SLOB is not set

628a624,625

CONFIG_JUMP_LABEL=y
CONFIG_STATIC_KEYS_SELFTEST is not set

652a650

CONFIG_HAVE_ARCH_JUMP_LABEL=y
778a777,781
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
CONFIG_INLINE_READ_UNLOCK=y
CONFIG_INLINE_READ_UNLOCK_IRQ=y
CONFIG_INLINE_WRITE_UNLOCK=y
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
819a823
CONFIG_TRANSPARENT_HUGEPAGE is not set

1517a1522

CONFIG_NET_RX_BUSY_POLL=y
4206d4210
< # CONFIG_CEC_GPIO is not set
6202a6207
CONFIG_LEDS_TRIGGER_CPU=y
8160d8164
< CONFIG_DEBUG_PREEMPT=y
8169a8174
CONFIG_DEBUG_MUTEXES is not set

8239d8243
< # CONFIG_PREEMPT_TRACER is not set`
If I build the image and run uname -a I get:
Linux raspberrypi4 5.15.34 rt56 v7l #1 SMP PREEMPT_RT Tue Aug 9 21:20:00 UTC 2022 armv7 armv7 armv7 GNU/Linux
Any hints on how to dig further on this to understand what are the incompatible kernel fragments for raspberrypi4-64 that are not an issue for raspberrypi4?

The dependency required to enable the PREEMPT_RT for arm64 is to disable KVM, which is default enabled in bcm2711_defconfig for arm64. So in order to build the RT kernel with a .cfg file you need to set:
CONFIG_PREEMPT_RT=y
CONFIG_KVM=n


More expression functions

Description

Date handling

isDateBefore
isDateBeforeOrEq
isDateAfter
isDateAfterOrEq

String handling

substr or similar
indexOf/strpos or similar
replace or similar
ucfirst or similar
lcfirst or similar (our smartLowerCaseFirst would be cool to use, but maybe too complex to port to the backend)

Data element lookups

A function to check the number of files/attachments/objects for a given data type in the current instance

Data model lookups

value, just like component but looks up the value for this component (and also returns it even if this component is hidden)
relDataModel (just a suggestion), a function to look up a relative path in the data model. We'd have to figure out a syntax for relative data model paths, which should be possible to use in future component data model bindings as well (i.e. binding a component in a group to ./FirstName instead of My.Deep.Group.FirstName)

Options

optionLabel - A function that returns the option label for a given option value (should probably only work inside a function with defined options, and probably only something that could work on the frontend). It could probably also work without any arguments, returning the current label (works for radio/dropdown/List, but not checkboxes/multipleselect, as they have multiple options).
"hidden" on individual options (mostly when specified in layout)

Additional Information

#1176
#1179
#1208

Diskutert i statusmøte med SSB i dag. De ønsker sterkt replace-funksjonen.

Diskutert i statusmøte med SSB i dag. De ønsker sterkt replace-funksjonen.
https://github.com/orgs/Altinn/projects/34/views/2?pane=issue&itemId=32409141


Add support of MySQL 8 keywords

#6622 is not enough to close #6156: we need to tell Doctrine the actual list of MySQL reserved keywords.
Since https://github.com/doctrine/dbal/pull/3128 won't be backported, we have to implement our own MySQL 8 reserved keyword list.
Fix #6156

I just tested a clean installation with MySQL 8, end everything seems to work as expected.

Thanks!


dwm not working

If I select dwm in the menu and type in my login data it logs me in (just shows the usual ubuntu login messages), then freezes for a while and puts me back into ly, this time it's completely unresponsive.
Mate starts fine using ly.
The x session is the one from the ubuntu 18.04 repos

I got the same issue... Did you fix it?

I have exec dwm in .xinitrc and it works just fine

Hi, could you try with the new version ? It fixes a lot of issues.


Duplicate condition in win_lbr_chartabsize()

Problem:  Duplicate condition in win_lbr_chartabsize().
Solution: Remove the duplicate condition, as it's already checked above.

makes sense, thanks!


How difficult it is to log network request for images?

From what I can tell based on the XHRInterceptor this library relies on, images aren't picked up so it will be quite hard with the current setup. I'd be happy to accept any ideas if you can work out a way it could work though.


DuckDuckGPT is a dead link

Links to a 404 for me

@LichessLuvr it's fixed now, thank you for reporting!


Add datadog tracing

Why
It would be nice to have spans for all the pid2 requests
What changed

Add datadog spans for all rpcs types

Test plan

Update agent to use new version of the package
Run some agent runs
See pid2 spans!

Current dependencies on/for this PR:

main:

PR #89 👈

This comment was autogenerated by Freephite.


Can't build Game

Hey @neon-age,
when I build my game I got these messages in my console:

Install latest v0.8.0-pre.1

Yeah! That helped :) Thx.


Add option based on config to disable touchbar from showing

I added the following option in config in order to disable touchbar from showing.

"touchBar": [
		{
			"command": "npm-script.install",
			"group": "navigation@+1",
			"when": "config.npm.enableTouchbar"
		}

Thank god, this should be merged ASAP.

@matextrem (change looks good, but I could not test since I'm currently on Windows).
you should also define the setting in package.json, so that it will be exposed in the UI, here is an example https://github.com/microsoft/vscode-npm-scripts/blob/9bbcf09b46246bdc6ae64ff0e065de379da64bc7/package.json#L164.
Now, the big question is what the default of this setting should be, that is, whether the touch bar actions should be visible by default. Given this comment https://github.com/microsoft/vscode-npm-scripts/pull/77#issuecomment-490712329 I would be defensive set the default to false.

@egamma changes done!

LGTM, thanks 🌷

@matextrem published the new version to the market place.


Have you considered adding the @Singular and @EqualsAndHashCode ?

Have you considered adding the @Singular and @EqualsAndHashCode annotations to the Property and WeaviateClass (and other objects that perform similar roles)?
You could use the following code as an example:
package io.weaviate.client.v1.schema.model;

@Getter
@Builder
@ToString
@EqualsAndHashCode // <--- like this
@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
public class Property {
    @Singular // <--- like this
    List<String> dataType;
}

@Getter
@Builder
@ToString
@EqualsAndHashCode // <--- like this
@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
public class WeaviateClass {
    @Singular // <--- like this
    List<Property> properties;
}

By using the @Singular annotation, you can use the following code:

class Test {
    void test() {
        Property.builder()
                .dataType("string")
                .dataType("number")
                .build();

        WeaviateClass
                .builder()
                .property(Property.builder().dataType("string").build())
                .property(Property.builder().dataType("number").build())
                .build();

        // and Can use this
        WeaviateClass
                .builder()
                .properties(List.of(
                        Property.builder().dataType("string").build(),
                        Property.builder().dataType("number").build()
                ))
                .build();
    }
}

Thank you @MinyShrimp for reporting the issue.
Indeed @EqualsAndHashCode annotation is missing in multiple data classes. We will add it soon.
As for @Singular annotation: it definitely is a nice feature and makes interface simpler and easier to use, though in our case it would be considered  as breaking change.
Builder will use the same method name for providing collection to its instance (properties in your example), but its behaviour will change. Instead of setting/replacing builder's collection with provided one,  with @Singular in place it will copy elements from provided collection to builder's one.
If builder is reused to create multiple instances of data classes, collections fields may contain much more elements than user intended to put. clearXYZ (clearProperties in your example)  method would have to be called before setter to prevent mentioned scenario to happen.
We may add @Singular support in the future along with other breaking change features and create proper migration guide.


Added support for publishing Python modules

I know that these changes are not super optimal. I would as well prefer that the artifact generated by the build step would be published to PyPI instead re-creating it.
But since Azure Pipelines are a new thing to me I try to improve this incrementally.


Use proper css rule names in the location component

Signed-off-by: Victor Porof<EMAIL_ADDRESS>@bgrins

Fixes https://github.com/mozilla/tofino/issues/479 and https://github.com/mozilla/tofino/issues/480

Coverage remained the same at 42.441% when pulling 7dde942c37a0e581b349b7b54f2d21bb2a213d28 on victorporof:css-rules into 62c589554bcfbfefc723d9b3e7c89f66f3bacb25 on mozilla:master.

r+


Transition for matches vs match

This is kind of working but I am not satisfied with the design, as well as how the code is written (specially the way I have to pass the view into the stream)
on hold


[Compute] az image builder: Add subgroups to manage optimizer

Related command

az image builder optimizer add/clear/remove/show
Description

Close: #25853
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Compute


Add documentation for Azure.Bicep.Core and other NuGet packages

We discussed this yesterday, and we don't feel there is enough customer need at this point to start supporting these NuGet modules, so they will remain undocumented.
Our suggestion is to use the bicep jsonrpc command for integrating bicep functionality into any application code, which we will document better as part of #14242.


Hi,  feathers-vuex upgrade for @feathersjs v3

hi,
when will be possible to get new release of feather-vuex for the  @feathersjs v3
Thanks

No update is needed.  It just works once you've updated your packages to the "v3" versions.  I've updated the readme example.  https://github.com/feathers-plus/feathers-vuex/blob/master/README.md#use


Update UniFi version, improve package installation

Here you go boss...

Here you go boss...

It seems to work great. Merging. Thank you!


add USD value of donations received into analytics

We want to add in the USD value of donations made to our analytics so we can track and analyse them more easily.
currently we're getting prices in the saveDonation method
const baseTokens =
        Number(priceChainId) === 1 ? ['USDT', 'ETH'] : ['WXDAI', 'WETH']

      getTokenPrices(token, baseTokens, Number(priceChainId))
        .then(async (prices: number[]) => {
          //console.log(`prices : ${JSON.stringify(prices, null, 2)}`)

          donation.priceUsd = Number(prices[0])
          donation.priceEth = Number(prices[1])

          donation.valueUsd = Number(amount) * donation.priceUsd
          donation.valueEth = Number(amount) * donation.priceEth

          await donation.save()
        })

and we need to incorporate that into:
  if (projectOwner) {
         analytics.identifyUser(projectOwner)

         const segmentDonationReceived = {
           email: projectOwner.email,
           title: project.title,
           firstName: projectOwner.firstName,
           projectOwnerId: project.admin,
           slug: project.slug,
           amount: Number(amount),
           transactionId: transactionId.toString().toLowerCase(),
           transactionNetworkId: Number(transactionNetworkId),
           currency: token,
           createdAt: new Date(),
           toWalletAddress: toAddress.toString().toLowerCase(),
           fromWalletAddress: fromAddress.toString().toLowerCase(),
         }

         analytics.track(
           'Donation received',
           projectOwner.segmentUserId(),
           segmentDonationReceived,
           projectOwner.segmentUserId()
         )
       }
       ```

testing this on next.giveth.io and segment
I made donations signed in on MM, signed out - anonymously and as well with Torus.
We appear to capture the information correctly.. and it arrives into amplitude
and now we can analyze our donations, separatively or cumulatively ..

and the donations save on the backend!


Look into deploying Docker images from webhooks from Doker Hub

Should be pretty easy to do given webhooks from docker hub contain the image name. Might be out of scope for this project though.

Bumping this as I think this would be a really nice feature. For context, I build my Docker image on Github Actions and push it to a registry on DigitalOcean. It would be super nice if I could just call a webhook with tag & app arguments to pull the new image from there and deploy it on Dokku.
Right now I have to SSH into the server as part of the final CI step to deploy the new image 😄


Update snowpack plugin to integrate babel

We just updated our Snowpack react-refresh plugin to handle the Babel transformation internally, so that users didn't need to run their entire build through babel (and could use our much faster internal esbuild engine).
See code change here: https://github.com/pikapkg/snowpack/commit/d69dbfe65960c3c14e3319cf664d2bef7cd8b6fe#diff-7d556bd4dfdd12da42c4d2584d5ea928
Are you able to make the same change to prefresh/snowpack? I assume most of the code in the diff linked above could be directly copied into your plugin (plus, the readme will get much simpler).

Just saw that you're already doing that in the Vite plugin, so should be relatively straightforward!

Hey,
Thanks for notifying me, made a PR: https://github.com/JoviDeCroock/prefresh/pull/199


trying to use "25fdbed983314f8b23c361180e861da73f8c24f4a194ecd6bac01fc8bb2d483a.so" receives this error

`Found 3 modules for windows xl sm80 1 1024 unet
Using f64294f9bae73c4f742a4f61e8567460d1abefb461c792f69e8922c74331cd27
100%|██████████████████████████████████████████████████████████████████████████████████| 67/67 [00:08<00:00,  9.82it/s]
Found 3 modules for windows v1 sm80 1 1024 unet
Using 25fdbed983314f8b23c361180e861da73f8c24f4a194ecd6bac01fc8bb2d483a
[08:15:48]: NVIDIA GeForce RTX 4070 Ti
[08:15:48]: AITemplate modules compiled by hlky
[08:15:48]: Error: SetConstant did not receive correct number of bytes for unbound constant time_embedding_linear_1_weight: expected 819200 but got 1179648. Check that the provided tensor's shape is correct.
!!! Exception during processing !!!
Traceback (most recent call last):
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 144, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 74, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 67, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\nodes.py", line 1165, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT\AITemplate\AITemplate.py", line 170, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT\AITemplate\AITemplate.py", line 269, in sample
AITemplate.unet[module['sha256']] = AITemplate.loader.apply_unet(
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT\AITemplate\ait\load.py", line 215, in apply_unet
return self.apply(aitemplate_module, ait_params)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT\AITemplate\ait\load.py", line 194, in apply
aitemplate_module.set_many_constants_with_tensors(ait_params)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT\AITemplate\ait\module\model.py", line 839, in set_many_constants_with_tensors
self.set_many_constants(ait_tensors)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT\AITemplate\ait\module\model.py", line 790, in set_many_constants
self.DLL.AITemplateModelContainerSetManyConstants(
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT\AITemplate\ait\module\model.py", line 211, in _wrapped_func
raise RuntimeError(f"Error in function: {method.name}")
RuntimeError: Error in function: AITemplateModelContainerSetManyConstants
Prompt executed in 25.88 seconds`

this happens when the refiner stage starts

I can recreate this error but I'm out of time for tonight to deal with it. I also opened a new repo with just the newly made modules. I put the link in the README.txt. The other modules work fine for you correct?

I can recreate this error but I'm out of time for tonight to deal with it. I also opened a new repo with just the newly made modules. I put the link in the README.txt. Do the other modules work fine for you?

yes, it's just the refiner part.

Please refer to the many previous comments that explain refiner is not currently supported. Please wait patiently for refiner support. If you do not wish to wait, you are free to fix it yourself.

Please refer to the many previous comments that explain refiner is not currently supported. Please wait patiently for refiner support. If you do not wish to wait, you are free to fix it yourself.

yeah, I figured it out. the node sees the refiner as a V1 model for some reason. we need to add a flag to modules.jason for it

the refiner code has been updated in the sdxl branch. Please checkout and confirm the changes are working if possible and report if anything is still broken. The faster we know everything is testing properly the faster I can merge the branch without problems moving forward.

the refiner code has been updated in the sdxl branch. Please checkout and confirm the changes are working if possible and report if anything is still broken. The faster we know everything is testing properly the faster I can merge the branch without problems moving forward.

alright. it still sees the refiner as a V1 model for some reason. changing the inference code wasn't needed. however, I still needed to manually place the .SO file for SDXL

You're not using CLIPTextEncodeSDXLRefiner

You're not using CLIPTextEncodeSDXLRefiner

what's that? another node?

You're not using CLIPTextEncodeSDXLRefiner

okay, now it does this:
Found 3 modules for windows xl sm80 1 1024 unet Using f64294f9bae73c4f742a4f61e8567460d1abefb461c792f69e8922c74331cd27 100%|██████████████████████████████████████████████████████████████████████████████████| 67/67 [00:08<00:00,  10.97it/s] !!! Exception during processing !!! Traceback (most recent call last):   File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 151, in recursive_execute     output_data, output_ui = get_output_data(obj, input_data_all)   File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 81, in get_output_data     return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)   File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 74, in map_node_over_list     results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))   File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\nodes.py", line 1206, in sample     return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)   File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\AITemplate.py", line 171, in common_ksampler     samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,   File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\AITemplate.py", line 250, in sample     module = AITemplate.loader.filter_modules(AIT_OS, sd, AIT_CUDA, batch_size, resolution, model_type)[0]   File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\ait\load.py", line 75, in filter_modules     raise ValueError(f"No modules found for {operating_system} {sd} {cuda} {batch_size} {resolution} {model_type}") ValueError: No modules found for windows xlr sm80 1 1024 unet

That is to be expected because the refiner modules have not been added to modules.json yet. The file will be updated soon, I am currently preparing Linux modules to share with FizzleDorf and updating the file. Alternatively you can add an entry manually.

That is to be expected because the refiner modules have not been added to modules.json yet. The file will be updated soon, I am currently preparing Linux modules to share with FizzleDorf and updating the file. Alternatively you can add an entry manually.

I see. also still had to manually place the .SO files for XL base, it still makes a 0 byte file by default and needs to be replaced

Yes, that is because the modules.json hasn't been updated yet. When everything is complete the sdxl branch will be merged.

Yes, that is because the modules.json hasn't been updated yet. When everything is complete the sdxl branch will be merged.

alright, checked out the new changes to modules .JSON, gives a different error:
`100%|██████████████████████████████████████████████████████████████████████████████████| 67/67 [00:08<00:00,  12.30it/s]
Found 3 modules for windows xlr sm80 1 1024 unet
Using f4934a1df4101eb689d3c845dd1f25059cacd6f1f79afbe023c412efd358fbbc
Error: SetConstant did not receive correct number of bytes for unbound constant arange: expected 384 but got 320. Check that the provided tensor's shape is correct.
!!! Exception during processing !!!
Traceback (most recent call last):
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\nodes.py", line 1206, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\AITemplate.py", line 171, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\AITemplate.py", line 274, in sample
AITemplate.unet[module['sha256']] = AITemplate.loader.apply_unet(
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\ait\load.py", line 217, in apply_unet
return self.apply(aitemplate_module, ait_params)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\ait\load.py", line 196, in apply
aitemplate_module.set_many_constants_with_tensors(ait_params)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\ait\module\model.py", line 840, in set_many_constants_with_tensors
self.set_many_constants(ait_tensors)
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\ait\module\model.py", line 791, in set_many_constants
self.DLL.AITemplateModelContainerSetManyConstants(
File "C:\Users\joker\OneDrive\Desktop\A.I\ComfyUI\custom_nodes\AIT-sdxl\AITemplate\ait\module\model.py", line 212, in _wrapped_func
raise RuntimeError(f"Error in function: {method.name}")
RuntimeError: Error in function: AITemplateModelContainerSetManyConstants
Prompt executed in 25.62 seconds`

expected 384 but got 320.
You're not using the refiner model.

expected 384 but got 320.

You're not using the refiner model.

am I supposed to use "sd_xl_refiner_1.0_0.9vae"?

okay, just pulled the new changes to the SDXL branch, it works!


Feature

### Splash screen

A simple page with the name of  app (yes, you need to choose one), and links to the sign up and log in pages.

Sign up and log in pages

The user should be able to register in the app with full name, email and password (all mandatory).

The user can log into the app using email and password.

If the user is not logged in, they can't access pages that require the user to be logged in (all the pages described below).
- Home page (categories page)

When the user logs in, they are presented with the categories page.

For each category, the user can see their name, icon and the total amount of all the transactions that belongs to that category.

When the user clicks (or taps) on a category item, the application navigates to the transactions page for that category.

There is a button "add a new category" at the bottom that brings the user to the page to create a new category.
- Transactions page

For a given category, the list of transactions is presented, ordered by the most recent.

At the top of the page the user could see the total amount for the category (sum of all of the amounts of the transactions in that category).

There is a button "add a new transaction" at the bottom that brings the user to the page to create a new transaction.

When the user clicks on the "Back" button (<), the user navigates to the home page.
- "Add a new category" page

The user fills out a form to create a new category, indicating their name and icon (both mandatory).

The user clicks (or taps) the "Save" button to create the new category, and is taken to the home page on success.

When the user clicks on the "Back" button (<), the user navigates to the home page.
- "Add a new transaction" page

The user fills out a form to create a new transaction with:

name (mandatory)

amount (mandatory)

categories (mandatory at least one)

The user click (or taps) the "Save" button to create the new transaction, and is taken to the transactions page for that category.

When the user clicks on the "Back" button (<), the user navigates to the transactions page for that category.

Testing requirements

Create unit and integration tests for all the most important components of your RoR application.

Technical requirements

You should use Postgres as your database.

You should use devise for authentication.

You should validate all user input to make sure that anyone with bad intentions cannot compromise your app.

You can use a view template engine of your choice (.erb, .slim, .haml).

The project should be deployed and accessible online.

Your database schema should reflect the following structure:

Dear Reviewer , Kindly use this links for adding icon to the category .
https://robohash.org/perspiciatisremrepellat.png
https://robohash.org/odiovelrerum.png
https://robohash.org/estconsequunturcorporis.png
I already test and it looks like this :


Support to change the icon saturation

Is it possible to implement a feature to allow changing the icon saturation? Similar to what Material Icon Theme does?

Although is not a major feature, some visually impaired users feel unconfortable with high saturation colors. I personally loved the icons and the extension, but I simply can't stand with so much saturation 😕

This is the downside of having a single set of icons for both dark and light. I might end up creating a dark and light variant. Thanks for the feedback.


Feature proposal - indeterminable progress bar (unknown total)

In some situations you may not know the total number of ticks, but want some progress reporting nonetheless.
Right now I have two particular use-cases in mind, but I'm sure there are more:

HTTP downloading with unset content-length header.
Parsing data feed of some unknown length.

Here is how I solved this problem in my clj-progress module (node-progress port to Clojure):
(with-progress-bar " [:wheel][:bar] :done/:total :elapseds :percent :etas"
  (init -1) ; non-positive total
  (...); some code calling (tick)
  (done))

It will be very nice to have something like that in node-progress as well.
If you'll approve my proposal, then I could try to implement it myself based on my previous Clojure implementation, and send you a PR. Though I'm not sure when I'll manage to find some time to do it.

Happy to review a PR!

Attached my PR with proposed implementation and usage example.

Code is out of date.  Needs to be updated before considered @lbeschastny

@thebigredgeek rebased my branch on the latest master.

Hi! Thank you for your job!
This feature is great. I would be glad to use this in my project.

This is a very helpful feature and wondering if this could actually be made available officially via this package.

Any update on this? Any help required?


Project name
SuperCircuit
Github repo
https://github.com/niloydebbarma-code/SuperCircuit
Description
A quantum computing library for creating, optimizing, visualizing, and error-correcting quantum circuits using Qiskit.
Email
<EMAIL_ADDRESS>Alternatives
No response
License
MIT license
Affiliations
No response
IBM maintenance status

[ ] This project is officially maintained by IBM Quantum

Group
transpiler_plugin
Labels
Circuit building tool, Error correction, Optimization
Documentation
No response
Website
No response
Reference paper
No response

Closed


Cocoon dashboard not loading: "could not find an available backend based on hash."

Started around 8:08am PT.
@godofredoc infra oncall

This is working now. Between 8:07 - 8:12 PST everyday there's a 30 second period where the AppEngine instances are swapped over.
Lowering to P3, but this should be a fix in the Dart AppEngine health checks to prevent the swap over.

This was fixed with healthiness checks several months ago.


Add poppler lib to SDK for GeoPDFs

Trying to cut through bad luck.

Na, still haunted by misfortune, seems Qt servers are going through some trouble or something, the last attempts to build SDKs all died due to errors like this:
Could not determine a remote URL for qtlocation with version 5.14.2
The command '/bin/sh -c /tmp/qt/install-qt.sh --version ${QT_VERSION} --target android --directory "${QT_PATH}" --toolchain any       qtbase       qtsensors       qtquickcontrols       qtquickcontrols2       qtmultimedia       qtlocation       qtimageformats       qtgraphicaleffects       qtdeclarative       qtandroidextras       qttools       qtsvg       qtwebview       qtconnectivity       qtcharts' returned a non-zero code: 1

Error: Process completed with exit code 1.

@m-kuhn , BTW, the last legit build error had poppler complaining it couldn't find #include <png.h>, which is odd since that header is installed by the libpng recipe. To try and see if it'd do any good, I added libpng as a dependency to the poppler recipe (even though libpng was a dependency of the parent gdal recipe which I had assumed would be enough).

That is the correct approach, gdal might as well decide that it will build libpoppler earlier than libpng

@m-kuhn , alright, Qt download fixed, getting the same include error:
[ 46%] Building CXX object utils/CMakeFiles/pdftohtml.dir/HtmlOutputDev.cc.o
/usr/src/build/build/poppler/poppler-poppler-21.01.0/utils/HtmlOutputDev.cc:82:14: fatal error: 'png.h' file not found
#    include <png.h>
             ^~~~~~~
1 error generated.
make[2]: *** [utils/CMakeFiles/pdftohtml.dir/build.make:141: utils/CMakeFiles/pdftohtml.dir/HtmlOutputDev.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:689: utils/CMakeFiles/pdftohtml.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 46%] Linking CXX executable pdfunite
[ 46%] Built target pdfunite
make: *** [Makefile:141: all] Error 2
The command '/bin/sh -c ARCHES="${ARCHES}" /usr/src/build_arches.sh' returned a non-zero code: 255

I'm perplexed.

@m-kuhn , the logs confirm libpng is built prior to poppler, and it seems the header file is copied where it should?
...
[100%] Built target pngimage
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/src/build/stage/armeabi-v7a/lib/libpng16.so
-- Installing: /usr/src/build/stage/armeabi-v7a/lib/libpng16.a
-- Installing: /usr/src/build/stage/armeabi-v7a/lib/libpng.so
-- Installing: /usr/src/build/stage/armeabi-v7a/lib/libpng.a
-- Installing: /usr/src/build/stage/armeabi-v7a/include/png.h
-- Installing: /usr/src/build/stage/armeabi-v7a/include/pngconf.h
...

OK, progress made, poppler builds now. However, gdal fails with this error:
/opt/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpoppler
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [GNUmakefile:75: libgdal.la] Error 1

It might have to do with the installed library filename (i.e. libpoppler.so vs libpoppler_$ARCH.so):
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/src/build/stage/armeabi-v7a/lib/libpoppler_armeabi-v7a.so

That's the "new way" with aab support (alternative to apk). If possible we should adjust gdal to accept this file. The easy way would be to rename the .so after the install.

(failure unrelated to code change, Qt remote server down)


Promote incubator/logstash to stable

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

/approve

@christian-roggia It seems that we need ltgm and approve tags before this can be merged.
@unguiculus Is that intentional or am I reading that incorrectly?

@rendhalver the owners should /approve /lgtm since this chart there is no owners file yet, this need to be approved by the owners from the chart repo
hope it clarifies your questions

Ah that explains it @cpanato thank you.

/remove-lifecycle stale

@rendhalver can you fix the merge conflict (and get that chart-change over to the stable tree?)

Yep. I will get that sorted when I can.

Closing in favour of #8479


Mapping coordinate system between blender and habitat-sim

❓ Questions and Help
Hi,
I'm trying to map the replica mesh coordinates in blender to habitat-sim, but I don't know how to do that. Thank you so much!

The Replica meshes share Blender coordinate system (Z up, Y forward). Habitat uses a Y up, -Z forward convention, so all coordinates are transformed into this frame.

Thanks!

The Replica meshes share Blender coordinate system (Z up, Y forward). Habitat uses a Y up, -Z forward convention, so all coordinates are transformed into this frame.


Not working for go 1.18

Hi,
It didn't work for go 1.18.
../../go/pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.0/metrics.go:35:35: meter.wrapped.NewInt64Counter undefined (type metric.Meter has no field or method NewInt64Counter) ../../go/pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.0/metrics.go:59:36: meter.wrapped.NewInt64ValueRecorder undefined (type metric.Meter has no field or method NewInt64ValueRecorder) ../../go/pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.0/metrics.go:79:17: undefined: metric.Int64Counter ../../go/pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.0/metrics.go:82:66: undefined: metric.Int64Counter ../../go/pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.0/metrics.go:95:17: undefined: metric.Int64ValueRecorder ../../go/pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.0/metrics.go:98:78: undefined: metric.Int64ValueRecorder ../../go/pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.0/tracing.go:59:39: undefined: attribute.Any

Hi @mkaratekin I've just cut a new release which contains a fix made back in March. I believe that this should address this issue. Please reopen this issue if you continue to see issues.

@chvck I just tried using version v0.1.1 and got the exact same error. I was using 1.18.2

Hi @tony-clarke-amdocs could you post the stacktrace that you see please? Parts of the above stacktrace don't actually make sense for the v0.1.1 tag.

Hi @chvck
You are right it's a little different...
github.com/couchbase/gocb-opentelemetry
../../../../pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.1/metrics.go:35:35: meter.wrapped.NewInt64Counter undefined (type metric.Meter has no field or method NewInt64Counter)
../../../../pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.1/metrics.go:60:36: meter.wrapped.NewInt64Histogram undefined (type metric.Meter has no field or method NewInt64Histogram)
../../../../pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.1/metrics.go:79:20: undefined: metric.Int64Counter
../../../../pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.1/metrics.go:83:66: undefined: metric.Int64Counter
../../../../pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.1/metrics.go:97:20: undefined: metric.Int64Histogram
../../../../pkg/mod/github.com/couchbase/gocb-opentelemetry@v0.1.1/metrics.go:101:78: undefined: metric.Int64Histogram
make: *** [build] Error 2

Hi @tony-clarke-amdocs we're unable to reproduce this, are you able to share a sample project or similar?

@chvck the current project is protected by company IP. If I get time I will try to reproduce independently.

I'm closing as, as far as I'm aware, this is no longer an issue.


journal: a file journal implementation

Make a draft pr for review
Check #128  for more details.
There is a unit test failure when write and read big event in mod.big(). I will fix lately

OK, looking forward to your code for learn


How to use extensions?

It would be nice of some documentation explained how to use an extension once it has been installed.

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

ID: 8ea1a0d9-c0d5-657d-f73b-0e9220bec600
Version Independent ID: 7138b13a-3381-1aee-346b-5e7f6905c5b3
Content: az extension | Microsoft Docs
Content Source: src/command_modules/azure-cli-extension/azure/cli/command_modules/extension/_help.py
Service: unspecified
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@yooakim Which extension are you looking for more information on?

We now have extension documentation.
e.g. https://docs.microsoft.com/en-us/cli/azure/ext/aem/?view=azure-cli-latest


Adding build status and version badges

@sandersky This one doesn't have any code changes, so I didn't bother updating package.json So, it shouldn't matter which PR you merge first.


Update references to v3 in help and FAQ content

Replace references to v3 with updated information about v4 in about and help content.

Resolved by #1214


Adopt UCO revision of ontology IRI structure

This PR resolves porting of CASE CP-34 to UCO, and adopts the earliest UCO develop branch state that incorporates the update.
Revisions to the unit testing framework were also incorporated to port effects of other UCO proposals.  Relevant UCO proposals are referenced in the commit notes.
As this PR is a resolution of multiple voted-on proposals across CASE and UCO, and as the CDO Technical Steering Committee voted to let CASE adopt UCO releases without requiring committee action, this PR is submitted for merging without requiring committee action.

@plbt5 , please feel free to merge at your convenience any time Wednesday or later.


operator: Pass identity allocation mode through correctly

We introduced CRD identities and rely on cilium-operator to do the
garbage collection. The default mode, however, is kvstore allocation in
order to support upgrades where the option is not set. The configuration
we generate for examples does set it to crd but his wasn't passed to
cilium-operator and so it would never enable crd GC unless the option
was added to the arguments.
Fixes #9417

This change is

test-me-please

Coverage increased (+0.03%) to 43.956% when pulling 66136dd5b82aa7a01f6e059ecb5f4b5a538931c4 on raybejjani:crd-identity-enable-operator-gc into 900c5cb5d880701e326cb8660708782144ce20af on cilium:master.


plot_histogram fails when given number_to_keep parameter

Summary
Fix issue #7461 plot_histogram fails when given number_to_keep parameter
Fixes also related issue #6692, as it affects the same code.
Details and comments
When number_to_keep parameter is used and has a value less than the number of keys, the plot didn't work.
This PR considers also the case of displaying multiple result lists.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.003%) to 83.121%

Files with Coverage Reduction
New Missed Lines
%

qiskit/extensions/quantum_initializer/uc.py
2
88.65%

qiskit/pulse/library/waveform.py
3
89.36%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
51952

Relevant Lines:
62502

💛  - Coveralls

See also implementation in #6698. That one (mine) stalled out b/c lack of review, and failing docs build on CI (master branch) at the time. Your implementation is cleaner, but that one includes a test against a reference image to check the bar alignment.
The plot_histogram tests are also missing skipUnless(HAS_MATPLOTLIB) (see e.g. https://github.com/Qiskit/qiskit-terra/blob/309292946906843f3c535c0a4465de534cf2ac69/test/python/visualization/test_circuit_drawer.py#L50-L57), should be straightforward to add to the pre-existing test as well as yours.

See also implementation in #6698. T
@drewrisinger What was the problem with the build? I think I have the same issue now and I don't know how to fix it...

What was the problem with the build?

Several months ago, something with CI & the docs build wasn't working, and it was making the CI show as failing. I'm fairly sure the issue was also present on the main/master branch (according to the issues at the time, I don't remember which one). I don't remember anything more than that, it's been a while. The CI log should still be present on that PR if you want to look at it for comparison.

@jakelishman Could you review this PR as well? Thank you!

@jakelishman Thank you for the review!
I changed an if yesterday, let me check if that affected the code or there is other issue.

@1ucian0 Please check my implementation of snapshot testing/
@jakelishman Could you review again.
Thank you!


python demo_mnn.py cannot reshape array of size 100 into shape (80)

Traceback (most recent call last):
File "demo_mnn/python/demo_mnn.py", line 526, in
main()
File "demo_mnn/python/demo_mnn.py", line 512, in main
detector.detect_folder(args.img_fold, args.result_fold)
File "demo_mnn/python/demo_mnn.py", line 402, in detect_folder
bbox, label, score = self.detect(img)
File "demo_mnn/python/demo_mnn.py", line 376, in detect
scores, raw_boxes = self.infer_image(img_input)
File "demo_mnn/python/demo_mnn.py", line 433, in infer_image
scores = [np.reshape(x, (-1, 80)) for x in scores]
File "demo_mnn/python/demo_mnn.py", line 433, in
scores = [np.reshape(x, (-1, 80)) for x in scores]
File "<array_function internals>", line 6, in reshape
File "D:\Python\Python37\lib\site-packages\numpy\core\fromnumeric.py", line 299, in reshape
return _wrapfunc(a, 'reshape', newshape, order=order)
File "D:\Python\Python37\lib\site-packages\numpy\core\fromnumeric.py", line 58, in _wrapfunc
return bound(*args, **kwds)
ValueError: cannot reshape array of size 100 into shape (80)

@ammm56 Hi~ How did you solve it?


Custom include prefix?

For use cases where there are multiple protocol files referencing each other. There will be situations when foo.pb.h needs to include bar.pb.h. The thing is, I want neither of the files directly in the include search path. I want them in protocol/, so instead of #include "bar.pb.h", the line should be #include "protocol/bar.pb.h".
This can, of course, be manually edited, but manually editing generated files is never a good idea.
If there is such an option, I'm sorry, I was unable to find it in the documentation.

This should work in this way, which is standard across protobuf platforms:

In your .proto file, use import "protocol/bar.proto"; (including the directory name)
Run protoc or nanopb_generator from the upper folder using command such as nanopb_generator protocol/bar.proto.

Then the generated files will also have the directory name in their include directories.
If, for some reason, you want a different folder structure for nanopb than for other protobuf libraries, you can use '--generated-include-format=#include "foo/%s"'

Thank you for the explanations, works as intended.


suggestion - allowed to edit value and exported as user-overrides.js

topic

Not sure that I will get around to bringing this to the gui here.
I have played with this type of feature on my own repo.  You can try my github pages website userjs-tool.html, use the buttons [Load arkenfox] and [Collect], this allows you to click/edit values and shows the changes at the top.


First response time of timeseries

Response time of timeseries in apache-druid-16.1 is longer than druid-12.0
Affected Version
apache-druid-16.1
druid-12.0
The Druid version where the problem was encountered.
apache-druid-16.1
Description
druid-12.0

about cluster
coordinator and overlord: 1 physical machine
historical: 4 physical machine
middlemanager: 4 physical machine
borker: 2 physical machine
apache-druid-16.1

about cluster
coordinator and overlord: 1 physical machine
historical: 4 physical machine
middlemanager: 4 physical machine
borker: 3 physical machine
the data size of segment is about 20 MB
the machine for  apache-druid-16.1 is better than druid-12.0
I have checked the config of cluster, there is no big difference

Anyone know why or list some config for query performance


Possible bug in Neo4J 4.0 version, during GRAPHML import

 Issue by karrtikiyer
Wednesday Mar 18, 2020 at 10:06 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1451

Expected Behavior (Mandatory)
Able to successfully import the graphML file to a graph DB in Neo4j
Actual Behavior (Mandatory)
Errors out giving below exception, works in 3.x series.
Failed to invoke procedure `apoc.import.graphml`: Caused by: org.neo4j.kernel.impl.util.collection.MemoryAllocationLimitException: Can't allocate 524288 bytes due to exceeding memory limit; used=2147028992, max=2147483648
How to Reproduce the Problem
CALL apoc.import.graphml("my_graph.graphml", {})`

Steps (Mandatory)

Install Neo4J Desktop
Modify config settings to allow apoc import
create a new graph DB
RUN below code to import the graphml
CALL apoc.import.graphml("my_graph.graphml", {})

Specifications (Mandatory)
Currently used versions
Versions

OS:MacOS
Neo4j:4.0.1
Neo4j-Apoc:<IP_ADDRESS>

 Comment by jexp
Thursday Mar 19, 2020 at 00:24 GMT

can you provide more details about the graphml file? perhaps even the file itself to reproduce.

 Comment by karrtikiyer
Thursday Mar 19, 2020 at 02:56 GMT

The file size is around 1.5 GB. And it contains some private confidential
information because of which it can’t be shared. Any other logs etc which I
can share? Also I have said in my original post this works in 3.x series of
Neo4j.
On Thu, 19 Mar 2020 at 05:55, Michael Hunger<EMAIL_ADDRESS>wrote:

can you provide more details about the graphml file? perhaps even the file
itself to reproduce.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1451#issuecomment-600922724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBMHMFBFTLKAD47LDQTVP3RIFQ55ANCNFSM4LONWJVQ
.

--
Thanks and regards,
Karrtik

 Comment by karrtikiyer
Thursday Mar 19, 2020 at 09:29 GMT

I have tried with below settings, but does not work, do you want me to
increase it even more?
dbms.memory.heap.initial_size=4G
dbms.memory.heap.max_size=12G
Thanks and regards,
Karrtik
On Thu, 19 Mar 2020 at 14:34, Michael Hunger<EMAIL_ADDRESS>wrote:

Can you increase e.g. double your heap memory until it works.
Afaik this implementation is not streaming the XML, because it's older,
apoc.load.xml does stream which you could use to manually construct the
graph.
Hope this helps as a workaround, Michael
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1451#issuecomment-601066276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBMHMFAAPYR7L2VNDWGJPLRIHN3NANCNFSM4LONWJVQ
.

 Comment by jexp
Thursday Mar 19, 2020 at 09:04 GMT

Can you increase e.g. double your heap memory until it works.
Afaik this implementation is not streaming the XML, because it's older,
apoc.load.xml does stream which you could use to manually construct the graph.
Hope this helps as a workaround, Michael

 Comment by conker84
Wednesday Mar 25, 2020 at 14:23 GMT

@karmakaze any update on this?
Is it an option to anonymize the data and share it with us?

 Comment by AstrorEnales
Thursday Apr 09, 2020 at 09:07 GMT

We just ran into the same problem.
File is imported using "call apoc.import.graphml('test.graphml',{readLabels: true, useTypes: true})"

1.8GB GraphML file with neo4j 4.0.3 and apoc <IP_ADDRESS> produces the same "MemoryAllocationLimitException" as above
1.8GB GraphML file with neo4j 3.5.17 and apoc <IP_ADDRESS> works fine!

That 3.5 worked was a good hint by @karrtikiyer, i checked the diff of XmlGraphMLReader.java between apoc 4.x and 3.5. The only difference is the addition of the Transaction parameter in the constructor which is used in 4.x for "createNode" and "getNodeById". In 3.5 this was done using the GraphDatabaseService. While XmlGraphMLReader uses a BatchTransaction i wondered if using the provided transaction instead of the BatchTransaction's transaction would cause this issue, so i changed the usage. And this did the trick for me, now the 1.8GB file is loaded in neo4j 4.x without issues. (Yes, it still uses alot of memory and the xml parser should be changed to streaming (and not caching nodes internally as Java xml parser does), but at least with enough memory we can load large graphml files again).
Changed lines:
Node node = this.tx.createNode();
-->
Node node = tx.getTransaction().createNode();
Node from = this.tx.getNodeById(cache.get(source));
Node to = this.tx.getNodeById(cache.get(target));
-->
Node from = tx.getTransaction().getNodeById(cache.get(source));
Node to = tx.getTransaction().getNodeById(cache.get(target));
I just checked the code out for the first time, so i have no larger overview of the apoc architecture and any potential side effects, so i would be happy if any apoc dev could check this out and either fix this or ping me and i could provide a pull request.


[API Doctor] Add config to ignore entire workloads from permissions table generation

We want to be able to skip Intune docs from permissions table generation. We need a config that will help us ignore all of them at a go.

Closed by https://github.com/OneDrive/apidoctor/pull/203


Unable to update my transcode-video installation from 0.10.0 to 0.12.0 using Ruby 2.2.5 for windows.

Here is the command issued along with the output...
C:\VideoToolsCLI\video_transcoding-0.12.0>gem install video_transcoding
ERROR:  Could not find a valid gem 'video_transcoding' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

@Boyerstown Thanks for filing this! Like I said on email, I have no idea why the Ruby Gem mechanism would get an SSL failure like this, but maybe someone else would know. I'll ask on Twitter...

@Boyerstown @donmelton It looks like this might be a recurring issue with Ruby and SSL: http://guides.rubygems.org/ssl-certificate-update/

@jaredharley That looks like the problem to me. Nice work and thanks!
@Boyerstown I'll close this now but feel free to keep commenting here.

@jaredharley Thanks! I was able to successfully update Ruby Gem and install the latest version of Transcode-video.
@donmelton Thanks for getting me a quick answer to my issue.  Also, great job with the video tools!
C:\VideoToolsCLI\video_transcoding-0.12.0>gem install video_transcoding
Fetching: video_transcoding-0.12.0.gem (100%)
Successfully installed video_transcoding-0.12.0
Parsing documentation for video_transcoding-0.12.0
Installing ri documentation for video_transcoding-0.12.0
Done installing documentation for video_transcoding after 2 seconds
1 gem installed

Thanks Everyone with this issue!
From: Don Melton<EMAIL_ADDRESS>Sent: Monday, October 24, 2016 9:45 PM
To: donmelton/video_transcoding<EMAIL_ADDRESS>Cc: Boyerstown<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [donmelton/video_transcoding] Unable to update my transcode-video installation from 0.10.0 to 0.12.0 using Ruby 2.2.5 for windows. (#92)
@jaredharleyhttps://github.com/jaredharley That looks like the problem to me. Nice work and thanks!
@Boyerstownhttps://github.com/Boyerstown I'll close this now but feel free to keep commenting here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/donmelton/video_transcoding/issues/92#issuecomment-255935340, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV-kAv2IpFB05uY7WhtKob-I9eD9j--xks5q3YlNgaJpZM4Kfh9B.


vim and neovim are not sending data

Hi there, I want to take this opportunity to say thanks, is really great the job done here. I have installed the plugin as per the instructions , additionally checked the troubleshooting part and can't make both apps send commands to the tidal console, when using tidalvim, configs are in place since it is possible to run ctl+E, I set the filetype to tidal just in case but that's not working, qjack and sclang are running , tidal is working since I can send tidal instructions over the console. When using neovim is not working at all. please any help is really appreciated ...

:TidalConfig  + select the correct pane target solves the issue


ErrorProneJavacPlugin does not seem to support refactoring

Looking at the implementation https://github.com/google/error-prone/blob/master/core/src/main/java/com/google/errorprone/ErrorProneJavacPlugin.java#L35
It seems like refactoring support is missing as done in https://github.com/google/error-prone/blob/master/check_api/src/main/java/com/google/errorprone/BaseErrorProneJavaCompiler.java#L98
The refactoring logic could potentially be moved into the analyzer and look for other task event types instead of skipping like https://github.com/google/error-prone/blob/master/check_api/src/main/java/com/google/errorprone/ErrorProneAnalyzer.java#L118
Or it could be a completely new task listener to perform the refactoring after compilation has completed

23aef7214362db03e1e08c8c9b8a2e206f959404 was half-baked, I'm still working on this.

Hmm, what does "refactoring" mean in this context? It's not really clear to me.

Things should be in better shape after 30b8fae682e2a43866e3265b2b0b738b72651b8e.
@jbduncan http://errorprone.info/docs/patching

Thanks @cushon! :+1:


<EMAIL_ADDRESS>fix RegExp DoS vulnerability

Installing minimatch-all currently outputs a scary minimatch deprecation warning:
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

Luckily v2 focused on adding browserify support, and then v3 focused on removing it. So moving from v1 -> v3 is actually pretty straightforward and should only require a patch version update from minimatch-all. Changelog here: https://github.com/isaacs/minimatch/commits/master

nice, thanks @FredKSchott !

np, thanks for merging & releasing!


exclude performance on large exclude files extremely poor

Output of restic version
restic 0.9.6 compiled with go1.14 on linux/amd64
How did you run restic exactly?
restic -r sftp:server:/home/user/backups/reponame --verbose --cache-dir="/var/cache/restic/" backup / --exclude-file=/tmp/blacklist
What backend/server/service did you use to store the repository?
Own CentOS 7 Server
Expected behavior
Fast operation even with large number of entries in the blacklist
Actual behavior
A large number of non-wildcard entries will reduce the performance of restic to nearly a busy loop. Usually, a complete system backup is completed in like 15 minutes with around 1 GB changes and around 30 GB of data...
I have the need to specify a large number of non-wildcard entries that exclude files that don't need to be backuped.
The full system backup runs on the same system now for 30 minutes and is still in /etc/ - so far from complete.
Steps to reproduce the behavior
Add a large number of non-wildcard entries in the exclude list and run a backup.
Do you have any idea what may have caused this?
Probably the non-wildcard entries are looped and compared to the full path.
Do you have an idea how to solve the issue?
Use a hashtable for this operation.

How many exclude entries exactly do you have? I've noticed that the exclude checks take some time when you dozens of them, but that was only in the range of a few percent slowdown.
A hashtable might work for the special case of non-wildcard entries with absolute paths. It would however conflict with #2311 which requires that the exclude entries appear to be processed in order.
Juding from my last experiments with the exclude performance, there are several low-hanging fruits in the exclude code, like preprocessing the excludes once, avoid checks whose results are not used, ... . I've drafted some of the optimizations in https://github.com/MichaelEischer/restic/tree/fast-excludes , but the code in that branch is still extremely hacky and nowhere near ready for a PR. Just those changes gave me a speed-up of 10-20 times for the exclude checks.

How many exclude entries exactly do you have? I've noticed that the exclude checks take some time when you dozens of them, but that was only in the range of a few percent slowdown.

Well, they are dynamically generated, so the number is not steady. But here's an example.
20 or so are wildcards, everything else are just non-wildcards
$ wc -l /tmp/blacklist
350802 /tmp/blacklist

A hashtable might work for the special case of non-wildcard entries with absolute paths. It would however conflict with #2311 which requires that the exclude entries appear to be processed in order.

This might be a nice feature, but processing those is very complex. It might be worth to select by a flag that the file is either git-ignore style or simple or maybe select the behavior with a keyword in the first line of the file.

Given that glob patterns are essentially regular expressions on path names, would it be feasible to translate the exclude file to a regexp, compile that and use it to match path names? That would, I think, change this from an O(n*m) to an O(n+m) problem.

Given that glob patterns are essentially regular expressions on path names, would it be feasible to translate the exclude file to a regexp, compile that and use it to match path names? That would, I think, change this from an O(n*m) to an O(n+m) problem.

This would work (I guess). I'm not a regex wizard...  but will those also work with https://github.com/restic/restic/pull/2311, so basically many black and white rules on top of each other 🤔
Note that I tried to use grep which uses line-based regex... and run basically out of memory on my 12 GB ram system...

@MichaelEischer If you're wondering what the application is, which requires 500k blacklist entries...
https://github.com/RubenKelevra/restic-backup/blob/master/makebackup.sh

Well it would be easier (and faster) to just include all system packages in the backup.
If restic preprocesses the exclude patterns then it would be possible to group ranges of simple exclude patterns together and use some efficient way to match these. That way restic could also detect whether the exclude-file contains negative patterns and adapt the exclude matching accordingly.

Update on the regexp idea: I was wrong, matching against regular expressions still takes O(mn) in the worst case because a regexp matcher needs to maintain O(m) state, where m is the size of the regexp.
I also found the package gobwas/glob (used by Syncthing), but it has a subtly different pattern syntax, is unmaintained, doesn't handle Unicode well and isn't necessarily faster than filepath.Match.

Can the negative patterns in #2311 be used to reduce the large blacklist files to a practical size?
See my comments here for how I'm using the negative patterns.

@MichaelEischer wrote:

Well it would be easier (and faster) to just include all system packages in the backup.

For a single system-backup - sure if bandwidth is no factor. But if you want to keep snapshots of multiple systems over multiple years with like weekly granularity having all those extra files, which could be perfectly restored with just a version number from an archive, like for archlinux for example is a major drawback in resources, bandwidth, and storage requirements.
@MichaelEischer wrote:

If restic preprocesses the exclude patterns then it would be possible to group ranges of simple exclude patterns together and use some efficient way to match these. That way restic could also detect whether the exclude-file contains negative patterns and adapt the exclude matching accordingly.

But the full file list is created on the fly while creating a backup, and you would check every directory for different files which are existing additionally, before grouping anything together. That's complex and not necessary.
Restic just needs a way to mark entries as "full path" entries which it doesn't need to regex to anything but fill into a hashtable for fast lookups.

Can the negative patterns in #2311 be used to reduce the large blacklist files to a practical size?

I don't think so, not with major boiler plating in shell script to process all entries in each directory - see above.

So it boils (at least at this time) down to a feature request for just a secondary flag, like --exclude-files-list </path/to/secondary-exclude.list>.

@RubenKelevra Can you test whether #2997 improves the exclude/include performance enough to call it reasonable?

@RubenKelevra Can you test whether #2997 improves the exclude/include performance enough to call it reasonable? [Edit]It should be enough to process a few hundred files per second, but it's probably still a lot slower than with a small exclude list[/Edit]

Sure :)

@RubenKelevra Can you test whether #2997 improves the exclude/include performance enough to call it reasonable?

My current performance on the stable is around 0.8 files per second. I compiled #2997 with Go 1.15.2 and it ends up with around 15 files per second.
Without the large excluding file I get around 10000 files per second on the same machine. So the scan of the full system takes less than 52 seconds, while I aborted the backup with the large exclude file after 3 hours since it won't finish today... :disappointed:
So the performance on your branch is around 0.15% compared to a small exclude file, while the stable is around 0.008%.
So I wouldn't call this 'reasonable' tbh, but a big improvement for regular regex lists, thanks!

Can you explain your use case a bit? How many lines are in that exclude file, and why do you need to have them detailed to this level?

Thanks for the testing. I just noticed that speeding up individual exclude checks for an exclude file with 350k entries enough to process 10k files per second, obviously can't work once you put together some number: assuming that everything besides the exclude checks takes no time at all, we have a time budget of 100 microseconds per file. And when checking the excludes one by one we have a luxurious one thrid of a nanosecond processing time, which is also known as a single CPU clock cycle.
Fixing this will either require a hashmap and then testing whether the path or one of its parent directories matches or some kind of tree which represents the exclude patterns (or a combination of both). Either way that will add quite a lot of complexity to the current code.

@MichaelEischer wrote

Thanks for the testing. I just noticed that speeding up individual exclude checks for an exclude file with 350k entries enough to process 10k files per second, obviously can't work once you put together some number: assuming that everything besides the exclude checks takes no time at all, we have a time budget of 100 microseconds per file. And when checking the excludes one by one we have a luxurious one thrid of a nanosecond processing time, which is also known as a single CPU clock cycle.
Fixing this will either require a hashmap and then testing whether the path or one of its parent directories matches or some kind of tree which represents the exclude patterns (or a combination of both). Either way that will add quite a lot of complexity to the current code.

Agreed that there's no way to get around a hashtable implementation, but there's no need for such a complex solution.
We only need a way to mark entries in the blacklist as "full path" entries, without wildcards and those could be put into a hashtable. (%/fullpath% or something like that)
Then restic would just look up the full path of a file while scanning to the hashtable, and when there's no match it would look it up against the other blacklist entries.
I'm not sure how the performance of a hashtable with 350k entries is, but it should be better than the current approach which is just way too flexible for my usecase.

@MichaelEischer wrote

Thanks for the testing. I just noticed that speeding up individual exclude checks for an exclude file with 350k entries enough to process 10k files per second, obviously can't work once you put together some number: assuming that everything besides the exclude checks takes no time at all, we have a time budget of 100 microseconds per file. And when checking the excludes one by one we have a luxurious one thrid of a nanosecond processing time, which is also known as a single CPU clock cycle.
Fixing this will either require a hashmap and then testing whether the path or one of its parent directories matches or some kind of tree which represents the exclude patterns (or a combination of both). Either way that will add quite a lot of complexity to the current code.

Agreed that there's no way to get around a hashtable implementation, but there's no need for such a complex solution.
We only need a way to mark entries in the blacklist as "full path" entries, without wildcards and those could be put into a hashtable. (%/fullpath% or something like that)
Then restic would just look up the full path of a file while scanning to the hashtable, and when there's no match it would look it up against the other blacklist entries.
I'm not sure how the performance of a hashtable with 350k entries is, but it should be better than the current approach which is just way too flexible for my usecase.

@MichaelEischer thanks!
I actually switched to duplicacy. I would love to use an open source program, but this is just not viable with storage requirements at the moment.
Additionally, the missing compression has had also an impact on my decision to switch, as well as the slow cleanup performance (as I need to repack and re-upload the packs) of restic compared to duplicacy.

Just a comparison:
I backed up one computer and used ~300 GB of storage with restic, while I now backup 3 computers (and imported the old restic backups - which got filtered in the process) and use 47 GB.

Here's my script adapted to duplicacy:
https://github.com/RubenKelevra/duplicacy-backup/blob/master/makebackup.sh


unhandled exceptions are thrown

I'm submitting a...

[X ] Bug report
[ ] Feature request
[ ] Question

Current behavior
If Postgres is in active startup and createDatabase is called then an exception is thrown rather then passed back to the callback.
Expected behavior
I expect errors to be passed back to the callback.
This is caused by the use of code like:
   index.driver(config.getCurrent().settings, function (err, db) {     assert.ifError(err);
Since ifError actually throws if an error is confirmed.  If the goal is to test for the error, then perhaps this is what should be done:
try {     assert.ifError(err); } catch(err){   return callback(err); }
I see the use of  assert.ifError throughout the codebase, If you agree with my assessment I'm happy to issue a PR with changes.

Avoiding mark as stale. Should I issue a PR?


Won't start after enabling mod manager

I play on Andriod, Idk whats wrong or what's causing the long loading. The phone notifies me that it stops responding

Please wait for it to build BDCC.pck, wait up to 10 minutes.

Optionally deleting the file would also fix that issue because it will build a new one but like he said it could take up to 10 or 20ish minutes

Hey I get it if it ain't broke why fix it but it does lead us into some technical debt and limitations for no reason

This issue has been fixed maybe this can be closed?


Set custom date & time in docker php container via datefudge

ISSUE TYPE

Feature request

SUMMARY
Sometimes in programming, one has a need to program stuff that will be executed in future. In order to test such software, usually computer's date & time had to be set in BIOS.
Goal
Now with Docker and containers changing BIOS time and restarting Docker is too complicated and there is much easier way by using datefudge utility.
Easy Solution
Add datefudge to php container image.
Full Solution
In order to test different time in php currently you have to:

create custom supervisord config and place it under devilbox/supervisor/ on local file system:

[program:php-fpm]
command = /usr/bin/datefudge --static "Wed 06 Aug 2021 04:15:51 PM CEST" /usr/local/sbin/php-fpm
autostart               = true
autorestart             = true
stdout_logfile          = /dev/stdout
stdout_logfile_maxbytes = 0
stdout_events_enabled   = true
stderr_logfile          = /dev/stderr
stderr_logfile_maxbytes = 0
stderr_events_enabled   = true

remove php container, start php container so our custom conf ends up in /etc/supervisor/custom.d in php container.

when container is started, bash inside php container and install datefudge:

sudo apt update && sudo apt install datefudge

stop php container and start it (do not delete it, so you do not loose custom supervisord conf which adds datefudge while starting php-fpm).

Now php is fixed to see always Wed 06 Aug 2021 04:15:51 PM CEST 🥇
Best Solution
Best solution would be to use datefudge -f sometime.txt so sometime.txt could be user editable file mounted from local filesystem. Eg. when container is created - if file exists - datefudge can be added to supervisord. Even maybe on dockerfile level
FROM devilbox/php-fpm:7.2-work-0.122
CMD ["datefudge" "-f" "/home/default/date.txt"]

edit: typos

@guycalledseven thanks for the write-up. The feature will not be added explicitly to the docker images, as this would add up on complexity and I rather decrease the complexitiy. Also you've shown how easily this can already be accomplished with provided customization options :+1:
I'm therefore closing this issue. The "Full Solution" should rather be something for the documentation


🐛 Bug Report: Project is not creating from console

👟 Reproduction steps
Try to create a project using console
👍 Expected behavior
It should create the project
👎 Actual Behavior
The server returns server error and the project is not creating
🎲 Appwrite version
Version 1.1.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

@Faiyyaz, thanks for raising this issue! Would you please provide more info on the error as well as the logs from the appwrite container?

@stnguyen90 Sure. Can you let me know how to get logs from appwrite container?

@Faiyyaz docker compose logs appwrite.
Would you please also provide the exact version you're on?

Please find attached screenshot of error from console and appwrite logs

@stnguyen90 I reinstalled the docker and now everything seems to be working. Thank you for your help!


Dep omdbapi key

Add README-OMDBAPI and requirements.txt back to bundle

Thanks, for some reason it didn't bring requirements, I can see it in your changes so not sure why.  I'll do a separate PR for that.


example distributed graphcast for shallow-water-equations

Modulus Pull Request
Description

Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

Tagging @akshaysubr to review the changes to the distributed manager.

/blossim-ci

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci


Static analysis fails on some methods

Package version
v4.0.3
Describe the bug
When running static analysis over the code using larastan which uses phpstan under the hood this error is generated:
Static call to instance method PDPhilip\Elasticsearch\Eloquent\Model::firstOrCreateWithoutRefresh().

from code like this:
Model::firstOrCreateWithoutRefresh([
    'attribute' => 'value',
], [
    'data' => [],
]);

To Reproduce
Steps to reproduce the behavior:
create standard project with larastan as a dev dependency and try using phpstan analysis on level 1
Expected behavior
I expect the documentation to have the static calls listed as at least static in the doc block in line with the online documentation.
additionally
there are a few methods that follow this pattern, so it isn't just this single case, this just happens to be the case I was made aware of.
Workaround
Looks like one can add this to their phpstan.neon file to avoid the phpstan error:
parameters:
  ignoreErrors:
    - '#Static call to instance method PDPhilip\\.*#'

intelephense will also complain, adding the following above the code should mute the error:
/** @disregard P1036 */
Model::firstOrCreateWithoutRefresh([
...

@sporchia , just so I understand. You've found no issue with the package itself, just an incomplete/erroneous doc block?
The tests for this method are here: https://github.com/pdphilip/laravel-elasticsearch-tests/blob/main/tests/EloquentTests/EloquentQueriesTest.php#L778-L803 - which is passing.

correct, it would be nice to have the doc block correct though

From help from the community, the package has been refactored with PHPstan integration - which applies to your query here. V4.1.0 will have these changes.


Fix run.sh train

run.sh when train llm, not generate data/train.data.list and data/dev.data.list successfully (My env is wsl2+ubuntu22.04).

well, in this case, user should check why some data.list is not generated successfully, instead of hiding this problem. Sorry, but this PR is not suitable for merge. You can check why some data.list is not generated, whether it is reproducible.