autoIndentOnPaste should allow pasting white space

I enjoy the autoIndentOnPaste feature but when I'm working on a markdown file I sometimes want to paste whitespace.
It would be nice if this feature would exclude any "pastes" that contain only whitespace.

Hello. I have been wanting to contribute to open source for quite some time now. I would like to start now and I would like to contribute to atom.
This enhancement issue seems doable, so can I try my hand at this?
I'll keep you guys updated about the progress.
Thank you.

I am building atom from source, so that I can change the source code and build it again to preview them. Is this the correct way?

Hi @thedug just to confirm, you mean that this string -> "                                       ", when pasted in atom, must be excluded by the AutoIndentOnPaste feature. Am I right?

That is my thought. I was trying to copy/paste white space to but the white space was removed

I see this as a bug, not an enhancement. I am able to reproduce this using Atom v1.4.3 on Mac OS X 10.11.3. Here's what I did:

Launch Atom
Go into the whitespace package settings and disable "Remove Trailing Whitespace"
Open a new file using Cmd+N
Press Space ten times
Highlight the ten spaces using Shift+Cmd+Left
Copy the ten spaces to the clipboard using Cmd+C
Paste the ten spaces eight times using Cmd+V eight times
Press Enter (since "Remove Trailing Whitespace" is off, you should now have two lines with 80 space characters)
Press Enter again
Highlight to the beginning of the third line using Shift+Cmd+Left
Delete the third line of spaces using Backspace
Highlight to the beginning of the file using Shift+Cmd+Up
Copy the two lines of 80 space characters to the clipboard using Cmd+C
Delete the two lines of 80 space characters by pressing Backspace
Paste the two lines of 80 space characters by pressing Cmd+V

Expected: Two lines of 80 space characters to be inserted
Actual: Two lines with no contents at all are inserted
Disabling the "Auto Indent On Paste" setting allows the two lines of 80 space characters to be pasted as expected.


How to set the map maximum scale and minimum scale to dotspatial

Hi
How to set the maximum and minimum scale of map? For example, when the local map scale is greater than 10000, no reduction is allowed. In which event should it be implemented?

Double-click on your map control and then in upper right you will see all the events. probably in Map Frame Resize or Extents Changed.

There is   Extents Changed event,but how do you implement that when the scale to specified scale,the map can not scaled


Can't start cask installed app with Alfred

I installed Skype via cask. It is ok, works and I can start it using spotlight search or launchpad etc. However my preferred method to start applications is simple type their name into Alfred's search bar. However it seems, Alfred does not know anything my cask installed Skype, it does not appear in the app list.
Do you have any ideas how to fix this issue?

Does brew cask alfred link work for you? If not, the most immediate solution would be to open the Alfred preferences GUI and manually add your Cask staging location (defaults to /opts/homebrew-cask/Caskroom/) to the search scope.

brew cask alfred link does not work for me:
Error: Alfred 2.4+ detected, but local preferences file not found. Try running Alfred first.
However manually adding Cask staging location resolved my problem!
Thanks for your support!


Change parent to commonjava instead of service-parent

Need to add quarkus-kafka-client dep separately
Also added commons-lang3 and commons-io separately

Looks great!


Audit log

All actions should be logged so that it's possible to tell who ran what when. What's in grpcinstrument is a start:
message Call {
	string service = 1;
	string method = 2;
	Input input = 3;
	Output output = 4;
	Error error = 5;
	google.protobuf.Duration duration = 6;
}

Probably we can just wrap it and add a few field of our own:
message AuditLog {
   string user = 1;
   string source = 2;
   grpcinstrument.Call call = 3;
}

In any case, this needs to include:

The source, as in whether the request came via hubot or via the executable. For hubot, include context such as Slack room and user name. For the executable/command, perhaps include $USER and hostname -f, as well as IP address.

[x] Validate input and output messages all have operator.Source source, and operator.Output output fields, respectivly.

[x] Bundle responsability for generating instrumented gRPC  directly under protoc-gen-operatord and update Makefile accordingly (i.e. get rid of protoc-gen-grpcinstrument target)

[x] Update clients generated to set operator.Source etc

[x] Custom template that logs operator.Source etc

[x] Consider removing grpcinstrument dependency

[x] Update generate Hubot scripts to set source

This has landed on master a while ago. Closing.


GCP: add optional 'project' config to volume snapshot location

Signed-off-by: Steve Kriss<EMAIL_ADDRESS>Fixes #1268
Still needs to be tested.

This is incomplete, need to make a few more modifications.

pushed an update.

pls squash & merge


Ruby version?

The only version of Ruby officially supported by Azure, according to https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-intro, is 2.3 and the instructions in the Ruby Quickstart guide also indicate that 2.3 should be used, although az webapp list-runtimes --linux does list  RUBY|2.4.5. As the security maintenance period for Ruby 2.3 will end on 31 March are there any plans to update the version that is officially supported by Azure? The current version is 2.6.2 and Rails 6, which will be released soon, has Ruby 2.5.3 as a minimum requirement.

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

ID: 872e5aa0-cda4-295d-08f8-4db6e488e32f
Version Independent ID: 2b6b32d6-e501-6cb4-bb3b-c3c46851d24e
Content: Create Ruby web app on Linux - Azure App Service
Content Source: articles/app-service/containers/quickstart-ruby.md
Service: app-service
GitHub Login: @SyntaxC4
Microsoft Alias: cfowler

@jrmhaig, Thanks for the question! We are taking a look into this and will get back to you soon.

@jrmhaig, We will work on refreshing the document with Ruby 2.4 soon and update.
The product team is currently working on adding Ruby 2.5 and 2.6 support on App Service, however we do not have an exact ETA to share on this as of yet. Thanks again for your feedback on this matter, it’s much appreciated.

@jrmhaig Sorry for the delay. The quickstart is now updated to use 2.6. It should be published in the next day. #please-close


[Bug]: Data does not refresh automatically in livewire

What happened?
If you update data on a livewire component from a Verbs event, the data doesn't always refresh immediately. Once you refresh the page it works. I think this has to do with the sequence of events with Verbs events not being committed until the end of the request?
But even adding Verbs::commit() and $wire:refresh does not help.
How to reproduce the bug
Build a simple form in Livewire like this:
    public function save()
    {
        $this->user->update([
            'name' => $this->user_name,
        ]);
    }

and a blade component like this:
    <p>{{ $this->user_name }}</p>
    <input wire:model="user_name" />
    <button wire:click="save">Save</button>

Obviously when you click save, the p tag updates and shows the new name in the database. Now, instead of directly updating the user in the save function, fire an event for UserNameUpdated, which works like this:
    public function save()
    {
        UserNameUpdated::fire(
            user_id: $this->user->id,
            name: $this->user_name,
        );
    }

class UserNameUpdated extends Event
{
    public int $user_id;

    public string $name;

    public function handle()
    {
        User::find($this->user_id)->update([
            'name' => $this->name,
        ]);
    }
}

When you do this, the p tag showing the name does not update until you refresh the page. Even if you add a commit after the event, it doesn't refresh:
    public function save()
    {
        UserNameUpdated::fire(
            user_id: $this->user->id,
            name: $this->user_name,
        );

        Verbs::commit();
    }

Package Version
0.5.1
PHP Version
8.2
Laravel Version
11.20.0
Which operating systems does with happen with?
macOS
Notes
No response

@johnrudolph How did you work around this? Just dispatch an event?

@johnrudolph How did you work around this? Just dispatch an event?

I just unset the data, and reset it manually at the end of that function. Josh Hanley pointed out to me that this is actually fairly normal livewire behavior. And so unsetting it manually solved it.


Build a newer, better, and strong website

Some time ago, at the recommendation of one of you fine fellows, I purchased lily-lang.org to use for the language. For a time, the website was host to documentation on the language: A tutorial, an internal function reference, and so on. I took down the website a short time ago because the function reference had gotten stale, and the same had happened to the api reference.
Currently, Lily's documentation is scattered about. The tutorial and api reference are in markdown in this repo's docs directory. Embed/extend information is in a doc there too. No documentation exists for docgen (in part because it only works on foreign code until Lily-in-Lily is done). For bindgen, the documentation is stuck in parsekit. The readme also mentions issues that are no longer present in the interpreter (notably, static is now in the language and enums do work).
Recently, I've taken a look at Lily's development process and documentation

The website sandbox doesn't need to be synced for every change, but it's definitely not being synced enough.

Sandbox examples are not being tested. I can recall a couple times when I broke one or more of them.

Tutorial examples are also not being tested. A few examples recently became invalid because public scope was not added to all definitions.

The tutorial does not cover closures.

Examples of embedding/extending Lily in C are not being tested. I once had an example fall over because of an optimization I made in parser that passed all tests.

Most importantly, that updating the above is done by remembering to do it. Updating the sandbox means that I set -DWITH_SANDBOX on the lily repo, recompile, move the js over to the site's repo, switch to the site repo, commit, and back out. Updating the website means calling docgen, switching to gh-pages, then moving the directory over.

I want to be able to make changes to the language without fear of having forgotten to update some part of the documentation.

People who may be interested in the language must content with information that is scattered and/or stale. I'm very certain that this is harming potential interest and/or adoption.

I think that this is more important than the other issues filed against the 1.3 milestone. Those may be delayed until the next release to make sure that the first release to ship them has solid testing.
Here's my plan for building the website:

Most of the website's content will be written in markdown. I'll have html templates (with sections like {{{page.nav}}}) will be combined with html-ized markdown to generate pages.

Taking a very good idea from Rust, the markdown code sections will include the language (C or Lily). Lily blocks will also be able to be marked as expecting an error.

Lily code sections will be able to use assertions to verify output. Lily code will be verified before the website is updated to make sure it hasn't been broken.

C code sections will be compiled and executed under valgrind to make sure they're working right.

docgen will be used to generate documentation for predefined packages. It'll need a few small adjustments to how it outputs files, but nothing major.

Sandbox examples will be run through a verifier to make sure they aren't broken.

A script will be created to generate documentation by reading lily.h to make sure api docs aren't stale.

The tutorial will be broken up into different pages. The pages will mostly be the current sections, except now they're in different spots instead of in one large whole. I'll use this opportunity to add section headers to different important parts. I'm hoping that this will allow me to give people links that start them off in a relevant section, (ex: lily-lang.org/tutorial/functions#optional-arguments)

Instead of making the entire website available at once, I'll be uploading various parts once I get them rolled over (created in markdown and properly tested).

The website doesn't yet verify snippets, and the api examples are lacking. But, on the whole of it, the documentation is all there in a single place and it's up-to-date.
For the time being, I'm leaving docs/embed_and_extend.md and docs/tutorial.md alone. Once the new release is out, I'll merge the former into the site whereas the latter will be removed. The intent there is to make sure people using the tutorial don't find it disappearing without warning one day.
I'm considering tested snippets to be a "nice to have". I'm wary of spending too much time on the website since it already took far longer than I had expected.
Anyway, this seems done.


Automated cherry pick of #9476

Cherry pick of #9476 on release-6.2.
/cc  @pablovelezvidal
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 2dd53097f3ea56945338948a39d5fd93df11d92e


add swipe refresh layout in My Trips page

Steps to reproduce

Open the navigation drawer. Go to My Trips

Expected behaviour

Add swipe refresh layout to this fragment.
On swiping, the view should refresh (Make the API call again & fetch the trips)

Started working on this

Sure @f71uday


Why Source and Destination both show 0 record for Status?

Mu source database collection has 40k records, and destination database collection is empty. But when I ran "go-sync-mongo status", it both showed 0.
what could be wrong?
Thanks.

i had the same issue


add: subgraph healh query

The Problem

The Solution

Checklist

[ ] Test manually on test-ui using remote chains.
[ ] Run load tests.
[ ] Update documentation if needed.
[ ] Update CHANGELOG.md.

i think we can open a separate PR for this when we implement this.


Move debug logging behind debug flag

Currently when closing applications the ngrok library outputs debug logs see #49 we should make this available through some sort of debugging flag the user turns on.

Updated in https://github.com/ngrok/ngrok-js/pull/51, released in 0.4.1


[Bug] Not loading the default set resource pack before title screen

Minecraft 1.7.10
Forge <IP_ADDRESS>8
Default KeyConfig & Options 1.0.6
Description of Issue:
So the gist of the issue is that the mod needs to load before it gets to the main menu and before all textures ect are loaded. Because

It's not applying the textures from resource packs
And sound options don't get applied

Even if the game is reloaded the resource pack is still not added. Assuming it's copying the file each time so that if it had changed it sees those changes, maybe?

Right, I'll make it apply the default options at the very beginning.
Not sure I understand the last sentence, but the default options file is only copied over once if no other exists, so that user-made settings don't get overridden every time (keys work a little differently as the mod accounts for new mod keybindings being added there).

Fixed version is now up on CurseForge :)
http://minecraft.curseforge.com/mc-mods/232131-default-keyconfig-options/files


Response.ok(someListOfInt) is received as String at the client side

In the controller
    final json = resource.toJson();
    final jsonString = JSON.encode(json);
    final data = UTF8.encode(jsonString);
    _log.finest('_toResponse: $data');
    return new Response.ok(data);

int the client
final request = await client.openUrl(method, uri);
final response = await request.close();
final responseData = await response/*.transform(UTF8.decoder)*/.join();

[91, 49, 50, 51, 44, 51, 52, 44, 49, 49, ....]

The same code works fine when I use shelf as server where I get List<int>

See the docs for Response.addEncoder and Response.contentType... you'll need to set the content type you the response. I don't think there is a default encoder for binary data, so you'll want to add one
Aqueduct doesn't use shelf at all

Just
    final json = resource.toJson();
    return new Response.ok(json);

worked fine. Thanks for your time.


Restrict the type of EvalGradient to Send + Sync

I'm still learning Rust, so I hope I'm not missing something as to why these traits weren't listed before.

Published in 1.0.5.

Thank you!


[#5] - Backend initial setup

-Completed directory structure for backend
-Created model files for Users and Posts. These are both incomplete and will need to be worked on once the boilerplate is approved and merged
-Boilerplate contains basic endpoints for User CRUD operations, however those are still incomplete and would need to be tweaked once this PR is merged and more tickets/issues are created

Could you add in the readme all the dependencies you need? eg. node version, MySQL version, and other tools( maybe MySQL workbench to view db) so that it is consistent across all of our systems.


feat: add recurrent reminders

Description

add reminder recurrency action to an already created reminder
improve background task code for desktop and mobile notifications
refactor code to extract common interfaces and types
add shortcuts to hidden actions

Closes #12070
Screencast

https://github.com/raycast/extensions/assets/5495320/2d149c28-311f-497a-961a-01a4c6802a33
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@pernielsentikaer I don't think the pipeline failed with anything code-related. If you could re-run, I'd appreciate it


Additional local plugins for concrete dir/project

Hi, I'm working on multiple projects and would like to have different plugins for different projects. For example in one project i use jinja2 templates and in another jade templates, so i don't need vim-jinja and vim-pug in both projects. I currently use custom function to load local .vimrc per project. So my question is:
Is there any way to supply multiple plugged folders for Plug to load from, or at least some mechanism to provide additional plugin list from local .vimrc, so my main .vimrc won't get messy from so many plugins, which needed only in concrete project.
something like
main .vimrc
call plug#begin('~/.config/nvim/plugged')
    Plug 'main_plug'
call plug#end()

local .vimrc
call plug#local_begin('.dotfiles/.vim/plugged')
    Plug 'local_plug'
call plug#end()

Function that i use to load local vimrc
" recursively search up from dirname, sourcing all .dotfiles/.vimrc files along the way
function! ApplyLocalSettings(dirname)
    " convert windows paths to unix style
    let l:curDir = substitute(a:dirname, '\\', '/', 'g')

    " walk to the top of the dir tree
    let l:parentDir = strpart(l:curDir, 0, strridx(l:curDir, '/'))
    if isdirectory(l:parentDir)
        call ApplyLocalSettings(l:parentDir)
    endif

    " now walk back down the path and source .vimsettings as you find them.
    " child directories can inherit from their parents
    let l:settingsFile = a:dirname . '/.dotfiles/.vimrc'
    if filereadable(l:settingsFile)
        exec ':source' . l:settingsFile
    endif
endfunction

:version
NVIM 0.1.5-dev
Build type: RelWithDebInfo
Compilation: /usr/bin/x86_64-linux-gnu-gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-par
ameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector --param ssp-buffer-size=4 -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+2488+19~ubuntu14.04.1/build/
config -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+2488+19~ubuntu14.04.1/src -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+2488+19~ubuntu14.04.1/.deps/usr/include -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git2
01605111309+2488+19~ubuntu14.04.1/.deps/usr/include -I/usr/include/luajit-2.0 -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+2488+19~ubuntu14.04.1/.deps/usr/include -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+24
88+19~ubuntu14.04.1/.deps/usr/include -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+2488+19~ubuntu14.04.1/.deps/usr/include -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+2488+19~ubuntu14.04.1/.deps/usr/include -I
/usr/include -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+2488+19~ubuntu14.04.1/build/src/nvim/auto -I/build/neovim-SvSwk7/neovim-0.1.2ubuntu1+git201605111309+2488+19~ubuntu14.04.1/build/include
Compiled by buildd@lgw01-35

Optional features included (+) or not (-): +acl   +iconv    +jemalloc
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Type:

[ ] Bug
[ ] Enhancement
[ ] Feature Request
[x] Question

OS:

[x] All/Other
[ ] Linux
[ ] OS X
[ ] Windows

Vim:

[ ] Terminal Vim
[ ] GVim
[x] Neovim

would like to have different plugins for different projects

What's the motivation here? What are you worried about? Most file-type specific plugins are not loaded unless a file of the type is open. So there's little benefit of manually managing different sets of plugins. Try measuring the startup time with --startup option.
Anyway if you really wish to go that route, see #454 and #425.

Thanks for reply,
It isn't only about file-specific plugins, it is also about general behaviour of vim for project. For example: different indentation configuration, different vcs types(git, hg) and so on, also i want my main vimrc to be clean, without bunch of plugins i needed for concrete project. I will try this approach and see how it will fit my workflow.


helidon se 4 native-image build error: HelidonFlavor was found in the image heap.

Environment Details

Helidon Version: 4.0.8
Helidon SE
JDK version: GraalVM 22
OS: ubuntu-latest (GitHub Actions)

Problem Description
I have a simple helidon se 4 app. On my mac locally native-image maven profile can be built successfully so I can run and test the app, but not in GitHub Actions. I also tried to use macos-latest in Github Actions, but was not success with native-image maven profile build
Recommended fix:
include '--initialize-at-build-time=io.helidon.common.features.api.HelidonFlavor' in your configuration.

also doesn't helped
error
[INFO] --- native:0.9.27:generateResourceConfig (resource-config) @ app-02-hello-helidon-se-4-java22 ---
[INFO] Detected resources for /home/runner/work/bidder/bidder/apps/app-02-hello-helidon-se-4-java22/target/app-02-hello-helidon-se-4-java22.jar are [application.yaml, logging.properties, META-INF/native-image/io/github/daggerok/bidder/app-02-hello-helidon-se-4-java22/native-image.properties, META-INF/maven/io.github.daggerok.bidder/app-02-hello-helidon-se-4-java22/pom.xml, META-INF/maven/io.github.daggerok.bidder/app-02-hello-helidon-se-4-java22/pom.properties]
[INFO] Resources configuration written into /home/runner/work/bidder/bidder/apps/app-02-hello-helidon-se-4-java22/target/native/generated/generateResourceConfig/resource-config.json
[INFO]
[INFO] <<< native:0.9.27:compile (build-native-image) < package @ app-02-hello-helidon-se-4-java22 <<<
[INFO]
[INFO]
[INFO] --- native:0.9.27:compile (build-native-image) @ app-02-hello-helidon-se-4-java22 ---
[INFO] Found GraalVM installation from GRAALVM_HOME variable.
Warning:  Properties file at 'jar:file:///home/runner/.m2/repository/io/helidon/common/helidon-common-key-util/4.0.8/helidon-common-key-util-4.0.8.jar!/META-INF/native-image/io.helidon.common.pki/helidon-common-pki/native-image.properties' does not match the recommended 'META-INF/native-image/io.helidon.common/helidon-common-key-util/native-image.properties' layout.
[INFO] Executing: /opt/hostedtoolcache/graalvm-jdk-22_linux-x64_bin/22.0.0/x64/graalvm-jdk-22.0.1+8.1/bin/native-image @target/tmp/native-image-15730015647527423427.args io.github.daggerok.hello.Main
Warning: The option '-H:ReflectionConfigurationResources=META-INF/native-image/io.micrometer/micrometer-core/reflect-config.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.
========================================================================================================================
GraalVM Native Image: Generating 'app-02-hello-helidon-se-4-java22' (executable)...
========================================================================================================================
For detailed information and explanations on the build output, visit:
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md
------------------------------------------------------------------------------------------------------------------------
2024.05.04 21:38:26.890 Logging at initialization configured using classpath: /logging.properties
[1/8] Initializing...                                                                                (11.0s @ 0.09GB)
 Java version: 22.0.1+8, vendor version: Oracle GraalVM 22.0.1+8.1
 Graal compiler: optimization level: 2, target machine: x86-64-v3, PGO: ML-inferred
 C compiler: gcc (linux, x86_64, 11.4.0)
 Garbage collector: Serial GC (max heap size: 80% of RAM)
 2 user-specific feature(s):
 - com.oracle.svm.thirdparty.gson.GsonFeature
 - io.helidon.integrations.graal.nativeimage.extension.HelidonReflectionFeature
------------------------------------------------------------------------------------------------------------------------
 1 experimental option(s) unlocked:
 - '-H:ReflectionConfigurationResources': Use a reflect-config.json in your META-INF/native-image/<groupID>/<artifactID> directory instead. (origin(s): 'META-INF/native-image/io.micrometer/micrometer-core/native-image.properties' in 'file:///home/runner/.m2/repository/io/micrometer/micrometer-core/1.11.3/micrometer-core-1.11.3.jar')
------------------------------------------------------------------------------------------------------------------------
Build resources:
 - 5.85GB of memory (75.6% of 7.74GB system memory, determined at start)
 - 2 thread(s) (100.0% of 2 available processor(s), determined at start)
[2/8] Performing analysis...  []                                                                        (38.4s @ 0.34GB)
    4,109 reachable types   (72.3% of    5,[684](https://github.com/daggerok/bidder/actions/runs/8953420571/job/24591903356#step:7:685) total)
    4,699 reachable fields  (44.2% of   10,628 total)
   18,450 reachable methods (44.6% of   41,407 total)
    1,309 types,    61 fields, and 1,058 methods registered for reflection

Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: An object of type 'io.helidon.common.features.api.HelidonFlavor' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'io.helidon.common.features.api.HelidonFlavor' are persisted in the image heap, add

    '--initialize-at-build-time=io.helidon.common.features.api.HelidonFlavor'
------------------------------------------------------------------------------------------------------------------------

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'io.helidon.common.features.api.HelidonFlavor' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.
                        4.0s (7.5% of total time) in 93 GCs | Peak RSS: 0.87GB | CPU load: 1.93

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=io.helidon.common.features.api.HelidonFlavor'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after upgrading to a new GraalVM release, this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=io.helidon.common.features.api.HelidonFlavor' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.

The following detailed trace displays from which field in the code the object was reached.
Object was reached by
  manually created constant
Error: java.util.concurrent.ExecutionException: com.oracle.graal.pointsto.util.AnalysisError: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: An object of type 'io.helidon.common.features.api.HelidonFlavor' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'io.helidon.common.features.api.HelidonFlavor' are persisted in the image heap, add

    '--initialize-at-build-time=io.helidon.common.features.api.HelidonFlavor'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'io.helidon.common.features.api.HelidonFlavor' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=io.helidon.common.features.api.HelidonFlavor'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after upgrading to a new GraalVM release, this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=io.helidon.common.features.api.HelidonFlavor' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.

The following detailed trace displays from which field in the code the object was reached.
Object was reached by
  manually created constant
Error: java.util.concurrent.ExecutionException: com.oracle.graal.pointsto.util.AnalysisError: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: An object of type 'io.helidon.common.features.api.HelidonFlavor' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'io.helidon.common.features.api.HelidonFlavor' are persisted in the image heap, add

    '--initialize-at-build-time=io.helidon.common.features.api.HelidonFlavor'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'io.helidon.common.features.api.HelidonFlavor' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=io.helidon.common.features.api.HelidonFlavor'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after upgrading to a new GraalVM release, this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=io.helidon.common.features.api.HelidonFlavor' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.

The following detailed trace displays from which field in the code the object was reached.
Object was reached by
  manually created constant
========================================================================================================================
Failed generating 'app-02-hello-helidon-se-4-java22' after 51.3s.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:01 min
[INFO] Finished at: 2024-05-04T21:39:13Z
[INFO] ------------------------------------------------------------------------
Error:  Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.9.27:compile (build-native-image) on project app-02-hello-helidon-se-4-java22: Execution of /opt/hostedtoolcache/graalvm-jdk-22_linux-x64_bin/22.0.0/x64/graalvm-jdk-22.0.1+8.1/bin/native-image @target/tmp/native-image-15[730](https://github.com/daggerok/bidder/actions/runs/8953420571/job/24591903356#step:7:731)015647527423427.args io.github.daggerok.hello.Main returned non-zero result -> [Help 1]
Error:
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error: Process completed with exit code 1.

Steps to reproduce
Main.java
@Log
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class Main {

    public static void main(String[] args) {
        Locale.setDefault(Locale.US);
        TimeZone.setDefault(TimeZone.getTimeZone(ZoneOffset.UTC));

        LogConfig.configureRuntime();

        var config = Config.create();
        Config.global(config);

        var server = WebServer.builder()
                .config(config.get("server")) // see application.yaml file
                .routing(Main::routing)
                .build()
                .start();

        log.info("WEB server is up! http://localhost:%d/hello%n".formatted(server.port()));
    }

    private static void routing(HttpRouting.Builder builder) {
        var greeting = Config.global().get("app.greeting").as(String.class).get();
        builder.get("/hello", (req, res) -> res.send(Map.of(greeting, "World")));
    }
}

src/main/resources/META-INF/native-image/.../native-image.properties
Args=--initialize-at-build-time=io.github.daggerok.hello

application.yaml
server:
  port: 8080
  host: <IP_ADDRESS>

app:
  greeting: "Hello"

and github action (see https://www.graalvm.org/downloads/):
  app-02-hello-helidon-se-4-java22:
    strategy:
      matrix:
        java: [22]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: graalvm/setup-graalvm@v1
        with:
          distribution: 'graalvm'
          java-version: ${{ matrix.java }}
      - run: sudo apt install -yqq httpie
      - run: ./mvnw -f apps/app-02-hello-helidon-se-4-java22 clean package -Pnative-image # <-- failed here
      - run: ./apps/app-02-hello-helidon-se-4-java22/target/app-02-hello-helidon-se-4-java22 &
      - run: http --ignore-stdin :8080/hello

pom.xml
    <parent>
        <groupId>io.helidon.applications</groupId>
        <artifactId>helidon-se</artifactId>
        <version>4.0.8</version>
        <relativePath/>
    </parent>
    <!-- ...skipped -->
    <properties>
        <encoding>UTF-8</encoding>
        <java.version>21</java.version>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
        <project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
        <native.image.reportExceptionStackTraces>true</native.image.reportExceptionStackTraces>
        <jlink.image.addClassDataSharingArchive>false</jlink.image.addClassDataSharingArchive>
        <mainClass>io.github.daggerok.hello.Main</mainClass>
        <lombok.version>1.18.32</lombok.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>${lombok.version}</version>
            <optional>true</optional>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>io.helidon.webserver</groupId>
            <artifactId>helidon-webserver</artifactId>
        </dependency>
        <dependency>
            <groupId>io.helidon.config</groupId>
            <artifactId>helidon-config-yaml</artifactId>
        </dependency>
        <dependency>
            <groupId>io.helidon.webserver.observe</groupId>
            <artifactId>helidon-webserver-observe-health</artifactId>
        </dependency>
        <dependency>
            <groupId>io.helidon.health</groupId>
            <artifactId>helidon-health-checks</artifactId>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
        </dependency>
        <dependency>
            <groupId>io.helidon.http.media</groupId>
            <artifactId>helidon-http-media-jackson</artifactId>
        </dependency>
        <dependency>
            <groupId>io.helidon.logging</groupId>
            <artifactId>helidon-logging-jul</artifactId>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>io.helidon.webserver.observe</groupId>
            <artifactId>helidon-webserver-observe-metrics</artifactId>
        </dependency>
        <dependency>
            <groupId>io.helidon.metrics</groupId>
            <artifactId>helidon-metrics-system-meters</artifactId>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>io.helidon.webclient</groupId>
            <artifactId>helidon-webclient</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-api</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-all</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.helidon.webserver.testing.junit5</groupId>
            <artifactId>helidon-webserver-testing-junit5</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy-libs</id>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

The reason: GraalVM native image analysis is improving with each version, catching additional instances that are in the memory at time of the build. This causes errors such as the one above. In previous versions of GraalVM, this is not discovered.
The solution:

add initialization at build time for features
add initialization at build time for logging (as we use logging both at build time and at runtime)

After fixing these two issues, the build passes (PR to come soon)

@tomas-langer

add initialization at build time for features
add initialization at build time for logging (as we use logging both at build time and at runtime)

where can I read more about it? or maybe can you give some github link with example?


Sensu Go 6.10.0 JWT changes impacting Puppet usage

Description of the problem

What did you do? In Sensu Go 6.10.0, users are now automatically logged out of the UI and sensuctl after a period of inactivity (12h).
What happened? This impacts operations for organizations that use Puppet and have upgraded to 6.10.
What did you expect to happen? Updating to 6.10.0, Puppet operations would continue functioning as it had.
How can someone reproduce the problem? Upgrade from any Sensu Go version to 6.10.0.

Command used and debugging output

What does your puppet config look like (including any hiera config)
Is this a masterless or master-based puppet setup?

Platform and version information

Your OS:
Your Ruby version:
Your version of Puppet:
Your version of Sensu:
Your version of this module:

Is there anything else you think will be helpful?
Adjusting the Sensu Puppet Module to use API keys may be helpful.

Quick Fix:
From the 6.10 release notes:

NOTE: Custom commands making use of $SENSU_ACCESS_TOKEN and $SENSU_REFRESH_TOKEN may be impacted by the changes to sessions and refresh tokens. We recommend setting up an API key and using $SENSU_API_KEY in light of these changes.

The changes are a bit unclear, but it seems the tokens have been deleted. You can manually fix the issue by recreating a new tokens in the config (/root/.config/sensu/sensuctl/cluster):
curl -X GET https://<IP_ADDRESS>:8080/auth -u user:pass -k
Then replace the new tokens in the cluster file.

the workaround proposed by @elfranne works.

This issue has been mentioned on Sensu Community. There might be relevant details there:
https://discourse.sensu.io/t/getting-the-error-401/3232/3


HHH-15206 - Upgrade to ANTLR 4.10

HHH-15206 - Upgrade to ANTLR 4.10

Should this be flagged as no longer a preview ?

Perfect, thanks.


Update Documentation for Internal Metric Naming Conventions

This PR updates the documentation to clarify the internal metric naming conventions for the OpenTelemetry Collector.
Changes:
Added a note to explain:
1.Starting from v0.106.1: Metrics from Collector components are prefixed with otelcol_, while metrics from
instrumentation  libraries are not prefixed.
          2.Versions before v0.106.1: All internal metrics, regardless of their source, had the otelcol_ prefix.

This update ensures that users understand the changes in metric naming conventions across different versions of the Collector.
Related Issue:
Fixes #4933

Hi @tiffany76,
I have realized that some unintended commits were included in this pull request. I apologize for the oversight and any inconvenience this may have caused. I will address this issue promptly by removing the extraneous commits and ensuring that only the intended changes remain.

LGTM, @Tharanishwaran! Thanks for your contribution.
@open-telemetry/collector-approvers, PTAL.

Thanks @tiffany76 and @codeboten for the reviews and feedback! The checks have passed and the changes have been approved. Could someone please merge the PR when possible

Many thanks to @tiffany76, @codeboten  for your useful comments and taking the time to review the changes. I am glad that the checks passed and the PR finally got approval. If possible, one of the maintainers kindly goes ahead and merges the PR. Truly I appreciate the time and your support

Thank you @Tharanishwaran  for calling it out, we have run into the same issue in 0.106 & 0.107

Thank you @songy23 for your  comment I’ve implemented the suggested change regarding the otelcol_ prefix

/fix:format

/fix:all


Tighten timeout on deployment resource

With the right rollout strategy, we should be ready to tighten the Deployment rollout. Right now it leads to deploys hanging up for 15 minutes and I'm sure that such timeout isn't necessary to find that something is not going as expected.
The new timeout is debatable and I wouldn't be surprised if at some point in future we get apps that are very slow to boot and take more than 5 minutes to roll out. However the Shopify/shopify monolith is a very large codebase to boot, and the rollout to hundreds of replicas manages to complete within 3 minutes.
Alternatively we can introduce a  configurable global waiting timeout as a CLI flag. This would unblock us to set it to 5.minutes in Shipit because there we'd prefer to fail early rather than wait for 15 minutes and grow the deploy backlog.
thoughts? @KnVerey @sirupsen @wfarr

I'm in favour of this. We were being generous to start with the thought of accommodating early-stage apps doing crappy things, but in practice what I've seen is people waiting 15 minutes for doomed deploys to reach timeout on apps that normally deploy in <2m.
You'll need to adjust the timeout on the Service class the same way; they should match, as services are basically waiting to get endpoints from their backing deployments. The Pod timeout doesn't strictly need to match, especially since we support deploying unmanaged pods (typically for running migrations), but it is probably too generous as well. Maybe 10 minutes for that one?

You'll need to adjust the timeout on the Service class the same way; they should match, as services are basically waiting to get endpoints from their backing deployments.

Good to know! I've added a test to verify they match.
Also updated Service to 5 minutes and Pod to 10 minutes.

Overriding this with annotations on the resource would be cool long-term, but this is good for now 👍


Erase flash pages progressively

Fixed ISR in serial_adapter to work with USB CDC ACM serial emulation. This commit prepares mcuboot for coming USB support patch.
Added an option to erase flash pages progressively to avoid possible timeouts

This PR contains code which was separated form previous PR #318
Signed-off-by: Emanuele Di Santo<EMAIL_ADDRESS>Signed-off-by: Emanuele Di Santo<EMAIL_ADDRESS>

It seems to me that by using flash_area_sector_from_off inside CONFIG_BOOT_ERASE_PROGRESSIVELY you make that code Zephyr only. This defeats the idea of target-OS code living only inside their respective directories; I'll give it some more thought soon. The other changes here look good.

@utzig I can call boot_read_sectors()->boot_initialize_area() for populate information about NVM structure, and then use this info instead of this dedicated flash_area_sector_from_off call.

@utzig updated


Provide easy access to find other carriers of a variant

Is your feature request related to a problem? Please describe.
The in-house database is useful for excluding artifacts. Sometimes it would be very helpful to identify the carriers (if one has access to it).
Describe the solution you'd like
Provide a "view all carriers of this variant" functionality.
Describe alternatives you've considered
N/A
Additional context
This could also be expanded to a "show everything (rare) in this gene" functionality.

Implementation Proposal

Provide a button with mdi:binoculars that opens a modal.
This modal loads a server-rendered page that displays the cases that this variant has also been located in if the user has access to it.
If the access is restricted it will display the owner of the project that has this data.
A global configuration setting VARFISH_RESTRICT_CARRIER_LOOKUP (default is 0/False) allows to disable the display of restricted access. This is required for varfish-demo.

Affected Components
VarFish Demo
Affected Modules/Files
variants/templates/...
variants/views.py
variants/urls.py

Required Architectural Changes
None
Required Database Changes
None
Is Backport Possible
Yes
Implementation Steps

Implement "view variant in other carriers" view

[ ] Create a new view for this named VariantInContextView. This is also the place to later on plot more information such as "all variants in this gene"
[ ] Hook the view to the URLs
[ ] Create appropriate template for this
[ ] Integrate it into the front-end to display as a modal
[ ] Write tests

Extend to display some more information

[ ] consider using lollipops for display of other variants in VarFish
[ ] possibly allow display of gnomAD data there as well


Fix struct type spelling s/ToolChoiche/ToolChoice

Correct misspelling of chat.go struct ToolChoice that was added in https://github.com/sashabaranov/go-openai/pull/526
Issue: #522

@kb thank you for the PR! I think this was fixed in an earlier PR


Not able to create connection between Organization agent and end User agent using mediator.

Hi Team,
I have taken latest aries-cloudagent-python code and created 3 aries cloudagent Organization,Mediator and User.I am trying to use mediator in following way.

Created connection between Organization and Mediator.
Using above connection id, create mediator Id by organization agent.
Grant mediator request by Mediator agent.
Trying to make connection in between Organization agent and end User agent using mediation id but getting error "No route found with recipent key " at mediator log.

Pls let me correct if anything wrong.

What parameters are you using to start each of the agents?

What parameters are you using to start each of the agents?

@Shweta-hlf, the example configurations in #910 may be of interest

@Shweta-hlf, the example configurations in #910 may be of interest

Thanks dbluhm!!
I tried  #910  configuration and start agent in following way.
./bin/aca-py start --arg-file ./demo/demo-args-faber.yaml
./bin/aca-py start --arg-file ./demo/demo-args-mediator.yaml
./bin/aca-py start --arg-file ./demo/demo-args-alice.yaml
First i tried to make connection between faber and Mediator using swagger api (create-invitation and receive-invitation) but "state" attribute is "request" not "active". so connection is not established.
Kindly suggest.

Thanks dbluhm!!
I tried  #910  configuration and start agent in following way.
./bin/aca-py start --arg-file ./demo/demo-args-faber.yaml
./bin/aca-py start --arg-file ./demo/demo-args-mediator.yaml
./bin/aca-py start --arg-file ./demo/demo-args-alice.yaml
First i tried to make connection between faber and Mediator using swagger api (create-invitation and receive-invitation) but "state" attribute is "request" not "active". so connection is not established.
Kindly suggest.

This appears to be a problem with your configuration or the invitation being generated rather than mediation. When you create an invitation in the Admin API, example values are inserted that likely do not reflect the actual scenario you are testing from. Please verify that when you create an invitation, the body is empty (the defaults used when not specified are probably sufficient) or that the values are correct.

This appears to be a problem with your configuration or the invitation being generated rather than mediation. When you create an invitation in the Admin API, example values are inserted that likely do not reflect the actual scenario you are testing from. Please verify that when you create an invitation, the body is empty (the defaults used when not specified are probably sufficient) or that the values are correct.

@Shweta-hlf I'm going to go ahead and close this issue. If you're continuing to experience challenges while working with mediation, please feel free to contact me on chat.hyperledger.org


[add-to-app][Android]: App doesn't rebuild widgets if keyboard is opened on older android versions

Description
If an you add a flutter fragment to an existing app, the behavior after the keyboard was opened differs between android versions (8/9 vs. 12). While Android 12 rebuilds the widgets when the keyboard is opened, Android 9 doesn't. Behavior clearly observable by watching the print statement of the viewInset.bottom: Shows different values when keyboard is opening on Android 12, while showing nothing on Android 9.
This leads to the problem, that the lower text fields will not scroll into view on android 9, because they are still hidden behind the keyboard.
Android 8
https://user-images.githubusercontent.com/31889204/159942386-3a97005f-7f3c-4a75-8261-69655498957c.mp4
Android 12
https://user-images.githubusercontent.com/31889204/159942371-767f468f-41a3-4b40-a302-04fbeb105c78.mp4
Expected results:
Opening the keyboard will result in a widget rebuild on any Android version, so that text fields will scroll into view automatically.
Actual results:
Opening keyboard on Android 8 & 9 won't rebuild widgets, so text fields are hidden behind the keyboard.
A minimal working example on github was created.
It includes a small flutter fragment + an android example (File > New > New Project > Bottom Navigation Activity).
I followed the instructions provided by the flutter docs

Integrate a Flutter module into your Android project
Adding a Flutter Fragment to an Android app

Please ignore the whitespace shown in the videos and in the minimal working example, this is another issue which is tracked in Flutter add-to-app fragment inserts unnecessary bottom padding when keyboard is open #96520

Basic example:
class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    print(MediaQuery.of(context).viewInsets.bottom);
    return Scaffold(
      body: SingleChildScrollView(
        child: Column(
          children: [
            _buildTextField(),
            const SizedBox(height: 30),
            _buildTextField(),
            const SizedBox(height: 30),
            _buildTextField(),
            const SizedBox(height: 30),
            _buildTextField(),
            const SizedBox(height: 30),
            _buildTextField(),
            const SizedBox(height: 30),
            _buildTextField(),
            const SizedBox(height: 30),
            _buildTextField(),
            const SizedBox(height: 30),
          ],
        ),
      ),
    );
  }

  Widget _buildTextField() {
    return const TextField(
      decoration: InputDecoration(
        border: OutlineInputBorder(),
        hintText: 'Enter a search term',
      ),
    );
  }
}

flutter doctor -v
[√] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.19044.1586], locale en-AT)
• Flutter version 2.10.3 at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7e9793dee1 (3 weeks ago), 2022-03-02 11:23:12 -0600
• Engine revision bd539267b4
• Dart version 2.16.1
• DevTools version 2.9.2
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\user\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.10)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
• Visual Studio Build Tools 2019 version 16.11.32126.315
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.1)
• Android Studio at C:\Program Files\Android\Android Studio
• 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 11.0.11+9-b60-7590822)
[√] VS Code (version 1.65.2)
• VS Code at C:\Users\user\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.36.0
[√] Connected device (4 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 8.0.0 (API 26) (emulator)
• Windows (desktop)                  • windows       • windows-x64    • Microsoft Windows [Version 10.0.19044.1586]
• Chrome (web)                       • chrome        • web-javascript • Google Chrome 98.0.4758.81
• Edge (web)                         • edge          • web-javascript • Microsoft Edge 98.0.1108.62
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

@DarkMikey
Thanks for the report. Can you try by wrapping with SafeArea and see if it helps ?

Thanks for your response.
As you can see, there's no value set for resizeToAvoidBottomInset in scaffold, so this should default to true.
Sadly wrapping the Column or SingleChildScrollView with a SafeArea doesn't change anything.

I cloned and ran your code on Android Samsung device (8.1.0) on which I do see the widgets being rebuild properly, ie, the UI moves / scrolls up properly when keyboard opens:
https://user-images.githubusercontent.com/67046386/160125600-2bfa2dde-3073-420a-807b-e439591a2505.mov
Channel stable, 2.10.3

As mentioned in the headline and exactly like in the mentioned issue #96520 this problem just occurs if embedded in an existing android app (add-to-app)
Please run
cd test3_flutter
flutter pub get
flutter build aar --debug --no-profile --no-release

and then build & start the app from Android Studio.
Please be aware, that this is the same repo I already used for the other issue, where you'd trouble running it. See https://github.com/flutter/flutter/issues/96520#issuecomment-1015110872
Here are my gradle properties
# gradle.wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip

# project level build.gradle
classpath "com.android.tools.build:gradle:7.0.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"

Thanks for the update. Yes, using above details, I do see the same behavior as reported. It looks specific to Android OS < 10 behavior wherein opening the keyboard, the widgets don't seem to be rebuilding, while the same works properly on Android < 10.

 stable, master flutter doctor -v

[[✓] Flutter (Channel stable, 2.10.4, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.4 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (3 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.277, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.277 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 13d2381109 (4 hours ago), 2022-03-27 21:00:08 -0400
    • Engine revision 559e259c54
    • Dart version 2.17.0 (build 2.17.0-246.0.dev)
    • DevTools version 2.11.4

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Having the same issue with Android OS <= 10. The MediaQuery.of(context).viewInsets.bottom doesn't change when the keyboard appears.

I also have the same issue. In version 2.15.1, the value cannot be fetched if android <= 10.
Even though I was able to receive keyboard show events with a native plugin called flutter_keyboard_visibility, MediaQuery.of(context).viewInset.bottom was also 0.0.

I have the same issue with a pure flutter application on android <=10, works fine on ios simulators and android >10
stable, master flutter doctor -v
[✓] Flutter (Channel stable, 3.3.4, on macOS 13.0 22A380 darwin-arm, locale en-UZ)
    • Flutter version 3.3.4 on channel stable at /Users/damirvilyamov/Work/SDK/Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (3 weeks ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/damirvilyamov/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.3)
    • 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 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (5 available)
    • Android SDK built for arm64 (mobile) • emulator-5554                        • android-arm64  • Android 10 (API 29) (emulator)
    • iPhone SE (1st generation) (mobile)  • DAC9A564-E638-4AC5-A89E-774FD958050E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • iPhone 14 Pro Max (mobile)           • 5B134460-FD12-4FB4-A4B0-110420E66368 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)                      • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm
    • Chrome (web)                         • chrome                               • web-javascript • Google Chrome 107.0.5304.87

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I just came into this on flutter 3.3.7 with a pure Flutter app. Noticed on a physical S9 with Android 10, then I could reproduce in emulators. Flutter does not rebuild when keyboard pops up on Android 10 and rebuilds from Android 11 and rebuilds on iOS too (just tested with iOS 16). Scaffold's body is a SafeArea for me and I tried resizeToAvoidBottomInset: true also, but they don't do anything on Android 10 (and I guess below) sadly.
Maybe this is related: https://developer.android.com/guide/topics/resources/runtime-changes#allow-activity It states some changes starting from API level 30 in this field.

Any news on this?


How to pretrain detector for VCOCO?

Hi, thanks for your excellent work. I am confused about the pre-training for the V-COCO training.
In your README.md, you stated the pretraining has to be carried out for the V-COCO training since some images of the V-COCO evaluation set are contained in the training set of DETR, while the given training command just used the pretrained DETR model without any more pretraining.
Should I apply a pretraining on the dataset excluding the V-COCO evaluation images or just follow your training command?

You can follow the training instruction, but have to prepare the pre-trained model by yourself before the training.
Follow the steps below.

Exclude the images in the V-COCO evaluation set from the annotation file of the COCO train2017 set.
Train DETR with the annotation file.
Convert the trained parameters of DETR for QPIC's training.
Start training with the converted parameters.

Would you like to release the pre-trained parameters for V-COCO?

We do not plan to release the pre-trained parameters. Please pre-train by yourself.


[Event Request] table 5802 "Value Entry" - OnAfterFilterSumCostsValueEntry

We would like to add a new event OnAfterFilterSumCostsValueEntry in the following procedure:
procedure SumCostsTillValuationDate(var ValueEntry: Record "Value Entry")
var
    AccountingPeriod: Record "Accounting Period";
    PrevValueEntrySum: Record "Value Entry";
    Item: Record Item;
    FromDate: Date;
    ToDate: Date;
    CostCalcIsChanged: Boolean;
    QtyFactor: Decimal;
begin
    Item.Get(ValueEntry."Item No.");
    OnSumCostsTillValuationDateOnAfterGetItem(Item, ValueEntry);
    if Item."Costing Method" = Item."Costing Method"::Average then
        ToDate := GetAvgToDate(ValueEntry."Valuation Date")
    else
        ToDate := ValueEntry."Valuation Date";

    repeat
        if Item."Costing Method" = Item."Costing Method"::Average then
            FromDate := GetAvgFromDate(ToDate, AccountingPeriod, CostCalcIsChanged)
        else
            FromDate := 0D;

        QtyFactor := 1;
        Reset;
        SetCurrentKey("Item No.", "Valuation Date", "Location Code", "Variant Code");
        SetRange("Item No.", ValueEntry."Item No.");
        SetRange("Valuation Date", FromDate, ToDate);
        OnAfterFilterSumCostsValueEntry(Rec, ValueEntry, Item); //A200F0002.Event
        CheckApplyLocationVariantFilters(AccountingPeriod, ValueEntry, Item, CostCalcIsChanged, QtyFactor, FromDate, ToDate);

        CalcSums(
          "Item Ledger Entry Quantity", "Invoiced Quantity",
          "Cost Amount (Actual)", "Cost Amount (Actual) (ACY)",
          "Cost Amount (Expected)", "Cost Amount (Expected) (ACY)");
        OnSumCostsTillValuationDateOnAfterCalcSums(Rec);

        "Item Ledger Entry Quantity" :=
          Round("Item Ledger Entry Quantity" * QtyFactor, UOMMgt.QtyRndPrecision) + PrevValueEntrySum."Item Ledger Entry Quantity";
        "Invoiced Quantity" :=
          Round("Invoiced Quantity" * QtyFactor, UOMMgt.QtyRndPrecision) + PrevValueEntrySum."Invoiced Quantity";
        "Cost Amount (Actual)" :=
          "Cost Amount (Actual)" * QtyFactor + PrevValueEntrySum."Cost Amount (Actual)";
        "Cost Amount (Expected)" :=
          "Cost Amount (Expected)" * QtyFactor + PrevValueEntrySum."Cost Amount (Expected)";
        "Cost Amount (Expected) (ACY)" :=
          "Cost Amount (Expected) (ACY)" * QtyFactor + PrevValueEntrySum."Cost Amount (Expected) (ACY)";
        "Cost Amount (Actual) (ACY)" :=
          "Cost Amount (Actual) (ACY)" * QtyFactor + PrevValueEntrySum."Cost Amount (Actual) (ACY)";
        PrevValueEntrySum := Rec;

        if FromDate <> 0D then
            ToDate := CalcDate('<-1D>', FromDate);
    until FromDate = 0D;
end;

Event Signature:
[IntegrationEvent(false, false)]
local procedure OnAfterFilterSumCostsValueEntry(var ValueEntryToFilter: Record "Value Entry"; ValueEntry: Record "Value Entry"; Item: Record Item);
begin
    //A200F0002.Event
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Compilation failure: cannot find symbol in CalciteQueryTest

Affected Version
29.0.0
Description

This seems to be introduced by https://github.com/apache/druid/pull/15957

There is another "cannot find symbol" issue in DruidSqlParserImpl:
/Users/asdf2014/code/druid/sql/target/generated-sources/org/apache/druid/sql/calcite/parser/DruidSqlParserImpl.java:1150:40
java: cannot find symbol
  symbol:   method convertSqlNodeToGranularityThrowingParseExceptions(org.apache.calcite.sql.SqlNode)
  location: class org.apache.druid.sql.calcite.parser.DruidSqlParserUtils

conflicted changes were: #15996 and #15957
@gargvishesh  have opened #16050 to fix it


Avoid context propagation from agent threads and Executors

Disabling context propagation from agent threads and when submitting tasks/runnables/callables to agent executors.
This started by investigation of CI flakiness at CommonsExecAsyncInstrumentationTest (example: https://apm-ci.elastic.co/job/apm-agent-java/job/apm-agent-java-mbp/job/main/313/) that is apparently related to our test causing metadata to start threads on which they execute processes for metadata discovery (eg uname -n), which invokes our process instrumentation and so forth.
But besides eliminating test issues, IIANM such exclusion of context propagation on agent threads is the right thing to do anyway.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-07-25T13:14:12.772+0000

Duration: 54 min 42 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
3054

Skipped
36

Total
3090

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


simple finite difference vertical test cases

[x] advection
[x] advection diffusion
[x] wave equation

Closed by #40


ci: Do not use a fork for release actions

Stop using a fork to run release actions.  Either it is missing a feature or I misunderstood what that flag is for.  See https://github.com/google-github-actions/release-please-action/issues/819

After this is merged to main and cherry-picked to both v4.4.x and v4.3.x, we should get working release PRs for both branches.  Then we can run tests and merge to release from both branches.
We should not release v4.4.1 from main, but there will be a release PR for that, too.  I'm still looking into how to prevent release-please from doing patch-level releases from main.  There doesn't seem to be an option for that yet, but I may be able to add one or create a plugin for it.


Automatically wait for server to start when connecting

This makes it so if we can't connect to a server, it waits half a second then tries again, looping until we connect. This doesn't have a maximum wait time, it just keeps going until either it connects or irctest is killed.
Maybe something like this (doing it automatically) could be used to replace the explicit server start wait time setting? Or would it be useful to have both?

Why do you do this on client connection instead of making *Controller.run() blocking?

ie. “yes” to your first question, and “why for clients too?” to the second one

Ah, I just put it close to where the clients try to connect to the servers, looked like the best place at first glance.
If we have it in *Controller.run() it looks like we'll need to duplicate this conn.connect() loop in each separate server (or call a function that does it and then disconnects right away) at the end of each run() call, or am I missing something / is there a nicer way to handle it?

You could add a method to BaseServerController that does the waiting, and call it from run().

… which is exactly what you said (“call a function that does it and then disconnects right away”)
Another possible solution: http://stackoverflow.com/a/29287391/539465

Something along these lines instead? https://github.com/DanielOaks/irctest/commit/0ad75453f7b387dd184ae1755d1a1bf29d145f96

Looks good to me.
Add psutil to requirements.txt and it will be perfect

Awesome, replaced this branch with that one. Thanks for pointing me at psutil, looks like a really useful library

Finally, I came back to your original idea of doing the wait when the test makes a client connect: d3617b7.
The main reason is now many tests can be skipped immediately (unsupported features, command-line options disabling some specs, etc.), and waiting for the server took a long time.
With this, running IRCv3.2 tests on Mammon decreased from 15s to 5s.

Ah, that makes sense. Always glad to see lower wait times!
On Wednesday, December 23, 2015, Valentin Lorentz<EMAIL_ADDRESS>wrote:

Finally, I came back to your original idea of doing the wait when the test
makes a client connect: d3617b7
https://github.com/ProgVal/irctest/commit/d3617b701279c8c5e1ea188dcdd13703831f3c50
.
The main reason is now many tests can be skipped immediately (unsupported
features, command-line options disabling some specs, etc.), and waiting for
the server took a long time.
With this, running IRCv3.2 tests on Mammon decreased from 15s to 5s.
—
Reply to this email directly or view it on GitHub
https://github.com/ProgVal/irctest/pull/6#issuecomment-166770859.


[Machine Learning] Super Resolution using ESRGAN to Upscale Images

Proposal Submission
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific.
Super Resolution using ESRGAN to Upscale Images
Proposed article introduction
We're looking for the first 2-3 paragraphs of your article that appropriately summarize what your article will be about.
We will use this writing snippet to help us assess the overall quality before approval so ensure it has been proofread, spellchecked and grammarchecked.
ESRGAN is an acronym for Enhanced Super Resolution Generative Adversarial Network. It is a pre-trained model that allows for real-world image restoration. The model takes in low-resolution images and upscale them into high-resolution images using Deep Learning. It is built using an underlying architecture called an Generative Adversarial Network (GAN). This architecture has two models in it. A generator and a discriminator. The generator tries to generate a high resolution image and the discriminator tries to pick it out to establish whether it's real or not.
In this tutorial, we will leverage this pre-trained model to upscale custom low-resolution images.
Key takeaways
What are the 3-5 most important things the reader should understand or be able to do after reading this article?
Use this area to get your ideas down on the bulk of your article or tutorial.
By the end of this tutorial, a reader will be able to:

Understand what is ESRGAN
Use GitHub to clone the GitHub repo
Download the pre-trained model
Install the necessary modules needed.
Perform super resolution on low resolution custom images.

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
Almost all tutorial describe the ESRGAN model, its architecture, but not how to use it in code and how to apply it in your projects. The tutorial will also be beginner friendly and lightweight so that a common reader can easily understand.
References
Please list links to any published content/research that you intend to use to support/guide this article.

ESRGAN

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic it has to serve value to the larger developer community at large. Please feel free to suggest an alternate topic to explore. 🚀
https://www.google.com/search?q=Super+Resolution+using+ESRGAN&rlz=1C1CHBF_enUS891US891&sourceid=chrome&ie=UTF-8


DBZ-929 Track postgres 10 instead of 10.0

Simply changes references from 10.0 to 10, since postgres no longer uses the random minor-version=breaking-version scheme.

LGTM. @jpechane any objections?

Applied, thanks @Tapppi for the contribution and pointing out the versioning change!


Invalid module name for jboss.jaxb.api.2.3.spec

Trying to run a project with a dependency
compile "org.jboss.resteasy:resteasy-client:3.6.1.Final"

will result in an error:
> Task :run FAILED
--
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\Nir\.gradle\caches\modules-2\files-2.1\org.jboss.spec.javax.xml.bind\jboss-jaxb-api_2.3_spec\1.0.0.Final\fd03ab1e2b25dcf20af049d34ef4b8d2d97b73f\jboss-jaxb-api_2.3_spec-1.0.0.Final.jar
Caused by: java.lang.IllegalArgumentException: jboss.jaxb.api.2.3.spec: Invalid module name: '2' is not a Java identifier

I have reported it to the RESTEasy devs and they suggest it's a problem in Gradle.
I am using Buildship, and looking at the dependency configuration, the dependency is on the classpath. The automatic module naming process is attempting to use the jar name and fails.
Expected Behavior
No error when running.
Current Behavior
The above error while running.
Context
Cannot run any project which depends on the RESTEasy client.
Steps to Reproduce (for bugs)
Create a project with:
apply plugin: 'java'

repositories {
    jcenter()
}

sourceCompatibility = 11
targetCompatibility = 11

dependencies {
    compile "org.jboss.resteasy:resteasy-client:3.6.1.Final"
}

task wrapper(type: Wrapper) {
    gradleVersion = '4.10.2'
}

and execute run.
Your Environment

OpenJDK 11
Gradle 4.10.2
Buildship 3.0.0
Eclipse 2018-09 (4.9) (patched for Java 11)
Win10

I don't see how this would be a problem in Gradle. They put a digit into their artifact id and jigsaw forbids numbers in module identifiers. So automatic module conversion will fail. They need to give it an explicit module name.


Podcast static files aren't copied over to podcast dir

See src/content/en/shows/http203/podcast/
It copies the jpg, but not the feed.xml or the mp3

see #1771

Got a fix in flight for the Fix is in place - somewhat fearful that the decision to hand update the podcast is going to be tiresome, but not sure if there is a better way.


Overview Blade Unable to copy the identifier value.

Describe the Bug with repro steps
1.Goto overview blade of standard LA.
2.Try to copy the identifier value.
Actual: Unable to copy the identifier value.

Expected: Should be copy.
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Chrome
Additional context
Environmental Details:
URL: https://aka.ms/emastaging-flowstip1
Version : 2.30410.1.3

This will be fixed in next release


Remove duplicate references from the ApplicationReferences export

Context
At the moment, duplicate references are exposed in the ApplicationReference export. This causes issues with automation of the export analysis purposes as specific columns are used to calculate average response time etc. which is skewed when you have duplicate values.
Changes proposed in this pull request

Reject duplicate references from the ApplicationReference export

Guidance to review
Does this seem reasonable?
There's definitely a trade-off as this is now only showing new references which could be slightly misleading if you don't know that is the behaviour.
Link to Trello card
https://trello.com/c/hXZDSy12/3264-remove-duplicate-references-from-the-applicationreferenceexport
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] This code does not rely on the addition/removal of Azure config environment variables in the same Pull Request
[x] New environment variables have been added to the Azure config

I think on the whole this achieves what we need from the export. Regarding this:

There's definitely a trade-off as this is now only showing new references which could be slightly misleading if you don't know that is the behaviour.

I think we should do either one of these:

Include the duplicates, but flag them as such via a new column in the export so that they can be filtered out if needs be
Document their exclusion in the description of this export

Yea we had the show they're dupes vs hide them chat and Mike/Milan wanted them removed. You're right it should definitely be misleading so I'll document it now.

Yea I must admit that I do have a soft preference for marking them as dupes and filtering. There's also the question of is a feedback provided reference that gets cancelled still a dupe?
Bit of a can of worms though.


Email Notifications are broken

Successful simulation runs do not trigger an email notification
Failed simulations runs trigger a "Success" email notification

:tada: This issue has been resolved in version 3.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[multistage] improve error message in case of non-existent table queried from controller

Follow up to #10336
As pointed by @walterddr in #10546 that

the error message for multi-stage query for select * from non_exist_tbl will return cannot find common tenant across all tables: ['non_exist_tbl']

This PR would search for non-existent tables and the error message will be: Unable to find table : non_exist_tbl

Codecov Report

Merging #10599 (5e91206) into master (0cb456a) will decrease coverage by 56.49%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #10599       +/-   ##
=============================================
- Coverage     70.37%   13.88%   -56.49%
+ Complexity     6495      439     -6056
=============================================
  Files          2106     2052       -54
  Lines        113004   110523     -2481
  Branches      17026    16732      -294
=============================================
- Hits          79521    15348    -64173
- Misses        27917    93923    +66006
+ Partials       5566     1252     -4314

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
13.88% <0.00%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

...t/controller/api/resources/PinotQueryResource.java
0.00% <0.00%> (-59.56%)
:arrow_down:

... and 1665 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Remind people who install chef-dk by gem install

Since chef-dk is supposed to be installed as the omnibus binaries, maybe we can add something like vagrant did or put post_install_message in chef-dk.gemspec file to remind people who try to install chef-dk using gem command.
What do you say?
$ gem install vagrant
Fetching: vagrant-1.5.0.gem (100%)
Thanks for wanting to use Vagrant! Unfortunately, this is not the way
to install Vagrant anymore. We now make installers for the various operating
systems Vagrant supports.

Vagrant is no longer distributed as a RubyGem. Please download the latest
version for your operating system from the URL below. If you still wish
to use the RubyGem version, you can manually install version 1.0.7. Note that
the RubyGem version hasn't been updated in over a year and will no longer
receive any updates.

Prior to installing Vagrant using the installer, make sure you uninstall
all your Vagrant gems, since they sometimes conflict.

http://www.vagrantup.com

If you want to learn more about why we don't distribute using RubyGems
anymore, please read this: http://mitchellh.com/abandoning-rubygems
Successfully installed vagrant-1.5.0
1 gem installed

Definitely worth considering, if we can get the wording correct. Our stance is not as strict as Vagrant's; we ship new versions of ChefDK via rubygems as we release them in order to allow users on otherwise unsupported platforms (such as Arch linux) to take advantage of the generator and (currently beta) policyfile features. What I'd really like is if we could detect whether or not we're on a platform that we make packages for and only emit the message then, but I don't think it's possible to do this.
@chef/client-engineers ?

I'd like to see a warning.  Even on Arch those users are on the bleeding edge.

:+1: on a warning, with an explanation.

Ditto

Okay, I think we're agreed on having a warning. Feel free to take a shot at this and make a PR.

OK for a warning but FYI some people prefer to use the gem even on supported platforms (like me on debian and centos).

chef-dk is also out of date on rubygems right now and needs a gem push

Just pushed 0.6.0

Fixed by #402


Clean up lrauv_gazebo_plugins worlds

Precisely what the title says. Incidentally closes https://github.com/osrf/lrauv/issues/132.

@arjo129 @adityapande-1995 @caguero I'm seeing strange behavior. Running:
gz sim -v4 --gui-config install/share/lrauv_gazebo_plugins/config/gui.config portuguese_ledge.sdf

has the intended outcome, whereas:
gz sim -v4 --gui-config install/share/lrauv_gazebo_plugins/config/gui.config tethys_at_portuguese_ledge.sdf

yields nothing. Do you see the same?

Neither are working for me. I'm getting the following error:
 [GUI] [Err] [Application.cc:290] Failed to load file [install/share/lrauv_gazebo_plugins/config/gui.config]: XMLError
[GUI] [Wrn] [Gui.cc:373] Failed to load config file[install/share/lrauv_gazebo_plugins/config/gui.config].

@arjo129 ahh, I wasn't explicit about how to build the workspace. It  should be merged installed !

Hmmm lots of weird behavior. I can see the gui but no hint of tiles or tethys.

This is what I see for both:

Might I add that I believe the hooks file assumes a non-merge-install scenario.

Hmmm lots of weird behavior. I can see the gui but no hint of tiles or tethys.

It's less weird than having only one working :sweat_smile: I suspect some sort of race in how plugins are loaded, but it's just a hunch.

Might I add that I believe the hooks file assumes a non-merge-install scenario.

Hmm, shouldn't be the case as we're using the right install prefix:
https://github.com/osrf/lrauv/blob/74389584ffd79cf62473c7f7be38c79d5da3ea32/lrauv_gazebo_plugins/hooks/hook.sh.in#L1-L4

Alright, it was picking up another SDF file with the same name for me... Now we are seeing the same.

Curiously enough, removing ScienceSensorSystem and EnvironmentPreload plugins "fixes" the problem. Maybe not a race but either plugin failing to setup?

We should be removing science sensor soon enough. I can take alook at EnvironmentPreload and see what happens.

I gave up on trying to figure out what is going. Merged everything back into each world in https://github.com/osrf/lrauv/pull/272/commits/7e72734532e1c736162406e7ac9ad1220f92a03b. That works just fine.

@caguero re: number of worlds. Let me know if you want to go away with the worlds that start with a Tethys in them or not. Remember there is no generic mechanism to work with these worlds (everything is setup to work with MBARI LRAUVs only).

Getting some weird behavior. Not sure exactly what went wrong. Need to investigate.
Screencast from 11-22-2022 11:36:08 AM.webm

Seems like if a vehicle is spawned, EachNew() is not catching it here. I think this seems to be an issue with the ECM.

Seems like if a vehicle is spawned, EachNew() is not catching it here, hence buoyancy is not getting executed. I think this seems to be an issue with the ECM.

@arjo129 uh, good find. It is catching it though, but no collisions are found (at the time). A race?

OK so it makes sense. Seems like the UserCommand system responsible for creating the entities only creates the entities during the PreUpdate phase. At the same time the buoyancy plugin only handles new entities at creation time only during the PreUpdate phase. At the end of the time step new entities are all reset. Hence, if Buoyancy runs before UserCommand EachNew() will not catch anything new created and by the second time step all new creations will have been cleared. I have a fix for the buoyancy plugin that I will push now.

Not the only unexpected thing that happened

Someone went to bed in a jokey mood.


What is result for animal

Hi I trained the code with the animal dataset(cat and dog) the following results are from 400000 iteration

Thank you @taki0112, I use the dataset online  where you can download and crop the animal face based on the annotation and resize 128*128,  and also collect from the other website so that the number of every domain is about 5000. Now I keep training until the iteration is more than 1M, then I will share the final result with you.
Besides, did you try another dataset? what is result during training?

I tried Selfie <-> Comic character, But the image was not distorted like you.

Hi, I have got the latest result which is as following:
cat--->dog:

dog--->cat:

There are some reasons for this result is like:

the domain A and B must be similar. IN my experiment, I just crop a dog and cat face, but I do not select the face which should be aligned (similar pose, shape an face scale)

It is overfitting from dog to cat for the output are same whatever the input is when testing the model. so I don't know the author use 1M iterations.

The real parameter for the animal could be different from other, for which the author did share.

@yaxingwang  can you share the hyper-parameter for the animal ?

Hi, I use the same parameter from your file for the animal. I guess the hyper-parameter could be different.

@yaxingwang  hi, can you please share me a copy of dataset which has mentioned above,  if it is convenient to you. I am very interested in it, I promise you I will never distribute it without your permission, and I will only use for academic research. My email is<EMAIL_ADDRESS>I will be very appreciate it.

@yaxingwang  Hi, can you please share me a copy of dataset which has mentioned above, if it is convenient to you. I am very interested in it, I promise you I will never distribute it without your permission, and I will only use for academic research. My email is<EMAIL_ADDRESS>I will be very appreciate it.

thank your for your sharing,
i trained three models： cat2dog，summer2winter， cityscapes，but all failed after 1000000，1000000, 960000 iters，i didn't change any hyper-parameter ：python main.py --phase train --dataset cityscapes --batch_size 1；
dataset：
cat2dog is 178218, trainA have 771 imgs and B 1264， i do not think they are aligned；and summer2winter（summer2winter_yosemite） is 256256，trainA have 1231 imgs and B 962， i do not think they are aligned too；cityscapes is std dataset download from cityscapes；
my results：
cat -> dog

summer2winter

cityscapes

i didn't know what's wrong? need more iters or some code changes,, any ideas?

Hi @xiang-zhe, I tried the official code of MUNIT, it works well. I also experienced a similar condition to you. The following translation is from cat2tiger

Maybe there are tiny parts with the official project.

The cat2tiger is also tried on this project(taki0112), which fails.

@yaxingwang thank your very much, i will try it by torch MUNIT, but in fact i want to perform all my practice under tf, thank you again!


Is there any 3rd party library needed?

I implemented material-ui for my react project. (create-react-app)
I didn't include any css library except material itself.
But as you can see, there is space above of AppBar, and the half of screen is gone.
Do I have to include any 3rd party library?
Your Environment

Tech
Version

Material-UI
v1

React
16.3

browser
Chrome

I added
body { margin: 0; }
#root { display: flex; min-height: 100vh; flex-direction: column; }
Then problem is gone, but I don't know this is proper way or not

Try using https://material-ui-next.com/api/css-baseline/ it's a CSS reset.


Application dosen't work on Windows 10 64bit

Hy!
I downloaded the application, then I download the srt in to the aplication floder, runned the convert.exe and I dosen't get mx dfxp.
I saw something on the console, but I can't read that becouse its gone in about one second after I openned the convert.exe.
I tryed rename the srt file to convert.srt unfortunately it's dosen't work either.
Please help me out.
Best, Neo

Here the srt file:
https://www.feliratok.info/index.php?action=letolt&fnev=dark.s01e02.webrip.x264-strife.srt&felirat=1512593214


Use Redux in React components.

in this PR, I have completed the current milestone of the project and kept it to the required standard.

no linter errors.
the project is professionally documented.
best coding practices are used.
the state is kept immutable.
the app is connected to the redux store.
include add and remove functions to the project.

Thank you @omarsalem7  for the review.


CHEBI:133528 check CHEBI name

Can you please check the CHEBI name for CHEBI:133528? Seems to me that some brackets are misplaced. And also if you can please add relation is_a CHEBI:144700
Thanks for your help.

The name has now been corrected by Gareth.


[Bug] Make sure configuration values are properly used in memory and saved properly

Each time a value in the configuration tab is modified, make sure it is taken into account properly in the whole application.
Each time configuration tab is saved, make sure current selected values are properly sent to config file.

Use api.update_credentials whenever the API Key or Secret Key is modified

Create a function to update self.is_production in api.py
Make sure self.is_production is properly used especially in perform_trade function
Remove self.debug from api.py


Global config support

any progress on that?
If I understand correctly by reading this thread it will enable object based config instead of an array, right?

@ertrzyiks this issue is best for first PR. Do you want help me with it? (right now I am developing other project)
We already have library to load config — you need just to add it to loader: postcss-load-config.
Here is discussion about config: https://github.com/postcss/postcss/issues/813

@ai yeah, I would like to help. I need that change to use postcss-loader with happypack (see corresponding thread)


Typo fix for auto injector "tranexmic -> tranexamic"

About the PR

Co-authored pull request.
Why / Balance

Technical details

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

oops mine is ahead  by alot of commits.


Use the godawful new NYU Course Search

NYU decided to remove the old and OK thing and replace it with a new and trashy thing.

https://sis.nyu.edu/psc/csprod/EMPLOYEE/SA/c/NYU_SR.NYU_CLS_SRCH.GBL

This is done


[RSDK-8760] - Release 0.0.1

Description

Depending on testing from PR #20

Makes module public
Improvements to README

I don't see it on the registry yet?

Cutting release once this PR is in.

Also should we get someone from docs team to look at the README updates?

Probably a good idea!


Firebase connect

Connect to firebase.
Connection file is added to .gitignore
Added a test api to get single user
Endpoint URL: http://http://localhost:3000/user/:email
Description:
get a single user's profile
HTTP Method: GET
Payload: path params email

 firebase firestore