More than just a blank square for broken deploy links

Not sure how common that is, but my (4-year old) CIS194 lecture notes are (expectedly and unavoidably) beginning to bitrot, and many code snippets no longer compile. That’s ok.

Great idea.  This is made more difficult by the fact that code is built with deferred errors, so in general we have to not only catch code that doesn't compile, but also code that throws an exception for a deferred error without doing anything visible first.  There is already a DOM listener in the window that detects when anything visible has been done, so this isn't as hard as it sounds.


Updating sanitisation script for new table

This change will do the following

Sanitising question and indicator data_blob keys in the funding_question column.

Sanitising by applying lorem_ipsum to  commentary, important_milestone and leading_factor_of_delay  in the the project_progress column.

Binding psql version 16 to avoid the mismatch error.

Adding command to flask-cli to get sanitised db directly.

[ ] Unit tests and other appropriate tests added or updated

[ ] README and other documentation has been updated / added (if needed)

[x] Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

Hi @israr-ulhaq, interesting changes to review - I enjoyed taking a closer look at the database sanitisation stuff you've been working on, looks like a really challenging problem that you've made a lot of headway on, so kudos!
Regarding this PR, I'm slightly confused what the overall objective is as there is no linked Jira ticket in the description and the name "Updating sanitisation script for new table" doesn't seem to match the code I've just reviewed. For example, what exactly is the new table referred to in the PR name? In this PR I can see a variety of changes, including:

Adding anonymisation to additional (but not all) columns in the funding_question and project_progress tables
Deliberately not sanitising certain records in the project_progress table
An update to the way we handle anonymising the risk_register data blob, to generate new lorem ipsum for each field and avoid deleting unnamed fields
A new CLI command to abstract away direct usage of the restore-sanitised-database script, and a new argument for that script to bypass user input

All are potentially useful (although need clarification on no. 2), but I'm not sure they should all be hanging out together in the same PR?
Interested to get your thoughts on the comments I've left - merge is blocked for now pending your clarification on certain points. Good work anyway :)

Hi @israr-ulhaq, interesting changes to review - I enjoyed taking a closer look at the database sanitisation stuff you've been working on, looks like a really challenging problem that you've made a lot of headway on, so kudos!
Regarding this PR, I'm slightly confused what the overall objective is as there is no linked Jira ticket in the description and the name "Updating sanitisation script for new table" doesn't seem to match the code I've just reviewed. For example, what exactly is the new table referred to in the PR name? In this PR I can see a variety of changes, including:

Adding anonymisation to additional (but not all) columns in the funding_question and project_progress tables
Deliberately not sanitising certain records in the project_progress table
An update to the way we handle anonymising the risk_register data blob, to generate new lorem ipsum for each field and avoid deleting unnamed fields
A new CLI command to abstract away direct usage of the restore-sanitised-database script, and a new argument for that script to bypass user input

All are potentially useful (although need clarification on no. 2), but I'm not sure they should all be hanging out together in the same PR?
Interested to get your thoughts on the comments I've left - merge is blocked for now pending your clarification on certain points. Good work anyway :)

Hi @wjrm500. thanks for thoroughly reviewing the PR.
This PR is actually related to this ticket although it's the updated version with some fixes.
This change i'm making because, when @gidsg  tested the restore script from the prod to dev environment, he noticed that some business-sensitive information was still in the project_progress table and parts of the funding_question table.
To fix this, I decided to anonymise the commentary field, as it had a lot of business-related details. I also sanitised the risk_rag and spend_rag fields by replacing them with random numbers. I didn’t sanitise every field, though, as that would slow down the script. The fields I didn’t sanitise don’t reveal much on their own without the ones I did anonymise, like commentary.


Fallback to OG Image if no image

One annoying thing about Scrappy is that you have to include an image. This was great when Scrapbook first launched, but now that people are also using it for ships, I've often seen Scrappy refuse to upload their ships because they included a URL but not an image.
We've previously discussed something like opening included URL(s) and taking a screenshot, but that's hard to get right. A better fallback might be to find the open graph image for the included URL(s) and upload that as the image for the post, iff there is no other image attached. Just an idea!

@JosiasAurel can you please coordinate with V205 in slack and have them see if this is reproducible?  assign it to them in github when they accept responsibility

@JosiasAurel ping on this


Add an option to turn on reachability checks for assertions

Description of changes:
A new option, --assertion-reach-checks, turns on reachability checks for assertions specified via the assert! macro. The results of reachability checks can aid in identifying vacuously passing properties that are reported as "SUCCESS" due to their unreachability (see #637). When this option is turned on, unreachable asserts would be reported as "UNREACHABLE".
Resolved issues:
Call-outs:

The option currently turns on reachability checks for assertions specified via the assert! macro only.
The UNREACHABLE result is only reported if the new output format (--output-format regular) is used. Without this option, the output would contain some raw unprocessed output that is not supposed to be user consumable.
Reachability checks are implemented via __CPROVER_assert(false) as opposed to the cleaner __CPROVER_cover. But using __CPROVER_cover is currently blocked by https://github.com/diffblue/cbmc/issues/6613. Because of using __CPROVER_assert(false), the way to interpret the results of reachability checks is:

"SUCCESS": Assert is unreachable
"FAILURE": Assert is reachable

Testing:

How is this change tested? A standalone test and a cargo kani test were added

Is this a refactor change? No

Checklist

[X] Each commit message has a non-empty body, explaining why the change was made
[X] Methods or procedures are documented
[X] Regression or unit tests are included, or existing tests cover the modified code
[X] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

I would prefer blocking this last PR till we have the results parser changes in place.

Sure, I'll add the parser changes to this PR.

Added parser changes.

Addressed an issue that @celinval caught, which is that kani was terminating with a non-zero exit code even if the user-level checks were all successful. This happened because of the failure of the assert(false) statements that check reachability.

Can you please add a testcase or a line in the expected files that a reachable property is still reported as success? Maybe also add a testcase for the failure case too.

Done.


As an application I need a client side

PROBLEM TO SOLVE AND DETAILS
WHO is the beneficiary/actor, WHAT it does/require and WHY? Add detailed explanations, images, diagrams, and data.
When backend part starts to grow, the application will need a graphic part, a beautiful, intuitive and robust client side where with several clicks of our mouse we can do everything.
SOLUTION PROPOSAL
What can be done to solve the problem? How it can be solved?
Create Frontend part of the application using ReactJS.
CONDITIONS OF SATISFACTION
What does success look like? List of conditions that will be checked at the end of the issue to determine that is DONE.

[ ] Create Frontend part of the application with React

Issue closed because we will be working in a different repository for the frontend part


Unexpected return values in the PHP runtimes

Hello,
While using the PHP 7.4 runtime and using the hellowithdeps.php or hellowithdata.php examples, I get some erroneous return value:

What could cause this behavior? Is it somewhat related to the runtime docker images?

It seems like the PHP runtime returns gzipped responses when the return content size > 20 bytes


Resolves issue #3

Changed log

Integrate the Travis CI build.
Resolves issue #3.
The Travis CI build log is available here.
Add usage about generating password via executing run.py.

@ismailtasdelen, please review this PR if possible. Thanks.

I understand better now. And I'm grateful for that.

Hi @ismailtasdelen. Thanks for your concern.
If possible, you can also enable the Travis CI build and add the Travis CI badge in the README.

Of coruse @peter279k 👍


feat(cbor): Initial ABNF parser

Description
Added an ABNF parser for CDDL extension according to RFC9165
Related Issue(s)
Closes #75
Description of Changes

Added an ABNF parser for CDDL extension according to RFC9165
Added test cases
Updated configs according to the lastest version of catalyst-ci

Please confirm the following checks

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream module

CI needs to pass before we can do a proper review.


cop: Support variable number of arguments

What have you changed? (mandatory)
This PR adds vargs support to the RPN framework.
It also includes the implementation of coalesce_xxx as a demonstration of the vargs support.
What are the type of the changes? (mandatory)

New feature (change which adds functionality)

How has this PR been tested? (mandatory)
New unit tests.

/run-integration-tests

@H-ZeX You can also review this PR :)

/run-integration-tests


Vulkan Mobile backend: Lights don't affect primitive meshes

Godot version
v4.0.dev.calinou [6d58b968d]
System information
Windows 11, Vulkan, Nvidia Quadro K2000 461.92
Issue description
Lights don't work on the Mobile Renderer on non-pre-alpha builds.

This is quite possibly related to the specific GPU architecture, as Kepler GPUs are known to have plenty of issues with DX12 and Vulkan.
I don't have access to different GPU architectures that support Vulkan so I cannot test the theory out.
Do note - Changing shading of the mesh to Lambert and things like that don't fix the lack of lights.
Steps to reproduce
Create a Mesh and try to apply Lights to it.
Minimal reproduction project
Bug.zip

I can reproduce this on master 2a9dd654b (Linux, GeForce GTX 1080):

It works in other scenes though, so it must be something specific to this project.

Note that this was not fixed by https://github.com/godotengine/godot/pull/58628. I tested the commit just before and after, and can confirm the issue is still present in both commits with the MRP linked.

@Calinou, I believe #58628 fix the problem, but you need to delete .godot folder, maybe it cached?
I think #58628 fixes the problem, but you need to delete project's .godot folder. Perhaps this data is cached?
v4.0.alpha.custom_build [54a777b52]:

v4.0.alpha.custom_build [039ffda99]:

@lufog I see, I guess we can consider this resolved then.


chore: migrate to owl bot

This PR migrates from autosynth to owl bot.  PRs will be automatically opened when there are template updates from synthtool. With owl bot, on every PR, a post-processor image will run so that we won't have to ask contributors to run blacken. Googlers see go/owlbot-user-guide.

Thanks @jimfulton!

@tseaver This is ready for review


No subtitles for dub

Subtitles are not working whether selecting soft or hardsub for the dub. I am on latest nightly.

There is no subtitle on dub for non supported sources, also no sources that natively support sub on dub.
That just how it works.


Engine crashes when trying to make a node2D unique

Im working away on this awesome engine and i wanted to see what the make resource unique does and it crashed the engine.
FACTS
1: im running elementary os freye linux
2: my engine version is godot_x11-1.1rc2.64
3: i made some unique script resources earlier

I'm sorry, you will have to add more detail to this issue, as making resources unique works perfectly as far as I can test.
Node2D is not a resource, so I guess it must have been something else.  Could you add more detail to your problem?

It is very simple to reproduce this issue... Just select a node, click the gear icon in the Inspector, and press "Make Resource Unique"... :smile:

i totally forgot about that option, will fix it


Angular CLI is hiding files from system but codebase is running

Command
generate
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
While I was creating a new module with routing, noticed that existing modules are vanished from file explorer and VS code also. Initially I thought it was deleted but git status is showing that its up-to-date. For my own interest I checked if application is running or not and found working perfectly even if the modules are not seen from system. I faced this issue before and I had to re-clone the project into a new workspace.
Minimal Reproduction

ng  g m modules/abc --routing --flat

Exception or Error

Your Environment
Angular CLI: 15.2.11
Node: 18.18.0
Package Manager: npm 10.2.0
OS: win32 x64

Angular: 15.2.10
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.11
@angular-devkit/build-angular   15.2.11
@angular-devkit/core            15.2.11
@angular-devkit/schematics      15.2.11
@angular/cdk                    12.2.13
@angular/cli                    15.2.11
@schematics/angular             11.2.19
rxjs                            6.5.5
typescript                      4.9.5

Anything else relevant?
No response

Angular 15 is no longer under support. The actively supported versions are Angular 17, 18, and 19.
For additional details, visit [Angular's release reference](https://angular.dev/reference/releases#actively-supported-versions).


Use Test Driver in Service Load Tests and Remove Odsp Config Files

This change allows service load tests to use any driver. Additionally, it decouple the Odsp test driver for checked in config, so partners can easily reuse with their own test tenants, as it only requires setting env vars. The removal of the config necessitated a few changes to ensure we handle getting drive id in parallel, and to support creating the test driver async. Lastly also starting to run e2e tests against odsp in the real svc tests

fixes #4976

https://dev.azure.com/fluidframework/internal/_build/results?buildId=17363&view=ms.vss-test-web.build-test-results-tab


ghost drawer

the drawer is closed by default.
but, its last render() call produces a ghost drawer on screen.
how to work around it?

What do you mean by a ghost drawer? Can you post your Drawer configuration and also what version you have installed

http://imgur.com/UEaYfjM
the drawer is closed, but still can see its content.
   render() {         return (             <View style={styles.container}>                 <Drawer content={<IndexDrawer index={this} navigator={this.props.navigator}/>}                         openDrawerOffset={0.6}                         panCloseMask={0.6}                         ref="drawer"                         tapToClose={true}                         tweenHandler={Drawer.tweenPresets.parallax}                         type="static">                     <IndexBar index={this} navigator={this.props.navigator}/>                     <IndexContent index={this}/>                 </Drawer>             </View>         );     }

type="static" positions the drawer behind the main view, so the positioning is correct. It appears to me what you need is to set backgroundColor: 'white' on your main view. e.g.
<Drawer content={<IndexDrawer index={this} navigator={this.props.navigator}/>}
                    openDrawerOffset={0.6}
                    panCloseMask={0.6}
                    styles={{main: {backgroundColor: 'white'}}}
                    ...

`

it works. million thanks.


Cannot set HOME location

Logged into the addon successfully but it shows the default/first home and the devices gives an error "Device is not under your account".
Is there any way to change the home in a multi-home configuration?

You can modify your default family using eWeLink App.


Blazor Hybrid: Globalization and localization topic

When content is provided in an issue comment here, please remove the PU member assignment and assign the issue to @guardrex 🦖. PU member will be pinged on the PR when it goes up.
aspnetcore/blazor/hybrid/globalization-localization.md

We believe there is no MAUI-specific work to be documented here. The WebView2 has a Language setting which is set automatically and then the usual ASp.NET Core localization mechanism using IStringLocalizer can be used within the Blazor app to provide localized content.
@Redth do you know whether the assumption above is correct? Does MAUI set the localization info on the WebView automatically?

@rmarinho  or @PureWeen thoughts on this one?

We have some notes in this issue from an earlier investigation: https://github.com/dotnet/maui/issues/2532#issuecomment-1026378294


Creating DocVec with the Object that has Optional Field

I am experiencing difficulty creating a DocVec of an Image object with an optional "features" field. When attempting to create a DocVec of Images, where each Image contains an optional Features object, I receive the error message: "ValueError: None is not a <class 'main.Features'>".
To provide some context, I am using the following code:
import numpy as np
from docarray import BaseDoc, DocList, DocVec
from docarray.typing import NdArray, ImageUrl
from typing import Optional

class Features(BaseDoc):
    tensor: NdArray

class Image(BaseDoc):
    url: ImageUrl
    features: Optional[Features]

docs = DocVec[Image](
    [Image(url='http://url.com/foo.png') for _ in range(10)]
)

I have attempted to resolve the issue by using NdArray directly.
class Image(BaseDoc):
    url: ImageUrl
    features: Optional[NdArray]

While this code works, it is not ideal as I would prefer to use the Features class for the features field. I also attempted to create the Features class with an optional tensor field, which resolved the issue, but does not seem like the correct solution.
class Features(BaseDoc):
    tensor: Optional[NdArray]

My question is whether this behavior is expected or if I am doing something incorrectly.

Hey @movchan74 let me take a look. there is def'ly a bug here. Indeed if you change the DocVec to a DocList the same error will appear and it should not.
I am investigating the problem, I will fix it asap


Special character "¬" not recognized by VS Code

The special character "¬" is not recognized in VS Code.  This character is used to interface with our document software.  The character shows as a  "?" inside the editor then after the source is saved it is either converted to blanks or "\Z".  I then need to go into SEU to copy the source line back that includes "¬".   Is there something that you can do?  Being that I have a workaround for this, this is not a high priority issue.  Any assistance on this is appreciated.  Thanks.

QCCSID: 65535
Features:

git: false
grep: false
tn5250: false
setccsid: true
md5sum: false
bash: false
chsh: false
GENCMDXML.PGM: true
QZDFMDB2.PGM: true
startDebugService.sh: false
iconv: true
attr: true

SQL enabled: false
Source dates enabled: true

Variants
{
  "american": "%23@$",
  "local": "%23@$"
}

Errors:
[
  {
    "command": "system \"CHKOBJ OBJ(QSYS/QCPFRMIMPF) OBJTYPE(*DTAARA)\"",
    "code": 255,
    "stderr": "CPF9801: Object QCPFRMIMPF in library QSYS not found.",
    "cwd": "/home/robinm01"
  },
  {
    "command": "ls -p /QOpenSys/pkgs/bin/",
    "code": 2,
    "stderr": "/QOpenSys/pkgs/bin/ not found",
    "cwd": "/home/robinm01"
  },
  {
    "command": "ls -p /QIBM/ProdData/IBMiDebugService/bin/startDebugService.sh",
    "code": 2,
    "stderr": "/QIBM/ProdData/IBMiDebugService/bin/startDebugService.sh not found",
    "cwd": "/home/robinm01"
  }
]

@robinsonmeredeth I have no problems seeing the "¬" character and edit and save lines containing this.
You have enabled source dates, so SQL is used to read and write the members and thus the user CCSID and SSH daemon language settings are in effect. Please follow the tips for correct language setup: https://halcyon-tech.github.io/docs/#/pages/tips/ccsid

@chrjorgensen You beat me to it!
I am sure we had something come up specifically about ¬ before but I will have to dig through our issues, but I think the usual fix will solve it.

Hello, I am still having problems with special characters.  I changed my character set to CCSID 37, but I still get the below message when I start the application.  When the conversions are not done, I need to use PDM on the iSeries to copy and paste the characters from the original code.  I cannot find the Source Date settings.

@robinsonmeredeth You have to right-click the connection and select Connect and Reload Server Settings to have Code for IBM i recognize your new CCSID. Then it should be fine...

I cannot locate the Connect and Reload Server Settings.  Also, how do i get out of Full Screen view?

Disconnect and right-click the connection in the SERVERS list.
F11 will take you out of full screen - like in your browser.

Great.  I didn't know about F11.  Thanks for your help.
At one time I had to connect to the Server, now it comes up automatically.  I don't know how to disconnect, IBM I appears at the top.  How to I disconnect?  I assume once I disconnect then I will be able to manually connect like I use to.

F1 and select IBM i: Disconnect From Current Connection:

or click the disconnect button in the bottom bar:

I've learned a lot today.  Thanks again for your patience.  Wow!
Now I no longer have the message for the CCSID.  I assume it now recognizes the CCSID = 37.  However, the special chars are still not recognized.  Below are comparisons of PDM to VSCode.  What else am I missing?

@robinsonmeredeth Please check and report the CCSID of the source file.
Also check that you use `*FILE' in the connection settings:

Hello, yes CCSID is *FILE already.


Type check doesn't work in generic class, but works in its derived class

TypeScript Version:  Nightly (playground)
Search Terms:

generic class
type check
derived class

Code
I already posted a question on StackOverflow (check it for more info), but a user pointed out it might be a bug, so I'm posting it here.
type Events = {
	[key: string]: (...args: any[]) => void
}

class Emitter<T extends Events> {
	emit<K extends keyof T> (name: K, ...args: Parameters<T[K]>) {
		// ...
	}
}

type AEvents = {
	update: (progress: number) => void
}

class A<T extends AEvents> extends Emitter<T> {
	action () {
		this.emit('update', 42) // Argument of type '[42]' is not assignable to parameter of type 'Parameters<T["update"]>'. ts(2345)
	}
}

type BEvents = AEvents & {
	foo: (input: string) => void
}

class B extends A<BEvents> {
	action () {
		this.emit('update', 42) // works as expected
		this.emit('foo', 'test') // works as expected
	}
}

Expected behavior:
The emit() method call in class A should work and should be type-checked correctly, just as it does in class B.
Actual behavior:
Error thrown for type mismatch:

Argument of type [...] is not assignable to parameter of type [...] ts(2345)

Playground Link: Here
Related Issues: Couldn't find

Lookup types (T["update"]) are deferred when the operand is a generic type. This is the only broadly-safe thing to do since it's not possible to know until instantiation time what T["update"] will actually be. By inspection we can tell that Parameters<T["update"]> will be upper bounded by number (thus the call is safe), but the type system doesn't have any way to produce that bounds information - we'd need some much more advanced machinery around feeding a type parameter through a conditional type (remember that Parameters<T> is just a type alias as far as TS is concerned) and producing an inference with a variance measurement attached to it. Suffice to say this isn't likely to be addressable any time soon.


volumes = api.storage.volumes is None

Synology version DS3615xs
DSM version 5.2
volumes = api.storage.volumes returns a None result
and following .. TypeError: 'NoneType' object is not iterable

I have the same error.
Synology DS110j (DSM 5.2)
When I run the sample script I have this:
Creating Valid API
=== Utilisation ===
DEBUG: Creating New Session
DEBUG: Requesting URL: 'http://<IP_ADDRESS>:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=2&method=login&account=XXXXXX&passwd=XXXXXX&session=Core&format=cookie'
DEBUG: Request executed: 200
DEBUG: Succesfull returning data
DEBUG: {'data': {'sid': 'aDbwdecDn2o46B3G8N01761'}, 'success': True}
DEBUG: Authentication Succesfull, token: aDbwdecDn2o46B3G8N01761
DEBUG: Requesting URL: 'http://<IP_ADDRESS>:5000/webapi/entry.cgi?api=SYNO.Core.System.Utilization&version=1&method=get'
DEBUG: Appending access_token (SID: aDbwdecDn2o46B3G8N01761) to url
DEBUG: Request executed: 200
DEBUG: Succesfull returning data
DEBUG: {'data': {'cpu': {'15min_load': 90, '1min_load': 100, '5min_load': 98, 'device': 'System', 'other_load': 17, 'system_load': 12, 'user_load': 56}, 'disk': {'disk': [{'device': 'sda', 'display_name': 'Disk 1', 'read_access': 151, 'read_byte': 4903424, 'type': 'internal', 'utilization': 17, 'write_access': 0, 'write_byte': 7168}], 'total': {'device': 'total', 'read_access': 151, 'read_byte': 4903424, 'utilization': 17, 'write_access': 0, 'write_byte': 7168}}, 'memory': {'avail_real': 8276, 'avail_swap': 1954364, 'buffer': 3432, 'cached': 45488, 'device': 'Memory', 'memory_size': 131072, 'real_usage': 51, 'si_disk': 0, 'so_disk': 0, 'swap_usage': 6, 'total_real': 118464, 'total_swap': 2097144}, 'network': [{'device': 'total', 'rx': 1476, 'tx': 2478}, {'device': 'eth0', 'rx': 1476, 'tx': 2478}], 'space': {'lun': [], 'total': {'device': 'total', 'read_access': 1, 'read_byte': 57344, 'utilization': 0, 'write_access': 0, 'write_byte': 1024}, 'volume': [{'device': 'sda3', 'display_name': 'volume1', 'read_access': 1, 'read_byte': 57344, 'utilization': 0, 'write_access': 0, 'write_byte': 1024}]}, 'time':<PHONE_NUMBER>}, 'success': True}
CPU Load:   85 %
Memory Use: 51 %
Net Up:     2.4Kb
Net Down:   1.4Kb
=== Storage ===
DEBUG: Requesting URL: 'http://<IP_ADDRESS>:5000/webapi/entry.cgi?api=SYNO.Storage.CGI.Storage&version=1&method=load_info'
DEBUG: Appending access_token (SID: aDbwdecDn2o46B3G8N01761) to url
DEBUG: Request executed: 200
DEBUG: Failed: {"error":{"code":102},"success":false}
DEBUG: Error occured, retrying...
DEBUG: Requesting URL: 'http://<IP_ADDRESS>:5000/webapi/entry.cgi?api=SYNO.Storage.CGI.Storage&version=1&method=load_info'
DEBUG: Appending access_token (SID: aDbwdecDn2o46B3G8N01761) to url
DEBUG: Request executed: 200
DEBUG: Failed: {"error":{"code":102},"success":false}
Traceback (most recent call last):
  File "/home/pi/syno.py", line 14, in <module>
    for volume in volumes:
TypeError: 'NoneType' object is not iterable

I tried several users (all from the administrators group), tried http and https and always the same error. I don't use the two-factor authentication.

I've same error :(
Device: DS214+
Os: DSM 6.1.5-15254 Update 1

Hello folks, good morning
I'm using DS213 and got the same issue on the original DSM version 5.2.
I was checking the code and doing the follow up then I just decided upgrade the synology before work on the code as well. After reach 6.0 the call api.storage.volumes started works, then I just did the complete upgrade DSM 6.2-23739 and everything is working as expected.
Waldirio

Sadly the 5.2 version of DSM is not supported due to the API being different. Might be added in the feature if someone is up for the job (don't have a 5.2 myself so am unable to create / test it)

Hello drew,
Not sure what you mean. Only DSM version 6 and up is supported. Is something not working in DSM 6.2?
With kind regards,
Ferry

Hi @StaticCube,
Yes, this appears to be manifesting itself on DSM 6.2. I'm using Home Assistant, which has a component: https://www.home-assistant.io/components/sensor.synologydsm/.
Whenever I try to use this component, it breaks on boot with the error highlighted in this issue.
I noticed further up, @erykosky is also highlighting that they're having the same issue on DSM 6.1 also?

@drewzh, didn't know it was doing that actually setting up my home assistance instance again (wrote that one 2). Will reopen the issue and fix it thanks.

Thanks @StaticCube, if you need any further output or testing, please let me know.

Hello,
The problem is https access. I have the same problem.
Regards.

Hi !
Is the issue still happening with 0.4.0 ?
It includes #9, which I suppose fix this.
Thanks.

Hi everyone !
Can you register here #26 to concentrate your setup and feature requests ?
Thanks.
PS: issue solved by #9, closing.


User has access when user is removed from cluster

On master-head - commit id: 4911f8b
Steps:

On a HA setup (RKE cluster) Deploy a custom cluster (downstream)
Add user u1 as cluster owner of the custom cluster
Take a backup b1 using backup restore operator.
Remove the cluster owner association of the user from the cluster
take a backup b2
restore to backup b1. (on the same HA rancher setup)
When the rancher server has come up, delete the associating of user u1 as cluster owner of the cluster.
Login as user u1
User can list the cluster and can add namespaces/perform actions on the cluster like enable monitoring/run cis scan

Expected
User should NOT have access to the cluster after his association has been removed

Seems related to https://github.com/rancher/rancher/issues/28370

On master head - commit id: ad014cdc8e

On a HA setup (RKE cluster) Deploy a custom cluster (downstream)
Add user u1 as cluster owner of the custom cluster
Take a backup b1 using backup restore operator.
Remove the cluster owner association of the user from the cluster
take a backup b2
restore to backup b1. (on the same HA rancher setup)
When the rancher server has come up, delete the associating of user u1 as cluster owner of the cluster.
Login as user u1
User CANNOT list the cluster anymore


[feat] افزایش

Feature Request
Describe the Feature Request

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

Ok
در تاریخ سه‌شنبه ۱۰ دسامبر ۲۰۲۴، ۱:۱۳ Old Dip Tracker <
@.***> نوشت:

Closed #3735 https://github.com/dogecoin/dogecoin/issues/3735 as not
planned.
—
Reply to this email directly, view it on GitHub
https://github.com/dogecoin/dogecoin/issues/3735#event-15591016404, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BHZ3G24LXB3GCNLUUZIJMOT2EYFHFAVCNFSM6AAAAABTJVX45OVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGU4TCMBRGY2DANA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add function to print containersmap header

Hi.
In this PR, I added print_additional_info_header which basically prints:
NODE             NAMESPACE        POD          CONTAINER

when --containersmap is used.
It makes the code easier to change, as now if we want to modify header name, we just need to modify corresponding values in containers.py.
Best regards.

I think you're still missing execsnoop in commit https://github.com/kinvolk/bcc/pull/10/commits/aa217dd0da0e379d39848ff03618e858ae6c9517.

Oh sorry!
Let me correct it, test it one last time and it should be ready to merge!


return to dock parameter

is the dock parameter/switch made to call the function to return to dock? if so it should be a press-release switch, that calls the function and return to the inactive state, no? instead is it configured with an on-off that has not much sense for an on-state  after the bot is back to dock.
or is it made to prevent the robot from returning to dock? if so, refining documentation is required.
otherwise, the plugin is amazing, if only a bit more responsive for the stopping commands while the robot is busy.
congrats and I hope it helps.

Hello @andyzeo
Thanks for your advice. Sadly homekit does not allow disabling buttons (there is a spec for that but this gives errors in the ui). So i use the "On" state do disable the button. When the robot can't go home (because its docked, already returning home or does not know where is station is) the button will be "On". As soon as the robot is able to go home, the button will be enabled and switched to "Off".
I will add this to the documentation on the next update.


Join SLURM executor wait_thread at exit

Right now, the auxiliary thread that each SLURM executor uses to poll squeue is never joined, thus leaving multiple spurious threads open. This number grows forever, until the corresponding Gunicorn-worker process is stopped (or e.g. it receives a sigabrt signal due to a missed heartbeat).
The current bug is a likely cause of #1507

Note: let's check explicitly that this also applies to jobs that end due to a shutdown.


peewee.ProgrammingError in in list/'not in list' filters with empty values using postgres

Traceback (most recent call last):
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/flask/app.py", line 2000, in call
return self.wsgi_app(environ, start_response)
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/flask/app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/flask/app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/discort/python/fun/flask-admin/flask_admin/base.py", line 69, in inner
return self._run_view(f, *args, **kwargs)
File "/home/discort/python/fun/flask-admin/flask_admin/base.py", line 368, in _run_view
return fn(self, *args, **kwargs)
File "/home/discort/python/fun/flask-admin/flask_admin/model/base.py", line 1815, in index_view
view_args.search, view_args.filters)
File "/home/discort/python/fun/flask-admin/flask_admin/contrib/peewee/view.py", line 388, in get_list
count = query.count() if not self.simple_list_pager else None
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/peewee.py", line 2893, in count
return self.aggregate(convert=False) or 0
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/peewee.py", line 2886, in aggregate
return self._aggregate(aggregation).scalar(convert=convert)
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/peewee.py", line 2665, in scalar
row = self._execute().fetchone()
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/peewee.py", line 2656, in _execute
return self.database.execute_sql(sql, params, self.require_commit)
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/peewee.py", line 3492, in execute_sql
self.commit()
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/peewee.py", line 3316, in exit
reraise(new_type, new_type(*exc_args), traceback)
File "/home/discort/python/fun/flask-admin/venv/lib/python2.7/site-packages/peewee.py", line 3485, in execute_sql
cursor.execute(sql, params or ())
ProgrammingError: syntax error at or near ")"
LINE 1: ...N ("t1"."user_id" = "t2"."id") WHERE ("t2"."username" IN ())

https://github.com/flask-admin/flask-admin/pull/1292/commits/19fb86f33b544db1dc9e6fc9baffcf1d097db6c7


How to show the loading progress when data is still being received?

Hello, markrjr! First of all, thank you for such a great library. I was playing with Wifi direct capabilities in the last 5 days, and your library made my work much easier than using Wifi direct android apis. Can you give me some idea about data receiving process. For ex. client sends mp4 file (maybe 10 Mb or more), and I know that it might take 3-4 seconds with wifi speed. I want to make my users know that mp4 file is still being received and show them the percentage like 60% of mp4 is received.
Thank you for your response!

@markrjr


Template Strings

We need to implement nodes for:
    /*--*/ TaggedTemplateExpression: ['tag', 'quasi'],
    /*--*/ TemplateElement: [],
    /*--*/ TemplateLiteral: ['quasis', 'expressions'],

Will check it out tomorrow

So implementing might be ok but we will probably need to do a conversion from babel/acorn -> esprima. I finished porting it to a package so we might need https://github.com/babel/acorn-to-esprima/blob/master/src/convertTemplateType.js.
Repo: https://github.com/babel/acorn-to-esprima
I can probably update https://github.com/babel/acorn-to-esprima/blob/master/src/toToken.js to what we have so we can just use that instead https://github.com/cst/cst/blob/master/src/elementTree.js#L242-L308

Why do we need to convert? The only thing we need to follow is ESTREE

We might not have to? We'll see when you try to integrate with jscs? It's like the https://github.com/babel/acorn-to-esprima/blob/master/src/toToken.js we added in.

We will just change jscs code (it's required anyway). Let's stick to estree spec, it has better decisions.

It's like the https://github.com/babel/acorn-to-esprima/blob/master/src/toToken.js we added in.

It was more to avoid Acorn's strange tokens and stick to more convenient Esprima tokens.

It was more to avoid Acorn's strange tokens and stick to more convenient Esprima tokens.

Yeah I just updated my comment - this would be exactly for what you said.

Strange tokens we have in Acorn this time... what is this: { type: 'Punctuator', value: 'template' },?

Overall in this case I think Acorn's tokens are more useful (except for mysterious { type: 'Punctuator', value: 'template' })

It looks like the Literal node has a property regex? https://github.com/estree/estree/blob/master/spec.md#literal
In esprima and babel for /a/
{
    "type": "ExpressionStatement",
    "expression": {
        "type": "Literal",
        "value": "/a/",
        "raw": "/a/",
        "regex": {
            "pattern": "a",
            "flags": ""
        }
    }
}


Implement a toy evaluator model

It can handle a pretty big chunk of the non-DML side of the language.
It operates against a hard-coded in-memory database that contains
the cards test database and some other stuff.
The biggest limitations right now is that it doesn't have any
understanding of a schema (so no inheritance or schema-defined
computables) and that it doesn't understand cardinality at all, so
all shape elements are returned as lists.
I've found this pretty useful in trying to double-check whether real
compiler behaviors seem correct or not.

Since this is a "toy model" maybe we merge it to the master branch?


[Feature] Towards game state in firebase database

@v411e I'll close this pull request because it's same code in pull request #137


Delete result.map when result.map is empty

Since a source map like {} is not a valid source map. This causes webpack builds to fail with Error: "version" is a required argument..
This should fix passy/autoprefixer-loader/issues/17.

Published as 0.4.2


Small typo fix guides-multi-tenancy.md

Fixes a minor typo in the docs.

hey @sixlettervariables could you please sign your commit? 🙏

I did it via GitHub on my phone, so it's a little strange to see it isn't signed/verified (they usually are).

Appears it is signed/verified:

true, it's verified by GitHub but it's not having a Signed-off-by: <Name> <email> commit message footer. This is required to make our DCO bot happy 😅

Okay, I'll see if GitHub mobile allows me to amend that commit.

@moolen wasn't possible via mobile and had to wait til I got to the house.

I enabled that feature, thanks for pointing that out, i wasn't aware of that :+1:


Could use config.exs (ie dev.exs) for the config instead of creating a config file?

When using ecto, the application will require the following setup done anyway, for example in dev.exs:
config :foobar, Foobar.Repo,
  adapter: Ecto.Adapters.Postgres,
  username: "example",
  password: "example",
  database: "foobar",
  hostname: "<IP_ADDRESS>",
  port: 5432

As you can see, all the options for database config will already be set here, and if options aren't set (ie port), we could assume that they are the defaults. We could read these settings.
Alternatively, we could use the config.exs instead of creating a Plsm.configs, as this is the "standard" way Elixir does things.
Up to you of course, but would love some discussion around this.

When I started this project I had about 2 weeks of Elixir experience (if that) so I definitely didn't do this the "elixir way". Moving this to a more proper "Elixir way" of doing things makes a lot of sense and can only help the project. That being said, it is going to be important to maintain backward compatbility with the old config files. Going forward there may not be any new changes to generating the config file but we should always be able to read it (at least 'til version 2.0)

Heh, well this project is awesome, my own implementation ages ago that I wrote as a hack imported from Postgres via functions, so this is really good :) (I've since lost this, thankfully :)).
Yeah, keeping both ways (when implemented) until some arbitrary point (as you said, 2.0 or whatever) is a great option.

Thanks, I'm glad you feel that way! I'll start moving to the config.exs file and away from the custom config file

This is in version 2.0.0


sql setup

Created db tables based on this diagram https://dbdiagram.io/d/6357078cfa2755667d633ac1
created a script to create the tables and populate them

I agree about the redundancy. Will fix that

@filipkrueger create_db.sh executes all the .sql files in the sql folder. It

builds the tables
populates the tables with dummy data


Do not modify inject node props in oneditprepare

Fixes #3241

Coverage increased (+0.03%) to 67.403% when pulling 679e07189ddfe66b7257a08ee752996e6963da3a on inject-fix into d3efb9d7cc6c3e46cba1e7f4733d313a7ff716ab on master.


Compilation fails at dot_merlin.ml

Compilation fails with below errors:
pawel@paweldebian:merlin-2.3.1$ uname -a
Linux paweldebian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02) x86_64 GNU/Linux
pawel@paweldebian:merlin-2.3.1$ ocaml -version
The OCaml toplevel, version 4.01.0
pawel@paweldebian:merlin-2.3.1$ ./configure
Merlin configuration
--------------------
Found findlib	GOOD
Found yojson	GOOD

System config:
  OCaml ABI version: OCaml 4.01.0
  Native code: true

Will install:
  ocamlmerlin binary in: /usr/local/bin
  vim mode in: /usr/local/share/ocamlmerlin/vim

To customize directories, use:
  ./configure [--prefix <dir>] [--bindir <dir>] [--sharedir <dir>] [--vimdir <vimdir>] [--with-vimbufsync | --without-vimbufsync]

For more informations rerun with --help.
Now, type 'make' to compile then 'make install'.
pawel@paweldebian:merlin-2.3.1$ make
make -f Makefile.ocamlmakefile WITH_BIN_ANNOT="" WITH_DEBUG="" REALLY_QUIET=1 ocamlmerlin
make[1]: Entering directory '/home/pawel/Downloads/merlin-2.3.1'
make[2]: Entering directory '/home/pawel/Downloads/merlin-2.3.1'
File "src/kernel/dot_merlin.ml", line 297, characters 60-64:
Error: The function applied to this argument has type string -> string
This argument cannot be applied with label ~explicit**
OCamlMakefile:1076: recipe for target 'src/kernel/dot_merlin.cmx' failed
make[2]: *** [src/kernel/dot_merlin.cmx] Error 2
make[2]: Leaving directory '/home/pawel/Downloads/merlin-2.3.1'
OCamlMakefile:777: recipe for target 'native-code' failed
make[1]: *** [native-code] Error 2
make[1]: Leaving directory '/home/pawel/Downloads/merlin-2.3.1'
Makefile:57: recipe for target 'ocamlmerlin' failed
make: *** [ocamlmerlin] Error 2

The findlib version bundled by Debian is too old.
Is it possible for you to switch to an opam managed ocaml?
Otherwise, I can send you a patch as soon as I have access to a computer, that is in ~30 min.

Yup, actually I did migrate fully to opam just yesterday but it broke down a long and complex project from before opam times, so had to revert back to debian's stable stuff. All worked there great so far with all essential ocaml packages available. I'd appreciate the patch, no hurry. Thx for the quick reply

Just removing the "~explicit" argument should do it.
As far as I recall, the behavior should stay correct with this version of findlib. I have no time to test yet though.

Done it and compilation finished ok now. Thx for the tip. What is the easiest way to verify if the binary works correctly? I want to use it in the Atom editor, the nuclide package.

Just launching the binary should be ok: it will test for Findlib presence which is the main environment-sensitive thing.
Then you can check:

version string: echo '["version"]' | ocamlmerlin
errors of empty file: echo '["errors"] | ocamlmerlin.

Finally, you can enumerate findlib packages in your installation:
$ ocamlmerlin
["find","list"]
["return",["findlib","str","compiler-libs","compiler-libs.common","compilerlibs.bytecomp","compilerlibs.optcomp","compilerlibs.toplevel","threads","threads.vm","threads.posix","bigarray","num","num.core","biniou","unix","easyformat","graphics","dynlink","numtop","bytes","ocamlbuild","cppo_ocamlbuild","yojson","yojson.biniou","stdlib"]]

If all of this succeeds with non-0 exit code and with sensible list of packages, you are good.
Detecting and fixing wrong setup (useful if you are implementor of nuclide mode)
If you take care of the dependency on Findlib and standard library, the binary should even be relocatable.
Launching without findlib:
$ ocamlmerlin
Fatal error: exception Failure("Config file not found - ...")
# Findlib found at compile-time was removed, disable findlib
$ OCAMLFIND_CONF=/dev/null ocamlmerlin
["find","list"]
["return",[]]
# No library anymore. You could have set a correct path to an findlib.conf file to use another installation

Finally, if you use multiple ocaml switches (but for the same version of OCaml), you may want to choose a different stdlib ("pervasives" module) by setting OCAMLLIB environment variable.
Checking for wrong standard library:
$ OCAMLLIB= ~/Work/merlin/ocamlmerlin
["errors"]
["error",{"type":"type","start":{"line":1,"col":-1},"end":{"line":1,"col":-1},"valid":true,"message":"Error: Unbound module Pervasives"}]

Message for a wrong version of OCaml:
Error: /my-installation/pervasives.cmi is not a compiled interface for this version of OCaml. It seems to be for an older version of OCaml.

Message when having dependencies built for a different switch (you built a project, you changed switch, you loaded the project in merlin: files are incompatible):
Error: The files /home/def/.opam/4.02.3/lib/ocaml/pervasives.cmi and /home/def/Work/grenier/orderme/order_list.cmi make inconsistent assumptions over interface CamlinternalFormatBasics

Thanks for all the test cases. I checked, and it works. Now also in the Atom editor. Hence closing the issue.
Btw - I made a wiki page about merlin in Atom. I also have some screen snaps I wanted to paste in, but don't see an upload option...

You can send them to me by email, I'll figure a way to host them.

Sure, but there's no email listed on your profile :)
On Sun, Jan 24, 2016 at 5:33 AM Frédéric Bour<EMAIL_ADDRESS>wrote:

You can send them to me by email, I'll figure a way to host them.
—
Reply to this email directly or view it on GitHub
https://github.com/the-lambda-church/merlin/issues/482#issuecomment-174248821
.

:), frederic.bour (_) lakaban.net

Merlin was not working for me with ocaml 4.02.2.  I switched with OPAM to coaml 4.04.0 and now I get the error Merlin failed with error: "Error: ~/.opam/4.04.0/lib/ocaml/pervasives.cmi
is not a compiled interface for this version of OCaml.
It seems to be for a newer version of OCaml."
I do not see how to make things work.

What do you mean by "was not working for me with ocaml 4.02.2"?
There is no support for 4.04 released yet. 4.02.2 is supported (though 4.02.3 is preferable).

I had some behavior similar to what is reported here https://github.com/the-lambda-church/merlin/issues/457
I actually went to ocaml 4.03.0 and everything is fine now.


Example smokers

this time, there are only 4 meaningful molecules other than ending reactions, the supplier (pusher) and the three consumers (smokers). So, it's simpler. The latest commit is to have the commentary in Chymyst7 reflect the code as having 4 molecules (and not 7).

Current coverage is 96.94% (diff: 100%)

Merging #39 into feature/more-examples will not change coverage

@@           feature/more-examples        #39   diff @@
=======================================================
  Files                         12         12
  Lines                        655        655
  Methods                      580        580
  Messages                       0          0
  Branches                      75         75
=======================================================
  Hits                         635        635
  Misses                        20         20
  Partials                       0          0

Powered by Codecov. Last update e4205ee...29d55db

giving up on this PR and trying anew against master instead.


Mac OSX with Anaconda compile error

On Mac OSX 10.12:
I'm using a conda env with python 2.7.13
protoc --version gives me libprotoc 3.2.0 (conda install protobuf)
/Users/Aman/code/caffe2/build/caffe/proto/caffe.pb.h:17:2: error: This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
 ^
/Users/Aman/code/caffe2/build/caffe/proto/caffe.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers.  Please
 ^
/Users/Aman/code/caffe2/build/caffe/proto/caffe.pb.h:19:2: error: regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.

It looks like it latched onto my system protobuf - the answer ended up being this:
remove caffe2 and restart with a clean git clone
brew uninstall protobuf && brew install<EMAIL_ADDRESS>
then make as usual.


[UI/UX] Adding a preloader for the web app

Description
Changes to be made

Adding a website preloader using css and js which is good looking and also matches with color palletes.
Propose the design first
Task will be assigned after seeing your proposals.

Additional info

Take reference from here - https://htmlburger.com/blog/website-preloaders/
You can propose your own creative designs as well.

great @AsmitaMishra24,
assigned to you, try to match the primary colour code of the website,
see CSS variables for reference

⚠[URGENT]⚠ Reminder for GSSoC 24' Contributors Please join our CogniGuard Project #general GSSoC'24 Discord channel:
Here you can discuss your queries and doubts with your mentors.
See #109 issues section.

⚠[URGENT]⚠ Reminder for GSSoC 24' Contributors Please join our CogniGuard Project #general GSSoC'24 Discord channel:
Here you can discuss your queries and doubts with your mentors.
See #109 issues section.

any work update @AsmitaMishra24 ?

any work update @AsmitaMishra24 ?

@4darsh-Dev, I will submit the PR by tomorrow.

sure @AsmitaMishra24
let me know if you're facing any issues

sure @AsmitaMishra24 let me know if you're facing any issues

@4darsh-Dev, I am getting an error of client-id so how can I create my client-id

@AsmitaMishra24 ,
actually client-id is used for feature of Oauth login with google,
google provides it in console management,
you can just create a .env file in django-web-app directory  with a dummy value, it should remove the missing error
see readme

any update @AshmitaBarthwal ?

I am very excited to work on this issue with you,
I will make pretty preloader according to the primary colours of the website
please assign this issue to me

@4darsh-Dev, My laptop is experiencing some issues...so you can assign this to @Dharmi-dev

assigned to you @Dharmi-dev ,
go through readme.md and contrib.md for project setup and guidelines.
share the video preview then raise the pr.


Intellisense does not display return type

Hello,
Is it possible to have the intellisense display the return types of CQL statements (like the example below)? This does not appear to be working in the current extension.

Thank you,
Dorothy

I expect this is a good feature request but would require significant development. @JPercival @brynrhodes i suggest closing this as a suggestion.

Yes, this would be a great feature for Measure Developers developing measures in CQL. I would appreciate your consideration. Thank you!

Addressed in 0.2.0 release


Proposal: Create read the docs Documentation

Hi,
I would like to propose to create an official documentation using Readthedocs.
This would certainly help others working with your API and bring more contributions to this platform.
Why readthedocs (rtd) ? It is widely used for documenting projects and is highly customizable and works with multiple languages.
I created a basic example how the TMC-API documentation could look like, using rtd, sphinx doxygen for generating the documentation.
This workflow allows automated generation of documentation based on the doxygen comments in the code itself and therefore version controlled docs. Additionally, sphinx is used to write more descriptive with reStructuredText than plain doxygen comments, and can create a more user-friendly documentation.
The documentation  I made is mostly autogenerated with a few doxygen styled comments for a few functions for testing, but this is nearly fully autogenerated and can be generated by clicking one button or automated via GitHub actions.
I hope this idea is of interest to you and helps develop this amazing hardware platform!
Best,
Fabian

Hello Fabian,
we discussed the documentation topic internally.
E.g. for our iolink python package, we made a readthedocs.io doku some time ago.
We've seen that you started a documentation using doxygen. In the moment it seems to be a copy of the C-code function header, there must be added more to make it more usable.
In the moment we do not focus on the doku. We will upade the source code in the next weeks/month to make it easier usable also for Arduino and Raspi, so the TMC-API code will change in the next time and also the use inside the TMC-EvalSystem.
Best regards,
Enrico

Hey,
Thank you for the reply, these are good news. As I mentioned in my proposal, the work I did was purely a proof of concept since I had no prior experience with readthedocs.
Since I had no intention to change the code base or just doxygen comments I left it fully autogenerated with some test how to structure the doc with .rst files.
I would also prefer a documentation that is not only the autogenerated doxygen but a more descriptive implementation with examples and helpful information as well as explaining the overall concept of the API.
I will take down the readthedocs again, since it is misleading.
If I can help in any way, let me know, I am happy to contribute. Especially because I am working on an implementation using the TMC-API for ESPhome using the esp-idf.
Information about the upcoming changes would be very appreciated, since 2 people are currently putting a lot of work in it!


cs fix, add phpdoc

Instead, I would bump to PHP requirements to 7.1 and use proper type hint.

@lyrixx not bed idea.
But is cs/phpdoc fix only pr.


Loops implementation?

Is or will there be a way to generate and run queries in a loop consecutively or in parallel using jdbcx? Say I'd like to use it to invoke consecutive drop of partitions in Vertica DB using something like this:
{% for i in range(0,255): %}
select DROP_PARTITIONS('DDS.A_Some_Table', {{ script: ${i} }}, {{ script: ${i} }});

Hi @blza, unlike a real template language, looping is implemented in a unique way in JDBCX. Please refer to examples below:
-- issue 4 x 5 = 20 'select <n> num_col, <c> str_col' queries
select {{ script: [1,2,3,4] }} num_col, '{{ script: ["a","b","c","d","e"] }}' str_col

-- issue 10 'select <n> as `col<n>`' queries, only one loop for same blocks(in v0.4+)
select {{ script: Array(10).fill().map((element, index) => index + 1) }}
  as `col{{ script: Array(10).fill().map((element, index) => index + 1) }}`

-- same as above, but use SQL query(slower) instead of scripting to generate numbers
select {{ db.ch-play: select * from numbers(1, 10) }}

More examples using docker and DuckDB:
# get the latest unreleased v0.4.0
docker pull jdbcx/jdbcx

# issue two queries ('select 1' and 'select 2') one by one and return consolidated results
docker run --rm -it -e DRIVER_OPTS="-Dverbose=true -DnoProperties=true" jdbcx/jdbcx 'jdbcx:duckdb:' \
  'select {{script:[1,2]}}'

# create a table for testing
docker run --rm -it -e DRIVER_OPTS="-Dverbose=true -DnoProperties=true" -v `pwd`/duckdb:/data \
  jdbcx/jdbcx 'jdbcx:duckdb:/data/test' 'create table a(num INTEGER, str VARCHAR)'

# insert 3 x 2 = 6 rows
docker run --rm -it -e DRIVER_OPTS="-Dverbose=true -DnoProperties=true" -v `pwd`/duckdb:/data \
  jdbcx/jdbcx 'jdbcx:duckdb:/data/test' "insert into a values({{script:[1,2,3]}}, '{{script:['a','b']}}')"

# add 3 nullable varchar columns
docker run --rm -it -e DRIVER_OPTS="-Dverbose=true -DnoProperties=true" -v `pwd`/duckdb:/data \
  jdbcx/jdbcx 'jdbcx:duckdb:/data/test' '{%var:n=col%}alter table a add column {{script:${n}}}{{script:[1,2,3]}} varchar'

# query the table (6 rows, 5 columns)
docker run --rm -it -e DRIVER_OPTS="-Dverbose=true -DnoProperties=true" -v `pwd`/duckdb:/data \
  jdbcx/jdbcx 'jdbcx:duckdb:/data/test' 'select * from a'

Thanks a lot, an interesting way, will try to figure it out. Btw examples link in the README leads to some folder with no examples present (namely https://github.com/jdbcx/jdbcx/tree/main/docker/app/.jdbcx/).

And more for the very first example I get the error:
SQL Error [HY000]: No script language detected in classpath(loader=io.github.jdbcx.ExpandedUrlClassLoader@78c51ac7(parent=org.jkiss.dbeaver.registry.driver.DriverClassLoader@7bfaa86urls=[/Users/alosev/Library/DBeaverData/drivers/maven/maven-central/com.vertica.jdbc/])).

I'm using dbeaver jdbcx driver and set classpath for Vertica by setting jdbcx.custom.classpath driver property to "/Users/<my_user>/Library/DBeaverData/drivers/maven/maven-central/com.vertica.jdbc/" (it successfully connects to Vertica and is able to run queries against DB).

This maybe related to issue mentioned in README Scripting does not work on DBeaver and the solution use JDK instead of JRE. Where should I change JRE to JDK?

Sorry for the unclear documents. It's still in the early stages, so please bear with the tedious steps required to get things working ;)

Btw examples link in the README leads to some folder with no examples present (namely https://github.com/jdbcx/jdbcx/tree/main/docker/app/.jdbcx/)

It's intentional :) It's highly recommended to have a similar configuration(config.properties) in your home directory(<user home>/.jdbcx), so that you don't have to specify driver settings like jdbcx.custom.classpath and share the same configuration across all JDBCX connections defined in DBeaver or any other IDEs.

SQL Error [HY000]: No script language detected in classpath

JDBCX driver was added in DBeaver in 23.2.1, and the scripting issue was fixed since 23.2.2, so you don't have to use JDK anymore. You just need to download and add below two jars in your classpath(or put the jars into the directory specified by jdbcx.custom.classpath):

https://repo1.maven.org/maven2/org/mozilla/rhino/1.7.14/rhino-1.7.14.jar
https://repo1.maven.org/maven2/org/mozilla/rhino-engine/1.7.14/rhino-engine-1.7.14.jar

Ok, so the only one that worked for me is simple
{% var: num=3 %}
select {{ script: ${num} - 2 }} one

but I had to disable enable variables in connection settings, as by default ${num} is treated by dbeaver as a variable that needs substitution.
The following one
select {{db.ch-play: select * from numbers(1, 10) }};

gives me error:
SQL Error [HY000]: Failed to load configuration
and the next one
select {{ script: [1,2,3,4] }} num_col;

also gives me error:
SQL Error [12060] [HY000]: [Vertica][JDBC](12060) ResultSet object has been closed.
I will try to investigate the later further as it might be on the Vertica side, like it's closing the result set jdbcx driver is expecting to be open or something, but with ch-play I'm stuck.

SQL Error [HY000]: Failed to load configuration

To access named database connection db.ch-play, you need to declare the connection in ~/.jdbcx/db/ch-play.properties, please refer to this used in docker image. Of course you need to download ClickHouse JDBC driver and put it in your jdbcx.custom.classpath directory.

SQL Error [12060] [HY000]: [Vertica][JDBC] (12060) ResultSet object has been closed.

I'm not sure about this one, could be a bug in JDBCX. I tried to reproduce the issue using docker image vertica/vertica-ce with no luck. Will try again tomorrow.

Got it about named connections and ClickHouse, tried the following with two instances of Vertica 11:
select {{ script: [1] }} num_col;

this one works, so only on the second iteration of say select {{ script: [1,2] }} num_col; there's the error ResultSet object has been closed.

Thank you, now your examples do work!
Will there be an option to run something like this
select 1
from {{ script: ["SAE","SAEBY"] }}.last_tracking_data
limit 10;

resulting in two consecutive selects (not combining results in any way, but getting every select say in different DBeaver results tab)?

Yes, I had an idea of adding another extension similar to var to better manage runtime behaviors. For examples:
-- only consider the outermost `runtime`
{% runtime: fetchSize=5000, maxRows=10000, queryPreference=MultiResultSet %}
select {{ script: [1,2] }} -- same as `select 1; select 2`

{% runtime: fetchSize=5000, maxRows=10000, queryPreference=Union %}
select {{ script: [1,2] }} -- same as `select 1 union all select 2`

I'm currently adding support for more data formats. Will get back to this in a few days. I'll also create a separate issue to list items I'm going to add in the near future.

Did you implement it?


Easy new features

For new features that are relatively easy to implement

~unsolvedlion should channel update too

~forumlion

~google should copy paste top results blurb

~watchchan for admin only. (Watches a channel. If there's a message in there, you copy the contents here)

New command to "Change VC status"

"Change overview notes from command"

is there a delete command? like if a channel and tab are made accidentally? just put the "Delete channel, clear overview row, delete tab" as a function instead of manual. ~undolion (Confirm with reacts)

~tethervc - "let you designate a voice channel as linking to a text channel just by typing one word in the text channel while you're on the voice channel, and keep a post in a channel up to date with the list of what text channels all the voice channels are linked to"

All split into different issues


How to add support for custom favicon

Is it possible to provide custom favicon?

Yes, see for example this one https://merkez-ul-icadat.github.io/


[8.x] Rename some queue configurations

This PR does the following:

Deprecates the --delay option of the queue:workcommand.
Adds a --backoff option to the command to replace --delay.
Renames $retryAfter and retryAfter() to $backoff and backoff() on jobs, mailers, notifications, and listeners.
Changes $timeoutAt in jobs, notifications, and listeners to $retryUntil to match the name of the alternative retryUntil() method and not conflict with the $timeout property.

Marked as draft as I'm going to check there are no other confusing configurations on Monday. Just wanted to make it public for feedback.

I think —delay is clearer than —backoff.
I think ”The number of seconds before a released job will be available” Is better as the command description.
if —delays is kept then I would keep retryAfteror rename todelayUntil`

--delay is pretty bad and needs to be changed, but not sure that --backoff is much better.
I agree with @clarkeash. Your command description update is a great improvement.

What if instead of backoff we'd do one of these:
Option 1:

--retry-after
$retryAfter/retryAfter()
$retryUntil/retryUntil()

Option 2:

--retry-delay
$retryDelay/retryDelay()
$retryUntil/retryUntil()

I know the issue with retryAfter() is that the config option for the queue connections includes a retry_after key, but it seems like that needs to be renamed to something like release_after.

Instead of immediately renaming the methods, would you be open to adding the new methods, calling the methods they’re replacing internally, and marking the old methods @deprecated, then removing them in Laravel 9?
I know a major version allows for breaking changes, but deprecating them gives developers a more gradual ramp to update their code.
Alternatively, doing it this way would even allow you to introduce the new methods in a minor release in 7.x, add the deprecation notice, and remove in 8.0 if you really wanted to target that release. It’s only a ~3 month window from deprecation to removal, though.

I think terminate is better explanation than backoff.

agree with @trevorgehman backoff is not a good replacement
agree with @michaeldyrynda it's better to deprecate it and remove it in a later version, and since there is no much time until 8.x maybe deprecate it in 7.x and remove it in 9.x

Hey everyone,
backoff appears to be the closest-to-right term to use after researching the topic. We can't use retry-after because it's used in config/queue.php to imply a different thing.
We also don't want to use retry-delay because we want to keep the term "delay" used only for pushing jobs to be queued later.
As for deprecation notices. I think the change can be done via find-and-replace in your code editor so it won't make the upgrade too much difficult. So imo I think we can go ahead and rename the method/properties in 8.x

As for deprecation notices. I think the change can be done via find-and-replace in your code editor so it won't make the upgrade too much difficult. So imo I think we can go ahead and rename the method/properties in 8.x

I think most changes can be some via find and replace, I don’t dispute that. It’s about deprecating methods more thoughtfully, and providing some notice - outside of a PR that not everybody is going to see - to give people a chance to deal with the deprecation.


Information of when Crazyflie connection is ready

For the UWB LPS I need to set parameters in the Crazyflie at connection time. It is for setting the anchor positions. However parameters cannot be set before the Crazyflie is actually connected so I would need to know when the connection is actually done (ie. when "Ready ..." is printed in the log).
I can implement that myself but I am not really sure how to do it in the most "ROS way".

This issue was addressed in another branch (part of the Crazyswarm project), but not yet in the master branch. The basic idea is the following:

In the crazyflie_driver advertise the update_parameter service only after it is "connected" (There is no connection state in crazyflie_ros, however it is possible to upload parameters after the TOC has been downloaded.)
In the client code first wait_for_service and then use the service normally. (see e.g. https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/scripts/controller.py).

I just pushed a change to the master branch which implements that logic. Let me know if that works for you.

Thanks a lot! This is a much nicer way of doing it than what I could imagine doing. I will test and let you know.

I can confirm that this is working, I can now upload the anchor postion at connection time (https://github.com/bitcraze/lps-ros/blob/master/scripts/lps_ekf_bridge.py#L34-L47). Thanks!

Excellent. Thanks for testing and providing feedback!