[0.4.0] Cannot create a new kubeadm cluster with kube-vip static pod and Control Plane Load-Balancing  enabled

Describe the bug
I'm testing the new Control Plane Load-Balancing feature.
The first time the kubelet of the first controlplne node starts, the kube-vip starts and creates the ipvs virtual-service without any real-server enabled before the kubelet joins the cluster, the api vip becomes unavailable and the cluster init fails.
To Reproduce

Generate kubevip manifest and place it to /etc/kubernetes/manifests/kube-vip.yaml
Run kubeadm init
Watch kubeadm output and kubelet logs

Expected behavior
Cluster init succeeded
Screenshots
Environment (please complete the following information):

OS/Distro:  Ubuntu 1804
Kubernetes Version: 1.20.2
Kube-vip Version: 0.4.0

Kube-vip.yaml:
apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: null
  name: kube-vip
  namespace: kube-system
spec:
  containers:
  - args:
    - manager
    env:
    - name: vip_arp
      value: "true"
    - name: vip_interface
      value: br0
    - name: port
      value: "6443"
    - name: vip_cidr
      value: "32"
    - name: cp_enable
      value: "true"
    - name : lb_enable
      value: "true"
    - name: cp_namespace
      value: kube-system
    - name: vip_leaderelection
      value: "true"
    - name: vip_leaseduration
      value: "5"
    - name: vip_renewdeadline
      value: "3"
    - name: vip_retryperiod
      value: "1"
    - name: vip_address
      value: <IP_ADDRESS>
    image: ghcr.io/kube-vip/kube-vip:v0.4.0
    imagePullPolicy: Always
    name: kube-vip
    resources: {}
    securityContext:
      capabilities:
        add:
        - NET_ADMIN
        - NET_RAW
        - SYS_TIME
    volumeMounts:
    - mountPath: /etc/kubernetes/admin.conf
      name: kubeconfig
  hostAliases:
  - hostnames:
    - kubernetes
    ip: <IP_ADDRESS>
  hostNetwork: true
  volumes:
  - hostPath:
      path: /etc/kubernetes/admin.conf
    name: kubeconfig
status: {}

Additional context
vip ip : <IP_ADDRESS>
controlplane node ips: <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>
kubelet error:
Nov 10 19:11:21 adm-vm-k8s-test-lab-master01 kubelet[12647]: E1110 19:11:21.635973   12647 kubelet_node_status.go:93] Unable to register node "adm-vm-k8s-test-lab-master01" with API server: Post "https://<IP_ADDRESS>:6443/api/v1/nodes": dial tcp <IP_ADDRESS>:6443: connect: connection refused

ipvsadm output
~#ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  <IP_ADDRESS>:6443 rr
< no real-servers here >

Maybe kube-vip should add local apiserver endpoint right after lb initialization regardless of controlplane node availability events.
Or there should be a 40-60s timeout before creating the virtual-service if there is no node registered (so the api vip address would be reachable without ipvs).

hmm, can you get the logs from the kube-vip pod? Might need to use docker logs for that.

reproduced it again
kube-vip pod log
time="2021-11-10T20:53:16Z" level=info msg="server started"
time="2021-11-10T20:53:16Z" level=info msg="Starting Kube-vip Manager with the ARP engine"
time="2021-11-10T20:53:16Z" level=info msg="Namespace [kube-system], Hybrid mode [false]"
time="2021-11-10T20:53:16Z" level=info msg="Beginning cluster membership, namespace [kube-system], lock name [plndr-cp-lock], id [adm-vm-k8s-test-lab-master01]"
I1110 20:53:16.215637       1 leaderelection.go:248] attempting to acquire leader lease kube-system/plndr-cp-lock...
I1110 20:53:19.382794       1 leaderelection.go:258] successfully acquired lease kube-system/plndr-cp-lock
time="2021-11-10T20:53:19Z" level=info msg="Node [adm-vm-k8s-test-lab-master01] is assuming leadership of the cluster"
time="2021-11-10T20:53:19Z" level=info msg="Starting IPVS LoadBalancer"
time="2021-11-10T20:53:19Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (36:a5:fa:37:06:5f) via br0"
time="2021-11-10T20:53:19Z" level=info msg="Kube-Vip is watching nodes for control-plane labels"
time="2021-11-10T20:53:22Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (36:a5:fa:37:06:5f) via br0"
time="2021-11-10T20:53:25Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (36:a5:fa:37:06:5f) via br0"
time="2021-11-10T20:53:28Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (36:a5:fa:37:06:5f) via br0"
time="2021-11-10T20:53:31Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (36:a5:fa:37:06:5f) via br0"
< .. and so on >

Ok. That's embarrassing! Fix coming tomorrow.

Has this been fixed?

Can confirm, this breaks. With IPVS CP LB disabled everything works as expected.

Fix incoming.


[FeatureRequest] Ability to move items or change icons in-game

Ability as admin GUI to not only edit certain menus but also able to move the icons around(Like for example
here as you can see here, ik I did delete the YML files for some since it is PVE based and not needed but editing the GUI as an admin does not allow me to move or add new icons in the GUI and it would be a nice feature to be able to move these icons around.

Added in 1.9r-16


Nuget restore build task fails with an error "A supported task execution handler was not found. This error usually means the task does not carry an implementation that is compatible with your current operating system. Contact the task author for more details."

We use a Mac build agent to build both xamarin.ios and xamarin.android projects. Ios seems to be fine but when building android project it always comes with this error message. Wondering whether these tasks are not made available for Mac agents.
Is this true? If so is there any way to run these tasks in Mac agent. Can we install a Mac variant of PowerShell to make use of these tasks?

@jeevaeastpoint
The task should** work on mac as long as you have Mono installed.
If you do have Mono installed, could you make sure you're using the latest version of the task?

Go to your build definition
Go to the NuGet restore task
Search for a version dropdown within the task (it's text should be something like "0." or "1.")
Select the latest version
Run the build

If you keep having issues, let us know so we can keep troubleshooting.
** Verification of the task is heavily Windows based

Closing this issue since I haven't seen a post back in a few weeks.


Update setup-japan-consumption-tax-report.md

 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.:x: v-oloski sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


fix(deps): :arrow_up: update all non-major dependencies

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

@sentry/angular-ivy (source)
^7.82.0 -> ^7.86.0

@tensorflow/tfjs
4.13.0 -> 4.14.0

ace-builds
1.31.2 -> 1.32.0

aws-cdk (source)
^2.110.1 -> ^2.114.1

browserslist
4.22.1 -> 4.22.2

core-js (source)
3.33.3 -> 3.34.0

firebase (source, changelog)
10.6.0 -> 10.7.1

mathjs (source)
12.1.0 -> 12.2.0

p5
1.8.0 -> 1.9.0

three (source)
0.158.0 -> 0.159.0

Release Notes

getsentry/sentry-javascript (@sentry/angular-ivy)
v7.86.0
Compare Source

feat(core): Use SDK_VERSION for hub API version (#9732)
feat(nextjs): Emit warning if your app directory doesn't have a global-error.js file (#9753)
feat(node): Add cloudflare pages commit sha (#9751)
feat(remix): Bump @sentry/cli to 2.22.3 (#9741)
fix(nextjs): Don't accidentally trigger static generation bailout (#9749)
fix(node): Guard process.env.NODE_ENV access in Spotlight integration (#9748)
fix(utils): Fix XHR instrumentation early return (#9770)
ref(remix): Rework Error Handling (#9725)

tensorflow/tfjs (@tensorflow/tfjs)
v4.14.0
Compare Source

ajaxorg/ace-builds (ace-builds)
v1.32.0
Compare Source
Features

adding CloudEditor theme (#5404) (b0ee067)

Bug Fixes

autocomplete tests (#5407) (cf6999d)
set completion popup role to 'menu' for safari (6845905)
stop rendering the completion popup disconnected from the editor for long ghost text (#5401) (94d68a7)
try to scroll inline preview into view (#5400) (95af560)

1.31.2 (2023-11-15)
Bug Fixes

inline preview with loading state (05db94f)

1.31.1 (2023-10-30)
Bug Fixes

improve yaml folding (5c80e3c)

browserslist/browserslist (browserslist)
v4.22.2
Compare Source

Fixed idempotency in time queries with mobileToDesktop (by Aliaksei Sapach).

zloirock/core-js (core-js)
v3.34.0
Compare Source

Array grouping proposal:

Methods:

Object.groupBy
Map.groupBy

Moved to stable ES, November 2023 TC39 meeting
Added es. namespace modules, /es/ and /stable/ namespaces entries

Promise.withResolvers proposal:

Method:

Promise.withResolvers

Moved to stable ES, November 2023 TC39 meeting
Added es. namespace module, /es/ and /stable/ namespaces entries

Fixed a web incompatibility issue of Iterator helpers proposal, proposal-iterator-helpers/287 and some following changes, November 2023 TC39 meeting
Added Uint8Array to / from base64 and hex stage 2 proposal:

Methods:

Uint8Array.fromBase64
Uint8Array.fromHex
Uint8Array.prototype.toBase64
Uint8Array.prototype.toHex

Relaxed some specific cases of Number.fromString validation before clarification of proposal-number-fromstring/24
Fixed @@toStringTag property descriptors on DOM collections, #1312
Fixed the order of arguments validation in Array iteration methods, #1313
Some minor atob / btoa improvements
Compat data improvements:

Promise.withResolvers marked as shipped from FF121

firebase/firebase-js-sdk (firebase)
v10.7.1
Compare Source
v10.7.0
Compare Source

josdejong/mathjs (mathjs)
v12.2.0
Compare Source

Feat: lazy evaluation of operators and, or, &, | (#3090, #3101,
#2766). Thanks @smith120bh.
Fix: passing a 4th argument with a scope to raw functions.
Fix: #3096 embedded docs of eigs throwing an error.

processing/p5.js (p5)
v1.9.0
Compare Source

What's Changed
In this release, p5.js added draggable() to let you move around elements, added imageLight() to get 3D lighting from images, added computeNormals(SMOOTH) for custom smooth 3D geometry, and added support for custom filter shaders in 2D mode. We updated a group of p5.js Reference pages as part of 2023 Season of Docs (SoD) program, with a goal to make them more accessible and beginner-friendly. Thanks to the SoD technical writer @nickmcintyre.
What's Changed 🎊
DOM

Add draggable() feature to p5.Element by @ffd8 in https://github.com/processing/p5.js/pull/6381

WebGL

A fix to the formatting of the documentation for endShape's instancing example by @RandomGamingDev in https://github.com/processing/p5.js/pull/6495
Add param geometry in freeGeometry function-docs by @capGoblin in https://github.com/processing/p5.js/pull/6500
Created fix for camera settings getting reset each time resizeCanvas() is called by @RandomGamingDev in https://github.com/processing/p5.js/pull/6216
Made a new method to return Geometry with no internal colors. by @perminder-17 in https://github.com/processing/p5.js/pull/6498
fix camera slerp() BUG by @inaridarkfox4231 in https://github.com/processing/p5.js/pull/6509
Updated documentation for shaders. by @deveshidwivedi in https://github.com/processing/p5.js/pull/6497
Image Light Feature - GSOC 2023 by @AryanKoundal in https://github.com/processing/p5.js/pull/6255
Work Product Report | Improving p5.js WebGL/3d functionality by @AryanKoundal in https://github.com/processing/p5.js/pull/6442
Fix webgl erase. Resolves #6523 by @acamposuribe in https://github.com/processing/p5.js/pull/6524
Solves issue #6502 by @perminder-17 in https://github.com/processing/p5.js/pull/6503
Solved the issue with Pan y-axis inverted in frameBuffer. by @perminder-17 in https://github.com/processing/p5.js/pull/6545
Update computeNormals() to support smooth shading for buildGeometry() outputs by @capGoblin in https://github.com/processing/p5.js/pull/6553
Added feature to saveCanvas() to support framebuffer by @capGoblin in https://github.com/processing/p5.js/pull/6510
Fixes incorrect reference to constants in p5.Geometry.js by @diyaayay in https://github.com/processing/p5.js/pull/6577
Handle premultiplied alpha in filter(OPAQUE) by @davepagurek in https://github.com/processing/p5.js/pull/6529
Adding framebuffer support for filter() + CreateFilterShader for 2D mode by @perminder-17 in https://github.com/processing/p5.js/pull/6559

Documentation

Edit docs for typography attributes by @nickmcintyre in https://github.com/processing/p5.js/pull/6454
Edit docs for accessibility by @nickmcintyre in https://github.com/processing/p5.js/pull/6484
Edit docs for p5.Element by @nickmcintyre in https://github.com/processing/p5.js/pull/6512
Edit docs for environment by @nickmcintyre in https://github.com/processing/p5.js/pull/6505
Revise docs for dom functions by @nickmcintyre in https://github.com/processing/p5.js/pull/6534
Added comments to filter.js by @perminder-17 in https://github.com/processing/p5.js/pull/6547
Edit docs for dom objects by @nickmcintyre in https://github.com/processing/p5.js/pull/6552
Fix typo in JSDoc of the createVector method #6569 by @cabbage63 in https://github.com/processing/p5.js/pull/6574
Solves issue #6519 by @Garima3110 in https://github.com/processing/p5.js/pull/6549

New Contributors 💗

@deveshidwivedi made their first contribution in https://github.com/processing/p5.js/pull/6497
@acamposuribe made their first contribution in https://github.com/processing/p5.js/pull/6524
@diyaayay made their first contribution in https://github.com/processing/p5.js/pull/6537
@wackbyte made their first contribution in https://github.com/processing/p5.js/pull/6522
@cabbage63 made their first contribution in https://github.com/processing/p5.js/pull/6574
@Jaivignesh-afk made their first contribution in https://github.com/processing/p5.js/pull/6557
@SlightlyEpic made their first contribution in https://github.com/processing/p5.js/pull/6580
@tabreturn made their first contribution in https://github.com/processing/p5.js/pull/6594

Full Changelog: https://github.com/processing/p5.js/compare/v1.8.0...v1.9.0

mrdoob/three.js (three)
v0.159.0
Compare Source

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular/core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| ^18.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/cdk
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@angular/common
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| ^18.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/cdk
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2023-12-13T16_10_33_921Z-eresolve-report.txt

npm ERR!


hardcoded part in carrousel_w_waves component

main.html in the carrousel_w_waves component contains a hardcoded part that doesn't allow it to be used on different .yml files (with similar key structure):

     {{ data.clickthrough_button_text }}

carrousel should become the name of the yaml file

in item.html
the clickthrough_url  is wrapped around the description - think it would be better to wrap around the title (~ for better alignment with use of same keys in other components)

                    {{ item.title }}

                {{ item.description }}


Rebuild

First rebuild in a long time, likely because the FTP download URL has become HTTPS.
Note that upstream is up to version 0.21, but I want to try to get a rebuild in before tackling a new version.
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Something's unhappy:
(%PREFIX%) %SRC_DIR%>msgfmt.exe -o C:\Users\VSSADM~1\AppData\Local\Temp\tmpy6c769nj\info\recipe\an.gmo C:\Users\VSSADM~1\AppData\Local\Temp\tmpy6c769nj\info\recipe\an.po
(%PREFIX%) %SRC_DIR%>IF -1073740791 NEQ 0 exit /B 1

That error is 0xC0000409 = STATUS_STACK_BUFFER_OVERRUN

It's been a while since I dove into the autotools pain. (Although, reviewing my Windows patches from earlier, I went much deeper last time!) I think this rebuild should now be working, though.

@conda-forge/gettext If anyone cares to review, I think this is now ready. This PR (or some kind of rebuild) is needed to unblock https://github.com/conda-forge/glib-feedstock/pull/132.

@conda-forge/gettext If anyone cares to review, I think this is now ready. This PR (or some kind of rebuild) is needed to unblock conda-forge/glib-feedstock#132.

LGTM!

@ocefpaf The ppc64le Travis build has been in queue all day; is that typical?

@ocefpaf The ppc64le Travis build has been in queue all day; is that typical?

Sadly, yes. Travis-CI is giving us a hard time for a while. If you don't care about ppc64le we can merge as-is and restart the CIs later.

Eh, no rush ...


[Site] Add "Icons" menu item

Add Icon menu item in nav
Remove dead code
Add test
Fix footer links

I inserted changes from #1672

Hey @smnandre this is detail, but I think the new at the top of the icon nav item should be more visible. Maybe we can make it bigger? Or add a background around? In mobile, the new is far from the world Icon so we don't get that the new is for icon. See some screenshots here:

Hey @smnandre this is detail, but I think the new at the top of the icon na [...]

Fixed by ... removing it as it has not the same goal on desktop where we want from the homepage to show it.. In the menu were someone already look at this different pages it has less use i think.

Let's merge this to give Icons more exposure ... and we can tweak it later if we don't like anything. Thanks Simon! and thanks Matheo for the review.


Include all object classes when using archiver

Up until now (Xcode 13 beta 1), property list supported types didn't need to be explicitly included in the class set when unarchiving an object. From now on however, a warning logs at runtime when an object is unarchived using NSKeyedUnarchiver without explicitly mentioning any  plist supported types that are associated with that object's unarchiving.
Fixes #8276

@paulb777 Yep, I was able to just pod gen GoogleUtilities, set the deployment to iOS 15, and set the project to Xcode13 compatible. I ran the tests and could see the warning being logged.


HDDS-3776. Upgrading RocksDB version to avoid java heap issue

What changes were proposed in this pull request?
Description
Currently we have rocksdb 6.6.4 as major version and there are some jvm issues in tests (happened in https://github.com/apache/hadoop-ozone/pull/1019) related to rocksdb core dump. We may upgrade to 6.8.1 to avoid this issue.
JRE version: Java(TM) SE Runtime Environment (8.0_211-b12) (build 1.8.0_211-b12)

    Java VM: Java HotSpot(TM) 64-Bit Server VM (25.211-b12 mixed mode bsd-amd64 compressed oops)
    Problematic frame:
    C [librocksdbjni2954960755376440018.jnilib+0x602b8] rocksdb::GetColumnFamilyID(rocksdb::ColumnFamilyHandle*)+0x8

See full dump at https://the-asf.slack.com/files/U0159PV5Z6U/F0152UAJF0S/hs_err_pid90655.log?origin_team=T4S1WH2J3&origin_channel=D014L2URB6E(url)}}

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3776
How was this patch tested?
CI tests

Hmm. It worked during the test of unit test, but it seems that I need to update the API...

Codecov Report

Merging #1077 into master will decrease coverage by 0.08%.
The diff coverage is 60.00%.

@@             Coverage Diff              @@
##             master    #1077      +/-   ##
============================================
- Coverage     70.46%   70.38%   -0.09%
+ Complexity     9242     9233       -9
============================================
  Files           961      961
  Lines         48130    48130
  Branches       4676     4676
============================================
- Hits          33917    33874      -43
- Misses        11960    11999      +39
- Partials       2253     2257       +4

Impacted Files
Coverage Δ
Complexity Δ

...java/org/apache/hadoop/hdds/utils/db/RDBTable.java
57.33% <60.00%> (-4.00%)
19.00 <0.00> (-1.00)

...otocol/commands/RetriableDatanodeEventWatcher.java
55.55% <0.00%> (-44.45%)
3.00% <0.00%> (-1.00%)

...va/org/apache/hadoop/hdds/utils/db/RDBMetrics.java
85.71% <0.00%> (-7.15%)
13.00% <0.00%> (-1.00%)

.../transport/server/ratis/ContainerStateMachine.java
69.36% <0.00%> (-6.76%)
59.00% <0.00%> (-5.00%)

...ozone/container/ozoneimpl/ContainerController.java
63.15% <0.00%> (-5.27%)
11.00% <0.00%> (-1.00%)

...apache/hadoop/hdds/server/events/EventWatcher.java
77.77% <0.00%> (-4.17%)
14.00% <0.00%> (ø%)

...iner/common/statemachine/SCMConnectionManager.java
77.38% <0.00%> (-3.58%)
13.00% <0.00%> (-1.00%)

...iner/common/transport/server/ratis/CSMMetrics.java
67.69% <0.00%> (-3.08%)
19.00% <0.00%> (-1.00%)

...va/org/apache/hadoop/ozone/lease/LeaseManager.java
90.80% <0.00%> (-2.30%)
15.00% <0.00%> (-1.00%)

... and 13 more

Continue to review full report at Codecov.

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

+1, Thanks Marton for making this commit.

Merged. Thanks the review @timmylicheng and @xiaoyuyao


Store chainlink revocations

This saves 9% of cpu time spent during a cold load of keybasefriends.
Is this safe? I'm not sure what the memory rules are around this code.

GetRevocations is not on the map anymore. So it can't shave another 9?

Bah it should've only halved. This doesn't make sense.

The expected result of this change would be for GetRevocations to halve in its cpu contribution. The svg output of pprof made it seem like it went from 10% to negligible. Hence my confusion. But pprof -top tells the truth that it went from 10% to 5%. I wonder why the svg did that.

Anyway now it's 4%

So that means it helped?

Yep!

cool!


fix #465

When a non existent parent directory is given in the path, the error mentioned in #465 arises. Fixed this issue. Haven't checked this in Windows

Thank you! I'll take a look next week.

Thanks so much, this looks better. Can you just add an entry to CHANGELOG.md, in the "Unreleased" section?

Done :)


When the OnTrigger() system contacts the player, the argument Collider will be null.

OnTriggerEnter(Collider other), OnTriggerExit(Collider other), and OnTriggerStay(Collider other), the argument Collider returns null when contact with the player is determined.
The UDON code in the example below works, but it doesn't work in the VRC when the same process is written.

We’re not able to access the player object, so this will always return null. It’s not a Udon# issue, but a restriction from VRChat themself.
The Player object is a protected gameobject, so in order for us to do anything for player detection, we have to create that  system ourself for now.
Please check the following canny https://feedback.vrchat.com/vrchat-udon-closed-alpha-bugs/p/ontriggerenter-event-gives-a-null-reference-if-a-player-enters-the-collider

Thank you for the bug report! As PhaxeNor explained above, this unfortunately isn't something that Udon# can do anything about at the moment so I'll close this issue.


Extract command from commit message

coverage: 100.0%. remained the same
when pulling 3b2a75be7e37a790b9488cd67b55c3416f20fa29 on extract-command-from-commit-message
into 2e4941fb87e697c67d232ed2a1693aecdef8407f on master.


feature: checking if the net_value pass the limit in subquota with limit defined

Commit related with issue #135.

The values get over the limit aren't so high how I imagined, anyway I would know the procedure to demand the values back from the deputies?
Another nice nuance i get in some moment, for the fuel spent have exactly the same value for a lot of people, it's almost impossible, so in a near future, I'll check the values to see if they came from the same source, and how it's distributed through the fuel companies. It's very suspicious.

Any reason for not accept that? Did you try the refund from these values?

Hi @pmargreff — sorry about taking so long to get back, and thanks for the contribution (and the reminder).
I'd say that before merging that we have to address the issue about making Julia available in the repo setup, as @anaschwendler mentioned the other day.

Closed by inactivity — but anyone wiling to bring Julia in is welcomed to re-open this and allow everyone to run Julia on notebooks easily ; )


API Key feature - Small error in instructions for getting accounts by public key

Description
In this page:
https://docs.hedera.com/hedera/~/changes/zixQ3qqrRRbOvGSVdsHR/tutorials/more-tutorials/how-to-create-a-personal-access-token-api-key-on-the-hedera-portal
There's a slight inconsistency. The endpoint helps users get portal accounts with the public key, but the instructions say to use DER ENCODED PRIVATE KEY. Using the public key works well and is a better practice.
Steps to reproduce

Additional context
No response
Hedera network
testnet, previewnet
Version
draft
Operating system
Windows

Thanks for catching this! The draft has been updated


Updating broadcast-cache-update docs

R: @jeffposnick @addyosmani @jpmedley
I just started to step through the docs to clean up npm-publish-script problems / errors in the jsdoc theme, but in the process fixed up a few quirks / lacking pieces in the docs.

👍  Thanks!

@jpmedley I've had a crack at the comments you've put, feel free to add more changes if you spot anything


Update textexpander download URL

Successful test run:
It also appears the compiled version of the script in the repo still refers to when this was previously distributed as a ZIP but is now a dmg.  The label was updated but not the "combined" script.
zsh assemble.sh -l ~/Documents/git/Installomator/fragments/labels textexpander
2022-01-05 15:26:02 textexpander ################## Start Installomator v. 9.0dev
2022-01-05 15:26:02 textexpander ################## textexpander
2022-01-05 15:26:02 textexpander DEBUG mode 1 enabled.
2022-01-05 15:26:03 textexpander BLOCKING_PROCESS_ACTION=tell_user
2022-01-05 15:26:03 textexpander NOTIFY=success
2022-01-05 15:26:03 textexpander LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-05 15:26:03 textexpander no blocking processes defined, using TextExpander as default
2022-01-05 15:26:03 textexpander Changing directory to /Users/installomator/Documents/git/Installomator/build
2022-01-05 15:26:03 textexpander App(s) found:
2022-01-05 15:26:03 textexpander could not find TextExpander.app
2022-01-05 15:26:03 textexpander appversion:
2022-01-05 15:26:03 textexpander Latest version of TextExpander is 7.1
2022-01-05 15:26:03 textexpander TextExpander.dmg exists and DEBUG mode 1 enabled, skipping download
2022-01-05 15:26:03 textexpander DEBUG mode 1, not checking for blocking processes
2022-01-05 15:26:03 textexpander Installing TextExpander
2022-01-05 15:26:03 textexpander Mounting /Users/installomator/Documents/git/Installomator/build/TextExpander.dmg
2022-01-05 15:26:06 textexpander Mounted: /Volumes/TextExpander
2022-01-05 15:26:06 textexpander Verifying: /Volumes/TextExpander/TextExpander.app
2022-01-05 15:26:06 textexpander Team ID matching: 7PKJ6G4DXL (expected: 7PKJ6G4DXL )
2022-01-05 15:26:07 textexpander Downloaded version of TextExpander is 7.1 (replacing version ).
2022-01-05 15:26:07 textexpander DEBUG mode 1 enabled, skipping remove, copy and chown steps
2022-01-05 15:26:07 textexpander Finishing...
2022-01-05 15:26:17 textexpander App(s) found:
2022-01-05 15:26:17 textexpander could not find TextExpander.app
2022-01-05 15:26:17 textexpander Installed TextExpander
2022-01-05 15:26:17 textexpander notifying
2022-01-05 15:26:17 textexpander Unmounting /Volumes/TextExpander
"disk4" ejected.
2022-01-05 15:26:17 textexpander DEBUG mode 1, not reopening anything
2022-01-05 15:26:17 textexpander ################## End Installomator, exit code 0

Thank you for the software label.


Use PureComponent instead of shallowCompare

shallowCompare is now a deprecated plugin, and React recommends using the build-in PureComponent instead.
https://facebook.github.io/react/docs/shallow-compare.html

The current plan is to support the last two versions of react - so I'll do this with the official release of React 16


Question about root project?

Sorry if this is the wrong place to ask, but I wanted to understand a few things about the Array API project.  Given an array that implements the Array API, how does one get the Array API module object for that array?  Is there a "root Array API project" that provides a function to do that?
Similarly, where are constants and sentinels like newaxis stored?  Does each Array API implementer have a copy of such sentinels?  Or is there a root project that exposes them?
Finally, is there a place where the type annotations for the Array API are stored?  How does one annotate a library without depending on any particular implementation of the Array API?

That is a good question. The basic answer is x.__array_namespace__(), see https://data-apis.org/array-api/2022.12/purpose_and_scope.html#how-to-adopt-this-api.
What was found in real-world adoption, e.g. in scikit-learn, that there's a need for a compatibility layer which is "all functions in an existing library, made array API standard compliant where there is overlap". There is now a package for that: https://github.com/data-apis/array-api-compat. Current that has NumPy and CuPy support. There is a concrete plan to add PyTorch to that soon, and there's room for other libraries too.

Similarly, where are constants and sentinels like newaxis stored? Does each Array API implementer have a copy of such sentinels? Or is there a root project that exposes them?

Yes, each implementer should have a copy of all objects in the standard. There is no root project, because existing libraries have very little appetite to add any runtime dependencies, even pure Python ones (and understandably so). See also https://data-apis.org/array-api/2022.12/assumptions.html#dependencies, which explains the premise that different array libraries are not aware of each other.

Finally, is there a place where the type annotations for the Array API are stored? How does one annotate a library without depending on any particular implementation of the Array API?

We do need that common place for a few typing protocols at least, but it doesn't exist yet. Static typing hasn't been a priority yet (other than making sure that every function/object is cleanly type-able without the need for lots of unions), but we should sort that out.

Thanks for the detailed explanation.  This is a very exciting project!  All your points make perfect sense.
I've always wished for NumPy to have a more compact API (e.g., https://github.com/numpy/numpy/issues/8864), and it's coming sooner than I'd imagined!  What really got me excited about this is:
In [1]: import numpy.array_api as xp
In [2]: z = xp.zeros(10)
In [3]: z.
           device    ndim      T
           dtype     shape     to_device
           mT        size

compared with NumPy:

In [11]: y.
 all          astype       conj         data         fill         item         nbytes       ptp          resize       size         swapaxes     tostring
 any          base         conjugate    diagonal     flags        itemset      ndim         put          round        sort         T            trace
 argmax       byteswap     copy         dot          flat         itemsize     newbyteorder ravel        searchsorted squeeze      take         transpose
 argmin       choose       ctypes       dtype        flatten      max          nonzero      real         setfield     std          tobytes      var
 argpartition clip         cumprod      dump         getfield     mean         partition    repeat       setflags     strides      tofile       view
 argsort      compress     cumsum       dumps        imag         min          prod         reshape      shape        sum          tolist

It just feels so much less cluttered.  I will probably use the Array API in my NumPy/JAX code even when I don't need to.

That's great to hear @NeilGirdhar, thanks! And I completely agree on API compactness - I hope we can clean up NumPy to at least be less messy than it is now. The split between functions and methods is pretty arbitrary indeed.
For one other little bit of context: we've figured out by now that we need (at least) one implementation of the array API standard that is minimal - everything that's in the standard, and nothing else. That is numpy.array_api right now. Every library should then be a superset of that - we expect that for various reasons, authors of every library want/need their own bells and whistles. As long as there's that minimal implementation that you can use to develop and test against, you can then be pretty confident that your code will be portable to other libraries.

I will probably use the Array API in my NumPy/JAX code even when I don't need to.

If you run into any issues, please don't hesitate to ping me.


Add sample that uses TS

I'm trying to set this up where I use index.ts as the entry point (and write all the code in TypeScript) instead of index.js and trying to figure it out is just awful. In particular, the time it takes webpack to start up is absymal, so the iteration cycles to getting the build error is very slow. I think it evicts everything from cache when I modify webpack.config.js, so it's not incremental when making these changes, even in --watch mode.

Closing due to inactivity.


Make "mysqli" the default for 2.2, or remove the "@" from mysql_connect

The legacy mysql extension has been deprecated since PHP 5.5 and isn't even enabled anymore by default on certain hosting environments (e.g. on Heroku).
As CI's MySQL driver against all common sense uses @ to suppress errors (without actually handling the potential error cases), it also swallows the "undefined function mysql_connect..." fatal error that PHP throws if the extension isn't loaded. The result is a blank error page and absolutely zero output in the PHP error logs, because CI also registered its own error handler that doesn't let messages bubble up to the system error log.
Possible solutions:

remove the "@"
change the driver in the default db config to "mysqli"
check if mysql_connect is available before using it
Call error_log() in addition to the internal exception handler thing when a "native" PHP error is encountered.

All of this is already fixed in the develop branch.

Yeah, I saw, but I figured that 3.0 was going to be backwards incompatible in many areas? And even if it's not, many users won't upgrade for a while because the "3.0" scares them away :(

Any new deployment should happen with 3.0, we've kept BC breaks to a (practical) minimum ... it's nothing to be scared of.


Added Java code file as an example for understanding Java

A Java program which computes whether a number is even or odd
I have added this java program to the Java folder as it will give a glimpse of how Java code looks like. Since there was only a readme file and no example was given, I decided to include an example file that shows how Java is written to solve a particular problem.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generates no new warnings

Please follow the contribution guidelines, make an issue and then we can discuss if it is worth contributing or not

Ok got it! So I'll make an issue first, then wait for the assignment of the issue and then make a PR right?

yes


Parse video frames from stream

This adds basic parsing of video frame messages from log streams.
Before, these messages were dropped making them inaccessible to any camera XVIZPanel. You still need to define the right UI config in the XVIZ metadata for the panel to pick it up.

 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.

 All committers have signed the CLA.

This is for V1 of XVIZ, which is not actively supported and was only actually used internally. Rather not support this flow in general.


update package.json

updated protobufjs to version 6.8.6 (and above) because of a vulnerability, see this hackerone report

You can't just change version numbers like that. Protobuf.js version 6 introduces breaking changes and everything would need to be updated accordingly.
The vulnerability in question is minor in nature due to the fact that we don't parse untrusted proto files, so for now I'm not going to rush it.

I appreciate the report, I hadn't heard of the vulnerability and it's always good to look into them.


python311Packages.accelerate: fix build when torch.distributed is disabled

Description of changes
fix https://github.com/NixOS/nixpkgs/pull/265336#issuecomment-1793623744

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 265566 at 42baf8f1 run on x86_64-linux 1

15 packages built successfully:

pentestgpt
python310Packages.accelerate
python310Packages.k-diffusion
python310Packages.langchain
python310Packages.manifest-ml
python310Packages.minichain
python310Packages.openllm
python310Packages.peft
python311Packages.accelerate
python311Packages.k-diffusion
python311Packages.langchain
python311Packages.manifest-ml
python311Packages.openllm
python311Packages.peft
tts

Result of nixpkgs-review pr 265566 at 42baf8f1 run on aarch64-darwin 1

3 packages failed to build:

pentestgpt
python310Packages.langchain
python311Packages.langchain

9 packages built successfully:

python310Packages.accelerate
python310Packages.k-diffusion
python310Packages.manifest-ml
python310Packages.minichain
python310Packages.peft
python311Packages.accelerate
python311Packages.k-diffusion
python311Packages.manifest-ml
python311Packages.peft


Reformat README to README.rst as the professional format of reStructuredText

it looks awesome! thank you so much

@fangq My pleasure ... Actually, we met before ... It was my honor to contribute to your project.


Enabling CUPS to work with recent configuration from /etc/resolv.conf without restart

Hi Mike,
Our customer reported problem with CUPS about it is not using recent configuration from /etc/resolv.conf without CUPS' restart. It is issue with glibc, but it is known issue for upstream and they are working on solution, but it will not be solved in near future. So I tried to create workaround for CUPS to make it use recent nameserver's IP from /etc/resolv.conf.
This patch is based on comparing modification times (acquired by stat()) and if they differ, res_init() is called. All of these are encapsulated in function httpCheckResolv(), which is called before all functions, which works with nameservers.
When I looked into code I saw you are using res_init() when hostname/IP resolution went wrong, so I am checking need_res_init value and if it is set to 1 and my function already reloaded resolver, it sets need_res_init to 0.
I know that using inotify will be probably more complex solution, but if it is glibc issue to begin with, I thought the stat() function will be sufficient as temporary workaround for CUPS.
I tested this patch on RHEL7 with CUPS-1.6.3 and it worked. So do you want to add this workaround to CUPS, Mike? I know there are some imperfections in this patch (like not checking return status in some places - because I didn't get how you deal with errors there), but I am willing to help with correcting it by your advices.

Sorry, but I don't want to include this in CUPS. The fix belongs below CUPS (and the simplest would be to patch glibc to do the same stat check) since it affects all long-running processes, not just cupsd.


fix: modal UI fixes

Description of the Changes

Change stepper and progress colors.
Change title font weight
Change modal text styling

Checklist

[ ] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[ ] Test are passing in local environment
[ ] Docs have been updated
[ ] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

:tada: This PR is included in version 1.5.1-dev.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Fix broken show tests

Many of the show tests were broken (possibly due to upstream change in https://github.com/JuliaMath/IntervalSets.jl/pull/135), and this PR fixes these. Tests pass locally after this.

Gentle bump @daanhb


Loginstreak object is missing for some players.

At endpoint https://api.greev.eu/v2/player/uuid/{player] response.loginstreak object is sometimes missing for some players.

Please check again, looks like an invalid request has been cached. I cleared the cache and now it looks fine

Closed due to Alex fixing his caching keys.


Run tests on linux

Describe your changes

This PR makes tests run both on macos-latest and ubuntu-latest. It does not address the issue of testing the package on Windows as this would require more complex refactors.
Linked issues

#105
Breaking changes
[ ] This issue contains breaking changes

Codecov Report

Merging #107 (5a286c6) into main (9f02e86) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #107   +/-   ##
=======================================
  Coverage   59.03%   59.03%
=======================================
  Files          41       41
  Lines         957      957
  Branches       68       68
=======================================
  Hits          565      565
+ Misses        377      375    -2
- Partials       15       17    +2

Impacted Files
Coverage Δ

...tlin/com/swmansion/starknet/crypto/NativeLoader.kt
29.03% <0.00%> (ø)

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


Pool registration certificates

Does not fully work yet.

Should fully work now, apart from missing tests.
What about the too long address? I have replaced it in poolCertificate.js, but not in integration/signTx.js.


[FEAT] Enable timestamp filtering from interval end towards interval start

What is the problem? Please describe.
For the training of a recurrent network, we require time-series data with a certain time difference between samples. Additionally, we require the final timestamp to be at a certain timestamp t_ref. Unfortunately, SentinelHubInputTask (or rather the underlying sentinelhub.time_utils.filter_times() method) queries the specified time_interval starting from the interval start asserting the specified time_difference. Therefore, it is almost impossible to find a suitable time_interval, which will produce an observation at t_ref.
Here's the solution
The SentinelHubInputTask should support inverting the querying direction, i.e. starting with the end of time_interval backwards in time, respecting constraints of time_difference. To this end, a feature request has been filed with the sentinelhub package (see Issue 347) Once the feature has been added to sentinelhub, the changes to eolearn are sketched below:
In eolearn.io.sentinelhub_process.py

introduce reverse_filter field (see __init__ stub)
add reverse_filter parameter to get_available_timestamps
change SentinelHubInputTask._get_timestamp() to allow reverse filtering

class SentinelHubInputTask(SentinelHubInputBaseTask):
    def __init__(
        self,
        data_collection=None,
        size=None,
        resolution=None,
        bands_feature=None,
        bands=None,
        additional_data=None,
        evalscript=None,
        maxcc=None,
        time_difference=None,
        reverse_filter=False,
        cache_folder=None,
        max_threads=None,
        config=None,
        bands_dtype=None,
        single_scene=False,
        mosaicking_order=None,
        aux_request_args=None,
        session_loader: Optional[Callable[[], SentinelHubSession]] = None,
    ):
        ...
        self.reverse_filter = reverse_filter
        ...

    def _get_timestamp(self, time_interval, bbox):
        """Get the timestamp array needed as a parameter for downloading the images"""
        if self.single_scene:
            return [time_interval[0]]

        return get_available_timestamps(
            bbox=bbox,
            time_interval=time_interval,
            data_collection=self.data_collection,
            maxcc=self.maxcc,
            time_difference=self.time_difference,
            reverse_filter=self.reverse_filter,
            config=self.config,
        )

# copy of get_available_timestamps, where only filtering in the last line is replaced with
# the (hopefully) upcoming new signature of sentinelhub.time_utils.filter_times
def get_available_timestamps(
    bbox: BBox,
    data_collection: DataCollection,
    *,
    time_interval: Optional[Tuple[dt.datetime, dt.datetime]] = None,
    time_difference: dt.timedelta = dt.timedelta(seconds=-1),
    reverse_filter: bool = False,
    maxcc: Optional[float] = None,
    config: Optional[SHConfig] = None,
) -> List[dt.datetime]:
    ...

    all_timestamps = search_iterator.get_timestamps()
    return filter_times(all_timestamps, time_difference, reverse_filter)

In sentinelhub.time_utils

added reverse parameter
reverse the sorted timestamps if reverse=True
use absolute value of timestamp difference
reverse filtered timestamps again in order to recover order of filtered timestamps

# an adapted version of filter_times, allowing for reverse filtering
def filter_times(timestamps: Iterable[TimeType],
                 time_difference: dt.timedelta,
                 reverse: bool = False) -> List[TimeType]:
    """Filters out timestamps within time_difference, preserving only...
        ... the oldest timestamp if reverse = False
        ... the most recent timestamp if reverse = True.

    :param timestamps: A list of timestamps.
    :param time_difference: A time difference threshold.
    :param reverse: Start filtering from the oldest (False) or most current (True) timestamp.
    :return: An ordered list of timestamps `d_1 <= d_2 <= ... <= d_n` such that `d_(i+1)-d_i > time_difference`.
    """
    timestamps = sorted(set(timestamps))
    if reverse: timestamps = timestamps[::-1]

    filtered_timestamps: List[TimeType] = []

    for current_timestamp in timestamps:
        if not filtered_timestamps or abs(current_timestamp - filtered_timestamps[-1]) > time_difference:
            filtered_timestamps.append(current_timestamp)

    if reverse: filtered_timestamps = filtered_timestamps[::-1]
    return filtered_timestamps

Best,
Colin

Hi @ColinMoldenhauer
thanks for the suggestion. We'll try to see if there is a neat option for the user to provide the filtration function directly, to also solve any similar issues in the future.

Good idea! Something along these lines?
In eolearn.io.sentinelhub_process.py

introduce filter_timestamps parameter to get_available_timestamps
introduce filter_timestamps parameter to __init__()
save as "private" method
pass filtering method in _get_timestamp()

from sentinelhub import filter_times as sentinelhub_filter_times

class SentinelHubInputTask(SentinelHubInputBaseTask):
    def __init__(
        self,
        ....
        filter_timestamps=False,
        ...
    ):
		"""
                :param ...
		:param filter_timestamps: A Callable that filters the timestamps returned by get_available_timestamps, returning them in a list.
                : param ...
		"""
        ...
        self._filter_timestamps = filter_timestamps or sentinelhub_filter_times
        ...

    def _get_timestamp(self, time_interval, bbox):
        """Get the timestamp array needed as a parameter for downloading the images"""
        if self.single_scene:
            return [time_interval[0]]

        return get_available_timestamps(
            bbox=bbox,
            time_interval=time_interval,
            data_collection=self.data_collection,
            maxcc=self.maxcc,
            time_difference=self.time_difference,
            filter_timestamps=self._filter_timestamps,
            config=self.config,
        )

# copy of get_available_timestamps, where only filtering in the last line is replaced with
# the newly passed function filter_timestamps
def get_available_timestamps(
    bbox: BBox,
    data_collection: DataCollection,
    *,
    time_interval: Optional[Tuple[dt.datetime, dt.datetime]] = None,
    time_difference: dt.timedelta = dt.timedelta(seconds=-1),
    filter_timestamps: Optional[Callable] = None,
    maxcc: Optional[float] = None,
    config: Optional[SHConfig] = None,
) -> List[dt.datetime]:
    ...
    filter_timestamps = filter_timestamps or sentinelhub_filter_times
    ....
    return filter_timestamps(all_timestamps, time_difference)

Define own filtering function somewhere, e.g. in timestamp_filters.py
# an adapted version of filter_times, allowing for reverse filtering
def my_filter_times_reverse(timestamps: Iterable[TimeType],
                 time_difference: dt.timedelta) -> List[TimeType]:
    """Filters out timestamps within time_difference, preserving only the most recent timestamp.

    :param timestamps: A list of timestamps.
    :param time_difference: A time difference threshold.
    :return: An ordered list of timestamps `d_1 <= d_2 <= ... <= d_n` such that `d_(i+1)-d_i > time_difference`.
    """
    timestamps = sorted(set(timestamps))[::-1]

    filtered_timestamps: List[TimeType] = []

    for current_timestamp in timestamps:
        if not filtered_timestamps or filtered_timestamps[-1] - current_timestamp > time_difference:
            filtered_timestamps.append(current_timestamp)

    return filtered_timestamps[::-1]

Usage
from timestamp_filters import my_filter_times_reverse

input_task = SentinelHubInputTask(
	...
	filter_timestamps=my_filter_times,
	...
)

Not sure if other tasks would need to be updated, too 🤷
Best,
Colin

Something along these lines yes, anything else feels like we'd have to re-do it in a few months for another use-case.
We are planning a minor release this month (if all goes well), and this will likely be included. If you wish we can include you in the pull-request process once we get around to it.

We are planning a minor release this month (if all goes well), and this will likely be included. If you wish we can include you in the pull-request process once we get around to it.

That would be great!

was released in 1.3.1


I have an error with elevenlabs.

PS C:\Users...\J.A.R.V.I.S-main\J.A.R.V.I.S-main> python main.py
Traceback (most recent call last):
File "C:\Users...\J.A.R.V.I.S-main\J.A.R.V.I.S-main\main.py", line 8, in
from modules.Interlocus import Interlocus
File "C:\Users...\J.A.R.V.I.S-main\J.A.R.V.I.S-main\modules\Interlocus.py", line 5, in
from elevenlabs import generate, play
ImportError: cannot import name 'generate' from 'elevenlabs' (C:\Users...\elevenlabs_init_.py)

yeah, sorry about that, you have to create an elevenlabs account and link you api key accordingly. with the voice as well
ps: we plan to eliminate that in the future and have a full offline tts.

I took an api key but it didn't work aswell

these are things i ought to have added in the .env file to make things easier, just keep forgetting. apologies for the inconvenience

im gonna search for the error

nah man it's still not working, can you please make a detailed tutorial description on it?

like in a way that how would you set it up on your pc..

nah man it's still not working, can you please make a detailed tutorial description on it?

you should check the code and add the voice id from elevenlabs, use any for now

this PR should fix the issue, check the .env.example file in root

Traceback (most recent call last):
File "c:\Users..\JARVIS\main.py", line 8, in
from modules.Interlocus import Interlocus
File "c:\Users..\JARVIS\modules\Interlocus.py", line 5, in
from elevenlabs import generate
ImportError: cannot import name 'generate' from 'elevenlabs' (C:\Users..\elevenlabs_init_.py)


fix(types): add  floatBack for Label

Add missing type declaration floatBack  property for Label, used by Item

Items with floatingLabel are broken in release mode
"native-base": "^2.13.14",
"react-native": "0.63.0",

@suhail135  any potential fix ??


fix(eos_l3ls_evpn): Fix missing support for bgp_as for l3leaf node section

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes)
[ ] Documentation content changes
[ ] Other (please describe):

Related Issue(s)

Fixes #703
Fixes #707

Component(s) name
arista.avd.eos_l3ls_evpn
Proposed changes
Provide support for a bgp_as knob set on a per node approach and not only node_group.

L3LEAF logic
Spine Logic
Overlay Client logic

How to test
Available in Molecule for 3-stage scenario.
l3leaf:
  defaults:
    platform: 7280R
    bgp_as: 65101
    spines: [ DC1-SPINE1, DC1-SPINE2, DC1-SPINE3, DC1-SPINE4 ]
    uplink_to_spine_interfaces: [ Ethernet1, Ethernet2, Ethernet3, Ethernet4 ]
    mlag_interfaces: [ Ethernet5, Ethernet6 ]
    spanning_tree_mode: mstp
    spanning_tree_priority: 4096
    virtual_router_mac_address: 00:dc:00:00:00:0a
    filter:
      tenants: [ Tenant_A, Tenant_B, Tenant_C ]
      tags: [ opzone, web, app, db, vmotion, nfs ]
  node_groups:
    DC1_BL1:
      mlag: false
      filter:
        tenants: [ all ]
        tags: [ wan ]
      mlag: false
      nodes:
        DC1-BL1A:
          id: 6
          bgp_as: 65104
          mgmt_ip: <IP_ADDRESS>/24
          mac_address: '0c:1d:c0:1d:62:01'
          spine_interfaces: [ Ethernet6, Ethernet6, Ethernet6, Ethernet6 ]
        DC1-BL1B:
          id: 7
          bgp_as: 65105
          mgmt_ip: <IP_ADDRESS>/24
          mac_address: '0c:1d:c0:1d:62:01'
          spine_interfaces: [ Ethernet7, Ethernet7, Ethernet7, Ethernet7 ]

Checklist:

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have updated molecule CI testing accordingly
[x] All new and existing tests passed (pre-commit, make linting and make sanity-lint).

Also merged into project/rfc5549 as per PR #755


[mandatory-inline] Move fixupReferenceCounts to /before/ inlining.

[mandatory-inline] Move fixupReferenceCounts to /before/ inlining.
Once this lands, I can land my commit that turns on ownership for mandatory
inlining.
rdar://31521023

I also included a small test case fix as well.

@swift-ci smoke test and merge


Add test for setting Programmed status condition in HTTPRouteReconciler

This issue tracks the effort to add a test that checks that Programmed status condition is added properly in HTTPRouteReconciler.
Acceptance criteria

[ ] Programmed status condition is being checked for existence and correctness in HTTPRouteReconciler tests (either regular unit or envtest based tests)

The envtest added in https://github.com/Kong/kubernetes-ingress-controller/pull/4267 seems to be satisfying this issue ACs, @pmalek do you think we can close it?

It's sort of implicit don't you think? Ideally we'd have a dedicated test (or a test suite testing various things about HTTPRoute) for this.

Yeah, agree. We could check the observed generation is properly set. Anyways, TestHTTPRouteReconciliation_DoesNotBlockSyncLoopWhenStatusQueueBufferIsExceeded might be a good starting point for anyone starting working on this issue.


Jumpgate Settings

I am looking through the settings in the ACP, and there is no option to change the Jumpgate wait time. Could it be possible that it be added in the future?

There is a setting "Portal" on the Universe Page. Thats the setting you want.
The label is strange.

Oh, I totally over looked that, I thought "Portal" was for the news settings.
Thanks!


add a recipe for cellranger indexes

Raised by @joseverdezoto
Cellranger indexes require a particular format. Does it make sense to have these as separate refgenie assets? A recipe for building cellranger reference indexes using existing refgenie assets (fasta and gtf) ?

Steps to create a cellranger custom genome reference. I included the workflow I used for the creation of the custom reference for the renin cells project as example.
Assets required: fasta, gencode_gtf
Notes : input gtf file to cellranger mkgtf needs to be unzipped
STEPS:

cellranger mkgtf will pre-process the gene annotation file (gencode is recommended).
It  requires the arguments:
input: input.gtf file
output: output.gtf file

cellranger mkgtf  mm10_eCFPeYFP_consensus.gtf     mm10_eCFPeYFP_consensus_filtered.gtf

cellranger mkref will index the custom genome and produce a reference folder used for subsequent alignments. It requires the arguments:
--genome: name of output reference folder
--fasta: input fasta
--genes: gtf file from step 1

cellranger mkref --genome=cellranger_mm10_eCFPeYFPconsensus_ref   --fasta=refgenie seek mm10_eCFPeYFP_consensus/fasta    --genes=mm10_eCFPeYFP_consensus_filtered.gtf
Step 2 is time/memory intensive so I carried it out in the cluster.

thanks, I'll take care of the recipe

@joseverdezoto, the recipe is ready to use. I've build one for mm10 and you can access it here: http://refgenomes.databio.org/v2/asset/mm10/cellranger_reference/splash?tag=default
check it out  and let me know if there are any issues with this asset


Support versioning

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Material for MKDOCS support versioning via mike plugin.
But it is not exactly designed for Gitlab and even less for private Gitlab.
REQUEST
It would be great that the ads-mkdocs-theme could enable versioning across GitHub and GitLab.
Similarly to what ods themed https://boosted.orange.com can do.
Thanks !
Motivation and context
We intend to use ods-mkdocs-theme to combine ODS with Material for MKDOCS.
But the purpose is to build and maintain technical documentation.
In order to have a proper release management, the version feature is important - to drive roadmap and milestones.
Without it - it is a lot more difficult to commit on enhancements.

I managed to progress on the feature and probably validate that we can make it work.
The versioning is described as per https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/
But it does not exactly work "out of the box" because material doc is tested on GitHub and not GitLab.
For GitLab - you need to create with mike a CI/CD pipeline for the versioning branch "gh-pages" to move the versions from the branch into the public folder. The solution is outlined here and works manually : https://github.com/jimporter/mike/issues/25#issuecomment-800037376
What still needs to be done :
Each time you push to main, public gets replaced and the versions are removed.
So you need to deploy again with mike to get the files copied over.
This part should get automated with more elaborate CI/CD pipeline templating I think.
Thanks.


IPv6 Xbox Party App

Is your feature request related to a problem? Please describe.
When disabling IPv6 it causes features related to Teredo and makes it so you cannot join parties via the Xbox app.
Describe the solution you'd like
Just include that disabling this could interfere with Xbox party chat on the PC App as most people do not know this.

just repeating my comment below Chris's YT ((https://www.youtube.com/channel/UCg6gPGh8HU2U01vaFCAsvmQ/community?lc=UgxtZ87GAeyy1NzQgHJ4AaABAg&lb=UgkxmolAmFRGjjGe4VBYd2OePyluyrRNAz2a)):
"..thank You Chris, wonderful work as always..huge shoutOut to U & buddies helping U in further evolution of the TOoL .. just digression..IPv6 is needed for the TEREDO Tunneling..isnt it.?. which is necessary for Forza Motosport, Forza Horizon and similar..

just repeating my comment below Chris's YT ((https://www.youtube.com/channel/UCg6gPGh8HU2U01vaFCAsvmQ/community?lc=UgxtZ87GAeyy1NzQgHJ4AaABAg&lb=UgkxmolAmFRGjjGe4VBYd2OePyluyrRNAz2a)):
"..thank You Chris, wonderful work as always..huge shoutOut to U & buddies helping U in further evolution of the TOoL .. just digression..IPv6 is needed for the TEREDO Tunneling..isnt it.?. which is necessary for Forza Motosport, Forza Horizon and similar..

ah, yes I forgot that this also affected games like Forza etc. Thanks for including it.

I have tried this myself on Windows 10 Pro and seems to work fine if disabing IPv6.
Maybe a Windows 11 issue?

I have tried this myself on Windows 10 Pro and seems to work fine if disabing IPv6.
Maybe a Windows 11 issue?

I am on Windows 10 Pro as well. Disabling IPv6 and restarting your system will cause Teredo not to function in most cases and does for me.


[nginx-lua] How do I deliver traceid and span?

Hi,
When I using skywalking for nginx, how does the upstream server get the traceid and span generated by skywalking of Nginx? This relates to how can Nginx and upstream server be concatenated. Please tell me what I should do?
Thanks.

That is cross process propagation protocol. Read document in the main repo. It is defined there. Not just trace id. Your question is not right.

Excuse me, Could you explain it in detail for me?
About traceid and span, Don't I have to do anything? so, How do I associate Nginx and Upstream Server?
Thanks.

https://github.com/apache/skywalking/blob/master/docs/en/protocols/README.md#language-based-native-agent-protocol
If you still don't understanf, you have missed the tracing acknowledge, not skywalking. Consider to read Google Dapper paper.

If your app has installed the agent, then, yes. You don't need to do anything. That is auto instrumentation.

Sorry, I don't understand skywalking.
So, Traceid is passed to the Server via an upstream request？Or Is nignx and upstream server associated by Skywalking server?
Thanks.

I know opentracing and read your documentation, but I don't know the principle of nginx relevance to upstream server about traceid.

Nginx lua agent is just an implementation of SkyWalking tracing model. Nothing more.

Hi wu-sheng,
Does Skywalking use SW6 in the upstream request to associate a service? Is that so?
Thanks.

If Skywalking is used dynamically in my customized Nginx, I need to manually add SW6 to the upstream request.

Don't know what is your meaning.

ok, thanks for your help me.


Multiple ingresses are not deleted after helm failure

Steps to reproduce the bug:

Deploy a release with an ingress which has a certain host and a path
Deploy another release in the same namespace with several different ingresses one of which is identical to the one in (1)

Expected behavior:
release fails with an error:
Error: release test1 failed, and has been uninstalled due to atomic being set: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "test.com" and path "/" is already defined in ingress test2
release rolls back with all related resources (including ingresses).
What we've got in reality:
release fails with an error:
Error: release test1 failed, and has been uninstalled due to atomic being set: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "test.com" and path "/" is already defined in ingress test2
release rolls back but ingresses are kept present except for the one which overlapped with the other one.
Output of helm version:
version.BuildInfo{Version:"v3.9.0",  GoVersion:"go1.17.5"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"21", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.): Yandex Cloud

Perhaps you could supply a minimum repro. If you need to upload charts, just tar them up and use the attach feature (keep it as small as possible).
There are a couple possibilities off the top of my head: the rollback failed and the release is in error, or the ingresses not deleted were installed as hooks.
Metadata from the ingresses that you expected to be deleted might be helpful, as well as helm history.

test.tar.gz
You should firstly deploy chart1 and then chart2 to reproduce the case

Didn't fail for me as I don't have whatever webhook would be validating the condition.

Sorry, install https://kubernetes.github.io/ingress-nginx chart version: "4.2.0" with default values

Install chart1 which has 1 ingress record attached to the root path, /.
Install chart2 which has 3 ingress records, one of which also is attached to the root path.
The nginx webhook blocks the installation of the Ingress with the duplicate path.
The uninstall sometimes fails to remove some or all of the Ingress resources because the records may not be seen by the client at the time of the delete.
$ helm install --debug -n foo test2 chart2 --create-namespace --atomic --wait
install.go:193: [debug] Original chart version: ""
install.go:210: [debug] CHART PATH: /tmp/test_repro/chart2

client.go:133: [debug] creating 1 resource(s)
client.go:133: [debug] creating 3 resource(s)
install.go:442: [debug] Install failed and atomic is set, uninstalling release
uninstall.go:95: [debug] uninstall: Deleting test2
client.go:477: [debug] Starting delete for "test2-test2" Ingress
client.go:477: [debug] Starting delete for "test2" Ingress
client.go:477: [debug] Starting delete for "test2-test" Ingress
client.go:481: [debug] Ignoring delete failure for "test2-test2" networking.k8s.io/v1, Kind=Ingress: ingresses.networking.k8s.io "test2-test2" not found
client.go:481: [debug] Ignoring delete failure for "test2-test" networking.k8s.io/v1, Kind=Ingress: ingresses.networking.k8s.io "test2-test" not found
client.go:481: [debug] Ignoring delete failure for "test2" networking.k8s.io/v1, Kind=Ingress: ingresses.networking.k8s.io "test2" not found
uninstall.go:148: [debug] purge requested for test2
Error: INSTALLATION FAILED: release test2 failed, and has been uninstalled due to atomic being set: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "test.com" and path "/" is already defined in ingress foo/test1
helm.go:84: [debug] admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "test.com" and path "/" is already defined in ingress foo/test1
release test2 failed, and has been uninstalled due to atomic being set
helm.sh/helm/v3/pkg/action.(*Install).failRelease
	helm.sh/helm/v3/pkg/action/install.go:450
helm.sh/helm/v3/pkg/action.(*Install).reportToRun
	helm.sh/helm/v3/pkg/action/install.go:434
helm.sh/helm/v3/pkg/action.(*Install).performInstall
	helm.sh/helm/v3/pkg/action/install.go:372
runtime.goexit
	runtime/asm_amd64.s:1594
INSTALLATION FAILED
main.newInstallCmd.func2
	helm.sh/helm/v3/cmd/helm/install.go:141
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.6.1/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.6.1/command.go:1044
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.6.1/command.go:968
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_amd64.s:1594

A workaround is to not use the --atomic flag and, instead, uninstall the failed chart. In my tests, this was sufficient:
helm install --debug -n foo test2 chart2 --create-namespace || helm delete -n foo test2

One possible fix might be to close the client after the install and to create a new client to do the delete. This should ensure the client's not operating from cache.


Create Blog class inherited from Collection

The current thought is that there probably won't be a BlogPost inherited class of Page, but instead it will be a Blog class inherited from Collection that will validate many of the required parameters and create assets for Blogs.

Blog object created. https://github.com/kjaymiller/render_engine/blob/master/render_engine/blog.py


Add missing Textarea type definitions

Bordered and underline were missing from the type definition of Textarea.

@sankhadeeproy007 , @alexander7161
Why are rowSpan bordered and underline required to be entered....?
It's causing me Typescript errors but works perfectly fine without me entering these values...
If it's an error, can you guys please add a ? to the type definitions to make them optional?


Add step() and save() methods to smarts.core.agent.Agent

Is your feature request related to a problem? Please describe.
Include abstract or default implementations of step(*args, **kwargs) -> dict and save(path: str, *args, **kwargs) (or those methods with similar arguments) to: https://github.com/huawei-noah/SMARTS/blob/6cb8ffda74e235c25d63b74313623b2e03e402f7/smarts/core/agent.py#L34-L59 Ideally, maybe something like:
    def step(*args, **kwargs) -> dict:
        """Updates the agent, returns a dictionary of information
        with the agent's update stats (such as NN loss).
        """
        return dict()

    def save(path: str, *args, **kwargs):
        """Saves the state of the agent so that it can be loaded
        from the same path.
        """
        pass

Describe the solution you'd like
Add the step method to SMARTS' Agent class because:

It is needed for RL agents to add to a replay buffer (if they have one) and update their NNs (if they have any)

Add the save method to SMARTS' Agent class because:

It allows the agent to save its state (without serializing) so that it can be loaded in other processes

Additional context
Kimia was mentioning how there were save and load methods (and potentially a step method?) in smarts.core.agent.Agent before. ULTRA uses these methods (step and save) since it was created when these methods were part of the Agent class. Any way to add them back?
@adreena, feel free to edit or comment if I have missed anything.

From experience,

agent class methods step and save are not mandatory.
methods added by default such as step and save in the Agent class might not be actively used by end-users.
end-users mostly prefer to write their own agent or policy code to suit their individual needs.

Therefore this issue is being closed.


'Get energy output for a station' API is not able to fetch the data for the 'interval' of 'minutes' ERROR-500

The GET request for the API 'Get energy output for a station'  in the 'interval' of minutes (let's say '5m), is returning the "INTERNAL SERVER ERROR". I am making the HTTP request for the API using the url 'https://api.opennem.org.au/stats/energy/station/{network_code}/{station_code}?period={period}&interval={interval}'
I am fetching the parameter's 'network_code' & 'station_code' from the API GET request of 'https://api.opennem.org.au/station/'. One of the sample url for which I am getting the ERROR is "https://api.opennem.org.au/stats/energy/station/NEM/BHWF?period=7d&interval=5m". You can directly test this url in the browser.
Please look into this and kindly let me know if I am missing something. I tried to fetch the data using Python & it's Modules in the following manner:

Input

import requests
import json
url="https://api.opennem.org.au/stats/energy/station/NEM/BHWF?period=7d&interval=5m"
station_energy_resp = requests.get(url).json()
print(json.dumps(station_energy_resp, indent = 2))

Output

JSONDecodeError                           Traceback (most recent call last)
[<ipython-input-3-82e1b41a2394>](https://localhost:8080/#) in <module>
     16
     17 url="https://api.opennem.org.au/stats/energy/station/NEM/BHWF?period=7d&interval=5m"
---> 18 station_energy_resp = requests.get(url).json()
     19 print(json.dumps(station_energy_resp, indent = 2))

3 frames
[/usr/lib/python3.7/json/decoder.py](https://localhost:8080/#) in raw_decode(self, s, idx)
    353             obj, end = self.scan_once(s, idx)
    354         except StopIteration as err:
--> 355             raise JSONDecodeError("Expecting value", s, err.value) from None
    356         return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Thanks for reporting this - I will be taking a look at it today

It sends a better error message now - we calculate energy per hour so the minimum interval size is 1h
If you would like the data to be more current or granular - you can use the /power/station/{station_code} endpoint and just / 12 for energy or run your own calc

Got it. Thanks for the help.

Issue 1: For calculating 30 minutes interval from the 5 minutes interval that we are getting from the API : “https://api.opennem.org.au/stats/power/station/{network_code}/{station_code}”
If we do the same, try to compare the data of 5 min interval with the 30 min interval for 7 days time period, the data plot of 30 min interval should have higher values than that of the 5 min. The detailed explanation is below.

If we take 12 values each of 5 minute interval [10,20,30,40,10,20,50,60,70,80,30,20] which is a total of 12*5=60 minutes interval of data. And plot it, we get:

Here the highest value is 80, but when we plot the graph for the same in 30 minute interval  i,e. 6 (5 minutes data points together) : 6*5=30. So
[10 + 20 + 30 + 40 + 10 + 20] =130 for (1st 30 minutes) and
[50 + 60 + 70 + 80 + 30 + 20] = 310 for (2nd 30 minutes)
When we plot this, we get:
Here the highest value will be 310 as we got this by combining the 2nd slot to 6*5 minutes data’s.
But when we look into the OpenNEM’s graphs, the highest point’s of both the graph’s lies around 170’s MW. But actually the 30 minutes interval graph values should be higher.
Moreover, where the 30 minute interval graph’s values should be higher than the 5 minutes interval graphs values, we can see that, the case is reverse in the openNEM.
This is the graph generation of OpenNEM’s for Ararat station
For 5 minutes interval :

For 30 minutes interval :

It sends a better error message now - we calculate energy per hour so the minimum interval size is 1h
If you would like the data to be more current or granular - you can use the /power/station/{station_code} endpoint and just / 12 for energy or run your own calc

Issue 1: For calculating 30 minutes interval from the 5 minutes interval that we are getting from the API : “https://api.opennem.org.au/stats/power/station/{network_code}/{station_code}”
If we do the same, try to compare the data of 5 min interval with the 30 min interval for 7 days time period, the data plot of 30 min interval should have higher values than that of the 5 min. The detailed explanation is below.

If we take 12 values each of 5 minute interval [10,20,30,40,10,20,50,60,70,80,30,20] which is a total of 12*5=60 minutes interval of data. And plot it, we get:

Here the highest value is 80, but when we plot the graph for the same in 30 minute interval  i,e. 6 (5 minutes data points together) : 6*5=30. So
[10 + 20 + 30 + 40 + 10 + 20] =130 for (1st 30 minutes) and
[50 + 60 + 70 + 80 + 30 + 20] = 310 for (2nd 30 minutes)
When we plot this, we get:
Here the highest value will be 310 as we got this by combining the 2nd slot to 6*5 minutes data’s.
But when we look into the OpenNEM’s graphs, the highest point’s of both the graph’s lies around 170’s MW. But actually the 30 minutes interval graph values should be higher.
Moreover, where the 30 minute interval graph’s values should be higher than the 5 minutes interval graphs values, we can see that, the case is reverse in the openNEM.
This is the graph generation of OpenNEM’s for Ararat station
For 5 minutes interval :

For 30 minutes interval :


(feature) reduce padding of menu items for tablet / mobile

Trello card URL:
Changes in this PR:

Reduced padding between menu items for tablet / mobile so that it won't break into 2 lines

Screenshots of UI changes:
Before

After

 Improve mobile navigation for hiring staff users


Simplify version label processing

Instead of passing the entire ref like we do now with -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER", we could already strip the initial refs/[heads|tags]/ string by just passing -p:VersionLabel="${GITHUB_REF#refs/*/}.$GITHUB_RUN_NUMBER" instead

Not worth it. We use the full ref to detect /pull/ too and this change would remove that from the string too.


runtime/vm/os_thread_linux.cc:221: error: pthread error: 16 (Device or resource busy)

Appears to be flaky - possibly related to recent changes? @kodandersson @johnmccutchan
FAILED: none-vm debug_x64 co19/LibTest/isolate/ReceivePort/skip_A01_t01
Expected: Pass
Actual: Crash
CommandOutput[vm]:
stdout:
unittest-suite-wait-for-done
unittest-suite-success
stderr:
runtime/vm/os_thread_linux.cc:221: error: pthread error: 16 (Device or resource busy)
Command[vm]: DART_CONFIGURATION=DebugX64 out/DebugX64/dart --ignore-unrecognized-flags --package-root=out/DebugX64/packages/ /mnt/data/b/build/slave/vm-linux-debug-x64-be/build/sdk/tests/co19/src/LibTest/isolate/ReceivePort/skip_A01_t01.dart
Took 0:00:03.665000
Short reproduction command (experimental):
python tools/test.py -ax64 --write-debug-log --write-test-outcome-log --copy-coredumps --exclude-suite pkg -t120 co19/LibTest/isolate/ReceivePort/skip_A01_t01
=== Failure summary:
FAILED: none-vm debug_ia32 service/pause_on_start_and_exit_test
Expected: Pass
Actual: RuntimeError
CommandOutput[vm]:
stdout:
** Launching out/DebugIA32/dart --trace-service --pause-isolates-on-start --pause-isolates-on-exit --error_on_bad_type --error_on_bad_override --ignore-unrecognized-flags --package-root=out/DebugIA32/packages/ --enable-vm-service:0 /mnt/data/b/build/slave/vm-linux-debug-ia32-be/build/sdk/runtime/observatory/tests/service/pause_on_start_and_exit_test.dart --testee-mode
vm-service: Booting dart:vmservice library.
vm-service: Registering running isolates.
vm-service: Isolate pause_on_start_and_exit_test.dart$main-743971132 743971132 registered.
** Signaled to run test queries on 57502
Observatory listening on http://<IP_ADDRESS>:57502
vm-service: Dropping event of type PauseStart (pause_on_start_and_exit_test.dart$main-743971132)
vm-service: starting stream 'Isolate'
vm-service: starting stream 'Debug'
vm-service: starting stream '_Graph'
Isolate vm-service processing service request getVM
Isolate vm-service processed service request getVM in 84 us.
Running pause_on_start_and_exit_test.dart [1/1]
Getting stream...
Subscribing...
Subscribed.  Pause event is ServiceEvent(owner='isolates/743971132', kind='PauseStart')
Subscription cancelled.
Done waiting for pause event.
Isolate pause_on_start_and_exit_test.dart$main-743971132 processing service request getIsolate
Isolate pause_on_start_and_exit_test.dart$main-743971132 processed service request getIsolate in 1116 us.
Isolate pause_on_start_and_exit_test.dart$main-743971132 processing service request getIsolate
Isolate pause_on_start_and_exit_test.dart$main-743971132 processed service request getIsolate in 1131 us.
VM-VERBOSE: pause_on_start_and_exit_test.dart$main reloaded. pause event= ServiceEvent(owner='isolates/743971132', kind='PauseStart')
Resuming...
VM-VERBOSE: pause_on_start_and_exit_test.dart$main _onEvent ServiceEvent(owner='isolates/743971132', kind='Resume')
VM-VERBOSE: pause_on_start_and_exit_test.dart$main pause event ServiceEvent(owner='isolates/743971132', kind='Resume')
Isolate pause_on_start_and_exit_test.dart$main-743971132 processing service request resume
vm-service: Pushing event of type Resume to stream Debug (pause_on_start_and_exit_test.dart$main-743971132)
Isolate pause_on_start_and_exit_test.dart$main-743971132 processed service request resume in 60 us.
Hello
vm-service: Pushing event of type PauseExit to stream Debug (pause_on_start_and_exit_test.dart$main-743971132)
VM-VERBOSE: pause_on_start_and_exit_test.dart$main _onEvent ServiceEvent(owner='isolates/743971132', kind='PauseExit')
VM-VERBOSE: pause_on_start_and_exit_test.dart$main pause event ServiceEvent(owner='isolates/743971132', kind='PauseExit')
Received PauseExit
runtime/vm/thread.cc:157: error: expected: !isolate->HasMutatorThread()
** Killing script
stderr:
Unhandled exception:
Uncaught Error: Testee exited with -6
Stack Trace:
#0      _TestLauncher.launch.. (file:///mnt/data/b/build/slave/vm-linux-debug-ia32-be/build/sdk/runtime/observatory/tests/service/test_helper.dart:79:11)
#1      _RootZone.runUnary (dart:async/zone.dart:1165)
#2      _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
#3      _Future._propagateToListeners (dart:async/future_impl.dart:585)
#4      _Future._completeWithValue (dart:async/future_impl.dart:376)
#5      _Future._asyncComplete. (dart:async/future_impl.dart:430)
#6      _microtaskLoop (dart:async/schedule_microtask.dart:43)
#7      _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#8      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
#0      _rootHandleUncaughtError. (dart:async/zone.dart:894)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:43)
#2      _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#3      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
Command[vm]: DART_CONFIGURATION=DebugIA32 out/DebugIA32/dart --error_on_bad_type --error_on_bad_override --ignore-unrecognized-flags --package-root=out/DebugIA32/packages/ /mnt/data/b/build/slave/vm-linux-debug-ia32-be/build/sdk/runtime/observatory/tests/service/pause_on_start_and_exit_test.dart
Took 0:00:06.041000
Short reproduction command (experimental):
python tools/test.py --write-debug-log --write-test-outcome-log --copy-coredumps --exclude-suite pkg -t120 service/pause_on_start_and_exit_test

This particular bug is for the first failure in this report. I'll open a second one for the service test failure.

Second part of the report is split off into https://github.com/dart-lang/sdk/issues/24224

No core dump available and not observed recently, closing as obsolete.

I get this in Docker (based on google/dart)
An application as simple as one that creates an UUID and prints it


Aggregation does not work as expected

When writing a query for aggregation e.g. 'avg' or 'rate', they don't work because apparently labels get in the way. Instant vector belonging to the same series are not recognized as such because the labels are different.
If you change the following line to pass in nil instead of the tags, the aggregation works.
https://github.com/cloudfoundry/log-cache/blob/341092ef4a86013626c16a94007efec723820075/internal/promql/promql.go#L388
Current state of the world:
http{source_id="<some-id>"}[1m]
{
  "status": "success",
  "data": {
    "resultType": "matrix",
    "result": [
      {
         "metric": {
           "forwarded": "<IP_ADDRESS>\n<IP_ADDRESS>\n<IP_ADDRESS>",
           "index": "ce99d921-69a3-423f-82c2-1895ebe03868"
         },
         "value": [
           1, 2
         ]
       },
       {
         "metric": {
           "forwarded": "<IP_ADDRESS>\n<IP_ADDRESS>\n<IP_ADDRESS>",
           "index": "dd99d921-aabc-4785-4582-1895ebe03878"
         },
         "value": [
           3, 4
         ]
       }
}

After proposed change:
{
  "status": "success",
  "data": {
    "resultType": "matrix",
    "result": [
      {
        "metric": null,
        "values": [
          [
<PHONE_NUMBER>000000000,
            7537236
          ],
          [
<PHONE_NUMBER>000000000,
            8780123
          ]
      }
}

Notice in the current state of the world, the values are not grouped. This prevents the ability for a function like rate from being helpful.
cc @jtuchscherer

@apoydence I think Prometheus leaves things ungrouped by design. If you want to explicitly group, you can provide that within a query like this:
curl -s -G "http://log-cache-edge.run.pivotal.io/api/v1/query" --data-urlencode 'query=avg(gauge_example{source_id="2d6956bb-9f7a-46ae-ae68-79aa1eda8b3f"}) by (route)' -H"Authorization: $(cf oauth-token)" | jq .

{
  "status": "success",
  "data": {
    "resultType": "vector",
    "result": [
      {
        "metric": {
          "route": "gauge"
        },
        "value": [
<PHONE_NUMBER>000000000,
          5
        ]
      },
      {
        "metric": {
          "route": "gauge_other"
        },
        "value": [
<PHONE_NUMBER>000000000,
          64
        ]
      }
    ]
  }
}

Does that achieve the desired effect?
/cc @pianohacker @colins

This looks great! Thanks!


Would the work of Reasonet be released?

Thank you for your great work. I noticed that a new work of Reasonet was presented in CVPR 2023. I'd like to know if your team plans to release the code?

Hi!
We are busy with other projects, so there is no definite schedule for the open-source plan now.

Thanks a lot.


Bug: ERROR TypeError: n.getEmptyWarningTemplate is not a function

If you use the component in a production build (ng build --prod) I get this TypeError:
ERROR TypeError: n.getEmptyWarningTemplate is not a function
at Object.eval [as updateDirectives] (VM8890 app.js:3)
at Object.updateDirectives ...
It does not matter if I use the custom emptyMessage or not but this only happens in the newest version where the emptyMessage directive was added.

Can you test with the latest version 0.3.3? If it doesn't work, can you create a repo replicating this issue?
I am using Angular 6 and it seems to be working for me with the prod setting.

It seems to be working with the 0.3.3, my bad


Install Gives White Screen Due to SQL Error

[X] I've read the Troubleshooting First Steps
[X] This request isn't a duplicate of an existing issue, opened or closed
[X] I've read the docs and followed them (if applicable)
[X] This is not a personal support request that should be posted on the YOURLS Discourse community

Describe the bug
While installing the 1.7.9 version from a clean install, I get a white screen (500 Error). It turns out to be a SQL error in the create of the options table
To Reproduce
Steps to reproduce the behavior. This is mandatory if you expect someone to fix the problem. Example:

Go to '/admin/install.php'
Click on 'install'

Expected behavior
I expected the db tables to be created and the installation to complete
Actual behavior
500 Error. (white screen)
Versions
You can get this information from referencing CHANGELOG.md or the releases page.
Also, please include:

Ubuntu 20.0.4 LTS and PHP 7.4.

Resolution
File: includes/functions-install.php
Line: 223 (first line of statement)
Error Syntax: 'option_name varchar(64) NOT NULL default "",'.
Error Reason: SQL does not permit double quotes for strings
Correct Syntax: 'option_name varchar(64) NOT NULL default \'\','.

Hmm, that line has been the same since v1.4:
https://github.com/YOURLS/YOURLS/blob/8f6fabba4b17ecf3fda12bef12a879fa459b8cef/includes/functions-install.php#L156
Are you using a database server that enforces the ANSI standard? MySQL and MariaDB both should allow double-quoted strings by default, if my quick google-fu is correct.

I am getting this issue to.

@RiversideRocks No details makes it impossible to say whether you are truly having the same issue or a different one (even if the symptom is identical).

Hello @dgw,
Very sorry! Here is my server log:
PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'yourls.yourls_options' doesn't exist in /var/www/url/yourls/includes/vendor/aura/sql/src/ExtendedPdo.php:748\nStack trace:\n#0 /var/www/url/yourls/includes/vendor/aura/sql/src/ExtendedPdo.php(748): PDOStatement->execute()\n#1 /var/www/url/yourls/includes/vendor/aura/sql/src/ExtendedPdo.php(545): Aura\\Sql\\ExtendedPdo->perform('SELECT option_v...', Array)\n#2 /var/www/url/yourls/includes/Database/Options.php(110): Aura\\Sql\\ExtendedPdo->fetchOne('SELECT option_v...', Array)\n#3 /var/www/url/yourls/includes/functions.php(1140): YOURLS\\Database\\Options->get('version', false)\n#4 /var/www/url/yourls/includes/functions.php(1110): yourls_get_option('version')\n#5 /var/www/url/yourls/includes/functions.php(1094): yourls_get_current_version_from_sql()\n#6 /var/www/url/yourls/includes/Config/Init.php(94): yourls_upgrade_is_needed()\n#7 /var/www/url/yourls/includes/load-yourls.php(26): YOURLS\\Config\\Init->__construct(Object(YOURLS\\Config\\InitDefault in /var/www/url/yourls/includes/vendor/aura/sql/src/ExtendedPdo.php on line 748

I am running this on Debian 10 and PHP 7.3

@RiversideRocks Different error than OP. Can't imagine how the installer would progress to something that needs to access the table without creating it first. Surely this would have been mentioned already hundreds of times in older issues? Anyway, you should make a new issue of your own with more details including your DB server version (MySQL, MariaDB).

Done:
https://github.com/YOURLS/YOURLS/issues/2751

If I understand correctly and according to the doc:

The ANSI SQL-standard does not permit double quotes for enclosing strings, although MariaDB does by default

If config is not default, it seems like the ANSI_QUOTES_SQL SQL_MODE is the solution.
So I'd rather leave this untouched. As @dgw said, this SQL line has been around for like 10 year and dozens of thousands of YOURLS setups have been installed successfully with this code.


julialauncher cannot launch in MinGW window (mintty)

Using juliaup 1.2.3 on 64 bit Windows
Under a cmd prompt:
C:\Users\simon>julia +release

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.2 (2021-07-14)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

Under mintty (using Git Bash):
$ julia +release
Error: The Julia launcher failed failed to configure the terminal to use ENABLE_VIRTUAL_TERMINAL_PROCESSING.

Caused by:
    0: The call to GetConsoleMode failed.
    1: The handle is invalid.

Related pull request (I think) https://github.com/JuliaLang/juliaup/pull/148


Why cannot use circular reference with foreignkey

EF Team Triage: This issue is lacking enough information for us to be able to effectively triage it. For a guide on submitting good bug reports, read_ Painless Bug Tracking. The most important elements to help us act on a bug report are example code/steps that reproduce the issue, the outcome/results you are expecting, and the results or error message that you are receiving. Following are a few questions to help us understand this bug report, for future issues please try to include this info in the initial report.
Could you share a complete code listing (or a project) that we can use to reproduce and debug the issue you are seeing? Can you provide details of the error you are seeing (message and stack trace) or the unexpected behavior? If it is unexpected behavior rather than an error, please also include the expected behavior.


Update README.md

Rewrite examples with template condition shorthand notation, which is available from version 0.115: link
From now, data: behaves as data_template: link

Thanks!


Question about supported callers for merge

Hello,
Can I just use merge command to merge the variants called by any variant caller (as per the documentation suggest)? I am trying to merge vcf produced by Haplotypecaller, Deepvariant, and Strelka2.
Thanks for the help.
Best regards,
Tushar

The question is answered in the FAQ question - 3