Shift+Enter won't close the terminal, but Crtl+` will

Seems like if the terminal is open, shift+Enter will be interpreted as entering a Null command instead of a global shortcut.... (The behavior is similar to when press Enter alone)

I've also had this problem, but only after using the terminal for a while.
Shift+Enter worked right after installing for a little bit, then stopped working at all.
Now when I do Shift+Enter, the button bar contatining exit, close, open config, and reload config seem to refresh, and that is all.

It seems that Shift+Enter is intercepted by atom and triggers the atom-workspace atom-text-editor:not([mini]) command, which inputs a newline rather than opening the terminal.
In addition, if the terminal is open and the input box is in focus the command does not work either. If the input box is not in focus, the command properly closes the terminal panel.
I suggest the Shift+Enter command be removed or altered since the Enter is most likely the source of these issues.


support MediaGoblin

https://mediagoblin.org/ . evidently it does ActivityPub? i think spec editor @cwebber is a maintainer, even if he hasn't done much recently...?

Yes the great irony is that I got into ActivityPub for MediaGoblin's sake and then ActivityPub kept me from working on MediaGoblin.
MediaGoblin will support AP in 2018 so if you have AP support, you'll have MediaGoblin support...!

Any update on progress with AP support in MediaGoblin?

Give it a shot, see if it works!

FWIW I'm on their mailing list (and had some mail exchange last year). Let me know if I shall relay something.

@ Ryuno-Ki yes please. As @CWebber said, if and when MediaGoblin supports AP, this issue is well on its way to being solved. Although from my layperson's understanding, smooth interoperation and UX isn't quite as simple as "implement AP" ;)

Not seeing any progress on ActivityPub in MediaGoblin. No meaningful development in over a year, and nothing on ActivityPub for much longer:

https://mediagoblin.org/news/still-here-in-2020.html
https://wiki.mediagoblin.org/index.php?search=activitypub&title=Special%3ASearch&go=Go
https://git.savannah.gnu.org/cgit/mediagoblin.git/log/?qt=grep&q=activitypub
https://git.savannah.gnu.org/cgit/mediagoblin.git/log/

Tentatively closing. Feel free to reopen!


MINOR(OpenAPI): remove Credentials reference altogether

Summary of Changes
Context: We have a type issue in the VS Code extension client code generation where the allOf pointing to Credentials (of type object) is chosen instead of the oneOf: BasicCredentials | ApiKeyAndSecret.
This PR aims to tighten up the sections for credentials under the KafkaClusterConfig and SchemaRegistryConfig so we don't mix allOf (with a basic object type) and oneOf.
Current (main):
https://github.com/confluentinc/ide-sidecar/blob/9203449cce9f38a236f2c473d314b01ed6017802/src/generated/resources/openapi.yaml#L813-L822
New:
https://github.com/confluentinc/ide-sidecar/blob/b8c02495ef797fcfd22cb1de5fdf2cb5e5e3c90a/src/generated/resources/openapi.yaml#L811-L817
Pull request checklist
Please check if your PR fulfills the following (if applicable):

Tests:

[ ] Added new
[ ] Updated existing
[ ] Deleted existing

[ ] Have you validated this change locally against a running instance of the Quarkus dev server?make quarkus-dev

[ ] Have you validated this change against a locally running native executable?make mvn-package-native && ./target/ide-sidecar-*-runner

All other things being equal, I personally like this approach better than #226 because it much more easily allows us to control/limit which Credentials subtypes are allowed in each of the places it's used. Currently we do happen to allow all Credentials subtypes to be used in both SchemaRegistryConfig but do want it in KafkaClusterConfig, but maybe that is not the case in the future, either because we add a new credential type that works in one but not the other, or we add a new system (e.g., Flink) that supports a different set of credentials.


Update receiving-completion-indications-2.md

Match the parameter name as spelt, use fixed-width font for the literal name.

@compnerd : Thanks for your contribution! The author(s) have been notified to review your proposed change.


A video tutorial for beginners on how to integrate refine-pocketbase

Too confused by the readme.

Unfortunately, that's out of scope at the moment. However, if you like, you can create a video tutorial yourself to help others with that issue. I will be happy to help clear up any confusion if you could specify at what point you encountered a problem.


usb: bluetooth: Resume ACL transfer after suspend

This pr fixes the problem that Zephyr hci_usb sample could not survive
Suspend->Resume cycle from Host.
When device receives USB Suspend event, ACL transfer is canceled. Previously
ACL transfer was not resumed after host cleared the Suspend state and that
caused ACL data to be dropped in USB subsystem and not delivered to HCI driver.
Fix is to call acl_read_cb to resume USB transfer for ACL data.

I just realized that this solution itself is not perfect. We still leak buffer from acl_tx_pool because when transfer is canceled due to suspend, the buffer is not unref'd. Because of that we will run out of ACL TX buffers when doing suspend-resume cycle many times.
One option is to have global variable keeping track of the buffer for current transfer and unref it when USB_DC_SUSPEND event received but this sounds little bit hacky to me. @jfischer-phytec-iot , @emob-nordic , @carlescufi Do you have opinions?

Hello. I think we used to have similar issues with CDC ACM class. Could You please how it was resolved there

Just realized its not about the suspend->resume handling but about the buffer, sorry.

@emob-nordic Thanks for your comment! Actually I was wrong, this patch works fine with Zephyr master. I'm working on 2.2.1 and there I need to make sure buffer gets unref'd in case USB transfer is canceled.

@mkarhumaa You shall not start the OUT transfer on each Resume event. Check out this PR #27025

@mkarhumaa You shall not start the OUT transfer on each Resume event. Check out this PR #27025

@emob-nordic Do you mean that we need to be prepared for the case that Resume event comes multiple times without Suspend?

@emob-nordic Do you mean that we need to be prepared for the case that Resume event comes multiple times without Suspend?

Yes, but not only. There should be no more than 1 transfer reserved for the endpoint if the device is ready to exchange data. That means that the device is Configured or entering back Configured state after Resumed from Suspend. You cannot call acl_read_cb without any condition here (#27025 cdc_acm_read_cb == acl_read_cb).
In addition the device should not reserve OUT transfer when Resumed from state != Configured.

@mkarhumaa Can you open a bug report for this, please?

@jfischer-phytec-iot @emob-nordic As this seems to require more than simple one line fix, I've opened issue here: https://github.com/zephyrproject-rtos/zephyr/issues/28948

https://github.com/zephyrproject-rtos/zephyr/pull/28960 seems to fix the problem. Closing this pr.


seems like the proper variable name here is {{site.data.kong_latest}}

or, can change the plugin to output to {{site.latest}}, but that felt wrong.

@rainum @thibaultCha


Rest type parameter in generics for use with intersection types

A common pattern in JavaScript libraries is to copy properties from a variable number of arguments onto the first argument. This is also the behavior of Object.assign. A simple implementation of this pattern in TypeScript might look like this:
function assign(destination: any, ...sources: any[]): any {
    sources.forEach(function (source) {
        for (let key in source) {
            if (source.hasOwnProperty(key)) {
                destination[key] = source[key];
            }
        }
    });
    return destination;
}

This works fine, however with intersection types in 1.6 this could be better:
function assign<T, U>(destination: T, ...sources: U[]): T & U {
    ...
}

This works for one argument, but more than one fail because U isn't actually the type needed for the intersection. What is needed (as suggested here) is a rest type parameter. It might look something similar to the following:
function assign<T, ...U>(destination: T, ...sources: U[]): T & U {

U would be the intersection of all rest parameters passed to assign() and the return value would expand to something like T & (U0 & ... UN). With the push for composable types and ES6 standardizing the above behavior (in Object.assign) a syntax for generics like this would be very useful.

This has definitely come up before at least in conversation/comments (particularly in the context of intersection types + mixins) but I can't find an issue for it at the moment.

I think it could make sense to declare a family of type parameters <T, ...U>. For type argument inference, this could mean that U is actually the list of all the inference candidates, rather than their common type.
The thing is, we would have to define a set of spread operators that apply to type parameter families. Intersection and union are certainly prime candidates. Tuples are perhaps another, and maybe even parameter lists.
I think we could say that it is illegal to spread a type parameter family in its parameter list. It can only be spread in the return type.

Oh wait, there is a problem. Of all the spread operators I have suggested, only union is commutative. That is bad for all the others, because if we spread inference candidates in a non-commutative way, we will surface the order of the inference candidates. I think we do not want to do that.

We could say that a rest type parameter can only be used in a rest parameter, and spread in the return type. And then it would be a family of types formed in the following way:

The family would have one element for each argument matching the rest parameter.
Within the rest parameter, if the type parameter is referenced multiple times, then you must take the common supertype of all the inferences made from within a single argument. That way, the only order we surface in the family is the order of the arguments the caller passed, which is not controversial.

As I mentioned on #3622, there are actually two things needed for this to work: indicating that a generic type for a rest parameter is a union type (rather than a common sub-type of all of the rest parameters) and a way to intersect those with another type so they end up being an intersection of all (T & U0 & U1 rather than T & (U0 | U1)).
For the first (indicating a union instead of a common subtype), I'm not sure if it would be better in the generic type parameters or in the function parameters:
function assign<T, ...U>(target: T, ...sources: U[]): /* return type TBD */ {

function assign<T, U>(target: T, ...sources: ...U): /* return type TBD */ {

For the second (converting a union to an intersection), it might be nice to use &&:
function assign<T, ...U>(target: T, ...sources: U[]): T && U {

I think we want to declare up front whether U is a single type parameter or a family of type parameters. Allowing U in some places and ...U in others (in the parameter list and return type) will make it confusing. So I would prefer to declare ...U in the type parameter list, and spread it in the return type.
I do not think there is anything magical about unions. I think it makes more sense to just think of U as a family of type parameters (with no particular operation in mind). The operation can be determined in the return type when you spread U.
I think there are two possible ways to handle spreading. One is to say that T & ...U means that the elements of U are intersected. However, this does not allow you to write something equivalent to T & (U0 | U1) or T & [U0, U1]. That may be fine. If we want more expressiveness though, we may want to make the spread specify which aggregator to use, something like T & ...&U or T & ...|U. I actually prefer the first option, where the aggregation mechanism is determined by the parent operator.
For starters, there are three places we could allow spreading:

Intersection: T & ...U
Union: T | ...U
Tuples: [T, ...U]

Oh, there's a problem. Because of the ES6 spread operator, the compiler might not know how many arguments were passed. Suppose we treat each spread argument as one element of the family. That is consistent, but we might get the final arity of the family wrong. To that end, we cannot spread the family in any arity-sensitive way. So we could only spread in intersections and unions, but not tuples. I think this is fine, and @bryanforbes you are asking for intersection, so it would solve your issue.

Since tuples extend a union of their constituent types for indices higher than the explicitly specificed member types, won't they still work?

But tuples have an arity, and I'm saying that the arity would have to depend on how many arguments were passed. But the number of arguments cannot be known statically when it is a spread argument.

function manyInTupleOut<...T>(...params: Array<...T>): [...T];

var input: [number, string, Document];
var output = manyInTupleOut(...input);

You're saying that ...input expands to an unknown number of elements, so the specialization of manyInTupleOut is unknown.
I'm saying that input's type is known to be [number, string, Document, number|string|Document, number|string|Document, ...] even if the actual number of elements is not known. So the specialization of manyInTupleOut can be <number, string, Document, number|string|Document, number|string|Document, ...>. Thus output will be of type [number, string, Document, number|string|Document, number|string|Document, ...] which is indistinguishable from the intended [number, string, Document]
It doesn't seem necessary to know the number of elements in input.

Ah I see what you're saying. But the arity does matter, because you are not allowed to assign a shorter tuple to a longer tuple type.
var a: [number, string];
var b: [number, string, number | string];

a = b; // Allowed
b = a; // Error

Oh, didn't know that.

Just a note on another use-case, but I was thinking about how/if this could be used to describe partial application? Right now I write out each combination manually which increases exponentially in size.
function partial <T, ...U> (fn: (...U) => T, ...args: U[]): (/* What goes here? */) => T

@blakeembrey How would function decide how many arguments to "use up" in the partial application? Why would it even need to take all of them, if it is only going to apply the function to some of the arguments?

@JsonFreeman Honestly, not sure, I haven't thought on it for long enough - just saw it was similar - so I posted it hoping someone smarter than I could toil with it for a moment. The only syntax I can think of would be two spread arguments - though illegal.
function partial <T, ...U, ...V> (fn: (...args: U[], ...illegal: V[]) => T, ...args: U[]): (...args: V[]) => T

Oh, I think I misunderstood. I see what you are trying to do now. You're right, I don't think the proposal here could achieve it because it requires selecting only a portion of the type parameters in the family. I am not sure whether it is better to propose an alternative higher order generics scheme that solves this and the original issue together, or if they are better explored separately.

@bryanforbes Think this could work:
class a {}
class b {}
class c {}
function assign<T, U>(target: T, ...sources: U[]): T & ...U {

}
let thing = assign(a, [b, c]); // typed as 'a & b & c'

Alternative
function mixin<T>(...things): ...T {
    let compose = things.shift();
    for(let object of things) {
        Object.getOwnPropertyNames(object.prototype).forEach(name => {
           compose.prototype[name] = object.prototype[name];
        })
    });
    return compose;
}
let mixin = mixin(A, B, C); // get typed as 'A & B & C' infers the types

let mixinExplicit = mixin<C & B & A>(A, B, C); // explicit resulting type - typed as 'C & B & A'

On instantiation, a ...T type would:

In a generic function, intersect the types of the '...rest' parameter.
In a generic class, intersect the types of the '...rest' parameter in the constructor() function.

@JsonFreeman would know more the do-ability of it.

I don't think intersection is special. I think there are a number of ways you might want to combine multiple types. So I think it does not make sense to assume that ...T would be intersection. Also, in that case, what would it mean if you just referenced T instead of ...T?

If you just reference T:
function mixin<T>(...things: T[]): T {
    let compose = things.shift();
    return compose;
}
class mixA { }
class mixB { }
class mixC { }
let m = mixin(mixA, mixB, mixC);

Current behavior is typeof mixA which I don't really understand. Would have imagined it to be
type inferred = typeof mixA | typeof mixB | typeof mixC;
function mixin<inferred>(...things: inferred[]): inferred

Not really familiar with other use cases, I guess a more general alternative could be something along :
A ... type would:

In a function, require same number of the types of the '...rest' parameter.
function f(...params: T[]): (...args: ...) {
}

A ...& type would:

In a function, intersect the types of the '...rest' parameter.

A ...| type would:

In a function, union the types of the '...rest' parameter.

Examples above would be:
function mixin(...things): ...& {
    let compose = things.shift();
    for(let object of things) {
        Object.getOwnPropertyNames(object.prototype).forEach(name => {
           compose.prototype[name] = object.prototype[name];
        })
    });
    return compose;
}
class a {}
class b {}
class c {}
function assign<T, U>(target: T, ...sources: U[]): T & ...& {
}
let thing = assign(a, [b, c]); // typed as 'a & b & c'

Thing is you lose the ability to be explicit about the order of types you want which IMHO should matter for intersection types.  This starts to look pretty complex.

@jbondc

Current behavior is typeof mixA which I don't really understand.

It's because mixA, mixB and mixC are all the same type {}, so typeof mixA is a valid specialization for T. Try adding unique members to them.

Ah right on, looks like it tries to reduce to the common supertype (a type common to all other types).

My intuition here would have been mixA | mixB | mixC

Related to the issue on variadic generics: #1773

closing in favor of #1773


support tcp over tls

What would you like to be added:
support tcp over tls
Why is this needed:
Public network communication, encrypted through ssl channel

@hqhanks if u wanna add this feature, pls submit ur pr to github.com/alexstocks/getty firstly. After ur pr is accepted, then u can copy it to this branch.


AbstractMixer, undefined offset: 2

In my library I am calling the Generator as such.
$this->randomGenerator->generateString(64);

In some environments, this call complains about E_NOTICE: Undefined offset: 2 which is generated on this line. As said, I cannot replicate this in every environment. All environments are on PHP 5.6 though (not same minor version). What could be the cause of this issue?
The random library is constructed by Aura.DI as follows.
use RandomLib\Factory;

$container->set('random.generator', function () use ($container) {
     $factory = $container->newInstance(Factory::class);
     return $factory->getMediumStrengthGenerator();
});

@ircmaxell Turns out I had a lost mbstring.func_overload = 7; in my php.ini. Still wondering what I should do with unicode in PHP. I am completely lost on this subject.


Harvest from localhost fails

I have instances of GeoPortal Harvester and Geonetwork both running on Tomcat on my local machine.  I am trying to harvest the Geonetwork data with Harvester.  I created a CSW broker, pointed it to my geonetwork instance, set up a task... but it will not run.  Checking the log, I get this error:
30-Jul-2018 15:44:35.656 SEVERE [HARVESTING] com.esri.geoportal.harvester.engine.defaults.DefaultProcessor$DefaultProcess.lambda$new$1 Error harvesting of PROCESSOR: DEFAULT[], SOURCE: CSW[csw-host-url=http://localhost:8081/geonetwork/srv/eng/csw, cred-username=admin, cred-password=*****, csw-profile-id=urn:ogc:CSW:2.0.2:HTTP:APISO:GeoNetwork], DESTINATIONS: [FOLDER[folder-root-folder=C:\Workspace\G.Young\HubProject\GeoPortal\Harvested, folder-cleanup=false]], INCREMENTAL: false, IGNOREROBOTSTXT: false
com.esri.geoportal.harvester.api.ex.DataInputException: Error reading data.
at com.esri.geoportal.harvester.csw.CswBroker$CswIterator.hasNext(CswBroker.java:165)
at com.esri.geoportal.harvester.engine.defaults.DefaultProcessor$DefaultProcess.lambda$new$1(DefaultProcessor.java:150)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.client.HttpResponseException: Unauthorized
at com.esri.geoportal.commons.csw.client.impl.Client.findRecords(Client.java:127)
at com.esri.geoportal.harvester.csw.CswBroker$CswIterator.hasNext(CswBroker.java:141)
... 2 more
I am able to successfully harvest a CSW from an external node on the web.  Does this error have something to do with working with localhost?

Figured this out myself just after posting.  The issue had to do with a setting in Geonetwork.  If anyone else experiences this issue, the problem for me was that I was running Geonetwork off of port 8081, however the actual configuration file still said 8080.  Changing the port in the config fixed the problem.

hello, may I know the logging file location of the havester as I tried to havester a CSW, the UI show "Error reading data.".
However, I cannot find the detail log of the tasks.

check your logging.properties found in ...\harvester\WEB-INF\classes. This includes a line similar to the below:
org.apache.juli.FileHandler.directory = C:/data/logs

this sets the location of the log output
you will also see line or end of line like .level = ERROR. This sets the level of detail of logging. Since we're using Juli for logging, see the Tomcat docs for valid levels: https://docs.progress.com/bundle/pas-for-openedge-administration-117/page/Tomcat-logging.html


Text max lines option

Add support for max_lines text style option.
https://github.com/tangrams/tangram-es/issues/1543

Looks good - however there shouldn't be a space between the last character
and the ellipsis - it looks like there may be one from the screenshot?
On Thu, Jul 6, 2017 at 11:37 AM, Hannes Janetzek<EMAIL_ADDRESS>wrote:

Add support for max_lines text style option.
#1543 https://github.com/tangrams/tangram-es/issues/1543
[image: shot-2017-07-06_17-34-47]
https://user-images.githubusercontent.com/1747/27919376-cf3aa034-6271-11e7-922c-c7e5d78ceda9.jpg
You can view, comment on, or merge this pull request online at:
https://github.com/tangrams/tangram-es/pull/1563
Commit Summary

Update harfbuzz
Support max-line-chars line breaking with RTL text
Support text:max_lines option

File Changes

M core/deps/alfons
https://github.com/tangrams/tangram-es/pull/1563/files#diff-0 (2)
M core/deps/harfbuzz-icu-freetype
https://github.com/tangrams/tangram-es/pull/1563/files#diff-1 (2)
M core/src/scene/styleParam.cpp
https://github.com/tangrams/tangram-es/pull/1563/files#diff-2 (8)
M core/src/scene/styleParam.h
https://github.com/tangrams/tangram-es/pull/1563/files#diff-3 (53)
M core/src/style/textStyle.h
https://github.com/tangrams/tangram-es/pull/1563/files#diff-4 (1)
M core/src/style/textStyleBuilder.cpp
https://github.com/tangrams/tangram-es/pull/1563/files#diff-5 (2)
M core/src/text/fontContext.cpp
https://github.com/tangrams/tangram-es/pull/1563/files#diff-6 (30)
M core/src/text/textUtil.cpp
https://github.com/tangrams/tangram-es/pull/1563/files#diff-7 (44)
M core/src/text/textUtil.h
https://github.com/tangrams/tangram-es/pull/1563/files#diff-8 (3)
M tests/unit/lineWrapTests.cpp
https://github.com/tangrams/tangram-es/pull/1563/files#diff-9 (143)

Patch Links:

https://github.com/tangrams/tangram-es/pull/1563.patch
https://github.com/tangrams/tangram-es/pull/1563.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tangrams/tangram-es/pull/1563, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABBXeDRQri_o67I_FhqeHJOmXg-HjpKks5sLP9KgaJpZM4OP0Io
.

Yes I can remove the 'allow-line-break' character when it's a space.

ellipsis with hindi:

ellipsis with arabic/urdu:

Looks good to go. Merging.


Refactored getCurrentUser.js and setCookie

Made the export function easier  to read

Matter of fact I just reviewed and pushed the changes @Neztore requested to @nikos467 branch and waiting his approval to merge

No activity and fixed elsewhere


Error 500 on interesting trends pages

Error 500 occurs on this page http://www.questiontime.xyz/interesting_trends/Sydney Olympic Park?date=2015-05-05

This got resolved awhile back, I'm gonna close it.


Add Builder API.

Initial sketch of a possible Builder/Factory-style API, as suggested in #208. The code here is just for discussion and has not been tested. But I think the Builder class is fairly complete, and we can offload most of the error checking to the resolve() stage. I'm luke-warm on the DemeProxy helper class. Thoughts?

LGTM. Some high-level thoughts:

We should provide an API for setting defaults, mirroring the spec
It might be worth looking at refactoring the resolution logic out of the Graph class, and into here (or some intermediate layer). Not necessary at all for a first pass, though.
The DemeProxy seems fine to me; we can also add a Builder.add_epoch(deme_id, ...). Both will be useful in different contexts, I think.

There's still more test coverage needed, and few cleanups are warranted after all the churn, but this should give a pretty good indication of where things are headed.
Actually, it seems that separating the Builder from the Graph isn't wholly necessary. The nicest restructuring here is enabled by switching from add_deme(..., epochs: List[demes.Epoch] = ...) to add_deme(..., epochs: List[dict] = ...). This change alone fixes most the awkwardness pointed out in #201.

Hey @jeromekelleher, I think this is more or less done, so it would be great if you could take another look. There are a bunch of changes that went in here because it didn't make much sense to do a refactor, only to refactor again to conform with the spec. So after this PR, we should have parity with the reference implementation.


Are you trying to connect to a TLS-enabled daemon without TLS?

Hi all
When I run docker version command on terminal, I've got the error message:
Developers-MBP:~ user$ docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): darwin/amd64
FATA[0000] Get http:///var/run/docker.sock/v1.18/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

Thanks  for help

@kostonstyle
I'm assuming you are running this from your Mac terminal. If so you will need to first run
eval "$(docker-machine env dev)"

Then it should all work.
To make things easy, Kitematic has a Whale button that you can use without having to remember that (or script that).

Hope this helps! Closing the issue for now.

@mchiang0610 I pressed on Whale button to start the terminal and this error occurs.

@kostonstyle Sorry about that.  Do you mind going into virtualbox and removing the "dev" VM, and also restart Kitematic to automatically create it again?

@kostonstyle Do you have a script in your bash shell?

Another user had this issue:
Try: docker-machine regenerate-certs dev

Can confirm the same issue with recent build from Mac terminal, using the whale button found on the lower left hand corner of the Kitematic UI. In my case, "eval "$(docker-machine env dev)" did the trick!

Should be fixed with latest toolbox


Fix missing virtual in ScriptExtension

_has_property_default_value is a required virtual for ScriptExtension but it was not bound, and could
therefore not be implemented.  This was likely a typo/omission, since all analogous calls are bound.
Impact: this made it impossible to implement a ScriptExtension that runs without error.

Thanks!


Add an issue template

Summary:
Adds an issue template to help users write thoughtful, detailed issues
that help maintainers reproduce the problem.
I copied this template from Rails.

For open source projects it may also be helpful to offer a sample reproduction script. I am planning to add something like this to the factory_bot issue template:
require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
  gem "factory_bot", "4.11.1"
end

require "factory_bot"
require "minitest/autorun"

class Post
  attr_accessor :body
end

FactoryBot.define do
  factory :post do
    body { "Post body" }
  end
end

class FactoryBotTest < Minitest::Test
  def test_factory_bot_stuff
    body_override = "Body override"

    post = FactoryBot.build(:post, body: body_override)

    assert_equal post.body, body_override
  end
end

This seems good to merge. I have been using it in factory_bot with some success: https://github.com/thoughtbot/factory_bot/pull/1308/files

Wow, it seems that I forgot about this PR until now. Thank you @mike-burns and @composerinteralia for the reviews. Merging.... 🐳


Substitution of variables with expressions

It would be nice to be able to substitute variables with arbitrary expressions.
My current workaround is to unparse, use regex replacement functionality and re-parse the expression.

This is similar to #39. Can you give an example how you would want that to work syntactically as library user?

Let's the following method is added to FlatEx
fn substituted<F>(&self, f: F) -> Self where F: FnMut(&str) -> Self {
    todo!()
}

let some_expr = FlatEx::from_str("x*3+y/z")?;

// some other place in code
let substitutions: HashSet = [("x", FlatEx::from_str("a+b")?), ("z", FlatEx::from_str("3.4")?)].into_iter().collect();

let new_expression = some_expr.substituted(|name| subtitutions.get(name));
assert_eq!("(a+b)*3+y/3.4", new_expression .unparse()?)

Are you missing to loop over the HashSet? Why does substituted have a callable as parameter instead of substituted(&self, name: &str, expr: Self) -> Self?

I added a docstring to clarify the behaviour. I wanted to choose the form that imposes the least in the user. You can use it with a correctly ordered list of substitutions or with an aribtrary map.
One key property is that the substitutions are done at the same time.
let expr = "x/y".parse()?;
let substituted = expr.substituted(|name| {
    match name {
        "x" => Some("y".parse().unwrap()),
        "y" => Some("x".parse().unwrap())
});
assert_eq!("y/x", substituted.unparse())

So in principle I want a rust equivalent to sympy's subs
Alternatively maybe something like:
fn subs<R: IntoIterator<Item=(&str, FlatEx)>>(&self, replacements: R)  -> Result<Self> {
    todo!()
}

Ah. Yeah. That looks interesting. I will think about how to implement this.

Like so?
https://github.com/bertiqwerty/exmex/blob/7933e1a394884b22d11ff08a85248495c2516a3c/src/expression/deep.rs#L1147


minor bug fix

Remove the print command used for debugging
Fixed the description sentence

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/xizhamsft/azure-cli-extensions.git@xizha-bugfix#subdirectory=src/$EXT&egg=$EXT"


[BUG] documentation small bugs

Reporting an Issue or Missing Feature
Hi, 👋.
I love the way the docs are readable and organized on your site 👍.
I created a small parser for them in order to create snippets json needed for a small and very simple VS Code extension I created. The script pointed the following issues:

Add-PnPFileToSiteTemplate - the description section is added twice. The first time is with PscalCase which probably should be all UPERCASE and the second section is emtpy - we should remove the second one and align the casing of the first one to be consistent with rest of the docs
Copy-PnPTeamsTeam - has wrong title, currently it is Copy-PnPList but should be Copy-PnPTeamsTeam

Also the following cmdlets have empty description section (It would be nice if at least one sentence would be added to explain what is possible with this command 🤔):

Add-PnPApp
Add-PnPAvailableSiteClassification
Add-PnPAzureADGroupMember
Add-PnPAzureADGroupOwner
Add-PnPContentTypesFromContentTypeHub
Add-PnPContentTypeToDocumentSet
Add-PnPContentTypeToList
Add-PnPDataRowsToSiteTemplate
Add-PnPDocumentSet
Add-PnPFieldFromXml
Add-PnPFieldToContentType
Add-PnPFolder
Add-PnPGroupMember
Add-PnPHtmlPublishingPageLayout
Add-PnPIndexedProperty
Add-PnPListDesign
Add-PnPListFoldersToSiteTemplate
Add-PnPListItem
Add-PnPListItemComment
Add-PnPMasterPage
Add-PnPMicrosoft365GroupMember
Add-PnPMicrosoft365GroupOwner
Add-PnPOrgNewsSite
Add-PnPPageSection
Add-PnPPublishingImageRendition
Add-PnPPublishingPage
Add-PnPPublishingPageLayout
Add-PnPSiteCollectionAppCatalog
Add-PnPSiteDesign
Add-PnPSiteDesignTask
Add-PnPSiteScript
Add-PnPSiteScriptPackage
Add-PnPSiteTemplate
Add-PnPTeamsChannel
Add-PnPTeamsChannelUser
Add-PnPTeamsTab
Add-PnPTenantSequence
Add-PnPTenantSequenceSite
Add-PnPTenantSequenceSubSite
Add-PnPView
Add-PnPVivaConnectionsDashboardACE
Add-PnPWebhookSubscription
Add-PnPWebPartToWebPartPage
Add-PnPWebPartToWikiPage
Add-PnPWikiPage
Clear-PnPAzureADGroupMember
Clear-PnPAzureADGroupOwner
Clear-PnPListItemAsRecord
Clear-PnPMicrosoft365GroupMember
Clear-PnPMicrosoft365GroupOwner
Clear-PnPRecycleBinItem
Clear-PnPTenantAppCatalogUrl
Convert-PnPFolderToSiteTemplate
Convert-PnPSiteTemplate
Disable-PnPSiteClassification
Enable-PnPFeature
Enable-PnPSiteClassification
Export-PnPListToSiteTemplate
Export-PnPPage
Export-PnPTaxonomy
Export-PnPTermGroupToXml
Find-PnPFile
Get-PnPAlert
Get-PnPApp
Get-PnPAuditing
Get-PnPAvailableLanguage
Get-PnPAzureADGroup
Get-PnPAzureADGroupMember
Get-PnPAzureADGroupOwner
Get-PnPAzureADUser
Get-PnPAzureCertificate
Get-PnPCompatibleHubContentTypes
Get-PnPContentType
Get-PnPContentTypePublishingHubUrl
Get-PnPContentTypePublishingStatus
Get-PnPDeletedMicrosoft365Group
Get-PnPDocumentSetTemplate
Get-PnPLabel
Get-PnPListInformationRightsManagement
Get-PnPListItem
Get-PnPListItemAttachment
Get-PnPListItemPermission
Get-PnPListRecordDeclaration
Get-PnPMasterPage
Get-PnPMessageCenterAnnouncement
Get-PnPMicrosoft365Group
Get-PnPMicrosoft365GroupOwner
Get-PnPMicrosoft365GroupSettings
Get-PnPMicrosoft365GroupSettingTemplates
Get-PnPNavigationNode
Get-PnPOrgAssetsLibrary
Get-PnPOrgNewsSite
Get-PnPPropertyBag
Get-PnPPublishingImageRendition
Get-PnPRequestAccessEmails
Get-PnPRoleDefinition
Get-PnPSearchConfiguration
Get-PnPSearchCrawlLog
Get-PnPSearchSettings
Get-PnPServiceCurrentHealth
Get-PnPServiceHealthIssue
Get-PnPSite
Get-PnPSiteClosure
Get-PnPSiteDesignRights
Get-PnPSiteDesignRun
Get-PnPSiteDesignRunStatus
Get-PnPSiteDesignTask
Get-PnPSitePolicy
Get-PnPSiteScript
Get-PnPSiteSearchQueryResults
Get-PnPSiteTemplate
Get-PnPStorageEntity
Get-PnPSubWeb
Get-PnPTaxonomySession
Get-PnPTeamsApp
Get-PnPTeamsChannel
Get-PnPTeamsChannelFilesFolder
Get-PnPTeamsChannelMessage
Get-PnPTeamsChannelMessageReply
Get-PnPTeamsChannelUser
Get-PnPTeamsTab
Get-PnPTeamsTeam
Get-PnPTeamsUser
Get-PnPTemporarilyDisableAppBar
Get-PnPTenantAppCatalogUrl
Get-PnPTenantId
Get-PnPTenantInstance
Get-PnPTenantSequence
Get-PnPTenantSequenceSite
Get-PnPTenantTemplate
Get-PnPTermGroup
Get-PnPTheme
Get-PnPUnifiedAuditLog
Get-PnPView
Get-PnPVivaConnectionsDashboardACE
Get-PnPWeb
Get-PnPWebhookSubscriptions
Get-PnPWebPartProperty
Get-PnPWebPartXml
Get-PnPWikiPageContent
Grant-PnPHubSiteRights
Grant-PnPSiteDesignRights
Grant-PnPTenantServicePrincipalPermission
Import-PnPTaxonomy
Import-PnPTermGroupFromXml
Install-PnPApp
Invoke-PnPSiteTemplate
Invoke-PnPTenantTemplate
Invoke-PnPWebAction
Measure-PnPList
Measure-PnPWeb
Move-PnPFolder
Move-PnPListItemToRecycleBin
Move-PnPRecycleBinItem
New-PnPAzureADGroup
New-PnPAzureCertificate
New-PnPExtensibilityHandlerObject
New-PnPList
New-PnPMicrosoft365Group
New-PnPMicrosoft365GroupSettings
New-PnPSiteTemplate
New-PnPSiteTemplateFromFolder
New-PnPTeamsApp
New-PnPTeamsTeam
New-PnPTenantSequence
New-PnPTenantSequenceCommunicationSite
New-PnPTenantSequenceTeamNoGroupSite
New-PnPTenantSequenceTeamNoGroupSubSite
New-PnPTenantSequenceTeamSite
New-PnPTenantTemplate
New-PnPTermGroup
New-PnPTermSet
New-PnPUser
New-PnPWeb
Publish-PnPApp
Publish-PnPContentType
Read-PnPTenantTemplate
Register-PnPAppCatalogSite
Remove-PnPAlert
Remove-PnPApp
Remove-PnPAvailableSiteClassification
Remove-PnPAzureADGroup
Remove-PnPAzureADGroupMember
Remove-PnPAzureADGroupOwner
Remove-PnPContentType
Remove-PnPContentTypeFromDocumentSet
Remove-PnPContentTypeFromList
Remove-PnPCustomAction
Remove-PnPDeletedMicrosoft365Group
Remove-PnPField
Remove-PnPFieldFromContentType
Remove-PnPFile
Remove-PnPFileFromSiteTemplate
Remove-PnPFolder
Remove-PnPGraphSubscription
Remove-PnPGroup
Remove-PnPGroupMember
Remove-PnPHomeSite
Remove-PnPHubSiteAssociation
Remove-PnPIndexedProperty
Remove-PnPJavaScriptLink
Remove-PnPKnowledgeHubSite
Remove-PnPList
Remove-PnPListDesign
Remove-PnPListItem
Remove-PnPListItemComment
Remove-PnPMicrosoft365Group
Remove-PnPMicrosoft365GroupMember
Remove-PnPMicrosoft365GroupOwner
Remove-PnPMicrosoft365GroupSettings
Remove-PnPNavigationNode
Remove-PnPPage
Remove-PnPPublishingImageRendition
Remove-PnPSiteGroup
Remove-PnPStorageEntity
Remove-PnPTeamsApp
Remove-PnPTeamsChannel
Remove-PnPTeamsChannelUser
Remove-PnPTeamsTab
Remove-PnPTeamsUser
Remove-PnPView
Remove-PnPVivaConnectionsDashboardACE
Remove-PnPWebhookSubscription
Remove-PnPWebPart
Rename-PnPFile
Rename-PnPFolder
Request-PnPReIndexList
Reset-PnPFileVersion
Reset-PnPMicrosoft365GroupExpiration
Restore-PnPDeletedMicrosoft365Group
Revoke-PnPHubSiteRights
Save-PnPSiteTemplate
Send-PnPMail
Set-PnPAppSideLoading
Set-PnPAuditing
Set-PnPDefaultContentTypeToList
Set-PnPDefaultPageLayout
Set-PnPDocumentSetField
Set-PnPField
Set-PnPFileCheckedOut
Set-PnPGraphSubscription
Set-PnPHomePage
Set-PnPHomeSite
Set-PnPKnowledgeHubSite
Set-PnPListItem
Set-PnPListItemAsRecord
Set-PnPListItemPermission
Set-PnPMessageCenterAnnouncementAsArchived
Set-PnPMessageCenterAnnouncementAsFavorite
Set-PnPMessageCenterAnnouncementAsNotArchived
Set-PnPMessageCenterAnnouncementAsNotFavorite
Set-PnPMessageCenterAnnouncementAsRead
Set-PnPMicrosoft365Group
Set-PnPMicrosoft365GroupSettings
Set-PnPSearchSettings
Set-PnPSite
Set-PnPSiteClosure
Set-PnPSiteDesign
Set-PnPSitePolicy
Set-PnPSiteScriptPackage
Set-PnPSiteTemplateMetadata
Set-PnPStorageEntity
Set-PnPTaxonomyFieldValue
Set-PnPTeamsChannel
Set-PnPTeamsChannelUser
Set-PnPTeamsTab
Set-PnPTeamsTeam
Set-PnPTeamsTeamArchivedState
Set-PnPTemporarilyDisableAppBar
Set-PnPWebhookSubscription
Set-PnPWebPartProperty
Submit-PnPSearchQuery
Submit-PnPTeamsChannelMessage
Sync-PnPAppToTeams
Test-PnPListItemIsRecord
Test-PnPTenantTemplate
Uninstall-PnPApp
Unpublish-PnPApp
Unpublish-PnPContentType
Unregister-PnPHubSite
Update-PnPApp
Update-PnPTeamsApp
Update-PnPVivaConnectionsDashboardACE

if you agree on that proposal, I will be more than happy to resolve this issue 🙂

hi @Adam-it , thank you so much for looking into this. Totally welcome your help on this issue 😊

hi @Adam-it , thank you so much for looking into this. Totally welcome your help on this issue 😊

Great 👍. I will start working on this over the week 🙂

hi @Adam-it , thank you so much for looking into this. Totally welcome your help on this issue 😊

Great 👍. I will start working on this over the week 🙂

No pressure seriously 😊.
We don’t have any ETA over here. Just send a PR whenever you think it’s ready. Will have a look after that.
Once merged , it will be available next day itself.

hi @Adam-it, any updates on this? No pressure :)
I checked the commits, looks quite good. Let us know if you are stuck somewhere or need anything from our end. Thanks again :)

hi @Adam-it, any updates on this? No pressure :)
I checked the commits, looks quite good. Let us know if you are stuck somewhere or need anything from our end. Thanks again :)

Thanks for reaching out. TBH all goes fine but just slow 😉, sorry for that 🙏.
Lately I was actively contributing in CLI and had a bunch of features to add in the vs code extensions for PnP PS and CLI. But that's all released now so this weekend I was planning to focus more on this issue 👍. Hope to catch up and hope to finish this off so it could be still pushed in October for Hacktoberfest 😉

all done 😉.
only need to clean up (rebase) and merge with latest dev and double check if anything new did not show up that also has an error 😜


metrics-agg logging info messages. Should move to debug.

What would you like to be added:
I would like the Metrics-Agg pod to stop logging each scrape, unless I elevate the logging level for investigation.
Why is this needed:
Unnecessary noise/indexing from the pod.

should be silent like the other pods in the solution when running normally.

Its merged in already at https://github.com/splunk/fluent-plugin-k8s-metrics-agg/commit/5a7d00f5ae0195cacb0f2fbe18b2b2efc45fff29

thank you kindly, sir!
I assume I have to either build image or await next tag, right?

Yep, we havent released it yet, but you can build your own image from the dockerfile on that repo if you need it. Thanks :)


Add files via upload

https://www.centralgatech.edu/
https://www.centralgatech.edu/programs-of-study/business-computer-technologies

@mrbigdiglet Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


Headers should be case insensitive

I have run into an issue where the library did not follow up on a 301. This was when I accessed the website from wired: https://www.wired.com/story/the-science-of-this-pandemic-is-moving-at-dangerous-speeds
It turns out that this website returns the location header as:
location: https://www.wired.com/story/the-science-of-this-pandemic-is-moving-at-dangerous-speeds/

Note that the location is written as location and not as Location.
In the redirect handler this is managed as:
guard let location = headers.first(where: { $0.name == "Location" }) else {
     return nil
}

According to the RFC: https://ietf.org/rfc/rfc7230.html#section-3.2 the headers are case insensitive. Hence I believe this code should become:
guard let location = headers.first(where: { $0.name.lowercased() == "location" }) else {
     return nil
}

I did not check but I assume there this may be true in other areas as well. The above changed fixed it for me.
I  used version 1.1.0 of the package.

@fabianfett should be fixed now, tagged 1.1.1

Thanks. Appreciated.


Feature Request - Autocomplete Dropdown

Hi Ionic Team,
Thanks for the awesome open source contribution. We can implement somewhat working autocomplete dropdown by ourself but the native look and animations that you can provide would be far better than what we can achieve.
Would you consider implementing autocomplete dropdown as a component in Ionic itself?
-Thanks

+1

Duplicate of #6921
I don't think we will add more features until 2.0 final is released. We are focusing all our efforts in bug fixing!


Make flake8-type-checking's unsafe fixes not fix if a library is used in a doctest

Hi all, curious to hear your opinion on this :) Please let me know if this needs to be filed on flake8-type-checking instead!
Ruleset
flake8-type-checking (TCH) with unsafe fixes on.
Ruff call and settings
Ruff version
0.4.8
Command invoked
pre-commit hooks:
repos:
  - repo: local
    hooks:
      - id:       ruff
        name:     Run ruff linter
        entry:    ruff
        args:     [ "--no-cache" ]
        language: python
        types:    [ file, python ]
        files:    .*\.py$

Relevant settings in pyproject.toml:
[tool.ruff]
line-length = 120
target-version = "py39"
fix = true  # Allow for ruff linting to fix some issues. Note that we control this behaviour in [tool.ruff.lint].

[tool.ruff.lint]
extend-select = [
    "TCH",  # flake8-type-checking | Allow for imports only used for type hinting | https://docs.astral.sh/ruff/rules/#flake8-type-checking-tch
]
fixable = [
    "TCH001", "TCH002", "TCH003", "TCH004", "TCH005",   # flake8-type-checking
]
extend-safe-fixes = [
    "TCH001", "TCH002", "TCH003", "TCH004", "TCH005",   # flake8-type-checking
]

[tool.ruff.lint.flake8-type-checking]
quote-annotations = true
strict = true
exempt-modules = ["typing", "typing_extensions", "types"]

Explanation and Example
When allowing TCH to auto-fix, it will transform this...
from datetime import datetime

def my_func(dt: datetime):
    """Example function

    >>> my_func(dt=datetime(year=2024, month=7, day=2))
    'hello'
    """
    return "hello"

if __name__ == "__main__":
    import doctest
    doctest.testmod()

into ...
from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from datetime import datetime

def my_func(dt: "datetime"):
    """Example function

    >>> my_func(dt=datetime(year=2024, month=7, day=2))
    'hello'
    """
    return "hello"

if __name__ == "__main__":
    import doctest
    doctest.testmod()

While this seems correct at first glance (no SyntaxError), notice that datetime is used in the doctest. It would be great if the ruff fixer can scan doctests as well for usage.

It makes sense to me that Ruff shouldn't provide an autofix in this case because it breaks user code. Doing this would require that Ruff understands doctests and takes them into account when running the analysis. How this would work is an interesting question.

@MichaReiser Indeed, it is relatively strange behaviour and therefore it makes sense that it is an unsafe fix.
Doctests are well-defined in Python, with >>> being included at the start of a new line in the docstring. The doctest library (or pytest with the flag --doctest-modules) will then recognize these and run them as tests.
It is interesting to think about whether there are use cases where people might use >>> at the start of a new line where it is not intended to be a doctest. Does this happen? Are these valid use cases? Is this just ignorance (I learned about doctests like this a while back but before this thought they were just examples, not meant to be runnable code per se)? Should Ruff provide an opinion here? Either way, this should remain an unsafe fix, keeping these points in mind.
I do not know how to program in Rust at the moment but if this would be implemented, I am happy to assist the person working on this and think along!


[Doc] Re-write Documentation

[ ] Update README
[ ] Add quickstart guide (how to install CLI and run it)
[ ] Move (or link to) CLI documentation to make it more visible, including config docs https://github.com/GoogleCloudPlatform/gke-poc-toolkit/tree/multi-cluster/cli
[ ] Extend troubleshooting guide
[ ] Update cluster access doc / remove start-stop proxy https://github.com/GoogleCloudPlatform/gke-poc-toolkit/blob/main/docs/CLUSTERS.md
[ ] Update "deploy secure workloads" doc https://github.com/GoogleCloudPlatform/gke-poc-toolkit/blob/main/docs/WORKLOADS.md
[ ] Update cluster security doc https://github.com/GoogleCloudPlatform/gke-poc-toolkit/blob/main/docs/SECURITY.md -- move into configuration docs?

Closed by #91


String Operations using \ not working consistently

I tried to replace \ with / using following code but it added / before every character
Code :
${UpdatedPath}    Replace String    C:\Users\Dummy\eclipse-workspace\ExcelManipulation    \    /     Log to console    \nUpdated Path : ${UpdatedPath}
Output
Updated Path : /C/:/U/s/e/r/s/D/u/m/m/y/e/c/l/i/p/s/e/-/w/o/r/k/s/p/a/c/e/E/x/c/e/l/M/a/n/i/p/u/l/a/t/i/o/n/
Also when I replaced \ with   double \   it eliminated all \ and gave the output as follows
Code
${UpdatedPath}    Replace String    C:\Users\Dummy\eclipse-workspace\ExcelManipulation    \    /
Log to console    \nUpdated Path : ${UpdatedPath}
Output
Updated Path : C:UsersDummyeclipse-workspaceExcelManipulation

These examples are formatted somewhat strangely, so it's impossible to tell what exactly happens. That said, have you looked what the User Guide says about using \ as an escape character?

I'm now looking this now on a bigger screen, not on mobile, and it's easy to see that the problem. Find the aforementioned section about escaping in the User Guide and/or try this to understand what's going one:
    Log to console    C:\Users\Dummy\eclipse-workspace\ExcelManipulation


Wrong mode shown

Checklist

[X] I have verified that the account and device works in the Comfort Cloud App.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

What version of Home Assistant Core?
core-2024.9.3
Describe the issue
The CC integration doesn't show the Heat/Cool mode. I can set the mode from HA and see that it's being set accordingly in the CC app but the integration then shows the mode cool again (but heating is shown correctly).
Looking at the log below, it looks like the operation mode is being changed (4 and 0)??

Are you on the latest version of the integration 2024.9.3? If so, can you check the device page and under Diagnostics does it say Data Mode Live or Cached?

Hi @sockless-coding,
Yes exactly, I see and set heat/cool and for a couple of seconds the right mode is also show but then goes back to show the prev mode (but checking the cc app, it States heat/cool correctly). Looks like it miss-parse the response from cloud or something. Was on 2024.9.1 but updated now to 1.3. Same issue and diagnostisk shows data mode "live".

@d96moe 2024.9.0 and .1 had an issue where the cached data was always fetched. If you are running 2024.9.3 and it says LIVE the state should be correct.

@sockless-coding, sorry, apperantly not☹

Heatpump is currently heating in the hest/cool mode but the plugin still shows the mode cool.

Can you provide the debug logs from 2024.9.3

Sure, of course 👍
2024-10-02 21:49:58.223 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/deviceStatus/CS-NZ25VKE%2B4971130123, response: {"timestamp":1727898598082,"permission":3,"summerHouse":2,"iAutoX":false,"nanoe":false,"nanoeStandAlone":false,"autoMode":true,"heatMode":true,"fanMode":true,"dryMode":true,"coolMode":true,"ecoNavi":false,"powerfulMode":true,"quietMode":true,"airSwingLR":true,"autoSwingUD":false,"ecoFunction":0,"temperatureUnit":0,"modeAvlList":{"autoMode":1},"nanoeList":{"visualizationShow":0},"clothesDrying":false,"insideCleaning":false,"fireplace":false,"pairedFlg":false,"parameters":{"ecoFunctionData":0,"insideCleaning":0,"fireplace":0,"lastSettingMode":0,"operate":1,"operationMode":2,"temperatureSet":22.5,"fanSpeed":0,"fanAutoMode":0,"airSwingLR":2,"airSwingUD":2,"ecoMode":2,"ecoNavi":0,"nanoe":0,"iAuto":0,"airDirection":1,"insideTemperature":22,"outTemperature":5,"airQuality":0}}
2024-10-02 21:49:58.223 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicdevice] Loading device parameters, has data: True
2024-10-02 21:49:58.223 DEBUG (MainThread) [custom_components.panasonic_cc.coordinator] Finished fetching Panasonic Device Coordinator data in 1.459 seconds (success: True)
2024-10-02 21:50:27.530 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] POST url: https://accsmart.panasonic.com/deviceStatus/control, data: {'deviceGuid': 'CS-NZ25VKE+4971130123', 'parameters': {'operationMode': 0}}, response: {"result":0}
2024-10-02 21:50:29.596 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicsession] GET url: https://accsmart.panasonic.com/deviceStatus/CS-NZ25VKE%2B4971130123, response: {"timestamp":1727898629466,"permission":3,"summerHouse":2,"iAutoX":false,"nanoe":false,"nanoeStandAlone":false,"autoMode":true,"heatMode":true,"fanMode":true,"dryMode":true,"coolMode":true,"ecoNavi":false,"powerfulMode":true,"quietMode":true,"airSwingLR":true,"autoSwingUD":false,"ecoFunction":0,"temperatureUnit":0,"modeAvlList":{"autoMode":1},"nanoeList":{"visualizationShow":0},"clothesDrying":false,"insideCleaning":false,"fireplace":false,"pairedFlg":false,"parameters":{"ecoFunctionData":0,"insideCleaning":0,"fireplace":0,"lastSettingMode":0,"operate":1,"operationMode":0,"temperatureSet":22.5,"fanSpeed":0,"fanAutoMode":0,"airSwingLR":2,"airSwingUD":2,"ecoMode":2,"ecoNavi":0,"nanoe":0,"iAuto":0,"airDirection":1,"insideTemperature":21,"outTemperature":5,"airQuality":0}}
2024-10-02 21:50:29.596 DEBUG (MainThread) [custom_components.panasonic_cc.pcomfortcloud.panasonicdevice] Loading device parameters, has data: True
2024-10-02 21:50:29.596 DEBUG (MainThread) [custom_components.panasonic_cc.coordinator] Finished fetching Panasonic Device Coordinator data in 1.833 seconds (success: True)

Found the issue, 2024.10.0 should solve it

Great new, thank you @sockless-coding! Really appreciate your efforts with this plugin and the time you manage to find to put into this! Again, thanks!


Add RTSPtoWeb widget

Thank you for contributing to Homarr! So that your Pull Request can be handled effectively, please populate the following fields (delete sections that are not applicable)
Category

Feature

Overview

Add a widget that connect to RTSPtoWeb server. link: https://github.com/deepch/RTSPtoWeb

Issue Number (if applicable)

Related issue: #00

New Vars (if applicable)

I add new folder "RTSPtoWeb" on widget folder.

Screenshot (if applicable)

Thanks for the contribution. Looks pretty cool to me, but still very rough around the edges.

Use this button to re-request a review from me

Totally agree with @manuel-rw , take a look at how we implement options in Dashdot widget and then how we use these options in the code to understand how to change the stream url

Also another thing I'd like to point out is the following : how would you access the stream if you are not at home ? The address would have to be exposed publicly and that's a big no no with cameras, right ? To get the info from the internal address and pass it directly to you, you'd need to write an API route that can stream the content to you directly

Also another thing I'd like to point out is the following : how would you access the stream if you are not at home ? The address would have to be exposed publicly and that's a big no no with cameras, right ? To get the info from the internal address and pass it directly to you, you'd need to write an API route that can stream the content to you directly

Good catch. Will be a bit complicated though as it won't be  a normal API route. @Meierschlumpf do you have an idea?

Also another thing I'd like to point out is the following : how would you access the stream if you are not at home ? The address would have to be exposed publicly and that's a big no no with cameras, right ? To get the info from the internal address and pass it directly to you, you'd need to write an API route that can stream the content to you directly

I'm exposing Homarr via VPN so I can reach the cameras. Another solution is to use Reverse proxy.

Also another thing I'd like to point out is the following : how would you access the stream if you are not at home ? The address would have to be exposed publicly and that's a big no no with cameras, right ? To get the info from the internal address and pass it directly to you, you'd need to write an API route that can stream the content to you directly

I'm exposing Homarr via VPN so I can reach the cameras. Another solution is to use Reverse proxy.

I think exposing it via reverse proxy is fine for now, as Homarr's purpose is not reverse proxy requests or expose streams.
@hillaliy can you resolve the remaining conversations?

I need some help with resolving. Another problem I don't know how to add / remove cameras like the Dash objects

I made some changes and improved your code. Can someone do a yarn install and push the lockfile? My yarn is broken and is pushing invalid checksums. Sorry. After that, the build should pass.

BLOCKING: We must still remove the pushed config and vscode settings file!!!

Looks pretty good. Can you use another sort of Livestream ? Maybe a public one to be added to the docs would be good

Hi man thanks looks good.
Can I help with something?
I some one wan't to use it with cameras he need to install RTSPtoWeb docker and then to use this URL: http://localhost:8083/stream/pattern/channel/0/hls/live/index.m3u8

Looks pretty good. Can you share another sort of Livestream to show off / test ? A public one to be added to the docs

I don't have a stream, but this works as well:
http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
Since it's video.js, it will work with anything that is supported by it.

I would like to delay this for a release after 0.11.4, since we still have some things to do here.
I hope you understand.

Why did you close the PR? 😅

Looks like you just overwrote all changes on this branch...

Sorry I push the sync fork button.

Yes, I have your code. I will marge it.

Thank you. I will do the rest until it's ready to be merged.

Good, I have more ideas for the future.


Arbitrary symbols in filenames can cause git-apply failures

File in git:
name_№_1.csv

Patch failed:
      Setup group
        Git artifacts: apply patches (before setup) ... fatal: git apply: bad git-diff - inconsistent new filename on line 8108
          Launched command: `/.dapp/deps/base/0.2.3/embedded/bin/install  -d "/app" && /.dapp/deps/gitartifact/0.2.1/bin/git apply --whitespace=nowarn --directory="/app" --unsafe-paths /.dapp/tmp/patches/f585976b498c9b6cf7d6c3adc98bcfae297712ce8e5fb9a8f3abfa47c7a76218_ff80458396a21fa4be20399763cb6b9d9fc85656_218f57101f9389e0c55128259d1f9ab9113eb97e.patch`
                                         [FAILED] 0.65 sec
          signature: dimgstage-maintenance:8f486dcc7c8d1f69a1c5e6a6b466a1a7ca057efde86096b589beac846c32acd1
    building artifact `bootjar-03cbed18`                                                         [FAILED] 2.67 sec

solved


Substitute ChallengeGenerator by the generic sponge

Description
In this PR, we are removing ChallengeGenerator and using only the sponge on which the PCS is generic. As a consequence, we are dropping the two strategies of generating challenges. However, as far as I noticed, the Univariate strategy was only used in a few tests and bench templates. So, I am not sure how big of an issue it is.
Closes #138
Notice that this PR is on top of #137

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[x] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Thanks for this PR! It looks pretty good overall. Since you're looking into this code, could you double check that the way we're deriving these challenges is not vulnerable to  https://blog.openzeppelin.com/the-last-challenge-attack ?
Essentially, when we're doing batch verification, we need to ensure that we absorb all the proofs in the batch before we squeeze the opening_challenge.

Of course!

Currently, the sponge does not absorb anything. Even before this PR, the ChallengeGenerator was not absorbing anything. Is this a problem in Marlin and other schemes in the crate? (I am unfamiliar with their security analysis)
For Ligero, Brakedown, and Hyrax, I am not sure how we can absorb all the transcripts in batch_check. As the current implementation of batch_check calls check in a for loop, and the check method should absorb the transcript anyhow, I do not see an immediate solution to avoid double-absorbing. 🤔

Thanks!

True, there was only ever squeezes from a sponge...
Regarding the second point for IOP-based schemes, we anyway planned to improve the batch_check further down the line.

Thanks for the answer. Regarding batch_check: One rough idea is to add another method (e.g., check_with_challange), and this method does not get the sponge as an argument but the challenges are given. And batch_check absorbs everything and squeezes all necessary challenges for each check_with_challange.
I think this can go in another PR, though.

Thanks for the answer! Regarding batch_verify: Maybe the following rough idea helps. Instead of having check, we use two methods, check_transcript and check_proof. check_transcript has the proof and the challenges as arguments (i.e., no absorbing or squeezing). check_proof has the proof and the sponge as arguments, and needs to absorb or squeeze, then call check_transcript. batch_check does the same job as check_proof with some potential optimization for the case of many proofs.
I think it requires another discussion/issue/PR, though.

Ok seems like the blog post and what this PR aim to achieve are two different things; this PR talks about how to generate challenges for batch proving, and the blog post talks about batching pairings within a batch proof verification.
That is, the blog post talks about replacing this line with a squeeze from a sponge instead of a rng-derived challenge.
We should change that in a separate PR (it's not a soundness bug atm.)

Having resolved that confusion (sorry about that!), let's return our focus to the topic of this PR.
I think the reason why the current code is "sound" is that it assumes the sponge inside the challenge generator already absorbed the requisite commitments. For example, see the marlin code here: https://github.com/arkworks-rs/marlin/blob/026b73c20638f4f86cbae0946045934c865d5a30/src/lib.rs#L289. The absorption happens before we generate opening_challenge.
We can think about whether we want to change that or not; my inclination is that the answer is yes.

That makes sense @Pratyush. In any case we can tackle this separately as this PR doesn't alter the old behavior right?


qna import error "Bad argument"

Hi! I created a KB with multiturn questions which worked fine in QnA test window.
Now, when I export it in xlsx format and try to import it (with multiturn option checked) in a new KB, it shows the "Bad Argument" error.
If I export the same as tsv format and try to import it in a new KB, it gets imported but looses the multiturn feature.
Can you please look into the issue?

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

ID: 54fc937d-0c33-f893-69b6-425db47fb31d
Version Independent ID: 091a03e7-6470-75c3-1dda-3c791bffdefd
Content: Tutorial: Create, publish, and answer in QnA Maker - Azure Cognitive Services
Content Source: articles/cognitive-services/QnAMaker/Tutorials/create-publish-query-in-portal.md
Service: cognitive-services
Sub-service: qna-maker
GitHub Login: @diberry
Microsoft Alias: diberry

@abhi23arora What steps did you do, exactly, to create the KB from the xls?

hi @diberry!
I tried multiple things after that and the simplest way to replicate this issue would be,
create a new blank kb
add a test qna pair and also add a follow up question of the same.
train the model and test (should run fine)
now go to settings and export your kb in xlsx format.
now try to create a new kb using this file.
you will get an error.

This looks like a product bug, not a doc bug, please log issue from QnA Portal using feedback of user voice.
#reassign:GiftA-MSFT

@diberry after investing further, I discovered that the issue regarding importing KB and missing the multiturn structure isn't necessarily a bug. However, there seems to be an issue with adding .xlsx files while creating a new KB or via settings.
@abhi23arora in order to import your KB with the multiturn feature enabled, you would need to create a blank KB, then import your KB via settings under "Import Knowledge Base". If you add the .xlsx or .tsv file while creating a KB, it will create a new KB and omit the multi-turn structure since multi-turn structure can only inferred from URLs, PDF files, or DOCX files. Therefore, please try importing your KB via settings and let me know if that works for you. Thanks.
Export/Import Steps:

Export existing KB in settings under "Export Knowledge Base"
Create a blank KB
Import .xlsx or .tsv file in settings under "Import Knowledge Base"
Save and Train

Note: There seems to be an issue with adding .xlsx files while creating a new KB or via settings, and I'll report this bug to PG. Thanks.

@abhi23arora I have reported the bug specified in my previous comment to our product team and we'll provide necessary updates as soon as possible. In the mean time, let us know if you are still experiencing any issues, otherwise we'll proceed to close this thread. Thanks.


[0.61.1] Crash when loading songs

If this is a fault of my own I apologize in advance, however, I can't seem to get the 0.61.1 client to work.
Describe the bug
Install the client, try loading it with backed up save, noteskins, and songs folder.
Edit: I can confirm this also does this on the 0.61 installer as well as the one in question (06.1.1)
To Reproduce
Steps to reproduce the behavior:

Install the client
Overwrite the preexisting "save", "noteskins", "songs" folders with your backup
Launch the game
See error

Expected behavior
It will crash when loading songs or when its conjuring the cache database.
Screenshots
https://i.imgur.com/NPcIh0E.png
Desktop (please complete the following information):

OS: Windows 10 Pro [64bit]
Build: 1803

Crashinfo.txt
Etterna0.61-git-b984fe493d crash report (build b984fe493d, 20181016 @ 04:24:28)
Crash reason: Access Violation
Unknown thread
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/Team Polygon!!/Dash And You Will See [Jose_Varela, KcHecKa]/*
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/CuoReNeRo MeGaPacK 3/Ristaccia (CuoReNeRo)/*
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/Jimmy Jawns/Pikkon's Theme - [Aoreo]/*
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/[BNT-O03]batsal pack Vol. 3/cf01_THE LAST STRIKER(with Flyment_game size)/*
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/VocaJawnz/Dancer in the Dark- [Dirk]/*
Thread: Main thread
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/Yolomania Vol. 1/*
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/Yolomania Vol. 2/*
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/Yolomania Vol. 3/*
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/Yolomania Vol. 4/*
ragefiledriverdirecthelpers.cpp:230 E:/Etterna0.61/Songs/You're Streaming Forever/*
Thread: Decode thread
Thread: Mixer thread
Thread: Music thread
3e994bb2: Etterna!3e5e0000
Static log:
Etterna0.61-git-b984fe493d
Compiled 20181016 @ 04:24:28 (build b984fe493d)
Log starting 2018-10-28 12:54:57
Loading window: win32
Windows 6.2 (Win8) build 9200 []
Memory: 16328mb total, 26148mb swap (17445mb swap avail)
Video driver: AMD Radeon (TM) R7 370 Series [Advanced Micro Devices, Inc.]
25.20.14003.1010, 10-10-2018 [pci\ven_1002&dev_6811&rev_81]
Drive: "WDC     WD1001FALS-00J7B05.0" Driver: storahci DMA: N/A
Drive: "Hitachi HDS721010CLA332" Driver: storahci DMA: N/A
Drive: "NVMe    Samsung SSD 970 EXE7" Driver: stornvme DMA: N/A
Sound device 0: Speakers (Razer Seiren), 10.0, MID 1, PID 100
Sound device 1: 6 - SONY TV  *00 (AMD High Defi, 10.0, MID 1, PID 100
WaveOut software mixing at 44100 hz
Sound driver: WaveOut
WARNING: Detected steps with unknown style 'para-versus' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'para-versus' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'bm-single' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'bm-single' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'bm-double' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'bm-double' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'iidx-single7' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'iidx-single7' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'iidx-double7' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'iidx-double7' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'iidx-single5' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'iidx-single5' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'iidx-double5' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'iidx-double5' in '/Songs/Hard Songs Megapack Volume 11/300/300.sm'
WARNING: Detected steps with unknown style 'lights-cabinet' in '/Songs/CuoReNeRo MeGaPacK 3/Adagio For Strings (BarX)/DJ Tiesto - Adagio For Strings.SM'
Not caching empty difficulty in file /Songs/CuoReNeRo MeGaPacK 3/Adagio For Strings (BarX)/
WARNING: Detected steps with unknown style 'lights-cabinet' in '/Songs/CuoReNeRo MeGaPacK 3/And No Matches (CuoRe & BarX)/steps.SM'
Not caching empty difficulty in file /Songs/CuoReNeRo MeGaPacK 3/And No Matches (CuoRe & BarX)/
WARNING: Detected steps with unknown style 'lights-cabinet' in '/Songs/CuoReNeRo MeGaPacK 3/Angels Crying (CuoRe & BarX)/steps.SM'
Not caching empty difficulty in file /Songs/CuoReNeRo MeGaPacK 3/Angels Crying (CuoRe & BarX)/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/300/
WARNING: Detected steps with unknown style 'para-versus' in '/Songs/Hard Songs Megapack Volume 11/Lune Noir/lune.sm'
WARNING: Detected steps with unknown style 'bm-single' in '/Songs/Hard Songs Megapack Volume 11/Lune Noir/lune.sm'
WARNING: Detected steps with unknown style 'bm-double' in '/Songs/Hard Songs Megapack Volume 11/Lune Noir/lune.sm'
WARNING: Detected steps with unknown style 'iidx-single7' in '/Songs/Hard Songs Megapack Volume 11/Lune Noir/lune.sm'
WARNING: Detected steps with unknown style 'iidx-double7' in '/Songs/Hard Songs Megapack Volume 11/Lune Noir/lune.sm'
WARNING: Detected steps with unknown style 'iidx-single5' in '/Songs/Hard Songs Megapack Volume 11/Lune Noir/lune.sm'
WARNING: Detected steps with unknown style 'iidx-double5' in '/Songs/Hard Songs Megapack Volume 11/Lune Noir/lune.sm'
Not caching empty difficulty in file /Songs/VGMP 3/Troops In Gathering (Dj_Ossa)/
Not caching empty difficulty in file /Songs/VGMP 3/We Are Milkcan!! (Vospi)/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Lune Noir/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Lune Noir/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Lune Noir/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Lune Noir/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Lune Noir/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Lune Noir/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Lune Noir/
WARNING: Detected steps with unknown style 'para-versus' in '/Songs/Hard Songs Megapack Volume 11/Pollinosis/Pollinosis.sm'
WARNING: Detected steps with unknown style 'bm-single' in '/Songs/Hard Songs Megapack Volume 11/Pollinosis/Pollinosis.sm'
WARNING: Detected steps with unknown style 'bm-double' in '/Songs/Hard Songs Megapack Volume 11/Pollinosis/Pollinosis.sm'
WARNING: Detected steps with unknown style 'iidx-single7' in '/Songs/Hard Songs Megapack Volume 11/Pollinosis/Pollinosis.sm'
WARNING: Detected steps with unknown style 'iidx-double7' in '/Songs/Hard Songs Megapack Volume 11/Pollinosis/Pollinosis.sm'
WARNING: Detected steps with unknown style 'iidx-single5' in '/Songs/Hard Songs Megapack Volume 11/Pollinosis/Pollinosis.sm'
WARNING: Detected steps with unknown style 'iidx-double5' in '/Songs/Hard Songs Megapack Volume 11/Pollinosis/Pollinosis.sm'
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Pollinosis/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Pollinosis/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Pollinosis/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Pollinosis/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Pollinosis/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Pollinosis/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Pollinosis/
WARNING: Detected steps with unknown style 'para-versus' in '/Songs/Hard Songs Megapack Volume 11/Restart!/restart.sm'
WARNING: Detected steps with unknown style 'bm-single' in '/Songs/Hard Songs Megapack Volume 11/Restart!/restart.sm'
WARNING: Detected steps with unknown style 'bm-double' in '/Songs/Hard Songs Megapack Volume 11/Restart!/restart.sm'
WARNING: Detected steps with unknown style 'iidx-single7' in '/Songs/Hard Songs Megapack Volume 11/Restart!/restart.sm'
WARNING: Detected steps with unknown style 'iidx-double7' in '/Songs/Hard Songs Megapack Volume 11/Restart!/restart.sm'
WARNING: Detected steps with unknown style 'iidx-single5' in '/Songs/Hard Songs Megapack Volume 11/Restart!/restart.sm'
WARNING: Detected steps with unknown style 'iidx-double5' in '/Songs/Hard Songs Megapack Volume 11/Restart!/restart.sm'
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Restart!/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Restart!/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Restart!/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Restart!/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Restart!/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Restart!/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/Restart!/
WARNING: Detected steps with unknown style 'para-versus' in '/Songs/Hard Songs Megapack Volume 11/The last target/mendes.sm'
WARNING: Detected steps with unknown style 'bm-single' in '/Songs/Hard Songs Megapack Volume 11/The last target/mendes.sm'
WARNING: Detected steps with unknown style 'bm-double' in '/Songs/Hard Songs Megapack Volume 11/The last target/mendes.sm'
WARNING: Detected steps with unknown style 'iidx-single7' in '/Songs/Hard Songs Megapack Volume 11/The last target/mendes.sm'
WARNING: Detected steps with unknown style 'iidx-double7' in '/Songs/Hard Songs Megapack Volume 11/The last target/mendes.sm'
WARNING: Detected steps with unknown style 'iidx-single5' in '/Songs/Hard Songs Megapack Volume 11/The last target/mendes.sm'
WARNING: Detected steps with unknown style 'iidx-double5' in '/Songs/Hard Songs Megapack Volume 11/The last target/mendes.sm'
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/The last target/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/The last target/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/The last target/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/The last target/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/The last target/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/The last target/
Not caching empty difficulty in file /Songs/Hard Songs Megapack Volume 11/The last target/
WARNING: Detected steps with unknown style 'lights-cabinet' in '/Songs/CuoReNeRo MeGaPacK 3/Here I Go Again (BarX)/steps.SM'
Not caching empty difficulty in file /Songs/CuoReNeRo MeGaPacK 3/Here I Go Again (BarX)/
WARNING: Detected steps with unknown style 'lights-cabinet' in '/Songs/CuoReNeRo MeGaPacK 3/How Do You Do (doodoo)/How Do U Do.sm'
Not caching empty difficulty in file /Songs/CuoReNeRo MeGaPacK 3/How Do You Do (doodoo)/
WARNING: Unmatched 3 in "1030"
WARNING: Unmatched 3 in "3001"
WARNING: Unmatched 3 in "0130"
WARNING: Unmatched 3 in "0301"
WARNING: Unmatched 3 in "1003"
WARNING: Unmatched 3 in "1300"
WARNING: Unmatched 3 in "3001"
WARNING: Unmatched 3 in "3010"
WARNING: Detected steps with unknown style 'lights-cabinet' in '/Songs/CuoReNeRo MeGaPacK 3/One More Night (BarX)/steps.SM'
Not caching empty difficulty in file /Songs/CuoReNeRo MeGaPacK 3/One More Night (BarX)/
WARNING: Detected steps with unknown style 'lights-cabinet' in '/Songs/CuoReNeRo MeGaPacK 3/Piece of Heaven (BarX)/steps.SM'
Not caching empty difficulty in file /Songs/CuoReNeRo MeGaPacK 3/Piece of Heaven (BarX)/
WARNING: Detected steps with unknown style 'lights-cabinet' in '/Songs/CuoReNeRo MeGaPacK 3/Pussy Pussy (Lumpy)/Pussy Pussy.SM'
Not caching empty difficulty in file /Songs/CuoReNeRo MeGaPacK 3/Pussy Pussy (Lumpy)/
Language: en
Theme: Til Death
Partial log:
00:40.062: Song '/Songs/Keyboard Mega Pack/rotl/' points to a music file that doesn't exist, found music file '06.RIDE ON THE LIGHT(HI GREAT MIX).mp3'
00:40.186: Song::LoadFromDWIFile(/Songs/Keyboard Mega Pack/runtheplacered/Run The Place Red.dwi)
00:40.276: Loaded 17 songs from "Songs/Bursts Of A Teitoku"
00:40.367: Song '/Songs/Jimmy Jawns/Miota Nim Jak Szatan - [Aoreo]/' points to a music file that doesn't exist, found music file 'Miota Nim Jak Szatan.ogg'
00:40.448: Song file "The Devil Went Down to Georgia" has an invalid #STOPS value "
00:40.448: " (must have exactly one '='), ignored.
00:40.448: Song file "/Songs/Metal Streamables/The Devil Went Down to Georgia - [Braeden]/Steve Ouimette - Devil Went Down To Georgia (GH3).sm" has an unexpected value named "ATTACKS".
00:40.539: Song file "" has no BPM segments, default provided.
00:40.539: Song '/Songs/osu ranked/153316 DJ Genericname - Dear You [no video]/' points to a music file that doesn't exist, found music file 'Dear You.mp3'
00:40.571: Song::LoadFromDWIFile(/Songs/Keyboard Mega Pack/Samurai Zero/samuraizero.dwi)
-- End of report

Cannot reproduce this.
If I had to guess, it's probably some gimmicky osu files. O!m note loader appears quite unstable when converting them.
Try deleting non-sm and non-ssc files.


Cargo Crate Tweaks

Adds Trash Bags to Janitor Crate and Emergency Suits to Emergency Internals Crates.
:cl: Pancake

tweak: Trash Bags have been added to the Janitor Cargo Crate.
tweak: Emergency Suits have been added to the Emergency Internals Cargo Crate.

FYI you'll want to code on branches because I can see your light power cell PR is there, so if that hadn't been merged this PR would also include those changes (I can also see you're comparing master too).

Ya, I just noticed that. I haven't used Git a ton, but I'll figure that out for next time. I am careful about which changes are in the push/PR though.

Yeah nw I did it my first time too


what's the data volume used in finetune?

Thanks for your amazing work.

I'm really wondering that how much data from objaverse-1.0 dataset is used in finetuning?
Should I use some specific folders like 000-000, 000-001(if so, pls advise me) or sample files from all folders?
Looking forward to your response. Thanks in advance

I just used a small subset of the Objaverse dataset to verify if the code work well.
You don't have to use that specific folder names; any names will work. However, you should use orbit_frame_0020.png and orbit_frame.pt for the files, which you can easily adjust in here.

I really appreciate your reply as above.
And I still have a minor query, do you perform any operations after retrieving the output(https://github.com/huggingface/diffusers/blob/8cdcdd9e32925200ce5e1cf410fe14a774f3c3a6/src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py#L335)? for example, times a coefficient(0.18215) like 0.18215 * moments?
Many thanks

As I recall, I saved the results directly from the function. However, I'm not entirely sure, as I completed this project about five months ago. Please let me know whether the code works as expected or not


fix(runtime-core): prevent readonly warning when using useTemplateRef with same variable name as template ref

close #11795

If this is the case, Vue will still throw a warning
this pr - playground

If this is the case, Vue will still throw a warning this pr - playground
I think we should check if it's a templateRef when setRef, but since vue has unref'd the templateRef, we can't determine it anymore

Good catch @linzhe141 !
However, for this edge case, maybe we could show a warning at compile time (as edison1105 suggested) or let the language tool handle it with a TypeScript error. In fact, the latest version of the language tool already provides warnings for such cases.


Improve access check

The current setup has the lock sending a hashed version of the private key to the server. This is not ideal, because it is possible to "reverse" md5 or sha1 hashes (soon sha256 could be possible as well).
A better scheme would be to use asymmetric cryptography using the public key and a signed/encrypted piece of information (encrypted with the private key). In this setup the lock should send the following to the server:

Lock ID
Public key
Encrypted (with private key) Lock ID

On the server, the access grant can be looked up in the database based on the lock ID and public key. If the record is found, check that the encrypted lock can be decrypted using the public key.
References:

https://bitcoin.stackexchange.com/questions/25024/how-do-you-get-a-bitcoin-public-key-from-a-private-key

Ignore this issue. I think the current setup is probably fine. I think it's unrealistic to try to reverse a hash (even md5) of a bitcoin private key. The key-space is so large that it would take essentially forever.


Example: likes' count

The count field in likes does not reflect the value after a mutation:
mutation M {
  createLike(input: {postId: "UG9zdDo1"}) {
    post {
      id
      likes {
        count
      }
    }
  }
}

{
  "data": {
    "createLike": {
      "post": {
        "id": "UG9zdDo1",
        "likes": {
          "count": 0
        }
      }
    }
  }
}

What is clearly wrong as the createLike when happens (args are valid) must alter the number.
I do believe that here the global id must be mapped to the real id:
https://github.com/captbaritone/grats/blob/a6ebf81d8e96709fddd2c2c74eb8810132e07a9c/examples/production-app/models/Like.ts#L61
For example using the computed "id" value:
 await DB.createLike(ctx.vc, {...args.input, userId: ctx.vc.userId(), postId: id});

Thanks for the report. Should be fixed in https://github.com/captbaritone/grats/commit/5a491bbf7d2ffa5e5a92e86f03314657d322245f


Support no_std

Hi! Would you like to make this crate no-std?

any updates on that? we really want to use it in ink! contracts :(

any updates on that? we really want to use it in ink! contracts :(

Should I update the codebase?
But seems no one review this.

Please rebase and I'll do a review.


Model that inherits from a model in another file cannot evaluate ForwardRefs of inherited fields

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
This is very similar to https://github.com/pydantic/pydantic/issues/3666 but for regular pydantic models, not dataclasses.
Repro repo here: https://github.com/zachkirsch/pydantic-circular-references-repro
Baz.update_forward_refs() fails with the following error:
Traceback (most recent call last):
  File "src/main.py", line 1, in <module>
    from circular_pydantic_models.bar import Bar
  File "/private/var/folders/zb/sncxfc0n1y96dwgkk2phgb9w0000gn/T/pytest-of-zachkirsch/pytest-39/test_ir_pydantic_model0/repro2/src/circular_pydantic_models/bar.py", line 9, in <module>
    from .foo import Foo
  File "/private/var/folders/zb/sncxfc0n1y96dwgkk2phgb9w0000gn/T/pytest-of-zachkirsch/pytest-39/test_ir_pydantic_model0/repro2/src/circular_pydantic_models/foo.py", line 4, in <module>
    from .baz import Baz
  File "/private/var/folders/zb/sncxfc0n1y96dwgkk2phgb9w0000gn/T/pytest-of-zachkirsch/pytest-39/test_ir_pydantic_model0/repro2/src/circular_pydantic_models/baz.py", line 18, in <module>
    Baz.update_forward_refs()
  File "pydantic/main.py", line 816, in pydantic.main.BaseModel.update_forward_refs
  File "pydantic/typing.py", line 553, in pydantic.typing.update_model_forward_refs
    def_mod = sys._getframe(1).f_globals.get('__name__', '__main__')  # for pickling
  File "pydantic/typing.py", line 519, in pydantic.typing.update_field_forward_refs
    in all type variables.
  File "pydantic/typing.py", line 58, in pydantic.typing.evaluate_forwardref
    'MappingView',
  File "/Users/zachkirsch/.pyenv/versions/3.7.13/lib/python3.7/typing.py", line 467, in _evaluate
    eval(self.__forward_code__, globalns, localns),
  File "<string>", line 1, in <module>
NameError: name 'Foo' is not defined

In the above example, Baz inherits a field bar_field: "Foo" from its superclass Bar. Baz.update_forward_refs() tries to resolve this forward ref by looking at module.__dict__, but Foo is not in scope in baz.py, so it throws.
Pydantic uses the module.__dict__ of the model's file to resolve forward references. But for inherited fields, I believe it would make sense for Pydantic to instead use the model.__dict__ of the module containing the field.
Example Code
# foo.py
import typing
import pydantic

from .baz import Baz

class Foo(pydantic.BaseModel):
    foo_field: typing.Optional[Baz]

# bar.py
import pydantic

class Bar(pydantic.BaseModel):
    bar_field: "Foo"

from .foo import Foo

Bar.update_forward_refs()

# baz.py
import pydantic

from .bar import Bar

# we're inherited from Bar
class Baz(Bar):
    ...

Baz.update_forward_refs()

Python, Pydantic & OS Version
pydantic version: 1.10.4
pydantic compiled: True
install path: /Users/zachkirsch/Library/Caches/pypoetry/virtualenvs/pydantic-circular-references-repro-XJSSiZt5-py3.7/lib/python3.7/site-packages/pydantic
python version: 3.7.13 (default, Oct 12 2022, 21:19:21)  [Clang 12.0.5 (clang-1<IP_ADDRESS>)]
platform: Darwin-22.1.0-x86_64-i386-64bit
optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[X] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

I'd love to make a PR to fix this - any suggestions on where to start @samuelcolvin?

I think this is now fixed, through the use of the _types_namespace argument. I couldn't get it to work with your example above because python gave me a circular import error, but with the following tweaks I was able to make it work:
# pydantic/dev/foo.py:
import typing
import pydantic

from .baz import Baz

class Foo(pydantic.BaseModel):
    foo_field: typing.Optional[Baz]

# pydantic/dev/bar.py:
from typing import TYPE_CHECKING

import pydantic

if TYPE_CHECKING:
    from .foo import Foo

class Bar(pydantic.BaseModel):
    bar_field: "Foo"

# pydantic/dev/baz.py:
from .bar import Bar

# we're inherited from Bar
class Baz(Bar):
    ...

# scratch.py:
from pydantic.dev.bar import Bar
from pydantic.dev.baz import Baz
from pydantic.dev.foo import Foo

Bar.model_rebuild(_types_namespace={'Foo': Foo})
Baz.model_rebuild(_types_namespace={'Foo': Foo})

With this, I can run scratch.py without errors. While this might not be exactly how you'd want to organize your code, I think this means the issue is addressed; if not, please let us know.
Also, I'll just note that the reason why the argument is _types_namespace instead of types_namespace is that this is such a rare scenario that I wanted to discourage the use of the argument when not necessary. However, we also made it so that rebuilds happen "automatically" in most cases, so now that you generally don't need to call the model_rebuild method manually in most scenarios, I think it might make sense to change it back to types_namespace now.


LSP only show one error at a time

Godot version
3.4.2.stable.arch_linux
System information
(Considered irrelevant)
Issue description
When editing scripts and making mistakes, Godot's LSP only shows the first error in the script:

Steps to reproduce

Edit a script with an external editor that supports LSP and can show more than one errors/warnings at once + Something to hook it up to Godot's LSP
Make more than one mistake in the script
Only one error/warning is shown at a time.

Minimal reproduction project
No response

I think that's just how GDScript parser works in Godot 3. It breaks on the first error.

Can I expect a fix for this on 3.x any time soon?

It's not an issue, it's just how the parser works. It's likely impossible to change this in 3.x without reworking the entire thing.

It's likely impossible to change this in 3.x without reworking the entire thing.

Sad. It's so useful to be able to see all the errors and warnings, too.


Installation Failed

hi Guys,
i use Proxmox 6.3 (the newst Version)  and i tried to play with you cool ansible playbook.
But it seems somethink happend with your variable or proxmox changed the API maybe:
failed: [node07.] (item={'key': '<test.bla.de>', 'value': {'node': 'node07', 'root_password': 'test', 'ubuntu_distribution': 'xenial', 'locale': 'de_DE', 'memory_size': 1024, 'virtio': '{"virtio0":"local-lvm:50,cache=writeback,discard=on"}', 'network': {'ip': '<IP_ADDRESS>', 'netmask': '<IP_ADDRESS>', 'gateway': '<IP_ADDRESS>', 'nameserver': '<IP_ADDRESS>', 'domainname': 'test.'}}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "<test.bla.de>", "value": {"locale": "de_DE", "memory_size": 1024, "network": {"domainname": "test.**", "gateway": "<IP_ADDRESS>", "ip": "<IP_ADDRESS>", "nameserver": "<IP_ADDRESS>", "netmask": "<IP_ADDRESS>"}, "node": "node07", "root_password": "test", "ubuntu_distribution": "xenial", "virtio": "{"virtio0":"local-lvm:50,cache=writeback,discard=on"}"}}, "msg": "creation of qemu VM <test.bla.de> with vmid 107 failed with exception=400 Bad Request: Parameter verification failed. - {"errors":{"name":"invalid format - value does not look like a valid DNS name\n"},"data":null}"}
i Can change the name: to test.bla.de in the main/task.yml but then it fails after create the kernel for the first boot.
Maybe you guese have an Idea what happend.
Cheers

Hey @baldy2811
could you please provide the playbook you used to get this error? I will look into it.
Thanks!

Hey @baldy2811
could you please provide the playbook you used to get this error? I will look into it.
Thanks!


initiliazing workspace with preonboarded branch is giving an error !

Hello,
At the beginning , during the initializing the workspace with the command : wit init workspace1 -a git@github.com:sifive/block-pio-sifive.git::preonboarded is giving an error like following:
Creating new workspace [/home/pvips-shraddha/workspace1]
Cloning block-pio-sifive...
[ERROR] Bad remote for 'block-pio-sifive':
  git@github.com:sifive/block-pio-sifive.git

so, how can I resolve this?

Solved ! we need to update ssh key in our profile,which is same available to our machine , on which we are trying to clone .So, it was just that !

Hi, you may find GitHub's documentation on SSH keys useful: https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent


docs: List the backends in section explaining SOCIAL_AUTH_SUBDOMAIN.

We only mentioned github there. People shouldn't be expected to know which backends we implement using which library, so, while I think it's useful to say

Or any other authentication backend that we implement using python-social-auth

at the end, we should try to keep the list up-to-date.

I rewrote this and merged b3085f924dbf4777478ec7fb4b221a4b518af55b to address this.  Thanks for catching this!


Set up server using node and express

Created server.js, connection.js, and initial routing files in the controllers folder. These will be fleshed out in a subsequent task.
The application now initializes the server and listens on a designated port when running "npm start" from the CLI.


Can't connect to proxy  running on FLY.io connected to supabase db

https://electric-empty-sun-4082.fly.dev/api/status returns Connection to Postgres is up!
Shouldn't I be able to connect to
postgresql://postgres:PASSWORD_HERE@electric-empty-sun-4082.fly.dev:65432/postgres
Here is my fly.toml
Note AUTH_JWT_KEY, DATABASE_URL  are in secrets.
I have tried different PG_PROXY_PASSWORD in the toml and secrets.
# fly.toml app configuration file generated for electric-empty-sun-4082 on 2024-07-22T13:11:19-05:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'electric-empty-sun-4082'
primary_region = 'ord'

[build]
  image = "electricsql/electric:canary"

[env]
  ELECTRIC_WRITE_TO_PG_MODE="direct_writes"
  AUTH_JWT_ALG="HS256"
  DATABASE_USE_IPV6="true"
  PG_PROXY_PASSWORD="PASSWORD_HERE"

# The main Internet-facing service of Electric
# to which clients will be connecting.
[http_service]
  internal_port = 5133
  force_https = true

  [[http_service.checks]]
    interval = "10s"
    timeout = "1s"
    grace_period = "20s"
    method = "GET"
    path = "/api/status"

[[vm]]
  size = 'shared-cpu-1x'
  memory = "1gb"
  cpus = 1

# Service definition for the migrations proxy that runs
# on a separate TCP port.
[[services]]
  protocol = "tcp"
  internal_port = 65432

  [[services.ports]]
    port = 65432
    handlers = ["pg_tls"]

Running psql "host=electric-empty-sun-4082.fly.dev port=65432 dbname=postgres user=postgres password=PASSWORD_HERE sslmode=disable"
psql: error: connection to server at "electric-empty-sun-4082.fly.dev" (<IP_ADDRESS>), port 65432 failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.

👋 we've been working the last month on a rebuild of the Electric server over at a temporary repo https://github.com/electric-sql/electric-next/
You can read more about why we made the decision at https://next.electric-sql.com/about
We're really excited about all the new possibilities the new server brings and we hope you'll check it out soon and give us your feedback.
We're now moving the temporary repo back here. As part of that migration we're closing all the old issues and PRs. We really appreciate you taking the time to investigate and report the bug!


PUBLIC_DEPLOYMENT_IP_ADDRESS docs

Fixes #1588
What is being addressed

Update documentation

/test-force-approve

/test-force-approve


Admin - Sort Requests by Date

Is your feature request related to a problem? Please describe.
As an admin, it can be difficult to keep track of the newest requests to come in because I cannot sort the full requests list by date.
Describe the solution you'd like
I'd love to see more sorting options on that page, but addin the ability to sort the requests by newest or oldest would be a very helpful starting point.
Describe alternatives you've considered
n/a

Currently request time / date is not stored, we will add this info and give it some time to become standard and then allow sorting by date

Following up on this again...maybe I'm the only one, but I'd find it so helpful to be able to see the request date and sort by it.

Yes this is part of the new build we're working on already now.

That's great news! Can't wait to see it.


Thingpulse ePulse Feather & Adafruit LoRa Radio FeatherWing Battery Power Stability

The Thingpulse ePulse Feather & Adafruit LoRa Radio FeatherWing setup works as expected when powered via USB port.
When powered from the battery connector (CN1 in the schematic - net label VBAT), the brownout detection is triggered after initialization of the LoRa radio in case the battery voltage is below ~4.0 V. This is indicated by the message Brownout detector was triggered in the serial console.
Adding a small electrolytic capacitor (0.22 or 2.2µF) to either VBAT, VBUS or 3V3 [with jumper wires] did not solve the issue.
It it is expected that operation from a lithium-ion battery is possible at least down to ~3.6 V.

@marcelstoer Any ideas about how to resolve this?

Solved
The issue was caused by an ampere-meter in-line with the lab power supply. (Old Metex M-3650CR - unfortunately, the impedance is not provided in the manual.)
However, the same setup did not cause any issues with the other ESP32 boards I tested. So, the power supply impedance seems to be more critical in this case. It should not be an issue with a battery directly connected, but might for instance have to be checked with a PV charger's output.