Adding a Panic button

About the PR

Adding a Panic button for the command of the station. The button sends an o signal asking for help indicating the approximate location of the sender.
Why / Balance

I think it would be logical for such important people to wear such a button, since they can report a crime and they are not jokers, they listen to their words. The button has a cooldown of 5 seconds between uses to prevent spamming.

The antagonists have every chance to confront her using the radio jammer or emp.

The button is constantly discharged, so the carriers will need to make sure that it is in working condition (recharge it sometimes) so that it can be used at the right moment. (This is not working RIGHT NOW and I do not know how to fix it, please help me!)

The button is also sensitive to the status of the communication servers, if they do not work, the message will not be sent.

The panic button is quite unique so it's a great target for a thief!

Technical details

A new PanicButtonComponent is used with the system, it is designed for things with a battery. It takes into account whether there is a battery, whether the charge is empty, and popups are sent if there is no battery or it is empty.

The button is constantly being discharged. (This is not working at the moment, please help me, I can't do it without you!) 😭

Also the popup "comp-panic-button-cell-dead-message" is not sent if the battery is empty, please help me, I do not know how to fix it! 😢

Media

https://github.com/user-attachments/assets/be0b3512-3770-464c-9bdb-e6602ef7ab44
Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl: to4no_fix

add: A new panic button has been added that runs on batteries and, when used, sends a message to the security radio channel asking for help, indicating the approximate location
add: A panic button has been added to the lockers of the entire station command
add: The panic button has been added as a new target for theft by a thief

Lol, state-sanctioned ";LING MAINT"

imo given how its like an immediate "shit get here quick!!" button, cutting the text before the "near" may make it smoother
"...requested near Captain!"

it is not reported who pressed the button, reported where it was pressed relative to the nearest station beacon, that is why there is the word "near" it could be near the brig  or something else

wow someone remembered my pull request 😁

With the advent of AI this is probably no longer needed, but if someone wants to add this to the space-wizards repository I will be only glad, I do not forbid using it for the space-wizards repository
Also, you can let me know if this is still useful.


[ENH] Alternative folder organization for raw, derived, and source data

Closes #159.

This PR is much more likely to be merged faster and thus I would prefer to tackle your question in https://github.com/bids-standard/bids-specification/pull/109 after this PR (#178) is merged.


Guac does not compile on OpenSSL v1.1.1 equipped hosts

The openssl crate verion is v0.9.24 which is too low, v1.1.1 is supported since v10 IIUC

Assigning to myself because currently only I experience this problem

@drozdziak1 is this resolved now?


Whats the best way to configure disk encryption configs?

Is there a possibility to install patches to configure v1alpha1.SystemDiskEncryptionConfig [offical docs]?

update
Oh apparently there is a patch field :)
nodes:
  - hostname: master1
    ipAddress: <IP_ADDRESS>
    installDisk: /dev/sda
    controlPlane: true
    patches:
      - |-
        machine:
          systemDiskEncryption:
            state:
              provider: luks2
              keys:
                - static:
                    passphrase: ${diskEncryption}
                    slot: 0

mh... Seems there is a check preventing me from patching the machine entry?
2024/11/17 21:30:20 failed to generate talos config: unknown keys found during decoding:
machine:
    systemDiskEncryption:
        state:
            keys:
                - static:
                    slot: 0

Sorry for the noise. I messed up with the formatting. :face_exhaling:
That one works..
patches:
  - |-
    machine:
      systemDiskEncryption:
        state:
          provider: luks2
          keys:
            - static:
                passphrase: ${diskEncryption}
              slot: 0

Welcome to yaml indentation problem :D


[beta] explain limitations when using babel-ts over ts

preview

Pull Request Test Coverage Report for Build 1794

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

Totals

Change from base Build 1792:
0.0%

Covered Lines:
935

Relevant Lines:
989

💛  - Coveralls


Plugin not support multiple worksheet

Hello,
This plugin does not support multiple worksheets. I does have a requirement in which I have 3 table and needs to export them into three different worksheets within single excel file.
Please let me know if you are able to do it or not.
Thanks in advance.

This feature is currently supported with server side implementation, http://techbytarun.com/export-excel-sheet-using-c-sharp/


NoMethodError: undefined method `colorize' for true:TrueClass

Heyo! I'm giving this gem a shot and am running into this error locally:
NoMethodError: undefined method `colorize' for true:TrueClass
    raise "You must have `pscale` installed on your computer" unless command?("pscale").colorize(:red)

I have pscale v 0.130.0 installed via homebrew at /usr/local/homebrew/bin/pscale
I successfully created a demo branch via pscale branch switch rn-test-branch --database campsite-api --create
I'm running bundle exec rails psdb:migrate when the error occurs
I get the same error running bundle exec rails psdb:setup_pscale
I installed the gem via

group :development do
  gem 'planetscale_rails'
end

One note is that I didn't have a .pscale.yml. The script generated one and put it in our project root which isn't actually our API root. I was hitting an error that this file didn't exist, moved it to our API project root, and that error went away.

hey @rnystrom!
Opened a PR to fix one of the bugs, will get that released on rubygems soon and update when it is.
The other problem looks like the rake task can't detect that you have pscale installed.
Could you run which pscale? (that's what the rake task does to check)
Does it find the correct path?

Ignore the last part, I think my PR will fix it. 😄

Just published 0.1.3 with the fix!

You rock, thanks!


[python] Add get_obs

Fixes https://github.com/chanzuckerberg/cellxgene-census/issues/1037
TODO:

[x] Add get_var
[x] Docs
[x] Confirm argument names

get_obs and get_var to me seems consistent when put together with anndata related functions. And the same applies to helper functions needed in service of get_anndata, get_obs, get_var.
I think we can shift things around later if needed but for now this organization seems fine to me


v0.11.36 update failed

Error:

USER: abc
DIR: /homebridge
CMD: npm --no-update-notifier install --unsafe-perm --save homebridge-hue@latest
Unhandled rejection Error: EACCES: permission denied, open '/root/.npm/_cacache/tmp/47145002'
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     https://npm.community
Command failed. Please review log for details.

checking log via ui-x, err:

Cannot show logs. "log" option is not configured correctly in your Homebridge config.json file.
See https://github.com/oznu/homebridge-config-ui-x#log-viewer-configuration for instructions.

But the old version .35 was fine w/o this log definition in config.json.
Don't know where should I begin to debug, pls. advise.

Unhandled rejection Error: EACCES: permission denied, open '/root/.npm/_cacache/tmp/47145002'

This is an issue with npm, not with homebridge-hue.  Not sure what's causing it, but mixing npm -g ... and sudo npm -g ... seems like a bad idea.  I find clearing the cache (removing .npm) solves it.

checking log via ui-x, err:

That's an issue with homebridge-config-ui-x, not with homebridge-hue.

Thanks for the explanation!
without any debugging, I just notice the update went through successfully and log came back.

So I should remove /root/.npm in docker/HB,  which I notice somewhere it has a .lock file? It was due to node.js server was down temporarily?
if I am not mistaken, sudo npm -g will install globally e.g. into /usr/local/lib, and npm -g will install locally in e.g. /homebridge ? It seems all plugins were/are instructed to install using sudo, but where comes the USER:abc (as in the error above) and I found in /homebridge, the directory itself and files inside changed owner to abc, "homebridge-hue.json.gz" can be found in the directory too. It is a update from hue-v.36 or from ui-x @oznu,  I am confused.
What would be in the future the correct/secured way to update plugin to avoid this, esp. to identify or trace down where comes the faults, e.g. from npm server/docker/plugin manager(e.g. ui-x)/config.json?
Sorry if this is off-topic or maybe I am asking too much :-)
Thanks in advance!

maybe I am asking too much

That's not for me to judge, but you are asking the wrong person.  I run homebridge on a Raspberry Pi, installing it per the official instructions.  I develop and test my plugins using the same setup.  Rather than inventing brilliant new ways to install homebridge, I spend my scarce time on supporting more devices through my plugins.

node.js server was down temporarily

NodeJS is not a server; it's a runtime engine for JavaScript, much like python, ruby, perl, etc.  npm and homebridge are "just" Javascript programmes running on NodeJS.  Of course, you can create a server in your JavaScript programme (that is exactly what homebridge does), but npm runs as a standalone programme.  It does connect to the npm registry (over the Internet).

sudo npm -g will install globally e.g. into /usr/local/lib, and npm -g will install locally in e.g. /homebridge

Yes.  The global directory depends on how you installed NodeJS (and on what platform); the local install is in the local directory, if I'm not mistaken.  For global install you typcally need sudo, as a regular user doesn't have permissions to create files in global directories.
Where (and under what user) you install homebridge is different from under what user you run homebridge.  The files that homebridge creates run-time (by default in ~/.homebridge) are owned by the user running homebridge.  Of course, when you use homebridge-config-ui-x, the user running homebridge is doing the installation as well (possibly through sudo, depending on how you configured homebridge-config-ui-x).


try to fix an issue with parallelism

💩🎂🎊

https://<IP_ADDRESS>/view/PR/job/arangodb-matrix-pr/7740/

https://<IP_ADDRESS>/view/PR/job/arangodb-matrix-pr/7742/


Add a footer to hacktoberfest.html

Is your feature request related to a problem? Please describe.
with a footer hacktoberfest.html will look nice in my opinion
Describe the solution you'd like.
add a footer section in hacktoberfest.html and style it with css
Describe alternatives you've considered.
nil
Add any other context or screenshots about the feature request here.
please assign me this issue thank you

Sure @aditya7302


Alternative title field?

CGSpace supports an "alternative title" metadata element, which we are currently storing in the dc.title.alternative field¹. I notice that DCTERMS has a dcterms.alternative for exactly this purpose, but CG Core doesn't have it. Should we add it?
Thank you!
―
¹ There are only about 470 occurrences of this metadata (out of ~80,000 items on CGSpace), so it's not very popular, but nevertheless...

I'm going to add it. As Dublin Core provides the exact match of what you need, it is easy. I'll close the issue when it is done.
Thanks


os/mac/xcode: support Xcode 11.4.1

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Note: There is a CLT 11.4.1 available, and it was offered through softwareupdate on the CI VMs. As per previous discussion, I have not touched latest_clang_version here however.
For future reference, the new Clang version is 1<IP_ADDRESS>.

As per previous discussion, I have not touched latest_clang_version here however.

I think now we've updated the instructions to be more reliable (and I can confirm I did receive this update through softwareupdate already) that it's actually fine to bump the clang_version. Sorry ❤

Good to hear you got the update too!

Thanks again @Bo98!


Process 'command 'cacls'' finished with non-zero exit value 87

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:installCwebp.exe'.

Process 'command 'cacls'' finished with non-zero exit value 87

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

Get more help at https://help.gradle.org

BUILD FAILED in 1s
这个如何解决啊？

请提供以下信息：

OS Version
Android Gradle Plugin Version
Booster Version

Duplicate of #29


Stuck on saving world

No crashing, no not responding at all,
when entering a server, or generating a singleplayer world, it just gets stuck on "Saving World".

Resolved: outdated sodium version. For others looking for a fix, go here.


Class extends value # is not a constructor or null

When extends components, the following problem occurs:
Class extends value # is not a constructor or null
Both classes are in seperated .vue files and contain template and css.
With Vue2 Class Decorators it was possible to extends .vue files with the template directly and the template and css was taken over from the extended class.
Does anyone have a solution for this problem without splitting .vue files into .ts, .html, .css ....
<script lang="ts">
import {Vue, Component, Inject} from 'vue-facing-decorator';

@Component
export default class Main extends Vue {

}
</script>

<template>
    <main class="responsive">
        <slot></slot>
    </main>
</template>

<style scoped>

</style>

<script lang="ts">
import {Vue, Component, Inject} from 'vue-facing-decorator';
import Main from<EMAIL_ADDRESS>
@Component
export default class Main2 extends Main {

}
</script>

I've been exploring this too. I think it's because you're exporting the default.
That was common in Vue2 but now you have to export the class and component separately if you want to extend multiple, so like this.
// Main.ts
import { Component, toNative } from 'vue-facing-decorator';

@Component
export class Main extends Vue {

}

// Main2.ts
import { Main } from './Main';
import { Component, toNative } from 'vue-facing-decorator';

@Component
export class Main2 extends Main {

}


After update, slide effect on the top tab not smooth, textInput problem on keyboard

after update version react-native-pager-view to 6.0.2, using RN 0.63.4

@react-navigation/material-top-tabs, shifting slides between tabs looks untidy and not smooth, page not centered
the keyboard on text input is interrupted

Hey
Thank you for reporting an issue. Could you provide a repro and video of that issue ?

click on text input
https://user-images.githubusercontent.com/891930/199164736-b7ef3b8e-d6d8-4c14-bb00-b5fc7de5304f.mp4
click tab 2

click tab 3

click tab 4

Problem solved.
Go to android/app/src/main/AndroidManifest.xml and change the following:
android:windowSoftInputMode="adjustResize"
to
android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
rebuild android app.

Problem solved. Go to android/app/src/main/AndroidManifest.xml and change the following: android:windowSoftInputMode="adjustResize" to android:windowSoftInputMode="stateAlwaysHidden|adjustPan" rebuild android app.

for keyboard and textInput.


Thanks

I'd like to have my profile on ghuser.io, thanks!

here you go :) https://ghuser.io/kunalvishnoi


#18: Prepared event handler skeleton

Fixes #18

This PR is the continuation of this one: https://github.com/exasol/advanced-analytics-framework/pull/16


Fix the Firefox 74 "resizeWindowToFitDevice" (portrait orientation) test. Bump version (v1.8.3-rc.1)

Firefox 74 cannot set its width less than ~450px in both the headless and non-headless modes:

@testcafe-build-bot retest


Add setting 'Publish automatically yes/no'

Every fetched item will be published automatically or not. This should be a setting.

Implemented.


Upgrade of mongoose to +5.5.x

Upgrade of mongoose was omitted from https://github.com/underscopeio/sinon-mongoose/pull/46 even though npm audit calls it out to have an issue.  I did make an attempt to do the upgrade in package.json, but it looks like that there is a breaking change and it causes npm test to fail.

Thanks for reporting this. Let me know if you've some more info about it.

By some trial and error, I have narrowed that 5.3.16 -> 5.4.0 is a breaking change when running npm test

With https://github.com/underscopeio/sinon-mongoose/pull/49 mongoose is getting bumped to 5.3.16 by the way.

I'll submit a PR for this.

Hi,
I've tried a number of different versions of mongoose from
versions 5.5.1 -> 7.5.7
I then ran npm test unfortunately all versions seem to make those tests with the chaining fail.
I am investigating into this.
Thanks

created PR#52

I'll work on this

Hi,
I created PR #53
Thanks


SPP-10827-integrate-CMS-with-main

Description
This pull request will integrate the Content Management System code without enabling the CMS functionality or affecting the current deployment of the website, by making use of code optioning.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Technical Enhancements

Checklist:
If any of these are not completed, please explain why in the notes.
Definition of Done
Code and merges

[ ] Code to be commented on where applicable
[ ] Documentation updated where required
[x] Have considered non-functional requirements such as Security, Performance, Scalability, and Fault Tolerance
[x] I have linted the code

Testing

[x] All levels of acceptance test are passing (automated, integration, manual, accessibility, etc.)
[x] I have run the behave command to check the selenium behaviour tests pass locally
[x] Acceptance criteria met

Other Checks

[x] I have performed a self-review of my own code
[x] I have checked for spelling errors
[ ] I have commented on my code, particularly in hard-to-understand areas
[x] My changes don't break anything unexpected
[x] I have checked and updated the security.txt file where required
[x] Up to date with the main branch
[ ] For a change that needs to be deployed in a release I have a commit with the fix:, feat: or BREAKING CHANGE:
tags and will copy this commit message to the squash
[ ] For a change that does not affect the deployed code I have added a commit with ci:, docs: or test:
depending upon which area of the solution was affected

Note when merging, squash commit must begin with one of the following tags:
"BREAKING CHANGE", "feat", "fix", "ci", "docs", "test"
Usage
BREAKING CHANGE: any change that breaks current functionality and may cause compatibility errors to users upgrading
E.G BREAKING CHANGE: refactored method x to take variable y as input (changed from variable z)
feat: A new feature
E.G feat: adding method x to future methods table
fix: A bug fix
E.G fix: amending page for method x to show correct release version
ci: Changes to our CI configuration files and scripts (Concourse)
docs: Documentation only changes
test: Adding missing tests or correcting existing tests

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d1bndvokoq4ayd.cloudfront.net/
cloudfront_id=E2T9465FGJSTCK

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB

DEPLOY_URL=https://d2z4j1yk4mfldu.cloudfront.net/
cloudfront_id=E1HA4DZ2L92SZB


storage: remove unnecessary todo

boltdb supports zero-copy get.
https://godoc.org/github.com/boltdb/bolt#Bucket.Get
The returned key,value will not copy into memory again.
So there is nothing we need to do here.

Won't it still load a lot of data into memory at once, even if it's zero-copy?

@xiang90 @heyitsanthony I think we should close this because someone brought it up :)
https://github.com/coreos/etcd/issues/7822

range limiting added in #7900; closing


make description of security options more clear

@dothebart Are all comments addressed or is there more to tackle?

Merging for now, created issue: https://github.com/arangodb/docs/issues/92


Choose a release tag convention

SpaceTalk project releases are currently following the semantic version scheme. However, our current release tags (e.g<EMAIL_ADDRESS>add extra and redundant metadata.  This leads to inelegant URIs like the following:
https://github.com/SpaceTalk/SpaceTalk/releases/tag/release%2FSPACETALK%400.1.1
Consider how to simplify the release tags, for:

clarity
simplicity
consistency

Task

[ ] Consider possible release tag conventions
[ ] Choose a convention
[ ] Document the chosen convention for other developers to understand
[ ] Update the 0.1.0 and 0.1.1 tags to follow the chosen convention, if necessary

I propose we simply tag releases with the version number (e.g. 0.1.2). At the most, perhaps adding a 'v' prefix. Also, pre-releases need some convention (e.g. v0.1.2-a1).

Additionally, pre-releases need some convention (e.g. v0.1.2-a1, v0.1.2-b2, etc.).


Updating MDELAY1 PIC function's magic number

Update mdelay1 PIC function's magic number as newly introduced optimizations change its compiled assembly.

Updated on 909633b1fb09064bfc73eeffa2e591d1eebd948a.

Updated on 909633b1fb09064bfc73eeffa2e591d1eebd948a.


Remove orphaned system account users

https://github.com/rancher/rancher/issues/19018
A system user account is created for every cluster and project.
2.2.3 and prior versions did not delete these accounts when their clusters
or projects were deleted. 2.2.4 has the fix to delete these system users.
But the system users left behind from cluster/project deletion prior to 2.2.4
need to be cleaned up. This only needs to be done once on startup.

LGTM


unlock screen with keyboard

Hello, based on the issues posted here before this seems to be a simple one but if provided, I could not find any solution for this problem.
Is there a way to unlock the screen (lineageOS 14.1 on SGS4) with the keyboard without opening e.g. my lockscreen weather widget or the messenger app which is showing notifications on lockscreen?
When using space it usually is opening said apps. Using the mouse isnt optionally since "swiping" is working but not unlocking the screen.
Thanks in advance and thumbs up for this awesome and free tool!

Using the mouse isnt optionally since "swiping" is working but not unlocking the screen.

It should, if you swipe fastly enough.
I don't know how to unlock with the keyboard.

Hello rom1v,
Maybe,  input keyevent 82 coule help

Closing as duplicate of #71.

Maybe, input keyevent 82 coule help

Yes, so it's just Ctrl+m from scrcpy. :+1:


DockerHub readme is truncated and tag links are broken

In this run I see the warning
Warning: The README content exceeds DockerHub's limit and has been truncated to 25000 bytes.

And indeed on Dockerhub I see the end of the README looks like

Testing several links it seems that they are all broken, e.g.: https://hub.docker.com/r/ghcr.io/mamba-org/micromamba:jammy-cuda-11.8.0
For the images available on DockerHub, I imagine that using relative links would save several kilobytes, but I'm not sure if it's enough.

I was aware the README was getting truncated, but I didn't know the links to tags had changed.  It is probably time to shift documentation to ReadTheDocs.org and drastically scale back the content in README.md.

I also just noticed that the tag listing currently duplicates each tag. Each tag occurs twice per line.

Duplicate tags is due to tagging both for dockerhub and for ghcr.

Makes sense. Is there an easy way to filter them? BTW, great work with ReadTheDocs!

fixed in #328 #329 #330


abnormal limb position [MP:0012000]

Consider changing the primary term label for MP term "abnormal limb position [MP:0012000]" to "ectopic limb(s)" for consistency.
See J:207896
Thanks
Anna
Reported by: anna_anagnos
Original Ticket: obo/mammalian-phenotype-requests/2065

Text definition is inconsistent with the proposed new label "ectopic limbs".  The broad synonym "ectopic limbs was removed from this class.  Another term "supernumerary limbs" MP:0002288 was relabeled "ectopic limbs" with the original label retained as a synonym.


x/review/git-codereview: refuse to mail fixup commits?

I just accidentally mailed two fixup commits (e.g. https://go-review.googlesource.com/c/44857/1) instead of running git rw first. I wonder if mail should refuse to push a stack including fixup commits?
/cc @aclements

Seems reasonable to me, thought also not a big deal as long as they don't get submitted.

While at it, you should also look for a squash!  prefix - that's the other form of commit that should be rebased before mailed.

I think this was already fixed:
func TestDoNotMail(t *testing.T) {
	gt := newGitTest(t)
	defer gt.done()
	gt.work(t)
	trun(t, gt.client, "git", "commit", "--amend", "-m", "This is my commit.\n\nDO NOT MAIL\n")

	testMainDied(t, "mail")
	testPrintedStderr(t, "DO NOT MAIL")

	trun(t, gt.client, "git", "commit", "--amend", "-m", "fixup! This is my commit.")

	testMainDied(t, "mail")
	testPrintedStderr(t, "fixup! commit")

	trun(t, gt.client, "git", "commit", "--amend", "-m", "squash! This is my commit.")

	testMainDied(t, "mail")
	testPrintedStderr(t, "squash! commit")

	trun(t, gt.client, "git", "commit", "--amend", "-m", "This is my commit.\n\nDO NOT MAIL\n")

	// Do not mail even when the DO NOT MAIL is a parent of the thing we asked to mail.
	gt.work(t)
	testMainDied(t, "mail", "HEAD")
	testPrintedStderr(t, "DO NOT MAIL")
}

https://github.com/golang/review/blob/34696713d8ce9c6e709a50d8192fd973246a30e9/git-codereview/mail_test.go#L33-L58
@bradfitz, should we close it?

Thanks @ysmolsky. Yes, this was fixed by commit golang/review@0d52c016f0bb80623e0ce00bf4e92981bacf862e


Update python library versions in base_image_requirements.txt

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Rerun test please

Run Python PreCommit

LGTM, thank you. Note that versions in Dataflow internal images are not yet synced with these files and need to be updated as well.

Rerun test please
retest commands reruns only jenkins suites. it is retest this pleas (typo intended to avoid triggering). To rerun github actions, you can go into actions UI.

Unit test failure is unrelated and seems it is being fixed by https://github.com/apache/beam/pull/16427


Data-trigger conflict namespace with latest Fancybox version of plugin

:(

The same problem :(

I have same problem
Using $(document).off("click.fb-start"); after both plugins are initialized solves the problem (as temporary solution)


changes to support my ledger file

These patches are required to run ledgerfmt on my ledger file and not break it.
I suspect the $ one might be controversial.
Equivalent to https://github.com/abourget/ledger/pull/4 without the changes you already fixed.

The CI failure does not appear to be caused by my PR.  It is unclear to me why goveralls seems to somehow link ledger-go into parse_test?

Looks good, thanks!
Regarding the $: I'd prefer it if the parser recognizes the position of the currency symbol (left/right of value) and then applies the same format in the printer. But your method is certainly an improvement over the current one where we don't support left-aligned symbols at all, so I'll go ahead and merge it :)
Looks like goveralls runs into problems when merging coverprofiles of multiple executables ... oh well, I guess I disable it for now.


Rotate images based on orientation

When we upload the image the images from the picker they are not rotated as per the orientation.
react-native-camera already supports auto rotate.

On android ? On iOS ?
What do you mean exactly ?
Images are not rotated like they should be based on the orientation tag ?


docker pull --platform armhf results in Architecture = amd64

Currently each pull for armhf architecture results in an amd64 image.
docker inspect buanet/iobroker:latest | grep -i architecture:
"io.balena.architecture": "armv7hf",
"io.balena.architecture": "armv7hf",
"Architecture": "amd64"
Digest: sha256:3dc7ec404272362b5a29bc4a760f534703177b459f5a8032e906ac877b08dd2a

I pulled :latest-v5 and it works. Thanks for your help!
Regards,
Thomas


Adding GIFs

Notes for Reviewers
This PR adds JIT GIFs used in MeshMap.
Signed commits

[ ] Yes, I signed my commits.

Thanks for getting this in today, @Shivam-AfA 👏

😬 your first PR and it'll be reverted.

😬 your first PR and it'll be reverted.

Hahaaa. More on the way.


Make tides not experimental

With the ability to enter tide tables, the accuracy is there, and the use cases are well defined. Tides can be released as long as the following is met:

[ ] Accuracy verified at stations across the world
[x] Sufficient unit tests are in place
[x] It is clear when a tide is calculated / low accuracy
[x] The user is encouraged to use published tide tables rather than the calculated tides
[x] The use cases are clear to the user
[x] There is enough documentation to guide the user to tide tables and how they should be using TS
[x] Make tides not experimental

Test cases (test both diurnal and semidirunal)
Diurnal: 8760721 Pilottown, LA
Semidiurnal: 8413320 Bar Harbor, ME

[ ] Plan for a 1 day trip (6/1/2022)
[ ] Plan for a 2 day trip (6/1/2022 - 6/2/2022)
[ ] Plan for a 4 day trip, didn't enter all tides (6/1/2022 - 6/4/2022, missing 1 tide on 6/1 and all tides on 6/3)
[ ] Plan for a 2 day trip that turns into a 4 day trip (6/1/2022 - 6/4/2022, no tides for 6/3 & 6/4)
[ ] Plan for a 2 day trip, unplanned trip a few months later (6/1/2022 - 6/2/2022, no tides for 9/1)
[ ] Plan multiple trips over the course of a few months (6/1/2022 - 6/2/2022, 8/1/2022 - 8/3/2022, 1/1/2023 - 1/2/2023)
[ ] Survival situation / unplanned trip (only current tide known) (4/1/2022 - 4/2/2022)

8413320 Bar Harbor, ME

4/1/2022 - 4/2/2022
6/1/2022 - 6/4/2022
8/1/2022 - 8/3/2022
1/1/2023 - 1/2/2023


On Carriers Page, Support Filtering By Overdue

On /carriers, in the Filter area, add another checkbox/toggle to allow filtering of Overdue carriers
This state should also be indicated in the State column (@pollygee does this need to be a separate issue?) where any carrier that is checked out in an overdue loan would say "Overdue" (but still be unavailable for checkout).

@pollygee @abronkema I can work on this one

@sarslanoglu that's great!!  Thanks so much.

@abronkema can we please get the state put in a different ticket?


Feature image alt text

Added a text box for featured image alt text in the posts settings.
no issue

SEO team I work with requested this feature
brand new to ghost - learning curve
must add field to model in ghost:

/core/server/data/schema/schema.js

any feature_image reference in theme must add:

alt='{{featured_alt_text}}' to set the text

@ntmk I appreciate you taking the time out to open a PR but for anything that involves design changes I'd definitely recommend reaching out first - if it's a bug then open an issue or if you're proposing a feature change then via the forum.
We do plan to offer a way to set alt/title data for images but it will be in an integrated fashion across all images in the app.

@ntmk I was looking for the same thing. There's a thread in the Ghost forum here if you'd like to add support for its addition: https://forum.ghost.org/t/how-do-i-add-alt-texts-to-images-when-using-the-koenig-editor/3889


Tests for class MultiComparator

Hi,
tests for class jodd.util.MultiComparator added.
question:
What about handling of null-list or null-entries within list ?
Is it completely up to the caller? If yes, an update of javadoc is recommened.
Or should a check within compare-method be done ?
like
if (comparator == null) { continue;}
Bye
Sascha

Hey @moh-sushi regarding the nulls:
the idea of the library is to do the less of null checkings, especially for the inputs. Like in this case, we really don't care if user sends null as an argument; I feel its natural to send a list instance (and to avoid nulls).
nulls inside the the lists is probably the same; it may happen more, but I really try to avoid nulls, hence no checkings.
In other words, we are not trying to catch all the wrong usages user can think of (imagine circular dependency with MutlipleCalculator lists), and generally we assume devs are avoiding nulls.
Instead, we would provide more static factories java9 style like Map.of (will be in separate issue)


ENEMY: Bats (Needs Name)

Description
Enemy Visual: (Concept Art)
Enemy Behavior: LA Bat Behavior. Float towards player

Hello, I can do this one.

Closed by #242


Play By Play not populating for MySql

Hello,
I'm getting good data for all other tables but play_by_play isn't populating in my mysql db. I tried running just that table and lowering the limit for the number of rows needed to push but that didn't help. I've attached the output of the terminal and run configuration if that helps
I'm also not seeing shot_chart_detail and player_general_traditional_total

Ah yeah, so in your command in the --skip-tables option you provide pgtt and shot_chart_detail. So that explains those two tables, however it doesn't describe the play_by_play issue. Are there any errors when running, or does it report a successful run?

Yea, it does run successfully. If you can see the rows[o] flags in the logs, you’ll find that it’s pulling good data. I’ll take another look after work, but I was starting to think it may be pushing to SQLite or something else instead

I was able to figure out that the multithreading executor wasn't actually running the insert_batch command. I removed that just to see what happened and now I'm getting the following error:
peewee.IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails (nba.play_by_play, CONSTRAINT play_by_play_ibfk_3 FOREIGN KEY (player1_id) REFERENCES player (player_id))')
I then went in and manually dropped the foreign key constraints on the player_id fields and now I'm seeing data in the MySQL DB.
Should I close this or should we try to figure out the root cause?


[MobileNeRF] About the HTML of real360

I tried a custom real360 scene, and the render functions in python code can render the images in all the stages. However, when using the html, I only got the fragments of mesh. How can I solve this problem? Thanks a lot!

Hi, are you able to run real360 scene? I am struggling to even start stage1 for it, may I ask your machine config and package version please?


[CH-372] Make block splitting strictly follow the split size during s…

Block splitting may not strictly follow the split size, which can result in a relatively large block during shuffle write.
issue: #372

Can one of the admins verify this patch?

shuffle这里有一个优化，对partition改动比较多

https://github.com/Kyligence/ClickHouse/pull/315

shuffle这里有一个优化，对partition改动比较多

ok，那这个 close 了


[Bug] Routine Load Kafka import error: Offset out of range

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
doris-2.0.2
What's Wrong?
Every time routine load runs, it pauses with an error:
"fetch failed due to requested offset not available on the broker: Broker: Offset out of range".I have tried to adjust the parameters:OFFSET_BEGINNING/OFFSET_END,and the following parameters:"max_routine_load_task_num_per_be" and "max_routine_load_task_concurrent_num"to double the original, but the problem still hasn't been solved.
What You Expected?
Routine Load is normal
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Kafka's topic currently has 5 partitions with an offset expiration time of 24h, while routineload generally pauses after about 1 hour of running

Please provide the version number of kafka

Please provide the version number of kafka

kafka 2.5.0

You can do a test with the offset parameter set to OFFSET_BEGINNING


Formatted license text in README.

Coverage remained the same at 100.0% when pulling e4f27b2d4117f62d0fbf658551ea561f3f89d047 on format_readme_license into 37f4c09c7ae9b3591151f7fed77001d23c84432a on master.


Add inlay hint for noqa: <code>

in https://github.com/koxudaxi/ruff-pycharm-plugin/issues/147 it was suggested that it is possible to add an inlay hint to the code of # noqa: <code> so the user can see what the code actually means.
For the info: ruff rule S101 --format=json shows this:
ruff rule S101 --format=json
{
  "code": "S101",
  "linter": "flake8-bandit",
  "summary": "Use of `assert` detected"
}

There is currently a PR to even add the full explanation: https://github.com/charliermarsh/ruff/pull/4367. So querying ruff is taken care of :-) Not idea if jetbrains has an api to recognize and add something to the code, though.

We do this in the Ruff LSP via the LSP's hover action. If we see a noqa code, then we surface the rule explanation in the tooltip. (I'm not super familiar with PyCharm's API, this is just for context.) You can find the code here.
Note that you don't actually need https://github.com/charliermarsh/ruff/pull/4367 to support this. You can just take the content of ruff rule S101, which renders Markdown, and use that in the tooltip -- at least in the LSP protocol.


Failed to login from twitter

I followed the External wiki tutorial exactly, and no matter what I do I cannot get login from twitter to work.
Started GET "/oauth/callback?provider=twitter&oauth_token=GiWM1yuYsyLCwPBroovkMk3fYejTBZmhWF5SHAFF0&oauth_verifier=ztV6u9wybODD2WrBCQ2AeRCGPumdfqVxDFGUXbpbu58" for <IP_ADDRESS> at 2012-02-26 21:10:14 -0600
Processing by OauthsController#callback as HTML
  Parameters: {"provider"=>"twitter", "oauth_token"=>"GiWM1yuYsyLCwPBroovkMk3fYejTBZmhWF5SHAFF0", "oauth_verifier"=>"ztV6u9wybODD2WrBCQ2AeRCGPumdfqVxDFGUXbpbu58"}
  Authentication Load (0.3ms)  SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'twitter' AND "authentications"."uid" = '15588072' LIMIT 1
   (0.1ms)  begin transaction
  SQL (54.6ms)  INSERT INTO "users" ("created_at", "crypted_password", "email", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["created_at", Mon, 27 Feb 2012 03:10:17 UTC +00:00], ["crypted_password", nil], ["email", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["updated_at", Mon, 27 Feb 2012 03:10:17 UTC +00:00], ["username", "burlesona"]]
   (1.7ms)  rollback transaction
Redirected to http://<IP_ADDRESS>:3000/
Completed 302 Found in 3517ms (ActiveRecord: 57.9ms)

The request goes to Twitter without a problem, I can login at twitter without a problem, and the callback is triggered without a problem. But for some reason every time the callback is triggered the transaction is rolled back and the user is not created or logged in.
I'm using the OauthsController straight from the tutorial, except I am not using the application-wide "require login" so I do not need to skip that before filter.
class OauthsController < ApplicationController
	# sends the user on a trip to the provider,
	# and after authorizing there back to the callback url.
	def oauth
		login_at(params[:provider])
	end

	def callback
		provider = params[:provider]
		if @user = login_from(provider)
			redirect_to root_path, :notice => "Logged in from #{provider.titleize}!"
		else
			begin
				@user = create_from(provider)
				# NOTE: this is the place to add '@user.activate!' if you are using user_activation submodule

				reset_session # protect from session fixation attack
				auto_login @user
				redirect_to root_path, :notice => "Logged in from #{provider.titleize}!"
			rescue
				redirect_to root_path, :alert => "Failed to login from #{provider.titleize}!"
			end
		end
	end
end

Here's my user model:
class User < ActiveRecord::Base
	authenticates_with_sorcery! do |config|
    config.authentications_class = Authentication
  end

  attr_accessible :username, :email, :password, :password_confirmation, :authentications_attributes

  has_many :authentications, :dependent => :destroy
  accepts_nested_attributes_for :authentications

  validates_length_of :password, :minimum => 3, :message => "password must be at least 3 characters long", :if => :password
  validates_confirmation_of :password, :message => "should match confirmation", :if => :password
end

At this point my mind is blown by this issue, I simply cannot figure out why the user is not being successfully written to the db. I would very much appreciate any help!

Weird update: If I remove the rescue block in the Oauths controller this suddenly works fine... ?!
  def callback
    provider = params[:provider]
    if @user = login_from(provider)
      redirect_to root_path, :notice => "Logged in from #{provider.titleize}!"
    else
      #begin
        @user = create_from(provider)
        # NOTE: this is the place to add '@user.activate!' if you are using user_activation submodule

        reset_session # protect from session fixation attack
        auto_login @user
        redirect_to root_path, :notice => "Logged in from #{provider.titleize}!"
      #rescue
      # redirect_to root_path, :alert => "Failed to login from #{provider.titleize}!"
      #end
    end
  end

... well, after trying this out on different hardware it looks like the issue was a partially botched migration which was fixed after the development db was reset. Strange one-off issue I suppose.


Mass installer script

Hi, I've modified a script form dataplicity which I want to include in a "standard" Rpi image which will be used on several boards, the script will register using a paid account token ( pre-populated ) so that all the boards appear on the user's account ready for remote administration/ configuration/ personalisation/ in field tweaks
I think the script sent some garbage and broke my test account.

after some tetsing I'm also getting
FATAL Could not register key: ['Too many keys linked to account.']

expected, but how do I remove the botched device so I  can retry with the script again ?

The script was modified from Dataplicity
a copy of my modified Version:
#!/bin/sh
# This file is /etc/network/if-up.d/mass-install-op
# modified for openport from here : https://docs.dataplicity.com/docs/install-dataplicity-on-many-devices
ACCT_TOKEN="my-test-token" # User's account token
LOG_FILE="/var/log/mass-install-op.log"

#name for these products used as part of the hostname, will be combined with Serial number
PRODUCTNAME="iotThing"

#Wait maximum 30 seconds on network connectivity before giving up
limit=30
retry=0

#Don't bother to run when lo is configured
if [ "$IFACE" = lo ]; then
    exit 0
fi

#Only run from ifup
if [ "$MODE" != start ]; then
    exit 0
fi

if [ ! -e /opt/tunnels/mass-install-hostname ]; then
    echo "Configuring hostname..." >> $LOG_FILE 2>&1

    procinfo=$(cat /proc/cpuinfo | grep Serial)
    rpi_serial=$(echo $procinfo | tr " " "\n" | tail -c 5)
        rpi_serial="$PRODUCTNAME-$rpi_serial"

    if [ -z $rpi_serial ]; then
    echo "Raspberry Pi serial number not found" >> $LOG_FILE 2>&1
    else
    echo $rpi_serial | sudo tee /etc/hostname

    sudo sed -i '$d' /etc/hosts
    printf "<IP_ADDRESS>\t$rpi_serial\n" | sudo tee --append /etc/hosts

    sudo mkdir /opt/tunnels
    sudo touch /opt/tunnels/mass-install-hostname

    echo "Rebooting..." >> $LOG_FILE 2>&1
    sudo reboot
    fi
fi

if [ ! -e /opt/tunnels/tuxtunnel/auth ]; then
    echo $IFACE >> $LOG_FILE 2>&1

    until ping -c 1 www.google.com > /dev/null ; do
        sleep 1
        retry=$(($retry+1))
        if [ $retry -eq $limit ]; then
            echo "Interface not connected and limit reached..." >> $LOG_FILE
            exit 0
        fi
    done

    echo "Tunnels will now be created..." >> $LOG_FILE 2>&1
    openport register-key --token="$ACCT_TOKEN" --name="$rpi_serial"
    openport 1880 -d --restart-on-reboot # should this be -d ?
    openport 3000 -d --restart-on-reboot # should this be -d ?
    openport 22 -d --restart-on-reboot  # should this be -d ?

    #Self deletion (cleanup)
    /bin/sh -c "sudo rm /etc/network/if-up.d/mass-install-op /opt/tunnels/mass-install-hostname"
fi

I managed to remove the client and redo the test ( needed to zoom out on the page to I could get to the edit button on the -far- left )

Hi Daniel,
Glad you found the solution to your problem.
I see you have some comments in your script
   openport 1880 -d --restart-on-reboot # should this be -d ?     openport 3000 -d --restart-on-reboot # should this be -d ?      openport 22 -d --restart-on-reboot  # should this be -d ?
Yes, they should have the -d option, otherwise the script will hang.
If you have a paying account, you can also delete your keys through the API.
You can find the full specs here:
https://openport.io/api/v2/specs/
In your case, you will need something like
curl -X DELETE https://openport.io/api/v2/keys/<key_id>/ -H "TOKEN: <api_token>"


Keybinds don't work.

Describe the bug
Title.
To Reproduce
Steps to reproduce the behavior:
Use the camorra movement kerybinds.
Expected behavior
Them to work.
Screenshots
N/A
Crashlogs
N/A
Other mods
N/A
Additional information
N/A

Yes, 1.7.10. And no.


[Documentation] Fix the typo problems of NewToGluten

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@jinchengchenghh


Add @see tags to methods to point back to the original member

It'd be helpful if generated methods included an @see to the member the value was generated from.
Example
Given
class Foo {
  public int getBar() {
    return 0;
  }
}

Actual
  /**
   * Verifies that the actual Foo's bar is equal to the given one.
   * @param bar the given bar to compare the actual Foo's bar to.
   * @return this assertion object.
   * @throws AssertionError - if the actual Foo's bar is not equal to the given one.
   */
  public FooAssert hasBar(int bar) {
    // ... cut for brevity ...
    return this;
  }

Expected
  /**
   * Verifies that the actual Foo's bar is equal to the given one.
   * @param bar the given bar to compare the actual Foo's bar to.
   * @return this assertion object.
   * @throws AssertionError - if the actual Foo's bar is not equal to the given one.
   * @see Foo#getBar() Member under test.
   */
  public FooAssert hasBar(int bar) {
    // ... cut for brevity ...
    return this;
  }

it is possible but isn't that obvious from the assertion method name ?
what is the problem/pain you are trying to address by adding the @see tag ?

When working in an IDE it's handy to be able to follow the links! 🙂

fair enough


Add support for custom token icons

What is your idea?
Ability to select custom images or to select images already included when adding/editing tokens

Not yet published, but already implemented. Planning to release in the next days.


Caption regarding equilibrium conditions

https://github.com/pacific-hake/hake-assessment/blob/7af1d7bcca54bd09fc648e6ce99f7d259c456023/doc/main-tables/main-tables.rnw#L479--L487
Table 27. Summary of median and 95% credibility intervals of equilibrium conceptual reference points for
the base assessment model. Equilibrium reference points were computed using 2018–2022 averages for
mean weight-at-age and baseline selectivity (1966–1990; prior to time-varying deviations.)

I think "Equilibrium reference points were computed using 2018–2022 averages for
mean weight-at-age" is wrong but maybe I am confused?

I think you are correct Kelli, equilibrium reference points would use "base" values for these (including selectivity).  The last five year language is for forecasts.  I guess the only time you would mention both like this would be when showing a metric calculated during a forecast year and comparing it to a reference point (i.e., our decision table scenario where we tune F=100%). I'll adjust the language in the table caption in the exec summary and main text.

The executive summary table was correct, so just copied that language to this table.  Closed with 43696d6514f2b93fc83cc47ca28fc4891ab83caf


Decrease database instance collection interval

What does this PR do?

Reduces collection interval from 30 minutes to 5 minutes for database instances.
Motivation

This change makes it less likely that a database instance will be incorrectly deleted from our stores, and improves the responsiveness of updates to database instances. This is intended to counteract bugs where databases are disappearing and causing tag flapping, as well as improving user experience with seeing the database instances they expect.
Additional Notes

Database instance events are fairly lightweight so no noticeable performance impact is expected.
Review checklist (to be filled by reviewers)

[x] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Changelog entries must be created for modifications to shipped code
[x] Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
[x] If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@sethsamuel Why no changelog?


Improve API using GraphQL

This issue means to be an improvement for the API where instead of using lots of routes in it, we'll only use the GraphQL route, and it will be responsible for the work with the API data. This issue has the following tasks:

[ ] Study GraphQL and the integration with the NestJS
[ ] Plan how the GraphQL will be implemented while still having all the functionalities
[ ] Implement the improvement with the GraphQL

closed by #714536c


Plus pricing page layout is missing a bottom padding (minor, visual)

plus.excalidraw.com is apparently private repo, so I'm filling this issue here (would be a PR otherwise, but I couldn't find where would it go)
There's a zero margin on the https://plus.excalidraw.com/plus page

The container only specifies the gaps between elements (using for block start (top) margin, while block end (bottom) is zeroed out).

The button itself is padded via a gap and an empty
 tag, which I assume is quite weird?

Try Excalidraw+

Probably the button itself just needs a proper block padding instead of that margin/gap?

Thank you, @lildeadprince, for reporting this! It's already been fixed for some time, but I forgot to close this issue.


Do not update a model instance when no changes occur

Hello,
I would like to know whether it is possible to implement T.update in a way so that the it does not return a new instance if no changes occur as a result of applying update specs.
Example (view on requirebin):
const t = require('tcomb');

const Person = t.struct({ name: t.Str, money: t.Num }, 'Person');

Person.prototype.pay = function (amount) {
  return Person.update(this, {
    money: { $set: this.money + t.Num(amount) }
  });
};

try {
  const me = new Person({ name: 'me', money: 0 });

  // This is what currently happens in tcomb (both tests pass)
  t.assert(me.pay(1).money === 1, 'ensure property is updated');
  t.assert(me !== me.pay(1), 'return different instance if properties changed');

  // THIS IS THE REQUESTED FEATURE (currently fails)
  t.assert(me === me.pay(0), 'return same instance if properties did not change');

} catch (ex) {
  document.getElementById('output').innerHTML = ex;
}

This would be very useful for easier checking of state changes, for example in React's shouldComponentUpdate. In my case, I am using cerebral-tcomb to manage the app state tree and sometimes incoming state updates do not change anything but still trigger a redraw.

Hi @a-s-o !
Thanks for the detailed description. It's definitely possible. I've just merged on master a possible fix:
https://github.com/gcanti/tcomb/commit/b8281f6177bfe08946a36848b7a889febc54836d

Wow, thanks for updating that fast. Very much appreciated. I will test it out.

Great, thanks. Btw I've just released the first version of https://github.com/gcanti/babel-plugin-tcomb. It's a Babel plugin for runtime type checking using tcomb. You can annotate a function (arguments and return type) with tcomb types. Let me know what you think. Cheers


update Initialize wording in README

I just starting using react-dates for the first time. I read over the first half of the README and quickly ran into the issue described here related to Cannot read property 'theme' of undefined.
The reason for this was because after reading the "Initialize" section of the README, I did not feel it applied to my use case when setting up react-dates. The way I initially read it was: "If you are using CSS/classes to override our default theme, then you'll have to react-dates/initialize to do this" ... the way I looked it at, I just wanted to accept whatever the defaults were, no matter how the styles were accomplished. So I didn't include the import and it didn't work 🤷♂
Thanks for the great project 🎉

Coverage remained the same at 86.782% when pulling c73bdd0c2e70eaa710e2fa403383adcf8c3f2052 on jamez14:master into 9c01aba9a2601f6a38c2910ec94c6194a07ff467 on airbnb:master.


fix(utility): stop return attr value if is empty in "AttrsMixin._dump"

Pull Request Test Coverage Report for Build 859711226

9 of 10 (90.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 81.764%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tensorbay/utility/attr.py
2
3
66.67%

Totals

Change from base Build 859547230:
1.0%

Covered Lines:
4291

Relevant Lines:
5248

💛  - Coveralls


Switch to @faker-js/faker

It seems that faker is no longer maintained.
@faker-js/faker has the same functionality (and more) as well as built-in typescripting

placeimg.com has shut down 😢

resulting in broken images in the editor demos

It looks like @faker-js/faker has already switched over to use loremflickr.com instead


uses fully qualified name for Expand-Archive

uses Microsoft.PowerShell.Archive\Expand-Archive to resolve a problem of running
the install script on a user's machine that has PSCX installed, which also exposes
Expand-Archive

thanks!

no problem. glad to help


Add ability to release/renew session from SessionInitialization handler

Addresses https://github.com/Azure/azure-sdk-for-net/issues/29889

/azp run net - servicebus - tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Messaging.ServiceBus


python api code for text to video generation?

How long videos can we generate? what would be the best model combinations ?

Hi @SutirthaChakraborty with opensora_hpcai, we support generating 720P videos of 16 seconds (408 frames).
For model combination, do you mean combining text-to-image model with image-to-video model? If so, I would suggest using SD3 or Flux.1 (in PR) for T2I generation followed by Dynamicrafter for I2V generation for the best visual quality. If you prefer long videos,  you may use opensora_hpcai to do I2V.
Thanks for your attention to our aigc kit.

Sure.

SD3 T2I based on mindone.diffusers

>>> import mindspore
>>> from mindone.diffusers import StableDiffusion3Pipeline

>>> pipe = StableDiffusion3Pipeline.from_pretrained(
...     "stabilityai/stable-diffusion-3-medium-diffusers",
...     mindspore_dtype=mindspore.float16,
... )
>>> prompt = "A cat holding a sign that says hello world"
>>> image = pipe(prompt)[0][0]
>>> image.save("sd3.png")

DynamiCrafter for I2V following the instructions in examples/opensora_hpcai

There is no direct way to run the dynamicrafter?

There is no direct way to run the dynamicrafter?

Sorry that it can only run with script/inference.py currently. @HaoyangLee may consider wrapping the inference script into a class or function that is easier to integrate into a high-level pipeline.

There is no direct way to run the dynamicrafter?

Sorry that it can only run with script/inference.py currently. @HaoyangLee may consider wrapping the inference script into a class or function that is easier to integrate into a high-level pipeline.


Certain characters not handled properly

Left- and right- angled quotes are not handled properly in the Markdown-HTML:
Original:
“AS IS”

Output:
 â€œAS ISâ€

The source .md file is encoded UTF-8 so it is probably just being coerced to ASCII or something somewhere.

Fixed handling these non-standard characters in v0.5.1. New unit test added: https://github.com/thanethomson/statik/blob/master/tests/modular/test_nonascii.py (just tests the two characters you're talking about here - will expand on this if more errors come up).
Used this as solution: http://stackoverflow.com/questions/1061697/whats-the-easiest-way-to-escape-html-in-python

It is not good solution, since "not reserved characters" (e.g. cyrillic) are also escaped.
Markdown and HTML permits usage of non-ascii characters.
Please use another solution.


Unable to build example project

What version of Turborepo are you using?
1.2.6
What package manager are you using / does the bug impact?
npm, Yarn v1
What operating system are you using?
Windows
Describe the Bug
Type npx create-turbo@latest and go into the directory, then run yarn run build. The build process would fail - basically, it is stuck finalizing the page optimization for over 20 mins and more. My node version is 16.14.2.

Expected Behavior
The build process should exit successfully and should not take a long time given small web apps packages.
To Reproduce
npx create-turbo@latest
cd my-turborepo
yarn run build

Hey @nithiwatter it's been a little while and we've made several updates to create-turbo, is this still something you're running into?

Closing for now, but feel free to reopen if you're still seeing this on latest.


{} should be optional with @PDF

The regex for the enricher expects {} to always be present, this should be optional.

But the link itself isn't very readable - and looking up the proper text from the PDF might not always be possible (since it might need to read the contents of the PDF document, which isn't possible if the window isn't already open).


Core Command  message bus Time out

🐞 Bug Report
Affected Services [REQUIRED]

 The issue is located in:  core-command
Is this a regression?

This issue  looks to be new, since enabling core command via message bus
Description and Minimal Reproduction [REQUIRED]
After retrieving Core commands via message bus,  a time out error is being returned.
This can be reproduced with the following steps  :
cd edgex-compose/compose-builder
make run no-secty ds-virtual
cd app-functions-sdk/app-service-template
make build
./app-new-service
🔥 Exception or Error

```
marcphil@marcphil-mobl:~/iotgDev/edgex/myrepos/app-functions-sdk-go/app-service-template$ ./app-new-service | grep -e "commands to choose from" -e "timed out"
level=DEBUG ts=2023-01-23T17:57:45.449180293Z app=app-new-service source=sample.go:126 msg="Device Random-Integer-Device has 16 commands to choose from. (in pipeline 'default-pipeline')"
level=DEBUG ts=2023-01-23T17:57:45.45224207Z app=app-new-service source=sample.go:126 msg="Device Random-Integer-Device has 16 commands to choose from. (in pipeline 'default-pipeline')"
level=DEBUG ts=2023-01-23T17:57:45.453824001Z app=app-new-service source=sample.go:126 msg="Device Random-Integer-Device has 16 commands to choose from. (in pipeline 'default-pipeline')"
level=DEBUG ts=2023-01-23T17:57:45.712331076Z app=app-new-service source=sample.go:126 msg="Device Random-Integer-Device has 16 commands to choose from. (in pipeline 'default-pipeline')"
level=DEBUG ts=2023-01-23T17:57:48.988303635Z app=app-new-service source=sample.go:126 msg="Device Random-UnsignedInteger-Device has 16 commands to choose from. (in pipeline 'default-pipeline')"
level=DEBUG ts=2023-01-23T17:57:49.111055123Z app=app-new-service source=sample.go:126 msg="Device Random-UnsignedInteger-Device has 16 commands to choose from. (in pipeline 'default-pipeline')"
level=ERROR ts=2023-01-23T17:57:53.998398992Z app=app-new-service source=runtime.go:322 msg="Pipeline (default-pipeline) function edgexfoundry/edgex-go#2 resulted in error: failed to get list of commands for Random-UnsignedInteger-Device device: timed out waiting response in pipeline 'default-pipeline' (X-Correlation-ID=30e7cfee-eb04-48ec-b196-9ade2ad1e48a)"
level=ERROR ts=2023-01-23T17:57:53.998472232Z app=app-new-service source=triggermessageprocessor.go:154 msg="message error in pipeline default-pipeline (30e7cfee-eb04-48ec-b196-9ade2ad1e48a): failed to get list of commands for Random-UnsignedInteger-Device device: timed out waiting response in pipeline 'default-pipeline'"
level=ERROR ts=2023-01-23T17:57:53.998512915Z app=app-new-service source=messaging.go:186 msg="MessageBus Trigger: Failed to process message on pipeline(s): 1 error occurred:\n\t* failed to get list of commands for Random-UnsignedInteger-Device device: timed out waiting response in pipeline 'default-pipeline'\n\n"
level=ERROR ts=2023-01-23T17:58:05.488586127Z app=app-new-service source=runtime.go:322 msg="Pipeline (default-pipeline) function edgexfoundry/edgex-go#2 resulted in error: failed to get list of commands for Random-Boolean-Device device: timed out waiting response in pipeline 'default-pipeline' (X-Correlation-ID=f83db392-cefa-43ab-953e-16d608342f81)"
level=ERROR ts=2023-01-23T17:58:05.48863551Z app=app-new-service source=triggermessageprocessor.go:154 msg="message error in pipeline default-pipeline (f83db392-cefa-43ab-953e-16d608342f81): failed to get list of commands for Random-Boolean-Device device: timed out waiting response in pipeline 'default-pipeline'"
```

🌍  Your Environment
Deployment Environment:
windows/ubuntu wsl
EdgeX Version [REQUIRED]:
3.0
Anything else relevant?

addressed by #4404


Custom Error Pages for Documentation

AWS allows custom HTML pages to be displayed when 4xx and 5xx error codes occur.  This would be a really nice feature to add, but would require more sophisticated use of HTML/CSS than we have right now... We put in an issue on the SHFB GitHub page to request error pages as a new feature.
Until then we'll just leave this in the backlog in case some future developer wants to be awesome and make such a page.  If they do, the specific properties in the CloudFormation template are the CloudFront Distribution's CustomErrorResponses and the S3 Bucket ErrorDocument properties.

The issue that we created on SHFB has been closed!  This issue should probably still remain in our backlog until SHFB's next release, but we can experiment with this new feature in our own clones of SHFB.


XOR gate example

I have tried training a network to behave as an xor gate, but I cannot get any meaningful output.
Here is the output that I'm seeing in the console.
before training: [0.23279, -0.223946, -0.366412, -0.566801, -0.022422, 0.311922, 0.352381, 0.373161, -0.2297]
after training: [0.257579, -0.249485, -0.405368, -0.629288, -0.0246187, 0.345451, 0.380216, 0.406903, -0.257867]
values:
[0.627165] [0.612517] [0.621583] [0.606965]
Program ended with exit code: 0

Your code looks great.

Ok, the problem is that you haven't given the trainer any validation data, which was causing it to exit after the very first training epoch. This was also a flaw in my own design - I'm now adding a check that will generate an error if an empty validation set is provided.
Here's a modified version of your test that works well:
try! network.train(inputs: inputs, answers: answers,
                    testInputs: inputs, testAnswers: answers,
                    errorThreshold: 0.0001)

Notice that I'm just passing in inputs and answers as the validation data as well - since there are only four possible inputs anyway, it makes sense to do that here.  In face, perhaps a good solution is to make the validation sets optional, and assume the user wants to validate using the training data if none are provided.
Also notice that I set the error threshold to 0.0001. The previous value of 0.1 was allowing the trainer to exit before it converged on a good solution.  Here's my output:
before training: [0.560786, 0.542522, 0.267538, -0.106166, -0.530252, -0.025325, -0.340144, 0.477577, 0.350304]
after training: [-2.7255, -0.0987173, 5.35911, -2.38694, -0.27567, 4.87529, -6.00387, 6.76224, 5.65316]
values:
[0.00598653] [0.99603] [0.00518748] [0.995309]

I hope to come up with a formula to automatically calculate a reasonable error threshold based on the input data provided.  Right now it's just trial-and-error.

Optional validation sets. That's sounds like a good idea, although I'm not a machine learning expert.
Now it works! Thank you Collin for great help :+1:

Thanks for contributing! I've merged your example into the master branch, with a couple notes added.


Have an options where Asserts are not filtered with reset

Currently, the assertions are disabled when reset is on.
This is an issue when I want the assertions itself to explicitly consider the reset behavior (or have the assertions be based on reset behavior).
Would like to have a feature where I can deviate from default behavior and not have it generate the reset filter automatically for some assertions.

Can we do this by writing: withReset (Bool(false)) { /* put the assertion here */ }

I think that should work

Keep in mind that Firrtl also guards assertions with PRINTF_COND which is usually set by the build system to guard assertions with the top-level reset.

Will close this issue now, but please reopen if the proposed solution is unacceptable.


Add multinomial sampling to sequence generation

Adds multinomial sampling strategy and top-k/top-p options for adjusting the distribution.

@seanmor5 I finished sampling, we can do beam search separately, especially that we have contrastive search too :)

we can do beam search separately

If you think about it, every search we do is a beam search.


feat: make  jest debug in vscode available

What exactly does this do? I have not used Jest debug in VS Code before. Is it normal to commit editor specific files to repos?
I guess vue-next has it : https://github.com/vuejs/vue-next so probably fine to have it here, too.

@lmiller1990  easy to debug the test files , but vscode only, it's up to you
maybe it's helpful with issue like  #278 , to find problem quickly
also it's good for person like me  to read the source code


chore: bdd-gh-1586343391 to 0.0.1

chore: Promote bdd-gh-1586343391 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


ref(smi): move MeshSpec interface to separate package

Description:
Moves the MeshSpec interface and related types from the smi package to the specs
package. This change will help avoid import cycles and will allow the Prometheus
metrics in the metricsstore package to reference the MeshSpec interface. As a part
of issue #3918, new metrics will be added to accurately count the number of k8s and
smi resources in the mesh. The resource counts will be determined using the methods
described in the MeshSpec interface.

Testing done:

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[ x ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

This change will help avoid import cycles and will allow the Prometheus
metrics in the metricsstore package to reference the MeshSpec interface.

@jaellio would you mind sharing the imports in the metricsstore pkg that result in the import cycles? Such a problem will keep coming up for other packages as well if not fixed correctly, so I am wondering if there's a better alternative than creating sub-packages for interface definitions for the sake of allowing metricsstore to import it.


Add initial bootstrap governance

Add an initial governance.md to define the bootstrap governance
committee
Signed-off-by: Andrea Frittoli<EMAIL_ADDRESS>

As discussed at the CD Events SIG, it might make sense to have this file in .github so that it can be referenced from all repositories.

I don't know if it was @oleg-nenashev or @sbtaylor15 who mentioned this.
When looking again at the .github repository I didn't find any good reason for putting the governance there. I know it's good for code of conduct and contributor guidelines as GitHub automatically links it, but I can't see any purpose with the governance. Am I missing something here?

It is basically style topic. As you prefer. I just do not want to have governance being version along with the spec tags. Sorry moving it to a separate repo makes sense to me

It is basically style topic. As you prefer. I just do not want to have governance being version along with the spec tags. Sorry moving it to a separate repo makes sense to me

The governance docs are not really versioned, so I'm not sure I see the issue?
We could have a dedicated repo for community / governance type of documents, owned by the project governance team, but that seemed a bit of an overhead to just get started - I wanted to avoid spending too much time in managing a lot of repos :P
I you feel strongly about using the .github repo for this, it works for me.

I addressed all comments.
I also made a PR to the .github repo: https://github.com/cdevents/.github/pull/1
We can decide next time we meet which of the two to merge, or if we shall create a new repo to host this.

Merging this as a base for our govenance model


Contribution videos and articles in Readme

I added a section to summaries all known articles and videos of GetX.
I moved the existing links and added some new ones I found.
Section is now at the bottom.
To check if we have to copy to other languages.
I also used https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one plugin in VSCode; it fixed some markdown and automates the TOC.

Nice!
LGTM


Todo URL appears incorrect

When installing the todo project the Ansible script outputs the following message:
ok: [host01] => {
    "msg": "Once your Kubernetes cluster is up, you can access the todo application at http://localhost:4808                                                                                0/todo"
}

Attempting to connect to this url results in:
peter@Elk:~$ wget http://<IP_ADDRESS>:48080/todo
--2022-09-14 22:27:08--  http://<IP_ADDRESS>:48080/todo
Connecting to <IP_ADDRESS>:48080... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /todo/ [following]
--2022-09-14 22:27:08--  http://<IP_ADDRESS>:48080/todo/
Reusing existing connection to <IP_ADDRESS>:48080.
HTTP request sent, awaiting response... 502 Bad Gateway
2022-09-14 22:27:08 ERROR 502: Bad Gateway.

However adding a trailing slash makes it work:
peter@Elk:~$ wget http://<IP_ADDRESS>:48080/todo/
--2022-09-14 22:35:20--  http://<IP_ADDRESS>:48080/todo/
Connecting to <IP_ADDRESS>:48080... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2714 (2.7K) [text/html]
Saving to: ‘index.html’

index.html                 100%[========================================>]   2.65K  --.-KB/s    in 0s

2022-09-14 22:35:20 (127 MB/s) - ‘index.html’ saved [2714/2714]

Just realised this was caused by me using <IP_ADDRESS> but it was also caused by me trying the same url but replacing with my devices internal network IP in a browser. Adding the trailing slash worked in eaxh case.


VisitableURLClassLoader leak.

After upgrading to 7.0, I see some class loader leaks. In particular, VisitableURLClassLoader is leaking each time the classpath is updated.
I have traced down some of the references to the leaked classloader to
subprojects/core/src/main/java/org/gradle/cache/internal/DefaultCrossBuildInMemoryCacheFactory.java

in particular, line 92
retainValuesFromCurrentSession(valuesForThisSession.values());

where constructor references are cached across builds. seems like an optimization that might be causing more harm than good, or at least that cache should be invalidated as soon as a new build starts and the previous cached values are not usable.
In any case, after removing that caching, it removed some of the incoming references to the leaked class loader but not all.
The next set of references are coming from contextClassLoader on "jar transforms" threads.
The weird thing is that ManagedExecutorImpl::stop is called correctly and some of the threads are indeed stopped but not all of them:
I can see org.gradle.internal.concurrent.ThreadFactoryImpl$1 still being reachable because they are still in the ManagedExecutorImpl workers list.
I will continue investigating why these threads are still dangling but I would appreciate any advices/hints as I don't know this code too well.

Ok I have traced why the "jar transforms" threads are still using the VisitableURLClassLoader as a context class loader.

the "jar transforms" executor is a daemon based service meaning it is not shutdown until the daemon shuts down.
the thread created by the "jar transforms" executor service inherit the parent thread context class loader at the time of creation, so when the threads are created, the context class loader is set to the current build script class loader
when the build finishes, all executor services shutdown but not the "jar transforms".
until the threads are used in a different build, they will continue to hold on to one the previous build class loaders.

after a small fix to remedy to the above situation, I cannot see any incoming references to the classloaders so good news. However, I have not verified the behavior because the daemon is aggressively killed (due to metadata near exhaustion before the VM has the opportunity to remove all weak/soft references objects like those classloader instances. Is there a way to disable the health monitoring of the Gradle daemon ?

Hey @jdochez following your comment, did you have the chance to check if the issue is resolved?

Pls. open a new issue if there are follow-ups.


Can't start/create VMs on LXD 5.9, can on 5.8

Required information

Distribution: nixos
Distribution version:
The output of "lxc info" or if that fails:

Kernel version:
LXC version: 5.9
LXD version: 5.9
Storage backend in use: dir

Issue description
Can't launch virtual machines on at least x86_64/amd64 machines when using 5.9.
Steps to reproduce
lxc launch ubuntu --vm
fails, look at log:
level=error msg="Unable to run feature checks during QEMU initialization: exit status 1"
we think it might be related to the change in #11254?
Information to attach

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

Please check if still an issue on lxd 5.10 as there were several fixes related to vm support detection.


Fix debugLogging is undefined error

Fix ERROR: TypeError: Cannot read properties of undefined (reading 'debugLogging')
on tenant_show and others

Tried out this new branch, got a different error now:
➜  elv-live-js git:(logging_error_fix) ✗ ./elv-live tenant_show itenKGHd3iedqtA39krJUPkBTCNoTeX
Tenant - show itenKGHd3iedqtA39krJUPkBTCNoTeX
check_cauth undefined
check_minter undefined
check_nfts undefined
Network: demov3
ERROR: TypeError: Cannot read properties of undefined (reading 'cauth_id')
    at EluvioLive.TenantShow (/Users/victoramigo/Eluvio/elv-live-js/src/EluvioLive.js:97:34)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async CmdTenantShow (/Users/victoramigo/Eluvio/elv-live-js/utilities/EluvioLiveCli.js:261:15)

tenant_show bug fixed


Add support for JSON

#165 Added support for JSON.SET and JSON.GET operations; (jsonpath operations is wip)
@JyotinderSingh the existing Encode function seems to be sophisticated enough for handling the encoding of the json strings to RESP2.
However, in RESP3 standard; things have been changed a bit in case of handling of maps
Kindly take a look at the following docs/discussion:
https://redis.io/docs/latest/develop/data-types/json/resp3/
https://github.com/RedisJSON/RedisJSON/issues/1090
https://redis.io/docs/latest/commands/json.set/

Thanks for the changes @Maveric-k07.
Please rebase this PR on the latest master to resolve any conflicts. Will review this once that is done.

@Maveric-k07 Regarding RESP3, we only aim to support RESP2 for now.

@JyotinderSingh Alright, let me know if it looks good; I will keep working on #166

Thanks for the contribution.
I have some thoughts:
We can probably consider replacing the standard encoding/json library with github.com/valyala/fastjson for both GET and SET operations. fastjson provides efficient parsing and manipulation of JSON objects.
Also, with this library it may be better to store JSON as []byte instead of interface{}. This can help reduce memory usage and will also align better with fastjson's API.
JSONGET
var parser fastjson.Parser

obj := Get(key)
// validations ...

jsonBytes, ok := obj.Value.([]byte)
if !ok {
    ...
}
v, err := parser.ParseBytes(jsonBytes)

JSONSET
Also, considering the upcoming features we plan to implement, such as JSON Path support (#166) the fastjson library can support that natively (https://pkg.go.dev/github.com/valyala/fastjson#example-Value.Set)
I'm just considering a path separated json path provided to us in the args, but we can implement the official redis standard in the actual PR
var parser fastjson.Parser

key := args[0]
path := args[1:len(args)-1]
jsonValue := args[len(args)-1]

obj := Get(key)
var v *fastjson.Value
if obj != nil {
    // type and encoding validation ...
    jsonBytes, _ := obj.Value.([]byte)
    v, _ = parser.ParseBytes(jsonBytes)
}

if v == nil {
    v = fastjson.MustParse("{}")
}

newValue, err := parser.Parse(jsonValue)

if len(path) == 0 {
    v = newValue
} else {
    err = v.Set(path, newValue)
    if err != nil {
        return Encode(errors.New("ERR invalid path"), false)
    }
}

Would like to know your thoughts around this.
@arpitbbhayani what do you think about this?

@JyotinderSingh Thank you for your detailed feedback.
I agree that storing JSON as []byte instead of interface{} is a good approach. It will reduce memory usage and provide better compatibility with fastjson's API. This change aligns well with future implementations.
Adding below a POC for the suggestions using fastjson; all test cases passing in tests/json_test.go passing.
// evalJSONGET retrieves a JSON value stored at the specified key
func evalJSONGET(args []string) []byte {
if len(args) < 1 {
 return Encode(errors.New("ERR wrong number of arguments for 'JSON.GET' command"), false)
}

key := args[0]
obj := Get(key)

if obj == nil || hasExpired(obj) {
 return RESP_NIL
}

objType, _ := ExtractTypeEncoding(obj)
if objType != OBJ_TYPE_JSON {
 return Encode(errors.New("WRONGTYPE Operation against a key holding the wrong kind of value"), false)
}

jsonBytes, ok := obj.Value.([]byte)
if !ok {
 return Encode(errors.New("ERR invalid JSON value"), false)
}

v, err := parser.ParseBytes(jsonBytes)
if err != nil {
 return Encode(errors.New("ERR invalid JSON"), false)
}

return Encode(v.String(), false)
}

// evalJSONSET stores a JSON value at the specified key
func evalJSONSET(args []string) []byte {
 if len(args) < 3 {
  return Encode(errors.New("ERR wrong number of arguments for 'JSON.SET' command"), false)
 }

 key := args[0]
 // path := args[1 : len(args)-1]
 jsonStr := args[len(args)-1]

 v, err := parser.Parse(jsonStr)
 if err != nil {
  return Encode(errors.New("ERR invalid JSON"), false)
 }

 jsonBytes := v.MarshalTo(nil)
 obj := NewObj(jsonBytes, -1, OBJ_TYPE_JSON, OBJ_ENCODING_JSON)
 Put(key, obj)

 return RESP_OK
}

As for the JSON PATH operations, I think we can build on-top of your idea and converge our way to the redis standard in #166

@Maveric-k07 @JyotinderSingh I would recommend let's go for a quick implementation for now and store interface{}, once we hit the roadblock then we can always optimize.
My concern is with query time capabilities. I think it would be better if we store JSON as map[string]interface{} the reason being we will make query time more efficient as we need not parse and query the JSON objects. Let me know if my understanding about the approaches has some gaps.
Also, I have updated the tutorial with the changes discussed last week.
https://dicedb-docs.netlify.app/tutorials/realtime-leaderboard/
Take a look.

@JyotinderSingh would like to know your thoughts on it please, to finalize which way we are going.
I've been working on implementation of the jsonpath operations using fastjson and had trouble getting it working properly. I stumbled upon another project ajson that is providing us with out-of-the-box support for jsonpath operations, which we can use to ship quickly for the GET, SET and partial update via SET operations. Other JSON commands supported by redis can be added as well.  Kindly take a look and let me know if i should go ahead with the implementation with ajson.

@JyotinderSingh would like to know your thoughts on it please, to finalize which way we are going.
I've been working on implementation of the jsonpath operations using fastjson and had trouble getting it working properly. I stumbled upon another project ajson that is providing us with out-of-the-box support for jsonpath operations, which we can use to ship quickly for the GET, SET and partial update via SET operations. Other JSON commands supported by redis can be added as well.  Kindly take a look and let me know if i should go ahead with the implementation with ajson.

I think we can proceed with Arpit's suggestion here. Let's pick up the feature extension work (path, performance) in a separate PR where we can evaluate our different options better. Let's also discuss that in the upcoming weekly sync.
Please proceed with implementing this as a map for now.

@JyotinderSingh  I have gone with interface{} for storing the json in our application as redis' JSON.SET supports primitive datatypes as well:
JSON.SET message $ '"Hello, World!"'

JSON.SET booleanTrue $ true

JSON.SET numbers $ '[1,2,3,4,5]'

Support for these would not have been possible by having map[string]interface{}. Do let me know if I am missing something.
All tests are passing and I also have a python script for testing out the flow of SET and GET operations.
I am very close to finishing the #166 using ajson, as a POC.

@JyotinderSingh I have gone with interface{} for storing the json in our application as redis' JSON.SET supports primitive datatypes as well:
JSON.SET message $ '"Hello, World!"'

JSON.SET booleanTrue $ true

JSON.SET numbers $ '[1,2,3,4,5]'

Support for these would not have been possible by having map[string]interface{}. Do let me know if I am missing something. All tests are passing and I also have a python script for testing out the flow of SET and GET operations.
I am very close to finishing the #166 using ajson, as a POC.

Thanks for the changes. It makes sense to use an interface{}. Overall the PR looks good.
Also, I'm not sure why a python script is needed to test the operations, we already have the required go infrastructure for E2E testing in our repo.
Have also left a few comments.

Also, I'm not sure why a python script is needed to test the operations, we already have the required go infrastructure for E2E testing in our repo.

@JyotinderSingh The python script is temporary dev script that i am using for testing various cases in the JSON.SET implementation, will not be added to the repo.
I have made changes to address your suggestions above. Please check. Thanks


shared folder file copying is too verbose

Describe the bug
When shared folders in release contain lots of files, each and everyone of them is listed then copying. Which causes lots of spam output. In severe cases when lots of output fails GitLab CI builds because it's exceeds 4194304 bytes, which GitLab can handle:

Job's log exceeded limit of 4194304 bytes.

To reproduce

create a release with a shared folder that has thousands of files
set that folder as shared in deployer
release

Expected behavior

should specify only a folder that is getting copied.

Environment

Deployer version: 6.8.0
PHP version: 7.3
Deployment target(s) OS: Debian stretch

this line is the culprit https://github.com/deployphp/deployer/blob/112601294c3c76273322ecc4e5f995e34f27b6f6/recipe/deploy/shared.php#L29
can we remove the -v ?
or maybe make it depend on deplyer verbosity level say -vvv would use cp -v ?

I think -v for -vvv is okay. Can you make PR?

yes. how can i get verbosity level inside the task?

output()->getVerbosity()


Add serial test execution for s3_test suite

As described in https://github.com/delta-io/delta-rs/issues/82, rusoto uses a shared global hyper client that causes problems in parallel test execution.
This PR adds serial_test as a dev dependency and tags each function in s3_test as #[serial] to workaround the test execution context.
Ultimately, this could mask problems when supporting multi-threaded delta-rs users, but we don't know how that landscape will shape yet, so perhaps this is a good solution in the interim to fix CI for now.

Closing to remove accidental file commits


fix Reset the db name of the materialized index stmt #39710

cherry pick from #39710

run buildall

run buildall

run buildall


Dark favicon is not working in Chrome

src/base/favicon.svg contains <style>@media (prefers-color-scheme:dark){path.a{fill:#fff}}</style>  but it dont work

oh it will work in Chrome 80 and current version is 79


Fully Kiosk Browser

Hi, I use custom header and it´s great!!
The problem is that when I open my dashboard in fully kiosk browser, the header remains standard. There is no change (in chrome it works fine)
Is there some special configuration for fully kiosk browser to work?
I just use this settings:
custom_header:
  exceptions:
    - conditions:
        user: Tablet
      config:
        compact_mode: true
        kiosk_mode: true
  voice_hide: true

Thanks a lot!

Testing with Fully Kiosk on my Android phone and Fire tablet I don't see this issue. What device are you using and has it been fully upgraded? I ask as some tablets have older versions of webview that can cause issues. Are you absolutely sure that the user name "Tablet" is correct? Capitalization is important and it must be the user's name, not the username (if they're different).
If you don't use yaml mode you can check the user name by opening the Custom Header option from the menu on the top right. If you scroll down it will show you the user's name you should be using under "Current User".
If you use yaml mode, you can log in as the tablet user on a computer with Chrome or another popular browser and hit (F12) to access the browser's dev console. Then you can type this in document.querySelector("home-assistant").hass.user.name and it will show the name you should be using.

Noticed that you mentioned it works in chrome just fine, but I wanted to cover all bases to get to the meat of this issue. Thanks!

Hi, I´m using an Amazon Fire 7 Tablet. The configuration is correct and the letters too (in chrome everything works).
The informatin of my tablet:

Device Name
Fire

Hostname
192.168.0.XXX

IP4 Address
192.168.0.XXX

IP6 Address
FE80::3E5C:C4FF:FEB9:XXXX

Mac Address
3c:5c:c4:b9:6c:XX

Wifi SSID
"XXX"

Battery level
100% (plugged)

Screen brightness
255

Screen status
on Turn off

Keyguard locked
off

Full wakelock
on

Partial wakelock
off

Foreground app
Get focus

RAM (free/total)
213/890 MB

Internal Storage (free/total)
3071/5765 MB Load ZIP file

Screen
1024x600 px

Android version
5.1.1 (SDK 22)

Webview version
55.0.2883.91

Device Type
KFAUWI (Amazon)

Serial
XXX

Android ID
cb8fb71d029a4XXX

Home you can help me
Thanks a lot

I think that it may be something in the configuration of my fully kiosk

You may want to try to update FireOS and I think that will also update Webview, but it's likely that's whats holding you back. Around FireOS version <IP_ADDRESS> they updated the system webview to v. 70+ which solved many issues with unsupported JS.
I try to make CH as friendly to older devices as I can, but there is only so much I can do.

Going to close this one for now as I'm fairly sure this is a result of outdated Webview, but feel free to continue commenting and I'll help in any way that I can.


[Add] Adding link of Keycloak

Site URL
https://www.keycloak.org/
Description of the above provided site
Add authentication to applications and secure services with minimum effort. There is no need to deal with storing or authenticating users. Keycloak provides user federation, strong authentication, user management, fine-grained authorization, and more.
Category
Backend
Sub Category
Authentication
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am participating in Hacktoberfest 2023

You've been assigned @Prakhar-Shankar. Now, let's review your pull request! :)


[Q]PokemonGo-Map Account Config

Before we get the wiki site for that function quick question. Should I configure PokemonGo-Map using the same account as bot or is it recommended to use another account?

According to PokemonGo-Map wiki its highly reccomended to use a different account.


Public, shareable dashboards and charts

Proposal:
Give users a way to easily share dashboards and individual charts without requiring a login.
Shared dashboards should be accessible via a relatively short, simple URL in one of the following formats.
For InfluxDB OSS 2:
hostname:9999/chart/GUID.js
Example:
localhost:9999/chart/33533452sfa345235scxgdsfg.js
For InfluxDB Cloud 2:
influxdata.com/chart/GUID.js
Example:
influxdata.com/chart/33533452sfa345235scxgdsfg.js
Current behavior:
Currently, sharing charts requires logging into InfluxDB, which in turn requires logging into an InfluxDB account.
Desired behavior:
There are two personas below:

InfluxDB admin: a person who has admin access to an InfluxDB instance and knows how to setup InfluxDB dashboards.
Chart consumer: a person who views InfluxDB charts. They don't necessarily have admin access to InfluxDB, nor how to set up InfluxDB dashboards.

An InfluxDB admin clicks on an icon in a dashboard or individual chart, which copies a URL to the clipboard. user can then past it into a URL, Slack message, email, text, or other location.
A chart consumer clicks the URL, and their browser sees a live-updated version of the chart. The chart consumer can embed the URL into a webpage using the

I'm not sure what challenges would be present, but for security reasons (including not to cache data on the client side), could this be rendered server side?

For PAYG customers, are we ok that they will be charged for the query every time their shared dashboard is viewed, or do we need some special billing considerations? Do the other products that have this feature charge for queries?

@rawkode I'd be fine with server-side rendering of the image. It wouldn't be live updated, but a web developer could have their page auto-update periodically.
@barbaranelson Yes, this runs more queries and thus drives up query-related billing costs. As you know, this is the same as with dashboards, tasks, and alerts. This argues for a real-time billing display in Cloud 2, and perhaps optional alerts if billing charges per day spiles above a certain amount.

BUMP!

To build upon the original feature request, public dashboards could be cached and periodically updated on a schedule determined by the proposed InfluxDB Admin role.

For me this is still a big pain point as a developer I would love to render the graphs server side as a PNG or SVG I know I used to be able to do this with RRD-tool would be nice to see the same kind of feature from influx

Still hoping to see this option added. I would like to use InfluxDB as a wallpaper on my Windows 11 desktop. The open source project called Lively allows you to set a webpage URL as your wallpaper, but I cannot type into the wallpaper to login to InfluxDB.
If InfluxDB enabled public dashboard URLs, I could simply plug in the URL directly to the dashboard, and then I would not have to type into the web interface at all with Lively.

This feature is currently available in InfluxDB Cloud. I don’t know if or when it will be added to InfluxDB OSS.

This feature is currently available in InfluxDB Cloud. I don’t know if or when it will be added to InfluxDB OSS.

Is this true? I see there is now an auto-refresh (limited to 30 days), but you must still be logged in. This is not a publicly sharable dashboard. Or am I missing something?

I can't believe this haven't been implemented yet. Just set my first db and I can't share the results. What's the point?
Instead you can share an instance of a Notebook (to whom?)

This discussion might yield a good compromise for you: https://github.com/grafana/grafana/discussions/49253

Here's a use-case where this would be useful: I have an off-grid cabin, where I use a tablet in Kiosk mode to show a dashboard with solar power monitoring stats.
InfluxDB 2 has a very nice dashboard UI, and I'd love to have a persistent display of this, without it requiring a login.

I also hope to have a dashboard that does not require login

This is the most important feature and why I´m moving from Influx to Grafana. Also, you can´t display a Dashboard in mobile or tablet very well, so I had to make a web-app in streamlit to do it for my clients.

I agree with the above comments – this is an important, obvious feature! There's even already a "presentation mode", which would fit many of the above mentioned use cases very nicely, only that it still requires a login (and times out after 15 minutes).


Add the HTTP API to get the json string of rules

@fabxc Please help to review this PR. I found the rules can't get from the HTML, so try to return the json string  of rules by HTTP API.

This will break when we implement rule groups, so we should probably wait until then.

Thanks Brian，and could provide me more info about the rule groups? like the PRD of this function and when it will be implement?
BTW, can the rule groups query by HTTP API?

It's #1095