Create experimental qos_ecn_config_test.go

Added experimental ECN config test

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.611%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1663

Relevant Lines:
2389

💛  - Coveralls

/gcbrun


Border Color on Main window after 3.0 update

The border color is now transparent after updating to 3.0 (see screenshot).  When the plugin is first installed it looks correct but after a restart the border goes transparent. I assume something changed in the markup sine this is a major release. I have no custom CSS installed and have verified my preference are "default" to a new hyper install.

Went to the repo to create an issue only to find this one so instead I'm just confirming it. MacOS Mojave 10.14.4, Hyper 3.0.

Also confirming that removing hyper-material-theme resolves the issue.

Yes, but If we want to use it?

Either don't update Hyper to 3.0 or use another theme @Krato

Hi there, this (and others) should be fixed with the new release upcoming for Hyper 3. Please be patient, PR is already opened #43

I released the 3.0.0. Please let us know if the issue persist.

@equinusocio verified and fixed.


Invalid indication and reedit of CUSTOM SQL columns in Chart Editor

In pivot table v2 setup, columns section (may be in all similar UI) - if you create CUSTOM SQL column, while it will be working - you will not see it's name in columns list, if you reopen it for edit  - you will not see custom function - it will be lost.
How to reproduce the bug

Create Pivot Table v2 for any dataset
In column list click add column
Choose custom sql
Assign name for query and write any legal sql function for column in text area
Save column
Empty column line will be in UI
Apply columns to table - all will be working fine
Reopen column for editing - all data - name and content will be lost!

Expected results

After setup UI shows title for custom coolumn or it's function digest
Reopen for edit will keep custom function in editor box

Actual results

Column information not shown
Reopen for edit opens empty editor without previous state

Screenshots

I'm unable to reproduce this in current Superset (3.1)


Textadept 10.0 alpha language module freezes on Windows

Textadept 10.0 alpha freezes on Windows 7 32bit when loading nim source files.
While checking the Task Manager I can see that it spawns a nimsuggest process ("nimsuggest --stdin --debug --v2").
Is there a way to debug the textadept-nim language module?

Well, I can not reproduce it on linux.
All output from nimsuggest is being redirected to stdout as well, so you can check it if textadept will be started from command line. It is also possible to add ui.print(debug output will appear in textadept buffer) or just print(will be printed to stdout) calls into key points of the plugin.
For example you could start from the nimsuggest session creation or the nimble project detection code then check how the plugin parses the nimsuggest output, and so on...

It seems like the issue under Windows is in sessions.lua; spawn doesn't execute the process in a separate thread. If I terminate nimsuggest, then textadept unfreezes until nimsuggest gets executed again by pressing '.'. Is it possible to switch from --stdin to --epc?

AFAIK the epc mode means the sockets usage. (I'm not familiar with it) In lua the sockets handling requires additional libraries, so it is not possible without external dependencies.
I wonder if the issue persists in previous versions of textadept under windows. And also it might be a pipe locking problem rather than threading. I will try to reproduce it when set up a windows VM.

This is trickier than I initially thought. Spawn does execute in a different thread, but in sessions.lua:102 the main thread blocks once there's no more input to read (at least under Windows). Newline in Windows is also different, so in sessions.lua:103 the return string will not be empty but "\r"; reading a line in lua under Windows truncates the "\n" character but the newline sequence in Windows is "\r\n".

Thank you for investigation! I've added some changes including --tester mode for nimsuggest which should make parsing eol-insensitive.

NP, thank you too. I think this issue can be closed, as the freezes are now gone. It still doesn't quite work under Windows, but I suspect it's more because of how Nimsuggest in console mode works under different OSs. I believe you'll have to rewrite the plugin to work with Nimsuggest in EPC mode, eventually. Nimsuggest in EPC mode works almost flawlessly in VS code under Windows.


making full screen of check your email(forgot password)

Fixes #606
Changes:
Changed Visibility of bottom navigation to gone
Hide supportActionBar when sentEmailLayout got visible
Screenshots for the change:
Before

After

According to the issue, it should be full screen. The action bar is displayed in your changes.


UseProjection does not work with field expressions

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When using UseProjection together with field expressions, there does not seem to be any way to return those fields. The fields mapped to field expressions will always return null.
This means that we can't use projection together with field expressions, it seems. The effect is that the GraphQL schema needs to very closely resemble the entity model if we want to bind to EF Core with projections. This makes our GraphQL schema to tightly coupled - we want to be able to evolve the entity model without having to change the GraphQL schema.
Steps to reproduce
Example code:
public class ListItemType : ObjectType<ListItem>
    {
        protected override void Configure(IObjectTypeDescriptor<ListItem> descriptor)
        {
            descriptor.Name("listItem");
            descriptor.BindFieldsExplicitly();
            descriptor.Field(t => t.Priority == null ? null : t.Priority.SortIndex)
                .Type<IntType>()
                .Name("prioritySortIndex");
        }
   }

This does not work when UseProjection is used on a list of those ListItemType objects:
public class MyQueryType : ObjectType<MyQuery>
    {
        protected override void Configure(IObjectTypeDescriptor<MyQuery> descriptor)
        {
            descriptor.Field(f => f.GetListItems(default))
               .Type<ListType<NonNullType<ListItemType>>>()
               .UseProjection();
        }
    }

Even though we use Include in Entity Framework:
public IQueryable<ListItem> GetAllListItems()
        {
            return _context.Set<ListItem>()
                .Include(y => y.Priority);
        }

In this case, prioritySortIndex always returns null. Is there any way to return the prioritySortIndex without using a nested type?
Relevant log output
No response
Additional Context?
See also this thread on Slack.
Product
Hot Chocolate
Version
13.0.0-preview.56

This is a known limitation. We at the moment do are not planing to implement this.


Expose HonoRequest Type

Congrats on the v3, launch. Really liking Hono as a clean and fast framework.
In my apps, I sometimes build utility functions that are used by multiple handlers and they interact with the Request. Since the request has changed to HonoRequest, I think it is valuable to also expose its type, so ppl can write functions and define HonoRequest as a parameter.

Hi @KeKs0r !
You are right. The type of HonoRequest should be exposed.
We'd accept this PR, but there is one request. Edit src/mod.ts and export HonoRequest like src/index.ts. This file is used by Deno.

@KeKs0r
Ill do the denoify` after I merge this PR! Thanks!


Fix segfault by defining the asset_url function in the right context

Hello! I hit a segfault upon upgrading my app to to Sprockets 4.0, and eventually tracked it down to this.
I also think it might be the same issue as this: https://github.com/rails/sprockets/issues/633#issuecomment-561010553

Okay, Travis is green! What do you think?

@botandrose is there anyway to test this change? Is this backwards compatible?


fix: token-classification start and end

Motivation
Fix token-classification pipeline https://github.com/xenova/transformers.js/issues/359
Implementation
Keep track of current position to calculate start and end

mm not quite ready. seeing some differences between python and js.


How to get started with using this library?

Is there any documentation I can refer to?

The README lacks seriously of any information on how to get started
You can start using the reference documentation: https://godoc.org/github.com/yutopp/go-rtmp


Add support for drag-and-drop in blueprint tree

What
This PR adds support for drag-and-drop in the blueprint tree.

Fixes https://github.com/rerun-io/rerun/issues/2652

https://github.com/rerun-io/rerun/assets/49431240/4d5f47ae-6d79-4ad0-a05d-b7eaaac18659
It has the following known limitations/future work:

Only a single item may be dragged at a time. If multiple items are selected when a drag starts, the selection is set to contain only the dragged item.

https://github.com/rerun-io/rerun/issues/4887

Only space view and containers may be dragged. The drag and drop operations only operate on the view hierarchy (not the space view data).
The root container has a special behaviour: it cannot be successfully dragged, and nothing can be dragged before/after it. This is consistent with it being the root container, but inconsistent with how the UI is presented.

https://github.com/rerun-io/rerun/issues/4909

Because of how Grid container work (they support "holes", and tend to swap instead of reflow items when reordering), some drag operation have additional order side effects within the destination (grid) container.
https://github.com/rerun-io/rerun/issues/4916

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

The effect of the drop in progress should be live previewed in the viewport.

This one seems like it should be turned into an issue / baked into another issue so we don't drop it

The effect of the drop in progress should be live previewed in the viewport.

This one seems like it should be turned into an issue / baked into another issue so we don't drop it

Yes, I opened one and forgot to link it. I'm actually using this tracking issue as "ground truth" todo list:

https://github.com/rerun-io/rerun/issues/3120

Excited for this! Such a huge UX win already


gpr

Translate GPflow/GPflow/gpr.py to gpflowr/R/gpr.R
When closed, remember to tick the box in the roadmap issue

nullified by #27


ParseUserhost sets the User of a UserHost the passed string when the string is not a mask

When calling ParseUserhost, for example, with "test", the resulting UserHost struct looks like this: UserHost{Nick: "", User: "test", Host: ""}. The parser tests have no checks for this, but RFC 1459 (see note 6) states that in this case the mask is just a nick.

This is now #57


Touch events dont work

Although the system renders on a mobile/touch screen device, no touches register.

Fixed by PR #12


Get rid of terminal warnings issue while running apt

Let's get rid of some warnings during packages installation on
ubuntu, e.g:
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline

Thanks @SergK 🏎


Support passing generics to tagged template string

I was trying to write some type definition for the styled-components project, but it looks like there is no way to specify a generic when using a tagged template. So... here is a subset of the typedef I'm writing:
declare module 'styled-components' {
    import * as React from "react";

    export function input<P>(values: TemplateStringsArray): React.StatelessComponent<P>;
}

This is how I'd like to use it:
import * as React from 'react';

/// <reference path="../../../typings/styled-components/styled-components.d.ts" />

import styled from 'styled-components';

interface Props {
  placeholder: string;
}

const Input = styled.input<Props>`
  font-size: 1.5em;
  text-align: center;
  color: palevioletred;
`;

I know that it can also be possible to override Input.propTypes manually[1], but I was wondering if this could be an useful addition to Typescript.
TypeScript Version:  2.0.3
[1] Or even write a custom component and just use the styled(Component)style`` syntax

From twitter, turns out this issue already exists: https://twitter.com/drosenwasser/status/797222514715824128. I think this is the correct syntax to use and the same thing I tried when I wanted to use generics with a template tag.

If all you're doing is specifying the type argument for an output type (and the type system can't make any checks on that), that's not really a case for generics - that seems more like a better case for a type assertion.
The one thing that I do see as a benefit in the original use case is that you don't have to write React.StatelessComponent every time, which is definitely a pain.

@DanielRosenwasser The use-case doesn't bother me, it's only the feature I really care about 😄 I could very well want to restrict the types of parameters the tag can use to just values/keys of the type, for instance.

I just ran into this trying to put together a small template library:

It would be really nice if the first example worked (and would be the least astonishing, IMHO)

Since it's awaiting more feedback, here's my feedback. I am pretty sure the use case is not only for return type. Consider signature:
interface SimplifiedStyledFunction<P> {
  <TNewProps>(strings: TemplateStringsArray, ...interpolations: ((props: P & TNewProps) => string)[]): StyledComponent<P & TNewProps>;
}

there's no way to infer TNewProps from the usage in interpolations
no way to cast return type (it wouldn't match)
workaround: specify type of props in each interpolation in form of Props & TNewProps, which will be incredibly annoying

To give some technical background on this, there are four operations that we consider flavors of function invocations in the compiler:

call expression: foo()
new expressions: new Foo()
tagged templates: foo `stuff`
decorators: @FooComponent class C { }

The latter two do not allow explicit type arguments. My feeling is that both should be allowed, but given the demand, work to support tagged templates is reasonable and should have some more priority.

So I remembered the real reason we didn't do this originally.
Right now, tagged templates are considered MemberExpressions. Those bind just a bit more tightly than a CallExpression or NewExpression.
Since tagged templates will always bind more tightly, we'll always try to parse tagged template type arguments, even when we're going to parse out a call expression.
If you take the following:
foo<Bar>()

A naive approach would do the following:

Let me try to parse out a MemberExpression

I have a foo. Keep parsing out the rest of a MemberExpression.
I see <! Let me look try parsing out type arguments for a tagged template.
I have type arguments! Let me see if I have a template string.
I have an open paren - let me discard all the work I've done to get those type parameters. 😢

I was able to get foo as a MemberExpression. Let me see if I can parse out a call.

I see a <. I should parse out type arguments as part of a CallExpression.
I got type arguments! Now I see an open paren! I'll try parsing out the call arguments.

This approach means that for every call expression with generics, we have to perform steps 1.ii, through 1.iv even though we're going to throw away the result.
While it's rare that you have to supply type arguments, it's less-than-ideal to do a re-parse every time.

So, can a tagged template be treated as a variation of a CallExpression then?

It already sort of is from the perspective of type-checking - during overload resolution and whatnot, we create a "virtual" argument for the template strings object.
But it's important to keep the two syntactically separate. The solution is probably to make an intermediate parsing production that sits between MemberExpression and CallExpression. This is more a technical issue more than anything else.

Some progress here?

@DanielRosenwasser

we have to perform steps 1.ii, through 1.iv even though we're going to throw away the result.

This makes perfect sense and as you already said, not ideal.
How much impact this will really have on parser performance?
Is there a parsing approach or trick that can reduce this?
I mean is it really a deal breaker?

 I thought tagged template strings were part of the javascript spec. Am I missing something?

Really looking forward to it!

Wondering the status on this. I'm currently working around this with a custom withProps functions
export const withProps = <U>() => <P, T, O>(
  fn: styledComponents.ThemedStyledFunction<P, T, O>
) => fn as styledComponents.ThemedStyledFunction<P & U, T, O & U>;

Usage is like this
const Icon = withProps<{ size?: string }>()(styled.span)`
  height: ${props => (props.size ? props.size : '1.4rem')};
  width: ${props => (props.size ? props.size : '1.4rem')};

  display: flex;
  align-items: center;
  justify-content: center;
`;

This ends up causing a bunch of other problems though. I'm very new to typescript but can help out where possible to get template string working well.

@malimichael I really like your solution but what kind of other problems do are you referring to?

@beshanoe I don't think it's something that is confined to the TypeScript team illuminati 😄. The community can help here, but I definitely had some difficulties when I tried fixing it a while back. It's totally possible I'm missing something if you want to take a stab at it. I might give it another shot some time soon.

The problem actually seems easier now that I look at it again. I'm going to take a second swing at it.

Check out the fix at #23430 and let me know what you think!

Thank you so very much @DanielRosenwasser and everyone else who assisted. I know myself and many others are extremely excited to use this when it is released.
I am sure the styled-components community in particular will be very grateful. @styled-components/typers

Yes, Thanks, Daniel! So how long does it take for something like this to go live?

@DanielRosenwasser looks like there's a little bug with an implementation.
Apparently, compiler doesn't choose correct version of method among overloads.
interface IFooFn {
  (strings: TemplateStringsArray): Promise<{}>;
  <T>(strings: TemplateStringsArray): Promise<T>;
}

declare const fooFn: IFooFn;

export const promise = fooFn<number>``; // promise is of type Promise<{}>

if we call fooFn as a plain function, it works as expected

@beshanoe Curious as to why the overload is needed. Wouldn't a default parameter for the generic solve this?
type IFooFn<T = any> = (strings: TemplateStringsArray): Promise<T>;

@marvinhagemeister I'm also interested why does styled-components typings have this line at all, but at least it revealed this buggy behavior

@DanielRosenwasser could you please comment on https://github.com/Microsoft/TypeScript/issues/11947#issuecomment-383367001

@beshanoe As a workaround, you can use a generic default:
interface IFooFn {
    <T = {}>(strings: TemplateStringsArray): Promise<T>;
}

declare const fooFn: IFooFn;

export const promise = fooFn<number>``; // promise is of type Promise<number>


Support parallel migrations with Snowflake

Which version and edition of Flyway are you using?
7.9.1
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Yes, this can be reproduced with version 8.0.2 as well.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using? (Type & version)
Snowflake 5.37.3
Which operating system are you using?
Ubuntu 20.04.3 LTS
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Start two instances of a Spring Boot service which uses Flyway for Snowflake DB schema evolution. Both instances were started using identical configuration for Flyway, so both were targeting the same DB schema (which was empty at the time the first service instance was started).
What did you expect to see?
As part of the first instance startup procedure, I expected Flyway to detect the DB schema being empty and start the migration process.
I expected the second service instance (started shortly after, when the first instance was already in the process of DB migration) to wait before the first instance finishes the DB migration process and only then continue its startup procedure.
What did you see instead?
When the second instance started, it immediately went ahead with the DB migration process despite the first service instance still being in the middle of its own DB migration process, so both first and second instance were applying the same migration scripts at the same time to the same DB schema.
If my understanding of https://flywaydb.org/documentation/learnmore/faq#parallel is correct, this should not have happened.
There's no mention of parallel migration not being supported for Snowflake in https://flywaydb.org/documentation/database/snowflake, so not sure if this is a bug or not.

@DoodleBobBuffPants Thanks for the confirmation. Small suggestion: it might make sense to mention this somewhere in the documentation (e.g. in https://flywaydb.org/documentation/database/snowflake) for people to not be caught by surprise by this.

Thanks for adding that parallel migration is not supported in snowflake to the documentation, it was really helpful..!!
Looking forward to this feature release

Is there any progress with this feature-request?


Fix OS X 10.11.4 breaking changes

NSMenuItem has no longer supports submenu property?

Just tried, submenu worked. I'm still on 10.11.3, but I don't think it's the same on 10.11.4. You might need to call addItem: besides setSubmenu:
[rootMenu setSubmenu:submenu forItem:item];
[rootMenu addItem:item];

Yeah, it's only for 10.11.4. As soon Travis will support the latest osx_image, I add it to the tests configuration.

It was like AppKit bug maybe? In released 10.11.4 no such thing, everything works.


gRPC slice of pointers

Not an issue, rather just a discussion starter:
gRPC makes the decision to represent repeated structs (a slice) as []*T; how does that decision impact cloning such slices? Each record within is asumed to be unique, however there's nothing in the language that prevents us from creating such a slice that reuses a large number of *T;
Let's asume a trivial example, with some pointers:
[0xf00d, 0x1234, 0xf00d] - is the cloned slice expected to honor the references of [0] and [2]?

Thank you for highlighting it. The current implementation of kamino.Clone will preserve pointer equality if there is one in the source slice. This is implemented by using a map of pointers in the cloning context..


WIP - Prevent reloading of VS Code when switching to remote

Now you can see

local kernels
live kernels
as well as remote kernels

We can go further and support connecting to multiple remote servers (but I'd prefer to keep it simple for now)

@rchiodo what do you think of the approach taken, that would allow us to pre-vent reloading.

Codecov Report

Merging #8468 (f0af5f7) into main (bf97452) will increase coverage by 0%.
The diff coverage is 82%.

@@          Coverage Diff          @@
##            main   #8468   +/-   ##
=====================================
  Coverage     71%     71%
=====================================
  Files        377     377
  Lines      23890   23910   +20
  Branches    3680    3683    +3
=====================================
+ Hits       17166   17188   +22
+ Misses      5223    5220    -3
- Partials    1501    1502    +1

Impacted Files
Coverage Δ

src/client/datascience/kernel-launcher/types.ts
100% <ø> (ø)

src/client/datascience/types.ts
100% <ø> (ø)

...datascience/interactive-common/notebookProvider.ts
70% <60%> (+1%)
:arrow_up:

.../datascience/notebook/notebookControllerManager.ts
73% <76%> (+<1%)
:arrow_up:

...ience/interactive-common/notebookServerProvider.ts
79% <94%> (+2%)
:arrow_up:

...ent/datascience/jupyter/jupyterNotebookProvider.ts
64% <100%> (+2%)
:arrow_up:

...lient/datascience/jupyter/liveshare/serverCache.ts
80% <100%> (+1%)
:arrow_up:

...t/datascience/kernel-launcher/localKernelFinder.ts
82% <100%> (ø)

...t/datascience/notebook/vscodeNotebookController.ts
75% <100%> (+<1%)
:arrow_up:

...ence/editor-integration/cellHashProviderFactory.ts
97% <0%> (-3%)
:arrow_down:

... and 3 more

I think we'd need to discuss this with the larger team at standup. This is a change in behavior for the UI.


Error on nightly compile with t-c

I tried to travis-cargo-ify paholg's typenum crate.
However, on the nightly build, I get the following error:
Package `typenum v0.0.1 (file:///home/travis/build/paholg/typenum)` does not have these features: `unstable`

I may currently be too illiterate to read the docs, considering I only had two cups of coffee as of yet, but I cannot find anything of help. Could someone help me make the build pass?

http://huonw.github.io/blog/2015/04/helping-travis-catch-the-rustc-train/

tc cargo ... just runs cargo, but implicitly adds --feature unstable when running the rust: nightly configuration (and --verbose by default for all configurations).

https://github.com/huonw/travis-cargo#example

If you do not wish to define an unstable or similar feature, setting TRAVIS_CARGO_NIGHTLY_FEATURE="" should avoid errors caused by undefined features.

Thanks, that did the trick. :+1:


[Snyk] Upgrade @types/node from 14.14.6 to 14.14.20

Snyk has created this PR to upgrade @types/node from 14.14.6 to 14.14.20.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 14 versions ahead of your current version.
The recommended version was released 23 days ago, on 2021-01-04.

Release notes

Package name: @types/node

14.14.20 - 2021-01-04

14.14.19 - 2021-01-01

14.14.18 - 2021-01-01

14.14.17 - 2020-12-30

14.14.16 - 2020-12-23

14.14.15 - 2020-12-23

14.14.14 - 2020-12-15

14.14.13 - 2020-12-12

14.14.12 - 2020-12-10

14.14.11 - 2020-12-08

14.14.10 - 2020-11-25

14.14.9 - 2020-11-19

14.14.8 - 2020-11-17

14.14.7 - 2020-11-09

14.14.6 - 2020-10-28

    from @types/node GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Updated manually


Migrate to tox v4

Describe the problem
Currently used tox version 3 does not run with python 3.12.
Possible solution
Migrate to tox version 4.
System configuration

Python version: 3.12
Django-Constance version: 3.1, dev

done in https://github.com/jazzband/django-constance/pull/557


Optimize availability check for "Run utPLSQL test" menu option

In the preferences you can configure if you want to check for the availability of the menu option "Run utPLSQL test". When set, the extension enables the menu option only when at least one test has been found. This may be slow for two reasons:

because the annotation cache needs to be updated
this happens only, if you do not use a DDL trigger to track changes, in this case changes are detected delayed, when running a test or when checking for availability of tests

large schemas
there is more data in the annotation cache and in the data dictionary, affecting the runtime performance of the queries, especially when no DDL trigger is in place, due to delayed annotation detection

Since version 3.1.8 the following functions are available in ut_runner:

has_suites
is_suite
is_test

These functions are optimized for performance and are faster than the generic table function get_suites_info. Hence these functions should be used whenever possible by the SQL Developer extension.
In fact these functions are available since utPLSQL version 3.1.3, but since version 3.1.8 they are considered reliable (see also utplsql/utplsql#976). Hence the use of this functions should be limited to utPLSQL version 3.1.8 and higher.

@phsalvisberg
I would need to double check but I think it was reliable before.
Only develop (3.1.8-develop) had a bug as I went too far with optimizetions.
Let me check change history to see.

@jgebal I checked. My JUnit test case fails with 3.1.7. All functions return false instead of true, because they do not update the annotation cache (without using the DDL trigger). I have not tested that with 3.1.8 yet. Maybe this is an issue there as well.

The functionality was introduced in this change
Since then it wasn't changed until this change and then this change in 3.1.8-develop
I'm no sure why the functions don't work for you in 3.1.7. They should as they should update cache.
Perhaps it's not worth digging in old versions.
If this didn't work for you before 3.1.8, lets leave it active since 3.1.8 only.

The problem is that has_suite, is_suite and is_test do not check if the annotation cache is up-to-date. This is a problem when you install utPLSQL with install_headless.sql instead of install_headless_with_trigger.sql. Hence this works in the develop environment and in our CI environment where install_headless_with_trigger.sql is used behind the scenes. These functions do not deliver a reliable result. Even in 3.1.8 :-(

IMHO the functions should check if the DDL trigger is active. If not they have to update the annotation cache first. Similar logic as in get_suites_info.

If this will not be fixed in 3.1.8 I'll have to undo this change.

They do, and they always did.
line
    refresh_cache(l_owner_name);

Is responsible for doing the check and cache refresh.

It's not working.

I can have a look at this in the evening.

@jgebal Why have you reopened this issue?

Because we're discussing it and As you said, you might need to revert the change.
Feel free to close if you want. I can open a different issue on utPLSQL

Ok, I checked it again.
It works as expected (without trigger) in v3.1.8.
It does not work (without trigger) in v3.1.7. JUnit test fails.
Hence I close this issue.


Update dotnet-isolated-in-process-differences.md

typo

Learn Build status updates of commit a21aa77:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-functions/dotnet-isolated-in-process-differences.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Looks good; thanks, @joncanning


improve tab usability on pin/pass page

Many users have given feedback that the tab selected is not clear. A black outline on the tabs is probably the solution.


NetworkImage not refreshed

I use FadeInImage to load the image. When the network is bad, the placeholder image will be displayed. When the network becomes good, the loaded image will have been loaded, but the placeholder image is still displayed, and it is not refreshed.

Hi @YinHAHA
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample?
Thank you

✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.5 19F101 darwin-x64, locale zh-Hans-CN)
• Flutter version 1.22.5 at /Users/yinyun9/FlutterSDK/flutter
• Framework revision<PHONE_NUMBER> (4 个月前), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/yinyun9/AndroidSDK/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Users/yinyun9/AndroidSDK/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin installed
• Dart plugin version 201.9317
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[!] VS Code (version 1.54.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)
• MI CC 9 (mobile) • db2b6f • android-arm64 • Android 10 (API 29)
! Doctor found issues in 2 categories.

✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.5 19F101 darwin-x64, locale zh-Hans-CN)
• Flutter version 1.22.5 at /Users/XXXX/FlutterSDK/flutter
• Framework revision<PHONE_NUMBER> (4 个月前), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/XXXX/AndroidSDK/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Users/XXXX/AndroidSDK/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin installed
• Dart plugin version 201.9317
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[!] VS Code (version 1.54.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)
• MI CC 9 (mobile) • db2b6f • android-arm64 • Android 10 (API 29)
! Doctor found issues in 2 categories.

Hi @YinHAHA
Can you please upgrade to the latest  dev and try again
flutter channel dev
flutter upgrade --force
flutter doctor -v
If the issue persists, provide your flutter doctor -v.
Thank you

My upgrade to the latest version is not compatible. What changes have been made to NetworkImage in the latest version?

Hi @YinHAHA

What changes have been made to NetworkImage in the latest version?

I am not sure.
Can you please follow the steps in https://github.com/flutter/flutter/issues/79126#issuecomment-808194811 or provide what was asked in https://github.com/flutter/flutter/issues/79126#issuecomment-808023763?
Thank you

My project is not compatible with the 2.0 version of the SDK. Can you help me see if this problem exists with FadeInImage in the 1.22.6 version of the SDK?

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 2.1.0-12.1.pre, on Mac OS X 10.15.5 19F101 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.1)
[✓] Connected device (2 available)
! Doctor found issues in 1 category.

The same problem on this version.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 2.1.0-12.1.pre, on Mac OS X 10.15.5 19F101 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.1)
[✓] Connected device (2 available)
! Doctor found issues in 1 category.

The same problem on this version.

The print log is as follows:
: ImageChunkEvent#bd262(cumulativeBytesLoaded: 737, expectedTotalBytes: 4574)=====onChunk======
I/flutter: ImageChunkEvent#1cc56(cumulativeBytesLoaded: 4574, expectedTotalBytes: 4574)=====onChunk======
I/flutter: http://test.storage.jd.com/open.asn.jd.com/image/21030423.png [90×90] @ 1.0x=====onImage======false
I/flutter: http://test.storage.jd.com/open.asn.jd.com/image/21030423.png [90×90] @ 1.0x=====onImage======true
It can be seen from the print log that the picture has been downloaded, but the placeholder image is displayed on the page, and the network picture is not refreshed.

Hi @YinHAHA
I cannot reproduce the issue with the code bellow on latest master and dev channel.

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

void main() => runApp(const AutocompleteExampleApp());

class AutocompleteExampleApp extends StatelessWidget {
  const AutocompleteExampleApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Autocomplete Basic'),
        ),
        backgroundColor: Colors.red, // set contrast background
        body: const Center(
          child: FadeInImage(
            image: NetworkImage('https://flutter.dev/assets/homepage/carousel/phone_bezel-467ab8d838e5e2d2d3f347f766173ccc365220223692215416e4ce7342f2212f.png'),
            placeholder: AssetImage('assets/images/logo.png'),
          )
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.0.3 at /Users/pedromassango/Code/flutter_stable
    • Framework revision 4d7946a68d (10 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

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

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

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

[✓] Connected device (3 available)
    • iPhone 11 Pro Max (mobile) • 7A82F29E-E49E-4B3C-8609-1570361DBC17 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.1.0-13.0.pre.294, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.1.0-13.0.pre.294 at /Users/pedromassango/Code/flutter_master
    • Framework revision a603714610 (20 hours ago), 2021-03-28 03:54:02 -0700
    • Engine revision b5e15d055d
    • Dart version 2.13.0 (build 2.13.0-162.0.dev)

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

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

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

[✓] Connected device (3 available)
    • iPhone 11 Pro Max (mobile) • 7A82F29E-E49E-4B3C-8609-1570361DBC17 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

When the picture is loaded when the network is closed, the placeholder image is displayed, and the placeholder image is displayed when the network refreshes the page. When the network is turned on, the picture has been loaded successfully, but it is not displayed.

Use the following code, disconnect the mobile phone network to run the project, the picture is displayed abnormally as shown in the figure below, open the mobile phone network, the picture has been loaded according to the print log, but the picture is still displayed abnormally.
`class MyHomePage extends StatefulWidget {
String imageUrl = "https://flutter.dev/assets/homepage/carousel/phone_bezel-467ab8d838e5e2d2d3f347f766173ccc365220223692215416e4ce7342f2212f.png";
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("test"),
),
body: Center(
child: Column(
children: [
FadeInImage(
image: _addImageLoadListener(widget.imageUrl),
placeholder: AssetImage('images/logo.png'),
width: 200,
height: 200,
),
],
),
),
floatingActionButton: FloatingActionButton(
child: const Icon(Icons.refresh),
onPressed: (){
setState(() {
widget.imageUrl = "https://flutter.dev/assets/homepage/carousel/phone_bezel-467ab8d838e5e2d2d3f347f766173ccc365220223692215416e4ce7342f2212f.png";
});
  },),
);

}
ImageProvider _addImageLoadListener(String url) {
Image image = Image.network(url);
image.image
.resolve(ImageConfiguration.empty)
.addListener(ImageStreamListener((info, synchronousCall) {
print("$info=====onImage======$synchronousCall");
// 图片加载成功
setState(() {});
}, onChunk: (event) {
print("$event=====onChunk======");
}, onError: (error1, error2) {
print("$error1=====onError======$error2");
setState(() {});
}));
return image.image;
}
}
`

`class MyHomePage extends StatefulWidget {
String imageUrl = "https://flutter.dev/assets/homepage/carousel/phone_bezel-467ab8d838e5e2d2d3f347f766173ccc365220223692215416e4ce7342f2212f.png";
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("test"),
),
body: Center(
child: Column(
children: [
FadeInImage(
image: _addImageLoadListener(widget.imageUrl),
placeholder: AssetImage('images/logo.png'),
width: 200,
height: 200,
),
],
),
),
floatingActionButton: FloatingActionButton(
child: const Icon(Icons.refresh),
onPressed: (){
setState(() {
widget.imageUrl = "https://flutter.dev/assets/homepage/carousel/phone_bezel-467ab8d838e5e2d2d3f347f766173ccc365220223692215416e4ce7342f2212f.png";
});
  },),
);

}
ImageProvider _addImageLoadListener(String url) {
Image image = Image.network(url);
image.image
.resolve(ImageConfiguration.empty)
.addListener(ImageStreamListener((info, synchronousCall) {
print("$info=====onImage======$synchronousCall");
// 图片加载成功
setState(() {});
}, onChunk: (event) {
print("$event=====onChunk======");
}, onError: (error1, error2) {
print("$error1=====onError======$error2");
setState(() {});
}));
return image.image;
}
}`
Use the following code, disconnect the mobile phone network to run the project, the picture is displayed abnormally as shown in the figure below, open the mobile phone network, the picture has been loaded according to the print log, but the picture is still displayed abnormally.

Hi @YinHAHA
Your code does not seems to be the best one to load images using FadeImage, please use try the code bellow, it works for me:
        FadeInImage(
            image: NetworkImage(widget.imageUrl),
            placeholder: AssetImage('assets/images/logo.png'),
            width: 200,
            height: 200,
          ),

Oh，No. The thing is like this. At the beginning I also used the way you mentioned above to load the picture, but I found a problem, so I wrote it like the following, in order to monitor the state of the picture loading and find the problem

Does the code in https://github.com/flutter/flutter/issues/79126#issuecomment-809964814 fix this actual issue?

At the beginning I also used the way you mentioned above to load the picture, but I found a problem

Please file this as a separate issue.

     FadeInImage(             image: NetworkImage(widget.imageUrl),             placeholder: AssetImage('assets/images/logo.png'),             width: 200,             height: 200,           ),
Use the following code, disconnect the mobile phone network to run the project, the picture is displayed abnormally as shown in the figure below, open the mobile phone network, the picture has been loaded according to the print log, but the picture is still displayed abnormally.

Hi @YinHAHA
That is exactly what I did in https://github.com/flutter/flutter/issues/79126#issuecomment-809964814 and I had no issues.
Do you want to share a minimal code that is failing for you?
Thank you

`class MyHomePage extends StatefulWidget {
String imageUrl = "https://flutter.dev/assets/homepage/carousel/phone_bezel-467ab8d838e5e2d2d3f347f766173ccc365220223692215416e4ce7342f2212f.png";
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("test"),
),
body: Center(
child: Column(
children: [
FadeInImage(
image: _addImageLoadListener(widget.imageUrl),
placeholder: AssetImage('images/logo.png'),
width: 200,
height: 200,
),
],
),
),
floatingActionButton: FloatingActionButton(
child: const Icon(Icons.refresh),
onPressed: (){
setState(() {
widget.imageUrl = "https://flutter.dev/assets/homepage/carousel/phone_bezel-467ab8d838e5e2d2d3f347f766173ccc365220223692215416e4ce7342f2212f.png";
});
},),
);
}
ImageProvider _addImageLoadListener(String url) {
Image image = Image.network(url);
image.image
.resolve(ImageConfiguration.empty)
.addListener(ImageStreamListener((info, synchronousCall) {
print("$info=====onImage======$synchronousCall");
// 图片加载成功
setState(() {});
}, onChunk: (event) {
print("$event=====onChunk======");
}, onError: (error1, error2) {
print("$error1=====onError======$error2");
setState(() {});
}));
return image.image;
}
}`

Hi @YinHAHA
Please avoid posting the same code which we already discussed (see https://github.com/flutter/flutter/issues/79126#issuecomment-809964814).
if instead you think that the issue might depend from your implementation
please see flutter's community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and flutterhelp
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Remove babel.

I think we should revisit this @kristerkari now since stylelint v13.0.0 drops Node.js 8.x support

@kristerkari how do you want to proceed with this?

@XhmikosR We could start preparing a v4 release that removes Babel and drops some old stylelint versions at the same time.

Sounds good to me. I will rebase this branch. We should also drop support for Node.js < 10 in another PR and update all devDependencies.

@XhmikosR could you please create a v4 branch for all the work that goes into it?

Yeah, let's try to get v4 out fast.

@XhmikosR now that there is going to be a major release, we could drop support for some older stylelint versions at the same time. I'm again not sure what should be the oldest version that we should support.

@kristerkari I'd just go with the latest version only. Otherwise things get complicated and we don't test with multiple stylelint versions. Although there's a workaround you could try in order to test multiple stylelint versions, npm package aliases, which requires npm >= 6.9.0.

I see it as a difficult decision that I've discussed before with you.
I understand that testing older stylelint versions can be tricky, but at the same time supporting only the latest stylelint version might mean that we unintentionally make it impossible for some users to use the latest version of  stylelint-scss if they are unable to update their stylelint version to the latest one.
If we change the peer dependencies to support the latest version, the user will only get a warning, but if we would actually break the backwards compatibility, then the users will have a broken library.
That's the reason why I have tried to avoid making breaking changes to this library in the past.

Well, you can try testing multiple stylelint versions with the method above :)
Personally, I'd rather keep it simple and make it a breaking change since the next version will be a major one. People can use an old version anyway. And worst case scenario, we branch off before the major changes to keep a 3.x branch if needed later.


Capture full IP + TCP/UDP header for limited time

/cc @feamster @JordanHolland Will capture full header for 5 minutes. Enough?


Device with no camera and dummy videos

Hi is there a way to emulate a device without a front or back camera just to for testing a fallback functionality? this also concerns the desktop emulator. Or an option to provide a video that keeps replaying would be very helpful.

Hi @mujehoxe,
Sorry for the late answer. This discussion board is for our web player Java SDK only. Please use our Genymotion generic discussion board at https://github.com/orgs/Genymobile/discussions instead.
Thank you.
Best regards


How to train the ssd model using negative dataset

Hello,
All I read is that dataset for a single object detection in pascal voc format should have labels.txt file containing a single label which is to be identified and that labels.txt should not contain class 0 label of "BACKGROUND" in the dataset. I read that BACKGROUND Label will be generated in the folder where model is stored after training along with the class 1 label for actual object which is detected.
How then do I train the model with my negative samples dataset which does not contain the actual object which is detected in the positive samples with annotated bounding box. Negative samples are used to reduce false positives and there is a major need to train ssd model with it.
@dusty-nv and community could you please guide. Thanks in advance

@mepl432 train_ssd.py will automatically add the BACKGROUND class and pull negative training samples from your dataset.  Otherwise you can modify the code as needed - mine is just a fork of the upstream repo here - https://github.com/qfgaohao/pytorch-ssd

Thank you for the prompt response @dusty-nv . When you say pull the negative samples, this is based on their Annotations xml file..correct?  so if my negativesample.jpg has corresponding negativesample.xml in Annotations folder as below , then it will be considered negative sample and the model will train on it using the 'BACKGROUND' label automatically?
<annotation>
  <folder>negative_samples</folder>
  <filename>negativesample.jpg</filename>
  <size>
    <width>640</width>
    <height>480</height>
    <depth>3</depth>
  </size>
  <segmented>0</segmented>
  <!-- No object tags -->
</annotation>

I think if the image has no bounding box labels, it gets dropped because it has no labels. But you can add a BACKGROUND object?  I would recommend digging into the code and modifying it to extract/apply the background examples like you want.

From: mepl432 @.>
Sent: Friday, September 13, 2024 12:54:00 PM
To: dusty-nv/jetson-inference @.>
Cc: Dustin Franklin @.>; Mention @.>
Subject: Re: [dusty-nv/jetson-inference] How to train the ssd model using negative dataset (Issue #1891)
Thank you for the prompt response @dusty-nvhttps://github.com/dusty-nv . When you say pull the negative samples, this is based on their Annotations xml file..correct? so if my negativesample.jpg has corresponding negativesample.xml in Annotations folder as below , then it will be considered negative sample and the model will train on it using the 'BACKGROUND' label automatically?

negative_samples
negativesample.jpg

640
480
3

0

—
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/1891#issuecomment-2349416460, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGKZ7HD27AL47QDXK3I3ZWMKCRAVCNFSM6AAAAABOEQWTZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBZGQYTMNBWGA.
You are receiving this because you were mentioned.Message ID: @.***>


Config dump doesn't print out addresses properly

Either the addresses field or waypoint addresses field:
k exec -it deploy/istiod -n istio-system -- curl "localhost:15014/debug/config_dump?proxyID=ztunnel-974pt.istio-system" | jq
{
  "configs": [
    {
      "@type": "type.googleapis.com/istio.workload.Workload",
      "name": "helloworld-istio-waypoint-559d7b6fdc-wnts7",
      "namespace": "default",
      "address": "CvQCDA==",
      "serviceAccount": "helloworld-istio-waypoint",
      "node": "ambient-worker",
      "canonicalName": "helloworld-istio-waypoint",
      "canonicalRevision": "latest",
      "workloadName": "helloworld-istio-waypoint"
    },
    {
      "@type": "type.googleapis.com/istio.workload.Workload",
      "name": "helloworld-v1-cross-node-55446d46d8-dgqfz",
      "namespace": "default",
      "address": "CvQCCA==",
      "serviceAccount": "helloworld",
      "waypointAddresses": [
        "CvQCDA=="
      ],
      "node": "ambient-worker",
      "canonicalName": "helloworld",
      "canonicalRevision": "v1",
      "workloadName": "helloworld-v1-cross-node",
      "virtualIps": {
        "<IP_ADDRESS>": {
          "ports": [
            {
              "servicePort": 5000,
              "targetPort": 5000
            }
          ]
        }
      }
    },

Technically it is printing it "correctly",just not in a human readable form :-) but this is how proto encodes []byte

Since the field is type []byte, it will be automatically converted to base64 encoding during serialization. I think one of the  possible effort we can do may be to parse the address before printing the JSON to make it human-readable after decoding, unlike the current value CvQCDA==, which is still unreadable even after decoding. However, it's still not very useful or straightforward.

I think we would have to maintain a fork of the API that is everything the same but not []byte which is a bit excessive for just a debug API imo

Does anyone know a simple tool to manually decode this?  I tried
echo "CvQBCQ==" | base64 --decode

�	%

you can pass it to hexdump but then you get hex encoding which is still somewhat tricky. Not sure a tool that will display bytes as decimal. probably a small bit of python could do it

don't use JSON? prototext is better for bytes.

$ echo "CvQBCQ==" | base64 --decode | python3 -c 'import sys; print(".".join([str(x) for x in sys.stdin.buffer.read()]))'
<IP_ADDRESS>

I'm not sure about using bytes for the encoding. It sounds like a bad idea in retrospect. First, it doesn't allow a better "key", e.g. pod ID. Second, IPs are architecture dependent, and these appear to be little endian right now - and hopefully stay that way on ARM/x86.

Not stale


Any way to prevent multisig scams?

A user can have a mnemonic that need two thredhold before a transaction will take place, how do i detect that?
https://support.token.im/hc/en-us/articles/12718931255193-Security-Alert-TRX-multisig-scams

A user can have a mnemonic that need two thredhold before a transaction will take place, how do i detect that?

you can find your answer in Tron documentation
you should getAccount with RPC and read permissions

I have done that there are two permission
?owner permission and active permissions
I totally understand owner permission
Can you please show me
How to do it with active permission?
On Tue, 9 Jul 2024 at 8:47 AM, Mohsen @.***> wrote:

A user can have a mnemonic that need two thredhold before a transaction
will take place, how do i detect that?
you can find your answer in Tron documentation
https://developers.tron.network/reference/background
you should getAccount with RPC and read permissions
—
Reply to this email directly, view it on GitHub
https://github.com/mrtnetwork/On_chain/issues/7#issuecomment-2216849867,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDFIP4HCGNFW2Q43I5KW7TZLOISFAVCNFSM6AAAAABKSDFA4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJWHA2DSOBWG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have done that there are two permission ?owner permission and active permissions I totally understand owner permission Can you please show me How to do it with active permission?
…
On Tue, 9 Jul 2024 at 8:47 AM, Mohsen @.> wrote: A user can have a mnemonic that need two thredhold before a transaction will take place, how do i detect that? you can find your answer in Tron documentation https://developers.tron.network/reference/background you should getAccount with RPC and read permissions — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APDFIP4HCGNFW2Q43I5KW7TZLOISFAVCNFSM6AAAAABKSDFA4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJWHA2DSOBWG4 . You are receiving this because you authored the thread.Message ID: @.>

Accounts can have multiple permissions: owner and active. While both permissions function similarly, the owner permission lacks an operation field. This means that any transaction can be accepted if the threshold is reached. On the other hand, the active permission includes an operation field, allowing the account owner to specify operations. For instance, you can create an active permission specifically for transferring TRC10 tokens.
In this example, you can learn how to update your account permissions (enabling or disabling multi-signature accounts). Additionally, the multi-sig transfer example demonstrates how to send a transaction using multi-signature.

Yes I saw that
So I needed something like this?
Since the active permission can be an any unknown permission id,I should
just focus on the owner permission?
On Tue, Jul 9, 2024, 4:37 PM Mohsen @.***> wrote:

I have done that there are two permission ?owner permission and active
permissions I totally understand owner permission Can you please show me
How to do it with active permission?
… <#m_-5571948727402316450_>
On Tue, 9 Jul 2024 at 8:47 AM, Mohsen @.> wrote: A user can have a
mnemonic that need two thredhold before a transaction will take place, how
do i detect that? you can find your answer in Tron documentation
https://developers.tron.network/reference/background
https://developers.tron.network/reference/background you should
getAccount with RPC and read permissions — Reply to this email directly,
view it on GitHub <#7 (comment)
https://github.com/mrtnetwork/On_chain/issues/7#issuecomment-2216849867>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDFIP4HCGNFW2Q43I5KW7TZLOISFAVCNFSM6AAAAABKSDFA4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJWHA2DSOBWG4
https://github.com/notifications/unsubscribe-auth/APDFIP4HCGNFW2Q43I5KW7TZLOISFAVCNFSM6AAAAABKSDFA4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJWHA2DSOBWG4
. You are receiving this because you authored the thread.Message ID: @.>
Accounts can have multiple permissions: owner and active. While both
permissions function similarly, the owner permission lacks an operation
field. This means that any transaction can be accepted if the threshold is
reached. On the other hand, the active permission includes an operation
field, allowing the account owner to specify operations. For instance, you
can create an active permission specifically for transferring TRC10 tokens.
In this example
https://github.com/mrtnetwork/On_chain/blob/main/example/lib/example/tron/transactions/update_account_permission_example.dart,
you can learn how to update your account permissions (enabling or disabling
multi-signature accounts). Additionally, the multi-sig transfer
https://github.com/mrtnetwork/On_chain/blob/main/example/lib/example/tron/transactions/multi_sig_transaction_example.dart
example demonstrates how to send a transaction using multi-signature.
—
Reply to this email directly, view it on GitHub
https://github.com/mrtnetwork/On_chain/issues/7#issuecomment-2218039823,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDFIPZJMDRF72RISLQ6CDLZLP7TZAVCNFSM6AAAAABKSDFA4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGAZTSOBSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


link libjvm.so

link libjvm.so properly

@CJ-Wright What was the motivation for this? As mentioned in #66 this breaks r-rjava and actually this change is the reason for the issue. R uses libjvm.so as the proxy to find the general location of the java libraries: https://github.com/wch/r-source/blob/06185bd431beb9b6e0883193273d1779ef2c6a2c/src/scripts/javareconf.in#L204-L299

That was done for jep


Built-in support for Coil3

The library Coil has reached version 3.0.0-rc01 and I think it's a good time to add support out of the box in telephoto

On it https://github.com/saket/telephoto/pull/105

Hey @saket, I saw you comited support to Coil3, may you release it? :)

Before I cut a release, do you want to give it a try using 0.14.0-SNAPSHOT?

@saket thanks, I will try!

Could you test if this is a new bug with coil 3, or does it also occur with coil 2?

@saket I tested Coil2+0.14.0-SNAPSHOT - the same problem, BUT Coil2+0.13.0 - works fine:
https://github.com/user-attachments/assets/502b72c5-24b7-46b1-9680-c49283b6be49

Ah okay. I recently made some refactors to Modifier.zoomable() which might have caused this. I'll take a look.

Moving this to https://github.com/saket/telephoto/issues/113

Released in v0.14.0: https://github.com/saket/telephoto/releases/tag/0.14.0


ANSI escape sequences to display colored output not handled correctly

I experienced this bug when trying to run the [QuickJS wasm] file. I have created a repo to reproduce the issue.

What are the steps to reproduce the issue?

Clone https://github.com/samrat/wasmtime-colored-output
Build the wasm file: cargo build --target wasm32-wasi
Run the file with wasmtime: wasmtime target/wasm32-wasi/debug/wasmtime-colored-output.wasm

What do you expect to happen? What does actually happen? Does it panic, and
if so, with which assertion?
I expected to see colored output, the ASCII escape codes are displayed instead.

Which Wasmtime version / commit hash / branch are you using?
c202a8eea

If relevant, can you include some extra information about your environment?
(Rust version, operating system, architecture...)
rustc 1.43.0-nightly (564758c4c 2020-03-08)

> uname -r
5.5.9-arch1-2

Looks like this is a deliberate decision and there is a WASI issue discussing this: https://github.com/WebAssembly/WASI/issues/162. I think this can be closed, given this is a known and deliberate limitation.

The common color codes should be supported for stdout. But you can try to use stderr instead of stdout to see if it works and isn't due to some other problem. stderr should not be filtering the codes at the moment.

Thanks @rene-fonseca.
This could be due to some other problem as this behaviour seems to be happening when I change to output to stderr as well.

Allowing untrusted portable code write directly to a user's terminal is not something any serious system I'm aware of has ever knowingly done before, so we're researching how we can enable this functionality in a way that protects users and provides portability. As a temporary measure, streams which are attatched to ttys, which includes both stdout and stderr, are filtered to neutralize escape sequences and problematic control characters.


[2.0] cli-menu 3.0 integration

Hey Bud
I am sure you have seen this already, but cli-menu has hit 3.0 (see link below for details) with lots of new features. Curious what your future plans are for integrating this into laravel-console-menu
https://github.com/php-school/cli-menu/releases/tag/3.0.0

@mfour-merickson Great news! I should make a major version for this too.

yes you should :-)

You just need to adjust this namespace, the rest still works: https://github.com/nunomaduro/laravel-console-menu/blob/master/src/Menu.php#L17
Oh and it would be great if you could also still support Laravel 5.5. I don't have PHP 7.2 yet...

@simonschaufi Thanks. I am doing that next week.

@nunomaduro Are there any news for cli-menu 3.0 integration release and support laravel 5.5?

Hey @mfour-merickson @simonschaufi @bastian-schur @fridzema.
We are working on the PR #15 in order to add support to Cli Menu and Laravel 5.7.
I will not add support to Laravel 5.5. Sorry guys.

The version 2.0 has been released. Enjoy!


Brazilian Portuguese translation of Intermediate Front End Development Projects

[ ] Show the Local Weather
[ ]  Stylize Stories on Camper s
[ ]  Build a Wikipedia Viewer
[ ] Use the Twitch.tv JSON API
[ ]  Build a Tic Tac Toe Game
[ ]  Build a Simon Game

i can work on this

I Can help with this too. How do I proceed?

Closed in favor of https://github.com/FreeCodeCamp/TranslationExpansion/issues/53, please continue discussion there.


Sometimes the gateway will give up on connecting to LND

This server was rebooted at 19:40. Then the gateway connected to LND but it failed and it stayed not connected for two days until it was restarted:
Oct 10 19:45:18 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:45:18.848922Z  INFO ln_gateway: Established HTLC stream
Oct 10 19:45:34 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:45:34.698398Z ERROR ln_gateway::lnd: Failed to establish htlc stream
Oct 10 19:51:42 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:51:42.820499Z  INFO ln_gateway::ng: Successfully registered gateway 02d1ab7ad8f00abb253b74416ac3edadcf48adffad8513b66bd0949efc2b089ed7 with federation 994abc773c953fc9d09bfdd00e3fdedb3d7c80d92e72dc22e2832af2e5230303d0f40f7a1bc05968d455a26fa6656048
Oct 10 20:00:12 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T20:00:12.824731Z  INFO ln_gateway::ng: Successfully registered gateway 02d1ab7ad8f00abb253b74416ac3edadcf48adffad8513b66bd0949efc2b089ed7 with federation 994abc773c953fc9d09bfdd00e3fdedb3d7c80d92e72dc22e2832af2e5230303d0f40f7a1bc05968d455a26fa6656048
Oct 10 20:08:42 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T20:08:42.827669Z  INFO ln_gateway::ng: Successfully registered gateway 02d1ab7ad8f00abb253b74416ac3edadcf48adffad8513b66bd0949efc2b089ed7 with federation 994abc773c953fc9d09bfdd00e3fdedb3d7c80d92e72dc22e2832af2e5230303d0f40f7a1bc05968d455a26fa6656048
(...)

the log is in debug mode, so very verbose. the above was filtered. this is what happened before the failure:
Oct 10 19:45:23 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:45:23.064563Z DEBUG fedimint_client::sm::executor: No state transitions available, waiting before re-trying
Oct 10 19:45:23 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:45:23.741636Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
Oct 10 19:45:23 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: thread 'tokio-runtime-worker' panicked at 'Failed to created Gateway: LightningRpcError(FailedToGetNodeInfo { failure_reason: "Failed to get node info Status { code: Unknown, message: \"unable to sync PoV of the wallet with current best block in the main chain: status code: 503, response: \\\"Work queue depth exceeded\\\"\", metadata: MetadataMap { headers: {\"content-type\": \"application/grpc\"} }, source: None }" })', /build/source/gateway/ln-gateway/src/lib.rs:267:40
Oct 10 19:45:23 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Oct 10 19:45:23 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:45:23.788097Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=GoAway { error_code: NO_ERROR, last_stream_id: StreamId(0) }
Oct 10 19:45:23 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:45:23.788136Z DEBUG Connection{peer=Client}: h2::proto::connection: Connection::poll; connection error error=GoAway(b"", NO_ERROR, Library)
Oct 10 19:45:23 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:45:23.788232Z DEBUG Connection{peer=Client}: rustls::session: Sending warning alert CloseNotify
Oct 10 19:45:24 gateway-mainnet-11-lisbon vhsq6rs9rfs6adcqjyj3asady29xz8m3-gatewayd[710]: 2023-10-10T19:45:24.065740Z DEBUG find_by_prefix{key=ActiveStateKeyPrefix(PhantomData<fedimint_client::DynGlobalClientContext>)}: fedimint_core::db: find by prefix

Probably already fixed by:
https://github.com/fedimint/fedimint/pull/3048
Also improved by:
https://github.com/fedimint/fedimint/pull/3135
https://github.com/fedimint/fedimint/pull/3278
@elsirion it seems the gateway had important bugfixes, we should consider making a v0.1.x release with this stuff backported

@m1sterc001guy could you check what would make sense to backport and tag it accordingly please? You probably have the best overview and ideally we don't miss anything and then have needless rebase conflicts.
Generally we should probably try to backport everything that

can be easily backported and obviously doesn't break compatibility or
Is a bug fix, then even more backport work is warranted

Ack, I will prep a backport PR today


Fix clang alloc-dealloc-mismatch

When compiling with clang-10, the recent aligned malloc changes seem to have a mismatch, using malloc / delete[], as evidenced by the AddressSanitizer (Asan) output below. This PR fixes the issue.
This PR also an option to enable Asan. Now, the tests pass with -DSEAL_USE_ADDRESS_SANITIZER=ON. Note, Asan adds a significant performance penalty, so any benchmarking results should be run with -DSEAL_USE_ADDRESS_SANITIZER=OFF. I'm happy to remove this option, just figured I'd point it out as a useful tool in case you'd like to add it to SEAL.
==437185==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x7f6559275800
    #0 0x52cffd in operator delete[](void*) (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x52cffd)
    #1 0xef326d in seal::util::MemoryPoolHeadMT::~MemoryPoolHeadMT() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0xef326d)
    #2 0xef33c8 in seal::util::MemoryPoolHeadMT::~MemoryPoolHeadMT() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0xef33c8)
    #3 0xef4aa1 in seal::util::MemoryPoolMT::~MemoryPoolMT() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0xef4aa1)
    #4 0xed661b in seal::Serialization::Save(std::function<void (std::ostream&)>, long, std::ostream&, seal::compr_mode_type, bool) (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0xed661b)
    #5 0x53e37f in sealtest::CiphertextTest_SaveLoadCiphertext_Test::TestBody() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x53e37f)
    #6 0x108ff01 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x108ff01)
    #7 0x101cd5b in testing::Test::Run() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x101cd5b)
    #8 0x1020952 in testing::TestInfo::Run() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x1020952)
    #9 0x1022200 in testing::TestSuite::Run() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x1022200)
    #10 0x105058c in testing::internal::UnitTestImpl::RunAllTests() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x105058c)
    #11 0x10925c7 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x10925c7)
    #12 0x104f5a6 in testing::UnitTest::Run() (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x104f5a6)
    #13 0xac091a in main (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0xac091a)
    #14 0x7f655bfb50b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16
    #15 0x4847ed in _start (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x4847ed)

0x7f6559275800 is located 0 bytes inside of 262144-byte region [0x7f6559275800,0x7f65592b5800)
allocated by thread T0 here:
    #0 0x4fd852 in aligned_alloc (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x4fd852)
    #1 0xef2d4d in seal::util::MemoryPoolHeadMT::MemoryPoolHeadMT(unsigned long, bool) (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0xef2d4d)
    #2 0xef50c5 in seal::util::MemoryPoolMT::get_for_byte_count(unsigned long) (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0xef50c5)
    #3 0x9955df in seal::DynArray<std::byte>::resize(unsigned long, bool) (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x9955df)
    #4 0x994c17 in seal::DynArray<std::byte>::DynArray(unsigned long, seal::MemoryPoolHandle) (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x994c17)

SUMMARY: AddressSanitizer: alloc-dealloc-mismatch (/home/fboemer/repos/XXXX/intel-seal/build/bin/sealtest+0x52cffd) in operator delete[](void*)
==437185==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0
==437185==ABORTING

I do care about alloc-dealloc-mismatch. :) It seems to be caused by pointer.h where delete was used regardless of SEAL_USE_ALIGNED_ALLOC. I need to verify that thought. Also Visual Studio has an address sanitizer. So I might force SEAL_USE_ADDRESS_SANITIZER to OFF. No need to change anything yet.  Thanks again!

Sure thing; on my side, the error came from clang not defining SEAL_FREE in clang.h, resulting in using the default delete[] ptr rather than std::free.

Right, clang.h is a mistake. It requires a new patch version. I'm trying to include the following changes in the new patch:

pointer.h can also cause this kind of warnings, which is separate from recent aligned allocation changes. This needs to be prevented.
Sanitizers can be enabled by default in Debug mode. While in Release mode, if sanitizers are enabled, there should a warning message at CMake's configuration time.
Leak sanitizer is not yet available in Visual Studio. Need to make -fsanitize=leak depend on NOT MSVC.

@fboemer Do you see the need to enable sanitizers in release build? I'm thinking about enabling it by default in debug and not providing an option.

@WeiDaiWD , sanitizers should definitely should not be in Release build, since it adds a significant performance penalty. Default in debug sounds reasonable, given SEAL_DEBUG is already a performance penalty.

I'll add more edits before release 3.6.4 soon. Thanks a lot!


Update navigation.cjsx

Added link to Best of 2016 event

I just saw there was a past issue with adding a link to the navigation - something about mobile sizing.  This link will be in place through the first week in January.  If there's a problem, we can revise it or remove it.  Just let me know.  Thanks!

@ksigler I'll adjust any styling if necessary before I deploy the site to production. Thanks!


Zoom shortcuts doesn't work

Zoom shortcuts doesn't work 😕 Tested on Windows 10.

it took to long to fix but it is finally fixed now XD


Consecutive mouse clicks may be mistaken as double clicks

First of all, thanks for working on mouse support! It works great. One edge case though: if I click an item and then click elsewhere quickly, it would be considered a double click:
https://user-images.githubusercontent.com/44045911/189170109-09990763-f734-42eb-865e-fe9a56c31525.mov
If this is a limitation/bug in tview, I would be willing to open an issue there instead.

Thanks for report. This indeed seems to be a tview issue. The MouseLeftDoubleClick event is emitted there and the position of the cursor is probably not checked.


audit-ci is generating a huge file that breaks our deploy to firebase

After we run:
yarn audit-ci --moderate

On CircleCI (node:10.15.3) we got a huge file named:
-rw-------   1 circleci circleci<PHONE_NUMBER> Mar 18 19:09 core.786.!usr!local!bin!node

This file gets included in the zip file we send to deploy to our cloud functions and we got an error because the zip file is too big. It goes from 350kb to 65 MB in our case.

Hey @felipe-augusto,
I apologize for not getting back to you earlier! Not sure if you got this resolved. Can you confirm if this is still an issue?
65 MB, if I recall, is roughly the size of Node.js as a whole. Not sure if that's a coincidence or even flat out wrong.

Closing due to being stale. Feel free to comment if this is still an issue and is directly related to audit-ci.


Enhanced Event Landing Page

Re-vamped Event landing Page

Close #3052

Checklist:

[✅] I have mentioned the issue number in my Pull Request.
[✅] I have commented my code, particularly in hard-to-understand areas

@MohitGupta121 Kindly,review this please.


Country-specific gear configuration

How to configure gears so they process only indices from selected sources?
How to annotate notices with the source id during import?
How to identify sources? Only by country or can it be there multiple sources from each country? I guess yes - if we for example gather low-cost contracts from each of the institution webpages. So maybe an id for source in format of "pl", "pl/warsaw-city"

Using multiple sources
You can use multiple sources as long as you can generate valid and unique NoticeID objects for each notice.
Currently, information like source or source ID is not managed in Red Flags. It's designed for TED, and relies on notice IDs used there (number-year).
The country is stored in Data.country, city is stored in Data.place field.
Annotating notices during import
If you need to add the source information, you can do the following:
(1) Create a custom notice ID class with an extra source field, like:
public class MyNoticeID extends NoticeID {
  private String source;
  // constructors
  // getSource, setSource
}

(2) When you create your own notice iterator (see cookbook), generate MyNoticeID objects and fill in source field (besides number and year)
Processing only selected sources
(3) Then in your gears you can filter by source:
protected Notice processImpl(Notice notice) throws Exception {
  if (notice.getId() instanceof MyNoticeId) { // type-safety
    MyNoticeId id = (MyNoticeId) notice.getId();
    if ("desired source".equals(id.getSource())) { // filtering
      // processing
    }
  }
  return notice;
}

So I believe that we need to redesign the NoticeId so it's not specific for
TED. How about adding the source to the original class?
Also Sub classing won't help old gears processing new notices. Either we
need to reconfigure all the gears or create some kind of general
configuration saying what gears should be enabled for given import command.
@dzierzy - do you have some propositions?
On Wednesday, 15 June 2016, Zsolt Jurányi<EMAIL_ADDRESS>wrote:

Using multiple sources
You can use multiple sources as long as you can generate valid and unique
NoticeID objects for each notice.
Currently, information like source or source ID is not managed in Red
Flags. It's designed for TED, and relies on notice IDs used there (
number-year).
The country is stored in Data.country, city is stored in Data.place field.
Annotating notices during import
If you need to add the source information, you can do the following:
(1) Create a custom notice ID class with an extra source field, like:
public class MyNoticeID extends NoticeID {
private String source;
// constructors
// getSource, setSource
}
(2) When you create your own notice iterator (see cookbook
http://docs.redflags.eu/developer/cookbook/#step-3-add-custom-notice-iterator),
generate MyNoticeID objects and fill in source field (besides number and
year)
Processing only selected sources
(3) Then in your gears you can filter by source:
protected Notice processImpl(Notice notice) throws Exception {
if (notice.getId() instanceof MyNoticeId) { // type-safety
MyNoticeId id = (MyNoticeId) notice.getId();
if ("desired source".equals(id.getSource())) { // filtering
// processing
}
}
return notice;
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/petabyte-research/redflags/issues/10#issuecomment-226136540,
or mute the thread
https://github.com/notifications/unsubscribe/AAz4N6SVaABpQz_tc19AejJAbKlvBhbQks5qL8a-gaJpZM4I1TAL
.

--
Krzysztof Madejski
<EMAIL_ADDRESS>for Poland Program Manager / Koordynator
Koduj Dla Polski
<EMAIL_ADDRESS>/ +48 664 082 823

http://epf.org.pl/*

How about adding the source to the original class?

I may not understand completely the purpose of the source field, but in my point of view, your import function and this extra field are special functionalities, so I wouldn't integrate them into the core.

Sub classing won't help old gears processing new notices

Old gears (TED downloaders, parsers, Hungarian indicators) don't need the source field, and you're going to turn most of these gears off in the configuration.
Any custom processing (Polish import, Polish indicators) should be implemented as new gears.

configuration saying what gears should be enabled for given import command.

Configuration for enabling/disabling gears already exists. You can also create different configuration profiles (Spring's functionality), and when you run the engine, you can tell which profile[s] you want to use.
So for example you can create configuration profiles for importA and importB, then you can run the engine using importA profile and after you run it again using importB.

Thank you for clarification! :)
On Wednesday, 15 June 2016, Zsolt Jurányi<EMAIL_ADDRESS>wrote:

How about adding the source to the original class?
I may not understand completely the purpose of the source field, but in
my point of view, your import function and this extra field are special
functionalities, so I wouldn't integrate them into the core.
Sub classing won't help old gears processing new notices
Old gears (TED downloaders, parsers, Hungarian indicators) don't need
the source field, and you're going to turn most of these gears off in the
configuration.
Any custom processing (Polish import, Polish indicators) should be
implemented as new gears.
configuration saying what gears should be enabled for given import command.
Configuration for enabling/disabling gears
http://docs.redflags.eu/developer/engine/#gear-trains already exists.
You can also create different configuration profiles
http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-profiles.html
(Spring's functionality), and when you run the engine, you can tell
which profile[s] you want to use.
So for example you can create configuration profiles for importA and
importB, then you can run the engine using importA profile and after you
run it again using importB.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/petabyte-research/redflags/issues/10#issuecomment-226170003,
or mute the thread
https://github.com/notifications/unsubscribe/AAz4N_jbUOyY5RCUtMqSRNdo-fazj6Tsks5qL-1FgaJpZM4I1TAL
.

--
Krzysztof Madejski
<EMAIL_ADDRESS>for Poland Program Manager / Koordynator
Koduj Dla Polski
<EMAIL_ADDRESS>/ +48 664 082 823

http://epf.org.pl/*

We can follow one of @juzraai suggestions (subclassing or extra field 'source') or reuse 'url' field of Notice class, could help determine source using url patterns.
Yet another way is to leave it as-is and define separate gear list within application.yml


Timeout configuration

Hei, would it be possible to support configuring the timeout ?

Any updates on this? It would be great to have.

I found after a bit of digging that the graphql-request library delegates additional options to the underlying node-fetch module. So, instantiating a client like so, delegates the timeout to the node-fetch library.
  const client = new GraphQLClient(config.url, {
    timeout: 30000,
    headers: {
      Authorization: `Bearer ${token}`
    }
  })

Delegation: https://github.com/prisma/graphql-request/blob/master/src/index.ts#L29
node-fetch options: https://www.npmjs.com/package/node-fetch#options

It would be fantastic to get this added to the documentation.

My IDE complains about using timeout being not defined -
https://github.com/prisma-labs/graphql-request/blob/master/src/types.ts#L7?

How to make it work?

My IDE complains about using timeout being not defined -
https://github.com/prisma-labs/graphql-request/blob/master/src/types.ts#L7?

How to make it work?

@prakhar241 we ran into an issue with timeout, using node-fetch worked for us: https://github.com/prisma-labs/graphql-request/blob/master/examples/cookie-support-for-node.ts

@prakhar241 TS won't let you add excess properties when you pass an object literal.  The solution is to construct the options as a separate const and then pass them in:
const options = { timeout: 30000, mode: 'cors' };
const graphQLClient = new GraphQLClient(requestURL, options);

node-fetch has deprecated the timeout option in their latest release in favor of passing an AbortSignal. Unfortunately, passing this at the top level doesn't work correctly, as each request must have its own signal, and if the request was successful, the timeout on the signal must be cleared.
Unfortunately, this means we need to find another way to add a timeout option. I'd be happy to put up a PR to add it to this library if that's cool with the maintainers!

@jescalan I'm not familiar with AbortSignal yet or how it could impact the graphql-request API. Could you start a new issue to discuss the design further? Once we have a some better understanding around the implications then I can better tell you if the PR is safe to start or not (safe meaning: will the work be wasted).

For people who found this issue to look for how to implement timeout for graphql-request:
Since graphql-request supports custom fetch like the above, we can easily add global timeout option without changing code of graphql-request with the following helper:
const createFetchWithTimeout = (timeout: number) => async (
    input: RequestInfo,
    init?: RequestInit
) => {
    if (init.signal) {
        throw new Error(
            "it looks like graphql-request started using AbortSignal on its own. Please check graphql-request's recent updates"
        );
    }

    const controller = new AbortController();

    const timerId = setTimeout(() => {
        controller.abort();
    }, timeout);

    try {
        return await fetch(input, { ...init, signal: controller.signal });
    } finally {
        clearTimeout(timerId);
    }
};

Then we can use it like the following:
const client = new GraphQLClient(YOUR_API_ENDPOINT, {
    // 2000ms timeout
    fetch: createFetchWithTimeout(2000),
});

If your project is using TypeScript, the solution above will need to add URL as an alternative type of input, like this:
const createFetchWithTimeout =
  (timeout?: number) =>
  async (input: RequestInfo | URL, init?: RequestInit)

Otherwise TS compiler would complain that RestquestInfo is not assignable to RequestInfo | URL.

Shorter version:
fetch(input, { ...init, signal: AbortSignal.timeout(timeout) })

If you are running in nodejs this does the trick:
return new GraphQLClient(someUrl, {
    signal: AbortSignal.timeout(API_CALL_TIMEOUT_MS),
});

See AbortSignal-Docs


Force version of build tools and compile SDK from root project on all android modules

It resolves all those:
Error:The SDK Build Tools revision (??.?.?) is too low for project ‘:(…) Minimum required is 25.0.0

by forcing the same version of build tools and compile SDK on all android modules.
Almost all native android modules will not compile on rn 0.56 because buildToolsVersion and
compileSdkVersion were updated and what most packages have is too low.
Test Plan:
You can add any native module that haven't been updated after rn 0.56 ie<EMAIL_ADDRESS>and try to run on android. It'll error with The SDK Build Tools revision (...) message. Adding changes proposed in this PR to your build.gradle will fix that.
Release Notes:
[ANDROID] [ENHANCEMENT] [build.gradle] - force version of build tools and compile SDK from root project on android modules

I don't think this should land because it's responsibility of the people creating all those "native modules" to ensure that they work with more recents versions of the SDK/Build Tools.
And if you want to "take the risk" of having your project use the newer version, even if that third-party-lib doesn't explicitly support it, you should do it in your own implementation.

That’s fair but all those “native modules” will work with more recents versions. compileSdkVersion doesn't change runtime behaviour. Android studio even offers you autofix (not very useful given that it changes content of node_modules).

compileSdkVersion is the version of the API the app is compiled against. As long as you are not changing targetSdkVersion you cannot get compatibility issues
buildToolsVersion is the version of compiler you want to use. It’s tied to your compileSdkVersion (if your compileSdkVersion is 23 then you use 23.x.x if you are using 26 then you have 26.x.x etc). No issues with backward compatibility either.

Uhm, understood.
Yeah if that's the case (of no backward compatibility) I think I can relax my concern.
@dulmandakh do you think this should be enforced?

@futuun @kelset I don't like the idea of forcing Android tools from React Native. Personally, I use latest versions of SDK in my projects, rather than waiting RN to bump Android SDK versions. To make development of native modules easy, RN landed using project-wide settings with 0.56 https://github.com/facebook/react-native/commit/0a3055d98a36e49746144e883edc7e20afec4fcb. I would like propose to close the PR.


Brew command-not-found doesn't work through zinit

Describe the bug
If I source the script located at https://github.com/Homebrew/homebrew-command-not-found/blob/master/handler.sh, I get the expected behavior, but when I try to use it through zinit, it does not work.
To Reproduce
$ zinit snippet https://github.com/Homebrew/homebrew-command-not-found/blob/master/handler.sh
$ when

Expected behavior
The program 'when' is currently not installed. You can install it by typing:
  brew install when

Actual behavior
zsh: command not found: when

Versions:

$ZSH_VERSION == 5.8
Operating system name and version (uname -a): 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64

Never mind, the problem was on my end. Later on in my .zshrc, I also had zinit light-mode for Tireg/zsh-macos-command-not-found and that plugin just doesn't work.

OK, good that it resolved