Artificial information

We just discussed the artificial information problem and illustrated it

So, ideally, one would have an original dataset (blue), analyse the information, bitround it and obtained a bitrounded dataset (red) such that the information is simply truncated at the, e.g. 99% threshold. However, most climate does not come in full precision but is already quantized (orange). E.g. all data from ECMWF is quantized, inclusing ERA-5, which is very popular and probably the most downloaded climate dataset out there. Having only quantized data, dequantization often creates artifical information which complicates the analysis and especially poses users of xbitinfo with the problem of "what is that" and we would need to explain artificial information and how to circumvent or avoid this problem when assessing the number of keepbits.
There might be several solutions to this problem, illustrated here are two:

If the data comes quantized actually do the information analysis in the quantized integers (and not in floats after dequantization) obtain some keepbits wrt the integer encoding and translate them to an error (relative/absolute) that could then be translated to keepbits for floating point numbers. How well this works, we don't know but it would be awesome to test.

Given an original dataset we have the true information distribution at hand (purple line), meaning that if we obtain artificial information information there might be a way of correcting that. For example, there might be some simple way of flagging some information as artificial, so it an be removed and then obtain the keepbits from there. Maybe that's a good supervised learning problem to find a function that maps real + artifical information (black) to real information only (purple). This would be another way of addressing the problem.

I am interested in working on this problem. I did come across it on the GSoC ideas page. Can someone help me understand what is the current status of this problem statement with #234 in place. What is the future work targeted here to extend the project ?

Hi @faze-geek,
#234 is a first implementation to filter artificial information but it needs more robust testing and might not work in all cases. We would like to extend this filter by another one that is derived from information theory and that is less subjective on thresholds and can be mathematically be proven to be generally applicable.
(cc @milankl )

We tried possibility 2 from the graph above, which is trickier than we thought, because the "somehow" isn't well constrained and so it doesn't generalise as easily. We haven't tried possibility 1 yet, which I hope would be more promising.

Dequantizing works well. Try something like
import numpy as np

def dequantize(array, sig_fig):
    a = 0.5 * 10**sig_fig
    noise = np.random.uniform(-a, a, size=array.shape)
    return array + noise

ds = xr.tutorial.open_dataset("air_temperature")
ds['air'] = dequantize(ds['air'], sig_fig=-1)

I think we're talking in different directions here. Dequantizing is what can cause the artificial information in the first place?

Ah, sorry for walking in without the correct context. I meant that the function above is a simple way to transform the black line into the purple line:

Starting with the quantized data (10.2) add some noise (10.2 + 0.01023461230874), then compute the mutual information.

I played around with this a little out of curiosity. I think it is possible to expand on the idea of @thodson-usgs a bit, considering how the quantization is done.
Assuming the scaling factor for quantization is derived as
$$s=\frac{2^n-1}{max(data) - min(data)}$$ where $n$ is the number of bits of the quantized data, i.e. 16 in the case of uint16/int16, as is common for GRIB files from the CDS for example. Consequently, the smallest difference that can actually be stored should be $\frac{1}{s}$ and all content below that is likely to be numerical noise.
One way forward I could see is to open the file in question as usual, read the scaling factor and the number of bits used to store the quantized data from the file metadata for each affected variable and then add noise that is maybe one order of magnitude smaller than the $\frac{1}{s}$ threshold to it for the determination of significant bits.
I hope I am not pointing out the obvious here; if so, sorry! I would be curious if there are any gaping issues in my logic or whether the general approach may be worth pursuing further. Some unstructured experiments and sample code can be found here: https://gist.github.com/JoelJaeschke/5951314b62e112b0ccbe98fe75b8b997

No it's absolutely possible to use information about the linear packing that was previously applied to set some bound on the precision instead of assuming that a float32 has full float32 precision. But I think it points to the same problem, you need to use some information before the decoding of the linear packing happened, that's why I thought why not directly compute the information content from the quantized uint values? That'll give you, say, 14 bits of the uint16 having information so you to chop those last two off if you want to stay in quantised space or if you want to decode back to floats you can translate that to keepbits. In this case $4/s$ because you have $n=14$ bits not $n=16$.

It does make sense what you are suggesting and have played around with this some more, using some ERA5 wind speed data. When running get_keepbits on the dequantized field, I get a value of zero keepbits and can see the artificial information in the tail of the mantissa bits. For the remaining steps, assume that $$x_\text{dequantized} = \text{scale}\cdot x_\text{quantized} + \text{offset}.$$
I don't know if you already have some idea in mind about translating the keepbits from quantized space to dequantized space again, so I thought about the following. The smallest change in dequantized space we can resolve is the scale parameter itself. So if we get $n_\text{quant}$ keepbits in quantized space, and assume $16$ bits for the storage, as you say, we can at best resolve $$2^{16-\text{n}_\text{quant}}\cdot\text{scale}$$ in dequantized space.
To translate the integer keepbits to float keepbits, I thought about the following: Assuming the full integer range is used for the quantized storage, i.e. the maximum dequantized value is $$max(x_\text{dequantized})=32767\cdot \text{scale} + \text{offset},$$ we can derive the previous- and next-closest power of two for the maximum dequantized number, $x_\text{dequan,p}$ and $x_\text{dequan,n}$. To derive the available float precision, $p_\text{f}$, we know that we can view the mantissa bits as an "interpolation" between the previous and next power of two of a floating point number, so we get $$p_\text{f}=\frac{x_\text{dequan,n} - x_\text{dequan,p}}{2^{23}}$$ in the case of float32 at the maximum dequantized value. However, in reality $p_f \gg p_r$, where $p_r$ is the "real" precision necessary due to quantization. We can now solve for $p_r$, using $p_r \approx \text{scale}$, and get $$n_r \approx ceil(log_2\left(\frac{x_\text{dequan,n} - x_\text{dequan,p}}{\text{scale}}\right))$$ for the number of keepbits in floating point space, $n_r$. This way, the floating point numbers have at least as much precision as the resolvable scale of the truncated quantized values.
I have not really given any thought to the error bounds, however, one thing that came to mind is that the error will likely vary in dequantized space, due to the inhomogeneous distribution of floating point numbers. Taking the example of wind speed again, near the surface, values may be on the order of $10~\text{ms}^{-1}$, while at high altitude, they may be at the order of $100~\text{ms}^{-1}$. Considering floating precision again and setting $n_r=10$ for the example, near the surface, we may get a precision of $$\frac{16-8}{2^{10}}=0.0078125,$$ whereas at high altitudes, we get $$\frac{128-64}{2^{10}}=0.0625,$$ so almost an order of magnitude less precision after the comma. As the relative error remains about the same I think, which I suppose is what most people are interested in anyways, this should be fine I guess?
Again, I hope I am not stating the obvious here, but do you see issues with this?


Add reverse easing

I add reverse easing. I think it's a pretty nice feature :heavy_check_mark:

Hi there,
Sorry for the delay, but thanks for your PR!
I tried to evaluate to pro and cons about adding reverse animation functions. I can understand for some use-cases but it's really rare. Plus it makes the code less DRY. To be honest, I would prefer a section in the hacks.md and show how to do it with basic methods and function (x) {return 1 - Vivus.EASE(x);} callback.
If you fancy adding it, I can help you with it :)
I'm sorry to close your PR, but thanks for your work (you also thought about updating the tests).


feat: 5205 - added 4 links to prices app

What
cf. @teolemon in https://github.com/openfoodfacts/smooth-app/pull/5317#issuecomment-2142055700

"Latest Prices added" >> https://prices.openfoodfacts.org/app/prices
"Top price contributors" >> https://prices.openfoodfacts.org/app/users
"Stores with the most prices" >> https://prices.openfoodfacts.org/app/locations
"Products with the most prices" >> https://prices.openfoodfacts.org/app/products

Screenshot

Part of

#5210
#5198

Codecov Report
Attention: Patch coverage is 0% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 7.64%. Comparing base (4d9c7fc) to head (d32bab3).
Report is 158 commits behind head on develop.

Files
Patch %
Lines

...ib/pages/preferences/user_preferences_account.dart
0.00%
18 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5329      +/-   ##
==========================================
- Coverage     9.54%   7.64%   -1.91%
==========================================
  Files          325     370      +45
  Lines        16411   18697    +2286
==========================================
- Hits          1567    1430     -137
- Misses       14844   17267    +2423

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thank you @teolemon for your review!

👍 in a further iteration, we'll try to get icons. The whole contribution screen eventually should get more playful

Definitely. Here I was in a "better than nothing" x "quick win" mode.


update read me to become more user-friendly

add agenda,
add list and drop down blocks to usage examples section
I add it because it is difficult and a bit boring to scroll all the usage examples list when u want to find something in particular. Hope it will be helpful :)

Hello @Daltron !
Are u interesting in this pull request?
I don't see any conflicts or comments from u


4.0 => deprecation + alias to postcss-preset-env ?

@jonathantneal What about deprecating cssnext in favor of postcss-preset-env ? I just heard about this and I guess you will agree since you have full right on this repo but preferred to start a new thing that achieve the same goal.

@jonathantneal what would you prefer?
Do you plan to make a website like cssnext have? Are you interested in doing the same kind of doc if we go for cssnext becoming an alias?
Do you like cssnext name or you prefer preset-env?

@MoOx : I'm integrating postcss-preset-env into our codebase right now after having just upgraded to Babel v7. Assuming postcss-preset-env is intended to work the same as Babel's babel-preset-xxx presets, I like the naming convention postcss-preset-env.
This may be my JS bias (more JS experience than CSS), but I feel like the postcss-preset-env naming convention takes a bit of cognitive load off while I'm trying to figure out how to integrate this tool and what it's intended to do, just because it's already familiar to me. cssnext doesn't mean anything specific to me; postcss-preset-env tells me "this is a bunch of plugins that integrate with the rest of my tooling."
Just my 2¢. 😀

It’s a big undertaking to update the website. However, the CHANGELOG one would expect if upgrading from postcss-cssnext to postcss-preset-env as if it were the v4 major update would be:
Removed:

autoprefixer (or should this be included by default, @ai?)
pixrem (generates pixel fallbacks for rem units)
postcss-calc (reduces calc, not really a polyfill)
postcss-color-function (color() is now color-mod())
postcss-color-rgba-fallback (IE8 fallback for alpha colors)
postcss-pseudoelements (IE8 fallback for : => :: pseudos)

Added:

postcss-color-mod-function (color() is now color-mod())
postcss-dir-pseudo-class (:dir(ltr) and :dir(rtl) directional selector)
postcss-focus-visible (requires WICG focus-visible js polyfill)
postcss-focus-within (requires focus-within js polyfill)
postcss-logical (new margin-block, inset, etc. directional properties)
postcss-page-break (fallback break- properties with page-break- alias)

Available but inactive by default (Stage 3+ is active by default):

postcss-color-rgb (Stage 2)
postcss-custom-media (Stage 2)
postcss-custom-selectors (Stage 2)
postcss-nesting (Stage 1)
postcss-apply (Rejected as a standard)

I think Autoprefixer shoud be in it. It is future CSS writing today :)

One thing I am thinking about: why removing old stuff like pseudoelements or pixrem? This should be disabled by browserslist right? Are you going to keep removing "old" stuff regularly?

@MoOx, that’s a fair question. I set CSS3 as a baseline and removed plugins targeting browsers below that baseline. Things like pseudo-elements impact IE8, but so do media queries, rem, nth-child, etc. It seemed like those kinds of polyfills should be moved into something legacy (like oldie). Plus, there are other transformations one may need to support those browsers, anyway:
postcss-unmq (to selectively remove @media queries)
postcss-unnot (to selectively remove :not selectors)
postcss-unnth (to remap :nth-child selectors)
postcss-unopacity (to write fallbacks for opacity)
postcss-unroot (to write fallbacks for :root)

I will take care of this issue and deprecated postcss-cssnext soon.
I just want to do this with the right amount of time to make this right.  Or nothing more than the README? (just to know)

I would love to build a website, but my first commitment is to stability, so I haven’t had time for marketing material. I will put something up on Twitter

I think Autoprefixer should be in it.
For me it will be easier to use preset-env and autoprefixer as separate packages.
They have different purposes: Autoprefixer is about prefixes, and preset-env is about polyfills.
Also there are a lot of tools that include Autoprefixer (like cssnext, cssnano, etc.), and when I have to combine them, they do double work.
Also for now there is an issue, that cssnano uses outdated autoprefixer version, and a lot of tools relies on cssnano, and when i try to use modern Autoprefixer features like browserslist not dead, my build fails.
Not including Autoprefixer should prevent all these issues :)

At this point, we are just waiting on a postcss-preset-env website, which is being actively worked on by others. I haven’t had any hours to put toward it, except on weekends. When that is ready, I think we should:

publish a new major release that aliases postcss-preset-env (perhaps defaulting to stage 0)
immediately publish an npm deprecation notice

How does this sound?

Yep. Will add a banner on cssnext website and redeprecate cssnext package in addition to postcss-cssnext. Will also tweet and write a blog post about it.

Good. Nice! That's great!
I will deprecate cssnext as soon as I have some time available!

What’s our timeline, @MoOx? Would it help if I applied a deprecation notice?

This week. I am preparing a blog post about it and it will be good. Stay tuned :)

On it.

@jonathantneal I think you should add on the homepage of your website the stage configuration. I don't find how to configure this on the website.

I have added a npm notice and a banner on the website that say

postcss-cssnext has been deprecated in favor or postcss-preset-env. Read more at https://moox.io/blog/deprecating-cssnext/

Tell me if that ok. I will close all issue and warn about this on twitter etc.


Show number of registered events in a small span/div beneath the group picture

write a function to calculate the number of events (#numOfEvents)  a client is registered to. Then, print the number in a custom font, just under the group's picture. It is recommanded to open a class with two or three sets of colors for that.

almost finished, just need to update the text color dynamically, link to the commit:
 here


speed improvement in inflation

This add minor optimizations that in my test increase the speed of inflate by 20%.

Gentle reminder


[Time-limited Permissions] Expired state

As suggested in the open questions, I would reset the permission state to "prompt" when the permission expires.

That’s the way I’m leaning as well, but I am also open to developer feedback on potential use cases for “expired.”

As an author, I could leverage the expired state to provide an alternate UI to the user.
However, is there a chance this extra state is unhandled in existing code out there? Assuming an user can audit their permissions, and change them to temporary ones, a website that has never requested a time-limited permission, nor knows of its existence, might break.

However, is there a chance this extra state is unhandled in existing code out there?

It’s a concern for sure. I would suggest we work with libraries on that. The permissions API is pretty new, so I don’t imagine there is a ton of legacy code to be concerned about. But libraries…

After discussing a bit more, we are leaning toward removing "expired" (because it is a potential fingerprinting vector) and the permission will reset to "prompt". This will be reflected in a forthcoming update to the explainer.


Add eslint-config-google and fix eslint errors

Description
Use eslint-config-google but disable jsdoc and es6 rules. Tests are exempted and es6 rules are explicit enabled since we use es6 there.
Purpose
Adhere to the google style guide.
Note: This is not rebased with the latest changes yet, will do once it's ready before submitting this.

instead of using eslint to fix var -> let i'd rather use https://github.com/cpojer/js-codemod#no-vars in test/

What's the benefit of codemod over eslint? Smarter logic like being context aware?

it uses const for things which (in its opinion) are not modified. And its fairly good with that


asciidoc files are not detected in the asciidoc root folder mentioned

Hi @nomisp ,
Greetings,
So I am trying to publish to my company's infohub but I am getting the error as always with below error:
> Task :publishToConfluence
Caching disabled for task ':publishToConfluence' because:
  Caching has not been enabled for the task
Task ':publishToConfluence' is not up-to-date because:
  Task has failed previously.
Converting into: C:\Users\sudu273103\EB_Workspace\Asciidoc_work\Learning_Asciidoc\build\docs\confluence
Publishing to Confluence failed: Attachment 'handbook.adoc' does not exist

The handbook.adoc file is already present in that source directory.
├── docs
│   └── confluence
│       ├── assets
│       │   └── b687ec05811a37ea2f0220e87821e447c4686ed484452e138b937d176e35ecf9
│       │       └── handbook.html
│       └── templates
│           ├── _toc.html.slim
│           ├── block_admonition.html.slim
│           ├── block_example.html.slim
│           ├── block_image.html.slim
│           ├── block_listing.html.slim
│           ├── block_olist.html.slim
│           ├── block_paragraph.html.slim
│           ├── block_table.html.slim
│           ├── block_toc.html.slim
│           ├── block_ulist.html.slim
│           ├── embedded.html.slim
│           ├── helpers.rb
│           ├── inline_anchor.html.slim
│           ├── inline_image.html.slim
│           └── section.html.slim
└── preprocessed-doc
    ├── handbook
    │   ├── validation-verification
    │   │   ├── Master-test-plan.adoc
    │   │   ├── SW-integration-test-plan.adoc
    │   │   ├── SW-qualification-test-plan.adoc
    │   │   ├── SW-unit-test-plan.adoc
    │   │   └── img
    │   │       ├── TC_automation_phases.png
    │   │       ├── TC_execution_status.png
    │   │       ├── TC_reaction_on_fail.png
    │   │       ├── TC_review.png
    │   │       ├── bug_labels.png
    │   │       ├── cadian_architecture.png
    │   │       ├── change_request_behavior_change.png
    │   │       ├── change_request_feature_removal.png
    │   │       ├── change_request_new_feature.png
    │   │       ├── cybersecurity-relevant_processes.png
    │   │       ├── spice_vmodel.png
    │   │       ├── testlab.png
    │   │       └── unit_test.png
    │   └── validation-verification.adoc
    └── handbook.adoc

My build.gradle file looks like:
plugins {
    id 'org.asciidoctor.jvm.convert' version '3.3.0'
    id 'org.asciidoctor.jvm.pdf' version '3.3.0'
    id 'ch.nomisp.confluence.publisher' version '0.2.0'
}

repositories {
    mavenCentral()
}

def documentationResources = copySpec {
    from("doc") {
        include '**/*.png'
        include '**/*.svg'
        include '**/*.pptx'
        include '**/*.pdf'
        include '**/*.md'
        // The following resources are added so that part of the "compliance checking tools" can be
        // used as part of the documentation, e.g. the files which define exceptions to the SCMP.
        include '**/*.py'
        include '**/*.ini'
        include '**/*.cfg'
        include '**/*.yaml'
    }
}

task copyImagesAndFiles(type: Copy) {
    into "$buildDir/preprocessed-doc"
    with documentationResources
}

task preprocessAsciiDoc(type: Copy) {
    from 'doc'
    into "$buildDir/preprocessed-doc"
    include '**/*.adoc'
    eachFile { FileCopyDetails fcd ->
        filter(org.apache.tools.ant.filters.ConcatFilter, append: file("src/asciidoc/github-backlink-footer.adoc"))
        filter(org.apache.tools.ant.filters.ReplaceTokens, tokens:[sourcepath: fcd.getSourcePath()])
    }
}

asciidoctor {
    sourceDir file("$buildDir/preprocessed-doc")
    outputDir file('build/docs')

    resources {
        with documentationResources
    }
}
asciidoctor.dependsOn preprocessAsciiDoc, copyImagesAndFiles

confluencePublisher {
    asciiDocRootFolder = asciidoctor.sourceDir
    rootConfluenceUrl = 'infohub_URL'
    spaceKey = 'sudu'
    ancestorId = '286398996'
    username = 'sudu273103'
    password = 'Password'
    notifyWatchers = false
}

publishToConfluence.dependsOn preprocessAsciiDoc, copyImagesAndFiles

Also could you tell me how to add values to parameters like publishingStrategy  and orphanRemoval ? Looks they need enum and doesn't takes string.
Thanks,

Hi @suvadip-shuvs
Could you provide me the stacktrace so that I can have a deeper look?
At a first glance it seems to me that there's a problem with the copying of the resources. You have to take care, that the source and output directories are not changed by other tasks. That could lead in problems with the up-to-date check of the publishToConfluence task.
Also it looks a bit strange to me that your asccidoc sources are located in the buildDir.
Concerning the publishingStrategy and orphanRemovalStrategy it's described in the User Guide.
eg. in your build.gradle
import org.sahli.asciidoc.confluence.publisher.client.OrphanRemovalStrategy
confluencePublisher {
   ...
   orphanRemovalStrategy = OrphanRemovalStrategy.KEEP_ORPHANS
}

Regards
Peter

Hi @nomisp ,
Thanks for the help on OrphanRemovalStrategy and publishing strategy.
I will close this issue since it seems I had some issue with the asciidoc files.
I am able to use your plugin properly and must say has been a great help.
Thanks Peter once again for this good work.


Private messages not showing up reliably..?

Hey there,
I'm connected to the official bridge, and I have the issue that most private messages don't show up reliably.
As for which debug information to attach, I'm a bit uncertain what would help?. Here are the logs (log file output vs copypaste from the browser).
https://gist.github.com/manavortex/e8cd6c74d4ed85c00800e8be60010572
Edit: It's probably worth mentioning that so far anything including an @manavortex always came through.

Related to https://github.com/gitterHQ/irc-bridge/issues/83

Also noticed today that a new private chat window is not opened when someone sends me a private message for the first time.


Unintuitive vertex movement for point outside canvas

While annotating an image, if you go outside the image boundary, the box shape changes rather unintuitively. It uses the projection of the outside point on the edges of the image.
This behaviour is illustrated here:

It seems odd that the value of x axis changes when you're dragging your mouse through y axis (and vice versa).

Not sure if it is good as I don't try it out. Let's merge first to see the feedback from others. Thanks


Improve deepaas-cli for OSCAR integration

Hi @vykozlov ,
I have modified the deepaas-cli to prepare it to support OSCAR calls in the services deployed with PAPI.
Main changes:

fix error when field had no description
support for multiple file fields (reading fields.Field instead of using the field files name)
fix support for lists, bools and dict
improve help message

All these changes have been thoroughly tested with the demo_app which is using a wide variety of inputs.
This PR won't be merged right away (few tests still need to be done from OSCAR side), but it's mainly in a final shape.
Do the changes look good to you?

Hi @IgnacioHeredia
thanks for updating, I will have a look, though need some time to refresh my memory :-)
One quick comment: if I recon correctly, "fields.Field" is a general class and we can't assume by default that every "fields.Field" is a file (function _get_file_args())

Hi @vykozlov ,
I agree, but there does not seem to be a field specific for files.
>>> dir(marshmallow.fields)
['And', 'AwareDateTime', 'Bool', 'Boolean', 'Constant', 'Date', 'DateTime', 'Decimal', 'Dict', 'Email', 'Enum', 'EnumType', 'Field', 'FieldABC', 'FieldInstanceResolutionError', 'Float', 'Function', 'IP', 'IPInterface', 'IPv4', 'IPv4Interface', 'IPv6', 'IPv6Interface', 'Inferred', 'Int', 'Integer', 'Length', 'List', 'Mapping', 'Method', 'NaiveDateTime', 'Nested', 'Number', 'Pluck', 'Raw', 'RemovedInMarshmallow4Warning', 'SchemaABC', 'Str', 'String', 'StringNotCollectionError', 'Time', 'TimeDelta', 'Tuple', 'URL', 'UUID', 'Url', 'ValidationError', '_Mapping', '_T', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'annotations', 'class_registry', 'collections', 'copy', 'decimal', 'dt', 'ipaddress', 'is_aware', 'is_collection', 'math', 'missing_', 'numbers', 'resolve_field_instance', 'types', 'typing', 'utils', 'uuid', 'validate', 'warnings']

Given that every other data type has it's own field type, I think it's fair to asume that we reserve fields.Field() for files. In fact that's already the default behaviour for deepaas: fields.Field arg is translated to a browse-file button in the Swagger UI.


deployment target is 9.1

Module file's minimum deployment target is ios9.1 v9.1: /Carthage/Build/iOS/DeviceKit.framework/Modules/DeviceKit.swiftmodule/arm64.swiftmodule
Could you change the deployment target to 8.0 as indicated in the README, so someone could use the Carthage version for projects which should support iOS version before 9.1?
Thanks!

🙊 Sorry for this! Thanks for reporting! I've just published a new release (0.1.1). Could you verify that it's working for you? Thanks! :)

Works for me :+1: , thanks for the quick fix

Perfect! :) thanks for using it :)


[0.9.40] Weights v2 - Include WeightToFee on XCM Trader

At the moment the XCM Trader configuration at Trappist looks like this:
	type Trader = (
		FixedRateOfFungible<XUsdPerSecond, ()>,
		UsingComponents<WeightToFee, SelfReserve, AccountId, Balances, ToAuthor<Runtime>>,
	);

The UsingComponents trait looks all right and it shouldn't bring any incompatibilities when we migrate to XCM v3/Weights v2.
But i would like to point out the  impl FixedRateOfFungible<XUsdPerSecond, ()>, specially the XUsdPerSecond.
Let's take a look at how FixedRateOfFungible is defined:
/// Simple fee calculator that requires payment in a single fungible at a fixed rate.
///
/// The constant `Get` type parameter should be the fungible ID, the amount of it required for one
/// second of weight and the amount required for 1 MB of proof.
pub struct FixedRateOfFungible<T: Get<(AssetId, u128, u128)>, R: TakeRevenue>(
	Weight,
	u128,
	PhantomData<(T, R)>,
);
impl<T: Get<(AssetId, u128, u128)>, R: TakeRevenue> WeightTrader for FixedRateOfFungible<T, R> {
	fn new() -> Self {
		Self(Weight::zero(), 0, PhantomData)
	}

	fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {
		log::trace!(
			target: "xcm::weight",
			"FixedRateOfFungible::buy_weight weight: {:?}, payment: {:?}",
			weight, payment,
		);
		let (id, units_per_second, units_per_mb) = T::get();
		let amount = (units_per_second * (weight.ref_time() as u128) /
			(WEIGHT_REF_TIME_PER_SECOND as u128)) +
			(units_per_mb * (weight.proof_size() as u128) / (WEIGHT_PROOF_SIZE_PER_MB as u128));
		if amount == 0 {
			return Ok(payment)
		}
		let unused =
			payment.checked_sub((id, amount).into()).map_err(|_| XcmError::TooExpensive)?;
		self.0 = self.0.saturating_add(weight);
		self.1 = self.1.saturating_add(amount);
		Ok(unused)
	}

	fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {
		log::trace!(target: "xcm::weight", "FixedRateOfFungible::refund_weight weight: {:?}", weight);
		let (id, units_per_second, units_per_mb) = T::get();
		let weight = weight.min(self.0);
		let amount = (units_per_second * (weight.ref_time() as u128) /
			(WEIGHT_REF_TIME_PER_SECOND as u128)) +
			(units_per_mb * (weight.proof_size() as u128) / (WEIGHT_PROOF_SIZE_PER_MB as u128));
		self.0 -= weight;
		self.1 = self.1.saturating_sub(amount);
		if amount > 0 {
			Some((id, amount).into())
		} else {
			None
		}

in the buy_weight function, this is calculation what makes the charges the fee specifically:
let (id, units_per_second, units_per_mb) = T::get();
		let amount = (units_per_second * (weight.ref_time() as u128) /
			(WEIGHT_REF_TIME_PER_SECOND as u128)) +
			(units_per_mb * (weight.proof_size() as u128) / (WEIGHT_PROOF_SIZE_PER_MB as u128));
		if amount == 0 {
			return Ok(payment)
		}

But if we come back as how XUsdPerSecond is defined, we can get the following:
	pub XUsdPerSecond: (xcm::v3::AssetId, u128, u128) = (
		MultiLocation::new(1, X3(Parachain(1000), PalletInstance(50), GeneralIndex(1))).into(),
		default_fee_per_second() * 10
	);

We can see the following definition for default_fee_per_second() :
	pub fn default_fee_per_second() -> u128 {
		let base_weight = Balance::from(ExtrinsicBaseWeight::get().ref_time());
		let base_tx_per_second = (WEIGHT_REF_TIME_PER_SECOND as u128) / base_weight;
		base_tx_per_second * base_tx_fee()
	}

The problem we have with this logic is that ExtrinsicBaseWeight is hardcoded to return 0  for the proof_size:
parameter_types! {
	pub const ExtrinsicBaseWeight: Weight =
		Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(113_638), 0);
}

So we could just solve this by simply adding 0 to the XUsdPerSecond and leave the default impl of FixedRateOfFungible to calculate the fee in base of the formula shared above.
Or we could follow Statemine guidelines, where they are using the TakeFirstAssetTrader instead of FixedRateOfFungible.
I will not share all the steps to get into the fee translation formula, but the TakeFirstAssetTrader ends up calculating the amount of the fee with this line:
		let asset_balance: u128 = FeeCharger::charge_weight_in_fungibles(local_asset_id, weight)

Where FeeCharger::charge_weight_in_fungibles(local_asset_id, weight) is the WeightToFee::weight_to_fee from the WeightsToFee implementation:
	fn charge_weight_in_fungibles(
		asset_id: <pallet_assets::Pallet<Runtime, AssetInstance> as Inspect<
			AccountIdOf<Runtime>,
		>>::AssetId,
		weight: Weight,
	) -> Result<
		<pallet_assets::Pallet<Runtime, AssetInstance> as Inspect<AccountIdOf<Runtime>>>::Balance,
		XcmError,
	> {
		let amount = WeightToFee::weight_to_fee(&weight);
		// If the amount gotten is not at least the ED, then make it be the ED of the asset
		// This is to avoid burning assets and decreasing the supply
		let asset_amount = BalanceConverter::to_asset_balance(amount, asset_id)
			.map_err(|_| XcmError::TooExpensive)?;
		Ok(asset_amount)
	}
}

	pub struct WeightToFee;
	impl frame_support::weights::WeightToFee for WeightToFee {
		type Balance = Balance;

		fn weight_to_fee(weight: &Weight) -> Self::Balance {
			let time_poly: FeePolynomial<Balance> = RefTimeToFee::polynomial().into();
			let proof_poly: FeePolynomial<Balance> = ProofSizeToFee::polynomial().into();

			// Take the maximum instead of the sum to charge by the more scarce resource.
			time_poly.eval(weight.ref_time()).max(proof_poly.eval(weight.proof_size()))
		}
	}

This new WeightToFee struct for weights V2 is basically taking  the maximum instead of the sum to charge by the more scarce resource, as the comment mentions.
All the development to this new struct on Statemine can be followed here:
https://github.com/paritytech/cumulus/issues/2322
https://github.com/paritytech/substrate/pull/13612
https://github.com/paritytech/cumulus/pull/2326
Also @kalaninja this PR might be interesting for you since you are working with benchmarking atm: https://github.com/paritytech/cumulus/pull/2344
So after all the explanation we have one decision to make:
Should we keep the FixedRateOfFungible and we provide 0 for the proof_size for simplicity sake or should we follow Statemine and rely on the new WeightToFee struct that takes the MAX of both values? My vote goes for the second option.
Then i think that we should adapt the new WeightToFee as it is defined in here:
https://github.com/paritytech/cumulus/blob/master/parachains/runtimes/assets/statemine/src/constants.rs#L57
CC: @stiiifff @valentinfernandez1 @kalaninja

Related: https://github.com/paritytech/trappist/issues/164

I've been looking into the implementation made in paritytech/substrate#13612 and i agree that the way WeightToFee is structured is better but it ends up having the same result at least with the current way WeightsV2 is working.
Even taking a look at benchmarks of write-heavy extrinsics in many substrate pallets, the proof_size seems to always be smaller than the ref_time by an order of 10^4. Egg from the contracts pallet:
fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight {
	// Proof Size summary in bytes:
	//  Measured:  `270`
	//  Estimated: `8659`
	// Minimum execution time: 3_159_921_000 picoseconds.
	Weight::from_parts(594_826_134, 8659)
        ....
}

So comparing both to get the higher value will end up resulting 99.99% of the times in the return of ref_time only adding additional irrelevant calculations.
I agree that FixedRateOfFungible should be removed in favor of TakeFirstAssetTrader but the WaightToFee passed to it should be reconsidered or left with the current implementation, as it achieves the same objective.

@hbulgarini @valentinfernandez1 We can close this one, right ?


Multi-select in queue for reordering

Description
Like in ncmpcpp, it would be useful to select multiple tracks to move up and down the current queue.
Proposed solution
Use the same multiple selection as in the other tabs to pick tracks in the current queue, and allow movement of these tracks in the queue.

Sounds good!

Implemented in https://github.com/mierak/rmpc/pull/156 and available on build from master. I will improve on this in future as well.


Rename project

This PR introduces the following modifications:

Rename the project to BipedalLocomotionFramework
Rename the namespaces (Cpp and CMake) to BipedalLocomotion
Adds a target called BipedalLocomotion::Framework and a file BipedalLocomotion/Framework.h to rule them all
Some small cleanup of things I noticed on the way

I don't know how to test the Framework target within this repo though.
Closes #38

I don't know how to test the Framework target within this repo though.

There is no test written, probably we should also think to remove it because as @traversaro suggested in https://github.com/dic-iit/bipedal-locomotion-controllers/pull/6#issuecomment-569650107, it may create problems in the long run.

If you agree I can merge the PR. Thanks for working on this!

There aren't any tests written, probably we should also think to remove it because as @traversaro suggested in #6 (comment), it may create problems in the long run.

Looking at the comment, I have some doubts. Since it is an interface library, it should not increase the compilation time of this repo right? Instead, if another library uses this target, it may link libraries that are not used in practice, but this is the same as using the variable BipedalLocomotionFramework_LIBRARIES. Am I missing something?

If you agree I can merge the PR. Thanks for working on this!

Actually, I forgot to update the README and the Changelog :sweat_smile:

I changed the link to the documentation too, but I realized I did not change the docs. @GiulioRomualdi how can we proceed?

There aren't any tests written, probably we should also think to remove it because as @traversaro suggested in #6 (comment), it may create problems in the long run.

Looking at the comment, I have some doubts. Since it is an interface library, it should not increase the compilation time of this repo right? Instead, if another library uses this target, it may link libraries that are not used in practice, but this is the same as using the variable BipedalLocomotionFramework_LIBRARIES. Am I missing something?

The all target is indeed equivalent (and actually better) of using the BipedalLocomotionFramework_LIBRARIES . The comment that linking single libraries is more efficient/could make sense to document would applies to BipedalLocomotionFramework_LIBRARIES-style libraries.

I changed the link to the documentation too, but I realized I did not change the docs. @GiulioRomualdi how can we proceed?

Don't worry as soon as we merge the PR I will change the Doxygen file and the correlated files in gh-pages branch

However, note that the comment in #6 was referring more to the single include, not to the single target to link.

Ah, I see. Indeed, the Framework target was meant only to have that umbrella header. I sort of like what it is done in Eigen with Eigen/Dense, for example (even if it is a completely different beast). What do you guys suggest then, I can remove it if you like.

Don't worry as soon as we merge the PR I will change the Doxygen file and the correlated files in gh-pages branch

Great thanks.

However, note that the comment in #6 was referring more to the single include, not to the single target to link.

Ah, I see. Indeed, the Framework target was meant only to have that umbrella header. I sort of like what it is done in Eigen with Eigen/Dense, for example (even if it is a completely different beast). What do you guys suggest then, I can remove it if you like.

For me it is ok to have it (as it is indeed quite convenient for examples and copy&paste), I think we should mention in any docs that including the single headers may be more efficient, but just one liner in the docs it is ok.

It's ok also for me. @S-Dafarra can I merge it?

It depends on whether we want to add the mention of the single header within this PR. Otherwise, yes, we can merge :wink:

It depends on whether we want to add the mention of the single header within this PR. Otherwise, yes, we can merge

Yes you are right if you agree you can add a small comment in the readme
In the documentation I already added something related to the BipedalLocomotionControl target (now called framework)

Yes you are right if you agree you can add a small comment in the readme

Sounds great!

I added a footnote to the README. Ready to merge.

Thank @S-Dafarra, I am merging the PR then:

I will change the name of the repo
I will update the documentation


Eng conj "can" becomes "canned" instead of "could" in the past

There are two verbs "can"

can : which means "able to". The past is "could"
can: which means "put in a can". The past is "canned"

The first one is more used and known than the last; this is why we chose to use it instead
https://www.merriam-webster.com/dictionary/can

Salam. In your conjugator "can" becomes "canned" instead of "could".
So I'm not sure what you mean by saying that you have chosen the more popular meaning.

Salam,
Apparently, I changed something in the code which led to this issue.
Thank you for reporting.
The issue will be fixed ASAP

The problem has been fixed (here and in jslingua.web)
The package will be fixed in the next release
Thank you for reporting


Do not use cluster-admin for LDAP group sync

The implementation in #1 uses the role cluster-admin to give permission for the LDAP group sync. This is probably too much power.
Find the minimal required permission and use them instead of role clsuter-admin.

The docs explicitly state to use the cluster-admin role:

You must have cluster-admin privileges to sync groups.

https://docs.openshift.com/container-platform/4.4/authentication/ldap-syncing.html
Which kind of makes sense since adapting groups and users essentially grants cluster-admin anyways since one could add his user to a cluster-admin group anyways.
I'd propose to close this as "won't do".

I agree.


Sauter Cozytouch not working

Did you read the instructions?

[X] I have read the README, including the advanced debugging section.

The problem
I use Home Assistant 2023.1.2 and I would like connect my Sauter radiators.
I tried to do it with Overkiz intégration but I blocked to login page.
I select "Atlantic Cozytouch" for Hub and I put my email and password, but the error is : "Authentification non valide".
Do you have any idea ? I believe Sauter radiators was supported, may be I'm wrong.
Thanks
What version of this integration (ha-tahoma) has the issue?
latest
What version of Home Assistant Core has the issue?
core-2023.1.2
Which gateway / hub do you use?
Cozytouch
Device model
No response
Home Assistant log
No response
Additional information
No response

Now working. may be due to API trouble


Optimize CircleHash64 for OMT

Issue To Be Solved
Atree is currently using the unoptimized reference implementation of CircleHash64 (CIrcleHash64f by default).
Suggested Solution
Publish an optimized implementation of CircleHash64 that is 100% backward compatible with both API and digests (while keeping the reference implementation available for comparisons and audits).

Closed by CircleHash v0.2.0


Meeting (3/19/21)

The core contributors will hold a meeting on Friday, March 19th, 2021 at 7:30PM PST.
Agenda

Review the design document.
Demonstration of pulling a simple ticket off the project board.
Delegate tasks from the project board to the contributors.
Work on delegated tasks for the remaining time.
Questions; ask any questions to help with your understanding of the codebase/goals of the project.

Svelte questions
VSCode questions
Node/NPM questions
GitHub questions
TypeScript/JavaScript questions

React to this issue with a 👍 if you plan on attending.
See you there... 🚀

Meeting was adjourned at 8:34 PM.


Remove-NoTerm does not work .

cmd output >
Traceback (most recent call last):
File "edge.py", line 28, in
NameError: name 'silent_mode' is not defined
[2340] Failed to execute script 'edge' due to unhandled exception!

Updated, should be working!


Ultimate Update don't work in Firefox

Hi, with the last update, the connection in the client window stopped working when we used your Chrome plugin: WebRTC Screen Capturing, to share in Firefox.
That is, I as a server, activate the plugin to share my browser window (in Chrome). With the URL that shows the plugin if I share it with another person is not displayed in Firefox, however in the other browsers (Chrome, Edge), it works.

The source code is here:

https://github.com/muaz-khan/Chrome-Extensions/tree/master/desktopCapture-p2p

Yes. It is not yet compatible to Firefox and Safari. I'll fix shortly.


Update README.md: minor typo

Very minor typo:
kubernets -> kubernetes

Thanks you :)

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


Manual still references Deployment settings > Cloud page menu

Environment

Documentation version: 7.0
Part of the documentation: Manual
Existing page: https://doc.cuba-platform.com/manual-7.0/build.gradle_deployWar.html

Description of the bug or enhancement

The task can be configured using the Deployment settings > Cloud page in Studio.

Also, there is a Deployment to Jelastic page: https://doc.cuba-platform.com/manual-7.0/jelastic_deployment.html


Cluster Wildcard SSL Certificate Installation

Hi there,
I have a three-node Flynn cluster that was bootstrapped using the manual installation instructions. An A record for the domain name of cloud.mydomain.com correctly resolves to the three public IP addresses of the three nodes. Setting up the CLI tool to use the cluster worked, but we need to use our own SSL certificate for the custom domain, *.cloud.mydomain.com, we pointed to the cluster on AWS, not the generated self-signed one.
How do I install a wildcard SSL certificate on Flynn?
Thanks a bunch!

You can do something along the lines of this command to set the default certificate:
flynn -a router env set TLSCERT="$(cat cert-chain.pem)" TLSKEY="$(cat cert-key.pem)"

Note that currently this is a bit rough, so if the chain or key are mismatched or malformed the router may not come back up after reconfiguration and there is no easy way to fix this.

Thank you so much for your prompt response.
I attempted what you suggested on a fresh install of three nodes on AWS, and this is what I see:
$ flynn -a router ps
ID                                           TYPE  STATE  CREATED        RELEASE
flynn0-19d68a81-e717-48d2-b70c-3a286f0cfb6a  app   up     2 minutes ago  e69e6731-dcfd-4e4b-9d2c-d6459c37db33
flynn1-06e71c86-fd07-42b4-a8dd-9c59b7383f4b  app   up     2 minutes ago  e69e6731-dcfd-4e4b-9d2c-d6459c37db33
flynn2-a6300aee-c399-4f3e-a2f5-bf6028de317a  app   up     2 minutes ago  e69e6731-dcfd-4e4b-9d2c-d6459c37db33

$ flynn -a router env set TLSCERT="$(cat server.crt)" TLSKEY="$(cat server.key)"
Created release af9fcd2d-21f5-4a39-8b05-612f8f6cb5fd.

$ flynn -a router ps
ID                                           TYPE  STATE  CREATED             RELEASE
flynn0-9b0206e1-eea9-4aee-a39b-78e92a8dc07a  app   up     About a minute ago  af9fcd2d-21f5-4a39-8b05-612f8f6cb5fd
flynn1-90dae0dc-655b-4135-abea-f880b885b955  app   up     About a minute ago  af9fcd2d-21f5-4a39-8b05-612f8f6cb5fd
flynn2-ecf406ff-11b0-4925-9eba-21f808d2f034  app   up     About a minute ago  af9fcd2d-21f5-4a39-8b05-612f8f6cb5fd

$ flynn -a dashboard env set TLSCERT="$(cat server.crt)" TLSKEY="$(cat server.key)"
Created release 7c301686-317c-46ac-a8da-6a424e7f150e.

$ flynn -a dashboard ps
ID                                           TYPE  STATE  CREATED        RELEASE
flynn0-8fc62fdc-b935-4c8f-811f-793dbe856f91  web   up     2 minutes ago  7c301686-317c-46ac-a8da-6a424e7f150e
flynn1-9b1ccb6a-811f-491a-a1de-367560742a07  web   up     2 minutes ago  7c301686-317c-46ac-a8da-6a424e7f150e

So it looks like a new release was successfully created for the router and the dashboard. However, reloading the dashboard seems to still bring up the Flynn self-signed certificate.
If I list the apps deployed, this is what I see:
$ flynn apps
ID                                    NAME
94276611-f5a3-4f03-b728-b379d65be26f  status
798c8084-de50-480a-8a53-3b5169abcbb3  dashboard
bea74012-9ffd-4c7f-bb16-ac1ca061c79f  taffy
732e3889-e495-45ad-99c7-bd48e54438e1  logaggregator
36f9d337-15ec-4a5c-bc64-aa19983ca3d4  gitreceive
41e05c79-aa77-40dc-b4bd-25ebb11744b6  router
74aff026-ae9e-4b42-adc8-f48226c141c7  blobstore
c1384950-3a84-428c-86d7-f24bd59efb76  discoverd
a825e7c0-5e0f-4629-a40b-d2893ad8bf74  flannel
f06406c7-0989-4d09-a06a-bd0c8859017e  postgres
aac3c573-bc7c-412c-8889-8d14d2b35567  controller

Am I missing something?
Thanks again.

Those config variable will only set the fallback certificate, if there is a certificate specified for the route (as is the case with the dashboard) the fallback will not be used and you can change it with flynn route update. The fallback is used for routes where no TLS certificate is specified.

Got it. The router is indeed using the correct certificate to encrypt traffic to deployed applications, which is what we needed.
Thank you so much @titanous


main.py: Separate MR description from gerritlab metadata

Why:

It is a little confusing to have the gerritlab metadata presented alongside the MR description without any visual separation

What:

Add a horizontal line (---) to above the "Related MRs" section

Fixes #40
Change-Id: I6f7c48117fd8630b2f973d556859f4f7888c32c5

cc @dancysoft


UI settings inside .mawe file

We add certain UI settings to .mawe file, so that if you open the file, you can continue your work.

Also resolves #164


Rename Provider to ServerlessProvider

It has been suggested to renamed Provider to ServerlessProvider to avoid confusion with other providers in the Qiskit ecosystem. This issue is to discuss that topic.

If we are going to do a small release to include #944 , this would be another thing that would be straightforward to include -- assuming we want to go ahead with renaming this class.

Is this a new change? (we initially renamed to Provider in  #322 )

Yes, I think we should differentiate from other IBM providers -- and ServerlessProvider is an option we could use for now for the "default" provider option


[Feature] Cache GetReducerFileGroupResponse to avoid lifecycle manager oom.

[Feature] Cache GetReducerFileGroupResponse to avoid lifecycle manager oom.
What changes were proposed in this pull request?
Why are the changes needed?

What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
/cc @related-reviewer
/assign @main-reviewer

With same workload, I recorded the spark driver heap memory usage under different test scenario.
With Cache:

Without Cache:

Sounds reasonable, I’ll change it later.
在 2022年10月25日 +0800 18:08，Cheng Pan @.***>，写道：

@pan3793 commented on this pull request.
In common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala:

 .version("0.2.0")

 .doc("The max cache items count for rpc cache.")

 .intConf

 .createWithDefault(256)

val RPC_CACHE_CONCURRENT_LEVEL: ConfigEntry[Int] =
buildConf("celeborn.rpcCache.concurrent.level")

 .categories("client")

 .withAlternative("rss.rpc.cache.concurrent.level")

 .version("0.2.0")

 .doc("The number of write locks to update rpc cache.")

 .intConf

 .createWithDefault(32)

val RPC_CACHE_EXPIRE: ConfigEntry[Long] =
buildConf("celeborn.rpcCache.expire")
Ref: Spark has configuration key named spark.rdd.checkpoint.cachePreferredLocsExpireTime
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


[web] Text in textField becomes 'blurry' when suffixIcon is set

Steps to Reproduce
Typing in textField when suffixIcon is set. If text starts moving because of lack of the space, it becomes more "blurry".

 Code
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Default label',
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
          width: 200,
          child: TextField(
            decoration: InputDecoration(
              suffixIcon: Icon(Icons.search)
            ),
          )
        )
      )
    );
  }
}

Expected results:
Text quality is the same all the time.

Actual results:
When typing and text starts moving (because suffixIcon takes some space), quality of the text is being changed also. It backs when removing the letters.

I hope difference is visible :)
I did not see the problem when suffixIcon is not set.

Flutter doctor

[√] Flutter (Channel beta, 1.21.0-9.2.pre, on Microsoft Windows [Version 10.0.19041.508], locale pl-PL)
    • Flutter version 1.21.0-9.2.pre at G:\IOT\flutter\flutter
    • Framework revision 81a45ec2e5 (2 weeks ago), 2020-08-27 14:14:33 -0700
    • Engine revision 20a9531835
    • Dart version 2.10.0 (build 2.10.0-7.3.beta)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Radek\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] Connected device (3 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.102
    • Edge (web)       • edge       • web-javascript • Microsoft Edge 83.0.478.61

Hi @mordivgor,
I am unable to see the difference when I tried your code on latest master. When the text moves, the quality remains same.
65725.mov.zip

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.161, on Mac OS X 10.15.4 19E2269,
    locale en-IN)
    • Flutter version 1.22.0-10.0.pre.161 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision cba91c97d0 (9 hours ago), 2020-09-13 18:57:03 -0400
    • Engine revision 2fc054147e
    • Dart version 2.10.0 (build 2.10.0-121.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (4 available)
    • SM A260G (mobile)                   • 5200763ebcfa861f
      • android-arm    • Android 8.1.0 (API 27)
    • iPhone SE (2nd generation) (mobile) • 312977A7-2DB1-4737-AEBB-35FA6522A309
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
    • Web Server (web)                    • web-server
      • web-javascript • Flutter Tools
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 85.0.4183.102

• No issues found!

Can you switch to latest master and see if you still see the issue at your end ?
Thanks.

Hello @darshankawar ,
Indeed on your preview the quality remains the same.
Unfortunately, I have still experienced this issue on my side, even on master channel.

Flutter doctor

[√] Flutter (Channel master, 1.22.0-10.0.pre.161, on Microsoft Windows [Version 10.0.19041.508], locale pl-PL)
    • Flutter version 1.22.0-10.0.pre.161 at G:\IOT\flutter\flutter
    • Framework revision cba91c97d0 (11 hours ago), 2020-09-13 18:57:03 -0400
    • Engine revision 2fc054147e
    • Dart version 2.10.0 (build 2.10.0-121.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Radek\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] Connected device (3 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.102
    • Edge (web)       • edge       • web-javascript • Microsoft Edge 83.0.478.61

I do not know what could be a difference :/

@mordivgor thanks for trying out again. I looked at your original issue description but can't find the difference there too.
Can you share your findings when you remove suffixIcon ?

I am experiencing the same issue when the text is longer than the width of the text field. Does not seem related to the suffix icon.
If you zoom in the picture there is a clear difference in rendering.

Sample code
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Default label',
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
          width: 200,
          child: Column(
            children: [
              TextField(),
              TextField(),
            ],
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.161, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.0-10.0.pre.161 at /home/azbuky/Devel/Sdks/flutter
    • Framework revision cba91c97d0 (15 hours ago), 2020-09-13 18:57:03 -0400
    • Engine revision 2fc054147e
    • Dart version 2.10.0 (build 2.10.0-121.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /home/azbuky/Devel/Sdks/Android/Sdk/
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /home/azbuky/Devel/Sdks/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 3.6)
    • Android Studio at /home/azbuky/Devel/Sdks/android-studio
    • Flutter plugin version 48.0.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.49.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.14.1

[✓] Connected device (3 available)
    • Linux (desktop)  • linux      • linux-x64      • Linux
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.102

• No issues found!

@azbuky  you are right, same thing on my side without suffixIcon.
Maybe it is somehow related to this issue #58159, but someone would need to confirm it.

@mordivgor @azbuky Tried again with few workarounds and still see no difference and I see good quality of the text.
@azbuky tried your code sample and don't see any difference.

Moreover, the issue linked by @mordivgor, I tried code samples from there and again don't see any blur text irrespective of using any widgets.

Tested on latest master.

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.161, on Mac OS X 10.15.4 19E2269,
    locale en-IN)
    • Flutter version 1.22.0-10.0.pre.161 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision cba91c97d0 (9 hours ago), 2020-09-13 18:57:03 -0400
    • Engine revision 2fc054147e
    • Dart version 2.10.0 (build 2.10.0-121.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (4 available)
    • SM A260G (mobile)                   • 5200763ebcfa861f
      • android-arm    • Android 8.1.0 (API 27)
    • iPhone SE (2nd generation) (mobile) • 312977A7-2DB1-4737-AEBB-35FA6522A309
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
    • Web Server (web)                    • web-server
      • web-javascript • Flutter Tools
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 85.0.4183.102

• No issues found!

@darshankawar are you testing on a retina MacBook?
I have tested the two text fields code sample on Ubuntu 20.04 with Chrome and Firefox and on Windows 10 latest with Chrome, Firefox, Edge and Edge based on Chromium. Also tested on a non retina MacBook Pro with latest macOS on Firefox, Chrome and Safari.
All tests on Windows and macOS were done on current dartpad version (Based on Flutter 1.21.0-9.2.pre Dart SDK 2.9.3). On Ubuntu I have tested with latest master.
Firefox renders correctly on all platform.
Edge (non Chromium)  renders correctly,
Chrome, Safari and Edge (based on Chromium) render slightly blurry text when text is longer then the width of the text field.
Tested on an Acer Swift 3 with 1080p display and non retina MacBook Pro 2012 1280x800 display.
Hope this helps.

@azbuky no, I am not using retina MacBook.  Chrome version is 85.0.4183.102.

hello @darshankawar
Hard to say what I can add more. From my perspective we can assume that it is similar like the mentioned case and close this one.
@azbuky gave many useful information and I think I won't be able to add more.

Looking more closely to the screenshots, it seems (at least on my device) that Chrome uses sub pixel antialiasing when the text is smaller than the text field's width but switches to grayscale antialiasing when the text is longer.
Also it seems the long text is slightly more blurry because it is not pixel boundary aligned. Might be the reason Chrome switches to grayscale antialiasing.
In @darshankawar 's screenshots it seems Chrome only uses grayscale antialiasing. It also appears to be a high resolution screen.
@darshankawar would you be so kind to try my example one more time with only uppercase S letters. Four letters in the top text field and enough letters to make the text field scroll in the bottom one. And upload a screenshot. Thanks.

@azbuky sure. I tried your code sample again.

If you both agree, I can probably make this a duplicate of one of the related ones and close this.

I am ok with closing this in favor of #58159.

I am ok.

Closing this as duplicate of 58159.


Remove Color module

Color is the only UI related module in core. All other UI related modules are their own package. I propose to remove Color from this project, and instead place it in its own package.

Who is it hurting? Seems pretty valuable to have a single color type across the whole language.

Not hurting anyone, it just seems out of place. It's also valuable to have a single HTML/VDOM type across the whole language, yet it is not in core. I don't want to create a big deal out of this, I created the issue because I read through the documentation and thought: "Color? Is that a core thing?" My views can be colored (heh) by the fact that I've yet to find any use for the module.

Don't want to track this here. Good conversation for elm-discuss or the Slack channel though. Can revisit later.


No compatibility with PHP7

You must use MongoDB Driver for PHP7 here:
http://php.net/manual/en/set.mongodb.php

Closing because of duplicate issue.


Variable explorer raise error when try to sort dict by values

Description
What steps will reproduce the problem?

open a dict in variable explorer
try to sort dict by values

What is the expected output? What do you see instead?
i want a sorted dict,but change nothing,then raise this error
Please provide any additional information below
File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 250, in fetchMore
self.rows_loaded + items_to_fetch)
File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 179, in set_size_and_type
for index in range(start, stop) ]
File "/home/shanjie/miniconda3/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 179, in
for index in range(start, stop) ]
IndexError: list index out of range
Version and main components

Spyder Version: 3.2.1
Python Version: 3.6.1
Qt Versions: 5.6.2, PyQt5 5.6 on Linux

Dependencies
pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.1 (OK)
sphinx >=0.6.6   :  1.6.2 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
psutil >=0.3     :  5.2.2 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.26 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
IPython >=4.0    :  6.1.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

Thanks for reporting. We'll fix this in a future release.

@dalthviz, please take a look at this one.

I was able to reproduce this but only for collections that are more than 100 rows (which is the LARGE_NROWS parameter used to fetch more data).
Steps to reproduce:

Create a collection of more than 100 rows (list, dict, etc.)
Open the object in the variable explorer
Click on Value header to sort by values (or Type or Size)
Scroll to the bottom to force fetching of more rows
Error occurs

By calling sort on columns Sizes, Values or Types, I think the self.keys is getting shortened: instead of containing all keys, it now has the length of self.types (or self.sizes or self.values) because of the call to sort_against. Then calling fetchMore() will fail to set_size_and_type on fetched rows

Hi @Prikers, thanks for the info, then this issue will be fixed by your PR #5295 ?

Hi @dalthviz. I had investigated this case because indeed it was similar to #5295 so I wanted to let you know what I found.
As a side effect of the #5295 the error disappears when sorting by Value but not for the other columns (Size, etc.), sorry :disappointed:

@Prikers could you fix the error for the other columns in #5295?

Sure!


GraphHopper doesn't consider chains when car routing

Describe the bug
The route suggested by GraphHopper isn't correct. It says that I should go through a street but I can't because there's a chain that block access to cars. I'm sure about that because my parents live on that street.
To Reproduce
To reproduce the bug, you can go to openstreetmap.org and set the route using the coordinates that you can see in the screenshots. Then see the difference between the routing method "Car (GrapHopper)" and the "Car (OSRM)". OSRM is the correct way of going from A to B by car.
Expected behavior
GraphHopper should show the same routing than OSRM (in this case).
Screenshots & Logs

As you can see below, there's a chain on the street that blocks access to motor vehicles.

Uh, indeed. There is even motor_vehicle:no https://www.openstreetmap.org/node/7602143350

Uh, indeed. There is even motor_vehicle:no https://www.openstreetmap.org/node/7602143350


ActiveRecord Adapter segfaults with New Relic

Hi! We started observing segfaults on one of our apps when we added the flipper-active_record gem. This happens during the phase where the New Relic agent generates the "Environment Report", on app startup.
I've created a project which consistently reproduces the segfault on my mac (I'm using docker 4 mac): https://github.com/IcaliaLabs/flipper-and-new-relic-rpm-segfault-demo
I've narrowed it down to the flipper-active_record gem, specially on how the adapter gets loaded - related to #432 , and 4233937af73a98da549671f5632def0b3d70e6c2.

Although I haven't found the root cause, I have observed this:

I found it hard to reproduce the segfaults with a minimal project / set of gems: Sometimes it presented the segfault, sometimes it didn't. I ended up loading the entire gem list from our project to the example project I shared with you. So I guess it's linked to the quantity of libraries loaded to memory.
Replacing flipper-active_record with flipper-redis worked - that's how we fixed our app for now, but we'd prefer switching back to activerecord instead.
Thinkering with flipper-active_record, I found:

Requiring activerecord here is not necessary - the code is currently being loaded by the ActiveRecord hook. I initially thought removing this would fix the segfaults, but didn't.
What did work for me was extracting the models to another file, and requiring this new file inside the ActiveRecord hook, instead of the whole code. I moved the original require out of the hook, right after the activesupport/lazy_load_hooks requirement.

I hate to just close issues, but I've not had any other reports and I'm currently using flipper with active record adapter and new relic without any problems. As I said on the PR, if you get to the root and get the tests passing in the PR please re-open.


Added Ventura College

Added Ventura College.

@JackLagas I am sorry, the domain my.vcccd.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


"Help" command improvement

/help should display only basic information.
Any other information related to some not relevant options (such as Trello integration) should be displayed using inline buttons under /help message (instead of writing "/help trello").

Done here.


[CS][PHPStanExtensions] Use interface if possible

See https://blog.insight.symfony.com/2018/11/09/new-rule-type-hint-interface.html

No so useful and requires explicit configuration. Each class has many interfaces, so you need to specify the right one.
Use CS instead: https://github.com/Symplify/Symplify/tree/master/packages/CodingStandard#prefer-another-class


Take into account the export_languages parameter in configuration file

Is your feature request related to a problem? Please describe.
I'm not too sure if this is a feature request or a bug.
I'm using the action, and I want to download only some languages. The configuration file crowdin.yml has a parameter export_languages that can be used in VCS integrations to define the languages you want to export, or at least this is what I understand. I tried to use it but it's ignored. I have observed too that the Crowdin CLI ignores it too.
Describe the solution you'd like
I want to define in the crowdin.yml the export_languages parameter and the Action will only download this languages translations.
Describe alternatives you've considered
As a workaround, I'm using this in the Action:

download_translations_args: '-l ca -l da -l de -l es-ES -l eu -l fr -l gl -l hr -l hu -l id -l it -l ja -l ko -l lv -l nl -l pt-PT -l pt-BR -l pl -l ru -l sv-SE -l zh-CN -l zh-TW'

but is less mantenible for collaborators than the crowdin.yml file.
Additional context
Nothing. Thanks for the Action!

The export_languages option will conflict with the CLI -l arguments. It's recommended to use the command arguments in this case.


closePanel does not work with when clause

Issue Type: Bug

Add this keybinding:

  {
    "key": "escape",
    "command": "workbench.action.closePanel",
    "when": "activePanel == 'workbench.panel.repl' || activePanel == 'workbench.panel.output' || activePanel == 'workbench.panel.terminal'"
  }

Focus the editor pane
Press Escape. The panel does not close.
Remove the "when" line from the keybinding.
Focus the editor pane.
Press Escape. The panel does close.

This worked in an earlier version of VSCode, but I'm not sure when this changed.
I've also tried adding this to my settings:
  "terminal.integrated.commandsToSkipShell": [
    "workbench.action.closePanel"
  ]

This has no effect. And since I'm not focusing the terminal, I don't think this setting should matter.
VS Code version: Code 1.46.0 (a5d1cc28bb5da32ec67e86cc50f84c67cc690321, 2020-06-10T09:03:20.462Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.104-microsoft-standard
Remote OS version: Linux x64 4.19.104-microsoft-standard

Same here

Your keybinding works for me as is (without the skipShell addition).  Any other keybindings using escape?  If you put it at the very end of your keybindings.json, any difference?

I've moved it to the end of the json and it makes no difference, same problem. No other bindings use escape in any way.

@Christilut If you have moved views around (terminal, output debug) it is possible that the activePanel key no longer matches properly because we use random guids for the panel container. To see if this is the issue, try running the Reset View Locations command.

That worked! The escape keyboard shortcut now works properly again


nginx flavour (non-nomad) has non-persistent configuration

Hello. I've noticed while trying to reference potluck/nginx flavour that it would shut down after running pot start -p nginx and cook script finishes.
As there are other nginx flavours in potluck which are for nomad and the README.md states this jail is not for use with nomad I think the flavour cmd file needs to be updated to enable persistence:
-- set-attribute -A persistent -V OFF
-- set-attribute -A no-rc-script -V ON
++ set-attribute -A persistent -V ON

Hi @Sidicer thanks, I'll update shortly and remove the flags entirely. That's a legacy image which hasn't updated to the new format yet.

Thank you @bretton for checking the flavour and updating it, but I have still faced the original issue where the Pot/Jail is shut down right after starting it, even with runs_in_nomad="false".
Have I misinterpreted this flavours` purpose and it is not meant to be ran persistently ?
cd potluck && git pull
cd potman && cp -r ../potluck/nginx flavours/.

potman build -v -d ../flavours freebsd
# 11. Build pot image
# /var/cache/pot/13.2-RELEASE_base.txz - 190 MB 5682 kBps - 34s
# 17. Success
potman publish -v -d ../flavours freebsd
potman catalog
# freebsd_13_2_1.3

potman build -v nginx
potman publish -v nginx
potman catalog
# freebsd_13_2_1.3
# nginx_13_2_1.0.10

sudo pot import -p nginx -t 13_2_1.0.10 -U http://<IP_ADDRESS>:10180
# ===>  importing nginx @ 13_2_1.0.10 as nginx_13_2_1_0_10
# ===>  Pot nginx_13_2_1_0_10 depends on freebsd_13_2_1_3 (@1706528407)
# ===>  Installing dependency freebsd_13_2_1_3
# ===>  importing freebsd_13_2 @ 1.3 as freebsd_13_2_1_3

sudo pot list
# pot name : nginx_13_2_1_0_10
#       network : public-bridge
#       ip : <IP_ADDRESS>
#       active : false

sudo pot start -p nginx_13_2_1_0_10
# ===>  Starting the pot nginx_13_2_1_0_10
# Starting nginx.
# Mon Jan 29 11:53:42 UTC 2024
# p465b791c14a9b:

sudo pot list
# pot name : nginx_13_2_1_0_10
#        network : public-bridge
#        ip : <IP_ADDRESS>
#        active : false

@bretton @Sidicer Turns out the freebsd flavour that ships with potman turned off persistence. As it seems likely that users will use it as a base image (at least for testing purposes), I removed that configuration in https://github.com/bsdpot/potman/commit/96052e265c07a16ba01ba3e874fa702b195b2f9a (and bumped versions in https://github.com/bsdpot/potman/commit/5fff9fa248db7a6948a949617580c10ee67764b5).


install uniswap-python error

My python env:
python 3.7.0
when I "pip install uniswap-python"，the error is below:
Could not find a version that satisfies the requirement ipfshttpclient==0.7.0a1
I think whether the python's version is not true?
I see the pkg:  ipfshttpclient==0.7.0a1 is a pre-release version.
please help me, thank you!!!

It installs fine for me with Python 3.8.4:
Collecting ipfshttpclient==0.7.0a1
  Downloading ipfshttpclient-0.7.0a1-py3-none-any.whl (231 kB)
     |████████████████████████████████| 231 kB 13.0 MB/s

However, on the PyPI page for the package it says:

Requires: Python >=3.5.4, !=3.6.0, !=3.6.1, !=3.7.0, !=3.7.1

So, you need to update your Python version to 3.7.2 or above.


Dreamhost (not possible)

Service name
Dreamhost (not possible)
Proof

Documentation
Site looks like this: https://help.dreamhost.com/hc/en-us/articles/215613517-Site-not-found
I have attempted to take over a few of these in the past, but I get a permission error.

There may be some edge case I'm not aware of


Model close on ESC

Is it part of the the toolkit to close the modal on ESC like you use the cancel or on enter for the continue?

I would definitely like to support keyboard navigation in modal windows!
Previously did an Escape check manually when using a modal like in https://github.com/lpotthast/crudkit/blob/main/crudkit-leptos/crates/crudkit-leptos/src/crud_leave_modal.rs.
The thing is, that the Modal component in its current form only receives whether or not the modal should be shown. The content, including potential buttons, is completely up to the user. The component does not require any actions by itself, so an integrated keyboard listener would not know what to call / do. I might add properties for that..

The Modal now supports the on_escape callback, called when the escape key is pressed while the modal is visible. You can use it to close the modal if you like to. Also described here: https://leptonic.dev/doc/components/modal


chore: upgrade useink and setup vite

This complete @statictype  @DoubleOTheven, clippy and contract test have been failing since Aug 19, 2022 https://github.com/paritytech/link/commits/master. Should we remove them?

This complete @statictype @DoubleOTheven, clippy and contract test have been failing since Aug 19, 2022 https://github.com/paritytech/link/commits/master. Should we remove them?

Sometimes those tests fail due to CI problems, not actual broken functionality. This is probably the reason, we haven't touched the contract code. That part would really need some love, it's still on ink! v3.  wdyt @cmichi?


bootstrap v4 col declaration

For reasons I haven't yet found, in bootstrap v4 you can declare an col-xs-* as just col-*
see the comparison on these two pages
v3 grid
v4 grid
Bootlint throws an E013 because of this change.
I suppose I should ask does bootlint support any v4 changes

I've just seen a response to a similar question #377. Which clearly states bootlint isn't v4 compatible.

Correct.

@jackjameshoward If you are interested you can help me with #410


CodeCleanup - tested and facing issue .

We regret for the issue that you are facing, Thanks for helping us by raising an issue so that we can improve ourself to do the best.
Please tick one according to the issue you are facing with:

[ ] Issue facing with installation or setup.
[ ] Issue facing while running a environment.
[ ] Issue facing while adding a new environment or new file.
[x] Other issues: please provide the issue in the comment box

Please explain the Issue / Feature Request here:
While trying to make a release after this code  merge getting the below listed issue
Ref : https://github.com/hyperledgerkochi/KOBman/pull/145
Please provide the necessary screenshots or documents regarding the issue:

While performing curl (step-1) getting this error:


FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-yghi46a5/CMakeLists.txt'

pip3 install --user pyvsc
Collecting pyvsc
Using cached https://files.pythonhosted.org/packages/51/c1/bb83259df1f2376d839edeb119215b3e9f2c7f834c362d833f9f6f8cd9b6/pyvsc-<IP_ADDRESS>10703.2-py2.py3-none-any.whl
Collecting pyboolector (from pyvsc)
Using cached https://files.pythonhosted.org/packages/9d/d2/4b244e2d3100b1d7af0e68b0181538d33d4a84e75305e296080eb74f26f2/PyBoolector-<IP_ADDRESS>10617.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-yghi46a5/pyboolector/setup.py", line 14, in
with open(cmakelists_txt, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-yghi46a5/CMakeLists.txt'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yghi46a5/pyboolector/

Hi @nicolast0604,
I actually ran into this the other day, and it's pretty counter-intuitive... PyBoolector is distributed as a binary-distribution 'wheel'. It seems that Python attempts to fallback to installation from source in some cases. The case I ran into the other day is that the version of 'pip' was incompatible with the PyBoolector package.
Can you try the following?

Upgrade pip: pip3 install --user --upgrade pip
Directly install PyBoolector: pip install --user --upgrade --no-cache-dir --force-reinstall --only-binary ':all:' PyBoolector

Apologies for all the switches on that last command. The goal is to force pip to ignore the cached source package for PyBoolector and install the binary one instead.

After upgrade the pip with pip3 install --user --upgrade pip
It works for the install of pyvsc
Thanks a lot. Appreciated for your help.


keyvault-secrets preview 9 not instantiating as expected

Package Name: @azure\keyvault-secrets
Package Version: 4.0.0-preview.9 (2019-10-31)
Operating system: Win10
[ ] nodejs

version: v8.16.1

[ ] browser

name/version:

[ ] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
After installing and issuing:
const { SecretsClient } = require("@azure/keyvault-secrets");
the SecretsClient variable is undefined.
I have another project I am working on that is still on 4.0.0-preview.8 (2019-10-09) and this is not the case.
Ultimately, attempting to instantiate a SecretsClient, I receive the error "SecretsClient is not a constructor"
To Reproduce
Steps to reproduce the behavior:

(new project) npm install @azure/keyvault-secrets
open node terminal, issue: const { SecretsClient } = require("@azure/keyvault-secrets");
Observe the contents of SecretsClient

Expected behavior
This is preview 8, showing that the SecretsClient is populated:

Screenshots
If applicable, add screenshots to help explain your problem.
This is preview 9, showing the SecretsClient as undefined:

Additional context
If I remove the {} from the require statement, I can see the module load, but then when I attempt:
const client = new SecretsClient(keyVaultUrl, credential);
I get the error about SecretsClient not being a constructor

I had the same issue, but I noticed the constructor was renamed from 'SecretsClient' to 'SecretClient'. Its not documented in the Changelog, but you can find it in the samples.
This works for me in version 4.0.0

Hi! @vaderj , please try our latest version<EMAIL_ADDRESS>I'll close this issue for now, but let us know if you find something else! Thank you and @tmschbgr for your time.


added ability to replace console

This push implements two functions allowing loglevel to replace window.console but also restore it if required. I have done a manual test and both functions worked correctly.
This is to add the feature requested here: #42

It's been a while on this.. does anyone still feel this would still be useful? Let me know and I will put together a pull request if so.

Yes, definitely useful, if you can find a way make it work. Feel free to have a go! We will need to have some tests in place too though to finish it, and we need to make sure the solution works nicely and reliably, as in my previous comment.
Don't want that to be too intimidating though. If you want to open a PR with any progress at all that'd be great, and we can go from there :-)

Just reporting in that I have not had time to work on this but did a little bit of research I can share:  Potential danger with changing console by calls to this binding function. I believe we can test by mocking two separate console objects and logging before and after switching between them, verifying that only the correct one is called and the incorrect one is not called each time. If that sounds satisfactory to everyone then I will hopefully get to it in the next few days. :)

Been quiet for a long while now, so closing this. Feel free to bring this up to date and reopen it if you're still interested.


Created a new indenter strategy that will automatically add a closing bracket

Created a new indenter strategy that will automatically add a closing bracket every time the user enters a left bracket (the caret's position is set in-between brackets).
This strategy is only applied if the text partitioning that is being indented is either a 'IJavaPartitions.JAVA_CHARACTER' or a 'IDocument.DEFAULT_CONTENT_TYPE' (this because we want things like IJavaPartitions.JAVA_DOC or IJavaPartitions.JAVA_MULTI_LINE_COMMENT not to be affected by this strategy. Check class 'ScalaSourceViewerConfiguration' for more details).
Fixed #1000688.

Looks good, go ahead.

Ok. I merged it into master. If everything goes fine, tomorrow I'll merged it in release/scala-ide-2.0.x as well.


PostLogoutUrl Param Name is not configureable

My Oauth2 Provider uses default 'service' param to get postLogoutRedirectUrl.
Please make this param name configureable.
https://github.com/manfredsteyer/angular-oauth2-oidc/blob/a8df7048decf8996ec17017c5250ab81b72091ae/projects/lib/src/oauth-service.ts#L1758

If I recall correctly, this is part of OpenID (not OAuth), with the exact name in the spec. I guess it won't hurt to make it configurable though. Or perhaps the option to configure customLogoutQueryParams similar to the custom params for login calls would be more flexible?
Out of curiosity: which IDServer do you use?

Yes, custom logout query params would help.
We are using apereos CAS wirh oidc workflow.

If I recall correctly, this is part of OpenID (not OAuth), with the exact name in the spec. I guess it won't hurt to make it configurable though. Or perhaps the option to configure customLogoutQueryParams similar to the custom params for login calls would be more flexible?
Out of curiosity: which IDServer do you use?

Gravitee is using target_url


Added MQTT notification platform

The configuration should look like this:
notify:
  platform: mqtt
    topic: "home/message"
    qos: 0
    retain: True

I am not convinced that this platform is very useful. The MQTT component already makes a publish service available.

The documentation got a little update to make clear that it's possible to send notifications/messages with MQTT out of Home Assistant.

I didn't know about mqtt/publish, and I think that is the better solution. I'm closing this... :-)


OpenShift Console Routes created from devfiles do not always use HTTPS

Which area this feature is related to?
/kind bug

Which area this bug is related to?

console support
What versions of software are you using?
Go project
Operating System and version: N/A
Go Pkg Version: 1.20
Bug Summary
Describe the bug:

In situations when using a devfile from a git source where the devfile kubernetes component is using the uri instead inlined, the Route is always created with TLS disabled.
Related issue: #1270
To Reproduce:

Open web console in a OpenShift 4.1x environment and create a deployment using "Import from Git" on any of the devfile samples which use uri to reference resources instead of inlined
Once deployed, try to request using https on any ingress endpoint and route will calm to not exist (even when secure: true or protocol: https is set). Note: Doing the same with plain http will result with expected outcome.

Expected behavior

When secure is set to true or protocol is set to https under the devfile kubernetes component, the route created should enable TLS with redirection from http to https.
This logic is already implemented for kubernetes components which use inlined: https://github.com/openshift/console/blob/170c455125d05b9b6c80b53e2e666617666fb80a/pkg/devfile/resources.go#L186
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable

Results are produced with Go Basic Sample with secure: true set: https://github.com/devfile-samples/devfile-sample-go-basic/blob/481e66ef328a93db251814a2be8675c86c1cf605/devfile.yaml#L39
Result with HTTP

Result with HTTPS

Additional context

Any workaround?

None.
Suggestion on how to fix the bug

Fix described in the following comment should be applied: https://github.com/devfile/api/issues/1270#issuecomment-1865306305

Dev console team is looking into this issue and I will add updates here when they become available.

Dev console team is looking into this issue and I will add updates here when they become available.

Moving to waiting until reply.

This was moved to the dev console team and the fix was merged into one of their nightly releases. More info here: https://github.com/openshift/console/pull/13771


Tabs sometimes open twice

Hello everyone, since yesterday evening I've noticed that Firefox sometimes executes the mouse command (middle mouse wheel button) twice.
This irritates me and I've now installed a virus scanner to check whether there's anything malicious running in the background.
The interesting thing is that this behavior isn't the same with Edge.
Only with Firefox and in stealth mode.
I can't always reproduce it because it only happens sometimes. But I'd say it happens every 10 minutes or so.
I haven't started cleaning up Firefox yet, as it has always worked smoothly the way it was and I'm very happy with FF.
How can I get to the bottom of the problem now?
PS: I will be hard to reach for a week soon.
Thank you very much for any help. I hope I am not the only one.
Regards Daniel.
Edit: I deactivatet now all plugins and re-enabled it slowly again. I try everytime the tab problem.
But at now I dont have any problems. - I take a aye on it.

The error comes from the mouse with the middle button.


Contribution offer: Multi-Tool UX/UI remake

Hi, I just installed Stirling-PDF and was blown away by it's features. Congrats on that!
I was wondering if you were open to accept a UX/UI redesign proposal.
I would be willing to offer my spare time to design an interface to enable the user to execute all operations already implemented, in one intuitive single page. Similar in concept to Adobe's Acrobat Pro CC web app.
I would be using exclusively FOSS tools like Inkscape for drafts and Penpot for the final deliverables.
However, I understand that this would mean a lot of programming on your part, so that's why I'm asking if you would be up for the task, as I am not a programmer.

Hey sorry for not replying to this.
sadly it is as you saw, we were not willing to do any UI redesigns due to the work load
We are however currently developing a V2 of Stirling PDF feel free to drop a chat in the devs channel on discord and we can discuss how it looks and what you and others think, Could be useful in future!


Remove the CrudController

Controllers are mostly application-side and they shouldn't be defined inside our bundle.
We just have to supply repositories, managers (and eventually basic templates) for each entity's CRUD system.

Alternative: remove only the execute...Action methods.


cannot satisfy -package-id base-<IP_ADDRESS>

On my machine:
$  stack new moo
$  cd moo
$  stack build
$  code .

In the Haskell HIE (moo) output, I get this error:
hie: <command line>: cannot satisfy -package-id base-<IP_ADDRESS>
    (use -v for more information)

I am using Macos

Similarly for one of my bigger projects:
Using hoogle db at: /Users/jky/.hoogle/default-haskell-5.0.17.hoo
hie: <command line>: cannot satisfy -package-id amazonka-1.5.0-75emjYGGvkjLemS4nvxn4p:
    amazonka-1.5.0-75emjYGGvkjLemS4nvxn4p is unusable due to missing dependencies:
      amazonka-core-1.5.0-CLe3zZeGiNEHP74Gy81THg base-<IP_ADDRESS> conduit-<IP_ADDRESS>-J1BFdB3Hq6fHXjEWX9tRjq conduit-extra-<IP_ADDRESS>-9rRJTLz14cgLsNkwhYfzn3 directory-<IP_ADDRESS> exceptions-0.8.3-CYMTujxEbkkJnOJ7pW82ZD http-conduit-2.2.4-APl7BW4kI77D9KJHMd6cLS ini-0.3.5-FuJb9pz94NI53ott3rpubZ mmorph-1.1.1-JSXAlwXaEvB9wEd1iGFnPP monad-control-<IP_ADDRESS>-KW4P5rxfhfj5WtFbu3Ojsg mtl-2.2.2-8XubxMJDT8QLsstvlNotkc resourcet-1.1.11-LMceVXHmLWt4je3CoOiraW retry-<IP_ADDRESS>-JmJGyb2fxW41GGWzawOqDd text-<IP_ADDRESS>-9VTsh6V7U7hpagw2HDvpZ transformers-<IP_ADDRESS> transformers-base-0.4.4-CrsDENFNf7rEcT9CB0YGwO transformers-compat-<IP_ADDRESS>-EAh8Ccrgitz4vTZtbTPyCM
    (use -v for more information)

what version of stack are you using? what resolver do you end up with in the project?

This is for the bigger project:
$ pwd
/Users/jky/wrk/arbor-networks/gan-feeds-client
 ~/wrk/arbor-networks/gan-feeds-client   master 
$ head -n 1 stack.yaml
resolver: lts-10.10
 ~/wrk/arbor-networks/gan-feeds-client   master 
$ stack --version | head
Version 1.7.1 x86_64
Compiled with:
- Cabal-<IP_ADDRESS>
- Glob-0.9.2
- HUnit-<IP_ADDRESS>
- QuickCheck-2.11.3
- StateVar-<IP_ADDRESS>
- aeson-<IP_ADDRESS>
- aeson-compat-<IP_ADDRESS>
- annotated-wl-pprint-0.7.0

This was for the stack generated template project:
$ pwd
/Users/jky/wrk/arbor-networks/moo
$ grep "^resolver" stack.yaml
resolver: lts-11.8

This is for the bigger project:
$ pwd
/Users/jky/wrk/arbor-networks/gan-feeds-client
$ head -n 1 stack.yaml
resolver: lts-10.10

haskell-ide-engine was built with:
$ git clone https://github.com/haskell/haskell-ide-engine --recursive
$ cd haskell-ide-engine
$ make build-all

Looks like I needed to set this:
"languageServerHaskell.useHieWrapper": true

Can the documentation be updated to include this?
Thanks!

I'm also okay to close this ticket.

same problem working with LanguageClient-neovim, how do I make the equivalent changes there of "languageServerHaskell.useHieWrapper": true

@soulomoon afaik wrapper is a part of vscode plugin. In neovim you have to select proper hie version yourself.
In case you're working only on stack-based projects (like me), installing hie via make build-copy-compiler-tool and using stack exec hie --lsp as start command for language client in init.vim will put decision on stack's shoulders and work automagically.

Perhaps we should write the wrapper in haskell as an exe, so it can be shared among clients.  This is basically the simplest version of the concierge function we have discussed before in the issues.

See https://github.com/haskell/haskell-ide-engine/pull/627


1.10 compatibility?

So, the new B9 Pwings release is awesome! I'm using it and loving it. However, I installed it manually because it's not set to 1.10 compat on CKAN. Are there known broken things in 1.10, or is this another case of spacedock versioning where if you mark it as current-KSP it flags it as not compatible with older versions?

For the record I am on <IP_ADDRESS> since that was what was first released. I have not tried past that so cannot comment past that; it is possible something changed in the commits since .8 to make it no longer 1.10 compat.

I can't actually assess whether <IP_ADDRESS> is compatible with KSP 1.10 because the release lacks a release archive. That said, since the only changes in terms of commits dot9 to dot10 were not related to code, I don't see why dot10 would be incompatible unless asset bundles were recompiled for the new version of Unity (which seems strange if the only changes were in fact cfg).

I've now tested dot10 and it, too, seems to work just fine. I've opened a PR to close this issue.

Done!