Add max/dax description in details page

Add max/dax description in details page which pulls from a markdown file specified by a metadata component.

when viewing the code, I thought about one thing:
is it possible to have a BaseDetail class and other detail (ModelDetail, DatasetDetail) components inherit from it?
not very familiar with ReactJS, just wondering in this case, maybe you don't need to update similar change in multiple detail components.

when viewing the code, I thought about one thing:
is it possible to have a BaseDetail class and other detail (ModelDetail, DatasetDetail) components inherit from it?
not very familiar with ReactJS, just wondering in this case, maybe you don't need to update similar change in multiple detail components.

Yes this could be done, but the Details (ModelDetail, DatasetDetail) has been the component which changes the most frequently so it did not beneficial in the past. I do agree that some BaseDetail class could be made which provides the tab/content control functionality and ModelDetail/DatasetDetail/... could specify what the tab names/ contents are.

that thought just came to my mind when reviewing your change. I don't know if it's applicable for those Details components or not. I guess you know those components the most and should be food for thought to you.

Thanks @drewbutlerbb4 -- could you throw a screenshot into the PR description? :-)
Do you need the readme_url to be part of the asset properties or do you want to parse that field out of the YAML?
Regarding a "BaseDetail" class, the API has an equivalent ApiAsset base class which captures all of the properties which are common to all asset types:
https://github.com/machine-learning-exchange/mlx/blob/2fb61a8840696c7ede77cd600caa8922178ec8b0/api/swagger/swagger.yaml#L2091-L2114

@ckadner Here is a screenshot and here is the katalog PR.

Thanks @drewbutlerbb4 -- only a small change needed on your katalog PR. Otherwise looks good!
👍🏻


Update coffee-script dependency

Please release new version of gulp-coffee with included coffee-script 1.10.0 dependency.

PR?

You already updated it in master, but is not released yet. v2.3.1 is missing coffee-script v1.10.0.


Problem with banner in lesson Section 3 Step 2

When I drag the banner into my view for iPhone (compact/regular), it automatically choses an iPad banner, even though when I double click on banner in the Attributes Inspector, it shows that I have the Compact versions there for use. Have I done something wrong?

I've the same problem, but after same build the app in simulator shows the right banner while in the storyboard shows ipad banner :-|

@lorenzomassacci Okay thanks...I just checked it and see that in the simulator, it shows the right one. Thanks

yeah i had the same problem, after updating the xcode. it seems it's a bug newly released.
(i'm watching this video for the second time.)

@Soulsolder Tanks for the info. Hope it is fixed soon. Moving on anyway.

Still having this issue. Anyone find a fix for it?

It's a known issue. The right banner is displayed when you run the code, just not in Xcode?

The same issue here, I think it´s only in Xcode 7+ and Swift 2+. But at runtime everything is fine.

Yes - this issue is still outstanding. Waiting to see if it gets resolved.


Update bootstrap file to use latest pip version.

Issue #, if available: N/A
Description of changes: Added line to bootstrap.sh to upgrade pip version to latest on Docker build. This resolves an issue where we could not install raw packages using the pyproject.toml format.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is a good change, and we did make this one recently on the MWAA 2.0 release. Accepting merge for main branch, will need to cherry pick this to the other branches subsequently.

@o-nikolas , @dhegberg - review and approve when you get time.


fix: add AddEntityResponse and UpdateEntityResponse to match server

Need ID's for enum values not just ID of new entity

Pull Request Test Coverage Report for Build 309

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.394%

Totals

Change from base Build 305:
0.0%

Covered Lines:
428

Relevant Lines:
597

💛  - Coveralls


(bug) brew install bork --HEAD fails

$ brew install bork --HEAD
==> Cloning https://github.com/skylarmacdonald/bork.git
Cloning into '/Users/strawb/Library/Caches/Homebrew/bork--git'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream origin
Error: Failed to download resource "bork"
Failure while executing; `git clone --depth 1 --branch master -c advice.detachedHead=false https://github.com/skylarmacdonald/bork.git /Users/strawb/Library/Caches/Homebrew/bork--git` exited with 128. Here's the output:
Cloning into '/Users/strawb/Library/Caches/Homebrew/bork--git'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream origin

Fix:
https://github.com/Homebrew/homebrew-core/pull/76462

Noted for future formula releases. Closing here.


Error when using batch with Add-PNPListItem

Reporting an Issue or Missing Feature
When using the -Batch switch off Add-PnPListItem I'm getting an error. It works fine when removing the batch option and works fine using -Batch on Set-PnPListItem
Expected behavior
Create a simple hash table for adding to a SPO list:
Name                           Value
HR_REP_MAIL<EMAIL_ADDRESS>HIRE_DT                        5/10/2021
FULL_PART_TIME                 F
REP_NAME                       Doe, John
AC_BUSINESS_UNIT               99999999
MANAGER                        N
BARG_UNIT                      N
POSITION_NBR                   99999999
SERVICE_DT                     5/10/2021
WIN_HRBP_ID                    e9999999
STATE_WORK                     NC
DEPT_DESCR                     Kinetic
LOCATION                       V188
AC_SOA                         0
LOCATION_DESCR                 Virtual Office NC
Title                          e999999
Use this to try and add a list item via batch:
Add-PnPListItem -List 'HRData' -Values $CreationHash -Batch $Batch
Actual behavior
A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles.
What is the version of the Cmdlet module you are running?
1.5.0
Which operating system/environment are you running PnP PowerShell on?

[ X] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Error (truncated for readability):
 Exception             :  Type       : System.Text.Json.JsonException Path       : $.Members.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.OverloadDefinitions Message    : A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Name          : ThrowJsonException_SerializerCycleDetected DeclaringType : System.Text.Json.ThrowHelper, System.Text.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 StackTrace :  at System.Text.Json.ThrowHelper.ThrowJsonException_SerializerCycleDetected(Int32 maxDepth)    at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
at System.Text.Json.JsonSerializer.WriteCore[TValue](JsonConverter jsonConverter, Utf8JsonWriter writer, TValue& value, JsonSerializerOptions options, WriteStack& state)
at System.Text.Json.JsonSerializer.WriteCore[TValue](Utf8JsonWriter writer, TValue& value, Type inputType, JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Serialize[TValue](TValue& value, Type inputType, JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Serialize(Object value, Type inputType, JsonSerializerOptions options)
at PnP.Core.Model.SharePoint.ListItem.<.ctor>b__2_2(Dictionary2 keyValuePairs)    at PnP.Core.Model.BaseDataModel1.AddBatchAsync(Batch batch, Dictionary2 keyValuePairs)    at PnP.Core.Model.SharePoint.ListItemCollection.AddBatchAsync(Batch batch, Dictionary2 values, String folderPath, FileSystemObjectType fileSystemObjectType)
at PnP.Core.Model.SharePoint.ListItemCollection.AddBatch(Batch batch, Dictionary2 values, String folderPath, FileSystemObjectType fileSystemObjectType)    at PnP.PowerShell.Commands.Lists.AddListItem.ExecuteCmdlet() in c:\PnPPowerShell\src\Commands\Lists\AddListItem.cs:line 125    at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord() in c:\PnPPowerShell\src\Commands\Base\PnPSharePointCmdlet.cs:line 91

I have a related issue, but it behaves a little bit differently. Still, I believe, the cause of the issue is the same - something happens in the Serialization behind the scenes, .NET Core?
To reproduce my scenario do following
Set up a simple list "simple_list" with Choice column "choice_col", allow multiple choices.
Then run following
Set-PnPListItem -List 'simple_list' -Identity 1 -Values @{choice_col=@("one", "two")} -Batch $batch
It will result in
A possible object cycle was detected which is not supported. This can either be due to a cycle or if the object depth
is larger than the maximum allowed depth of 0
Then remove the Batch, and will work:
Set-PnPListItem -List 'simple_list' -Identity 1 -Values @{choice_col=@("one", "two")}

@gautamdsheth / @erwinvanhunen
I can't reproduce the exact errors above, however I get the following when trying to use -batch with the Set-PnPListItem
A node of type 'StartArray' was read from the JSON reader when trying to read a value of a property; however, a 'PrimitiveValue' or 'StartObject' node was expected.  with a ResponseCode: 400
Might need to transfer the issue?

While the first two errors are both similar in verbiage describing circular references.
A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles.
A possible object cycle was detected which is not supported. This can either be due to a cycle or if the object depth
is larger than the maximum allowed depth of 0
The third one seems quite a bit different, so not sure if they are all related but they DO all happen with -Batch it seems. I'll say I was using Powershell 7.1, so the Core files were being called instead of the Framework ones. Not sure if it was the same for the other errors described here?

@JAK1047 - Please try with the -nightly tomorrow, or reopen if the issue persists. Thank you.

I'm also having this issue and have tried the nightly version without any luck.

Hi, I'am facing this issue too with latest version 1.7.0

I'm getting the same issue

I had the same issue when using -batch
I was able to get it work when using a string. Seperate choices with ;#
example:
$ownerUnits = "Choice1;#Choice2"
or if you have an array with strings:
$ownerUnits -join ";#"


C_CPP: Constructors of "string" class

Description
Description
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Simplify package dependencies

Right now, this package depends on nipype and nilearn.
The nipype is a larger dependency for a single utility function--seems better to copy it out.
The nilearn dependency is only for an example. Seems odd to install it when installing pyneurovault, as the example isn't accessible.

I agree that Nipype is too heavy for this API, and it has been removed. Nilearn is important for the resampling of images during download, and will be required for now.


Remove Tom Whitwell from admin users

What
He shouldn't need this access anymore. We should check that the
pipeline's removed him properly once this is released.
This may conflict slightly with #2156, but it shouldn't be difficult to
fix so I think they can go out in either order.
How to review

Check 'em

Who can review
Not @richardtowers

Hold off on merging this - I just found some more things to remove.


Issues with Ropsten/Rinkeby

Is there any issues with the testnets? I am not receiving an Oraclize callback neither on Ropsten nor on Rinkeby.

Our monitoring tools haven't triggered any warnings and there appear to be callbacks happening on both networks.
https://ropsten.etherscan.io/address/0xdc8f20170c0946accf9627b3eb1513cfd1c0499f
https://rinkeby.etherscan.io/address/0x854bd635fd4e8684a326664e0698c8fefae6dd97
When did your issues start, you could also try remix with our module in the browser to eliminate contract issues, as the networks do appear to be working fine: https://remix.oraclize.it/#plugintitle=Oraclize&pluginurl=https://remix-plugin.oraclize.it&gist=9817193e5b05206847ed1fcd1d16bd1d

Thank you, it indeed was a temporary issue.


correct support of unicode texts #266 #236

One can easily test, that library draws wrong QR-codes for some special inputs like
new QRCode(elem "\x80");
new QRCode(elem, "\u0800"); // samaritan letter alaf
or any string, conatining chars with codes greater than 0xFFFF
new QRCode(elem, "🔥");
The reasons are

minor bounds check mistakes
string method charCodeAt never returns codes greater than 0xFFFF, so one of the branches of QR8bitByte is never used!

One should notice, that js support for unicode strings is pretty poor:
"🔥".length === 2, even though every human would say, this string has one 'character'.
P.S. qrcode.min.js  should be updated also, i suppose, but i'm not sure which settings should be used, except smth like "preserve ie 6 compatibility"

@davidshimjs, could you please merge it, or reject, or smth else.


Relax testMainFileChangesIfIncludeIsAdded to allow clangd to return diagnostics from old build settings

clangd may return diagnostics from the old build settings sometimes (I believe when it's still building the preamble for shared.h when the new build settings come in). Check that it eventually returns the correct diagnostics and allow it to return outdated diagnostics for a short while.

@swift-ci Please test

@swift-ci please test macOS platform


Update CODEOWNERS

Description
Fix codeowners to correctly reference the teams
Issue reference
Addresses #3378
Please reference the issue this PR will close: #[issue number]

@AaronCrawfis we need to check if this change is needed in all repos, thanks a bunch for correcting this.

Opened PRs on all repos with CODEOWNERS


Create theme as RubyGem?

Have you considered making this available as a RubyGem Theme?
https://jekyllrb.com/docs/themes/#understanding-gem-based-themes

Not really something I was ever interested in doing. Id be happy for someone else to make a PR and do it.


Get the backing service controller to work on gsp-local

What
Get the backing service controller, which provisions AWS backing services like RDS and SQS, to work on gsp-local.
For example, instead of RDS, a local postgres database would be provisioned.
Why
To make it easier to test a full service locally.

we are not supporting gsp-local at this time. So closing for now.


Smart renaming seem to be broken

This is another issue I've seen upgrading to 1.5.1  The smart renaming seems to be not working:
my settings file:
[rename]
rename_template = {series} #{issue} {title} ({year}-{month:02})
rename_issue_number_padding = 3
rename_use_smart_string_cleanup = True

$ comictagger --version
thefuzz/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
ComicTagger 1.5.1:  Copyright (c) 2012-2022 ComicTagger Team
Distributed under Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
$ comictagger -v --rename --type=cbl bb.cbz
thefuzz/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
renamed 'bb.cbz' -> 'Superman: Son of Kal-El #016 KAL-EL RETURNS, PART 2: REUNION (2022-12).cbz'

On my other machine:
settings:
[rename]
rename_template = %series% #%issue% %title% (%year%-%month%)
rename_issue_number_padding = 3
rename_use_smart_string_cleanup = True

$ comictagger --version
ComicTagger 1.2.3:  Copyright (c) 2012-2014 Anthony Beville
Distributed under Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
$ comictagger -v --rename --type=cbl bb.cbz
renamed 'bb.cbz' -> 'Superman - Son of Kal-El #016 KAL-EL RETURNS, PART 2 - REUNION (2022-12).cbz'

The difference is the colons in the filename are there under 1.5.1 and not there under 1.2.3
Is there an extra setting that needs to be turned on to revert to the old naming convention?
Thanks.

Yes, as macOS and Linux allow colons in filenames, ComicTagger now leaves them in by default if you are on macOS or Linux. You can set the rename_strict option to True in order to have colons replaced on Linux and macOS
[rename]
rename_strict = True

Excellent.  Just tried it and it works as I wanted.  I was used to the renaming for 2 reasons:

When looking at the files in finder the "/" <-> ":" mapping just looks odd.
When using shared files in VMware fusing from my Mac OS to a Linux client, Fusion doesn't like files with ":" in their names for some reason so I like to avoid them.

Thanks again for the prompt reply.


E2E CI configuration

Add a new step to buildkite to run the docker-compose stack & execute the E2E suite against this stack

Our buildkite trial has expired. I have contacted Sam Leathers to determine the best path forward here.

Sam Leathers has suggested we speak to Jeremy Wood to get finances sorted. So we either do that or consider a free self-hosted CI solution (i.e. Jenkins)

Strangely, buildkite jobs are still running even though we have the trial warning 🤔

I've configured Jenkins. It was easy to do and is working really nicely. Our E2E scripts are running as well.
First PR with Jenkins is #54


edit mode : state initialisation not sync with input text

Hello,
just a little trouble I met, from the code I saw :
TaskEditViewReactor.swift
  init(provider: ServiceProviderType, mode: TaskEditViewMode) {
    self.provider = provider
    self.mode = mode

    switch mode {
    case .new:
      self.initialState = State(title: "New", taskTitle: "", canSubmit: false)
    case .edit(let task):
      self.initialState = State(title: "Edit", taskTitle: task.title, canSubmit: true)
      print("test 0 \(self.initialState)")
    }
  }

TaskEditViewController
    reactor.state.asObservable().map { $0.taskTitle }
      .distinctUntilChanged()
      .bind(to: self.titleInput.rx.text)
      .disposed(by: self.disposeBag)

I think the goal was to open the new view in edit mode with the input initiated with the text of the task to modify ?
if I understood everything, it's a bug, the input is empty in edit mode, I had the same problem on my side, I fixed it quickly by the initialization of the controller but I am sure that there is better to do.

Since rx.text is ControlProperty, it sends initial value (empy) at initial subscribe, therefore it sends Reactor.Action.updateTitles to reactor.action . So skip the initial value(empty) when subscribing.
self.titleInput.rx.text.filterNil()
.skip(1)
.map(Reactor.Action.updateTaskTitle)
.bind(to: reactor.action)
.disposed(by: self.disposeBag)

Perfect, thank you for this clarification and your time, i did not think about it. (PR on my Stack / Boilerplate, i will PR here asap to close the issue)


[BUG] zookeeper cluster failed to be initialized on minikube

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

create cluster zookeeper-3.7.2 on minikube

apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
  name: zkeeper-shuehr
  namespace: default
spec:
  clusterDefinitionRef: zookeeper
  clusterVersionRef: zookeeper-3.7.2
  terminationPolicy: DoNotTerminate
  componentSpecs:
    - name: zookeeper
      componentDefRef: zookeeper
      replicas: 2
      resources:
        requests:
          cpu: 100m
          memory: 0.5Gi
        limits:
          cpu: 100m
          memory: 0.5Gi
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 1Gi
        - name: data-log
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 1Gi

See error

kubectl get pod
NAME                                            READY   STATUS             RESTARTS         AGE
zkeeper-shuehr-zookeeper-0                      0/1     CrashLoopBackOff   7 (77s ago)    17m
zkeeper-shuehr-zookeeper-1                      0/1     CrashLoopBackOff   7 (118s ago)   17m

describe pod
kubectl describe pod zkeeper-shuehr-zookeeper-0
Name:         zkeeper-shuehr-zookeeper-0
Namespace:    default
Priority:     0
Node:         minikube/<IP_ADDRESS>
Start Time:   Mon, 15 Jan 2024 10:46:28 +0800
Labels:       app.kubernetes.io/component=zookeeper
              app.kubernetes.io/instance=zkeeper-shuehr
              app.kubernetes.io/managed-by=kubeblocks
              app.kubernetes.io/name=zookeeper
              app.kubernetes.io/version=
              apps.kubeblocks.io/component-name=zookeeper
              controller-revision-hash=zkeeper-shuehr-zookeeper-8688568656
              statefulset.kubernetes.io/pod-name=zkeeper-shuehr-zookeeper-0
Annotations:  apps.kubeblocks.io/component-replicas: 2
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  StatefulSet/zkeeper-shuehr-zookeeper
Containers:
  zookeeper:
    Container ID:  docker://fb1675f807a49e7ad188a0c1c98eed66ce3eb606e4c07037e7dc9c702a3937df
    Image:         bitnami/zookeeper:3.7
    Image ID:      docker-pullable://bitnami/zookeeper@sha256:3090426a46d9b9e91f94437a73fc821858eb2deeeddc469f228b07e336126c67
    Ports:         2181/TCP, 2888/TCP, 3888/TCP, 8080/TCP
    Host Ports:    0/TCP, 0/TCP, 0/TCP, 0/TCP
    Command:
      /kb-scripts/start-zookeeper.sh
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    143
      Started:      Mon, 15 Jan 2024 11:01:21 +0800
      Finished:     Mon, 15 Jan 2024 11:02:51 +0800
    Ready:          False
    Restart Count:  7
    Limits:
      cpu:     100m
      memory:  512Mi
    Requests:
      cpu:      100m
      memory:   512Mi
    Liveness:   exec [/bin/bash -c echo "ruok" | timeout 2 nc -w 2 localhost 2181 | grep imok] delay=30s timeout=5s period=10s #success=1 #failure=6
    Readiness:  exec [/bin/bash -c echo "ruok" | timeout 2 nc -w 2 localhost 2181 | grep imok] delay=5s timeout=5s period=10s #success=1 #failure=6
    Environment Variables from:
      zkeeper-shuehr-zookeeper-env      ConfigMap  Optional: false
      zkeeper-shuehr-zookeeper-rsm-env  ConfigMap  Optional: false
    Environment:
      KB_POD_NAME:      zkeeper-shuehr-zookeeper-0 (v1:metadata.name)
      KB_POD_UID:        (v1:metadata.uid)
      KB_NAMESPACE:     default (v1:metadata.namespace)
      KB_SA_NAME:        (v1:spec.serviceAccountName)
      KB_NODENAME:       (v1:spec.nodeName)
      KB_HOST_IP:        (v1:status.hostIP)
      KB_POD_IP:         (v1:status.podIP)
      KB_POD_IPS:        (v1:status.podIPs)
      KB_HOSTIP:         (v1:status.hostIP)
      KB_PODIP:          (v1:status.podIP)
      KB_PODIPS:         (v1:status.podIPs)
      KB_POD_FQDN:      $(KB_POD_NAME).zkeeper-shuehr-zookeeper-headless.$(KB_NAMESPACE).svc
      ZOO_ENABLE_AUTH:  yes
    Mounts:
      /bitnami/zookeeper/data from data (rw)
      /bitnami/zookeeper/log from data-log (rw)
      /kb-scripts from scripts (rw)
      /opt/bitnami/zookeeper/conf/zoo.cfg from configs (rw,path="zoo.cfg")
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-rqlkp (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  data:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  data-zkeeper-shuehr-zookeeper-0
    ReadOnly:   false
  data-log:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  data-log-zkeeper-shuehr-zookeeper-0
    ReadOnly:   false
  configs:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      zkeeper-shuehr-zookeeper-zookeeper-config
    Optional:  false
  scripts:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      zkeeper-shuehr-zookeeper-zookeeper-scripts
    Optional:  false
  kube-api-access-rqlkp:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Guaranteed
Node-Selectors:              <none>
Tolerations:                 kb-data=true:NoSchedule
                             node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason                  Age                   From                     Message
  ----     ------                  ----                  ----                     -------
  Normal   Scheduled               17m                   default-scheduler        Successfully assigned default/zkeeper-shuehr-zookeeper-0 to minikube
  Normal   SuccessfulAttachVolume  17m                   attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-7bc213be-3f7f-468c-b2ce-dc29d472753f"
  Normal   SuccessfulAttachVolume  17m                   attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-a054d278-c748-4966-a903-d13f1a99f3a0"
  Normal   Pulling                 16m                   kubelet                  Pulling image "bitnami/zookeeper:3.7"
  Normal   Pulled                  15m                   kubelet                  Successfully pulled image "bitnami/zookeeper:3.7" in 15.366897007s (1m0.081202819s including waiting)
  Normal   Killing                 14m                   kubelet                  Container zookeeper failed liveness probe, will be restarted
  Warning  Unhealthy               14m (x3 over 15m)     kubelet                  Liveness probe failed: localhost [<IP_ADDRESS>] 2181 (?)  : Connection refused

logs pod
kubectl logs zkeeper-shuehr-zookeeper-0  --previous
zookeeper 03:25:55.02
zookeeper 03:25:55.42 Welcome to the Bitnami zookeeper container
zookeeper 03:25:55.72 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-zookeeper
zookeeper 03:25:56.02 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-zookeeper/issues
zookeeper 03:25:56.22
zookeeper 03:25:56.51 INFO  ==> ** Starting ZooKeeper setup **
zookeeper 03:26:01.22 INFO  ==> Initializing ZooKeeper...
zookeeper 03:26:01.52 INFO  ==> User injected custom configuration detected!
zookeeper 03:26:02.32 INFO  ==> Deploying ZooKeeper with persisted data...
zookeeper 03:26:02.62 INFO  ==> ** ZooKeeper setup finished! **

zookeeper 03:26:04.42 INFO  ==> ** Starting ZooKeeper **
/opt/bitnami/java/bin/java
ZooKeeper JMX enabled by default
Using config: /opt/bitnami/zookeeper/bin/../conf/zoo.cfg

Expected behavior
zookeeper cluster suucess to be initialized on minikube
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

this issue is outdated, please focus on the current main branch's addon。


Remove black bars beneath "new request dialog"

UI Improvement
Please remove the black bars beneath the "new request dialog" (see screenshot).

https://github.com/assistify/Rocket.Chat/issues/44

@janrudolph please close


make wappalyzer run concurrently and improve unit tests

🗣 Description

Run wappalyzer jobs concurrently before updating all domains at once
Add/improve unit tests
Update saveDomainsToDb mock to be a jest mock function with a default implementation

💭 Motivation and Context

Wappalyzer task should be faster

🧪 Testing

Run unit tests
Ensure wappalyzer runs successfully with data

📷 Screenshots (if appropriate)
N/A
🚥 Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (causes existing functionality to change)

✅ Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

This looks great, thanks for improving tests!
One concern I have with increasing concurrency that because the default fargate containers don't have much cpu / ram, it may not actually improve performance (see
https://github.com/cisagov/crossfeed/blob/1fcd3b25a0cf459c1e0071fc5279ce031f6dc273/infrastructure/worker.tf#L138-L139
).
When I was doing experiments with increasing concurrency with the censysipv4 scan, it turns out that increasing the concurrency too much actually makes things slower. I ended up settling on a concurrency of 5, though that was with a fargate instance with much larger than usual cpu and ram levels. I wonder if 500 is too much here...


Plans to make it node compatible?

Any plans or appointment to make it run on node/io?

Yes, I've been thinking about making it node-compatible, but currently it's on my (longish) TODO list. :/
If anyone wants to help out, they're welcome. The main challenge is probably to adapt the library to available node canvas & webgl libraries.

Perhaps a first step might be to make it CommonJS compatible as it is? At that point it could be installed with NPM and used with tools like browserify.

I would be interested in helping convert to CommonJS if you feel that's worthwhile! I would love to be able to use this library in an npm workflow to make it jive well with http://stack.gl and similar tools.
Giving it a go right now just to see how much trouble it actually is...

Working in this branch on my fork if you're interested! https://github.com/andyinabox/clmtrackr/tree/CommonJS
My goals are to:

Maintain browser global compatibility so that it can still be used with the current approach
Use npm to manage as many of the current dependencies as possible (jsfeat, numeric.js, etc)
Make CommonJS compatible so that it can be included using tools like browserify as a package
Include an example for using as an NPM package with browserify

Andy

In case anyone is interested, I have a super quick & dirty POC of the image example running on node here
https://github.com/jesusgollonet/clmtrackr
It's forked off @andyinabox commonJS port. The changes I've had to make have been basically:

make it run on node-canvas
fix json files to make them stricter json (it's amazing how permissive browsers have become)
shim out or temporarily comment out browser specific stuff (window, document...)
switch events to EventEmitter

list of my commits here
https://github.com/andyinabox/clmtrackr/compare/master...jesusgollonet:develop
It's nowhere near PR or even test ready, but it's a start and it has worked.

@jesusgollonet  +1 nice!

This would be nice for those of us messing around with our new Tessel :)

👍  yes, it definitely should be converted to CommonJS or something compatible with node.js

Yes node will be a good, even if that works with nw js then this community
can grow more with desktop power.
On 08-Jul-2016 7:24 PM, "Eugene Krevenets"<EMAIL_ADDRESS>wrote:

👍 yes, it definitely should be converted to CommonJS or something
compatible with node.js
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/auduno/clmtrackr/issues/42#issuecomment-231365319,
or mute the thread
https://github.com/notifications/unsubscribe/AC0DcAEMmCqbt3t3GQsOC6WK7YBtX1F6ks5qTlaZgaJpZM4ENvB5
.

Is this still an issue? Is there any way I can use this on with node (server side)?


Private projects not showing up in project page

Private projects are showing up correctly on the home page under the "private projects" tab, but not showing up in profile page.
profile() function query is getting the username for users, not the user email.

Resolved, latest changes are on Amp repo Production server. Projects on profile page are now queried using user email, and edit button is showing on project page.


Added pull_request_template.md

Fixes #142

Please add the labels of gssoc and level2 on this pull request as well according to gssoc latest guidelines.

Please add the labels of gssoc and level2 on this pull request and assign me this pull request as well according to gssoc latest guidelines.

Could you please add the label of gssoc and level1

Could you please add the label of gssoc and level1


Disabled SelectionButtons interrupt selection flow

Disabled button can get focus, leaving no way to accept further navigation.

Duplicates #253, sorry for the extra issue.


Description text for Asset Store page.

This was mentioned in #146 but there is a discrepancy in the plugin description text on the Unity Asset store.
https://www.assetstore.unity3d.com/en/#!/content/36905
Compatability requirements at the top:

Requires Unity 5.2.2 or higher.

Then below that:

OSVR Plugin for Unity is compatible with Unity 4 and 5 Free and Pro versions (image distortion is disabled in Unity 4 Free version).

It still works with Unity 4, but the Unity Rendering Plugin requires at least Unity 5.2. I'll change the description. I'd be surprised if there are any Unity 4 users, as Unity support has been discontinued.

There may be Unity 4 legacy games that may want to do a quick VR port.

Rather than change the description, I uploaded two versions this time around, so Unity 4 users can still download the plugin (once its approved). If we decide to drop the Unity 4 version, I'll update the text.


Gamewindow Movement via lua

Hi I made it possible to move the game-window in lua.
I also made it move to its original width,height (x,y can be enabled if wanted) after the song was restarted or exited.
The movement only works in window mode, so not in fullscreen
You can move the game-window in Lua by using, for example, this code:
function onUpdate()

    songPos = getSongPosition()
    local currentBeat = (songPos/1000)*(bpm/60)
        setProperty('window.x', windowX + math.sin(currentBeat) * 15)--X axis
        setProperty('window.y', windowY + math.cos(currentBeat) * 15)--Y axis
        setProperty('window.width', windowW + math.sin(currentBeat) * 15)--height
        setProperty('window.height', windowH + math.sin(currentBeat) * 15)--height

end

[width and height have a huge performance issue when using the game-capture in a video-recording-software, because the window size is being updated in the video-recording-software. Using the screen capture fixes the performance issue.]
Issue that still needs to be fixed if too bad
the fps display number keeps getting higher when using any width or height movement. The number resets when the game is paused or the song is exited
the fps display number gets a little bit higher when using width or height, but it doesn't keep getting higher.

shadow should merge with this

PRs are closed until shadow fixes current bugs

HOLY SHIT THANK YOU!

wait its not working

wait its not working

Can you show me the code?
Did you put the script in the song folder.
Did you name it script.lua

Nevermind it works
Em seg, 17 de jan de 2022 3:28 PM, lemz1 @.***>
escreveu:

wait its not working
Can you show me the code?
Did you put the script in the song folder.
Did you name it script.lua
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/pull/3473#issuecomment-1014801386,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATHZQVL2BMJGYNAHJ7NSOHTUWRNVLANCNFSM5LZLN2MA
.
You are receiving this because you commented.Message ID:
@.***>

sorry i replied by email

didnt worked
local defaultNotePos = {};
local spin = true;
local arrowMoveX = 5;
local arrowMoveY = 5;
local x = 0;
local y = 0;
function onCreate()
end
function onCreatePost()
debugPrint("CHART AND MODCHART MADE BY DYBATUBEMUSIC")
valuecamHud = 180
doTweenAngle('bruh', 'camHUD', valuecamHud, 0.01, 'linear')
end
function onDestroy()
-- triggered when the lua file is ended (Song fade out finished)
end
-- Gameplay/Song interactions
function onBeatHit()
-- triggered 4 times per section
end
function onStepHit()
end
function onUpdate(elapsed)
songPos = getPropertyFromClass('Conductor', 'songPosition');
currentBeat = (songPos / 1000) * (bpm / 60)
setProperty('window.x', windowX + math.sin(currentBeat) * 15)--X axis
setProperty('window.y', windowY + math.cos(currentBeat) * 15)--Y axis
setProperty('window.width', windowW + math.sin(currentBeat) * 15)--height
setProperty('window.height', windowH + math.sin(currentBeat) * 15)--height
if curStep == 100 then
	valuecamHud = 0;
	doTweenAngle('bruh', 'camHUD', valuecamHud, 5, 'smoothStepInOut');
end
if curStep > 157 and curStep < 273 then
	for i = 0,7 do
		setPropertyFromGroup('strumLineNotes', i, 'x', defaultNotePos[i + 1][1] + arrowMoveX * math.sin((currentBeat + i*0.25) * math.pi))
		setPropertyFromGroup('strumLineNotes', i, 'y', defaultNotePos[i + 1][2] + arrowMoveY * math.cos((currentBeat + i*0.25) * math.pi))
	end
end
if curStep == 273 then
	noteTweenX("note movement0center",0,-300,2,'smoothStepInOut')
	noteTweenX("note movement1center",1,-310,2,'smoothStepInOut')
	noteTweenX("note movement2center",2,-320,2,'smoothStepInOut')
	noteTweenX("note movement3center",3,-330,2,'smoothStepInOut')
	noteTweenX("note movement4center",4,500,3,'smoothStepInOut')
	noteTweenX("note movement5center",5,620,3,'smoothStepInOut')
	noteTweenX("note movement6center",6,740,3,'smoothStepInOut')
	noteTweenX("note movement7center",7,860,3,'smoothStepInOut')

end
if curStep > 303 then
	for i = 4,7 do
		setPropertyFromGroup('strumLineNotes', i, 'y',200)
		runTimer("upndown", 1, 1)
	end
	OnTimerCompleted("upndown", 1, 0)
	for i = 4,7 do
		setPropertyFromGroup('strumLineNotes', i, 'y',100)
	end

end

end
function onUpdatePost(elapsed)
-- end of "update"
end
function onStartCountdown()
-- countdown started, duh
-- return Function_Stop if you want to stop the countdown from happening (Can be used to trigger dialogues and stuff! You can trigger the countdown with startCountdown())
return Function_Continue;
end
function onCountdownTick(counter)
-- counter = 0 -> "Three"
-- counter = 1 -> "Two"
-- counter = 2 -> "One"
-- counter = 3 -> "Go!"
-- counter = 4 -> Nothing happens lol, tho it is triggered at the same time as onSongStart i think
end
function onSongStart()
for i = 0,7 do
x = getPropertyFromGroup('strumLineNotes', i, 'x')
    y = getPropertyFromGroup('strumLineNotes', i, 'y')

    table.insert(defaultNotePos, {x,y})
end

end
function onEndSong()
-- song ended/starting transition (Will be delayed if you're unlocking an achievement)
-- return Function_Stop to stop the song from ending for playing a cutscene or something.
return Function_Continue;
end
-- Substate interactions
function onPause()
-- Called when you press Pause while not on a cutscene/etc
-- return Function_Stop if you want to stop the player from pausing the game
return Function_Continue;
end
function onResume()
-- Called after the game has been resumed from a pause (WARNING: Not necessarily from the pause screen, but most likely is!!!)
end
function onGameOver()
-- You died! Called every single frame your health is lower (or equal to) zero
-- return Function_Stop if you want to stop the player from going into the game over screen
return Function_Continue;
end
function onGameOverConfirm(retry)
-- Called when you Press Enter/Esc on Game Over
-- If you've pressed Esc, value "retry" will be false
end
-- Dialogue (When a dialogue is finished, it calls startCountdown again)
function onNextDialogue(line)
-- triggered when the next dialogue line starts, dialogue line starts with 1
end
function onSkipDialogue(line)
-- triggered when you press Enter and skip a dialogue line that was still being typed, dialogue line starts with 1
end
-- Note miss/hit
function goodNoteHit(id, direction, noteType, isSustainNote)
-- Function called when you hit a note (after note hit calculations)
-- id: The note member id, you can get whatever variable you want from this note, example: "getPropertyFromGroup('notes', id, 'strumTime')"
-- noteData: 0 = Left, 1 = Down, 2 = Up, 3 = Right
-- noteType: The note type string/tag
-- isSustainNote: If it's a hold note, can be either true or false
end
function opponentNoteHit(id, direction, noteType, isSustainNote)
-- Works the same as goodNoteHit, but for Opponent's notes being hit
end
function noteMissPress(direction)
-- Called after the note press miss calculations
-- Player pressed a button, but there was no note to hit (ghost miss)
end
function noteMiss(id, direction, noteType, isSustainNote)
-- Called after the note miss calculations
-- Player missed a note by letting it go offscreen
end
-- Other function hooks
function onRecalculateRating()
-- return Function_Stop if you want to do your own rating calculation,
-- use setRatingPercent() to set the number on the calculation and setRatingString() to set the funny rating name
-- NOTE: THIS IS CALLED BEFORE THE CALCULATION!!!
return Function_Continue;
end
function onMoveCamera(focus)
if focus == 'boyfriend' then
-- called when the camera focus on boyfriend
elseif focus == 'dad' then
-- called when the camera focus on dad
end
end
-- Event notes hooks
function onEvent(name, value1, value2)
-- event note triggered
-- triggerEvent() does not call this function!!
-- print('Event triggered: ', name, value1, value2);

end
function eventEarlyTrigger(name)
--[[
Here's a port of the Kill Henchmen early trigger but on Lua instead of Haxe:
if name == 'Kill Henchmen'
	return 280;

This makes the "Kill Henchmen" event be triggered 280 miliseconds earlier so that the kill sound is perfectly timed with the song
]]--

-- write your shit under this line, the new return value will override the ones hardcoded on the engine

end
-- Tween/Timer hooks
function onTweenCompleted(tag)
-- A tween you called has been completed, value "tag" is it's tag
end
function onTimerCompleted(tag, loops, loopsLeft)
-- A loop from a timer you called has been completed, value "tag" is it's tag
-- loops = how many loops it will have done when it ends completely
-- loopsLeft = how many are remaining
end
function onCheckForAchievement(name)
--deals with achievement checks

--EX:

--[[
if name == 'sick-full-combo' and getProperty('bads') == 0 and getProperty('goods') == 0 and getProperty('shits') == 0 and getProperty('endingSong') then
return Function_Continue
end
if name == 'bad-health-finish' and getProperty('health') < 0.01 and getProperty('endingSong') then
return Function_Continue
end
if name == 'halfway' and getSongPosition >  getPropertyFromClass('flixel.FlxG','sound.music.length')/2 then
return Function_Continue
end
]]--

end

didnt worked
local defaultNotePos = {};
local spin = true;
local arrowMoveX = 5;
local arrowMoveY = 5;
local x = 0;
local y = 0;
function onCreate()

end

function onCreatePost()
	debugPrint("CHART AND MODCHART MADE BY DYBATUBEMUSIC")
	valuecamHud = 180
	doTweenAngle('bruh', 'camHUD', valuecamHud, 0.01, 'linear')
end

function onDestroy()
	-- triggered when the lua file is ended (Song fade out finished)
end

-- Gameplay/Song interactions
function onBeatHit()
	-- triggered 4 times per section
end

function onStepHit()

end

function onUpdate(elapsed)
	songPos = getPropertyFromClass('Conductor', 'songPosition');

	currentBeat = (songPos / 1000) * (bpm / 60)
	setProperty('window.x', windowX + math.sin(currentBeat) * 15)--X axis
	setProperty('window.y', windowY + math.cos(currentBeat) * 15)--Y axis
	setProperty('window.width', windowW + math.sin(currentBeat) * 15)--height
	setProperty('window.height', windowH + math.sin(currentBeat) * 15)--height
	if curStep == 100 then
		valuecamHud = 0;
		doTweenAngle('bruh', 'camHUD', valuecamHud, 5, 'smoothStepInOut');
	end
	if curStep > 157 and curStep < 273 then
		for i = 0,7 do
			setPropertyFromGroup('strumLineNotes', i, 'x', defaultNotePos[i + 1][1] + arrowMoveX * math.sin((currentBeat + i*0.25) * math.pi))
			setPropertyFromGroup('strumLineNotes', i, 'y', defaultNotePos[i + 1][2] + arrowMoveY * math.cos((currentBeat + i*0.25) * math.pi))
		end
	end
	if curStep == 273 then
		noteTweenX("note movement0center",0,-300,2,'smoothStepInOut')
		noteTweenX("note movement1center",1,-310,2,'smoothStepInOut')
		noteTweenX("note movement2center",2,-320,2,'smoothStepInOut')
		noteTweenX("note movement3center",3,-330,2,'smoothStepInOut')
		noteTweenX("note movement4center",4,500,3,'smoothStepInOut')
		noteTweenX("note movement5center",5,620,3,'smoothStepInOut')
		noteTweenX("note movement6center",6,740,3,'smoothStepInOut')
		noteTweenX("note movement7center",7,860,3,'smoothStepInOut')

	end
	if curStep > 303 then
		for i = 4,7 do
			setPropertyFromGroup('strumLineNotes', i, 'y',200)
			runTimer("upndown", 1, 1)
		end
		OnTimerCompleted("upndown", 1, 0)
		for i = 4,7 do
			setPropertyFromGroup('strumLineNotes', i, 'y',100)
		end

	end

end
function onUpdatePost(elapsed)
	-- end of "update"
end

function onStartCountdown()
	-- countdown started, duh
	-- return Function_Stop if you want to stop the countdown from happening (Can be used to trigger dialogues and stuff! You can trigger the countdown with startCountdown())
	return Function_Continue;
end

function onCountdownTick(counter)
	-- counter = 0 -> "Three"
	-- counter = 1 -> "Two"
	-- counter = 2 -> "One"
	-- counter = 3 -> "Go!"
	-- counter = 4 -> Nothing happens lol, tho it is triggered at the same time as onSongStart i think
end

function onSongStart()
    for i = 0,7 do
        x = getPropertyFromGroup('strumLineNotes', i, 'x')

        y = getPropertyFromGroup('strumLineNotes', i, 'y')

        table.insert(defaultNotePos, {x,y})
    end
end

function onEndSong()
	-- song ended/starting transition (Will be delayed if you're unlocking an achievement)
	-- return Function_Stop to stop the song from ending for playing a cutscene or something.
	return Function_Continue;
end

-- Substate interactions
function onPause()
	-- Called when you press Pause while not on a cutscene/etc
	-- return Function_Stop if you want to stop the player from pausing the game
	return Function_Continue;
end

function onResume()
	-- Called after the game has been resumed from a pause (WARNING: Not necessarily from the pause screen, but most likely is!!!)
end

function onGameOver()
	-- You died! Called every single frame your health is lower (or equal to) zero
	-- return Function_Stop if you want to stop the player from going into the game over screen
	return Function_Continue;
end

function onGameOverConfirm(retry)
	-- Called when you Press Enter/Esc on Game Over
	-- If you've pressed Esc, value "retry" will be false
end

-- Dialogue (When a dialogue is finished, it calls startCountdown again)
function onNextDialogue(line)
	-- triggered when the next dialogue line starts, dialogue line starts with 1
end

function onSkipDialogue(line)
	-- triggered when you press Enter and skip a dialogue line that was still being typed, dialogue line starts with 1
end

-- Note miss/hit
function goodNoteHit(id, direction, noteType, isSustainNote)
	-- Function called when you hit a note (after note hit calculations)
	-- id: The note member id, you can get whatever variable you want from this note, example: "getPropertyFromGroup('notes', id, 'strumTime')"
	-- noteData: 0 = Left, 1 = Down, 2 = Up, 3 = Right
	-- noteType: The note type string/tag
	-- isSustainNote: If it's a hold note, can be either true or false
end

function opponentNoteHit(id, direction, noteType, isSustainNote)
	-- Works the same as goodNoteHit, but for Opponent's notes being hit
end

function noteMissPress(direction)
	-- Called after the note press miss calculations
	-- Player pressed a button, but there was no note to hit (ghost miss)
end

function noteMiss(id, direction, noteType, isSustainNote)
	-- Called after the note miss calculations
	-- Player missed a note by letting it go offscreen
end

-- Other function hooks
function onRecalculateRating()
	-- return Function_Stop if you want to do your own rating calculation,
	-- use setRatingPercent() to set the number on the calculation and setRatingString() to set the funny rating name
	-- NOTE: THIS IS CALLED BEFORE THE CALCULATION!!!
	return Function_Continue;
end

function onMoveCamera(focus)
	if focus == 'boyfriend' then
		-- called when the camera focus on boyfriend
	elseif focus == 'dad' then
		-- called when the camera focus on dad
	end
end

-- Event notes hooks
function onEvent(name, value1, value2)
	-- event note triggered
	-- triggerEvent() does not call this function!!

	-- print('Event triggered: ', name, value1, value2);
end

function eventEarlyTrigger(name)
	--[[
	Here's a port of the Kill Henchmen early trigger but on Lua instead of Haxe:

	if name == 'Kill Henchmen'
		return 280;

	This makes the "Kill Henchmen" event be triggered 280 miliseconds earlier so that the kill sound is perfectly timed with the song
	]]--

	-- write your shit under this line, the new return value will override the ones hardcoded on the engine
end

-- Tween/Timer hooks
function onTweenCompleted(tag)
	-- A tween you called has been completed, value "tag" is it's tag
end

function onTimerCompleted(tag, loops, loopsLeft)
	-- A loop from a timer you called has been completed, value "tag" is it's tag
	-- loops = how many loops it will have done when it ends completely
	-- loopsLeft = how many are remaining
end
function onCheckForAchievement(name)

	--deals with achievement checks

	--EX:
--[[
  if name == 'sick-full-combo' and getProperty('bads') == 0 and getProperty('goods') == 0 and getProperty('shits') == 0 and getProperty('endingSong') then
    return Function_Continue
  end
  if name == 'bad-health-finish' and getProperty('health') < 0.01 and getProperty('endingSong') then
    return Function_Continue
  end
  if name == 'halfway' and getSongPosition >  getPropertyFromClass('flixel.FlxG','sound.music.length')/2 then
    return Function_Continue
  end

	]]--
end

Weird.
It works for me.
Is only the game window movement not working?

i try to compile the pull modifications and it receives a GIANT error

i try to compile the pull modifications and it receives a GIANT error

This might be because I haven't updated it to the new code.
I probably need to do that.
But can you still show me the error

let me find it
Em seg., 17 de jan. de 2022 às 16:09, lemz1 @.***>
escreveu:

i try to compile the pull modifications and it receives a GIANT error
This might be because I haven't updated it to the new code.
I probably need to do that.
But can you still show me the error
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/pull/3473#issuecomment-1014823132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATHZQVLXCT34AHVKEYEM663UWRSOZANCNFSM5LZLN2MA
.
You are receiving this because you commented.Message ID:
@.***>

#3683

Hi I made it possible to move the game-window in lua. I also made it move to its original width,height (x,y can be enabled if wanted) after the song was restarted or exited. The movement only works in window mode, so not in fullscreen
You can move the game-window in Lua by using, for example, this code:
function onUpdate()

    songPos = getSongPosition()
    local currentBeat = (songPos/1000)*(bpm/60)
        setProperty('window.x', windowX + math.sin(currentBeat) * 15)--X axis
        setProperty('window.y', windowY + math.cos(currentBeat) * 15)--Y axis
        setProperty('window.width', windowW + math.sin(currentBeat) * 15)--height
        setProperty('window.height', windowH + math.sin(currentBeat) * 15)--height

end

[width and height have a huge performance issue when using the game-capture in a video-recording-software, because the window size is being updated in the video-recording-software. Using the screen capture fixes the performance issue.]
Issue that still needs to be fixed if too bad
the fps display number keeps getting higher when using any width or height movement. The number resets when the game is paused or the song is exited the fps display number gets a little bit higher when using width or height, but it doesn't keep getting higher.

Yooo thanks so much! But, what .LUA do I download to use this?

Hi I made it possible to move the game-window in lua. I also made it move to its original width,height (x,y can be enabled if wanted) after the song was restarted or exited. The movement only works in window mode, so not in fullscreen
You can move the game-window in Lua by using, for example, this code:
function onUpdate()

    songPos = getSongPosition()
    local currentBeat = (songPos/1000)*(bpm/60)
        setProperty('window.x', windowX + math.sin(currentBeat) * 15)--X axis
        setProperty('window.y', windowY + math.cos(currentBeat) * 15)--Y axis
        setProperty('window.width', windowW + math.sin(currentBeat) * 15)--height
        setProperty('window.height', windowH + math.sin(currentBeat) * 15)--height

end

[width and height have a huge performance issue when using the game-capture in a video-recording-software, because the window size is being updated in the video-recording-software. Using the screen capture fixes the performance issue.]
Issue that still needs to be fixed if too bad
the fps display number keeps getting higher when using any width or height movement. The number resets when the game is paused or the song is exited the fps display number gets a little bit higher when using width or height, but it doesn't keep getting higher.

Yooo thanks so much! But, what .LUA do I download to use this?

You need to put it inside a script.lua file, which needs to be in a song folder

will you help me? Em ter., 18 de jan. de 2022 às 07:01, Coconut7 @.> escreveu:
…
Hi I made it possible to move the game-window in lua. I also made it move to its original width,height (x,y can be enabled if wanted) after the song was restarted or exited. The movement only works in window mode, so not in fullscreen You can move the game-window in Lua by using, for example, this code: function onUpdate() songPos = getSongPosition() local currentBeat = (songPos/1000)(bpm/60) setProperty('window.x', windowX + math.sin(currentBeat) * 15)--X axis setProperty('window.y', windowY + math.cos(currentBeat) * 15)--Y axis setProperty('window.width', windowW + math.sin(currentBeat) * 15)--height setProperty('window.height', windowH + math.sin(currentBeat) * 15)--height end [width and height have a huge performance issue when using the game-capture in a video-recording-software, because the window size is being updated in the video-recording-software. Using the screen capture fixes the performance issue.] Issue that still needs to be fixed if too bad the fps display number keeps getting higher when using any width or height movement. The number resets when the game is paused or the song is exited the fps display number gets a little bit higher when using width or height, but it doesn't keep getting higher. Yooo thanks so much! But, what .LUA do I download to use this? — Reply to this email directly, view it on GitHub <#3473 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATHZQVIN5FT4KLVAR66NHV3UWU3ADANCNFSM5LZLN2MA . You are receiving this because you commented.Message ID: @.*>

I looked at your first error and it says that in line 92 PlayState, ShaderEffect isn't found, so I guess that you don't have the latest version of PsychEngine.
Try updating to the newest version or just download the code from my fork

I will try it...

IT WORKS!

Noice, now to try figuring out how to make this an event to use in the chart editor

Noice, now to try figuring out how to make this an event to use in the chart editor

simple make a event thing with lua and make the 2 parameters newx and new y then make it so when the event move window (it can be called anything)
test

Noice, now to try figuring out how to make this an event to use in the chart editor

here some code i made
-- Event notes hooks
config_event_name = 'move window'
config_type = 'add x/y' --can be (add x/y) or (set x/y)

function onEvent(name, value1, value2)
	if name == config_event_name then

	if config_type == 'add x/y' then
		setProperty('window.x', getProperty('window.x') + value1)
		setProperty('window.y', getProperty('window.y') + value2)
	elseif config_type == 'set x/y' then
		setProperty('window.x', value1)
		setProperty('window.x', value2)
	end

end

Noice, now to try figuring out how to make this an event to use in the chart editor

i made one for yall
config_event_name = 'move window'
config_type = 'add x/y' --can be (add x/y) or (set x/y)

function onEvent(name, value1, value2)
	if name == config_event_name then

	if config_type == 'add x/y' then
		setProperty('window.x', getProperty('window.x') + value1)
		setProperty('window.y', getProperty('window.y') + value2)
	elseif config_type == 'set x/y' then
		setProperty('window.x', value1)
		setProperty('window.x', value2)
	end

end

end

Noice, now to try figuring out how to make this an event to use in the chart editor

i made one for yall
config_event_name = 'move window'
config_type = 'add x/y' --can be (add x/y) or (set x/y)

function onEvent(name, value1, value2)
	if name == config_event_name then

	if config_type == 'add x/y' then
		setProperty('window.x', getProperty('window.x') + value1)
		setProperty('window.y', getProperty('window.y') + value2)
	elseif config_type == 'set x/y' then
		setProperty('window.x', value1)
		setProperty('window.x', value2)
	end

end

end

Oof, nice, this saved me a lot of time making one myself, cause i’m still learning how all this shit works lol, mind if I use this if I credit you?

Noice, now to try figuring out how to make this an event to use in the chart editor

i made one for yall
config_event_name = 'move window'
config_type = 'add x/y' --can be (add x/y) or (set x/y)

function onEvent(name, value1, value2)
	if name == config_event_name then

	if config_type == 'add x/y' then
		setProperty('window.x', getProperty('window.x') + value1)
		setProperty('window.y', getProperty('window.y') + value2)
	elseif config_type == 'set x/y' then
		setProperty('window.x', value1)
		setProperty('window.x', value2)
	end

end

end

Oof, nice, this saved me a lot of time making one myself, cause i’m still learning how all this shit works lol, mind if I use this if I credit you?

np


Add new platform: Ameba D

Problem
Add new platform Ameba D
Change overview
Added AmebaD into the Device Layer
Supported all-cluster-app example for AmebaD
Provided README file for all-cluster-app example
Provided build.sh file for building the example
Testing
Tested all-cluster-app example with standalone chip-tool over WIFI.

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

Hi, the memory leakage issues have been fixed and the return messages have been updated.
May I know if there are more key issues that need to be addressed? So that we can push this PR forward.
Many thanks!

Hi @woody-apple ,
May we know what to do next to continue the review?
Thanks!

Hi @mspang,
May I know what are we still lacking from being merged?
Thanks!

@pankore My apologies, at this point there are a couple conflicts, and I do see some unresolved comments from @andy31415 ?

@pankore My apologies, at this point there are a couple conflicts, and I do see some unresolved comments from @andy31415 ?
I see, thanks!
As I checked, the unresolved comments are for adding the description for the TODOs. Since some of them are referred from other platforms in order to match the common format. The purpose of those functions are not always clear. But let us try to fix that.
As for the conflicting files, since it is from long time ago, let us try to rebase it. Also please kindly let us know if there is a better way to resolve the confliction.
Moreover, may we check if there are any other issues that could block the process of being merged?
Many thanks!

@pankore My apologies, at this point there are a couple conflicts, and I do see some unresolved comments from @andy31415 ?

I see, thanks!
As I checked, the unresolved comments are for adding the description for the TODOs. Since some of them are referred from other platforms in order to match the common format. The purpose of those functions are not always clear. But let us try to fix that.
As for the conflicting files, since it is from long time ago, let us try to rebase it. Also please kindly let us know if there is a better way to resolve the confliction.
Moreover, may we check if there are any other issues that could block the process of being merged?
Many thanks!

@saurabhst @Damian-Nordic @msandstedt ?
@pankore Are you able to fix the merge conflicts? I can take it from there. Thanks!

@saurabhst @Damian-Nordic @msandstedt ?
@pankore Are you able to fix the merge conflicts? I can take it from there. Thanks!

@saurabhst @Damian-Nordic @msandstedt ?
@pankore Are you able to fix the merge conflicts? I can take it from there. Thanks!

Hi @woody-apple , I have just rebased the PR up to yesterday night and it seems to include hundreds more of file changes. Is it still reviewable? If not, I will raise another PR with clearer commits and refer to this PR.
Thanks


Fix race in acquire

The assumption for moving items was that once item is unmarked no one can add new waiters for that item. However, since incrementing item ref count was not done under the MoveMap lock, there was a race: item could have been unmarked right after incRef returned incFailedMoving.

This change is

It would be good to run a few long-running benchmarks to make sure this fixes the issue

I can confirm no impact on performance for leader and follower workloads.

@vinser52 I confirmed with @guptask that the patch works on his DSA branch - however we are now hitting a runtime error now with DSA that is unrelated to the race condition. We confirmed that his branch works by just using memcpy in place of DSA calls with this patch.

So, in that case, I believe we can merge this PR?


ROMFS: holybro s500 decrease filter defaults

This was problematic on @dakejahl's (stock?) holybro s500. Decreasing to a safer conservative default.

Ok, I'll merge this immediately for safety, but we can take another pass to dial it in later with better logs on hand.
Thanks.


Example how to make assertion more should.js way

Do not need to merge this. It is just example how to make assertions more should.js way.
In attr assertion case message changed to look like:
'expected 'div' to have attribute 'title' with value ''stuff' (found ''enzyme'')'
    expected 'enzyme' to be 'stuff''

probably this require some cleaning.
Thoughts?

@btd thank you for taking the time to look at this. I am thinking of doing something similar to this. As you say should has been design to assert on truthy and handle the negation internally.
I've been thinking about the assertion failure messaging and I think I will be able to confine them to shoulds params.
However I thought it might be worth sharing an experiment of overriding the AssertionError generateMessage method :D. I'm not going to release this but found it an interesting solution. https://github.com/rkotze/should-enzyme/blob/master/src/assertions/assertion-builder.js#L34


operator: log timestamp format

Hi.
Is it possible to set timestamp format in the logs for VM operator (for example, ISO8601)? Or customize the logs?
The operator uses zap for logging. Can I use the flag zap-time-encoding?
Or it can`t be done after https://github.com/VictoriaMetrics/operator/issues/963 ?

Hello, it should be already possible with command-line flag --zap-time-encoding.
--zap-time-encoding time-encoding                  Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). Defaults to 'epoch'.

Thanks.
I see that in v0.45.0 were made these changes: "expose only command-line flags related to the operator"
In next versions we can again use other command-line flags? Because I don`t these changes in master.
v0.45.0:
https://github.com/VictoriaMetrics/operator/blob/310a8600610fd9bca96248c12f25f6895038f6ed/internal/manager/manager.go#L43
https://github.com/VictoriaMetrics/operator/blob/310a8600610fd9bca96248c12f25f6895038f6ed/internal/manager/manager.go#L89
master:
https://github.com/VictoriaMetrics/operator/blob/ffe2ffbb5f19bd333a86c6a6eca4b11f8bad5ead/internal/manager/manager.go#L88

Thanks. I see that in v0.45.0 were made these changes: "expose only command-line flags related to the operator" In next versions can we again use other command-line flags? Because I don`t see these changes in master.
v0.45.0:
https://github.com/VictoriaMetrics/operator/blob/310a8600610fd9bca96248c12f25f6895038f6ed/internal/manager/manager.go#L43
https://github.com/VictoriaMetrics/operator/blob/310a8600610fd9bca96248c12f25f6895038f6ed/internal/manager/manager.go#L89
master:
https://github.com/VictoriaMetrics/operator/blob/ffe2ffbb5f19bd333a86c6a6eca4b11f8bad5ead/internal/manager/manager.go#L88

Related commit removed flags exposed by VM transitive dependencies. It's still possible to use any other cmd flags exposed by operator. Such as --zap-time-encoding

Ok, thank you!


Incomplete Testing

Hi there, Currently I've seen that it have very limited testing, usually all of the functions are just checked if they are being called however, in real scenarios, It is not sufficient.

Hi @syed-bilal-bukhari, thanks for pointing out. However, this being a merely template, I do not sense much of an urgency in divulging into detailed testing scenarios. Feel free to drop in PR if you have one.


Pre/post-api-helper.sh: /bin/bash^M: bad interpreter: No such file or directory

AFT Version:
1.10.3
Terraform Version & Provider Versions
terraform version
v1.5.5

terraform providers
provider "aws" {
  region = "ap-southeast-1"
  assume_role {
    role_arn    = "arn:aws:iam::950713057106:role/AWSAFTExecution"
  }
  default_tags {
    tags = {
      managed_by                  = "AFT"
    }
  }
}

Bug Description
This is the error that I see in the global customisation CodeBuild for one of my account's CodePipeline.
/codebuild/output/tmp/script.sh: /codebuild/output/src1872811563/src/api_helpers/pre-api-helpers.sh: /bin/bash^M: bad interpreter: No such file or directory
Previously, when I ran the global customisations via invoke_customisation step function a month ago, I did not face this issue.
To Reproduce
Steps to reproduce the behavior:

Clone this repo
Create account in aft-account-request and push code such that the account is created and enrolled in AWS Control Tower
Create global/account-level customisations by creating the respective TF scripts in aft-account-customizations and aft-global-customizations repositories by following the templates available. Then push code.
Invoking the respective step function to apply global- and account-level customisations onto the accounts that I specified in the step function invocation input.
Wait for step function to invoke the correct accounts' CodePipelines and apply terraform.

Expected behavior
It is suppose to succeed and echo "Executing Pre-API Helpers" or echo "Executing Post-API Helpers" according to the CodeBuild stage.
Related Logs
166 | [Container] 2023/11/20 06:20:46.038078 Phase complete: INSTALL State: SUCCEEDED
167 | [Container] 2023/11/20 06:20:46.038092 Phase context status code:  Message:
168 | [Container] 2023/11/20 06:20:46.083943 Entering phase PRE_BUILD
169 | [Container] 2023/11/20 06:20:46.084875 Running command source $DEFAULT_PATH/api-helpers-venv/bin/activate
170 |
171 | [Container] 2023/11/20 06:20:46.091793 Running command export AWS_PROFILE=aft-target
172 |
173 | [Container] 2023/11/20 06:20:46.097911 Running command ls $DEFAULT_PATH
174 | README.md
175 | aft-venv
176 | api-helpers-venv
177 | api_helpers
178 | aws-aft-core-framework
179 | execution-input-sample.txt
180 | terraform
181 |
182 | [Container] 2023/11/20 06:20:46.107345 Running command ls $DEFAULT_PATH/api_helpers
183 | post-api-helpers.sh
184 | pre-api-helpers.sh
185 | python
186 |
187 | [Container] 2023/11/20 06:20:46.114707 Running command $DEFAULT_PATH/api_helpers/pre-api-helpers.sh
188 | /codebuild/output/tmp/script.sh: /codebuild/output/src1872811563/src/api_helpers/pre-api-helpers.sh: /bin/bash^M: bad interpreter: No such file or directory
189 |
190 | [Container] 2023/11/20 06:20:46.121156 Command did not exit successfully $DEFAULT_PATH/api_helpers/pre-api-helpers.sh exit status 126
191 | [Container] 2023/11/20 06:20:46.126628 Phase complete: PRE_BUILD State: FAILED_WITH_CONTINUE
192 | [Container] 2023/11/20 06:20:46.126646 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: $DEFAULT_PATH/api_helpers/pre-api-helpers.sh. Reason: exit status 126
Additional context
When I invoked the step functions a month ago, I did not face this issue and it successfully ran the .sh scripts and echoed the correct statements. However, when I invoked it this week, it keeps stating that /bin/bash^M: bad interpreter: No such file or directory, even when I specifically ls to show that the directory and files exist.
I read on stackoverflow that rather than missing directory/file issue, it could be the interpreter issue.
Hence, I have also included the .sh script below for further elaboration:
#!/bin/bash
# Copyright Amazon.com, Inc. or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
echo "Executing Pre-API Helpers"

Why am I facing this error and how do I resolve this issue such that the CodeBuild would run correctly (perhaps without using dos2unix)? Thanks alot in advance.

Hi @jenniupdates,
From the provided error logs:
188 | /codebuild/output/tmp/script.sh: /codebuild/output/src1872811563/src/api_helpers/pre-api-helpers.sh: /bin/bash^M: bad interpreter: No such file or directory

There appears to be an extra carriage return character ^M at the end of the failing interpreter path, i.e. /bin/bash^M.
Can you check that the shebang header #!/bin/bash in your pre-api-helpers script does not have this carriage return character?

It does have the #!/bin/bash.
What should I replace it with or should I remove it?

#!/bin/bash tells the system what interpreter to use, so keep the string itself, but ensure there is no carriage return character following it.

OHH okay I realised it was using CRLF because I was running on a Windows, switched it back to LF and the CodePipeline finally works, thank you!


mirror and index in one easy operation

Convenience target to run mirror and index; documented in the CICD build notes:
https://docs.google.com/document/d/1VTCZhVwNSA5V6i2dQiDXjX-426c4E1UqMZU9rT5czng/edit#heading=h.dm3g7kkvh7xr

Looks good to me, LGTM!


incorrect link

the provided link is for Azure Portal, not for Azure AD Portal

@kelleyvice-msft Please merge this PR. Thanks


[11.x] Allow list of rate limiters without requiring unique keys

This PR ensures that rate limiters specifying multiple limits will always have unique keys.
The issue.
RateLimiter::for('limiter-name', fn () => [
    Limit::perSecond(1),
    Limit::perMinute(30),
]);

This rate limiter will always fail. No request would ever get through. Zero. Nada.
This is because both limits share the same key. The docs specify that If you're assigning multiple rate limits segmented by identical by values, you should ensure that each by value is unique

This is fine, but also can be something easily forgotten; bit of a footgun.
The improvement
This PR attempts to improve the situation by ensuring that when a list of limits has duplicate keys they are modified to be unique.
RateLimiter::for('limiter-name', fn () => [
    Limit::perSecond(1),
    Limit::perMinute(30)->by(Auth::user()),
    Limit::perDay(500),
]);

In this above example, the first and the last limits would have their key modified to be unique.
Although this is a breaking change, it only breaks in already broken situations, so I see this as an overall improvement.
I don't feel like we need to update the docs. This is just a fallback fix for those rare times it is held wrong.

fixes https://github.com/laravel/framework/issues/53157

@gcg wasn't this PR all about that you no longer need to give unique names?

@gcg wasn't this PR all about that you no longer need to give unique names?

Still did not test ALL possible combinations but I was using the exact same example w/out giving unique names and after this PR, those 2 limiters that returns multiple limits in an array w/out unique names started failing all requests.
I will share more information but giving unique key names manually seems to be working and it's clearly documented so I am in the blame here :) I am reporting live here just in case it happens to someone else.

Thanks for letting us know, @gcg.
Please let us know what you find out. My gut feeling is that your previous set up, sharing the same keys, was likely not working as expected even if it seemed to be working.
Keep me posted.

And sorry for the troubles!

Please let us know what you find out. My gut feeling is that your previous set up, sharing the same keys, was likely not working as expected even if it seemed to be working.

yeah, you are probably right. I had 2 limiters that returns list limits, one of them is so rarely use and the other route has it's own custom rate limits built in predating laravel mw, even if the ratelimiter didn't work before for that case, I probably didn't notice and only noticed once we started failing requests.

Keep me posted.

I redeployed rate limiters after uniquely naming everything and now it's back to normal.

And sorry for the troubles!

It's not your fault that I missed the warning in the documentation, as u stated, it wasn't probably working as it should from the beginning.


Expected number between 1 and 100000 for density but received 0.5625 of type number

https://github.com/oleeskild/digitalgarden/issues/161#issue-1720210146
/opt/build/repo/src/site/_includes/components/pageheader.njk

34
35 {% favicons './src/site/favicon.svg', appleIconBgColor='#123' %}
36

6:06:49 PM: [11ty] Template render error: (/opt/build/repo/src/site/_includes/components/pageheader.njk)
6:06:49 PM: [11ty] EleventyShortcodeError: Error with Nunjucks shortcode favicons (via Template render error)
6:06:49 PM: [11ty] 3. Expected number between 1 and 100000 for density but received 0.5625 of type number (via Template render error)
6:06:49 PM: [11ty]
6:06:49 PM: [11ty] Original error stack trace: Error: Expected number between 1 and 100000 for density but received 0.5625 of type number
6:06:49 PM: [11ty] at Object.invalidParameterError (/opt/build/repo/node_modules/eleventy-plugin-gen-favicons/node_modules/sharp/lib/is.js:124:10)
6:06:49 PM: [11ty] at Sharp._createInputDescriptor (/opt/build/repo/node_modules/eleventy-plugin-gen-favicons/node_modules/sharp/lib/input.js:92:18)
6:06:49 PM: [11ty] at new Sharp (/opt/build/repo/node_modules/eleventy-plugin-gen-favicons/node_modules/sharp/lib/constructor.js:341:29)
6:06:49 PM: [11ty] at Sharp (/opt/build/repo/node_modules/eleventy-plugin-gen-favicons/node_modules/sharp/lib/constructor.js:169:12)
6:06:49 PM: [11ty] at resizedSharp (/opt/build/repo/node_modules/eleventy-plugin-gen-favicons/favicon-gen.js:34:10)
6:06:49 PM: [11ty] at /opt/build/repo/node_modules/eleventy-plugin-gen-favicons/favicon-gen.js:41:33
6:06:49 PM: [11ty] at Array.map ()
6:06:49 PM: [11ty] at icoBuf (/opt/build/repo/node_modules/eleventy-plugin-gen-favicons/favicon-gen.js:41:20)
6:06:49 PM: [11ty] at module.exports (/opt/build/repo/node_modules/eleventy-plugin-gen-favicons/favicon-gen.js:92:7)
6:06:49 PM: [11ty] at async Object. (/opt/build/repo/node_modules/eleventy-plugin-gen-favicons/index.js:25:28)
6:06:50 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
6:06:49 PM: [11ty] Copied 29 files / Wrote 0 files in 0.42 seconds (v2.0.1)
6:06:49 PM: ERROR: "build:eleventy" exited with 1.
6:06:49 PM:
6:06:49 PM: "build.command" failed
6:06:49 PM: ────────────────────────────────────────────────────────────────

The .svg file used.

It looks like the underlying issue may be that the svg is not square: https://github.com/oleeskild/digitalgarden/issues/161#issuecomment-1712891613
I can look into whether there is either a solution for this or whether I can at least provide a better error message.


Register-PSRepository does not save basic auth credentials, Publish-Module does not work against repository with basic authentication

This is a follow up for #60
Steps to reproduce
We set up a Nuget.Server based on https://github.com/NuGet/NuGet.Server. We secured it with basic authentication to make the packages accessible only for authenticated users based on this guide. So it's basically a standard Nuget-Server with activated HTTP basic authentication. Install-Module, Find-Module and so on works perfectly fine. But Publish-Module fails.
$cred = Get-Credential
#enter the credentials which are neccessary to pass the basic authentication
Register-PSRepository -Name reponame -SourceLocation "<URL to the private repo>" -PublishLocation "<URL to the repo>" -Credential $cred
Publish-Module  -Repository reponame -Path <path to the module which should be published> -NuGetApiKey <API Key> -Credential $cred

Expected behavior
The module should be published/pushed to the Nuget-Server.

Actual behavior
Publish-PSArtifactUtility : Failed to publish module '<modulename>': 'Cannot prompt for input in non-interactive mode.
".
In C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:1227 char:17
+                 Publish-PSArtifactUtility -PSModuleInfo $moduleInfo `
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : FailedToPublishTheModule,Publish-PSArtifactUtility

Additional notices and workaround
When doing the above steps with "plain" nuget.exe I was able to push to the repo even with basic authentication enabled. Steps to do that
$cred = Get-Credential
nuget source add -Name reponame -Source <URL to the repo> -User $cred.UserName -Pass $cred.GetNetworkCredential().Password
nuget push <path to built .nupkg> -apikey <API key> -Source reponame

This works. But be aware that username and password get written to $env:appdata\Roaming\Nuget\NuGet.Config when you register the repo via plain nuget. -Credential arg on Register-PSRepository seems to get ignored.
Following works:
nuget source add -Name testrepo -Username <Username to use on the repo for basic auth> -pass <Password to use on the repo for basic auth>

Open file $env:appdata\Roaming\Nuget\NuGet.Config and look for the repository name you registered via Reigster-PSRepository, eg. "reponame". rename the XML tags  and  to the name you use for your psrepo; in the above examples reponame. Execute
Publish-Module  -Repository reponame -Path <path to the module which should be published> -NuGetApiKey <API Key> -Credential $cred

again and you will see that pushing works.
Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.17134.590
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.590
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

> Get-Module -ListAvailable PowerShellGet,PackageManagement
Get-Module -ListAvailable PowerShellGet,PackageManagement

> Get-PackageProvider -ListAvailable
Name                     Version          DynamicOptions
----                     -------          --------------
msi                      <IP_ADDRESS>          AdditionalArguments
msu                      <IP_ADDRESS>
NuGet                    <IP_ADDRESS>        Destination, ExcludeVersion, Scope, SkipDependencies, Headers, FilterOnTag, Contains, AllowPrereleaseVersions, ConfigFile, SkipValidate
PowerShellGet            <IP_ADDRESS>          PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, InstallUpdate, NoPathUpdate, Filter, Tag, Includes, DscResource, RoleC...
Programs                 <IP_ADDRESS>          IncludeWindowsInstaller, IncludeSystemComponent

Hi guys, I am facing the same issue. Would be great to have this one fixed soon.

@Stephanevg have You seen the workaround I described in the issue under "additional notices and workaround" and you could use in the meantime?

I did saw it. Thanks. But of course, I would like to have to avoid to use workarounds ;)
It would be nice to have a statement from Microsoft that indeed, somebody is looking at this, and wil write a fix for this.


added success icon on copy of code and tailwind

👋  Hello HypeColor,
I stumbled across your website and have been using it a fair bit today, I constantly do keep getting tripped up when I click copy and it doesn't have a confirmation of some kind.
I have gone ahead and attempted to implement the confirmation, let me know what you thin 😄

I like this @Jamesdinnes, great work! 🙌
I'd like to go the approach of a toast notification, I think that will be more effective and a better UI.
We could use vue-notification with some Tailwind CSS classes, what do you think? Would you be up for giving it a try?

yeah sounds good @markmead, I can do that. Where do you think the toast should display?


Fixed patch of Spring boot app starts at 8181 port and error log for api key and authtoken

Desired Outcome

Spring boot application is not running in 8181 port .
User will only get error message , Please provide Conjur Authn Token file or else api Key when not providing both of them.

Implemented Changes
Describe how the desired outcome above has been achieved with this PR. In
particular, consider:

What's changed? Why were these changes made?
How should the reviewer approach this PR, especially if manual tests are required?
Are there relevant screenshots you can add to the PR description?

Connected Issue/Story
Resolves # https://github.com/cyberark/conjur-spring-boot-sdk/issues/64
CyberArk internal issue link: https://ca-il-jira.il.cyber-ark.com:8443/browse/ONYX-23326
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[x] This PR includes new unit and integration tests to go with the code
changes, or
[ ] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: insert issue ID
[x] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[x] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[ ] There are no security aspects to these changes

Here is the Jenkins links : https://jenkins.conjur.net/view/cyberark/job/cyberark--conjur-spring-boot-sdk/job/jira23323/

@itsbrugu  , additional junits are not required as we included all necessary previously only , it was failing because of additional and operator condition  which is fixed . Now it is working fine.
jenkins pipeline link - https://jenkins.conjur.net/view/cyberark/job/cyberark--conjur-spring-boot-sdk/job/errorLogAndDefaultPortFixed/

okhttps v3.14.9 is changed to v4.10.0  in both of the pom files.


Numeric question exact match unit check improvement

Allows incorrect units to be marked as such in numeric q "exact match" checks.
/questions/orbiting_moon is a good test case - 1410 kJ is a known wrong answer, but kJ is never a correct unit (occurs in none of the correct answers). However when you give 1410 kJ as the answer, the unit isn't marked as incorrect. Funnily enough, the unit is marked as incorrect if you answer with 1410.0 kJ.

Closed in favour of https://github.com/isaacphysics/isaac-api/pull/527


[FR]: Add API Tokens support

What issue are you experiencing?
Looking for a working example using the 'API Tokens' (https://docs.strapi.io/user-docs/latest/settings/managing-global-settings.html#managing-api-tokens) rather than user JWT tokens (or whether anyone has a workaround?).
When I dig further, can see it fails in the jsonwebtoken module (verify.js, line 63) flagging that the token provided is "jwt malformed" and missing the 3 dot (.) parts of the JWT token.
Steps To Reproduce
No response
What version of the plugin are you using?
1.1.2
What strapi version are you using?
4.5.1

Thanks for the report I will need to look into this. At the moment no, it will not work with API tokens.

This should be available in v2, feel free to check it out early using the v2.0.0 branch.
NOTE: As its a major version their are breaking changes.

Something news when it would be released ?

I have not gotten much feedback on the newer version.
I will do some final testing and try and get at least an alpha of it released soon. Since their was not much feedback hopefully everything is resolved and works as expected in the newer version.

This is now possible in the lastest v2 release.


Disable communications command

As requested from @ghsher, probably disable UART for 30 minutes

to comply fully with the regulation we would have to turn off the beacon as well


FreeBSD wasm-pack support

🐛 Bug description
When installing from the wasm-pack url and install script on FreeBSD I get:
"wasm-pack-init: no precompiled binaries available for OS: FreeBSD"
I know FreeBSD is less popular and currently "Tier 2 with Host Tools" but 99% of everything else in Rust land seems to work on FreeBSD. If there's anything I can do to help make this work, point me in the right direction! Cheers!
🌍 Your environment
wasm-pack version: All
rustc version: rustc 1.59.0 (9d1b2106e 2022-02-23)

If there's anything I can do to help make this work, point me in the right direction!

As far as I can tell, it is because pre-built binaries are only released for the following platforms:

aarch64-unknown-linux-musl
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-musl

I know FreeBSD is less popular and currently "Tier 2 with Host Tools"

This shouldn't be a problem in theory, note that the linux/musl targets above are also tier 2 with host tools. However I suspect the main reason this hasn't been done yet could be related to GitHub's sore lack of hosted runners for FreeBSD, see https://github.com/actions/runner/issues/385.
But I think something like FreeBSD vmactions addresses this, if I understand correctly?


Implementing decimal support

Hi,
last week I stumbled upon an issue regarding the encoding/decoding of floating point values. As far as I can see I have to deal with all the accuracy problems of Doubles when it comes to floating point values in the current implementation.
Therefore I tried to implement the support of Decimal for encoding and decoding as contribution. Encoding went well, but when it comes to Decoding the solution is not that straightforward.
After looking into the JSONParser I understand that the parser itself is using Doubles when it comes to parsing floating point numbers.
Has anyone thought of a strategy to improve the handling of floating point numbers in Freddy yet?
Kind regards,
Alexander

@adotor I'll have a look into this.

Unfortunately, after a few attempts on our end the decoding path isn't well-defined without breaking existing clients. Freddy is in maintenance mode and only seeking to make bug fixes at the moment. Please reopen if you have more thoughts on an implementation. Thanks for the suggestion.


Exception filters cause Razor errors

If you write:
@try
{
    throw new InvalidOperationException();
}
catch (Exception e) when (e.Message.Contains("Operation is not valid"))
{
}

You get the following error:
CompilationFailedException: Compilation for 'c:\......\Index.cshtml' failed:
Expected a "{" but found a "if". Block statements must be enclosed in "{" and "}". You cannot use single-statement control-flow statements in CSHTML pages. For example, the following is not allowed:

@if(isLoggedIn)

Hello, @user

Instead, wrap the contents of the block in "{}":

@if(isLoggedIn) {

Hello, @user

}

a1df1702e5376ca3f35164c80f83033ca2b679cc


Trained model incorrect/missing for uncertainty estimation tutorial

From tutorial here, the trained model is expected to be in this path:
"path_output": "<PATH_TO_DATASET>/data_example_spinegeneric/trained_model"

and the name of the model expected is:
trained_moded.pt in the folder
<PATH_TO_DATASET>/data_example_spinegeneric/trained_model
as seen here. However, no such mode exists in the path as seen below:

The model that does exist is best_model.pt. So either the model provided is provided with incorrect name or the model is missing altogether.

Ok I get it now :-)
So the trained model is here:
(base) chgroc@rosenberg:~$ ls master_ivadomed/ivadomed/data_example_spinegeneric/trained_model/seg_sc_t1-t2-t2s-mt/
seg_sc_t1-t2-t2s-mt.json  seg_sc_t1-t2-t2s-mt.onnx

--> both the model (onnx format) and the related config file
So the following lines in the tutorial are correct:
path_output: Location of the directory containing the trained model. To avoid having to train a model from scratch, in the downloaded dataset, there is a trained model for spinal cord segmentation in the folder trained_model. Modify the path so it points to the location of the trained model.

"path_output": "<PATH_TO_DATASET>/data_example_spinegeneric/trained_model"

However the folder name is not very intuitive for a path_output.
Options include ask the user to do a cp trained_model XX with XX something more intuitive, (this option is herebelow called OPTION_CP).
The model_name in the config file should be seg_sc_t1-t2-t2s-mt tho (not trained_model).
This section contains multiple errors:

path_data should point towards data_example_spinegeneric
path_output points towards <PATH_TO_DATASET>/data_example_spinegeneric/trained_model or OPTION_CP.

Another comment about this tutorial: we are asking the user to modify the config file... but after we are inviting them to use the CLI.. then we say Oh well you dont have to do this if you modify the CLI --> I find it a bit confusing tbh.
Hope it helps :-)


port HadoopPartition pkg-cheats

Coverage decreased (-9.3%) to 70.968% when pulling ca39657ac5c5eda388d44cb464cfd2ef150a46b7 on ryan-williams:h into d222d6eb71eac4bf2c48d04db31545ced150f5dd on hammerlab:master.

Coverage decreased (-12.5%) to 67.692% when pulling b26c6ff76b3010b19edd655c126a7bcde360ffb2 on ryan-williams:h into d222d6eb71eac4bf2c48d04db31545ced150f5dd on hammerlab:master.

Coverage decreased (-3.3%) to 76.923% when pulling b583afe04e73b2a43cda393cef7510fc0d3a9002 on ryan-williams:h into d222d6eb71eac4bf2c48d04db31545ced150f5dd on hammerlab:master.

Coverage increased (+2.7%) to 82.963% when pulling 10bd066d8d5be7b8413ee4995953a0c722153691 on ryan-williams:h into d222d6eb71eac4bf2c48d04db31545ced150f5dd on hammerlab:master.

Coverage increased (+2.7%) to 82.963% when pulling 05ee1897c6a706a91d7d0cb3579a631d3b7d90c8 on ryan-williams:h into d222d6eb71eac4bf2c48d04db31545ced150f5dd on hammerlab:master.

Coverage increased (+2.7%) to 82.963% when pulling 05ee1897c6a706a91d7d0cb3579a631d3b7d90c8 on ryan-williams:h into d222d6eb71eac4bf2c48d04db31545ced150f5dd on hammerlab:master.


Search should be case-insensitive

It seems right now that the search in the UI is case-sensitive, and it should instead be case-insensitive

Fixed with commit f3c81e566f72ed40ed623699f18d0015e897d131


odsp-driver: fix bug resource_name.localeCompare is not a function

resource_name is an url here, so fetch call fails "resource_name.localeCompare is not a function" error. Fixing with adding toString()
https://github.com/nodejs/undici/blob/671e05fb90d4e047a3b219d802a8afeeb35ad883/lib/fetch/index.js#L322

Some extra context: node.js 18's built in fetch api is has the resource timing names as a URL object, which is causing errors in the odsp-driver.

Interesting. I played a bit with Node 18 and fetch, and I have not seen w3c data being populated. @GaryWilber - did it work for you? Is everything else works with Node18? We are not running any tests / stress tests with this version, so things might be broken. That said, I wonder - if it works for you, maybe we can switch our stress tests to Node18 sooner that the rest of repo switches fully to it.

@vladsud PUSH moved to node 18 earlier month. @oliviagms has been testing using the new built-in fetch api for all our outgoing HTTP requests (to SPO, AAD, etc) and our unit tests are working (with this fix applied).
The node 18 fetch implementation is based on the undici package. It does use the resource timing apis (see here & here). You should see the timings show up when running on node 18.2 or later.
A major reason we want to move to fetch is to get the built-in gzip support it provides. We can also look into using/logging data from the timing apis for our SPO requests at some point.


Fix Python Backend shm-default-byte-size out_of_range error

When using the python backend, if the shm-default-byte-size or shm-growth-byte-size is set larger than 2 * 1024 * 1024 * 1024 bytes, the tritonserver will fail to start
Start command
./bin/tritonserver --grpc-port=8001 --model-repository=phash_zoo/ --repository-poll-secs=60 --strict-model-config=false --log-verbose=true --backend-config=python,shm-default-byte-size=2147483648

Error info
I0924 12:45:02.620398 2315 python.cc:630] Starting Python backend stub:  exec /opt/tritonserver/backends/python/triton_python_backend_stub phash_zoo/phash_compute/1/model.py triton_python_backend_shm_region_1<PHONE_NUMBER> 67108864 2153 /opt/tritonserver/backends/python 336 phash_compute_0
terminate called after throwing an instance of 'std::out_of_range'
  what():  stoi

I found that shm-size is stored in int64_t, but std::stoi returns int, which will cause a out_of_range error, so I changed std::stoi to std::stol, which is consistent with the use in another file:https://github.com/triton-inference-server/python_backend/blob/4fc9cf6efd1df2b6341b8b92c2b9a9068400f4a6/src/python_be.cc#L1660

@wangchengdng Thanks for your pull request. Could you please sign the CLA according to the instructions here:
https://github.com/triton-inference-server/server/blob/main/CONTRIBUTING.md#contributor-license-agreement-cla

Closing due to lack of activity.


Question : Run python code which has intermediate , final files as well as returns a value ??

Hi , I was able to solve my previous query and am able to run the code-interpreter using minikube in my local WSL 2 environment.
Currently the gRPC service accepts following :
grpcurl -d '{"source_code":"print(\"hello world\")"}' -plaintext -max-time 60 <IP_ADDRESS>:50051 code_interpreter.v1.CodeInterpreterService/Execute
here , "source_code" is the code to be executed , I'm guessing the -plaintext refers to read it as a text file .
the output is generated as :
{
  "stdout": "hello world\n"
}

This works well for simple cases when no output is expected or intermediate / final files are written / updated by code.
Could I be given some suggestions , on which files and code I should explore so I can make necessary changes to make it work with files as well as like an API to return output as well ??
I could maybe raise a PR as well ??

I ended up forking to add some features I needed. But you can just have it write to a file for return value, and then download that file to see the 'return result'

Yes I would be forking the repo as well .
I'm kinda new to working with rust and submodules . Not sure where to begin in this codebase .
I understand there's a service layer and an executor layer , but beyond that I don't quite get system enough to start making changes .
Any help or suggestion is appreciated !

I would start by just getting a good understanding on the current implementation decisions. The service layer is really just an http server and a parallel grpc server. They delegate most of their work to other service files in the project. The service layer manages files created by the execution pods by storing the file contents with the hash as the key.
To get started:
You could add a method in the server(http and grpc) to allow support for downloading files from the service layer.
Would recommend using ai to help understand the rust project (fortunately its just a single rust file, and some other files used to configure the execution environment.

I've got it. Thank you @MikeDepies .
https://github.com/i-am-bee/bee-code-interpreter/blob/main/src/code_interpreter/services/kubernetes_code_executor.py
I believe this python file is calling executor within a kubernetes pod.
I've got something to start off.
Open Source is awesome!