TS does not compile in certain conditions

Expected behavior:
expecting to get a *.js file in output
Actual behavior:
getting a *.ts file in output
Your gulpfile:
    const task = gulp.src('src/**/*.ts');
    const project = ts.createProject({
        declaration: true,
        noImplicitAny: true,
        // outFile: 'output.js',
        target: 'ES6',
    });

    task.pipe(project());
    task.pipe(gulp.dest('build'));
    task.pipe( debug({ title: 'build-scripts' }) );
    return task;

any other gulp script / lib i run in this fashion seems to work fine.
And the reason why i do not chain is because in the actual use case i have conditionals in which i would add more steps to a task based on some CLI parms.
Regardless of anything, wether chaining or separating this should have absolutely no difference, gulp task was intended to work either way and the support imo has to be there whether this does or does not makes sense to do it this way.

Gulp wasn't designed to handle streams like this. It might work on some plugins, as some plugins mutate objects. The first plugin would mutate the file object (synchronously), and the handler of the second plugin would then get the mutated object as input. This requires that the plugins work synchronously, as the next plugin will be invoked directly afterwards.
Ignoring the question whether it is a good idea to modify those objects instead of creating new ones, we simply cannot do that, for several reasons:

We cannot synchronously emit those files
We have multiple output files for a single source file (.js and .d.ts)
We have multiple output streams

The solution by Sam is a good alternative. I would suggest to use the normal way of chaining if possible. If you for instance have some logic to determine which plugins you need to apply, you could store the result in a variable.


Parse Podspec.description as Markdown

Even in the simple example we have someone using markdown in the long description.

@orta: can you give more details about this?

The description attribute in the Podspec supports markdown, right now we are putting raw markdown in to the acknowledgements bundle, but ideally it should be pre-parsed so that people don't have to have a markdown parser in their CocoaPods dependencies.

Should we parse to html? Or just strip the markdown annotations?
Are the answers the same for both formats (the new plist and the one for Settings.bundle)?

Great questions. Settings bundles can't show HTML, so that ideally should be stripped. The new plists are probably showing in webviews, so I think rendering those as HTML should be :+1:
RedCarpet seems to be able to deal with both case - so it may be an option :+1:

I've created a PR (#15), but I remembered that we don't show the description inside a settings bundle, so I didn't have to strip it.
Is description the only Podspec field that supports Markdown? I haven't found this info in the guides.


Implement trailing slash redirects

We need to decide if our URLs should always end in a trailing slash or never end in a trailing slash.

Implement redirects to append or remove the slash.
Make sure our internal links are using the correct URL format.

NHS.UK pages all have a trailing slash if that affects the decision to have or not to have.

I think this has been less of an issue since we changed around our folder structure into sections. Haven't faced it since Feburary, so going to close this issue.


How to configure options for plan?

Is your feature request related to a problem? Please describe.

But there could be different explain queries:
explain (analyze, format json, verbose, costs ) etc

Describe the solution you'd like
A window where I can configure options for explain

thanks for the suggestion

Analyze option is already available for PostgreSQL.

Which else options should be implemented?

full list of options:
https://www.postgresql.org/docs/current/sql-explain.html


Inject OTEL environment variables into containers

Is your feature request related to a problem? Please describe.
At the moment you need to manually set the OTEL_ environment variables to use OpenTelemetry SDK instrumentation in your application.
But the required information is already available to a container in /var/lib/dynatrace/enrichment/endpoint/endpoint.properties and /var/lib/dynatrace/enrichment/dt_metadata.properties if the annotations oneagent.dynatrace.com/inject and metadata-enrichment.dynatrace.com/inject are enabled.
This works by having the operator create the dynatrace-metadata-enrichment-endpoint secret and then mounting that as a file to the container. This means all of the required information is already present in the container, but requires additional code in the application to read this custom format.
Describe the solution you'd like
A better approach would be for the operator to create a secret with the credentials or add them to the existing secret. This would make it possible to inject the credentials into a container as the standardized OTEL_ environment variables. This feature should of course also be enabled separately using a feature flag.
Describe alternatives you've considered
The current alternative to this is to either manually create such a kubernetes secret or adapt your application to read the dynatrace format which is rather inconvenient.

Continuing in https://community.dynatrace.com/t5/Product-ideas/dynatrace-operator-should-inject-OTEL-environment-variables-into/idi-p/264475


Fixed the solutions choice to be only on homepage

Removed solutions 2's details
Made solution 3 only have one filter page

:+1


ESMTP args truncated in RCPT TO stage

I'm using this library to build a Milter server connected to a Postfix instance. Doing that, I noticed that the esmtpArgs parameter at the RCPT TO stage is truncated. Precisely, only one substring after the first \0 byte is respected, althought there might be multiple ones. One example where this can happen is when the client requests a DSN (https://www.rfc-editor.org/rfc/rfc3461.html#section-4.1). But other cases are possible, see: https://www.rfc-editor.org/rfc/rfc3461.html#section-10.1
Let me explain this whole thing with an example to make it clearer.

Spin up a basic Milter server with the following RCPT TO hook:

func (m *myMilter) RcptTo(rcptTo, esmtpArgs string, _ *milter.Modifier) (*milter.Response, error) {
    fmt.Printf("RCPT TO: %q; esmtpArgs: %q\n", rcptTo, esmtpArgs)
    return milter.RespContinue, nil
}

Submit the following (valid) RCPT TO command to your mail server:

RCPT TO<EMAIL_ADDRESS>NOTIFY=SUCCESS<EMAIL_ADDRESS>

The following is received by the Milter and printed to the console:

RCPT TO<EMAIL_ADDRESS>esmtpArgs: "NOTIFY=SUCCESS"

Inspecting the raw bytes, one can see that there was actually more data:

"test<EMAIL_ADDRESS>
Conclusion
This behavior is probably caused by the following code:
https://github.com/d--j/go-milter/blob/30d4d62396d57db43116e28f8bb5c5b61ecf2478/session.go#L224C1-L224C1
Maybe it's already sufficient to replace all occurrences of 0x00 after the email address with a space and pass that to the Milter interface implementation. As this is not a real C string, there should be no harm in doing so (we don't need a zero-terminator).
I'm waiting for your feedback before starting to implement it.

Hi @hxdmp
thanks for poiting that out. I was under the impression that Postfix/Sendmail passes in all values as space seperated second string.
Your proposed solution sounds good to me. One can use DecodeCStrings to get a string slice and join it with space.
The MAIL ESMTP args need the same handling.

Thanks for that very fast response! I'll implement that and open a pull request.

I created #16 to fix this for both instances. Due to the implementation of DecodeCStrings, the trailing zero-byte in the input data is omitted - in other words: There is no trailing space.


[TACHYON-1293] use {@link ByteBuf}

https://tachyon.atlassian.net/browse/TACHYON-1293

Can one of the admins verify this patch?

Jenkins, add to whitelist

ok to test

Thanks for this improvement! Could you also add a link to the Jira in the description?

done

LGTM

+1 LGTM

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/6778/
Test FAILed.

Jenkins, test this please

Jenkins, test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/6780/
Test PASSed.

LGTM


Docs should distinguish between non-instantiated and instantiated generic vars

The documentation generated from the following code
module Foo(T)
end

class Bar(T)
  include Foo(Bar)
  include Foo(Bar(T))
end

shows that Bar includes Foo(Bar(T)) twice:

However the two includes have different semantics, which are evident when Foo is a module like Comparable: (this happens to most collection types in the standard library, actually)
class Bar(T)
  # all Bars are comparable with each other
  include Comparable(Bar)
  # Bar(T) is only comparable with Bar(T); mixing generic type arguments is not allowed
  include Comparable(Bar(T))
end

Thus the links generated from types should omit the type vars if a generic type argument is non-instantiated. This applies especially to the type lists on the top of each page (included / extended modules, subclasses, including types).

Foo(Bar) shouldn't compile there

Foo(Bar) shouldn't compile there

So what do all containers like Array do then? include Comparable(Array(U) forall U)?

So what do all containers like Array do then? include Comparable(Array(U) forall U)?

Oh, I see. I didn't know this was already in use. I guess it's fine then...

Oh, I see. I didn't know this was already in use. I guess it's fine then...


Make repository private

If this is just for testing, it might be best to make it private to avoid cluttering the organization view

Yes, we can, but I don't have enough rights to make it a private repo.

I think this should be public. The test suite will be an important resource for validating simulator images. We will want developers of simulator containers to use this test suite. In fact, we will want developers to contribute to this -- particularly archives that include models encoded in other languages such as CellML for which we don't yet have examples. For users, the test suite will serve as documentation of how we validated simulator images. For the community, this will also serve as a collection of example archives, which is somewhat lacking.

Makes sense. I was not sure what the intentions were with it. Using it as a common place to store examples is a great idea.

Akhil's intention might have been different. But I think its important for the test suite to be public.

My idea is about saving available OMEX archives that every developer can use for all containers(new one's in the future) for testing locally, which is the same.

Sent: Tuesday, July 07, 2020 at 3:39 PM
From: "Jonathan Karr"<EMAIL_ADDRESS>To: "reproducible-biomedical-modeling/Biosimulations_COMBINE_archive_test_suite"<EMAIL_ADDRESS>Cc: "GMarupilla"<EMAIL_ADDRESS>"Comment"<EMAIL_ADDRESS>Subject: Re: [reproducible-biomedical-modeling/Biosimulations_COMBINE_archive_test_suite] Make repository private (#1)

Akhil's intention might have been different. But I think its important for the test suite to be public.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

This is what I started in BioSimulations-utils, along with code to use containers to execute the archives.
This repository now has the archives. The code to execute the archives is still in BioSimulations-utils.


Enhancers are overridden when mutiple plugins with the same enhancer exist

Griddle version
1.8.1
Expected Behavior
I have a situation where I have created 2 plugins.  Both have a RowEnhancer.  I expect that the RowEnhancer from both plugins will be applied to the Row Component.
Actual Behavior
What i'm seeing is that the RowEnhancer from the last plugin in the plugin list is applied, but not the others.
Steps to reproduce
I have a grid that looks like this:
<Griddle
        data={fakeData}
        plugins={[BPlugin, APlugin]}
      />

APlugin:

const EnhancedRow = OriginalComponent => compose(
  connect((state, props) => {
    return {
    };
  })
)(props => {
  return (

  	a
    <OriginalComponent {...props} />

  );
});

export default EnhancedRow;

BPlugin:
const EnhancedRow = OriginalComponent => compose(
  connect((state, props) => {
    return {
    };
  })
)(props => {
  return (

    b
    <OriginalComponent {...props} />

  );
});

export default EnhancedRow;

The only difference between APlugin and BPlugin is letter which the row gets wrapped with.  a or b.  I'm finding that the row gets wrapped with a only, and not b.
Pull request with failing test or storybook story with issue
None yet.
While this step is not necessary, a failing test(s) and/or a storybook story will help us resolve the issue much more easily. Please see the README for more information.

I'm going to close this in favor of #733. I have replied over there.


RPi 4 doesn't support Ubuntu 20.04

I have read that RPi4 doesn't support Ubuntu 20.04 anymore. I tried to install your image from here - It doesn't work. Also, I tried to install the official versions from Ubuntu web site - the result is same.
When I turn on the RPi4 with any Ubuntu 20.04 the red diode is lightning stable, the green one is flashing for 5-10 seconds (I have read that it must flash ~20 sec) and after blinking. My screen light is also blinking.
So, what should I do if no options to install Ubuntu 20.04 on my RPi4?

RPi4 does support 20.04 and the image should work. Which screen light is blinking? The Turtlebots?


[BUG]: L4 (Misplaced curly brackets) error

What happened?
Bonjour,
Je me permets d'écrire cette issue suite à un bug rencontré lors de mon utilisation de Abricot-Norminette.
En effet, lors d'une déclaration d'un tableau structure. Abricot-Norminette ma alors trigger une L4 pour rien.
Pas cool, je ne recommande pas.
Cordialement,
Preuves:

Version
Yes
What OS are you seeing the problem on?
Fedora based
Relevant output
[MINOR] (L4) - Curly brackets misplaced. (src/options.c:65)
![image](https://user-images.githubusercontent.com/47077683/158582358-2dedc82a-d2ca-43fa-a949-1bbbc025a0fe.png)

Hi Léo,
I tested your issue and was able to reproduce it using the latest version.
The issue only happen if the example provided by Léo is inside a function. Outside a function, Abricot doesn't trigger a coding-style error.
Therefore, I'm marking this issue as validated, and I'm assigning one of the maintainers to repair it.
Thanks for your report !

Hi,
Thanks to you, this problem has been fixed really fastest avoiding abricot to report unnecessary errors to the user.
Please continue to use abricot and report any bug you find in order to improve the Norminette to make it one of the best of it's kind.
Cordially,


docs(examples): Add Remix Auth with GitHubStrategy example

This adds an example using Remix Auth with the GitHubStrategy.

@kentcdodds I moved the code from remix-auth/github to remix-auth-github, I also moved the code of remix-auth/form to remix-auth-form


Tabular: added fastai neural network

Description of changes:
This code adds tabular neural networks using pytorch/fastAI frameworks. The models is fully-integrated, but disabled by default. To enable, pass 'NN_fastai': {} into hyperparameters section:
predictor = task.fit(train_data=train_data, label=label_column, output_directory=output_directory,
                     eval_metric=eval_metric, hyperparameter_tune=False, verbosity=3,
                     hyperparameters = {
                       'GBM': {'num_boost_round': 100},
                       'CAT': {'iterations': 10000},
                       ...
                       'NN_fastai': {},
                     },
                     auto_stack=True,
                    )

Imports are lazy and will ignore model if torch or fastai is missing in the environment.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-458-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-458/1/index.html

Job PR-458-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-458/2/index.html

Job PR-458-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-458/3/index.html

Addressed few comments, still working on HPR/docs/testing.

Job PR-458-4 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-458/4/index.html

Job PR-458-5 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-458/5/index.html

Job PR-458-6 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-458/6/index.html

Job PR-458-7 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-458/7/index.html


Fix splitting on info's assets

Since splitting was introduced in datafeeds.py for get_info, it can be taken out of cli.py, otherwise an error is raised.
After the fix, the following now all produce output successfully.
$ coin info

$ coin info -a ETH
$ coin info -a ETH,BTC
$ coin info -a ETC -a BTC

$ export NUMISMATIC_ASSETS='ETC,BTC'
$ coin info

Thanks for this fix.


laravel 5.1 support, branch "develop" is not work

Please add  laravel 5.1 support. We try branch "develop" but it work only with laravel 5.1 and is not working with 5.1

badly needed

Up :)

See other threads about the issue. Rocketeer 3 is not meant to be included as a peer dependency anymore, the PHAR is the main way to use it now. Reason for this is I couldn't properly keep Rocketeer agnostic while at the same time being constrained by Laravel's dependencies.


Fix gen_statem:call dirty_timeout spec

Introduced in #25

Great fix, thank you!
Once the CLA is signed we can merge this.

Great fix, thank you!
Once the CLA is signed we can merge this.

Thanks!
Signed CLA on Meta.

Thank you! ❤


Add helper scripts

I have created a script for the creation of PostgreSQL tables for the import of synthesized CSV files by Synthea. However, it slightly differs from the CSV file data dictionary from the wiki. For instance, a claims.csv or claims_transactions.csv is not generated by Synthea 2.7.0. I think, as a lot of people have to create such a script manually, we should share them. Maybe in this repository or somewhere else?

@SimonUzL thank you for the pull request.  Personally I've tended to use pgfutter ( https://github.com/lukasmartinelli/pgfutter ) in the past to load the CSV files into postgres, automatically creating the tables as it goes, but I can see the value in specifying the DDL as well.
However we don't generally accept external systems integrations in PRs. See https://github.com/synthetichealth/synthea/wiki/Contributing#contributions-to-avoid
How did you produce this script? This makes me think maybe we should have a more formal way of declaring what's in the CSV, and make it easy for people to produce DDL for whichever DB they might use. The data dictionary wiki is a nice start but only represents what's currently on master, if you're using an older version of Synthea for whatever reason then you can't easily get the CSV data dictionary for the version you're using.

@dehall I should have searched for such a tool before I manually write scripts. Thank you for the link and your reply! I thought, that the latest tag in the repository is the most recent stable version of Synthea and thus producing csv files as described in the wiki. A more formal way of declaring for what's in the CSV is a great idea. Next time, before I create a pull request, I go through the Contributing article in the wiki.


Ffmpeg-full can't start anymore: undefined symbol: pw_stream_get_time_n

Describe the bug
I realize that my system can't run recent ffmpeg-full (but ffmpeg works fine):
$ nix shell github:NixOs/nixpkgs/9ef15e7bb0428d8795d1c0c81ac047b6617b21d8#ffmpeg-full
$ ffmpeg
ffmpeg: symbol lookup error: /nix/store/70y32s7xrkzvpf840rfvx9pg54xqzqii-openal-soft-1.22.2/lib/libopenal.so.1: undefined symbol: pw_stream_get_time_n

My main system is running on 1ffba9f2f68 (but ffmpeg-full is taken from 9ef15e7bb04), and I have pipewire enabled.
Steps To Reproduce
See above.
Notify maintainers

@codyopel

Ok, seems like I needed to upgrade my whole (9 months old) system, including pipewire. I'm not sure if there is a way to also make it work with older pipewire… (or at least fail gracefully) but in case of doubts let's close the issue.


Please tag release 0.2.9

There's no tag for release 0.2.9 like there are for previous releases.

Created the tag for that release at: https://github.com/yuce/pyswip/tree/v0.2.9


[Do not merge] Fix inconsistent spacing in page navigation

Fixes https://github.com/alphagov/static/issues/676
I made this change inline and was not able to run this locally, raising so this it's more likely to be picked up...

LGTM :+1:


Revert defaulting control value to a string

This reverts the change in #1151. Control should not determine what type the value should be. Control needs to return the value as is.
See discussion here: https://github.com/davidkpiano/react-redux-form/commit/ca5dda45ea3599aacb0db60a7e2a6cedf71f1079#r29259155

Hi guys and gals,
Also caused a lot of confusion on my side. Took me half a day to figure out why all of my text-masked uncontrolled inputs broke all of sudden. Should be released via npmjs repo if possible so we have a latest working version of react-redux-form.
For now I'll use the package from github.
Thanks for the patch!

@criess I am using 1.16.8 until the next version is released. I don't know how anyone can even use 1.16.9, it completely breaks all inputs...


Changes in memory layout of the std net types will result in UB

Context: https://github.com/rust-lang/rust/pull/78802 and https://www.reddit.com/r/rust/comments/wcw93o/a_major_refactor_of_rusts_ip_address/
These lines caught my eye while I was reading the code:
https://github.com/bnoordhuis/netif/blob/550ec42328bbf680328fbaefa9bbeecb36f3e403/src/lib.rs#L189-L190
https://github.com/bnoordhuis/netif/blob/550ec42328bbf680328fbaefa9bbeecb36f3e403/src/lib.rs#L331-L332
A lot of crates were recently patched to remove the assumption of the memory layout of network primitives. Any code continuing to do so will result in UB, so I wanted to raise this issue.

It should be fairly easy to fix. Do you want to send a PR or should I?

I never used libc/winapi or unsafe stuff, so I probably wouldn't know what to do. I'll leave it to you =)


Add MediaTypeIdentifier class

Instead of storing identifiers as raw strings and parsing them to hashes on demand, we should store them in a separate MediaTypeIdentifier class.

Lazy parsing
@blanquer mentioned that the MTI class should lazily parse the its string, i.e. only when someone asks for one of the attributes. It follows that an MTI should be immutable, yes?
Also, it should never raise when we parse; rather, we should assemble the most reasonable MTI we can from a given string. I imagine that "somestuff" would end up as "application/somestuff"
Finally -- I'm not sure if it makes sense for the MTI to descend from Attributor::Model if it's immutable, especially if we never expect to need its hash representation. (On the other hand I really love the docs, examples, type checking etc). Thoughts?

Media type in the response
Presently we have response.headers['Content-Type'] (a String) as the only MTI representation in the response. @blanquer mentions turning this into an MTI; rather than sticking with the raw header, I assume we'd want to introduce a content_type accessor to the response that coerces its argument to an MTI, sets the header (raw String value) and remembers the MTI-typed object for later reading.
If we go this route, do we care about people who directly set the Content-Type header? Maybe we ignore the header when we compose the response and the value of media_type overrides anything that's provided in a header... hmm...
Option B is to directly store an MTI in the response header hash, but then we can't coerce strings; it's up to the app to construct the MTI object. Yech.

This was fixed with the merge of #146


xilem_core: Provide a way to add View implementations for external types

Since we're suffering from the orphan rule with the new xilem_core implementation, we cannot use View in downstream crates for external types such as a WidgetView implementation for &'static str in Xilem.
This PR adds an OrphanView trait which the Context of the View has to implement for the type which has an implementation in xilem_core for this. The View impl for these types is basically a proxy for OrphanView (which in turn has the same method signature as View), so downstream crates can achieve the same as with the View.

It's not clear why you've added a std feature for this; none of the things behind it actually need it.

I guess I wasn't thorough enough and thought, these require std, even better if that's not necessary, I've removed the std feature.

I'm also not convinced it's meaningful to have a View implementation for numbers. It's cute, but it's a bit weird imo.

xilem_web actually already had support for numbers as Text node, apart from syntax-sugar and being slightly more optimized than using something like format!() or num.to_string(), I do think it can be useful in a more mathematical focused impl of xilem_core. I haven't looked into how viable xilem_core could be e.g. for that animatables experiment that I did in trui, but that's e.g. a use-case (i.e. animatable properties).

shows two different ways (unfortunately they aren't possible for the same type at the same time)

So at this point I'm leaning towards the more traditional approach with providing an actual View impl (in the form of OrphanView in the context of this PR), so I'm thinking about removing AsOrphanView in favor of OrphanView as it allows more control with just little bit more syntactical overhead. Maybe we can get similar behavior like as_view() somehow else in a more general way (without extra marker in View, because I don't think that gives good DX TBH).

I've removed the AsOrphanView, cleaned up a little, and added a "test" (more to show how it's used, as the implementation is trivial). When there's no objection that would be ready to merge/review now. The kurbo feature is used in the xilem_web rewrite already.

"AsView" style is that I think it's important that these views are only syntax sugar for an existing view

Yep that's why I originally wanted to have both of these (and the full View equivalent to avoid allocs for more optimized views), but these unfortunately intersect...
I really hope we can find ways in general for something like this, because I think it's quite useful to avoid a full View impl. especially for end users not being familiar with all the specifics of the View trait.
Thanks for the review and the initial impl in https://github.com/DJMcNab/xilem/pull/4 that inspired this.


[sqlite] Access to connection handle

It would be useful to be able to get the underlying sqlite3* handle so that the database can be further configured, or to be able to customize the creation and configuration of the connection using the handle.
For instance, I would like to be able to call sqlite3_create_collation_v2 to set up a collating sequence using the unicase crate.

SQLite calls it a database connection handle so I'd probably expect a method named as_raw_handle() on SqliteConnection that returns the raw sqlite3 pointer.

Thanks for the tip.
Looking at this a little more, as_raw_handle() doesn't seem like it would be enough. It is unlikely (I think) that a user would want some connections configured with a custom collation, and others not.
So perhaps the correct approach is to extend SqliteConnectOptions to allow for this kind of customization?

We're actually discussing the option to configure an on-connect callback to Pool here: https://github.com/launchbadge/sqlx/issues/263

Yes, that sounds like the right idea.

While the method to get the raw handle is being added in #438, it also sounds like having a way to safely introduce new collations would be a good feature-add for the SQLite API. Maybe something like:
impl SqliteConnection {
    pub fn add_collation(&mut self, name: &str, collation: impl Fn(&str, &str) -> Ordering + Send + Sync + 'static) { ... }
}

The implementation would be simpler but the interface less flexible if the callback was defined as extern "C" fn(&str, &str) -> Ordering.

I'll give this a shot. The feature already exists in rusqlite. Should I aim to copy what they've done or pull in that crate as a dependency?
It would still require #263 to ensure that connections are configured consistently.

We probably don't want to pull in rusqlite just for this feature. Their implementation looks a lot more sensible than the one I was formulating in my head so I think it makes a decent starting point.
Let's not directly copy it though. Now I'm thinking that add_collation() should actually be a part of SqliteConnectionOptions which adds it to a map, and then if that map is available/nonempty when a connection is created it then adds the collations to the database. This also means it doesn't need #263 to work with Pool.
I would like to somehow make this work with sqlite3_collation_needed to lazily add the collations but I'm not sure what we're supposed to do if we don't have a collation for a given name; the callback itself is supposed to add the collation but if it doesn't add the collation does the callback just continually get invoked in a loop or does it error? If it errors we can propagate that out but otherwise it could cause a deadlock.

It looks like it invokes the callback once for any collation that it can't find and emit error if it still can't find the collation after invoking the callback: https://github.com/sqlite/sqlite/blob/42a630b1daf1df13850095251cc73be84dbdeac8/src/callback.c#L217-L231
This means we can definitely use sqlite3_collation_needed if we want to lazily install the collations, although I'm not sure what benefit that would confer, maybe slightly lower memory usage?

I'm not clear on the utility of sqlite3_collation_needed unless your schema has tons and tons of collations. Then again, if it is easy to integrate the only downside to it would presumably be slightly higher latency the first time the collation is hit. So maybe it boils down to implementation details.

I'm thinking we could have both relatively easily:
impl SqliteConnection {
    pub fn add_collation(&mut self, ...) -> &mut Self { ... }
    pub fn install_collations_lazily(&mut self) -> &mut Self { ... }
}

and then if install_collations_lazily is set it uses the sqlite3_collation_needed callback instead of immediately invoking sqlite3_create_collation on new connections.
Unless maybe people would want to mix both eagerly and lazily created collations? This sounds like some quite niche optimizations though.

Personally I'm of the opinion this stuff should be exposed fairly directly on SqliteConnection ( by directly I mean close to 1:1 the C API ). I think rusqlite does a very good job here: https://docs.rs/rusqlite/0.23.1/rusqlite/struct.Connection.html#method.create_collation


[Noetic] Readd rqt_console global executable

Reason for adding scripts argument back: ros-visualization/rqt_graph#44

Thanks for the patch.
Partly reverts #23.


Signature sorting options

We could have a button to choose which way to sort the signature: by name, by dimension, manually.

Maybe this would make more sense as actions, e.g. "Sort by name", "Sort by dimension". (Or maybe just "Sort", which would sort it principally by dimension, and alphabetically within that.) These actions would sort the list and destroy the previous sort.

Yes, that sounds better.


Initiate AOT compilation from the command line using ngc is failing Error : Expected 'stylesUrls' to be an array of strings. Angular 4

Bug Report or Feature Request (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request

Output from: ng --version.
"@angular/compiler-cli": "4.0.2",
node v7.9.0
macOS ( Sierra?)
Simple steps to reproduce this bug.
Please include: commands run, packages added, related code changes.
A link to a sample repo would help too.
following the steps here https://angular.io/docs/ts/latest/cookbook/aot-compiler.html
this command is run:
node_modules/.bin/ngc -p tsconfig-aot.json
The log given by the failure.
Error: Expected 'styleUrls' to be an array of strings.
at assertArrayOfStrings (/Users/xxxxx/xxxxx/xxxxx/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:3361:19)
at CompileMetadataResolver.getNonNormalizedDirectiveMetadata (/Users/xxxxx/xxxxx/xxxxx/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:13786:13)
at CompileMetadataResolver._getEntryComponentMetadata (/Users/xxxxx/xxxxx/xxxxx/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:14484:45)
at /Users/xxxxx/xxxxx/xxxxx/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:14470:48
at Array.forEach (native)
at CompileMetadataResolver._getEntryComponentsFromProvider (/Users/xxxxx/xxxxx/xxxxx/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:14469:30)
at /Users/xxxxx/xxxxxx/xxxxx/frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:14433:83
at Array.forEach (native)
at CompileMetadataResolver._getProvidersMetadata (/Users/xxxxxxx/xxxxxx/xxxxxxx/xxxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:14397:19)
at /Users/xxxxxx/xxxxxxxxx/xxxxxxx/xxxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:14399:23
Compilation failed
Desired functionality.
it should work
Mention any other details that might be useful.
I am using angular 4.0.2 and it's components

The CLI (ng ...) handles the details of AOT compilation.
Create a new project via ng new aot-test then execute ng build --prod from within the project directory. (AOT is enabled by default with a production build).  The dist directory will contain the AOT compiled and optimized output.

@clydin this is using AOT that is in an existing project.  What help does your instructions provide?

if you are not using the CLI then the appropriate repository to open an issue  concerning your problem is angular/angular which maintains the 'ngc' tool.

@clydin I am using the cli... I am not sure how to segregate out the ngc tool.  this seems to be an issue deriving from cli through typescript

On CLI projects you don't use ngc directly, you use ng build instead. The instructions in https://angular.io/docs/ts/latest/cookbook/aot-compiler.html are not for CLI projects, but rather projects like https://github.com/angular/quickstart.

Late to the party, but I had this issue caused by including a css file twice, once in the angular-cli.json's styles array, and once in a particular component's styleUrls array. Apparently the cli's webpack  sees the filename/filepath that it already recognizes in the component and wraps/replaces the filepath string with something like __webpack__require(filepath) which is obviously not the string the styleUrls property was looking for.
Fix is to remove it from one of those locations.  (Assuming you don't have it on multiple components. In that case, remove it from angular-cli.json)
Even a slight change to the filepath could fix it.  Changing one of them from xxx.min.css to just xxx.css would cure the error, even though you wouldn't want it twice in your project.


ViT-Dino for Medical images

HI!
I would like to thank you first for such a good and updated repo regarding Vision Transformers.
I want to know if I can use 3d medical images to pretrain the ViT using 3D medical images?. Do I need to make some changes to the sample code you shared.
Thanks

@Mushtaqml yea, you simply have to change the way you encode the patches to be 3d
change https://github.com/lucidrains/vit-pytorch/blob/main/vit_pytorch/vit.py#L92 to
# batch channel height, width, depth
Rearrange('b c (h p1) (w p2) (d p3) ->  b (c p1 p2 p3) h w d')

you'll have to calculate the appropriate input dimensions, which will be 3 * p1 * p2 * p3, and then also set the appropriate length for the absolute positional encoding


Progressive Web App

🚀 Feature
It would be amazing if there was functionality in Docusaurus v2 to have the website be a Progressive Web App (https://developers.google.com/web/progressive-web-apps/) with Service Workers.
This would allow the site to be loaded on offline or low-quality networks.
Have you read the Contributing Guidelines on issues?
Yes
Motivation
Being able to access my docusaurus deployed website without internet connection.
Pitch
Adding support for the exported site to be a Progressive Web App would allow offline access to the site.

FYI we already have a PR (oldest from actives ones) for that, but it is under review.
https://github.com/facebook/docusaurus/pull/2205
Another reminder for @yangshun :)

I'm not familiar enough with PWAs to help review the PR :(
Could @lex111 or @slorber help with reviewing that?

Already merged and ready for use.


Modify notification service to support cEUR

Description
Add support to cEUR in the notification service, to populate firebase with the cEUR/cGLD exchange rates.
Other changes
Describe any minor or "drive-by" changes here.
Tested
Tested in alfajores;
How others should test
Does this need to be tested by QA in the next release cycle? If so please give a brief explanation of how to test these changes.
Related issues

https://github.com/celo-org/wallet/issues/230

Backwards compatibility
Brief explanation of why these changes are/are not backwards compatible.

@jeanregisser updated

We're storing both cUSD/CGLD and cGLD/cUSD conversion but only cGLD/cUSD is used. Not the end of the world and this was present before your PR but it is a bit wasteful imo. Up to you if you want to remove the reverses (cUSD/cGLD and cEUR/cGLD) or not.

blockchain-api and hence the wallet transaction feed uses both for currency conversion: https://github.com/celo-org/wallet/blob/9ae1b0bba7b213b310dc8043536abd1163534ed8/packages/blockchain-api/src/currencyConversion/GoldExchangeRateAPI.ts#L59
What was changed here is correct.

@jeanregisser updated

I still see default strings from the template. Please use N/A instead 🙏

blockchain-api and hence the wallet transaction feed uses both for currency conversion

I see, thanks for pointing that out. It still feels unnecessary since one exchange rate is basically 1 / the other, so storing just one should be enough. Definitely not a priority though, it looks like there are some TODOs related to caching in the blockchain-api too so we can group these two things together if we ever need to improve performance there.

I see, thanks for pointing that out. It still feels unnecessary since one exchange rate is basically 1 / the other, so storing just one should be enough. Definitely not a priority though, it looks like there are some TODOs related to caching in the blockchain-api too so we can group these two things together if we ever need to improve performance there.

I forgot the exact details, I believe @annakaz did it this way because it's not always 1 / the other.
Though it's likely the app does use this shortcut in some places. Might be worth checking what is right.

Hey @MuckT  @tarikbellamine Currently we have Alfajores Build V1.14.3(62) for iOS and V1.14.1 for Android. And as of now we are only able to see cUSD as currency and not found cEUR support.
Can you please provide us latest Alfajores Build for both Android as well as iOS so that we can test it from our end
Thanks..!!


Underscores not rendered

Underscores are rendered into the line below the one they actually occupy. When typing, they resemble spaces ("hello_world" looks like "hello world"). Only once the line below is redrawn (just moving the cursor to it does the job), the underscore appears. When preceded by space, they are surprisingly OK right away.
To reproduce, type (into a blank file):
hello_world

Looks like:
hello world

On pressing enter, the underscore appears.
Light Table version: 0.7.2
Binary version: 0.8.6
Arch Linux 64bit
(ask for any specs that may be helpful)

@MartinBurian what window manager are you using?

i3wm version 4.9.1

@MartinBurian thanks. I don't have a Linux workstation currently but maybe someone else can reproduce this. The core contributors are working on migrating from node-webkit to atom-shell. Hopefully this will be resolved when the changes for that migration are released.

Thank you, I'll be looking forward to the update.

Can't reproduce on arch 64bit.
Either on DWM 6.0 or xfce 4.12 using the same version of LT (0.7.2)

Failed to reproduce using atom-shell branch on Arch 64bit, using i3-wm 4.10.2-1 or xmonad 01.11.1.

Failed to reproduce. atom-shell branch, Ubuntu 64bit

@argand-lamp @dosmoc @sashton – thanks!
@MartinBurian – Would you attempt to reproduce this using the atom-shell branch?

I'll try to. I'm unfortunatelly leaving for two weeks, so I'll try to in
two weeks or so.
čt 25. 6. 2015 v 15:24 odesílatel kenny-evitt<EMAIL_ADDRESS>napsal:

@argand-lamp https://github.com/argand-lamp @dosmoc
https://github.com/dosmoc @sashton https://github.com/sashton –
thanks!
@MartinBurian https://github.com/MartinBurian – Would you attempt to
reproduce this using the atom-shell branch?
—
Reply to this email directly or view it on GitHub
https://github.com/LightTable/LightTable/issues/1901#issuecomment-115257384
.

Closing as we haven't heard back. 0.8.0-alpha release may have resolved. Feel free to ping us if it's still an issue


The mmdetection version of EFPN is available ?

Nice work.
I am attracted by your work, and I am trying to replace my model's original FPN by EFPN, which is developed with MMdetection.
Is it able to realize it by mmdetection?THis module will be integrated into mmdetection?
Thanks.

You could take our modifications in resnet.py and fpn.py and apply them to the resnet and fpn files in mmdetection. You have to do this manually though; we haven't written this module in mmdetection.


Several 404 pages on REST API docs

Describe the bug
Looking into the APIs for Open Collective led me to https://docs.opencollective.com/help/contributing/development/api
Clicking through for Collectives and the ones below gave 404s.
I'm aware of the new GraphQL API but I imagine the broken links are undesirable.
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.opencollective.com/help/contributing/development/api
Click on 'Collectives' in the list.
See 404 page :)

Expected behavior
I'd expect to find the docs :)

@contraexemplo can you have a look?

It's just a matter of broken paths. I'm on it!

Fixed it  — all links on the REST API section are now pointing to the right paths.


Infeasible trajectories with non-square module configurations

When setting the wheelbase and trackwidth to two different numbers it seems a lot of very simple paths fail to generate. As an example, here the wheelbase is 20" and the trackwidth is 17" and it fails to find a solution (same path obviously works with a normal configuration).

Here's the .chor file I was using for testing this. Github won't upload .chor files which is why it's .txt
example.chor.txt

I reproduced the issue with 2024.2.3, but it generates fine on main.

I finished bisecting this issue. It was fixed by #505.

I downloaded the version from here and am having trouble building paths still. Is there something else I need to do to get the version with that fix?

Could you upload another .chor that reproduces the issue with the build on main?

So I downloaded the build from here (it was the latest I could find) and ran the installer. Not sure if there's something else I need to be doing, but none of the paths here will generate.
choreo.chor.txt

Still using the build above, it appears that the 4AndCenter path in that file doesn't generate with both wheelbase and trackwidth set to 19.75".

This is a reported issue exacerbated by non-rectangular module configurations.

@Nsl106 are you seeing the same issues with main now?

It doesn't seem to have problems problem generating anymore. Though it still seems to overshoot stop points as mentioned here, but that's probably unrelated to this issue.


update for html history polyfill for ie =< 9

riot router relies on pushState - which is not supported in ie =< 9.  Updating docs with reference to a polyfill

@lucidtech thanks!

you're welcome
I love riot. Was a Knockout user and looked at react - way too complicated.  I love the syntax and the script in html as opposed to reacts model.  keep it up!
C.
On Dec 13, 2015, at 4:01 AM, Tsutomu Kawamura<EMAIL_ADDRESS>wrote:
@lucidtech thanks!
—
Reply to this email directly or view it on GitHub.


Consider adding AddDataAnnotationsLocalization() overload to IMvcCoreBuilder

Today when working with services.AddMvcCore() you don't get as consistent as an experience as working with services.AddMvc() as far as localization is concerned.
Currently we only provide 1 AddDataAnnotationsLocalization extension method for IMvcCoreBuilder:
AddDataAnnotationsLocalization(
    this IMvcCoreBuilder builder,
    Action<MvcDataAnnotationsLocalizationOptions> setupAction)

Where the IMvcBuilder alternative has two, the above AND:
AddDataAnnotationsLocalization(this IMvcCoreBuilder builder)

All this results in you having to do the ugly:
services
    .AddMvcCore()
    .AddDataAnnotationsLocalization(null);

@rynowak FYI
I think having the same overloads is probably fine, right?

:+1:

73f557002f89fb0ff6da4ad7a74d2bcfe78b688a


Adding Harmony Span fails using Hub

Please close if this is NOT part of the functionality. I don't have a remote I can attach via USB. When selecting 'Scan for Devices' it asks to connect the hub via USB. I did. Hub is connected to the computer where Harmony Span is running on.
When typing "HTTP://localhost:8060" in chrome it finds the XML, that seems to work. Did not change config.js.
MyHarmony does not find the server running. Will try with server running on different PC and looking from different PC.

Thanks for leaving the issue. Just to be sure, you're using the MyHarmony desktop software, correct? Make sure there isn't anything setup in your network that isn't allowing SSDP (<IP_ADDRESS>) traffic.

Hi,
Worked....here are my findings / questions. I attached the hub to the PC and run the MyHarmony software.

when running the Harmony Span server and MyHarmony on the same Windows machine, it would not find the Roku device
when running server on a different windows machine, it would find it immediately and I could add the device. I performed a Sync from MyHarmony to the hub
Detached the hub from the PC and put it back in its place. Synced again from the mobile app (don't know if that was needed)
Device is in my list of devices from the app
If I go to devices in the App, select the Roku device and press buttons (from within the app) all buttons are registered
when playing Activity Netflix, no button was recognized

Question: should I add the Roku device to each activity I want to control ?

Fantastic! Sounds like it's synced successfully. I'm not sure why it had a problem running on the same machine - it could have just come down to your network configuration. Glad you're all setup now.
The next step is to start adding the Roku HarmonySpan device to each of your activities and start creating sequences for each activity - the idea being that when you press a button (like the pause button) it'll press both the Pause button on your media device, as well as a button in your HarmonySpan config that's tied to a desired webhook (such as one from IFTTT).
I'll be writing more elaborate documentation on the entire setup process on the Harmony side very soon.
Feel free to reopen this issue if you run into any other trouble and thank you for the help!


build and ng serve really slow on aot ,  is there any solution ?

I am using cli1.0.6 and angular4.0.3 and have developed 100+ lazy load modules.
when enabled aot,
ng serve  --aot=true can cause more than 10 min
and even ng build --prod --aot=true spend more than 10 min
that means aot cannot be used  both on dev and prod
is there any way can help me ?

As it is stated in the official documentation:
"Today AOT compilation and tree shaking take more time than is practical for development. That will change soon. For now, it's best to JIT compile in development and switch to AOT compilation before deploying to production."
So it's better to develop your app in jit.
Source: https://angular.io/docs/ts/latest/cookbook/aot-compiler.html#!#jit-in-development-aot-in-production

Closing as answered by @echonax, cheers!

I have the same question, how do you solve it

use "ng serve"
That should solve your problem

You can use this flag while compiling:
ng serve --source-map=false
It take 10sec to compile now while previously it was taking 32sec.
source-map is just used for debugging. So if not using debugger you can disable and compile.

I have a same issue "ng serve" take 30 minutes tocompile same code used to work faster when used on angular2.  Please assist.
I am using windows7
@angular/cli: 1.0.4
node: 8.11.3
os: win32 x64
@angular/common: 4.4.7
@angular/compiler: 4.4.7
@angular/core: 4.4.7
@angular/forms: 4.4.7
@angular/http: 4.4.7
@angular/platform-browser: 4.4.7
@angular/platform-browser-dynamic: 4.4.7
@angular/router: 4.4.7
@angular/cli: 1.0.4
@angular/compiler-cli: 4.4.7


metrics

Hello,
I want certificate metrics expiration date, traffic to/from LE and other bits that might be interesting.
See https://github.com/mholt/caddy/issues/1683 for a short discussion.
Would this project willing to accept a PR that adds prometheus metrics, so that I can pick those up in https://github.com/miekg/caddy-prometheus?

Hi!
While I like statistics, I'm not sure it will do much in case for LE interaction. Client activity is usually only a few HTTP requests and then nothing for months. Not sure you would get any meaningful data out of it.

[ Quoting<EMAIL_ADDRESS>in "Re: [xenolf/lego] metrics (#393)..." ]

Hi!
While I like statistics, I'm not sure it will do much in case for LE interaction. Client activity is usually only a few HTTP requests and then nothing for months. Not sure you would get any meaningful data out of it.

Ack. Thanks for letting me know. Think I'm mostly concerned about TLS cert
lifetime. Would lego be the correct place to extract that data or should this
happen higher up in the stack?
Thanks!

Well lego does not really interact with the certificates themselves. People usually implement that kind of logic one layer above.

OK, then this should indeed happen in a higher layer. Thanks for your feedback.

I would also like to see a normal Prometheus/OpenMetrics style monitoring endpoint. Since this client typically runs as a service rather than a cron job, normal monitoring is useful.


Proposal to Add TD3 for Reinforcement Learning to Keras Examples Repository

Hi,
I am interested in adding the implementation of Twin Delayed Deep Deterministic Policy Gradients (TD3)  to the Keras examples repository.
TD3 addresses the problem of overestimated value estimates and suboptimal policies in value-based reinforcement learning methods, especially in deep Q-learning approaches. It introduces a novel algorithm based on Double Q-learning that employs two critics to reduce overestimation. It also introduces target networks and suggests delaying policy updates to reduce errors and enhance performance, resulting in better and faster learning.
I would appreciate your opinion on whether adding TD3 to the repository would be a valuable contribution.
Thank you for your time.

This sounds great! Feel free to open a PR for this implementation, thank you!

@sachinprasadhs @nkovela1
Thanks for the confirmation.


Improve key_from_jwk_dict

bring back private parameter to key_from_jwk_dict (was present in earlier releases)
check for all required key parameters in key_from_jwk_dict
add test case for public rsa key
add test case for public/private ec key

Codecov Report

Merging #16 into master will decrease coverage by 0.07%.
The diff coverage is 75.67%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage   82.02%   81.94%   -0.08%
==========================================
  Files          34       34
  Lines        3216     3252      +36
  Branches      610      618       +8
==========================================
+ Hits         2638     2665      +27
- Misses        366      371       +5
- Partials      212      216       +4

Impacted Files
Coverage Δ

src/cryptojwt/jwk/jwk.py
77.22% <75.67%> (-1.24%)
:arrow_down:

Continue to review full report at Codecov.

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


user support

A todo system is not essential if there is no user support. :octocat:

First of all, thanks for all your great suggestions. We appreciate your commitment to this project.
The "essential" part of the project name is mainly intended to increase the business value of the project, not to reflect actual project usability and/or features.
While having multiple users has proven to be useful in certain use cases, our business partners have not specified such behaviour. If there shows to be a great increase in demand of such feature however, its implementation will be added as requirement for a future release.


Homicide datasets used to create long-run homicide OMM

I'm not sure if snapshots/homicide/2023-01-03/WHOMortalityDatabase_Deaths_sex_age_a_country_area_year-Violence_22nd December 2022 14_53.csv should be included in here. It is necessary to manually download this data but not sure if it should be in here?

I'm not sure if snapshots/homicide/2023-01-03/WHOMortalityDatabase_Deaths_sex_age_a_country_area_year-Violence_22nd December 2022 14_53.csv should be included in here. It is necessary to manually download this data but not sure if it should be in here?

It's better not to commit it, it's enough if you just delete it (or download it to a different location than etl/ in the script). Scripts look good.
(Getting my foot in the door - I've recently added etl-datadiff command that is run automatically as a check for your PR. You can get there through buildkite/etl-build-public-datasets-branch -> Details -> Datadiff or go directly there. It shows that some of the new tables have index columns which probably shouldn't be there)

I'm not sure if snapshots/homicide/2023-01-03/WHOMortalityDatabase_Deaths_sex_age_a_country_area_year-Violence_22nd December 2022 14_53.csv should be included in here. It is necessary to manually download this data but not sure if it should be in here?

It's better not to commit it, it's enough if you just delete it (or download it to a different location than etl/ in the script). Scripts look good.
(Getting my foot in the door - I've recently added etl-datadiff command that is run automatically as a check for your PR. You can get there through buildkite/etl-build-public-datasets-branch -> Details -> Datadiff or go directly there. It shows that some of the new tables have index columns which probably shouldn't be there)

Ah thanks @Marigold! I'm not sure if I have been dealing with this error in the right way: ValueError: feather does not support serializing a non-default index for the index; you can .reset_index() to make the index into column(s).
I was using reset.index() but then this introduces an index column, which I now then drop. Is there a better way to handle this?

I was using reset.index() but then this introduces an index column, which I now then drop. Is there a better way to handle this?

That's correct. You could use .reset_index(drop=True) to make it slightly shorter.


How to move Sidebar on Small screen from Right side to Left Side?

Help!!! How to move Sidebar on Small screen from Right side to Left Side?

Hello @roshansingh21,
thank you for using our products, please follow the next steps:

First, you must to go on HTML page and add to body tag the class menu-on-left.

Second go to assets/sass/material-kit/_responsive.scss and add the following lines of code:

@media (max-width: 991px){
     .menu-on-left{
        &.nav-open{
            .main-panel,
            .navbar-fixed > div{
                @include transform-translate-x(260px);
            }

            .navbar {
                @include transform-translate-x(0px);
            }
        }

        .navbar {
            left: 0;
            right: auto;
            @include transform-translate-x(-260px);
        }
    }
}

After you have done this changes, all you have to to is to recompile the project.
All the best,
Stefan

Hello again, please integrate the code from the following file instead of the code from above.
menu-on-left.scss.zip


Clang tools integrated into Cmake.

Implements #210

Build status:

Linux
Mac
Windows

We will leave this for a future release.


autogen.sh permission denied

Hello,
when using npm 5.4.0 and node 6.11.1 it seems I cannot build sodium :(
here the error.
Makefile:61: recipe for target 'libsodium' failed
/bin/sh: 1: ./autogen.sh: Permission denied

works fine with npm 3.

I have the same issue. It seems related to AVX2 instruction sets and ties back to:
make[4]: *** No rule to make target `crypto_scalarmult/curve25519/sandy2x/sandy2x.S', needed by `crypto_scalarmult/curve25519/sandy2x/libsodium_la-sandy2x.lo'.  Stop.

This same compilation works on npm 5.3.0


Make copr-build for /rerun 42 functional again

copr config username for a dependent leapp-repository PR build case wasn't changed in the 5ddce5a. This patch should address that.
OAMG-8876

Let's see if it helps https://github.com/fernflower/leapp/actions/runs/5001864021/jobs/8961105091


LSTMBlockFusedCell  does not support using  DropoutWrapper

I am trying to use DropoutWrapper with LSTMBlockFusedCell as follows:
cell = tf.contrib.rnn.LSTMBlockFusedCell(num_units,forget_bias)
cell = tf.contrib.rnn.DropoutWrapper(cell,dropout)

I get an exception that the LSTMBlockFusedCell is not an RNNCell
Message: The parameter cell is not a RNNCell. Which is raised form _like_rnncell during DropoutWrapper initialization.
It is checking for those proprieties on the cell:
""Checks that a given object is an RNNCell by using duck typing."""
conditions = [hasattr(cell, "output_size"), hasattr(cell, "state_size"),                 hasattr(cell, "zero_state"), callable(cell)]  LSTMBlockFusedCell does not have output_size , state_size or zero_state properties.
Should LSTMBlockFusedCell  act like RNNCell to allow using various wrappers?
https://stackoverflow.com/questions/46699985/using-tensorflow-dropoutwrapper-with-lstmblockfusedcell

@ebrevdo any plans to support this?

Unfortunately, because this is cell is fused in time, adding dropout would require modifying the C++ code that performs the computation to add proper random number generation and dropout.  Work in this direction is not planned at the moment but I'll ping @ekelsen  to get his thoughts on feasibility.

why? the http://arxiv.org/abs/1409.2329 says the dropout is only applied to input not state, why can we just do a dropout on the input first?

You're right.  This should be sufficiently easy, by adding new
input_keep_prob and variational_recurrent args to the constructor.  If
someone is interested in adding this, I'm happy to review the PR.
On Wed, Dec 6, 2017 at 4:41 PM, xiaoyun wu<EMAIL_ADDRESS>wrote:

why? the http://arxiv.org/abs/1409.2329 says the dropout is only applied
to input not state, why can we just do a dropout on the input first?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/13649#issuecomment-349823037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim5r3LTeI9GwX5GpALXb95gAITbckks5s9zQ6gaJpZM4P2WPu
.

@ebrevdo Do you mean to implement dropout in LSTMBlockFusedCell, rather than make DropoutWrapper supports LSTMBlockFusedCell, right?

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Yes, that's what I mean.
On Thu, Dec 21, 2017, 11:34 PM Alfred<EMAIL_ADDRESS>wrote:

It has been 14 days with no activity and the awaiting tensorflower label
was assigned. Please update the label and/or status accordingly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/13649#issuecomment-353540062,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim6mpiEsQumzlRVrCbsYJvxaxG7szks5tC1t6gaJpZM4P2WPu
.

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Assuming my solution is sufficient. Reopen if you find another reason to move dropout into this layer.

What about MultiRNNCell ? I believe this was the whole point of DropoutWraper, so that higher level functions accepting rnn cells can be used.

I agree with @godefv  the workaround is ok for dropout wrapper, but you cannot still use it MultiRNNCell and dynamic_rnn


Configurable agent count cache ttl

(Builds on top of https://github.com/pinterest/teletraan/pull/788)

Makes agent count cache ttl configurable
Default cache is on with 10s ttl
fixes a missed out fix due to incorrect merge

Testing...
Test agent service,

without AGENT_COUNT_CACHE_TTL setting in script config.
with AGENT_COUNT_CACHE_TTL setting in script config.
removed existing AGENT_COUNT_CACHE_TTL setting from script config.

Log:
DEBUG [2020-12-09 20:31:07,530] com.pinterest.deployservice.handler.PingHandler: updating count for envId t4yRkU8WT76py_eJzKBvqw, existing_count 128, active_count 1, last_refresh<PHONE_NUMBER>530, ttl 10000 seconds
DEBUG [2020-12-09 20:34:07,866] com.pinterest.deployservice.handler.PingHandler: updating count for envId t4yRkU8WT76py_eJzKBvqw, existing_count 128, active_count 1, last_refresh<PHONE_NUMBER>866, ttl 10000 seconds
DEBUG [2020-12-09 20:49:27,761] com.pinterest.deployservice.handler.PingHandler: updating count for envId U-bK8bM7RtqEoBzzsCBdcw, existing_count 10, active_count 2, last_refresh<PHONE_NUMBER>761, ttl 5000 seconds
DEBUG [2020-12-09 20:49:32,903] com.pinterest.deployservice.handler.PingHandler: updating count for envId U-bK8bM7RtqEoBzzsCBdcw, existing_count 10, active_count 5, last_refresh<PHONE_NUMBER>903, ttl 5000 seconds

Merging this PR as we have tested it.
Will open followup PR if needed for improvements 1. ttl config in seconds. 2. completely bypass agentcount when ttl is 0


[libxml2] build failure

Operating system
Windows
Compiler
MSVC
Steps to reproduce the behavior
.\vcpkg.exe install libxml2:x64-windows

Failure logs
Computing installation plan...
The following packages will be built and installed:
libxml2[core,iconv,lzma,zlib]:x64-windows -> 2.11.5#1
Detecting compiler hash for triplet x64-windows...
-- Automatically setting %HTTP(S)_PROXY% environment variables to "<IP_ADDRESS>:11285".
Restored 0 package(s) from C:\Users\ChenJ\AppData\Local\vcpkg\archives in 97 us. Use --debug to see more details.
Installing 1/1 libxml2:x64-windows...
Building libxml2[core,iconv,lzma,zlib]:x64-windows...
-- Downloading https://gitlab.gnome.org//GNOME/libxml2/-/archive/v2.11.5/libxml2-v2.11.5.tar.gz -> GNOME-libxml2-v2.11.5.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from D:\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: D:\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
Downloading https://gitlab.gnome.org//GNOME/libxml2/-/archive/v2.11.5/libxml2-v2.11.5.tar.gz
error: Failed to download from mirror set
error: https://gitlab.gnome.org//GNOME/libxml2/-/archive/v2.11.5/libxml2-v2.11.5.tar.gz: failed: status code 503
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(1051):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 3us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 953us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 1.1 s (1084803us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
  Failed to download file with error: 1
  If you are using a proxy, please check your proxy setting. Possible causes are:

  1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
     to `https://address:port`. This is not correct, because `https://` prefix
     claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
     , etc..) is an HTTP proxy. Try setting `http://address:port` to both
     HTTP_PROXY and HTTPS_PROXY instead.

  2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
     set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
     The value set by your proxy might be wrong, or have same `https://` prefix issue.

  3. Your proxy's remote server is out of service.

  If you've tried directly download the link, and believe this is not a temporary
  download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
  to report this upstream download server failure.

Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
scripts/cmake/vcpkg_from_gitlab.cmake:118 (vcpkg_download_distfile)
ports/libxml2/portfile.cmake:1 (vcpkg_from_gitlab)
scripts/ports.cmake:147 (include)
error: building libxml2:x64-windows failed with: BUILD_FAILED
Elapsed time to handle libxml2:x64-windows: 1.2 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libxml2
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[libxml2]+Build+error&body=Copy+issue+body+from+D%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Additional context
No response

The upstream https://gitlab.gnome.org website cannot be opened, causing the download to fail. You need to wait for the upstream website to be restored.

The upstream is back online but the package (version) seems to be gone.

Partially online, all projects are gone / not yet restored https://gitlab.gnome.org/explore/projects

seems to be working now

Partially online, all projects are gone / not yet restored https://gitlab.gnome.org/explore/projects

oh, yes


Run the device simulation microservice problem

I got the following message when running the device simulation microservice:
'dotnet.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files... \System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users... \WebService.Test.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files... \System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[19900] dotnet.exe' has exited with code 0 (0x0).
Note: addresses were trimmed to reduce text at this post.
But I don't now the exit reason. I will appreciate help on this matter.
Best regards.

Detalles del documento
⚠ No edite esta sección. Se requiere para docs.microsoft.com ➟ Vinculación de problema de GitHub.

ID: 91e85ea3-e6f9-8f21-c542-410b2cbe0b27
Version Independent ID: 23969f86-7f28-4205-bc3a-e0dd518eedea
Content: Device simulation with IoT remote monitoring - Azure
Content Source: articles/iot-accelerators/iot-accelerators-remote-monitoring-create-simulated-device.md
Service: iot-accelerators
GitHub Login: @dominicbetts
Microsoft Alias: dobett

@hiesus Thanks for providing your feedback! We are currently investigating and will update you shortly.

Hi @hiesus are you still having this issue? It seems like an issue with .Net Core please look into this VS Code and .NET setup guide please let us know if that doesn't work.

Dear Alberto.
Thanks for your reply. We still are stucked!. We are going to retake this
tutorial on thrusday and will keep you up to date.
Best regards.
[image: www.endeavourconsult.com] http://www.endeavourconsult.com
J-40869943-5
www.endeavourconsult.com
Msc. Ing. Jesús Hidago
Phone/Teléfonos: +58.412.262.00.00 / +58.4<IP_ADDRESS>
Venezuelan local hour: -4 UTC
<EMAIL_ADDRESS>Caracas/Venezuela
CONFIDENTIALITY: This email (including any attachments) may contain
confidential, proprietary and/or privileged information. Any duplication,
copying, distribution, dissemination, transmission, disclosure or use in
any manner of this email (including any attachments) without the
authorization of the sender is strictly prohibited. If you receive this
email (including any attachments) in error, please notify the sender and
delete this email (including any attachments) from your system. Thank you.
2018-09-15 15:44 GMT-04:00 Alberto Vega<EMAIL_ADDRESS>
Hi @hiesus https://github.com/hiesus are you still having this issue?
It seems like an issue with .Net Core please look into this VS Code and
.NET setup guide please let us know if that doesn't work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/14402#issuecomment-421623753,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ao7Off9CnbRPO3__3b2kjpq51Z-Gudv4ks5ubVivgaJpZM4WW2vd
.

@dominicbetts I was going over this tutorial and I found a couple inconsistencies in Run the device simulation microservice:

"Open the .vscode/launch.json file and assign your IoT Hub connection string to the PCS_IOTHUB_CONNSTRING environment variable." I could not find that variable anywhere in the .vscode/launch.json file located inside device simulation.

"Open the WebService/Properties/launchSettings.json file and assign your IoT Hub connection string to the PCS_IOTHUB_CONNSTRING environment variable." I could not find the Properties folder inside WebService located inside device simulation folder

Hi @Alberto-Vega-MSFT - I've just created a PR to update this article https://github.com/MicrosoftDocs/azure-docs/issues/14402. The source repositories have recently been reorganized leading to some inconsistencies. Thanks!

Thanks Dominic.
I will try it next week and feedback you.
Best regards.
Sent from my iPad

On Sep 28, 2018, at 7:55 AM, Dominic Betts<EMAIL_ADDRESS>wrote:
Hi @Alberto-Vega-MSFT - I've just created a PR to update this article #14402. The source repositories have recently been reorganized leading to some inconsistencies. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @hiesus - we haven't heard back from you so I'm going to close this issue. Please get back in touch if you have further questions. Thanks!
#please-close

@hiesus We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


iOS renders bitmaps flipped vertically

Which platform(s) does your issue occur on?

iOS
iPhone 6 - iOS 10.0 SIMULATOR

Please, provide the following version numbers that your issue occurs with:

CLI: 5.4.0
Cross-platform modules: 5.4.2
Runtime(s):  tns-ios 5.4.1
Plugin(s):

Dependencies:

Plugin
Version

nativescript-canvas
^2.1.5

nativescript-theme-core
~1.0.4

nativescript-vue
~2.2.0

tns-core-modules
~5.4.0

Dev Dependencies:

Plugin
Version

@babel/core
~7.1.0

@babel/preset-env
~7.1.0

babel-loader
~8.0.0

nativescript-dev-webpack
~0.24.0

nativescript-vue-template-compiler
~2.2.0

node-sass
^4.7.1

vue-loader
~15.4.0

Please, tell us how to recreate the issue in as much detail as possible.

Create new VUE project using tns create
run on terminal tns plugin add nativescript-canvas
Use this Vue page component: pastbin
run the project tns run ios --emulator
bitmaps are rendered upside down

@I-NOZex Thanks will fix it right away!

@I-NOZex fixed in 2.1.6

how that's fast mate! 😅 thank you! gonna update and test :)

Now it's correct, but it seems that the Y axis is reversed.
That means if I want to render the image at x: 0, y: 50, the image is rendered as if I defined y: -50
Y = 50

**Y = -50

**

@I-NOZex  OK let me think a bit about this

@I-NOZex fixed in 2.1.7

I'm sorry, the issue persists :(


Move the pseudolocalization editor setting to a debug section

This moves the setting in question to the bottom of the Editor Settings, which makes it less likely to be accidentally enabled.
This closes https://github.com/godotengine/godot/issues/55829.
Note: Not cherry-pickable to 3.x as pseudolocalization isn't implemented there.
Preview

Thanks!


API SSL error with some ipv6 addresses

Hi list,
I use Telegram bot on a Debian12 ipv6 server running librenms and Transport being Telegram. I also wrote a script to send messages to a group. Since those last days I didn't receive any alert from Librenms and I discover that curl fail with error 28 SSL connection timeout when testing from Librenms. An error occurs too after 2 minutes when I run curl from command line like
curl https://api.telegram.org/bot/sendMessage?chat_id=&text=Is not, functional yet
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:01 --:--:-- 0
curl: (35) Recv failure: Connection reset by peer
Running curl -4 ... and the job is done. api.telegram.org is resolved in ipv4 and ipv6, nc -v <api.telegram.org ipv6> 443 succeeded as well as a mtr to the IP.
I discovered that with another ipv6 address, from the same server, it's OK ! What's going on here ? The failing ipv6 address being from the IP range 2001:67c:1298::/48.
Thanks for your support

For me api.telegram.org resolves to 2001:67c:4e8:f004::9, which isn't in the mentioned network.

Exactly, but why I didn't get full answer with IPv6 belonging to the above /48 range ?

OK, seems I didn't explain clearly: my IP is from 2001:67c:1298::/48 range. My other IP is from 2a01:4f8:210::48 range. Connecting to api using the IP from this second range is OK but when I use the other IP from the first range I see some traffic with tcpdump, outgoing and incoming,  which means both servers are connected and exchanging datas but nothing else, it finish with a timeout in terminal mode or error 28 SSL inside Librenms.
Hope you understand now the problematic ;)

I don't think so: from the same IP range other computer I have the same problem. Also this server is ONLY ipv6 and running 24h/24h (backups, web server, emails aso) so I would not put 1 cent of the connectivity. Server is in a DC with other of our servers, no one is showing a problem. And remember, Librenms is running on it watching our servers in various countries, not any alert about such a failure.

mtr report 17ms avg time with 0% loss for 100 packets sent

mtr uses ICMPv6 packets, so its results are often irrelevant when investigating TCP connectivity issues.

Please, dont't try to explain me how mtr/icmp/... works. Generally we all use ICMP/ICMPv6 to check connectivity. If you feel out of idea, just tell it.
Remember with one IP range it's OK the other one not, both using the same Internet provider till a certain point.

If site works from one network and doesn't work from another, then this is very likely to be a network connectivity issue. The used protocol for data transfer is of utmost importance in the case of such network issues. For api.telegram.org there is no difference from which IPv6 address the request is received.

I opened a case on peering partner. I ran a tcptraceroute6 and got for port 80
root@zone-s:/usr/local/bin# tcptraceroute6 api.telegram.org traceroute to api.telegram.org (2001:67c:4e8:f004::9) from 2001:67c:1298::ff04, port 80, from port 17001, 30 hops max, 60 bytes packets  1  2a01:4f8:120:1104::70:1 (2a01:4f8:120:1104::70:1)  0.103 ms  0.146 ms  0.115 ms   2  fd99:a:b:98:67::1 (fd99:a:b:98:67::1)  3.552 ms  3.555 ms  3.306 ms   3  2a00:6340:1000:2024::2 (2a00:6340:1000:2024::2)  7.566 ms  6.779 ms  6.660 ms   4  2a00:6340:1000:2024::1 (2a00:6340:1000:2024::1)  6.857 ms  6.779 ms  6.559 ms   5  C35362-410.C35362-413.telegram.org (2001:7f8::f259:0:2)  17.739 ms  13.356 ms  15.435 ms   6  2001:67c:4e8:801a:1:9102:1:1 (2001:67c:4e8:801a:1:9102:1:1)  13.292 ms  15.342 ms  13.189 ms   7  2001:67c:4e8:801a:1:801e:1:2 (2001:67c:4e8:801a:1:801e:1:2)  15.329 ms  13.406 ms  13.152 ms   8  2001:67c:4e8:eeee:801e:4:0:2632 (2001:67c:4e8:eeee:801e:4:0:2632)  13.457 ms  13.291 ms  13.314 ms   9  2001:67c:4e8:f004::9 (2001:67c:4e8:f004::9)  12.911 ms [open]  12.881 ms  13.014 ms
and for port 443
root@zone-s:/usr/local/bin# tcptraceroute6 api.telegram.org 443 traceroute to api.telegram.org (2001:67c:4e8:f004::9) from 2001:67c:1298::ff04, port 443, from port 16883, 30 hops max, 60 bytes packets  1  2a01:4f8:120:1104::70:1 (2a01:4f8:120:1104::70:1)  0.119 ms  0.159 ms  0.213 ms   2  fd99:a:b:98:67::1 (fd99:a:b:98:67::1)  3.155 ms  3.157 ms  2.949 ms   3  2a00:6340:1000:2024::2 (2a00:6340:1000:2024::2)  6.859 ms  6.714 ms  6.757 ms   4  * * *           5  * * *           6  C35362-410.C35362-413.telegram.org (2001:7f8::f259:0:2)  13.879 ms  14.173 ms  13.704 ms   7  2001:67c:4e8:801a:1:9102:1:1 (2001:67c:4e8:801a:1:9102:1:1)  13.683 ms  13.744 ms  13.570 ms   8  2001:67c:4e8:801a:1:801e:1:2 (2001:67c:4e8:801a:1:801e:1:2)  13.531 ms  13.381 ms  13.570 ms   9  2001:67c:4e8:eeee:801e:4:0:2632 (2001:67c:4e8:eeee:801e:4:0:2632)  13.501 ms  13.552 ms  13.301 ms  10  2001:67c:4e8:f004::9 (2001:67c:4e8:f004::9)  12.885 ms [open]  12.742 ms  12.926 ms
In verbose mode
`* Host api.telegram.org:443 was resolved.

IPv6: 2001:67c:4e8:f004::9
IPv4: <IP_ADDRESS>
Trying [2001:67c:4e8:f004::9]:443...
Connected to api.telegram.org (2001:67c:4e8:f004::9) port 443
ALPN: curl offers h2,http/1.1
TLSv1.3 (OUT), TLS handshake, Client hello (1):
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
Recv failure: Connection reset by peer
OpenSSL SSL_connect: Connection reset by peer in connection to api.telegram.org:443
Closing connection
curl: (35) Recv failure: Connection reset by peer`

Nothing more
So like icmpv6, tcp6 seems OK but still in error. Banging my head :)

Could you also try mtr --tcp -P 443?

Could you also try from some other IP address from the 2001:67c:1298::0/48 network other than 2001:67c:1298::ff04?

Same with all 2001:67c:1298::/64 range (I use this /64 and 2001:67c:1298:10::/64 from this /48 range)
root@zone-s:/tmp# mtr --tcp -P 443 --report-wide api.telegram.org
Start: 2024-03-20T15:39:21+0100                                                                                [4/1258]
HOST: zone-s                             Loss%   Snt   Last   Avg  Best  Wrst StDev
1.|-- 2a01:4f8:120:1104::70:1             0.0%    10    0.4   0.3   0.2   0.5   0.1
2.|-- fd99:a:b:98:67::1                   0.0%    10    3.2   3.4   3.2   4.8   0.5
3.|-- 2a00:6340:1000:2024::2              0.0%    10    6.8   7.0   6.7   7.7   0.3
4.|-- 2a00:6340:1000:2024::1             50.0%    10    7.2   7.5   7.2   8.3   0.5
5.|-- C35362-410.C35362-413.telegram.org 60.0%    10   14.5  17.6  13.7  27.9   6.9
6.|-- C35362-410.C35362-413.telegram.org  0.0%    10   15.2  14.7  13.6  19.2   1.7
2001:67c:4e8:801a:1:9102:1:1
2001:67c:4e8:7003:1:9102:1:1
2001:67c:4e8:801b:1:9102:1:1
7.|-- 2001:67c:4e8:801a:1:801e:1:2        0.0%    10   14.3  14.0  13.7  14.3   0.2
2001:67c:4e8:801a:1:9102:1:1
2001:67c:4e8:7003:1:9102:1:1
2001:67c:4e8:801b:1:801f:1:2
2001:67c:4e8:801a:1:801f:1:2
2001:67c:4e8:7003:1:801e:1:2
2001:67c:4e8:801b:1:9102:1:1
8.|-- 2001:67c:4e8:eeee:801f:4:0:2631     0.0%    10   13.8  13.8  13.5  14.1   0.2
2001:67c:4e8:eeee:801e:4:0:2632
2001:67c:4e8:7003:1:801e:1:2
2001:67c:4e8:eeee:801e:4:0:2634
2001:67c:4e8:eeee:801f:4:0:2634
2001:67c:4e8:801a:1:801f:1:2
2001:67c:4e8:eeee:801f:4:0:2633
2001:67c:4e8:801b:1:801e:1:2
2001:67c:4e8:801b:1:801f:1:2
9.|-- 2001:67c:4e8:eeee:801f:4:0:2633     0.0%    10   13.8  13.8  13.4  14.1   0.2
2001:67c:4e8:eeee:801f:4:0:2635
2001:67c:4e8:eeee:801e:4:0:2636
2001:67c:4e8:eeee:801e:4:0:2631
2001:67c:4e8:eeee:801f:4:0:2631
2001:67c:4e8:eeee:801e:4:0:2634
2001:67c:4e8:f004::9
2001:67c:4e8:eeee:801f:4:0:2634
10.|-- 2001:67c:4e8:f004::9                0.0%     8   13.7  13.6  13.3  14.2   0.3
I downloaded with curl from various repos including debian-netinstall.iso, everything like expected.

Thank you for the additional information.
Could you run curl --resolve api.telegram.org:443:[2001:67c:4e8:f004::8] https://api.telegram.org/bot123456789:AAAAAAAA/getme, collect a pcap file for the request using tcpdump, and send the file to https://t.me/tdlib_bot?

root@zone-s:~# curl --resolve api.telegram.org:443:[2001:67c:4e8:f004::8] https://api.telegram.org/bot123456789:AAAAAAAA/getme
{"ok":false,"error_code":401,"description":"Unauthorized"}root@zone-s:~#

It's really strange that you are able to receive the answer from api.telegram.org through another IPv6 address, but not through the default one. This could mean that someone in the middle intentionally blocks HTTPS to the specififc IPv6 address. Also, it can be seen from tcpdump that TCP connection was established and is dropped some time after it was established, hence this isn't a network connectivity issue.

Do you really meant ipv6 2001:67c:4e8:f004::8 and not ::9 ?
Output in verbose mode (tried with both IPs)

Added api.telegram.org:443:[2001:67c:4e8:f004::8] to DNS cache
Hostname api.telegram.org was found in DNS cache
Trying [2001:67c:4e8:f004::8]:443...
Connected to api.telegram.org (2001:67c:4e8:f004::8) port 443
ALPN: curl offers h2,http/1.1
TLSv1.3 (OUT), TLS handshake, Client hello (1):
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
TLSv1.3 (IN), TLS handshake, Server hello (2):
TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
TLSv1.3 (IN), TLS handshake, Certificate (11):
TLSv1.3 (IN), TLS handshake, CERT verify (15):
TLSv1.3 (IN), TLS handshake, Finished (20):
TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
TLSv1.3 (OUT), TLS handshake, Finished (20):
SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519 / RSASSA-PSS
ALPN: server accepted h2
Server certificate:
subject: CN=api.telegram.org
start date: Mar 26 07:39:18 2023 GMT
expire date: Apr 26 07:39:18 2024 GMT
subjectAltName: host "api.telegram.org" matched cert's "api.telegram.org"
issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2
SSL certificate verify ok.
Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
using HTTP/2
[HTTP/2] [1] OPENED stream for https://api.telegram.org/bot123456789:AAAAAAAA/getme
[HTTP/2] [1] [:method: GET]
[HTTP/2] [1] [:scheme: https]
[HTTP/2] [1] [:authority: api.telegram.org]
[HTTP/2] [1] [:path: /bot123456789:AAAAAAAA/getme]
[HTTP/2] [1] [user-agent: curl/8.6.0]
[HTTP/2] [1] [accept: /]

GET /bot123456789:AAAAAAAA/getme HTTP/2
Host: api.telegram.org
User-Agent: curl/8.6.0
Accept: /

TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
old SSL session ID is stale, removing
< HTTP/2 401
< server: nginx/1.18.0
< date: Thu, 21 Mar 2024 18:29:35 GMT
< content-type: application/json
< content-length: 58
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< access-control-allow-origin: *
< access-control-expose-headers: Content-Length,Content-Type,Date,Server,Connection
<
Connection #0 to host api.telegram.org left intact
{"ok":false,"error_code":401,"description":"Unauthorized"}

I have to add that against ipv6 ending with ::8 I get the same result -above one- with both IPs. If I do the test against ::9, only the "good" ipv6 shows the same result, the failing one giving
curl -v --resolve api.telegram.org:443:[2001:67c:4e8:f004::9] https://api.telegram.org/bot123456789:AAAAAAAA/getme

Added api.telegram.org:443:[2001:67c:4e8:f004::9] to DNS cache
Hostname api.telegram.org was found in DNS cache
Trying [2001:67c:4e8:f004::9]:443...
Connected to api.telegram.org (2001:67c:4e8:f004::9) port 443
ALPN: curl offers h2,http/1.1
TLSv1.3 (OUT), TLS handshake, Client hello (1):
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs

That's all. To summarize:
curl --resolve api.telegram.org:443:[2001:67c:4e8:f004::8] https://api.telegram.org/bot123456789:AAAAAAAA/getme {"ok":false,"error_code":401,"description":"Unauthorized"}
Gives the same result with both IPs as
curl --resolve api.telegram.org:443:[2001:67c:4e8:f004::9] https://api.telegram.org/bot123456789:AAAAAAAA/getme {"ok":false,"error_code":401,"description":"Unauthorized"}
fail on IP src 2001:67c:1298::ff04

Do you really meant ipv6 2001:67c:4e8:f004::8 and not ::9 ?

Yes. We wanted to test with the same server with a different IPv6 address.

Up ?

Did you receive response from the peering partner?

They say they are not involved, what seems to be right for me. Connecting to ::8 is OK to ::9 not

::8 has connected you with a server that is available with ::9, so there are no issues with TCP, IPv6, or Telegram servers. TCP with ::9 also works, so there is a specific issue with using HTTPS from your server to ::9.

I have the same issue for the telegram API when using IPv6! Sometimes its just working but most of time its not. v4 always fine.
curl -6 -vvv -S -s -q -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage"
*   Trying 2001:67c:4e8:f004::9:443...
* Connected to api.telegram.org (2001:67c:4e8:f004::9) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: Connection reset by peer in connection to api.telegram.org:443
* Closing connection 0
* TLSv1.0 (OUT), TLS header, Unknown (21):
* TLSv1.3 (OUT), TLS alert, decode error (562):
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to api.telegram.org:443

I fully confirm that there is still a bug:
curl -6 -vvv -S -s -q -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage"
*   Trying [2001:67c:4e8:f004::9]:443...
* Connected to api.telegram.org (2001:67c:4e8:f004::9) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
*  CApath: none
* Recv failure: Соединение разорвано другой стороной
* OpenSSL SSL_connect: Соединение разорвано другой стороной in connection to api.telegram.org:443
* Closing connection 0
curl: (35) Recv failure: Соединение разорвано другой стороной

@around84 This is still looks like an Internet connectivity issue, which happens much more often with IPv6 networks, or a block by government/Internet provider.

What if try to set MTU lower then 1500 on ipv6 interface?

if i dont set in Mikrotik ipv6 ND MTU then i cant connect to any in *.telegram.org. Check on 2 ISP in Russia.  ND MTU set as PPPoE MTU.

No changes on my side

i have the same issue


RELEASE: auto keep 33/33/33 aurabal/weth/graviaura vault

Codecov Report

Merging #279 (f6ed910) into main (827a6d7) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
+ Coverage   39.70%   39.78%   +0.07%
==========================================
  Files          19       19
  Lines        1516     1518       +2
==========================================
+ Hits          602      604       +2
  Misses        914      914

Impacted Files
Coverage Δ

config/constants.py
100.00% <100.00%> (ø)


Tutorial or copy and paste examples

Sorry for the brief message and problably in the wrong place.
The old library had easy to follow examples to get started with, the new docs don't (as far as I can see).
Would it be a good idea to start adding that, so when you click on the show code button, you get a complete example?

Yes, very few examples.
@chrisbarry where i can find old documentation? Do you understand how to work with the library?

https://codesandbox.io/s/react-financial-charts-demo-c88wz
here is a quick demo with sandbox
you can find the lod doc throught the original library react-stockchart


Define "perennial" in docs

@kevgo @charlierudolph It's an uncommon word, the definition helps to understand what it is. Also fixed some typos I found.

👍

:ship:

Nice! 🚢


Expose DirectiveLocation from strawberry.directives

Our changelog has this example for directives:
import strawberry
from strawberry.directives import DirectiveLocation

@strawberry.type
class Query:
    cake: str = "made_in_switzerland"

@strawberry.directive(
    locations=[DirectiveLocation.FIELD], description="Make string uppercase"
)
def uppercase(value: str, example: str):
    return value.upper()

schema = strawberry.Schema(query=Query, directives=[uppercase])

but we don't have strawberry.directives package :)

Ok, we have strawberry.directive, we should probably rename it or update the changelog :D

Hi, is the issue still persistent? If yes, can i work on the issue?

@mohatagarvit yup, still present :) feel free to send a PR

Please review my pull request.


UnicodeDecodeError: 'unicodeescape' codec can't decode byte 0x5c in position 108130: \ at end of string

#302 issue title was changed, so I create a new issue.
I used google-images-download library by hardikvasa:master + Joeclinton1:patch-1.
I met an issue.

Unfortunately all 20 could not be downloaded because some images were not downloadable.
I changed line 753.

    start_line = s.find("AF_initDataCallback({key: \\'ds:2\\'") - 10

   start_line = s.find("AF_initDataCallback({key: \\'ds:1\\'") - 10

Until 2 weeks ago, I used it well.
But, recently, I met another issue.

UnicodeDecodeError: 'unicodeescape' codec can't decode byte 0x5c in position 108130: \ at end of string

I printed the object_raw. I found the missing value in last position.

... \u003dfin",null,null,"Finance",false,null,null,null,null,null,[22]\n,null,null,22]\n]\n]\n,0,null,null,null,[]\n]
I changed the index value to restoring a last charactor.
I changed line 756.

   object_raw = str(s[start_object:end_object])

   object_raw = str(s[start_object:end_object+1])

... \u003dfin",null,null,"Finance",false,null,null,null,null,null,[22]\n,null,null,22]\n]\n]\n,0,null,null,null,[]\n]\n

I solved my issue in this way.
If there is a problem with my method, please give me some advice.
In addition, I used code sample in this url for testing.

https://google-images-download.readthedocs.io/en/latest/examples.html#

from google_images_download import google_images_download   #importing the library
response = google_images_download.googleimagesdownload()   #class instantiation
arguments = {"keywords":"Polar bears,baloons,Beaches","limit":20,"print_urls":True}   #creating list of arguments
paths = response.download(arguments)   #passing the arguments to the function
print(paths)   #printing absolute paths of the downloaded images

@cheerup127 your fix worked for me. Nice one!


Wrong files count in info box (progress page)

In the info box (progress page), the wrong file count is shown.
This seems to be a UI issue as files are downloaded correctly

Fixed in v1.6.0


Allow to collapse the Incoming/Outgoing changes tree

I would like to be able to collapse the tree with the Incoming and Outgoing changes in the SCM pane. It has many nodes and it distracts me from the changes view:

Yes this was sudden and confusing for me.

+1

Definitely

I found that there is a checkbox in the settings which can disable the Incoming/Outgoing feature.

I know my memory is terrible, but I swear I used to be able to collapse this in a previous version. I recently updated and couldn't seem to do this anymore. Am I losing it? Was this recently changed? I disabled it as I would rather not show it than show it, but I do like to be able to easily see the incoming/outgoing tree when I want to (with out having to remember that the setting exists).

The incoming/outgoing commits are being moved into a new "Source Control Graph" view.
This is already available in VS Code Insiders and will be included in the next VS Code Stable release.


Uxn core to make use of extraneous 3 opcodes

The new uxn specs is making use of the 3 free opcodes (0x20, 0x40 and 0x60), see refs to basically addsrelative immediate jumps.
case 0x20: /* JCI */ POP8(b) if(!b) { pc += 2; break; }
case 0x40: /* JMI */ PEEK16(a, pc) pc += a + 2; break;
case 0x60: /* JSI */ PUSH16(u->rst, pc + 2) PEEK16(a, pc) pc += a + 2; break;

See example implementation. There aren't many roms that make use of this yet, it'll roll out slowly during the next few months. But left.rom does use the new opcodes, so if anything shows up then it's a good sign.

https://github.com/asiekierka/uxnds/releases/tag/v0.3.6


Compile fails i2c_msg & i2c_smbus_data redefined in pi_i2c.c

I'm trying to install this on a Raspbian Jessie system, RPi B.
gcc version 4.9.1 (Raspbian 4.9.1-19)
gcc -I/usr/local/include -I/usr/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/lib/erlang/usr/include/ -Ideps/erlang_portutil -Ideps/pihwm/lib -c -o priv/pi_i2c.o deps/pihwm/lib/pi_i2c.c
In file included from deps/pihwm/lib/pi_i2c.c:29:0:
/usr/include/linux/i2c-dev.h:37:8: error: redefinition of ‘struct i2c_msg’
 struct i2c_msg {
        ^
In file included from deps/pihwm/lib/pi_i2c.c:28:0:
/usr/include/linux/i2c.h:68:8: note: originally defined here
 struct i2c_msg {
        ^
In file included from deps/pihwm/lib/pi_i2c.c:29:0:
/usr/include/linux/i2c-dev.h:89:7: error: redefinition of ‘union i2c_smbus_data’
 union i2c_smbus_data {
       ^
In file included from deps/pihwm/lib/pi_i2c.c:28:0:
/usr/include/linux/i2c.h:128:7: note: originally defined here
 union i2c_smbus_data {
       ^
Makefile:40: recipe for target 'pihwm' failed
make: *** [pihwm] Error 1

It works OK on Raspbian wheezy with gcc version 4.6.3 (Debian 4.6.3-14+rpi1)


No credentials available

I placed valid client ID on this place:
clientId = "",
But after clicked the "Sign in" button all I see the errors in the Log:
2024-02-12 08:52:56.859  7937-8288  CredManProvService      com.demoproject.forbeginners   I  GetCredentialResponse error returned from framework
2024-02-12 08:52:56.861  7937-7937  OneTapCompose            com.demoproject.forbeginners   E  No credentials available

Sorry for a late response. I've just published a new release 'v1.0.12', which now automatically opens up a Google Account screen to let you sign in with an account if you don't already have one. Try testing it out and let me know if it works for you. :)

No it works as expected! Thanks for fix!!!


With Gradle 5.0 and above, lombok plugin not supported for compileOnly?

Following line in build.gradle works fine for lombok plugin up to 4.10.3 (latest gradle 4 version)
compileOnly "org.projectlombok:lombok"
for classes like
@Getter
@Setter
public class SomeClass {
  private String name;
}

But with 5.0 and above, project fails to compile, complaining any service classes that call someClass.getName() or someClass.setName(): error: cannot find symbol. It seems 5.0 and above do not honor lombok's @Getter and @Setter any more. Or done by a new task?

I think you're running into a change in behavior that's deprecated in 4.x and removed in 5.0:
https://docs.gradle.org/current/userguide/upgrading_version_4.html#rel4.6:annotation_processor_configuration
Before 5.0, Gradle used to use annotation processors like lombok when they were on the compile classpath. This mixed the dependencies needed to execute annotation processors with the dependencies needed to compile the project, which made it harder for Gradle to avoid compilation when dependencies changed.
Instead of adding lombok to your compileOnly configuration, you should add it to the annotationProcessor configuration.


Fix regex for capturing frontned strings.

Fixes: #1155
@timabbott, please review.

Automated message from Dropbox CLA bot
@umairwaheed, it looks like you've already signed the Dropbox CLA. Thanks!

@umairwaheed thanks for working on this!  It looks reasonable, but I think this extraction code is also getting complicated enough that I think we should add a test class for these regular expressions.  Can you add one?
Thanks!

Sure.

@timabbott, done!
(please don't merge the last commit)

Cool, merged the first 2 commits, thanks @umairwaheed!


Various doc fixes

FYI I tested npm run build and npm start on Node v6.4 (per my doc update ^^) and I see no problems.


Fix bugs related to CSR and Secrets in Certificate

Description
Changes proposed in this pull request:

Fixed bug related to displaying CSR in the Edit modal
Fixed bug related to displaying Secrets in the Edit modal
Fixed some inputs
Add validation for secrets

Related issue(s) #608

/retest

/retest