Error installing chrome plugin

MacOS 13.6.1 (22G313)
Chrome is up to date:  Version 119.0.6045.159 (Official Build) (x86_64)
See screenshot

Thanks for reporting this!
If the SVG file is actually the issue, I'm a little surprised that it wasn't picked up during development & testing. Will look into this in the next couple of days.

Ok so this was not caught during development because Chrome seems to support SVGs just fine when you load an extension from source, but not when you install an extension from the Chrome Web Store.
I have now pushed a fix to the Chrome Web Store which is going through a review. I don't know how long this review will take (according to them could be weeks), and I don't have any way of testing that the issue has actually been resolved until the fix is published on the Web Store.
With the inconsistent extension behavior, the length of the review process and the fact that this review doesn't even check that the extension can be installed, I have to say this has been pretty poor experience on the Chrome side...

It's already updated on the Chrome store.
I can verify that it will pull down a json file when run in an open Garmin Connect window.
Thanks!!

Nice, closing this as resolved.


freeze simulacrum for now

working around #347 for now, to get 2.12.x-release-main passing again

👍


Is there a way to pass params to the router?

Hey guys,
In few words I'm trying to create a page where I will display related topics. Imagine when you have a blog and you have tags and categories. If you click a tag the system will take you to search results.
This is how I would do it in a 'normal' react app but I'm a bit confused about how to do it in X0 since the system is creating the routes 'automagically' for us.
<Route path = "search/:id" component={Search}></Route>

Any help would be greatly appreciated!!!

It's undocumented and experimental, but you can return a path in getInitialProps as seen here: https://github.com/c8r/blog/blob/master/pages/post.js#L20 – You'll also want to return a subroutes routes array in order for the static build to know what to export

Thanks Brent!
I'll take a look and try to implement it in my project.


Add Puma plugin

Possible solution for #3.
This adds a Puma plugin, in the same way Solid Queue provides one. Enabled using:
# in config/puma.rb
plugin :litestream if rails_env == "production"

which makes it simple to deploy with Kamal for example

@zachasme I really like this! To get this ready for release I think we need a few more things:

[ ] Fix the linter issues
[ ] Add some tests (e.g. https://github.com/rails/solid_queue/blob/main/test/integration/puma/plugin_test.rb)
[ ] Add a general section to the README (e.g. https://github.com/rails/solid_queue?tab=readme-ov-file#puma-plugin)
[ ] Add a specific section on how to use this with a Dockerized app

One question after studying the Solid Queue implementation is whether or not the monitor_puma background thread is important. Do you have an opinion on that? My gut instinct it to copy their implementation fully, but I'm open to additional thoughts.

Great! I'll fix the linter issues and add README section. And I think we should go with your instinct to copy the full implementation (the initial commit was just the bit I extracted to make it work on my own projects).
I'll have to think about how to make an integration test for the plugin, though.

@zachasme Please rebase main to get the CI fix


Controller required

A controller should be added for clearing the text fields

Honestly do not understand why there isn't a controller

I agree


Add is_end_of_time()

We've got a helper function called is_nil_time() already.
Lets add is_end_of_time() or is_at_the_end_of_time() to do the same equivalent check.
happy to open a pr for it.

Have you got an example use-case for is_at_the_end_of_time() ? Do you have a TARDIS?? :rofl:

merged into develop


Add [xau.cl xau.cl] #issuer GBCB4W…ACLXAU

Address: GBCB4WO6J4ET55RWK2SVX76LUQ4PQ7TCDHG2YFILQML7D6XR3HACLXAU
Tags: issuer
Title: xau.cl  Domain: xau.cl
Requested by @exchangecl

@exchangecl I have not forgotten and I have sent @orbitlens this information a couple of times. I know they have added this to their internal queue and I will remind them again in a couple days. The importand thing is that tokens have been fixed. I am not sure why the issuer address has taken a long time. I have not forgotten. That is why it is still on this separate issue list


Require Java 7 for jruby-9000-dev.

See #505.

Before I make a PR, I just wanted to clarify: JRuby 9000 should support Java 8 as well, yeah? And from the code here and in  047953e125c9062bc050c26b80d4e742497ece14, looks like that was the intention.
On Java 1.8.0_66, I'm seeing java -version output only on stderr, so this check is failing.

Disregard that. :grimacing: I was looking at older code and jumped to a conclusion. My issue was that I'm running this on Alpine and the default busybox grep implementation doesn't behave enough like GNU grep that this doesn't match:
https://github.com/rbenv/ruby-build/blob/v20151028/bin/ruby-build#L707
Sorry reviving an old issue with my nonsense.


Reorder check answers to more logical groups

For this sort of PR, I would find it super useful to have a bit of information about why this change came about and maybe even some before and after screenshots?

Ok on worries, will take that on board for next time :)


chore: update to amazonlinux2

This updates the registry to amazonlinux2. al1 will be deprecated in December.

@lucacasonato the end of December is approaching quickly, what can I do to help land this?


[suggestion] Adopt multihash format for private keys

In configurations, we use the following format for public/private keys:
public_key = "ed012014A2900349A8CB6250D8CE5399D1964766B559A37F48E8C98C1EA83F365D8A72"
private_key = { algorithm = "ed25519", payload = "67AAB998A3951A071324B815BAF425309D6AF8D2D2636A3FC2BEA01C322BC23B14A2900349A8CB6250D8CE5399D1964766B559A37F48E8C98C1EA83F365D8A72" }

While multihash format is used for public_key, why can't we use it for the private one too?
It would make config more consistent and less confusing, and will also remove necessity to set private key in the environment through 2 split variables PRIVATE_KEY_ALGORITHM and PRIVATE_KEY_PAYLOAD.

Sounds good to me, what are downsides?

Same position here. Sounds good and doesn't seem to have any downsides on the first glance.


albert model requested!

Description
albert model size is pretty small and interesting.
A mxnet based pretraining implementation should be helpful to alot of people!
References

@sxjscience is working on it

@lilongyue We have ALBERT in the new numpy version of GluonNLP, which is currently WIP and lives in a private repo. If you are very interested in that, we may contact offline to ensure that you can try it out.

@lilongyue You may try with the new version that is initiated in https://github.com/dmlc/gluon-nlp/pull/1225 . We are implementing the pretraining part and will PR once ready.


Show destination field for only username and lnurl payment types. Show memo field if it is editable

#198

the confirm screen needs to be changed too...

@islandbitcoin That's what I asked here: https://github.com/lnflash/flash-mobile/issues/198#issuecomment-2259002253

So, destination should be visible for only lnurl and username?
And memo should be hidden because it is not editable in this screen?

So, destination should be visible for only lnurl and username? And memo should be hidden because it is not editable in this screen?

for the Send screens; we want the remove anything that may be confusing to the regular non-bitcoin user. i will need you to look at the screen and make that determination
so for the confirmation screen, if it is showing an lnurl string, that should be hidden. and if the memo screen is just showing a generated ID, that should be hidden too
but if the destination field is showing a flash username or flash lightning address, that is human readable and can remain visible


gem install lingua-ruby fails

Running gem install lingua-ruby on Mac OS X Sonoma 14.5, Ruby 3.2.1, and gem 3.5.1 results in this error:
  --- stderr
  Using bindgen with clang args: ["-I/opt/rubies/3.2.1/include/ruby-3.2.0", "-I/opt/rubies/3.2.1/include/ruby-3.2.0/arm64-darwin22", "-fms-extensions", "-fdeclspec", "-O3", "-fno-fast-math", "-ggdb3", "-Wno-error=implicit-function-declaration"<EMAIL_ADDRESS>"-I/opt/homebrew/opt/readline/include", "-I/opt/homebrew/opt/libyaml/include", "-I/opt/homebrew/opt/gdbm/include", "-D_XOPEN_SOURCE", "-D_DARWIN_C_SOURCE", "-D_DARWIN_UNLIMITED_SELECT", "-D_REENTRANT"]
  thread 'main' panicked at /Users/billbrower/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/fallback.rs:811:9:
  "union_(unnamed_at_/opt/rubies/3_2_1/include/ruby-3_2_0/ruby/internal/anyargs_h_271_1)" is not a valid Ident
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
make: *** [target/release/liblingua.dylib] Error 101

make failed, exit code 2

I'm seeing something similar on a Linux x86_64 system:
  --- stderr
Using bindgen with clang args: ["-I<rubydir>/include/ruby-3.3.0", "-I<rubydir>/include/ruby-3.3.0/x86_64-linux",
"-fms-extensions", "-O3", "-fno-fast-math", "-ggdb3", "-Wall", "-Wextra", "-Wdeprecated-declarations", "-Wdiv-by-zero", "-Wduplicated-cond", "-Wimplicit-function-declaration",
"-Wimplicit-int", "-Wpointer-arith", "-Wwrite-strings", "-Wold-style-definition", "-Wimplicit-fallthrough=0", "-Wmissing-noreturn", "-Wno-cast-function-type",
"-Wno-constant-logical-operand", "-Wno-long-long", "-Wno-missing-field-initializers", "-Wno-overlength-strings", "-Wno-packed-bitfield-compat", "-Wno-parentheses-equality",
"-Wno-self-assign", "-Wno-tautological-compare", "-Wno-unused-parameter", "-Wno-unused-value", "-Wsuggest-attribute=format", "-Wsuggest-attribute=noreturn", "-Wunused-variable",
"-Wmisleading-indentation", "-Wundef"]
  warning: unknown warning option '-Wduplicated-cond' [-Wunknown-warning-option]
  warning: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Wunknown-warning-option]
  warning: unknown warning option '-Wno-packed-bitfield-compat'; did you mean '-Wno-padded-bitfield'? [-Wunknown-warning-option]
  warning: unknown warning option '-Wsuggest-attribute=format'; did you mean '-Wproperty-attribute-mismatch'? [-Wunknown-warning-option]
  warning: unknown warning option '-Wsuggest-attribute=noreturn' [-Wunknown-warning-option]
  clang diag: warning: unknown warning option '-Wduplicated-cond' [-Wunknown-warning-option]
  clang diag: warning: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Wunknown-warning-option]
  clang diag: warning: unknown warning option '-Wno-packed-bitfield-compat'; did you mean '-Wno-padded-bitfield'? [-Wunknown-warning-option]
  clang diag: warning: unknown warning option '-Wsuggest-attribute=format'; did you mean '-Wproperty-attribute-mismatch'? [-Wunknown-warning-option]
  clang diag: warning: unknown warning option '-Wsuggest-attribute=noreturn' [-Wunknown-warning-option]
  thread 'main' panicked at <rust_1.82.0_dir>/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/fallback.rs:811:9:
  "__atomic_wide_counter_struct_(unnamed_at_/sr/include/x86_64-linux-gnu/bits/atomic_wide_counter_h_28_3)" is not a valid Ident
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:566: target/release/liblingua.so] Error 101

make failed, exit code 2

When I checkout the lingua-ruby source tree, update the dependencies in ext/lingua/Cargo.toml to the current (langua 1.6.2, magnus 0.71), run cargo update then rake install, it is working for me.


Tile cache lru replacement

[ ] I added an entry to CHANGELOG.md if knowledge of this change could be valuable to users.

Here is a brief summary of what I did:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

470 of 761 (61.76%)  changed or added relevant lines in 49 files are covered.
114 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-0.06%) to 89.223%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

services/src/pro/contexts/in_memory.rs
4
5
80.0%

services/src/pro/contexts/mod.rs
7
8
87.5%

services/src/pro/contexts/postgres.rs
1
3
33.33%

operators/src/mock/mock_dataset_data_source.rs
1
4
25.0%

operators/src/mock/mock_feature_collection_source.rs
0
3
0.0%

operators/src/mock/mock_point_source.rs
1
4
25.0%

operators/src/mock/mock_raster_source.rs
1
4
25.0%

operators/src/plot/pie_chart.rs
4
7
57.14%

operators/src/plot/scatter_plot.rs
4
7
57.14%

operators/src/plot/temporal_raster_mean_plot.rs
2
5
40.0%

Files with Coverage Reduction
New Missed Lines
%

operators/src/source/ogr_source/mod.rs
1
95.35%

services/src/pro/contexts/postgres.rs
1
96.71%

services/src/pro/layers/postgres_layer_db.rs
1
76.56%

services/src/pro/server.rs
1
0%

operators/src/processing/neighborhood_aggregate/aggregate.rs
5
97.55%

operators/src/source/gdal_source/mod.rs
105
94.28%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
97844

Relevant Lines:
109662

💛  - Coveralls

 Replacement von Tiles im Cache


Add new output fileType .covjson

Add a new output file type to ERDDAP: Coverage JSON (.covjson)
See https://covjson.org/
Talk with the covjson people to see if the project is still active and if they think it is worth the effort.
Skills required: Java programming.
Difficulty: Relatively easy. ERDDAP datasets have a cdm_data_type (featureType) attribute which aligns with the Coverage JSON types. So you just need to write the code to deal with each of the cdm_data_types.  Perhaps 1 month's work (after you figure out ERDDAP).
Mentor: Bob Simons (main author of ERDDAP)
(Rich Signell requested this feature.)

A possibly related output would be a STAC catalog interface.

I'll note that the covjson specification is at 0.2(draft) and hasn't been updated since 2016, when I think it was originally posted.
https://covjson.org/spec/
Also, the contact email gets sent to Reichert (that bounced because he's gone) and Blower (it didn't bounce, but I think he has moved on).  They are also listed on the specification as the authors of the specification.
So I'm not sure how active the Coverage JSON project is.

I don't know a whole lot about CovJSON, but I did hear mention of it at various times during the last OGC meeting I listened to in Dec.
STAC would be an interesting addition.  No idea how feasible it is.  It does have a lot of attention these days, including an ESIP Winter Meeting session dedicated to it.  Presumably, would only apply to GridDAP datasets.  I think they've struggled with how to relate the STAC API/data model to multidimensional datasets, however (x,y,z,t).  Common usage is for remotely-sensed gridded datasets.

Jon Blower (one of the CovJSON authors) replied to my email to him and Maik Reichert. Basically,

Jon is still at U. Reading, but Maik Reichert has moved on.
Although the CovJSON web page hasn't been recently updated, the project is still alive.
There is talk of making CovJSON an OGC Community Standard
The CovJSON specification is considered stable and they will move to finalization.
CovJSON is supported on ncWMS (which is also from U Reading) and some other software (Hyrax?).

That's all good news for this project for ERDDAP.
So this project for ERDDAP remains viable.
Whoever works on this project should contact Jon if they need more information about CovJSON than they can find on the CovJSON website..


Convert CRLF -> LF in git repository

If you are using msysgit this can be configured so that you check out CRLF and commit LF only. Having CRLF creates all kinds of problems for *nix / OS X users
on this:
http://help.github.com/line-endings/

Agreed - they are actually a mix right now.  There is an issue open on Google Code (where the official discussions and bugs are).  I'll do this as part of the 3.x release.

Great. I will look out for it


Instance of analyzer cannot be created: cannot find Microsoft.CodeAnalysis

Error message
This was copied from Rider.

An instance of analyzer WaylandSharpGen.WlBindingGenerator cannot be created from /home/jgcodes/.nuget/packages/waylandsharp/0.2.1/analyzers/dotnet/cs/WaylandSharpGen.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..

Build environment
OS: Linux (ArcoLinux KDE)
IDE: Rider 2022.1.2
dotnet version: 6.0.106
By the looks of things, it also results in the generator not correctly building the bindings.

May I see what your .csproj looks like? I can't reproduce your issue (I mainly only use vim and vscode so that might also be a factor). There exists a unit test which guarantees that under "expected circumstances", the generator will always create valid code, so it's likely an external problem.

This is my .csproj file (GTK assembly for an Eto.Forms project):
<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <OutputType>WinExe</OutputType>
        <TargetFramework>net6.0</TargetFramework>
        <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
        <Nullable>enable</Nullable>
        <RootNamespace>M64RPFW.Gtk</RootNamespace>
    </PropertyGroup>

    <ItemGroup>
        <ProjectReference Include="..\M64RPFW\M64RPFW.csproj" />
    </ItemGroup>

    <ItemGroup>
        <PackageReference Include="Eto.Platform.Gtk" Version="2.7.0" />
        <PackageReference Include="GdkSharp" Version="<IP_ADDRESS>" />
        <PackageReference Include="GtkSharp" Version="<IP_ADDRESS>" />
        <PackageReference Include="OpenTK" Version="4.7.4" />
        <PackageReference Include="WaylandSharp" Version="0.2.1" />
        <PackageReference Include="X11" Version="1.0.6" />
    </ItemGroup>

    <ItemGroup>
        <CompilerVisibleItemMetadata Include="AdditionalFiles" MetadataName="WaylandProtocol" />
        <AdditionalFiles Include="Interfaces\Wayland\wayland.xml" WaylandProtocol="client" />
    </ItemGroup>
</Project>

This is the structure of that project. I use Rider (ignore the dependencies section, it's not a real file).

The error also only seems to happen when I rename the project.

There's nothing in the structure or project file that strikes me as "unexpected". When the error happens, does it at least build with dotnet build or dotnet publish?

nope, not at all.

Would you be able to make a minimal reproduction of the issue? Just zipping a small project is fine, and the steps required to repro the issue.

Here's a very minimal demonstration using the console template:
WlSharpTest1.tar.gz
This is the output of dotnet build from that project.

Weird, it builds just fine on my side.

I'm still not sure what could possibly cause an issue on your end.

rm -rfing the .nuget folder does not help:

Maybe try spinning up a clean new container with podman or something just for the sake of testing.
cd dir/to/WlSharpTest1
podman run --rm -v $(pwd):/wl -w /wl mcr.microsoft.com/dotnet/sdk:6.0 dotnet build -c release -o out

replace podman with docker if you don't have podman and prefer docker

This ensures that the build is not affected by the host environment, and that most of the stuff is "reproducible" (not completely but it's near). However, if this works then it just proves that there is indeed something wrong with the host environment. At that point you may close this issue but I will still try to help to the best of my abilities.

Closing stale issue, but feel free to reopen.

This issue seems to be fixed, I'll make a PR to document the correct .csproj options.


Pages

Am I right that this does not work for a page? Can I change that somewhere so it does allow for pages to be hidden?

No, it only works for posts now. I'll see if I can add pages support.

Hello there! Sorry for being late _
But as far as I can see, pages are currently not being processed by most of the generators (archives, categories, tags, feeds, etc.). So in most cases, pages should be only accessible by their permanent links...
Would you please tell me what your situation is, and how is this plugin supposed to support hiding pages? Thank you!

on my site I created a page that should not be indexed and should only be found when people scan a QR code on my business card. It leads them here: https://janvaniperen.com/mip/
Hence the need to hide from search engines/indexing

Okay, I see. I will try to implement it in further release. :)
For now, here is a workaround:
Add <!-- flag of hidden posts --> to the Markdown source of page you want to hide, then the plugin will read it and add a <meta name="robots" content="noindex"> for that page.
Check generated HTML to see if it works.

Mmmm, does not seem to work for me. But now understand I can just manually add a robots.txt file and just exclude it there... when it's just a couple of pages it is an easier solution I guess...

Apologies for the long period of inactivity. The plugin was just updated to 0.1.1, and it should support hiding pages now. Feel free to reopen if there is any problem.


acq/ill: decode utf-8 characters in notes

Closes https://github.com/orgs/inveniosoftware/projects/19#card-57920310

test for the encoding missing


Sushi Bar

Sushi Bar Subgraph
Implementation of Sushi Bar Subgraph. Adds a Bar, User and History entity and associated mapping to track bar entry, bar exit, and transfers between addresses. Various metrics are exposed globally on the Bar, on a per-user basis on User, and historical dumps on History.
Graph
https://thegraph.com/explorer/subgraph/matthewlilley/bar
Cleanup

Ignore build and generated folders (these shouldn't be commited)
Add eslintrc and eslintignore
Don't include abis folder, we can read those from @sushiswap/core

Deploying to prod subgraph, and will merge this in once it successfully syncs: https://thegraph.com/explorer/subgraph/sushiswap/sushi-bar


[FEAT] Add a "Send Report Now" option to the report reminder

Is your feature request related to a problem? Please describe.
When the end-of-month reminder popup for submitting a report appears, the only available option is "Remind Me Tomorrow." This can be frustrating for users who want to submit their report immediately but need to navigate manually to the submission screen.
Describe the solution you'd like
Add a "Send Report Now" option to the popup, which would open the report submission screen with the current month pre-selected, allowing the user to fill out and submit their report directly. Additionally, allow users to dismiss the reminder by tapping outside of the popup, which would close it and schedule the next notification for the 5th of the month as the deadline.

Additionally, it would be user-friendly to allow dismissing the reminder by tapping outside of the popup. This action would close the reminder and automatically schedule the next notification for the final deadline, which is the 5th of the current month.
Describe alternatives you've considered

Allowing users to configure reminders in the profile page to appear only on specific days, such as the deadline date.

Additional context
This feature would enhance user convenience by providing immediate access to the submission screen and greater flexibility in handling reminders.

Thanks for the great idea @fschein. I find it useful! Even though the notification is clickable with redirect to the report page, it can be improved to be more clean and intuitive.
• Since user might see multiple notifications (about different reports from different pages) at the same time, we can add a separate button for each notification. An arrow can work quite well to give an idea that you as user will be redirected to the corresponding page, but not submit the report right away after clicking the button.
• Also, making each separate notification clickable (not just the icon) is already implemented and it's great, but to visually inform user about this functionality we can also show the hover state with the semi-transparent white color applied while hovering.
• Regarding the close functionality. Of course, we want publishers to submit reports in time instead of postponing it all the time, but adding another "Last chance" notification one day before the deadline even if the notification was closed is a nice idea to me. We can even add close button to make the closing more natural (clicking outside may be an accident).

@rhahao what do you think about all his?

Thank you @fschein and @ux-git

I agree with the proposed solution to include an icon indicator + hover state to clearly show to the users that some of these items are clickable.

About closing the notification, I agree with the close icon too. But my question is: do we still really need the remind me tomorrow button in that case? Since I believe the close icon will do the same action too. Let’s make these two (or 1 if the other button is no longer needed) the way to close it. As said above, clicking outside will certainly be an accident. Also, adding the option to remind only on the 5th or 6th of the month is a great idea that we can add in the user profile.

Thanks.

do we still really need the remind me tomorrow button in that case?

Remind tomorrow can remind tomorrow, and closing the message fully can postpone the notification to the 5th day of the month, covering both type of users – those who need a reminder a bit later, and those who might do everything in a last minute 😄

Thanks @ux-git and @rhahao for the responses 😊
I didn’t know that clicking on the notification would take me to the page. It really needs to be clearer.
Some points I've notest:

Clicking on the notification doesn’t make it disappear;
I’ve already sent the November report, the same one it’s reminding me to send...

Here I touched the notification, it took me to the page but didn't disappear after...

I’ve already sent the November report, the same one it’s reminding me to send...

@fschein: this is because this notification is for the November report not the December. But now I see that the notification did not yet take into account the start date of publisher and in this case, it should not be shown at all. ☺

@rhahao, why can't I see November record? Could this be a bug too?
Seems like nothing is working here:
https://github.com/user-attachments/assets/f0d4498e-6a74-4727-83f4-cc6135566521

@fschein: for the November report to show, please check your person record details and make sure your publisher start date includes the month of November. This information controls which month to show in the Ministry page.

Seems like nothing is working here:
https://github.com/user-attachments/assets/f0d4498e-6a74-4727-83f4-cc6135566521

I am currently working on a fix for this and it will be included within the next update.
Thanks.


bpf: fix ipv6 extension header parsing error

The ipv6_hdrlen function incorrectly sets the length of the extension header
during parsing, causing cilum to obtain the wrong next header and resulting
in packet loss.
This issue will affect the parsing of IPv6 packets that carry both the "auth"
and other extension headers, such as ipv6/auth/hopbyhop/tcp.
Fixes: 1ce3c7f6a4745bb6c420fb59106cfe0587ff18fa ("bpf: Skip over IPv6 extension headers")
Fixes: #24187
Signed-off-by: chenyuezhou<EMAIL_ADDRESS>

/test

/test

A rebase is needed before we can rerun the tests and merge :slightly_smiling_face:

rebase is done, pls test

/test

/test

/test

fixed coccicheck and rebased

Please back out the recent change to proxy.h. It's unrelated to this PR, and will get addressed in https://github.com/cilium/cilium/pull/24606.

Revert the modifications to proxy.h.

/test


createMachine vs Machine and schema types

I'm looking into the new Typestates functionality in 4.7 and I'm a bit confused about the distinction between createMachine and Machine. It looks like you have to use createMachine to use Typestates as there is no generic for them with Machine. But, createMachine is missing the generic for the state schema which is something I find helpful.
It doesn't look like this is an oversight, does that mean representing your schema as a type is no longer considered good practice? Is there an alternative that makes it unnecessary to use with createMachine?

Im curious - what kind of advantage do you see in schema type? For me it seems like a huge (annoying) repetition

In V5 we hope to get rid of StateSchema and instead infer the schema from the actual configuration object passed in.
However for V4.x, it might be helpful to add in support for a Typestate generic in the Machine factory function.

Ah, that sounds great. Though actually thinking about it now I'm now sure what value the schema type provides. I do find it handy to have a simple overview of all the states the machine can be in but I was thinking it provided autocomplete in the targets which I have realized is incorrect.

@Andarist I love state schemas as it is the primary way for me to make sense of a machine. When actions, services, guards, and everything is already defined, it can be hard to see all the different states in the implementation.
As I haven't really used TypeStates yet, how would I represent parallel nodes or leave nodes that use the same state node name?
For a state machines as in the docs, it's pretty straightforward:
type UserState =
  | {
      value: 'idle';
      context: UserContext & {
        user: undefined;
        error: undefined;
      };
    }
  | {
      value: 'loading';
      context: UserContext;
    }
  | {
      value: 'success';
      context: UserContext & { user: User; error: undefined };
    }
  | {
      value: 'failure';
      context: UserContext & { user: undefined; error: string };
    };

But what if I have a context and (non-parallel) structure that looks like this:
interface SearchContext {
  userResults: IUser[] | undefined;
  fullTextResults: IOther[] | undefined;
}

interface SearchStateSchema {
  states: {
    users: {
      states: {
        idle: {};
        searching: {};
        done: {};
      };
    };
    fullText: {
      states: {
        idle: {};
        searching: {};
        done: {};
      };
    };
  };
};

Is there already a way to define varying typestates for fullText.done and userSearch.done?
I'm not sure if the following way to express the Typestate works at the moment:
type SearchState =
| {
    value: 'fullText.searching' | 'users.searching';
    context: SearchContext & { userResults: undefined; fullTextResults: undefined }
| {
    value: 'fullText.done';
    context: SearchContext & { userResults: undefined; fullTextResults: IOther[] }
  }
| {
    value: 'users.done';
    context: SearchContext & {userResults: IUser[]; fullTextResults: undefined };
  };

I think this or any other way to express typestates is alright but if you allow me to throw in an alternative API proposal for typestates, I'd much rather express the context within the StateSchema. This would have the benefit of not relying on a string-based API and could eventually allow a typed state.matches() API for which we'd need to know the structure anyhow.
// state schema with typestates?
interface SearchStateSchema {
  states: {
    users: {
      // force the fullTextResults to be undefined when the users state is entered
      context: SearchContext & { fullTextResults: undefined };
      states: {
        idle: {};
        searching: {
          context: SearchContext & { userResults: undefined };
        };
        done: {
          context: SearchContext & { userResults: IUser[] };
        };
      };
    };
    fullText: {
      // force the userResults to be undefined when the fullText state is entered
      context: SearchContext & { userResults: undefined };
      states: {
        idle: {};
        searching: {
          context: SearchContext & { fullTextResults: undefined };
        };
        done: {
          context: SearchContext & { fullTextResults: IOther[] };
        };
      };
    };
  };
};

Up top, David was saying

we hope [...] to infer the schema from the actual configuration object passed in.

Maybe we don't need a state schema, not even for a typed state.matches() API. I personally like my proposed typestate within state schema API most as I wouldn't have to use strings and still have an easy way to get a quick overview of all the states of a machine.

More reasons why I 🖤 state schemas

I also oftentimes felt that writing the state schema upfront made me come up with a better overall state architecture as opposed to directly writing out the implementation.

When refactoring, I always found it to be far less intimidating to move state nodes around inside the state schema and keep the implementation until one has found a nice structure.

Happy to hear your thoughts on this 😊

Thanks for your thoughts, @CodingDive. This is still being explored; ideally, as much as possible should be inferred from the passed in config object, but I see the value that some sort of state schema would provide. It would be better if that state schema could be generated.

q: would in-editor schema visualizer or something like "copy schema" command in the IDE solve your concerns @CodingDive ?

@Andarist yes, good visualization or autogeneration would definitely be a very good possibility to my problem.
The only problems I see then are

Typestate values are string-based
Typestate discriminatory types have no relationship with the actual state structure in the implementation. The primary way to move states around and to refactor would be to do it within the implementation. Then, if the typestates have different values that no longer exist or have changed, we either can't throw type errors because of (1), or if it's somehow possible, would throw a type error in the machine when consuming the typestates in createMachine. Conceptually, I like to define interfaces and types first and then go towards the implementation. Therefore, this will require quite a mindset shift.

My proposed API fixes both of those problems at the cost of keeping the state schema and being

a huge (annoying) repetition

with which I can definitely emphasis too.
Maybe there's yet a better solution we're missing?

@CodingDive @Andarist I have a PR out with a proposed simplification of Typestates. I believe it should simplify the case of nested types posted by @CodingDive as well:
/** Note that each typestate only needs to worry about its own relevant context fields */
type SearchState = CombineTypestates<
  | { value: 'users'; context: { userResults?: IUser[] } }
  | { value: { users: 'idle' } | { users: 'searching' }; context: {} }
  | { value: { users: 'done' }; context: { userResults: IUser[] } }

  | { value: 'fullText'; context: { fullTextResults?: IOther[] } }
  | { value: { fullText: 'idle' } | { fullText: 'searching' }; context: {} }
  | { value: { fullText: 'done' }; context: { fullTextResults: IOther[] } }
>;

/**
 * Equivalent to:
 *
 *   type SearchContext = {
 *     userResults?: IUser[];
 *     fullTextResults?: IOther[];
 *   }
 */
type SearchContext = TypestateContext<SearchState>;

Also, with TypeScript 4.1 it will be possible to use string types for nested state values e.g. 'fullText.done' instead of { fullText: 'done' }: https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/#template-literal-types

Hi, I'm starting to explore using XState in a TypeScript/React application, and I found this issue because I am also confused about whether to use createMachine or Machine, given that it doesn't seem like you can currently get both type-checking of state names and checking of typestates, with either one. Am I understanding this right?

createMachine supports typestate checking, but does not support state schema. In testing this, it doesn't seem like I can get the type checker to complain if, for example, I specify in my machine config that the initial state is some unrecognized state.

Machine does support state schema. It does require some unsavory code duplication, but in testing, I was able to get the type checker to complain when I supplied an invalid value as my initial state, unlike createMachine. However, Machine does not support typestates.

What would you recommend, at this point? Is Machine considered deprecated and we should just use createMachine at this point? Is there a way to use createMachine in such a way that the typechecker will complain about unrecognized state names in the config?

What would you recommend, at this point? Is Machine considered deprecated and we should just use createMachine at this point?

Yes, Machine is considered deprecated.

Is there a way to use createMachine in such a way that the typechecker will complain about unrecognized state names in the config?

It does not yet, IIRC (cc. @mattpocock @Andarist)

Got it, thanks for the clarification. XState is fantastic, by the way! My team is excited about introducing it into our application. Thanks for all of the work you've put into XState. :clap:

Got it, thanks for the clarification. XState is fantastic, by the way! My team is excited about introducing it into our application. Thanks for all of the work you've put into XState. 👏

Great to hear! Always available if you have any questions/need help.

In the machine config:

initial: "some-nonexistent-state" (i.e. a state not defined in states)
Inside the states config object, the config for a state can be something like myState: {on: { MY_EVENT: "some-nonexistent-state" }}

With createMachine (and possibly with Machine, too) I can do both of the above and the type checker will not complain.
The type checker also will not complain if I provide an invalid state value (i.e. one not defined in the states part of the machine config) as part of the TTypestate generic parameter, e.g.:
type MyTypestate =
  | {
    value: 'myState';
    context: MyContext;
  }
  | {
    value: 'some-nonexistent-state';
    context: MyContext;
  };


Repo type !== io-package type

https://github.com/thewhobox/ioBroker.emby/blob/master/io-package.json#L103

Please choose the same type in io-package and repo.
https://github.com/thewhobox/ioBroker.emby/blob/master/io-package.json#L91
The Author is also missing.
Thx

Hey,
i already changed the author and changed the type now.
Thanks for the reminder.


How use this in Content Management Api for render

How use this in Content Management Api for render

@ajaykumar00711 , can you provide more details so we can help you? Please also post a code sample that show cases the issue you ran into.


Access WAMP Topics inside WampServerInterface

Access all WAMP Topics inside the WampServerInterface by optionally using the TopicAccess Trait.

Can you provide a use case for this?

When pushing messages, access to the topics would allow to push them to specific clients (when you set for example the session ID on the topics) like so:
     **
     * Handle Push messages
     *
     * @param string $message
     * @return void
     * @throws \CupOfTea\TwoStream\Exception\InvalidRecipientException
     */
    public function push($message){
        $message = json_decode($message, true);
        $topic = array_get($this->getTopics(), $message['topic']);
        $data = $message['data'];
        $recipient = array_get($message, 'recipient');

        if (!$topic)
            return;

        if ($recipient == 'all') {
            $topic->broadcast($data);
        } else {
            foreach ((array) $recipient as $recipient) {
                // TODO: if translateUserToSessionId ||
                if (WsSession::isValidId($recipient)) {
                    foreach ($topic->getIterator() as $client) {
                        if ($client->session == $recipient)
                            $client->event($topic->getId(), $data);
                    }
                } else {
                    throw new InvalidRecipientException($recipient);
                }
            }
        }
    }

This piece of code comes directly from my WebSocket package for Laravel, called TwoStream

@cboden any news on this?


[BEAM-646] Get the #apply out of the DirectRunner

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Use the Graph Surgery API in the DirectRunner.
The Forwarding View is currently required to ensure that the WriteView transform
is marked as the producer of the View proper. It is then replaced by the original view,
so the Pipeline writes the view to the correct location.
I'm going to revisit the producer-marking code soon, but this is safe to review.
I also missed invariant maintenance within TransformHierarchy within #1998,
so that's added here as well.

R: @amitsela
CC/R/etc: @kennknowles
Whaboom!

Changes Unknown when pulling a8bf815ea4f0ff3bc9701936cd1547d222eafebc on tgroh:surgery_ish into ** on apache:master**.

Good news! I removed the need for the crazy ForwardingView thingy

Coverage decreased (-0.03%) to 69.678% when pulling 17a03e7d84589736f80ee11ad97462eab03ba0f8 on tgroh:surgery_ish into 0d3389a20ee44925dae64e9b7a60992bed5a6dd9 on apache:master.

Besides joining Kenn's comment on removing assertions in ParDo, looks fine, but unless I'm missing something here it shouldn't be removed, unless this responsibility is passed to runners now, and if so it should still be as part of a separate PR (so still, not here).
Spark runner currently doesn't use apply but I already have a use for Pipeline#replace!

Coverage decreased (-0.06%) to 69.218% when pulling f965c3beecdb8e95fcfbb77b0dc97c3fdbca18bc on tgroh:surgery_ish into 9151676a53e74a330773f7bfdb82dd7ed16640df on apache:master.

Coverage decreased (-0.05%) to 69.226% when pulling e6eefead6865aa339ad08411ed827512563e6bb6 on tgroh:surgery_ish into 9151676a53e74a330773f7bfdb82dd7ed16640df on apache:master.


RaspiBolt

https://stadicus.github.io/RaspiBolt/ is long-standing & excellent. IMHO should be included as well.

Added thank you
https://github.com/BitcoinQnA/node-guide/commit/f1725a16cfe479b6c331dd561821b0956242cd1a


feat: downgrade SSR to SPA, when node server crashes

What problem does this feature solve?
when Node server is crashed, Nginx will send error page to client, i want custom the error page and use index.spa.html, how should i do?
What does the proposed changes look like?
when Node server crashed, Nginx send Project/.nuxt/dist/server/index.spa.html to client

This feature request is available on Nuxt community (#c8206)

@manniL Nuxt can build resource for SSR & SPA both, and use WebpackHtmlPlugin create spa.index.html for this（downgrade SSR to SPA），of course Nginx's error response template path should use nginx.conf to set
create another application is a wrong

Sorry, guess I misunderstood your description!

oh fuck

To do this in Nuxt 3, you can use this configuration:
export default defineNuxtConfig({
  nitro: {
    prerender: {
      routes: ['/200.html']
    }
  }
})

The 200.html that will be generated alongside your server is the SPA fallback that you can have nginx serve up.


MdDatum in depth but Trajectory in time

Is your feature request related to a problem? Please describe.
I need to export a wellbore trajectory where Z are TWT.
But FESAPI forces me to have my trajectory station Z in the CRS of the MdDatum of the trajectory.
And I don't want my MdDatum Z to be in TWT but in depth.
Describe the solution you'd like
Be able to independently set the CRS of the MdDatum and the trajectory
Describe alternatives you've considered
None

Fixed in https://github.com/F2I-Consulting/fesapi/commit/d3ed3b78d0377e5a1e3d229c22dc4fca8770a78d#diff-6fbf507ae78a20b83ce7c64bf6e8321e872cd0e475d2b6079e5be99e7fc779a1
Added a unit test in #270


Error 91 at the test files

Hi!
I get an Error 91 (non defined With block) using the example files. It doesn't matter wich button I press, I get all time this error.
Any idea?
Best Regards,

This has something to do with where you unblock all the dll's.  Try unzipping it into a new folder and then go through and unblock all the dll's in the bin folder and the one in the main folder.  If you move folders you may have to do this again.


Initial check-in of example scene 2

Overview
Second example scene, aiming to provide a more real world implementation
Aims to demonstrate more advanced interactions through vNext operation such as:

Grabbing
Resizing
Chained interactions
tbc

Aim is to ensure it is a professional looking scene that is engaging as well as educational
Changes

Added room scene
Added content from the Build Insiders event
Resized down textures to minimize the physical size of the scene
Updated all content to use the Standard shader

TODO

[ ] Styling on Scene - help please
[ ] Lighting / shader effects in scene, including audio effects
Tutorial script / audio (pushed to Beta)
[ ] Tutorial / example documentation, walking through creation and use of the scene
[ ] Input config

Replaces PR #2511 with a branch against main development

including audio effects
@SimonDarksideJ, what type of audio effects are you looking for?

Tutorial script / audio
As mentioned in #2514, let's not block alpha on a voice-over. We can draft / record the script in beta.

Hey @SimonDarksideJ @davidkline-ms,
I'm an artist on The Developer Experience team working with @radicalad @cre8ivepark -- I'm going to fork Simons repo and make a new base scene to work from -- look for a PR in the near future in Simon's repo.

I'm going to fork Simons repo and make a new base scene to work from -- look for a PR in the near future in Simon's repo.

Woo Hoo!
I would also love your feedback / contributions to the example scene 1 branch :)

Both example scenes are branches off the main repo, so they should be ready to grab.
Go wild, but just don't use 4k textures 🤣

Yes, please branch the main repo.

closing so @SimonDarksideJ can untangle the original scene 2 and the new scene 3 into separate branches.


Implement support for hostpath solr data volumes.

This PR adds a new option for ephemeral data storage. Instead of the emptyDir you can use a hostPath volume. The default behaviour for ephemeral storage is still emptyDir, but specifying HostPath will mean hostPath will be used instead of emptyDir.
Addresses https://github.com/apache/solr-operator/issues/266

@HoustonPutman I'm not sure what this error means, any ideas?
https://github.com/apache/solr-operator/pull/265/checks?check_run_id=2440577547

@HoustonPutman I'm not sure what this error means, any ideas?
https://github.com/apache/solr-operator/pull/265/checks?check_run_id=2440577547

That is saying that you have two extra lines in your go.mod.
Try running make mod-tidy and see if those go away.

They don't go away. Should I just remove the changes to go.mod?

That's a good idea. I pulled your PR and ran make mod-tidy, and those two lines were removed. Maybe just a local thing for you?

Interestingly I removed both and re-ran make mod-tidy,  and the github.com/elazarl/goproxy/ext one came back, but the other didn't. I've removed both anyway

I don't use go regularly, so I shouldn't have any weird config. I did recently update to the latest version, so I wonder if that's caused a change in behaviour fo rme?

The looks good to me!
One final request:
Would you mind adding this option to the "Data Storage" section in docs/solr-cloud/solr-cloud-crd.md?

Done! Sorry I missed that yesterday.


Too big loss after few iterations

Hello. Thank you for your work!
I am training GLEAN for 256x256 input size and 1024x1024 output size using the same configuration (i.e. glean_ffhq_x16.py) provided by you. I only changed the input size, scaling factor and data path. However, after few iteration my loss becomes too big and decrease again. Like this:

My question is:

Is it because of the Adam optimizer i.e. before converging it shakes little bit? And, can decreasing learning rate solve this issue?
loss_d_real and loss_d_fake are 0.0000 at some iterations, what could this mean?
Thank you for your time!

The training is corrupted.

Yes you can try decreasing the learning rate. Also, you may need to adjust the loss weights. The current settings may not be optimal for 4x SR.
When the training is corrupted, the generator produces meaningless outputs and the discriminator can easily distinguish "real" and "fake". Hence the loss is 0 here.

Hello. Thank you for your reply!
I have trained GLEAN on ffhq dataset with upscale factor = 4 for 250,000 iterations. However, the output result still don't look natural. My output looks like the following:

I decreased the learning rate for generator and discriminator by 10, after which the training went stable and the validation PSNR started increased. But I didn't change the loss weights, because I am not sure how to correctly choose them. Do you have any suggestion based on this output?
My config file in case if you need:
glean_ffhq_4x.txt

May I ask whether you are using the same downsampling method for training and test images?

Thank you for your quick reply!
I use torch.nn.functional.interpolate() for downsampling, by default it uses nearest mode.

Since your learning rate is smaller, you may want to train it for longer, say 600k. You can observe the change of the loss curve and see whether it has converged or not.

Hello @ckkelvinchan . Thank you for your reply!
I am now doing that. I looked at the loss curve in my training and the log that you provided for ffhq training dataset and, until now, they look similar. I was wodering how did you choose 300k iterations. Did you choose it based on your training loss curve? If yes then which loss (pix, perceptual or gan). Because the validation PSNR value doesn't seem to improve much.
Thank you!

Hello @ckkelvinchan . Thank you for your reply!
I am now doing that. I looked at the loss curve in my training and the log that you provided for ffhq training dataset and, until now, they look similar. I was wodering how did you choose 300k iterations. Did you choose it based on your training loss curve? If yes then which loss (pix, perceptual or gan). Because the validation PSNR value doesn't seem to improve much.
Thank you!

The loss weights are training schemes were not carefully tuned. I think there is a chance that the model is not converged. I think you can continue observing the PSNR value to see the performance will eventually get better.

I think you are already aware that the torch.nn.functional.interpolate() bicubic method looks very similar to nearest mode. After changing the LR dataset from pytorch bicubic method to matlab bicubic method, validation PSNR increased by ~3.0 from the first iteration. And after training for 60,000 iterations with 5e-5 learning rate for both generator and discriminator, I got similar SR images as the paper.
Thank you for your replies!

The bicubic mode in MATLAB has anti-aliasing, and therefore the LR image would have a better quality when downsampled by the MATLAB bicubic method. It is normal that you have a lower PSNR when your LR is downsampled by nearest downsampling.
Anyway, it is good that similar PSNR can be achieved :)


[plugin] RBAC

We currently have ACL plugin for simple operations. But the next iteration is having a RBAC plugin for complex operations. The main difference is that RBAC has way more granular control and can offer mandatory access control and discretionary access control.
Reference:

http://www.wikiwand.com/en/Role-based_access_control
https://github.com/Mashape/kong/issues/225
https://getkong.org/plugins/acl/

+1 for us, we are looking for RBAC as well.

I'd suggest you guys also consider ABAC or "Attribute Based Access Control" (http://csrc.nist.gov/projects/abac/), which is more generic than RBAC. RBAC deals with roles, and in that model roles can be inherited, and so on so forth. ABAC on the other hand is based on attributes, and is closer to what XACML provides.
I think ABAC is easier to implement than RBAC, and RBAC can be implemented (not painlessly though... the role inheritance is hard to model on XACML) on top of ABAC.

Couple of interesting articles on how ABAC is taking over RBAC:

http://csrc.nist.gov/groups/SNS/rbac/documents/coyne-weil-13.pdf (May, 2013)
http://www.tripwire.com/state-of-security/security-data-protection/security-controls/rbac-is-dead-now-what/ (March 4, 2015)

On the last link, in reference to ABAC:

This method of Access Control has made Gartner predict, “By 2020, 70% of all businesses will use ABAC as the dominant mechanism to protect critical assets, up from 5% today.”

No movement on this?

 rbac

@awishformore @jakubriedl @jmdacruz are you seeking RBAC on the proxied APIs, or on Kong's Admin API? I ask because we recently released the latter, as part of Kong Enterprise Edition https://www.mashape.com/enterprise/

@coopr My original thought was on the proxied APIs, but good to hear there is also the option for RBAC on the admin APIs.

The Kong concept is great and it would be a real benefit to get authorization layers on API's without modifying the original service. For example, there is a Docker RBAC plugin to apply policies (GET,...) onto API paths. But this requires to add the plugin to the Docker engine which can be a troublesome at some point. Therefore it would be cool to have a Kong method to apply policies like described here: https://github.com/casbin/casbin-authz-plugin for proxied API's.


Make plugins unloadable

This will require .NET Core 3.0 and up, which has added libraries to make assembly load contexts unloadable.
See https://github.com/dotnet/coreclr/issues/552, https://github.com/dotnet/coreclr/pull/18476, https://github.com/dotnet/corefx/issues/14724, and https://github.com/dotnet/coreclr/projects/9

Should be pretty straightforward to implement as well as it seem: sample.
Only 3.0 need to become available. 😎

Thank you for the info. However, after unloading, the DLL could not be deleted from the directory? Have I possibly ignored something?
Thanks in advance.
Yours sincerely
Frank Dörsam
Code:
class SimpleUnloadableAssemblyLoadContext : AssemblyLoadContext
{
public SimpleUnloadableAssemblyLoadContext()
: base(isCollectible: true)
{
}
    protected override Assembly Load(AssemblyName assemblyName) => null;
}

class Program
{
    private static void ExecuteAssembly(Assembly assembly)
    {
        MethodInfo entry = assembly.EntryPoint;
        foreach (Type type in assembly.GetTypes())
        {
            Console.WriteLine(type.FullName);
        }
        Console.WriteLine("ok");

    }

    static void Main(string[] args)
    {
        AssemblyLoadContext tt = new SimpleUnloadableAssemblyLoadContext();
        tt.LoadFromAssemblyPath(@"C:\Lokale Daten\AppDomainUnload\ConsoleApp1\bin\Debug\netcoreapp3.0\Plugin\Plugin1.dll");

        tt.Unload();
        Console.ReadKey();
    }

    private static void Context_Unloading(AssemblyLoadContext obj)
    {
        Console.WriteLine("Unloading");
    }
}

If you are not able to delete a dll after unloading its load context, it is probably a bug in .NET Core 3. Checkout https://github.com/dotnet/coreclr/projects/9 to see if this is a known issue. If not, open a new bug on dotnet/coreclr.

Initial implementation #31.
Usage
Unloadable plugins is supported in .NET Core 3.0 Preview 2 and newer. To unload a plugin, dispose the loader.
var loader = PluginLoader.CreateFromAssemblyFile(
                    pluginDll,
                    sharedTypes: new [] { typeof(IPlugin) });
// do stuff

loader.Dispose(); // this triggers an unload

Any ideas whether this would allow asp.net core application parts to be unloaded (then reloaded from new assemblies) ? I asked raised an issue but the response was its not on asp.net core roadmap: https://github.com/aspnet/AspNetCore/issues/7219 - I wonder if you have had any thoughts around this?

It might. Unloading is very new and I haven't played with it enough to try this out. Calling .Dispose() on a plugin doesn't guarantee it will be immediately unloaded. If managed memory still has pointers to something from the plugin, the plugin won't be cleaned up by garbage collection.

Merged #31 which adds API when using .NET Core 3.0 to allow unloading.
Usage
Unloadable plugins is supported in .NET Core 3.0 Preview 2 and newer. To unload a plugin, make sure isUnloadable = true and dispose the loader to trigger the unload.
var loader = PluginLoader.CreateFromAssemblyFile(
                    pluginDll,
                    sharedTypes: new [] { typeof(IPlugin) },
                    isUnloadable: true);
// do stuff

loader.Dispose(); // this triggers an unload

In order for this to work, you must make sure you have not left behind any variables (static, local, etc) or manually allocated memory. Once GC has collected everything, the assembly will be unloaded. See https://github.com/dotnet/coreclr/pull/22221

Cool stuff. Is there a way to tell if a particular assembly has been unloaded? For example some kind of log output or something?

There are some events triggered and you can also use a debugger. See https://docs.microsoft.com/en-us/dotnet/standard/assembly/unloadability-howto


docs(clustered): add azure/gcp storage permission requirements

Closes https://github.com/influxdata/project-clustered/issues/217 and https://github.com/influxdata/project-clustered/issues/218
This provides the required storage permissions for InfluxDB3 Clustered to manage its access to the configured object store, GCS/Azure Blob Storage in this case.
Both providers offer managed roles in this case, so they can simply be attached to an existing principal/account.

[ ] Signed the InfluxData CLA
(if necessary)
[ ] Rebased/mergeable

@sanderson Changes have been made based on feedback, PTAL :100:


Node v8 support

Any plans for supporting older versions of Node? Looks like Node 8 is failing because of generator syntax usage.
Thanks!

It doesn't look like this is going to happen, sorry.


Implement timeouts

Currently, a participant that locks a chunk can indefinitely hold it. It'd be good to implement timeouts.
A participant that already contributed to at least one chunks is a particularly bad scenario for out-of-order and pipelining execution modes, so we want to properly log this so alerting systems can monitor it.
In a single-chunk mode, this is less of a problem, and we could just time the participant out and move to a next one.

Being handled in https://github.com/celo-org/snark-setup-operator


sample in GitHub not found

The Knowledge Bot sample in GitHub (https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/20.qna-with-appinsights) was not found in GitHub (3 May 2019)

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

ID: 98d57659-6fcb-285c-0b26-06dc8fed57e3
Version Independent ID: 1f53c0e8-d310-acc9-e023-98ee0111ef31
Content: Design knowledge bots - Bot Service
Content Source: articles/bot-service-design-pattern-knowledge-base.md
Service: bot-service
Sub-service: cognitive-services
GitHub Login: @matvelloso
Microsoft Alias: mateusv

Fixed.

Fixed


handling peak files with bedtools

Introduce bedtools and discuss bed files (0 and 1 based files; but also connect it to narrowPeak/broadPeak files)
First filter out blacklist regions (if we don't do this during alignment)
Next, look at replicate concordance with a simple overlap (default parameters). Do this for WT and KO (provide snapshot peak files for KO in case they don't get through the exercise in peak calling)
Finalize overlap peaks with more stringent criteria (Jihe tested various parameters and settled on this)

# Final code to generate the result
bedtools intersect -a WT_pair2_peaks_filtered.bed -b WT_pair3_peaks_filtered.bed -wo -f 0.3 -r > WT_bedtools_filtered_overlap_0.3.bed

Create a set of confident peaks for WT and KO

Added blacklist filtering
In the lesson, we identify overlap peaks between two replicates of WT sample. Currently, not dealing with KO sample. Do we still need to discuss that? Maybe as exercise?


📃:

:red_circle: ADD new project :
:red_circle: Multivitamine prediction :
:red_circle: deployed a model in azure with 80 % accuracy :
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : Chiluka Akshitha
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.)
Gssoc  and hactoberfest

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Hi @AKSHITHA-CHILUKA please make sure to raise 1 issue at a time and when it's PR get merged then raise another issue. Right now I am putting this usse under `Up for Grabs and after you don't with your previous issue, tag me here I will assign this issue to you .
Best of luck 🍀

Can you assign this to me.

@UTSAVS26 I have completed my previous issue can you assign me this issue

@yashi-025 you can raise another issue . All the best

I have the selenium code and already scrapped data as a excel
Should I upload them both

I have the selenium code and already scrapped data as a excel
Should I upload them both

Yeah sure.


cmd/vet: could not import C error when used with -v

What version of Go are you using (go version)?
go version devel +45a4609c0a Thu Jul 27 05:04:28 2017 +0000 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/mvdan/go/land:/home/mvdan/go"
GORACE=""
GOROOT="/home/mvdan/tip"
GOTOOLDIR="/home/mvdan/tip/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build516844053=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?
package main

import "C"

func main() {}

 $ go vet
 $ go vet -v
vet: bug.go:3:8: could not import C (can't find import: "C")
Checking file bug.go
exit status 1

What did you expect to see?
Success, even with -v.
What did you see instead?
The unexpected import error.
go vet -v doesn't have this issue on 1.8.3, so I'm marking as a release blocker for 1.9.
Something to note is that the catalyst for this bug was the fix for https://github.com/golang/go/issues/19350 by @robpike. In 1.8, when running go vet -v, the verbose flag wasn't passed to go tool vet, and the bug was hidden away.
But if we run the tool manually in both 1.8.3 and master, it's broken on both:
 $ go tool vet -v .
vet: bug.go:3:8: could not import C (can't find import: "C")
Checking file bug.go
 $ go1 tool vet -v .
vet: bug.go:3:8: could not import C (can't find import: )
Checking file bug.go

The obvious, faster option is to revert 62aeb77764dcb5487e6557d207aa19879745e03e. Given that we have a bit of time left until 1.9 is supposed to go out, I'll poke around go tool vet to see if I can fix the bug there.

To clarify - go vet -v on 1.8.3 doesn't actually enable the verbose option, so it doesn't have the Checking file... lines either. Reverting the commit would essentially be replacing one bug with another.

What I've found so far - the reason that -v makes it fail is this:
// Type check the package.
err := pkg.check(fs, astFiles)
if err != nil && *verbose {
        warnf("%s", err)
}

Should -v affect whether vet returns exit code 0 or 1? That seems unexpected.
And it seems like the underlying cause is go/importer and go/types not playing well with import "C". So perhaps the underlying bug is just a duplicate of #6774.
I still see the change in behavior as a regression, though. An error that was being ignored is now being surfaced by -v, changing whether go vet is happy or not.

Maybe warnf shouldn't cause vet to return 1.

It certainly seems that way, given the name. That fix would be ok for 1.9, as far as I'm concerned.

Here's where I pass the buck. :)

Maybe warnf shouldn't cause vet to return 1.
It certainly seems that way, given the name.

This decision belongs to @robpike.

That fix would be ok for 1.9, as far as I'm concerned.

That call is above my pay grade. @bradfitz or @ianlancetaylor?

I can't speak to the underlying issue in the importer. That should be fixed.
But I do believe that the exit code should be 1. The purpose of warnf is to report an error but not exit the program, as further tests are possible. It indicates a problem, in this case that it can't import one of the packages, and so vet cannot say that there are no errors in the program.
In short, warnf should cause an exit with code 1. Vet should exit with 0 only when the whole program has been checked successfully and without problems.

That call is above my pay grade.

Oh, above mine too - I was simply giving my opinion :)

But I do believe that the exit code should be 1.

My point here was not so much whether an import error should make the program fail, or whether a warning should make it fail. It was more the fact that -v is changing the exit code. Depending on whether you were using go vet with -v on your CI with 1.8.x, it will suddenly break for no good reason when upgrading to 1.9rc1 (this is what happened to us).

The purpose of warnf is to report an error but not exit the program,

Doesn't that imply that warnf calls should never be conditional on the verbose flag? It seems strange to detect an error that indicates a real problem but not to report it.

The vet tool runs the type checker in go/types.  The warning being reported is a type checking failure.  We only report that warning when using -v, because vet is supposed to work on packages that do not type check.  So as @bcmills suggests I think that this output is best characterized as not being a warning.  I will send a CL.

Fixed for 1.9, opened #21287 for 1.10.


Donations: Change title for Step 2 in CRA list option | PG-bugfix-0012

Donations: Change title for Step 2 in CRA list option | Ticket
Change title on Step 2 Donation Flow annual campaign

Could you please update the migration checklist ? I need that for migration planning.
Thank you.
done


Build docker compose for easy development

Build a docker compose file to allow for easy development.
I'm not a python dev, but I imagine there is something we can use that monitors the file system for changes and reloads the necessary django components.

When running Django's built-in server for development testing, it will notice filesystem changes itself and reload the necessary components. In production, using WSGI, it would need to force it

The pull request brings a development environment.
Would you also be interested in a production environment?

I would be interested in a production build, but ideally that would have different containers for the app, the database, load balancers, caching proxiess, whatever.

Would be very interested also on a production build.. I want to try to then bring this docker build as Cloudron app (cloudron.io)


[Vote] Move PyserSSH to standalone module

I think in next update 3.8 the PyserSSH has too much features and have demo

/vote

i Moved


[SPARK-19724][SQL][FOLLOW-UP]Check location of managed table when ignoreIfExists is true

What changes were proposed in this pull request?
In the PR #20886, I mistakenly check the table location only when ignoreIfExists is false, which was following the original deprecated PR.
That was wrong. When ignoreIfExists is true and the target table doesn't exist, we should also check the table location. In other word, ignoreIfExists has nothing to do with table location validation.
This is a follow-up PR to fix the mistake.
How was this patch tested?
Add one unit test.

@cloud-fan @gatorsmile

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89011/
Test FAILed.

retest this please.

Test build #89017 has started for PR 21001 at commit 3d1c909.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2066/
Test PASSed.

Test build #89017 has finished for PR 21001 at commit 3d1c909.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89017/
Test FAILed.

Test build #89050 has started for PR 21001 at commit 3fe648f.

Test build #89050 has finished for PR 21001 at commit 3fe648f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89050/
Test FAILed.

Test build #89071 has started for PR 21001 at commit 577a399.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2108/
Test PASSed.

Test build #89072 has started for PR 21001 at commit 1e27cc8.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2109/
Test PASSed.

Test build #89072 has finished for PR 21001 at commit 1e27cc8.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89072/
Test FAILed.

Test build #89071 has finished for PR 21001 at commit 577a399.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89071/
Test FAILed.

Test build #89080 has started for PR 21001 at commit 3f3391b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2116/
Test PASSed.

Test build #89080 has finished for PR 21001 at commit 3f3391b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89080/
Test PASSed.

Test build #89115 has started for PR 21001 at commit ffd0c66.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2146/
Test PASSed.

Test build #89124 has started for PR 21001 at commit c4f359a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2154/
Test PASSed.

Test build #89115 has finished for PR 21001 at commit ffd0c66.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89115/
Test PASSed.

LGTM
Thanks! Merged to master.

Test build #89124 has finished for PR 21001 at commit c4f359a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89124/
Test PASSed.


Clicking account icon shows account panel with sign out button

This adds a popover displaying basic user info and offers a sign out action.
In the video below I exercise:

Clicking on the user avatar will open a popover
Clicking on the avatar again will close it
Clicking outside the popover will close it
Clicking on "sign out" will perform a logout in the matrix service and bring the user to the login screen

https://github.com/cardstack/boxel/assets/273660/91f861f4-3b4a-4a9b-b030-fd31bc9d6659

@habdelra I added a matrix test with the new logout flow. I am wondering if we should replace the mock in our host acceptance test by using the matrix real service?

@habdelra I added a matrix test with the new logout flow. I am wondering if we should replace the mock in our host acceptance test by using a real matrix service?

i know @IanCal uses the mock for a bunch of AI bot stuff, and I think that is valuable. but for the scenarios were we are replacing the identity part of the chat sidebar spike code with the real implementation, I think we should be testing all that stuff with actual matrix since that's how it was originally tested in the spike code.

@habdelra I agree, I added a ticket to address that in later work.


Environment variables on windows required double backslash

When cross-compiling from windows to Android, I found I needed to add environment variables for the CC and AR (in addition to the config in .cargo/config) in order to get this crate to work. E.g. set CC_armv7-linux-androideabi=C:\\path\\to\\ndk\\21.4.7075529\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\armv7a-linux-androideabi21-clang.cmd. This is all fine (though took embarrassingly long to figure out).
The problem is this requires double-backslashes, whereas normally environment variables on windows which are paths use single-backslashes (e.g. JAVA_HOME, LIBCLANG_PATH etc. all look like C:\path\to\folder). Obviously this is low priority, but if there's an easy fix there it could be worth it for consistency...

Weird, I just ran a build of the cc-test test crate in this repo with AR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\lib.exe and it worked
Could you check again, against the master branch of cc-rs? Maybe it's been fixed already

I don't think that this is a bug in cc but rather something else along-the-line. Most likely there's some shell script somewhere using CC or something like that which is behaving badly.

This is a year old and it isn't clear how to reproduce, so I'll close this for now. If anyone has a reproducible example then feel free to create a new issue or comment here.


Update UI, fix visual bugs

Codecov Report

Merging #95 (c1b491f) into master (cfc4a37) will decrease coverage by 0.81%.
The diff coverage is 17.64%.

@@             Coverage Diff              @@
##             master      #95      +/-   ##
============================================
- Coverage     70.63%   69.81%   -0.82%
  Complexity      469      469
============================================
  Files            80       80
  Lines          1536     1554      +18
  Branches        167      166       -1
============================================
  Hits           1085     1085
- Misses          393      411      +18
  Partials         58       58

Impacted Files
Coverage Δ

...va/seedu/address/logic/commands/FilterCommand.java
85.71% <ø> (ø)

src/main/java/seedu/address/model/tag/Tag.java
80.00% <ø> (ø)

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/InternshipCard.java
0.00% <0.00%> (ø)

...ava/seedu/address/model/internship/Internship.java
98.18% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

This is the GUI at this point:

When scrolling list, the internship at the top might appear "cut off"

All tags now have a tooltip on hover, displaying the full tag name.

Hovering on extra tag count will display tags not shown.


Map styling breaks when switching from torque in the Builder to other styles

Map styling breaks when you create a Torque map in the Builder and then try to switch to any other styling type.
https://www.youtube.com/watch?v=tbD6Zlu8Adg&feature=youtu.be

Duplicated https://github.com/CartoDB/cartodb/issues/9420.


slack attachments: use file API

Description
Fixes: https://github.com/dust-tt/dust/issues/8986
Use file API with slack attachment
Fixes some issues with the upsertion of attachments
Risk
Fully texted in dev (through slack, with workflows and as user)
Deploy Plan

deploy front
deploy connectors

PMRR


feat: implement TypeDoc in Provider

Following the requirements#835, this PR implements TypeDoc in the Provider package.

Is this ready?

@arboleya it's branched off #1174 as it needs some of the postbuild script work that's in this PR. So once #1174 has been approved/merged I'll make this ready for review and point it at master. All typedoc work is ready, just may have been branched off something that needs to be merged prior.

@danielbate you might need to resolve a merge conflict here.


Notary Project Status and Feature Plans

Could you share details about the plans for the Notary service?
Could Notary be considered as an active project? Even though there are new commits in the master branch, from the releases page, it is visible that the latest release is from Apr 2018.
Will the project be maintained and further developed in the future?

I’m also yearning for a new release, especially as the latest Notary release refers to some dead modules.


Can we make ol.View#getAnimating api?

If people want to write their own zoom controls for example, it makes sense that getAnimating is available to the end user IMHO

@tschaub since you're the creator of this code any objections? This same applies to cancelAnimations

Agreed that the are useful externally.


add DuckDuckGoSearchResults Tool

This introduces duck duck go search tool. Here is the langchain python equivalent. https://github.com/langchain-ai/langchain/blob/0214246dc69dd2d4e11fd567308f666c220cfb0d/libs/community/langchain_community/tools/ddg_search/tool.py#L43
I'm only porting DuckDuckGoSearchResults and not DuckDuckGoSearchRun. The main difference between them seems to be one returning JSON while other is returning string.
My tests with llama3 and mistral both seems to be able to extract information from JSON and return the correct response. Phi3 wasn't good at figuring it out. In the future we can easily add DuckDuckGoSearchRun if needed.

LGTM


[BUG]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://youtube.com/watch?v=fn4GCZuiwdk&list=PL4HikwTaYE0HDOuXMm5sU6DH6_ZrHBLSJ&index=3)'
Tried to replicate the behaviour
See error
400 The completion operation does not work with the specified model, gpt-35-turbo. Please choose different model and try again. You can learn more about which models can be used with each operation here:
https://go.microsoft.com/fwlink/?linkid=2197993

Expected behavior
Ideally I chose text-davinci-003 in Azure Open AI But error says its not working with gpt35 model
Screenshots
If applicable, add screenshots to help explain your problem.

Flow
If applicable, add exported flow in order to help replicating the [problem.](
LLM Conv chain Chatflow (1).json
Setup

Installation - npx flowise start
Flowise- Recent
OS: [ macOS]
Browser [ chrome]

Additional context
Add any other context about the problem here.

If im not mistaken, davincii model is being deprecated, we will also remove them from Flowise soon, have you tried Azure Chat?

Azure chat works . We are good to close this


[BUG] Edit tab: selection are stopped animation when there is no actions

Issue description:
Seems like the issue is introduced by #41 - it's not rendering when scene is not changed.
Environment:

Application version: 0.3.0

Steps to reproduce:
Steps to reproduce the behavior:

Open the app
Go to Edit tab
Open some pointcloud
Select some points
When you not touching the screen - the selected points are not animated
Try to rotate the model - and points are animated again

Expected behavior
When the Edit tab is active - rendering should be active

Fixed by using visible as switch between OnDemand and Always rendering.


Update Go to 1.14.6

test-me-please

test-me-please

Coverage increased (+0.001%) to 36.998% when pulling 6213981bfd1fdbdb79b2a024597ac205b235af00 on pr/tklauser/update-go-1.14.6 into 2aae98893851b4248271218d438758250f9dd8c2 on master.


Add Brazilian Portuguese translation

Hey! Thank you :+1:

Thank YOU, I'm using the boilerplate on a new project!


Add custom Signature to be committed

This PR adding these option:

 custom-pr-sign-comment is the format signature to be committed in order to sign the CLA.

Usage example:
jobs:
  CLAssistant:
    runs-on: ubuntu-latest
    steps:
      - name: "CLA Assistant"
        if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == **MY_SIGNATURE_FORMAT**) || github.event_name == 'pull_request'
        uses<EMAIL_ADDRESS>        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          custom-pr-sign-comment: **MY_SIGNATURE_FORMAT**

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@Or-Gabay LGTM !.. Thank you very much for your contribution.
This is an important and a handy feature for this bot :).


Error renaming event class

When I rename symbol TickerEvent to FrameTickerEvent, the Event tags in other classes were renamed incorrectly:
	[Event(name = "onTick",			type = FrameTickerEventt")]
	[Event(name = "onTickStart",	type = FrameTickerEventt")]
	[Event(name = "onTickEnd",		type = FrameTickerEventt")]

expected result:
	[Event(name = "onTick",			type = "FrameTickerEvent")]
	[Event(name = "onTickStart",	type = "FrameTickerEvent")]
	[Event(name = "onTickEnd",		type = "FrameTickerEvent")]

It looks like the Royale compiler is providing the incorrect position. I'll need to fix it there first.

apache/royale-compiler@e5a22fb81954f1d44a534a9080c5d62f22da8ea4


Adonis mysql invalid connection type

I have lucid monggo installed, but i have to connect with my MySQL server
so i have to connect multiple databases
primary connection is mongodb
secondary connection is mysql
but i have a problem here, i already added code in my model like this
class Order extends Model {
    static get connection () {
        return 'mysql'
    }
}

but when i try, result like this:
RuntimeException
invalid connection type

how can i fix this?
thanks a lot, youre framework very awesome and helped me

Issue doesn't adhere to the guidelines of creating a proper issue.

Make sure that you are only reporting bugs or submitting feature requests on Github.
In case of feature requests, please be descriptive and explain how this feature helps a broader audience and not just you.

If you are not submitting a bug and neither a feature request, then please use the forum or discord server
In any case, issues which are not descriptive enough will be closed. Please respect our time.


include API autodoc

This adds the API details for our functions and classes using sphinx autodoc.

This is great!


DiagnosticableTreeMixin should not have empty debugFillProperties

Steps to Reproduce
import 'package:flutter/foundation.dart';
import 'package:test/test.dart';

abstract class A implements Diagnosticable {
  @override
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
    debugPrint('A.debugFillProperties()');
    properties.add(new FlagProperty(
      'works',
      value: true,
      ifTrue: 'true',
      ifFalse: 'false',
      showName: true,
    ));
  }
}

class B extends A with DiagnosticableTreeMixin implements DiagnosticableTree {
  @override
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
    // this calls DiagnosticableTreeMixin.debugFillProperties, which is empty
    // and I can't call A.debugFillProperties()
    super.debugFillProperties(properties);
    debugPrint('B.debugFillProperties()');
  }
}

void main() {
  test('works', () {
    print(new B().toStringDeep());
  });
}

void

flutter test test/debug_called_test.dart
Check if A.debugFillProperties() is printed on the console

Logs
B.debugFillProperties()
B#92068

Analyzing var_widget...
No issues found! (ran in 6.6s)

[√] Flutter (Channel @u, v0.5.1, on Microsoft Windows [Version 10.0.17134.165], locale ko-KR)
    • Flutter version 0.5.1 at C:\Users\kdy\flutter
    • Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200
    • Engine revision 1ed25ca7b7
    • Dart version 2.0.0-dev.58.0.flutter-f981f09760

That seems to be a limitation of the Dart language unrelated to Flutter. There is a similar issue (which also discusses this particular problem) open on the Dart issue tracker: https://github.com/dart-lang/sdk/issues/27100.


Add validations to base project

It would be great if you could add some basic validations to the base project.
I'm new on sylex (indeed, I started after seeing this base project) and I'm not sure where I should include validation, if in the controller, service, or elsewhere
Thanks

Usually validation happens while processing data inside the controller, and before passing it to a service.
But it just a matter of conventions, there are no strict rules.


⚠ Bofrost.de has degraded performance

In fbf9e98, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1367 ms

Resolved: Bofrost.de performance has improved in 65e2d97 after 6 minutes.


ANC Subsequent - Provide textual context for referral to hospital [2h]

Issue
In cases where there is high risk the message does not provide context (on the page) for why the referral is happening:

Task

Add a sentence before the current introduction sentence that repeats the patients diagnosis: "The patient has been diagnosed with: [condition], [condition]. This patient is a high risk case...."

@adamhstewart
I'll need detailed definitions for text that need to be displayed.
There are at least 30 cases where we send patient to hospital. and it's not only due to certain diagnosis.
For example, patient can be sent to hospital due to adverse event to medication.
Another possibility is hypertension treatment logic, where we increase doses untill we decide to send to HC.
Also, at we have some new cases at https://github.com/TIP-Global-Health/eheza-app/issues/258#issuecomment-1166608871.
While this may not be common, we may have many reasons for hospitalization, so do we just separate with ,?
Asking because I see different requirements for the popup at https://github.com/TIP-Global-Health/eheza-app/issues/306.
//cc @jeanette-pelizzon

@anvmn We would use the same list here - in this case it would be a comma series. We are less concerned about visual calrity as it's not a popup, and in most cases they will have just seen it.

@balagan73
Deployed to Nutrition env. Please test.

https://nutrition-ihangane.pantheonsite.io/
QA Review
Found issues and questions:

https://github.com/TIP-Global-Health/eheza-app/issues/258#issuecomment-1177606947 Here I have already found some cases that should have been mentioned on the hospital referral page. Now I have tested only for them, and the hospital referral page doesn't display.

Blood sugar
Long dip

Logic:

There are duplications on the popup... Ah, ok, it is going to be a bullet list according to https://github.com/TIP-Global-Health/eheza-app/issues/306

Checked and approved:

Those conditions that trigger hospital referral, properly display on the hospital referral form.

Gestational Diabetes has not been implemented on E-Heza yet. We are still working through the logic with the clinical team. The issue for gestational diabetes will hopefully be created early next week once I finalize all the logic and design with the clinical team.  Unless there is a different issue here @balagan73 I will move to Acceptance. Please let me know

Awesome.

Early Acceptance Testing note: users have requested that we signify what diagnoses is high-risk. So we should not only list them at the top but also include them in the sentence below.
Here is an example:

@jeanette-pelizzon
When it comes to referring to hospital, there are emergency and non ugent diagnoses.
Since emergency diagnoses are triggered right away, either all diagnoses on referral form are emergency, or all are non urgent. For example, at your screenshot, both are non urgent.
So far, the idea was that if patient is referred to hospital, it's a high risk case.
For emergency diagnoses we also had red popup.
If you think it's necessary, please define what 'emergency referral form' should say, and what should 'non urgent  referral form' say.

Update: we do not need to update the second line of text. Having the diagnoses in the first line is enough.


Generate automl v1beta1

Thanks @kinwa91 . I figured this was an opportunity to show you a few of our synth files and see what is going on on the other side :)


Restore Task manager's "network" column

Description
Restore Task manager "network" column's ability to show usage
The problem
The Task manager's "network" column shows always zero.
I have different tools which show me total internet usage per .exe, but
seeing that Chrome's .exe uses most is not enough.
Possible solutions
Restore Task manager "network" column's ability to show internet-usage.
Additional context
Stopped working after 85 or so.


[Options] Selected item in the list on the left should remain highlighted when focus changes

As per title. Might need some tweaking of TListBox, or a different list component

Closing as a "won't do" - not that big of a deal, really.


[Run] Environment Variables not resolved in folder plugin.

Environment
Windows build number: [run "ver" at a command prompt]
PowerToys version:
PowerToy module for which you are reporting the bug (if applicable):

Steps to reproduce

Environment variables such as %Program Files%, %appdata% or %temp% don't resolve when searching for folders or files.
Expected behavior

Actual behavior

Screenshots

Related to https://github.com/microsoft/PowerToys/issues/4950

Related to https://github.com/microsoft/PowerToys/issues/4950


⚠ Bofrost.fr has degraded performance

In 2d30c28, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1238 ms

Resolved: Bofrost.fr performance has improved in c6fc618 after 6 minutes.


Picker stopped showing when upgrading to api 29

it actually still functions, but nothing is displayed,  meaning, if I click on the right place on the screen, a number will be picked, but I don't see any numbers or dividers.
any idea why?

After updating to API 29, it lost it colors. app:mnpSeparatorColor="@color/colorAccent" has no effect anymore.


Ddpm

PR types
New feature.
PR changes
In ppsci.arch folder, add ddpm.py;In example folder, add ddpm folder.
Describe
add DDPM for NO.13 project

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.12 out of 13 committers have signed the CLA.:white_check_mark: Liyulingyue:white_check_mark: NKNaN:white_check_mark: HydrogenSulfate:white_check_mark: Turingg:white_check_mark: zhiminzhang0830:white_check_mark: lijialin03:white_check_mark: GreatV:white_check_mark: 1want2sleep:white_check_mark: GGBond8488:white_check_mark: wufei2:white_check_mark: smallpoxscattered:white_check_mark: liaoxin2:x: zhaojiamengYou have signed the CLA already but the status is still pending? Let us recheck it.


Offer a simple script or web interface to easily set up a jskos-server instance

I feel like this would be a good addition if other people want to set up their own instance of jskos-server. A web interface would be even easier and could be done together with #39. Especially if we add Docker support (#105), it would be good to simplify the setup with a web interface.

The setup can be split into these steps:

Installation of code and dependencies
Basic configuration such as database connection to get jskos-server running
Configure individual actions with access control and authentication
data import

I think it's enough to aim on 3 and 4 with #39.


[docs] Change examples to use ES6 Classes

Change examples to use ES6 Classes. Closes #7

This was mostly to avoid having to write out constructors. I'm cool with this, though. Thanks!

Thanks! :+1:


SOQL Datatable - questions about Action Config

Hi! I have a number of questions about setting up Action Configurations, figured I can ask them here to get answers and maybe get the readme updated too if you think it should be. Thanks!

On Datatable Config, is Type supposed to contain Actions / Lookups / both? It’s not clear from the tooltip what that field is for. (Why not make it a picklist so it’s easier to understand? )

On Datatable Action Config, what do the different Types do? I'm guessing that Row Actions are for selecting record(s) and running something, but what are the others?

Do I need to choose a Row Action Name? Would that be only if the Type is Row Action?

For Flow API name and LWC Name – am I supposed to enter just one of those? Should it be a Flow if Row Action is custom_flow and same if LWC?

I can kind of try to guess the answers to these by looking at the example configs, but I think it would be a better experience if the tooltips and/or the readme gave more info about them.
Thank you!

Good questions!

Picklist isn't correct, if anything, a Multi-Select Picklist is the actual functionality. In other words, Actions;Lookups is a valid value and so is just Actions and Lookups individually.

The Table Actions are the top right buttons (which allows you to multi-select rows). Depending on if you want those buttons to point to a Flow or LWC action, you choose and fill in the correct one just like how the recipes show you.

Yes, please refer to the README image (under Configurable Flow or LWC Actions) or the recipes. It's much easier to just follow the recipe which is why I made them!

Please refer to the recipe - it shows various combinations. There are some validation rules in place but I probably didn't catch them all.

My intention was always to have users install the recipes to play with it, the tooltip/readme would make it much more complicated to understand (simply by virtue of the fact there are too many permutations, and walls of text are hard to understand).
So then, picture + recipes!

Thanks for answering!

With just three real choices, I'd say you could have a picklist to choose Actions, Lookups, or Actions; Lookups. But that's up to you.  I'd recommend adding to the tooltip though.

Aha, I was thinking the difference was where the datatable was, not what type of action we're talking about.
What's the difference between Primary and Secondary actions?

3 and 4: can I make some recommendations for tooltips, just to make things simpler? It's hard to jump back and forth between the examples and the actions I'm building, and I think it would be a better UX if we explained things right there.

Here is my suggested tooltip for the Type field:
Table Actions (which can call either Flow or LWC) are placed above the datatable. Choose Primary or Secondary to assign this action to one of the two slots.
Row Actions are placed on each row and accessed via the down arrow at the right.

(it's confusing because this field controls both where the button goes and what it does, maybe it would be simpler if "what it does" was just controlled by the fields on the right)

Going to word-smith that a bit:
Primary / Secondary Table Actions are single/multi row actions placed above the datatable. Currently, there are only two slots.

Row Actions are placed on each row and accessed via the action menu dropdown on the far right for each row.

That works, but doesn't explain when you'd choose Flow vs LWC

If you are planning for a 2.0 soonish then it might pay to just wait, and then you can change Type to Display Type and have Table Action - Primary, Table Action - Secondary, and Row Action

I think that is self explanatory when you open the picklist of options for Action_Config.Type__c, and coupled with a validation rule (which i think is already in place) should be pretty straightforward.
That's the rationale for omitting the (which can call either Flow or LWC) piece in the help text.
As far as 2.0, no plans at all (definitely not in the next 2 quarters)

... and I thought that the flow/lwc part was referring to where the datatable was displayed - in a flow/page

Suggested tooltip for: Row Action Name
If you choose custom_lwc or custom_flow, enter the relevant name below.
Suggested tooltip for Order:
This will determine the order for Row Action buttons

Ah, regarding your earlier comment I didn't even think that was a possible train of thought lol.
That's fair, in that case we can do this:
Primary / Secondary Table Actions, which call either Flow or LWC, are single / multi row actions placed above the datatable. Currently, there are only two slots.

Row Actions are accessed via the action menu dropdown on the far right for each individual row.

Nice! And you can cut out that line when you remove the flow/lwc choice from that field in 2.0

Re: Order, if you want, you can add The order for Table Actions is determined in the Type field. But that may be too wordy for you.

And I'd add to the Type tooltip on the parent:
Semicolon delimited to keep track of which child configs (Lookups and/or Actions) are used for this grouping record.
(Also wondering if you need this field or if it can just figure it out based on which child records exist.)

Fair point with regards to deprecating Type, that might be a 2.0.0 thing

Makes sense