How to get selected values?

Is there a way to get the selected values in a javascript save event handler method?  I'm trying this command and it's returning null:
var selectedVals = formContext.getAttribute("xyz_multiselectfield").getValue();

Hi, the select/deselect is instantly creating/deletion the N:N association. You should query the N:N table. Try using the FetchXML builder in the XRM Toolbox.
Message can be short, sent from my mobile
Kind regards, met vriendelijke groet,
Niels Minnee
Mobile: +31 6 50 60 66 75tel:+31 6 50 60 66 75 || Office: +31 20 30 32 47 0 tel:+31 20 30 32 47 0
[cid:frame14nowhitespace_9989cfb9-a06f-4680-8226-194f67b0bfdb.png]
www.dynamicpeople.com http://www.dynamicpeople.com/  ||  www.be-empowered.nlhttp://www.be-empowered.nl/  ||  Schipluidenlaan 4 || 1062 HE || Amsterdam || The Netherlands
The information contained in this communication is confidential and intended solely for the use of the individual or entity to whom it is addressed. You should not copy, disclose or distribute this communication without the authority of Dynamic People B.V. Dynamic People is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Dynamic People does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication, please return the communication to the sender and delete and destroy all copies.

From: tschopp-spear @.>
Sent: Monday, June 13, 2022 9:04:36 PM
To: NielsMinnee/NNDropdown @.>
Cc: Subscribed @.***>
Subject: [NielsMinnee/NNDropdown] How to get selected values? (Issue #12)
External Email
Is there a way to get the selected values in a javascript save event handler method? I'm trying this command and it's returning null:
var selectedVals = formContext.getAttribute("xyz_multiselectfield").getValue();
—
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNielsMinnee%2FNNDropdown%2Fissues%2F12&data=05|01|niels.minnee%40dynamicpeople.com|af239e7072e049e0558808da4d6f8fe3|8d5bfe4e11c64e32a5c395efc1b4a711|0|0|637907438804490431|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=v4bJmdG9mF8u3MzpAh%2BCKa1L49kze1PxMKpTOAteC7k%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAC7ZLOEZTI6SYZZBZI37SA3VO6A4JANCNFSM5YVGKYWA&data=05|01|niels.minnee%40dynamicpeople.com|af239e7072e049e0558808da4d6f8fe3|8d5bfe4e11c64e32a5c395efc1b4a711|0|0|637907438804490431|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=p9hU9qC3RWj1GztZB4%2Bkw5IcFpH4yYs5kZ%2FsOgEYpvo%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Got it, thanks!  It looks like this control can't be used when adding a new record and the ID isn't established yet.  Is that correct?

That's true because it's an association between two id's. However in a different implementation it should be possible by using an 'after-save' event.


XCode project broken for XCode 10

The project appears to be completely broken
Showing Recent Messages
/Users/Caleb/Coding/GitHub/ofxiOSBoost/example-oF/Project.xcconfig:6: could not find included file '../../../libs/openFrameworksCompiled/project/ios/CoreOF.xcconfig' in search paths (in target 'emptyExample')

Will fix this week!


Create services page

The page should at least include these services:

the Visual Media Service (http://visual.ariadne-infrastructure.eu/)
the Landscape Services (http://landscape.ariadne-infrastructure.eu/)

Additional partner services may be added in the future.

Screenshots and descriptions can be generated from the service websites.


[Question] Tutorial 11, Variational dequantization and log jacobian calculation

Tutorial: -11
Describe the bug
Could you explain the origin of the numbers in the Jacobian determinant for Dequantization and Variational Dequantization?
Cell 6:
class Dequantization(nn.Module):

    def __init__(self, alpha=1e-5, quants=256):
        """
        Inputs:
            alpha - small constant that is used to scale the original input.
                    Prevents dealing with values very close to 0 and 1 when inverting the sigmoid
            quants - Number of possible discrete values (usually 256 for 8-bit image)
        """
        super().__init__()
        self.alpha = alpha
        self.quants = quants

    def forward(self, z, ldj, reverse=False):
        if not reverse:
            z, ldj = self.dequant(z, ldj)
            z, ldj = self.sigmoid(z, ldj, reverse=True)
        else:
            z, ldj = self.sigmoid(z, ldj, reverse=False)
            z = z * self.quants
            ldj += np.log(self.quants) * np.prod(z.shape[1:])
            z = torch.floor(z).clamp(min=0, max=self.quants-1).to(torch.int32)
        return z, ldj

    def sigmoid(self, z, ldj, reverse=False):
        # Applies an invertible sigmoid transformation
        if not reverse:
            ldj += (-z-2*F.softplus(-z)).sum(dim=[1,2,3])
            z = torch.sigmoid(z)
            # Reversing scaling for numerical stability
            ldj -= np.log(1 - self.alpha) * np.prod(z.shape[1:])
            z = (z - 0.5 * self.alpha) / (1 - self.alpha)
        else:
            z = z * (1 - self.alpha) + 0.5 * self.alpha  # Scale to prevent boundaries 0 and 1
            ldj += np.log(1 - self.alpha) * np.prod(z.shape[1:])
            ldj += (-torch.log(z) - torch.log(1-z)).sum(dim=[1,2,3])
            z = torch.log(z) - torch.log(1-z)
        return z, ldj

    def dequant(self, z, ldj):
        # Transform discrete values to continuous volumes
        z = z.to(torch.float32)
        z = z + torch.rand_like(z).detach()
        z = z / self.quants
        ldj -= np.log(self.quants) * np.prod(z.shape[1:])
        return z, ldj

Specially the case for
ldj += (-z-2*F.softplus(-z)).sum(dim=[1,2,3])
I have basic knowledge of Jacobian (I studied computer science). The tutorial is great, but I would appreciate a little introduction to why the Jacobian is handled this way.
Thanks in advance

Hi, sure happy to expand on it. The Jacobian you are looking at there comes from the sigmoid $\sigma(z)$ in the next line. Essentially, we need to calculate:
$$ldj = \log \frac{\partial}{\partial z} \sigma(z)$$
The derivative of the sigmoid is commonly known as
$$\frac{\partial}{\partial z} \sigma(z)=\sigma(z)(1-\sigma(z))$$
(see e.g. https://towardsdatascience.com/derivative-of-the-sigmoid-function-536880cf918e for the steps). Now we can plug it into the ldj equation and solve the log:
$$ldj = \log \sigma(z)(1-\sigma(z)) = \log \sigma(z) + \log (1 - \sigma(z))$$
$$\log \sigma(z) = \log \frac{1}{1+\exp(-z)}=-\log(1+\exp(-z))$$
$$\log (1 - \sigma(z)) = \log \frac{\exp(-z)}{1+\exp(-z)} = -z - \log(1+\exp(-z))$$
Combining them gives us:
$$ldj = -z - 2 \cdot \log(1 + \exp(-z))$$
The second part is also known as the softplus function (https://pytorch.org/docs/stable/generated/torch.nn.Softplus.html), and PyTorch provides a numerical stable version of it. Thus, our final ldj becomes:
$$ldj = -z - 2 \cdot \text{softplus}(-z)$$
This is what we implement, and sum over all dimensions except the batch since we apply the sigmoid to all elements in the image.
Hope that helps, let me know if something is unclear. :)

Oh, thanks! And could you explain this operation?
ldj -= np.log(self.quants) * np.prod(z.shape[1:])
I know you're subtracting the ldj because you're dividing z by 256. Right? but why do you use the product?

Correct, the np.log(self.quants) is because of the division. We do this division for every element in the batch, which is for an image height * width * channels. This is why we take the product over these axes.
You can also imagine that we would have a tensor of size [batch, channels, height, width], all with values np.log(self.quants) for the division. Then we sum over the last three axes, as in the previous ldj calculation. This is equivalent to the product

Oh! I see thank you very much! And to end this questionary, please could you extend on this operations:
z = z * (1 - self.alpha) + 0.5 * self.alpha  # Scale to prevent boundaries 0 and 1
ldj += np.log(1 - self.alpha) * np.prod(z.shape[1:])

I understand why we need to avoid limits. But, when calculating the Jacobian in such a transformation I wonder why only the (1 - self.alpha) is considered.
Thank you so much!

The Jacobian is based on the derivative of the transformation. The term 0.5 * self.alpha represents here an additive constant, so it does not influence the derivative. In other words, you have:
$$ldj = \log \frac{\partial}{\partial z} (a\cdot z + b)=\log \frac{\partial}{\partial z} a\cdot z = \log a$$

Thanks! can close the issue =)


update to outdated SECURITY.md

Description
outdated SECURITY.md updated
fixes #56

Hi @bs-sili
thanks for updating the file.
In general the security.md should look like all the same on our repos whitin eclipse tractus-x.
If you want to make changes on that you could also raise a PR against our general on under https://github.com/eclipse-tractusx/.github/blob/main/SECURITY.md

Security.md file was already updated and is equal to https://github.com/eclipse-tractusx/.github/blob/main/SECURITY.md. Sorry for confusion.


Global parameters $ref issue

Hi,
I'm familiar with the "#/parameters/PARAM_NAME" syntax when accessing globals.
It seems that the code expecting it to be without the prefix "#/parameters".
I guess that this prefix is needed because there are few objects that defines global parameters (there is the definitions object as well).
I think that the best solution to handle $ref will be something like:
var value;
if (obj.$ref.indexOf('#/') === -1) {
    //backwards compatibility
} else {
    var paths  = obj.$ref.split('/');
    var collection = paths[1];
    var key = paths[2];
    value = swagger[collection][key];
}

Edit: just noticed that there is no need to access the definition object so I guess the code for the general solution is useless and value = swagger.parameters[obj.$ref.split('/')[2]]; will be good enough :)
Thanks,
Boris

@borisirota Can you send me a swagger spec and some operations that should be invoke from this spec? I would like to add it to the test suite and take it from there.

I still didn't start my implementation (just saw this issue in the code) so I generated a valid swagger spec that addresses this issue. The request must contain a query param 'id' which it's schema need to be taken from the global parameters object:
swagger: '2.0'

info:
  version: "0.0.0"
  title: <enter your title>

parameters:
  id:
    name: id
    in: query
    description: id
    required: true
    type: string

paths:
  /persons:
    parameters:
      - $ref: "#/parameters/id"
    get:
      description: Gets `Person` object.
      responses:
        200:
          description: Successful response
          schema:
            type: object
            properties:
              name:
                type: string

In JSON:
{
    "swagger": "2.0",
    "info": {
        "version": "0.0.0",
        "title": "<enter your title>"
    },
    "parameters": {
        "id": {
            "name": "id",
            "in": "query",
            "description": "id",
            "required": true,
            "type": "string"
        }
    },
    "paths": {
        "/persons": {
            "parameters": [
                {
                    "$ref": "#/parameters/id"
                }
            ],
            "get": {
                "description": "Gets `Person` object.",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "type": "object",
                            "properties": {
                                "name": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

@wcandillon already commented here.
In addition, if I understand the code correctly, in the updated code I think that L45-L50 and L68 are redundant and wrong:

globalParams is an object, not array.
no need to concat the globalParams to every operation params because the globalParams can contain params that the current operation doesn't use and only some other operations do use.
L72 already take care of getting the global parameter.

Thanks for the fix !
Boris :)

@borisirota globalParams  might be a confusing name. This variable contains the parameters which are global to the path only (and therefore always included in the method). I don't understand 1. and 2..

In the examples you sent me it is an array.
globalParams  cannot contain parameters that the operation doesn't use.

@wcandillon You are right. I got confused by myself. Sorry :)
So #45 fixes #40 and #41, right?

correct :)


Added Czech language dictionary

Thank you.

@Jason3S Could you also add a link to Czech dictionary to README.md? Or should I make another PR for that?

Either way. I'm away from my computer at the moment.
On Wed, 25 Oct 2017 at 15:13, Zereges<EMAIL_ADDRESS>wrote:

@Jason3S https://github.com/jason3s Could you also add a link to Czech
dictionary to README.md? Or should I make another PR for that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Jason3S/cspell-dicts/pull/16#issuecomment-339325121,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADkR6dnQBhtfqPelybMuhoOT-7SwTLBXks5svzPhgaJpZM4QFIHk
.


Breaking zig change: renamed builtins

See https://github.com/ziglang/zig/commit/50339f595aa6ec96760b1cd9f8d0e0bfc3f167fc.
Running 'zig fmt' on libs and src will perform an automatic renaming.

Cool, Thanks for the tip!


Install required additionals as dependencies instead of separate installation

express was not installed by default and hence, solution didn't worked. Since, I already had some knowledge regarding node, it was easy to find, but for absolute beginners it's hard to figure out what's going wrong. Please add all required modules to complete the challenges as dependency of the package.

express is a dependency


ignore daml3 snapshots

The canton project is not pushing its docs sources anymore.

@yves-da Is that intentional? Is there a schedule for when you'll resume pushing docs?

Is that intentional? Is there a schedule for when you'll resume pushing docs?

Yes, that's intentional because of https://github.com/DACH-NY/canton/pull/16153.
Given the many breaking changes happening in the Canton main branch (Daml 3.0) it got too time-consuming to keep docs 3.0.0 RST files in sync with these changes. And as a result, the publishing of the 3.0.0 snapshot has been disabled as well.


Update Help

Codecov Report
Base: 67.79% // Head: 68.03% // Increases project coverage by +0.23% :tada:

Coverage data is based on head (d06d6b6) compared to base (eb9e79c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #154      +/-   ##
============================================
+ Coverage     67.79%   68.03%   +0.23%
- Complexity      609      610       +1
============================================
  Files           106      106
  Lines          1972     1980       +8
  Branches        216      217       +1
============================================
+ Hits           1337     1347      +10
+ Misses          577      575       -2
  Partials         58       58

Impacted Files
Coverage Δ

...eedu/intrack/logic/commands/DeleteTaskCommand.java
100.00% <ø> (ø)

src/main/java/seedu/intrack/ui/HelpWindow.java
0.00% <ø> (ø)

...eedu/intrack/logic/parser/RemarkCommandParser.java
100.00% <0.00%> (ø)

...intrack/model/internship/UniqueInternshipList.java
84.05% <0.00%> (+4.05%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


L&S - Red Knight art assets

Concept art in thread, need model etc! Need somebody to volunteer for this one and we'll assign that person to avoid conflicts
http://forum.movingblocks.net/threads/light-and-shadow.762
(glasz edit)
model, texture, skeleton, walk anim done, needs weapons/tools, needs more anims

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/486237-l-s-red-knight-art-assets?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Moved to https://github.com/Terasology/LightAndShadow/issues/31.


What's the time consumed to train CornerNet-Saccade with hourglasses-54 backbone on coco dataset?

It took around two and a half week to train with 4 1080Ti GPUs.

Thanks

Hi @heilaw since it took so long to train. is there any tool to monitor the training process.

@auroua Hi, do you know how to change the backbone hourglass 52 and hourglass 104?


ObjectScript Quality analysis

On every push to master
Results can be examined here

@evshvarov this looks interesting - how could I get set up with a login to dismiss the false positives?

Text me in Teams
On Tue, Jun 16, 2020 at 5:53 PM Tim Leavitt<EMAIL_ADDRESS>wrote:

@evshvarov https://github.com/evshvarov this looks interesting - how
could I get set up with a login to dismiss the false positives?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/intersystems/apps-rest/pull/3#issuecomment-644816510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHEPZQSEIYBX66Z5UUVFTRW6BPFANCNFSM4NZZ6OJQ
.


[58] Document irods_errors module in README (4-2-stable)

seems good - please # and i'll merge

Done


[Existing API Name] : Railway Tracking API

Brief Description 🤓
it is railway which provide details about

station list
tarins list
sechdule of trains

Provide reference!
erail.in
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

Greetings @Yashgabani845🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣

/gssoc24

Hey @Yashgabani845 ! I wanted to inform you that we have closed issue.Thank you for your understanding, and we look forward to your continued engagement with our repository🤗.
In case of any issues, you can contact us on Discord.
Thank you! ❣
Happy Coding! ✨
Will See you soon❣


Migrate Ownable to component

Supersedes #752  Fixes #753

PR Checklist

[x] Tests
[ ] Tried the feature on a public network
[ ] Documentation

Hey!
Just popping into the convo as I was working myself on creating an Ownable component and wanted to share something cool with you about component testing.
I see that you've created a mock contract as well that allows you to get a concrete ContractState for a component. I've done the same thing, but instead of interacting with the component through the contract, by using state.ownable, I've managed to interact directly with the internals of the components by passing the component state.
An example is worth a thousand words:
/// Assuming a component and mock contract with a logic similar to yours
use ownable_component::{InternalImpl, OwnableImpl};
type TestingState = ownable_component::ComponentState<MockContract::ContractState>;

// You can derive `Default` on this type alias
impl TestingStateDefault of Default<TestingState> {
    fn default() -> TestingState {
        ownable_component::component_state_for_testing()
    }
}

// Or even implement your own trait for helper functions
#[generate_trait]
impl TestingStateImpl of TestingStateTrait {
    fn new_with(owner: ContractAddress) -> TestingState {
        let mut ownable: TestingState = Default::default();
        ownable.initializer(owner);
        utils::drop_event(ZERO());
        ownable
    }
}

// and then use it like this:
#[test]
#[available_gas(200000)]
fn test_ownable_initializer() {
    let mut ownable: TestingState = Default::default();
    assert(ownable.owner().is_zero(), 'owner should be zero');

    ownable.initializer(OWNER());

    assert_event_ownership_transferred(ZERO(), OWNER());
    assert(ownable.owner() == OWNER(), 'Owner should be set');
}

// or like this

#[test]
#[available_gas(2000000)]
fn test__transfer_ownership() {
    let mut ownable: TestingState = TestingStateTrait::new_with(OWNER());

    ownable._transfer_ownership(OTHER());

    assert_event_ownership_transferred(OWNER(), OTHER());
    assert(ownable.owner() == OTHER(), 'Owner should be OTHER');
}

anyway let me know what you think! It's very similar but I thought it was cool.

Hi @enitrat, this looks great to me. Thanks for sharing!
Currently, the plan is to migrate to components trying to avoid rewriting the test suite as much as possible. This idea is certainly not a big rewrite, but it involves some design, and my only concern (from a quick review) is that using the mock state directly is probably a better approach when testing components that depend on other components (like AccessControl depending on SRC5). I would try to merge the PRs with the current design and revisit this shortly after to refactor where it applies, just to avoid potentially delaying the milestone, what do you think @andrew-fleming?

I feel a strong urge to use contract.fn instead of state.contract.fn!
I agree with Eric, though. Let's get the need-to-haves done and then we can enhance our testing strats thereafter. I created an issue #777. Thanks for the idea, @enitrat!

my pleasure! Keep up the good work guys 🙌


ensure imagePullPolicies are IfNotPresent for some deployments

This change ensures the following five services have imagePullPolicies set to IfNotPresent for better tolerance of networking outages:
cluster-api
control-plane-operator
hosted-cluster-config-operator
konnectivity-agent
konnectivity-server

Issue - https://github.com/openshift/hypershift/issues/1182
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm

/approve


Loading images and videos but not audio files ?

When I require images and videos in my react app it picks it up and references it, but it doesn't do the same with my audio files. the audio html 5 doesn't play at all.
my component folder which has a entry point component called app.js resides in the same directory where an mp3 file called 'thisisnikes.mp3' resides....
my app.js looks like this
import React from 'react';
import { BrowserRouter, Router, Route, Switch, Redirect } from 'react-router-dom';

import { Header } from './Header';
import { Dashboard } from './Dashboard.js';
import { Uploader } from './Uploader';
import { NotFound } from './NotFound';
import { Storefront } from './Storefront';

import './../css/normalize.css';
import './../css/main-style.css';

export class App extends React.Component {
	constructor(props) {
		super(props);
		this.state = {
			headerVisible: true
		}
		this.addHeader = this.addHeader.bind(this);
		this.removeHeader = this.removeHeader.bind(this);
	}
	removeHeader() {
		this.setState({
			headerVisible: false
		})
	}
	addHeader() {
		this.setState({
			headerVisible: true
		})
	}
	render() {
		return  (
			<BrowserRouter >

						{ this.state.headerVisible
						&&
						}
						<audio controls autoPlay src={require('./thisisnikes.mp3')}></audio>

						<Switch>
							<Route exact path='/' render={ () => ( <Redirect to='/Dashboard' /> ) } />
							<Route path='/Dashboard' component={ Dashboard } />
							<Route path='/Upload' component={ Uploader } />
							<Route path='/:storename' render={ ({ match }) => ( <Storefront match={match} addHeader={this.addHeader} removeHeader={this.removeHeader} /> ) } />
							<Route strict component={NotFound} />

						</Switch>

			</BrowserRouter>
			);
	}
};

I tried this with a images and also a mp4 file and it loaded it successfully but for some reason it won't locate the mp3 file, my console is not returning any errors either.
My webpack.config.js looks like this
var HTMLWebpackPlugin = require('html-webpack-plugin');
var HTMLWebpackPluginConfig = new HTMLWebpackPlugin({
	template: __dirname + '/app/index.html',
	filename: 'index.html',
	inject: 'body'
});

module.exports = {
	entry: __dirname + '/app/index.js',
	module: {
		loaders: [
			{
				test: /\.js$/,
				exclude: /node_modules/,
				loader:  'babel-loader'
			},
			{
				test: /\.css$/,
			 	loader: "style-loader!css-loader"
			},
			{
				test: /\.(jpe?g|png|gif|svg|mp4)$/i,
				use: 'file-loader'
			},
			{
			    test: /\.(ogg|mp3|wav|mpe?g)$/i,
			    use: 'file-loader'
			}
		]
	},
	output: {
		filename: 'transformed.js',
		path: __dirname + '/build'
	},
	devServer: {
  historyApiFallback: true
},
	plugins: [HTMLWebpackPluginConfig]
};

@john-raymon can your create minimum reproducible test repo?

- <audio controls autoPlay src={require('./thisisnikes.mp3')}></audio>

+ import mp3 from './thisisnikes.mp3'
+...
+ <audio controls autoPlay src={mp3}></audio>
```


Basic documentation for LiveReload support

 Issue by Silvenga
Friday Feb 17, 2017 at 01:18 GMT
Originally opened as https://github.com/Wyamio/Wyam.Web/pull/38

Added documentation on LiveReload support.

Added Requires Wyam 0.16.4 or greater. to avoid the wrath of confused users.

Silvenga included the following code: https://github.com/Wyamio/Wyam.Web/pull/38/commits

 Comment by daveaglick
Monday Mar 06, 2017 at 16:19 GMT

Thanks - hopefully releasing 0.17.0 later today or tomorrow.


Modern async

Summary
Updated code to use modern C# constructs for async code, such as async/await and Task.Run.
Fixes https://github.com/dotnet/docs/issues/10627

Thanks for making these updates @Mackiovello
I'll :shipit: now


🐛 Panic running biome lint . and piping to jq

Environment information
CLI:
  Version:                      1.7.3
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v16.20.2"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "pnpm/8.15.7"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

What happened?
I attempted to run the following command(s) on one of our monorepos at Vercel:
󰘧 pn biome lint --log-kind=compact --reporter=json --max-diagnostics=50000 . | jq '.diagnostics | group_by(.category) | map({
      category: .[0].category,
      count: length,
      filePaths: map(.location.path.file) | unique
    }) | sort_by(.count) | reverse' > biome_report.json

Biome encountered an unexpected error
This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
Source Location: crates/biome_console/src/lib.rs:148:14
Thread Name: main
Message: called Result::unwrap() on an Err value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Expected result
It should not throw an error
Code of Conduct

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

Could you try to find the file / code that resulted in this crash? Just to be sure: does Biome failed without jq and --reporter?

The error seems coming from Biome trying to use terminal colors.
Could you try with the option --colors=off (and --colors=force)?

I am going to close this, since we haven't had an answer for 2 weeks.
Also, this was fixed in main, where we disable colours when using --reporter

Sorry - totally lost track of this, I was never able to reproduce it again and we've successfully migrated 1 or 2 giant monorepos to biome 💜
https://x.com/anthonysheww/status/1820885098134434237


Make Translation Process part of the Build

Use Cases (derived from Fryguy's proposed workflow)

[ ] Generation of .pot file and push to Transifex

nightly build - commit to GitHub, if different

[ ] On an ad-hoc basis, upload translations to Transifex
[ ] Generation of .po files from translations in Transifex

for a release build, also commit to GitHub on appropriate branch

Useful Links

Transifex Integration with GitHub and Travis
Transifex Ruby Gem

The workflow I am considering is roughly the following:
As part of the nightly build (or perhaps a less granular interval), the .pot file will be regenerated, committed to master, and also pushed to transifex.  All translations will be in Transifex. Transifex will then be the source of truth, and we will not include .po files in any master branch. At nightly build time, the build script will pull down the latest files from transifex and include them in the build.  For a release build, it will do that same thing, however additionally, before tagging, it will also commit the .po files to the branch, so we know exactly which translations are included.

@simaishi once I have the basics working, will need your help to integrate it into the build process.

@mzazrivec please weigh in with your thoughts

Transifex will then be the source of truth, and we will not include .po files in any master branch.

@Fryguy Why don't you want to have .po files in master branches? They are actually quite useful, especially when debugging i18n or i18n-related issues.

I don't consider pulling files from Transifex during build time a good idea.
It has been my experience that the catalogues pulled from Transifex contain errors (or mistakes if you will) and I could not simply commit them to master like they don't matter. This content simply had to go through standard PR review process and the discovered problems had to be fixed before being merged (or all kinds of funny stuff would then show in the localized UI).

Is there any command we can run to verify the string tokens? I think those would be welcome additions to the i18n test suite for any PRs that include .po files.

The tests are part of our specs in manageiq core already: test to verify tokens as well as test to verify locale_name.
So far, I used to pull files from Transifex and commit them into a pull request whenever I got a heads up from translators that translations for some release branch are ready (i.e. 100% translated). At that point I also merged their work with current manageiq master and updated Transifex master.

Nightly build
Release build

bin/release_tag.rb calls
ManageIQ::Release::ReleaseTag#rake_release which calls
rake release generates a git commit that I would like to add i18n stuff to

Git Commits are reviewed and pushed manually?

correct, there is no PR for the commits from rake release, though we can inspect them manually.

Reopening.  This has changed significantly since the time it was opened so we need to determine what's left to do.  Much of the automation is done but where the po/pot files go is different, so will need review.


Revert the change to AuthenticationCeremonyMixin.can_authenticate() logic returning False if the user is falsey.

This resolves https://github.com/Stormbase/django-otp-webauthn/issues/10 and adds comments explaining why the logic is correct.

Closing this in favor of https://github.com/Stormbase/django-otp-webauthn/pull/12


Ability to resume after an error occurs

I didn't see a way to do this, apologies if it is described somewhere.  I am attempting to build an application and I noticed any time it exits due to an error the process stops and then I'm stuck.  So for example:
...
npm install

To run the codebase:

npm run dev

Do you want to execute this code?

npm install

npm run dev

If yes, press enter. Otherwise, type "no"

Executing the code...

npm WARN deprecated<EMAIL_ADDRESS>Types for the Google Maps browser API have moved to @types/google.maps. Note: these types are not for the googlemaps npm package, which is a Node API.
npm WARN deprecated<EMAIL_ADDRESS>Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
npm WARN deprecated<EMAIL_ADDRESS>Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

added 39 packages, removed 347 packages, and audited 354 packages in 5s

44 packages are looking for funding
  run `npm fund` for details

5 critical severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

><EMAIL_ADDRESS>dev
> next dev

ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
It looks like you're trying to use TypeScript but do not have the required package(s) installed.

Please install @types/react by running:

        yarn add --dev @types/react

If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages directory).

(venv) ➜  gpt-engineer git:(main) ✗

Notice the typescript error above, and the process ends and I'm back at the command prompt.  Is it possible to resume after adding the missing package with yarn add --dev @types/react?  If not, it'd be a great feature.

I run into this issue multiple times. Still trying to find a way to resume work =/

same here

same

Please have anyone find a solution to this error I also get the same error when building nodejs or react app

re-verify .json dependicies and versions to your add-ons plugins in the package.json file are compaitble with one another.
If you never did it clear your package cache
npm cache clean --force
and aside from that I'm not really sure because you are doing what you need to do correctly from what I am seeing so I am kind of confused.
make sure the tsconfig is properly set up and includes all necessary typescript settings.
If there's any more errors you see post them here and I will try to look into them deeper, hopefully someone got this worked out !

Solution to this should be to check reason the completion ended from chatgpt, and depending on the reason immediately continue I think

Closing this stale thread for house keeping.


Update to TFC 0.79.24

Hi!
I'm sorry, but I can't accept this PR. You have changed mcmod.info and build.gradle, so this won't compile or run as a proper mod anymore. Also, you have commited eclipse binary files and launch configurations. I don't believe this repo needs to contain fml and forge credits/license files.
If you fix those issues, I will accept the PR. (The only change to mcmod.info should be adding yourself to authors and/or credits, and the only change to build.gradle should be the forge-bump).

I've fixed it now. Sorry about that, I don't actually program, so I was unsure about github pushes for code repos.


Run in Colab

TypeError: Audio.init() got an unexpected keyword argument 'source'

Python 3.10.12

Try updating the colab like this
This takes about 4 minutes until the UI pop up
!git lfs install
!git clone https://huggingface.co/spaces/Plachta/VALL-E-X
%cd VALL-E-X
!pip install --no-build-isolation -r requirements.txt
!pip uninstall torch
!pip uninstall torchvision
!pip uninstall torchaudio
!pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
!pip install gradio
%run app.py

Try updating the colab like this
This takes about 4 minutes until the UI pop up
!git lfs install
!git clone https://huggingface.co/spaces/Plachta/VALL-E-X
%cd VALL-E-X
!pip install --no-build-isolation -r requirements.txt
!pip uninstall torch
!pip uninstall torchvision
!pip uninstall torchaudio
!pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
!pip install gradio
%run app.py

Thank you!

God Bless you!

nice! i was having trouble with that too.


Add company-php for PHP auto-complete

Hello:
Company-php is now fine. And I think that writing php code requires auto-complete.
Thanks.

Sure, thanks.

Yep. I don't plan to add more PHP support code - it's a long time since I worked with the language, but a simple company backend makes sense. :-)


Change title of "Open Vendor Transaction report"

The title of the page says "Open Vendor Transaction Report", but the report in Dynamics is "Vendor open transaction report"
Would be helpful to change the title to avoid any confussions. Thanks!
https://learn.microsoft.com/en-us/dynamics365-release-plan/2021wave2/finance-operations/dynamics365-finance/open-vendor-transaction-report?source=docs

Thank you for the suggestion. @alexbuckgit can you please review?


Fix/quantity dimensions

Closes #1834 and #1770
Changes

fixed _arithmetic_precheck when performing multiplication / division operations between quantities with different dimensions.
added additional tests for multiplication and division between instances of int | float | quantity
fixed si_offset reassignment within si_data
fixed unit string powers

old: "m^2.0", "kg^-1.0"
new: "m^2", "kg^-1"

Can confirm this solves the raised issue and outputs correct results:
The only minor suggestion would be to consider whether we could reorder the units and coefficients so that we have e.g. m kg^-1 s^-1 (meters per kilogram second) rather than kg^-1 m s^-1 (per kilogram meters per second) which is slightly less intuitive compared to how we typically write units. Both work fine for me anyway and I understand that keeping the mass distance time order may be desired.

@raph-luc this is another good suggestion for follow-up work. The most basic change would be to have all units with negative indices moved back to follow all those with positive indices.


Upgrade OS Version to 2.0.0-alpha1-SNAPSHOT

Signed-off-by: vamsi-amazon<EMAIL_ADDRESS>Description
Upgrade OpenSearch version to 2.0.0-alpha1-SNAPSHOT  which has more changes corresponding to removal of mapping types.
Issues Resolved
https://github.com/opensearch-project/sql/issues/452
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #518 (57653a4) into main (ab9c1fb) will increase coverage by 3.15%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #518      +/-   ##
============================================
+ Coverage     95.24%   98.40%   +3.15%
  Complexity     2744     2744
============================================
  Files           276      266      -10
  Lines          7410     6752     -658
  Branches        537      419     -118
============================================
- Hits           7058     6644     -414
+ Misses          298      107     -191
+ Partials         54        1      -53

Flag
Coverage Δ

query-workbench
?

sql-engine
98.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

workbench/public/components/PPLPage/PPLPage.tsx

...ublic/components/QueryResults/QueryResultsBody.tsx

workbench/public/utils/PanelWrapper.tsx

workbench/public/components/Header/Header.tsx

workbench/public/components/app.tsx

workbench/public/components/SQLPage/SQLPage.tsx

...ch/public/components/QueryResults/QueryResults.tsx

...h/public/components/QueryLanguageSwitch/Switch.tsx

workbench/public/application.tsx

workbench/public/components/Main/main.tsx

Continue to review full report at Codecov.

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


Do you think you can do a Publication style for Publications?

%This is for publications
\newenvironment{cvpublication}{%
\vspace{\acvSectionContentTopSkip}
}{%
}
% Define an entry of cv information
% Usage: \cventry{Authors}{}{}{}{}
\newcommand*{\cvbib}[5]{%
\vspace{-2.0mm}
%\setlength\tabcolsep{0pt}
%\setlength{\extrarowheight}{0pt}
\noindent
\honortitlestyle{#1} \entrytitlestyle{#2} \honortitlestyle{#3} \honortitlestyle{#4}
\honortitlestyle{#5}
}

Have a look at #23.


Changing Replicas

Hello all,
were are using OpenDataHub on OpenShift for testing purposes. The cluster we are using is not so powerfull. Therefore we want to scale down som Workloads from 3 Replicas to 1.
But in the KfDef there is no point how to define the number of replicas.
How can i scale down the created resources to 1 ?
Thank you

cc @andrewballantyne

/transfer opendatahub-operator
I think this is already planned to be a future state of the Operator to manage replicas for each resource it deploys. Until then, there is no supported way to do this.


feat: multi resource actions

This PR adds Delete and Save to file/folder functionality for multiple selected resources.
Changes

Add Save to file/folder action for resources context menu in preview/cluster mode

Checklist

[x] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

thanks @topliceanurazvan - looks great! a couple of comments:

suggest to make the "save to folder" option the default one
if I select a bunch of resources, then add a filter that selects a subset of them, and then do the "Save.." action I'm still prompted to save the unfiltered list of objects - I expected to only export what is filtered (although I understand that more objects are actually selected).. would that work? or be confusing?
what if I want to save to a folder "outside" my current project - could we provide an option for that? Perhaps "Save to project folder" shows the existing folder dropdown, "Export to folder" allows me to select any folder!?

@tommywhitehead thoughts?

@olensmar - Great catch with filtering when there are resources selected. I could think of some possible solutions, either we deselect all resources when we apply new filters ( with a confirm modal ), or as you said, do the actions only for the filtered resources that are selected, which might be a little bit confusing for the users.
Right now we are disabling using the filters panel when there are selected resources and hiding the button for opening the panel. Maybe we should stick with not letting the users apply new filters when they have resources selected.
Any thoughts on this? @tommywhitehead @devcatalin

I'm getting the following when trying to download from a cluster without having opened a local folder - i.e. fileMap[ROOT_FILE_ENTRY] will be undefined

@olensmar - great catch! I've fixed it.


Update legal_strings.xml in TR and EN

Description
Removed last half sentence in "submission_consent_your_consent_subsection_third_point"  as per lawyer's instruction.
See also comment in https://github.com/corona-warn-app/cwa-app-android/pull/2704.

setting to draft as I still need to add correction to Turkish version.


Regression: Latest update does not parse pdfs

Updated to 0.2.211 from yesterday's version. Now pdf's look like this:
http://i.imgur.com/IzuoT.png
(FF Aurora on Linux)

Thanks - that was quick!


Avoid empty left hand part of plots

Case: I select a time interval where there is no measurement point near the beginning of that interval (i.e. the car was offline for some duration at the beginning). Then the left part of the diagram is empty, and the plots only begin somewhere towards the right. And this is even though older data ("beyond" the left edge of the diagram")exist in the database.
The two attached screenshots show how a 6 hr plot is empty for the first 2.5 hours, but when e.g. a 2 day duration is selected, the plots fill (almost) the entire diagram.
Would it be possible to add logic so that the system looks for the last data point before the chosen diagram interval and uses that to fill the diagram entirely?

Actually I have no idea how this could work. If there is someone with very good SQL knowledge who could give advice I would be happy to implement that


Couldn't view the role's permission when assigning a role to a newly created user in the sub-organization

Describe the issue:
Please refer to the screencast.
https://user-images.githubusercontent.com/13362482/183576266-c84e5721-072f-4100-b2f1-cdbfdcdb1687.mov
How to reproduce:

Enable org-mgt feature
Login to console and create different sub organizations
switch to created new sub organization
Create a new role
Try the user creation and try to a view the permission of the role when assign the role while creating the user.

Expected behavior:
User should be able to view the permissions
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: wso2is-6.0.0-beta2-SNAPSHOT
OS: Mac
Database: MSSQL 2019
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

@Kanapriya  @brionmario we've (temporary) removed roles section in both Add User Flow and Edit User Flow in sub-organization management context due to these reasons.

Organization Management doesn't support SCIM endpoints for Organization user management (https://github.com/wso2/product-is/issues/14267)
We don't have an ability to assign a role to a user, we only can assign user to a role ATM.

@Kanapriya  @brionmario we've (temporary) removed roles section in both Add User Flow and Edit User Flow in sub-organization management context due to these reasons.

Organization Management doesn't support SCIM endpoints for Organization user management (https://github.com/wso2/product-is/issues/14267)

We don't have an ability to assign a role to a user, we only can assign user to a role ATM.

In the recent development, we've removed the role assignment in the user creation flow too

Got it. I'll remove my assignment.

As mentioned above the role assignment in the user creation flow has been removed. hence closing this issue


⚠ Processors has degraded performance

In 4538722, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 51 ms

Resolved: Processors performance has improved in e62641f.


Providing own filter function

Hi, thanks for the great element.
The data I get from ajax has a different attribute to filter for than value. Is there a way to provide custom filtering function (as in dom-repeat)?
Thanks a lot

The filter property is a function, using which you can supply your own filter function and filter based on a property different than value.
However, I see that in one place I hardcoded the value property, so I'll need to update that part to truly support this.

The previous commit added a property filterProperty, which specifies which property name to use when filtering objects. I will publish a new release shortly.

Thanks a lot


IE8 compatibility fix: added guards to if statements to avoid null/no…

IE8 compatibility fix: added guards to if statements to avoid null/not an object errors.
IE8 throws errors without the guards in place. This appears to fix that!

Thanks.

Released as 2.5.0


Added quarterly examples to the README.

Should have included this change in the last pull request, but forgot.

Thank you


Uploading photos on server takes too much time

What
I've retested New product addition with a video. It's really long, especially on 4G.
https://photos.app.goo.gl/w6VcqSpvyeqqp8z48

@teolemon I wouldn't blame the 4G. But:

obviously you were testing in the worst conditions - full size pictures - where I would expect "real people" to crop
we may reduce the size of the image (before upload) without the user even noticing it. In another project it was even something I had to do, because whatsapp reduced the size of the image anyway and destroyed my well designed drawings. At least make it the default (e.g. reduce to 1000 pixel max) and explaining why, with an option to upload the full size.
the circular animation is boring - we should have a tomato-apple-banana-carrot dance animation.
the text too is boring - I guess something like "thank you, we're adding this picture to our database" would be more positive.
I don't think we would be able to display a linear progress here, but perhaps starting with a ping request would help us make it more alive.
would that be possible to upload in background? not sure about the UX, and there's probably already at least one issue for that.

would that be possible to upload in the background? not sure about the UX, and there's probably already at least one issue with that.

I am doing this, we can easily force the upload to be in the background but then it's about how to notify the user when the work manager finishes its task of uploading
Here's the apk, can I hear a ux suggestion on this
How I retry in case of failure is like this

switch (counter) {
        case 0:
          duration = const Duration(seconds: 30);
          break;
        case 1:
          duration = const Duration(minutes: 1);
          break;
        case 2:
          duration = const Duration(minutes: 30);
          break;
        case 3:
          duration = const Duration(hours: 1);
          break;
        case 4:
          duration = const Duration(hours: 6);
          break;
        default:
          duration = const Duration(days: 1);
          break;
      }

https://drive.google.com/file/d/1-UaDQtCi3mSwBN0WtvRQUBg39kR3OqIg/view?usp=sharing

how to notify the user when the work manager finishes its task of uploading

My personal opinion on that is that we should not notify the user. I don't see the point, users take photos, they assume they will be sent. If we really want to make this information available, then it would be more in the user's profile: # of photos sent + # of photos waiting to be sent.

If the question is just "how to notify the user", I assume we can do this with a provider.
I would tend to agree with @stephanegigandet regarding UX.
To me, the biggest challenges here are:

maintaining locally several copies of a product - the server one and the local one (= the server one with the added pictures on top)
the background process (isolate? just async?) that uploads the pictures and refreshes the product locally (that's where you would notify with your provider)

@monsieurtanuki
Trying with something like this, seemed to work real good, also had the apk here
https://drive.google.com/file/d/1-UaDQtCi3mSwBN0WtvRQUBg39kR3OqIg/view?usp=sharing

the background process (isolate? just async?) that uploads the pictures and refreshes the product locally (that's where you would notify with your provider)

Was trying to do something with workanager ,added benefits would be the background scheduling and there's the retry method to try to upload multiple times(ios doesn't support retry by default)
@pragma(
    'vm:entry-point') // Mandatory if the App is obfuscated or using Flutter 3.1+
void callbackDispatcher() {
  Workmanager().executeTask(
    (String task, Map<String, dynamic>? inputData) async {
      // make a counter with task as key as it is unique for each task
      final int counter = inputData!['counter'] as int;
      // if task is greate than 4 , that means it has been executed 5 times
      if (counter > 5) {
        // returns true to let platform know that the task is completed
        return Future<bool>.value(true);
      }
      Duration duration;
      switch (counter) {
        case 0:
          duration = const Duration(seconds: 30);
          break;
        case 1:
          duration = const Duration(minutes: 1);
          break;
        case 2:
          duration = const Duration(minutes: 30);
          break;
        case 3:
          duration = const Duration(hours: 1);
          break;
        case 4:
          duration = const Duration(hours: 6);
          break;
        default:
          duration = const Duration(days: 1);
          break;
      }
      bool shouldRetry = false;
      try {
        final SendImage image = SendImage(
          lang: ProductQuery.getLanguage(),
          barcode: inputData['barcode'].toString(),
          imageField:
              ImageFieldExtension.getType(inputData['imageField'].toString()),
          imageUri: Uri.parse(inputData['imageUri'].toString()),
        );
        final Status result = await OpenFoodAPIClient.addProductImage(
          ProductQuery.getUser(),
          image,
        );
        shouldRetry = result.error != null || result.status != 'status ok';
      } catch (e) {
        shouldRetry = true;
        debugPrint(e.toString());
      }
      if (shouldRetry) {
        inputData['counter'] = counter + 1;
        Workmanager().initialize(callbackDispatcher, isInDebugMode: true);
        Workmanager().registerOneOffTask(
          task,
          'ImageUploadWorker',
          // constraints: Constraints(
          //   networkType: NetworkType.connected,
          // ),
          inputData: inputData,
          initialDelay: duration,
        );
        return Future<bool>.error('Failed and it will try again');
      } else {
        return Future<bool>.value(true);
      }
    },
  );
}

// To invoke
  final Map<String, dynamic> inputData = <String, dynamic>{
    'barcode': barcode,
    'imageField': imageField.value,
    'imageUri': File(imageUri.path).path,
    'counter': 0,
  };
  await Workmanager().initialize(
      callbackDispatcher, // The top level function, aka callbackDispatcher
      isInDebugMode:
          true // If enabled it will post a notification whenever the task is running. Handy for debugging tasks
      );
  final String uniqueId = 'ImageUploader_${barcode}_${imageField.value}';
  await Workmanager().registerOneOffTask(
    uniqueId, 'ImageUploadWorker',
    inputData: inputData,
  );

refreshes the product locally (that's where you would notify your provider)

Seems like I can't access the context or any dart plugins, nor evensharedprefwhen using workmanager, so how exactly to notify or do use provide here is being a bit tricky to me, currently what I was thinking is not show a snackbar to the user that the theupload has been queued it will be uploaded soon

Additional interesting video here, about:


[AppConfiguration][Unreleased] Update snapshot composition_type enum values.

This PR updates the enum values of a snapshot's composition_type property.
Renames the values of the composition_type enum from
'group_by_key' | 'all'
to
'key' | 'key_label'
The new description of the property:
"The composition type describes how the key-values within the snapshot are composed. The 'key' composition type ensures there are no two key-values containing the same key. The 'key_label' composition type ensures there are no two key-values containing the same key and label."

Breaking changes must be done in a new api-version. If you change the api-version, then the Breaking change label will go away.

@JeffreyRichter
Although the API version label is old (2022-11-01-preview), this is an unreleased API in all capacity. There are no SDKs or user dependencies on it.

#sign-off

@anuchandy this is good to merge.

Based on Jeff's approval of the change, merging.


flutter pub get should allow platform constraint in yaml

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
When I run flutter pub get in my project, it hints me there is some conflict in two plugins for windows platform.
But my project is only for iOS and Android.
Proposal

I think flutter pub get should allow me to config platforms in yaml
don't get unwanted platform implementations
don't check unrelated platform conflicts.

I'm using:
flutter  3.7.12
I include in yaml with:
device_info_plus: 7.0.1
share_plus: 7.0.2

flutter pub get error hints:
Because share_plus 7.0.2 depends on win32 >=4.0.0 <6.0.0 and device_info_plus >=7.0.0 <8.1.0 depends on win32 >=2.7.0 <4.0.0, share_plus 7.0.2 is incompatible with device_info_plus >=7.0.0 <8.1.0.
So, because flutter_app depends on both device_info_plus 7.0.1 and share_plus 7.0.2, version solving failed.
pub get failed
command: "/Users/qxy9763/Library/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --directory . get --example"
pub env: {
  "FLUTTER_ROOT": "/Users/qxy9763/Library/flutter",
  "PUB_ENVIRONMENT": "flutter_cli:get",
  "PUB_CACHE": "/Users/qxy9763/.pub-cache",
}
exit code: 1

Hi @techwnn
This seems to be related to the pub, please file an issue at https://github.com/dart-lang/pub repository.

Hi @techwnn This seems to be related to the pub, please file an issue at https://github.com/dart-lang/pub repository.
OK, thanks for your reminder.


Bug in create action of \yii\rest\ActiveController

What steps will reproduce the problem?
Consider that you are using ActiveController and want to create an entity in your db.
When you send post request to create action and want check access of user that requested.
What's expected?
You expect that the model object in checkAccess method filled by user input but it's not.
What do you get instead?
The model object is null.
Additional info

Q
A

Yii version
<IP_ADDRESS>

Yii REST version
master

PHP version
7.1

Operating system
Docker ubuntu 16

Please refer to this issue:
https://github.com/yiisoft/yii2/issues/16812#issuecomment-431989302

I think we can even replace ID with a model, right?

Doesn't apply to current package.


Fix dependency versions

Also, move babel-preset-env to devDependencies

Just using the major version number should be fine


LOG-4810: Do not change operator if selector value is regex

If a matcher value is changed manually into a regex, do not alter the operator so the query results filter as expected by the user

/cherry-pick release-5.8

/cherry-pick release-5.7


register the same router path to multiple method will panic

code
`package main
import (
"net/http"
"github.com/julienschmidt/httprouter"

)
func main() {
router := httprouter.New()
router.GET("/api", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
})

router.POST("/api", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {

})

router.POST("/api", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {

})

}`
output
`panic: a handle is already registered for path '/api'
goroutine 1 [running]:
github.com/julienschmidt/httprouter.(*node).addRoute(0xc000090190, 0x127b8c6, 0x4, 0x128d740)`

sorry for  bother you！


Filter based security, but now in the main framework

The same SecurityFilter as I showed in the Scala demo. Let me know what you think. The Scala demo pull request has been updated to use this code.
Note that the Scala demo project contains some unit tests that verifies the workings of the filter based and controller based security.
Also note that the README has not yet been updated with instructions for the filter.

Despite all my comments, I find this pull request excellent. I would slightly change the syntax proposed by the security filter. I think tests are mandatory to confirm the good behaviour of the filter (you can certainly somehow reuse the ones from the Scala demo).

Thank you! Keep the comments coming. A first draft like this should generate lots of them.
As for the comments _authenticated_ / _anonymous_ and the use of clients and authorisers, I would like to discuss this in a bit more detail.
First of all, I think configuring a list of rules like this must be as unambiguous as possible to readers. Therefore, being able to explicitly qualify certain patterns to be accessible for anonymous users is desirable in my opinion. Especially when the last rule is a 'catch all' .* rule.
As for the reserved names, I sort of stole them from the Spring Security project, which is very common in JVM world. They have these words to use in the Spring config file:
permitAll	                Always true
denyAll	                    Always false
isAnonymous()	            User is anonymous
isAuthenticated()	        User is not anonymous
isRememberMe()              User authenticated via remember-me
isFullyAuthenticated()      User is neither anonymous nor remember-me
hasRole(role)	            User has the specified role
hasAnyRole(role1, role2, ...,role n)

It seemed to me a good idea to use a similar terminology to a large framework, in order to make it easier to become familiar with the (play-)pac4j library.
Which brings me to another point:
In securing an application, there are several pieces of the puzzle:

Whether someone is authenticated
What roles someone has, or how someone is authorized
In what way someone can become authenticated (SAML2, form, basicauth, etc.)
Additional measures (like f.e. http headers or output escaping)

In my opinion the pac4j framework mixes several of these pieces, which makes it somewhat unintuitive, although it certainly works fine from a technical perspective. For example, configuring the client takes care of point 1 and 3. Configuring the authorizers takes care of point 2 and 4.
This causes confusion (at least for me). Configuring the clients property as _authenticated_ or _anonymous_ is certainly right from the pac4j perspective and I agree that it might be best to change it in this way for now. However, from a security domain point of view, it reads as nonsense. There is no such thing as an anonymous client. Neither is a CSRF token authorizer something that makes sense in the security domain.
What are your thoughts on this? If you like, I can take it to the dev mailing list.
As you see, I'm quite into semantics and domain modelling. Sorry, but I can't help it :)

First of all, we are not Spring Security and to be honest, pac4j has been built with the idea of not to be Spring Security: I'm not saying it's a bad library, I just think 99% of the use cases SpringSec addresses can be addressed in an easiest way (with much less code).
To access an url, the pac4j security filter checks two things: authentication and authorizations.

Clients define how to authenticate and after being authenticated, a user has a profile with roles and permissions (computed by an authorization generator)
Authorizers check authorizations: has the user the appropriate role? can this url be called in an iframe? Authorizations apply after a user is authenticated

If it's not obvious, I should certainly update the documentation. But I think this is pretty simple and intuitive.
That said, we of course want to stick to common words whose meaning is known by most of the developers.
The point here is whether we have: clients =  "_authenticated_" or authorizers  = "_authenticated_". You are certainly right in saying that the second syntax is clearer to most people.
But as you honestly said: "unintuitive" and "nonsense", my next question is: what would you change to the RequiresAuthenticationAction (which works like all pac4j filters)?

Sorry for being silent for a while. Have been somewhat busy.
I have been thinking and have come up with a few config rule naming changes that will make it better matching the pac4j framework.
Replacing _authenticated_ with _any_ and _anonymous_ with _none_, both to be used in the clients property. This makes the reserved words say something about the clients that must be used with the url pattern.
pac4j.security = {
  rules = [
    {"/facebook.*" = {
      clients = "FacebookClient"
    }}
    {"/twitter.*" = {
      clients = "TwitterClient"
    }}
    {"/filter/protected/custom.html" = {
      authorizers = "custom"
      clients = "_any_"
    }}
    {"/loginForm.*" = {
      clients = "_none_"
    }}
    {".*" = {
      clients = "_any_"
    }}
  ]
}

What do you think?
PS. The remarks on the mixing of the different domain concepts are my personal opinion and would need changes in the pac4j core framework. These were merely suggestions that I would myself choose when designing a library like this and express therefore purely personal opinion.
PPS. Of course pac4j != Spring Security. I only used it first for inspiration to choose suitable names for domain concepts.

No problem. I have found your comments very relevant and useful. It makes me think on my side as well and leads me to rewrite the Clients page, the Authorizers page, create a "Main concepts" section in the pac4j README and update the play -pac4j README (introduction part) to make things clearer about the pac4j security model.
I'd like to get your feedbacks on these improvements (I hope).
Previously, it seems that SpringSec concepts and pac4j ones were exclusive, but I don't think so anymore and I was wrong in my first comments.
By default, with the pac4j "security filter", the user must be authenticated (it's the meaning of a blank authorizers), the clients defines the way to authenticate. In our new filter, it would be very strange and unclear to have authorizers = "" to say the user needs to be authenticated. Your proposal makes sense ( authorizers = "_authenticated_") without being in opposition with the pac4j concepts. Thus, for an anonymous section (which does not need to be defined in the regular pac4j "security filter", we just need to not define it), a authorizers = "_anonymous_" is completely consistent.
So I would keep your first proposal which is for me a lot better and which does not finally clashed with the pac4j security model.
For me, the remaining point is to update the README to explain how the filter works.
Many thanks for your work and this discussion. I'm looking forward to your feedbacks on the "improved" documentation.

Cool! I'm immensely happy that I have been able to help you.
I will then update the README and once this PR is approved, I will finalize the Java and Scala demo's.

Just merged. Thanks again.


Error occurred: unable to find valid certification path to requested target

I get the following error using IntelliJ IDEA 2024.1 (Ultimate Edition).
Plugin configured with valid project api key from https://platform.openai.com/api-keys

Error occurred: unable to find valid certification path to requested target

Same error there!

IntelliJ IDEA 2024.1 (Ultimate Edition)
Build #IU-241.14494.240, built on March 28, 2024


Feature: option to enforce specific status code response

After many years of building and using request there's one piece of boiler that still really bugs me.
request.get('/', (err, resp, body) => {
  if (err) throw err
  if (resp.statusCode !== 200) throw new Error('Status code is not 200, '+resp.statusCode)
  // ^^ THIS LINE IS SUPER LONG AND ANNOYING ^^
})

It would be great if we have a feature to specify the required  status code that would create and pass an error if it does not pass.
## options.status

Specify the a required status code. If the condition is not met an error is passed
to the callback (or emitted if there is no callback).

If the option is an integer that will be the only acceptable status code. If
the option is a the status code is matched against the expression.

Thoughts?

Sounds good to me. I will review the PR if you implement it :)


[5.8] Throw Error If Transaction Is Not Started While Commit

This pull request has the solution to bug User commit when there is no transaction started
The current code never notify user that transaction is not started and they are trying to commit.
Current 5.8 Code
        if ($this->transactions == 1) {
            $this->getPdo()->commit();
        }
        $this->transactions = max(0, $this->transactions - 1);
        $this->fireConnectionEvent('committed');

This could be disaster if someone forget to start transaction and they trying to commit, So changes in code will throw exception. That will indicate developer that they are trying to commit but no transaction has started yet.
Changes done to code
        if ($this->transactions == 1) {
            $this->getPdo()->commit();
        } elseif ($this->transactions == 0) {
            throw new TransactionException;
        } else {
            $this->transactions = max(0, $this->transactions - 1);
            $this->fireConnectionEvent('committed');
        }

This issue is already reported here https://github.com/laravel/framework/issues/29505, and also this issue was mention earlier by @GrahamCampbell
@taylorotwell  have look at this issue and it's PR.

High potential for breaking several applications on a point release.


examples do not work with java SDK v12

Looking at examples to use Table Api with Java SDK, I'm a bit confused.
The code seems to refer to a lot of classes in package com.microsoft.azure.storage.table which does not exist in SDK v12.
I did not find updated example.
What is the current (v12) way to manipulate Table Api?

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

ID: 5625916c-ebb5-a83f-f03a-4fe2a74418c2
Version Independent ID: b05299ae-160b-945b-9bd3-14b440ef927e
Content: Use Azure Table storage or the Azure Cosmos DB Table API from Java
Content Source: articles/cosmos-db/table-storage-how-to-use-java.md
Service: cosmos-db
Sub-service: cosmosdb-table
GitHub Login: @sakash279
Microsoft Alias: akshanka

@titimoby Thank you for the feedback. We are actively investigating and will get back to you soon.

This is being assigned to the content author to evaluate and update the document accordingly.

That doc points to the home page for the Azure Storage Java SDK. Unfortunately, Storage team stopped support for Table storage with the Java SDK v8, https://github.com/Azure/azure-storage-java/tree/v8.6.5 That is the last version of their SDK they released.
I have updated this article to reflect their deprecation of support. I also want to point out that there will be a new Azure Java SDK which will provide support again. However it will require a rewrite for clients. When that is released we will update this article once again.
Thanks.
#please-close


feature: make canvas drag- and zoomable

this'll be useful for very large sequences. A must is the ability to break a single image into smaller images so you dont have to render everything at once - but block by block.
See how google maps works as a comparison.
This'd be huge!

Found useful stuff from mozilla.
https://developer.mozilla.org/en-US/docs/Games/Techniques/Tilemaps
Specifically the Performance Section is interesting here, which leads to this repo implementing off canvas drawing (exactly what we want here):
https://github.com/mozdevs/gamedev-js-tiles
This will be fun, this'll come after #5 is done!


Implement proper project versioning

Probably CalVer.

Version info (in form of commit id) provided through /actuator/info endpoint. Since fly.io currently handles image creation and deployment, I don't care what they're doing with tags and versions.


Telltail is installed but not working?

On Windows 10 x64, I got the telltail center installed via the executable and I'm seeing 'telltail' under the machines list in the admin console. When I try to verify the installation, the site 'https://telltail.tailDDDD.ts.net' is not opening.
I was wondering if this is because under the machines list in the admin console, I see that the tailscale version of telltail is 1.38.1-dev20230316 while my windows machine and other devices are on 1.48.1.
Do let me know the debuggingsteps.
Thank you

Heya! I'll take a look this weekend. Version mismatch should not cause any issue.

Yes you're right, it is not working. Upgrading Tailscale's version to 1.48.1 doesn't resolve the issue either.
I'm not using this project anymore and I'm also quite occupied with other things so unfortunately I can't help you with this either. PRs are welcome though, if you or anyone could fix this I'd happily accept the changes.
In the meantime, I'll suggest you to subscribe and upvote to https://github.com/tailscale/tailscale/issues/4996 to have this feature implemented natively.

Heya, it is working again. You can uninstall any leftover Telltail program using this way and setup Telltail again by following this guide.

Closing the ticket due to staleness.


(maint) Remove references to bash in PowerShell Task

This commit removes errant references to bash in PowerShell Task.

Thanks, glennsarti!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-24-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1060

Questions ?
Please refer to the Backport tool documentation


Documentation lacking how to parse Location with Builder

In the docs, I couldn't find the Location type alias.
Furthermore, the docs say that the Builder can help with parsing the Location, but not a single function has Location in its signature.
Although it only took a few minutes to find such functions in the example, in my opinion the docs should define the Location type alias and be explicit about its intended use with the Builder, for people like me who never used routing before stumbling upon this library.

Thanks, the documentation should indeed be better on these points -- I'll work on it.


why should generate the mask again?

when the first click, we can get a mask with green color, but when check the details of code, i found it generate a mask again, what's the reason?
edit_lora.py line775
            full_segmask, detected_map = self.get_sam_control(
                resize_image(input_image, detect_resolution)
            )

because it should generate all masks and annotate each respectively then combined with white-black mask as input to controlnet.


Uncaught rawls errors when attempting workspace clone

Sean reported at 9:48:43 on Nov 29 2018 that he was unable to clone, and the application hung. It appears rawls returned 409 (he apparently tried to clone twice to the same name, generating conflict) and we did not handle the error. Possibly the error originated in apache and was HTML instead of JSON, causing us to misshandle it.

When we get 409, we should catch this and tell the user:
"The workspace [name of clone] already exists. Please chose another name"
Users are also getting 404 when attempting to clone a workspace. The reason appears to be that they are not on the authorization domain, but are on the workspace ACL. So they see the workspace in their list even though they don't really have access (see #933), and attempt to clone it from the three-dot menu on the card. We should catch this and tell the user:
"You do not appear to have access to [name of original workspace]. It is possible you are not a member of the workspace Authorization Domain. Please contact the workspace owner regarding access to this workspace."
Authorization Domain should be a link to the documentation around AD's.
The route causes of these errors will be addressed elsewhere. For now, we want to appropriately message the error to users and tell them what to do.

FYI - I'm seeing this same issue when trying to create a new workspace with the same name/namespace.


Can not run Android Project because duplicate entry gson.

The log as follows:
Error:Execution failed for task ':transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/gson/Gson$1.class

Please refer the following solution
http://stackoverflow.com/questions/40240414/how-to-solve-java-util-zip-zipexception-duplicate-entry-com-google-gson-annotat

@amitshekhariitbhu Thanks a lot.


new API-process to display dataset_info to users

While supporting the wis2box-users I have noted that many users get confused by the information displayed in the wis2box-ui.
The wis2box-ui relies on bufr2geojson and an association between stations and topics, driven by the 'station_info'-api-process.
If any of these processes fail or are misconfigured, the user will be see errors, or the data displayed will not correspond to the data that is published on WIS2.
In order to improve the information displayed to users I propose to introduce a new API-process "dataset_info" that could be used by the wis2box-ui (and the webapp) to provide the users with additional information

as per the discussion with @efucile and @tomkralidis the wis2box-ui should not show internal issues. I will limit the scope of the dataset_info-process to display information about WIS2-notifications published, allowing the users to distinguish between issues with bufr2geojson/station_info and data-transmission.

I've created the new process 'dataset-info' and made it available for testing on the test-server.

2024-08-14:

make response more neutral/generic (@tomkralidis to provide feedback)


[Importer] Fixing importer for Parquet, ORC, and Avro formats

What changes were proposed in this pull request?

Fix external table creation with Parquet, Orc format
Fix external and managed table creation with Avro format

How was this patch tested?

Manually
Unit test

Please review the first commit ([1c3c83d570b5a1773d47f24406a520c994c8ed75]) to assess the main feature of the PR. The second commit contains lint fixes, which may distract from the main review focus.


Jruby + rspecs broken

using dalli at master, rspec fails with:
ERROR: Can't find header dir for ruby. Exiting...

seeing this issue on jruby 1.7.13


Emacs Themes are messed up in terminal

What did you expect to happen?
When I set my theme when running emacs in a terminal, I see different and unexpected behavior compared to when running emacs GUI. The most notable is the dark-solarized theme which becomes blue when I run in my terminal.
This is how dark solarized look like inside my terminal:

What actually happened?
When setting theme to dark solarized, it became blue.
Describe your attempts to resolve the issue
No response
Steps to reproduce

run emacs in shell
set theme to be dark-solarized by SPC m t.
observe that emacs is blue

Package commit
b66aaf9e9f69ea724fa2038f7c532aa148abeb75
System Information
I see similar behavior in Nix OS 21.05 and Mac OS 11.

Terminals are constrained to 256 colors, so we have a very limited color palette to work with. What you are seeing is the expected result.
The only way to get better is to do one of the following:

Adopt a terminal that supports 24-bit color (e.g. alacritty, st, termite, etc) and activate 24-bit color support for your teminal+Emacs.
Customize your terminal (E.g. via Xresources) so that all those 255 colors are approximated to solarized color palette (very cumbersome, might be easier with https://github.com/martenlienen/xresources-theme).
Or use another theme that happens to look better in a 256 color terminal.

As this is not an actionable bug, I will close this, but feel free to follow up here.

emacs supports 24 bit truecolor mode, you just have to make sure you have a terminfo for it, such as xterm-direct, tmux-direct, or (in my case) xterm-24bits (goes in ~/.terminfo/x) (due to some emulators not supporting the new tc syntax, just the old kind; xterm-direct is the new syntax). Set your $TERM to the appropriate one, and it should start working for you.


Please add GS 3.18 support

It seems to work just by adding 3.18 to the metadata.json.

+1

fixed

Thank you ! :)


Add Boost_LIBRARIES to pointmatcher_LIBRARIES

This follows #437 . I forgot to add the Boost_LIBRARIES to the lists of pointmatcher_LIBRARIES, so when linking with libpointmatcher, they are still misisng.

Can one of the admins verify this patch?

ok to test


Prevent Auto selection of day when swiping through months

I am segueing back to the ViewController that launched the CalendarView.  It chooses what day to segue based on what day is selected.  However, when I swipe to a new month it auto selects the first day of the month and segues to that day.
How do I prevent the 1st of the month from auto selecting when I swipe to a new month?

Take a look at shouldAutoSelectDayOnMonthChange() method of the CVCalendarViewDelegate delegate

For me it is the other side of the problem: if I switch this off I cannot make the calendar select some predefined date from the beginning, the selection remains empty after a toggleViewWithDate(someDate) call. Any ideas?

Just off the top of my head.. could you do something like
predefinedDate = CVDate?()
then in didSelectDayView check if its nil.  If it is nil then it will auto select today and first of month, if its not then go to the date stored (maybe this does not work if you cycle through months).  You could apply same conditional to shouldAutoSelectDayOnMonthChange if needed.
Not 100% this would work, I do not have Xcode in front of me right now.

@pavelhiq Did you get anywhere on this? I'm having the same problem, and @rmickeyd's suggestion didn't work.

I ended up with somewhat "acceptable" for the moment and do like this:

let shouldAutoSelectDayOnMonthChange() return true, automatic selection will happen
at start the selected view is empty (null) -- can live with that so if I return from the calendar view that means user has not selected anything, but Today is still highlighted in the calendar view though
dont use custom date selection at start since it seems to be only possible along with automatic selection and has some ugly graphic 'jumps'
toggleViewWithDate(someDate) does not work if you dont have some day explicitly selected, therefore Today functionality will not work at start -- so I added a workaround to capture such actions and check it if user leaves the calendar vc

that's it, though Id like this nice library to dictate less about use cases...

@pavelhiq Thanks for the answer. I'll see if I can do something about this when I have the time.

CVCalendarMonthContentViewController.swift
Comment these lines
if matchedMonths(current, presented)  {           //selectDayViewWithDay(current.day, inMonthView: presentedMonthView)                 }  else   {            //selectDayViewWithDay(CVDate(date: calendarView.manager                    //.monthDateRange(presentedMonthView.date).monthStartDate, calendar: calendar).day,                                          //inMonthView: presentedMonthView)  }


Terraform apply hangs on creating VMs

It must be my configuration but somehow the terraform apply no longer works, it just waits for the API to return a result and there are no errors.

Nothing shown in proxmox (not in the UI nor in syslog). The provider debug log is also not helpful:
[90mFri, 02 Dec 2022 12:23:34 +0100 INF github.com/Telmate/terraform-provider-proxmox/proxmox/util.go:155 > Enabling the capture of log-library logs as ithe _capturelog flag was detected
Fri, 02 Dec 2022 12:23:34 +0100 INF github.com/Telmate/terraform-provider-proxmox/proxmox/util.go:188 > Logging Started. Root Logger Set to level debug
Fri, 02 Dec 2022 12:58:55 +0100 INF github.com/Telmate/terraform-provider-proxmox/proxmox/util.go:155 > Enabling the capture of log-library logs as ithe _capturelog flag was detected
Fri, 02 Dec 2022 12:58:55 +0100 INF github.com/Telmate/terraform-provider-proxmox/proxmox/util.go:188 > Logging Started. Root Logger Set to level debug
Fri, 02 Dec 2022 12:59:06 +0100 INF github.com/Telmate/terraform-provider-proxmox/proxmox/util.go:155 > Enabling the capture of log-library logs as ithe _capturelog flag was detected
Fri, 02 Dec 2022 12:59:06 +0100 INF github.com/Telmate/terraform-provider-proxmox/proxmox/util.go:188 > Logging Started. Root Logger Set to level debug
2022/12/02 12:59:06 [DEBUG] setting computed for "unused_disk" from ComputedKeys
2022/12/02 12:59:06 [DEBUG] setting computed for "unused_disk" from ComputedKeys
2022/12/02 12:59:06 [DEBUG] setting computed for "unused_disk" from ComputedKeys
2022/12/02 12:59:06 [DEBUG] setting computed for "unused_disk" from ComputedKeys
2022/12/02 12:59:06 [DEBUG] setting computed for "unused_disk" from ComputedKeys
2022/12/02 12:59:06 [DEBUG] setting computed for "unused_disk" from ComputedKeys
Fri, 02 Dec 2022 12:59:06 +0100 DBG github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:774 > Invoking VM create with resource data:  '{"additional_wait":0,"agent":1,"args":"","automatic_reboot":true,"balloon":0,"bios":"seabios","boot":"c","bootdisk":"scsi0","bridge":"","ci_wait":0,"cicustom":"","cipassword":"","ciuser":"beheerder","clone":"debian-11-cloud","clone_wait":0,"cloudinit_cdrom_storage":"","cores":4,"cpu":"host", ***SNIP***
,"startup":"","storage":"","storage_type":"","tablet":true,"tags":"","target_node":"prox01","unused_disk":[],"usb":[],"vcpus":0,"vga":[],"vlan":-1,"vmid":2001}' loggerName=resource_vm_create vmid=
[90mFri, 02 Dec 2022 12:59:06 +0100 DBG github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:774 > Invoking VM create with resource data:  '{"additional_wait":0,"agent":1,"args":"","automatic_reboot":true,"balloon":0,"bios":"seabios","boot":"c","bootdisk":"scsi0" ***SNIP***,"storage":"","storage_type":"","tablet":true,"tags":"","target_node":"prox02","unused_disk":[],"usb":[],"vcpus":0,"vga":[],"vlan":-1,"vmid":2002}' loggerName=resource_vm_create vmid=
2022/12/02 12:59:06 [DEBUG][QemuVmCreate] checking for duplicate name: k8sm02
2022/12/02 12:59:06 [DEBUG][QemuVmCreate] checking for duplicate name: k8sm01
Fri, 02 Dec 2022 12:59:06 +0100 DBG github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:774 > Invoking VM create with resource data:  '{"additional_wait":0,"agent":1,"args":"","automatic_reboot":true,"balloon":0,"bios":"seabios","boot":"c","bootdisk":"scsi0",
***SNIP***,"startup":"","storage":"","storage_type":"","tablet":true,"tags":"","target_node":"prox03","unused_disk":[],"usb":[],"vcpus":0,"vga":[],"vlan":-1,"vmid":2013}' loggerName=resource_vm_create vmid=
2022/12/02 12:59:06 [DEBUG][QemuVmCreate] checking for duplicate name: k8sw03
Fri, 02 Dec 2022 12:59:06 +0100 DBG github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:774 > Invoking VM create with resource data:  '{"additional_wait":0,"agent":1,"args":"","automatic_reboot":true,"balloon":0,"bios":"seabios","boot":"c",***SNIP***
"tags":"","target_node":"prox02","unused_disk":[],"usb":[],"vcpus":0,"vga":[],"vlan":-1,"vmid":2012}' loggerName=resource_vm_create vmid=
Fri, 02 Dec 2022 12:59:06 +0100 DBG github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:774 > Invoking VM create with resource data:  '{"additional_wait":0,"agent":1,"args":"","automatic_reboot":true,"balloon":0,"bios":"seabios","boot":"c","bootdisk": ***SNIP***
2022/12/02 12:59:06 [DEBUG][QemuVmCreate] checking for duplicate name: k8sw02
Fri, 02 Dec 2022 12:59:06 +0100 DBG github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:774 > Invoking VM create with resource data:  '{"additional_wait":0,"agent":1,"args":"","automatic_reboot":true,"balloon":0,"bios":"seabios","boot":"c","bootdisk":"scsi0", ***SNIP***
"target_node":"prox01","unused_disk":[],"usb":[],"vcpus":0,"vga":[],"vlan":-1,"vmid":2011}' loggerName=resource_vm_create vmid=

Graceful shutdown is also hanging:
proxmox_vm_qemu.k8sworker[0]: Still creating... [12m50s elapsed]
^CStopping operation...

Interrupt received.
Please wait for Terraform to exit or data loss may occur.

How can I troubleshoot this?

@crazyelectron-io I had the same issue. It ended up being a permissions problem with the my proxmox user account and API token permissions I was using in my terraform config.
This might not be the "best" fix, but here is what I did to resolve:

Log in to Proxmox UI.
Click on "Datacenter > Permissions > API Tokens"
Select the user, click "Edit".
UNCHECK PRIVILEGE SEPARATION, then hit OK.
Try your terraform apply again.

This fixed the problem for me.


lgpma question

Hi!
First of all, thanks for this wonderful open-source project, also congratulations for all the achievements!

The release model only contains structure-level result. You may use the text recognition module for the complete result.

I can use the bboxes to OCR it into text, but how to match it with the table structure HTML?
Do you have any instructions on how to use some text recognition modules like RF-Learning to extract the text and embed it into the HTML table structure?

The returned result of current demo contains results['bboxes'] and results['html']. You may crop the small images from original images accoding to the 'bboxes' results, and use the text recognition module by calling the apis of 'inference_model' and get the recognition result.
As for how map the recognition result into the html, you may refer to the postprocessing module of LGPMA that how  bboxes are transferred into html. In L139 of post_lgpma.py, you can replace the 'text_tokens' (a list that has same length with bboxes) with recognition result.

Thank you so much for your detailed response. I think that solves all my questions for now.
Thanks again for this wonderful work!


Add Contributors Section

Requirements:

[x] Developers should be changed as Team in Navigation Tab #60
[x] In the Developers page add new section Contributors below the Developer Sections

@dyarawilliams can this be dynamic?
Instead of us listing every time new contributor here, how about if we can utilize Github API


Find an alternative to Zombie

we use zombie browser in acceptance-tests/main.test.ts
package hasn't been update since 2018 and its dependencies are using an outdated version of acorn
alternatives:
Puppeteer
CasperJS
NW.js (w/xvfb)
Nightwatch.js
WebdriverIO
QUnit
As the test is using MOCHA, perhaps we can also move to jest-puppeteer, seeing we already use Jest for other tests?

adressed in #1652


(PUP-3127) LDAP - introduce LDAP-Certificat Directory

Add ldapcrtdir settings to enable ssl based ldap connections on Solaris based Puppet-Master.
Without this implementation it is not possible to create ssl encrypted ldap connections on a Solaris system.
If the 'ldapcrtdir' parameter is not set or set to false (=> default), the connection is etablished as before.

PR Triage Notes:

Waiting on @aschuste for response to feedback.

Summary: we'd provided feedback to automatically set a default for ldapcrtdir when we can (on Solaris 10 use /var/ldap if it exists, on Solaris 11 query ldapclient for the directory).
Do you have any interest in trying those things?

Hi Mikael,
currently I am busy with other projects. I will not be able to start implementation before June. If the current project will be finished in time… But at this point of time, it like it will not be finished in June ☹
Would be great if you or anyone else could implement those changes. ☺
Regards,
Andreas
Von: Michael Smith<EMAIL_ADDRESS>Gesendet: Donnerstag, 15. Januar 2015 00:51
An: puppetlabs/puppet
Cc: Schuster, Andreas
Betreff: Re: [puppet] (PUP-3127) LDAP - introduce LDAP-Certificat Directory (#3045)
Summary: we'd provided feedback to automatically set a default for ldapcrtdir when we can (on Solaris 10 use /var/ldap if it exists, on Solaris 11 query ldapclient for the directory).
Do you have any interest in trying those things?
—
Reply to this email directly or view it on GitHubhttps://github.com/puppetlabs/puppet/pull/3045#issuecomment-70016196.

Triage Notes:

@MikaelSmith to fix up and merge as-is, after testing against an LDAP server.
Add a ticket to cover enhancements for selecting LDAP cert directory automatically.

This needs a rebase now, possibly due to the change to use rspec 3.

PR Triage notes: We appreciate your contribution but at this time we're preparing to release Puppet 4.0.0, and we need to hold this PR for merge until the release is completed.

Just noting here that I'm aware this has been languishing for some time, and I'm really hoping to make some headway on it this week.

I've updated the spec test to pass, rebased against the latest master, and reformatted the commit message in PR-3632.


Error: undefined is not a function (evaluating 'a.getYearsList(u.mainObj.from,u.mainObj.to)')

Anyone facing this issue on angular v1.5.3?
$scope.openDatePicker = function(event) {
ionicDatePicker.openDatePicker({
callback: function(val) {
$scope.contact.dob = val;
$scope.submit(true);
},
from: new Date().setFullYear(new Date().getFullYear() - 100),
to: new Date(),
templateType: 'popup'
});
};

The IonicDatepickerService is undefined. It's only happened in devices. It's worked fine in browser

This is working fine. Please take a look at the latest version v1.2.0


crash on startup

https://paste.dimdev.org/atunijatuc.mccrash

Something is causing one of my transformers to fail.  That said, I see you have liteloader installed, which is incompatible with apotheosis for a number of other reasons.  It might be that.


Attachment download with IE11 gives 404 error

seems to be an issue with IE11 cookie handling.
Analysis ongoing in Meteor-Files project.
See https://github.com/VeliovGroup/Meteor-Files/issues/327

Issue seems solved in Meteor-Files package.
We will merge in.


[BugFix] Modify the RedirectStatus of ShowRestoreStmt form FORWARD_NO_SYNC to …

…NO_FORWARD
What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #7009
Problem Summary(Required) ：

When querying the restore task on the follower, the forward policy used before is FORWARD_NO_SYNC, which causes the restore task to be completed on the master, but the status of the table on the follower is still restoring, so If you query the data on the follower, you will get an error.
Now we have two fixes, NO_FORWARD and FORWARD_WITH_SYNC, but since the two operations, fe write metadata memory and  write  log, are not atomic, so the moment when the request get restore has been finished from master, the finished log may still not generated yet, so the follower actually waits for a log id lower than the finish one, so in this case the follower thinks that the restore has finished, but the state of these tables is still restoring, and does not change the state to normal by replaying the log，so we have to choose NO_FORWARD

[FE PR Coverage check]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/ShowRestoreStmt.java
1
1
100.00%

run starrocks_fe_unittest

[FE PR Coverage check]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/ShowRestoreStmt.java
1
1
100.00%

run starrocks_fe_unittest


Implement Portal Farms in Vue3

On hold till the design is completed.

Blocked on https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1090

Added the missing methods from tfgridmodule in chain & client.

Added getUserNodes & created a store for grid client in order to avoid creating many instances in Playground.

Still working on the details in both data tables.

Removed getUserNodes and worked on farm details table.

Worked on add farm IP and IP validation.

Fixed Add/edit stellar. Added node details.

Added nodes tables actions.

Fixed uptime & working on implementing another date-picker in node stats section as the current one is incompatible with the Vuetify version we're using.

Updated Vuetify version and fixed issues in farms & nodes tables. Still working on node stats.

Reverted Vuetify update changes as they were unnecessary. Finished minting details. Ths issue is almost finished, minus some styling details and validation bugs.

Worked on some styling and validation issues.

PR is ready for review.

Edit pubic config validation, Added loading to all buttons. Update tables once data is changed. Edit addConfig in chain & grid.

Still working on some styling issues and PR comments.

Changed farm table to be server-side, fixed search farm by to filter by ID & name. disable sorting in both tables. Changed farm details view to be in card details as other pages.

I'm still working on resolving the comments. On hold till Grid Proxy is updated.

Still working on comments.

Edited IP validations and fixed props type, updated stellar once edited.

Added a debounce function to update the table once stellar is edited. Toast colors should be changed in a different issue as it's been discussed with @ehab-hassan . PR is ready for review.

Added tooltips to add_ip dialogue inputs. Added a check before setting the uptime.

Worked on validation, styling, type checking & table updating issues. WIP: some bugs in public config pop up.

Still working on some issues in the public config.
Fixed some issues in add IP & add range & table update. Batched range IPs instead of creating extrinsic one by one, fixed gateway validation, fixed delete IP dialogue, refactored node.ts to use already made types from mintings, edited farms & nodes types to use from grid proxy. Edited grid client validation for set extra fee.

WIP:
Fixed some issues in public config pop-up but still working on input validation issues as some validations are being done even though inputs are empty.
Remaining Issues:

Public config optional inputs validation
Download minting receipts in farm details

Work completed:

fixed public config validation
added download farm minitng receipts

Verified,
Devnet, 28d6c07.
All the portal pages are implemented in the new Dashboard UI and are working fine; all the other bugs have been reported and are being fixed.


Title and numbers are cut off in the email

Send 30 DAYS TOTAL widget by email
Open the email and look attachment

Result: Title and numbers are cut off

@Boniara graph is cut off on the dashboard too http://prntscr.com/o19ks4
macbook pro 13''

We still need optimization of widgets legend.

Verified in ui: <IP_ADDRESS>0-SNAPSHOT server: <IP_ADDRESS>3-SNAPSHOT.


Setup Deploy previews

2 options to look at:

CodeSandbox GitHub App https://codesandbox.io/docs/ci
Vercel preview deploy https://vercel.com/features/deployment-previews

Depends on ShabadOS/actions#6


please add to community bundle :)

https://github.com/adafruit/CircuitPython_Community_Bundle
this way people will know it exists :D

Yup, once it’s ready I’ll add it. Just got to add more documentation and samples and it’ll be ready to add.

Done! https://github.com/adafruit/CircuitPython_Community_Bundle/pull/36