proper toolchain support

Please, can you create an issue that justifies this PR, describing what is failing and what this PR solves?

This is not as much a problem solving as it is an improvement; the plugin did not support toolchains (even though the source code suggested this: getLog().debug("Toolchains are ignored, 'executable' parameter is set to " + executable) ).
However, what can fail is that the compiler plugin can use a different JDK from the javafx:run. The compiler has a pretty complex determine-the-javac logic, while this plugin simply uses the java.exe on the system path. This manifested itself when I ran "clean javafx:run" from Eclipse; maven was ran with Java 15 (as configured in Eclipse), while javafx:run used Java 11 (which was used to start Eclipse). So I got a class version exception.
You can set the executable manually, but that would mean hardcoding or some variable. I solved this by making my pom toolschain aware.

Issue 124

Hi @tbee ,
Thank you for this PR.
I applied this patch and build a new plugin version. However, it doesn't resolve the issue. Can you please guide me through the process?
Here are the steps I followed to test:

Update the Maven project to use JDK 15 instead of the default JDK 11
Maven uses JDK 15, however, the javafx-maven-plugin still seems to be using the default JDK 11 to run the project
Plugin still reports Toolchain to be null: [INFO] Toolchain in javafx-maven-plugin null

Debug log (snipped):
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/abhinay/Documents/git/samples/HelloFX/Maven/hellofx/EMBEDDED
Java version: 15, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk-15
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-70-generic", arch: "amd64", family: "unix"
....
[DEBUG] Configuring mojo 'org.openjfx:javafx-maven-plugin:0.0.6-SNAPSHOT:run' with basic configurator -->
...
[DEBUG] -- end configuration --
[INFO] Toolchain in javafx-maven-plugin null
...

You need to configure Maven toolchains.
https://maven.apache.org/guides/mini/guide-using-toolchains.html

Create the toolchains.xml file
The easiest way to do that, if you use sdkman and jbang, is to run my jbang script: jbang sdkman@tbee/mavenToolchains
See https://github.com/tbee/mavenToolchains/blob/main/GenerateToolchainsFromSDKMAN.java
It will generate the ~,.m2/toolchains.xml from the installed JDK's.

Define in your pom in the toolchains-plugin that JDK 15 is to be used

org.apache.maven.plugins
maven-toolchains-plugin
1.1

toolchain

1.5

Now the compiler and javafx:run will use the same jdk.

Hi @tbee,
Alright. This works!
However, there is still this manual configuration that the user has to do by setting the toolchain plugin. Is it possible for javafx-maven-plugin to directly use the JDK set by the user in the Eclipse project configuration, just like the maven-compiler-plugin does?

This PR is about adding toolchains support to the plugin.
I did take a look at copying the whole javac detection logic from the compiler plugin, but that is not quite trivial. In the end toolchains is the formal way to support these overarching tool concerns: The Maven Toolchains provide a way for plugins to discover what JDK (or other tools) are to be used during the build, without the need to configure them in each plugin nor in every pom.xml.
https://maven.apache.org/guides/mini/guide-using-toolchains.html

Sounds great! This PR is good in its current state.
I will file a new issue for the "non-toolchain behavior" so that it can be tracked.


CORS issue serving assets in production

From pretty much any page in the production url:

Font from origin 'https://dcaf-cmapp-staging.herokuapp.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin $(production url) is therefore not allowed access.

god help me I think I have to add in the rack/cors gem.

I'll handle this, unless someone has experience working with this sort of problem.

Problem here is that for whatever reason the compiled stylesheet contains a bunch of references to the staging url. Probably (hopefully) can be fixed with an assets precompile somehow. Means hopefully we don't have to set up rack/cors.

False alarm, it's not CORS but asset pipeline hell. See #508 for the root cause. Closing as a duplicate.


Recycler gibs you instantly

Description
Very literally the frame you touch it. It'd be better if it just dealt brute damage very very quickly, since you already gib at high brute.
Reproduction

Emag the recycler.
Jump into it.

Dupe of #20426


Fix spaces around colons in signatures and type annotations in F# style guide

Summary
As far as I understand the style guide, the space-wrapped colon (:) should only be used for return type annotations of functions and members, not for val signatures or normal type annotations.

Thanks @dawedawe
Checking with @dsyme before merging.


Prevent multiple button clicks

Is there any way to prevent the user from clicking several times a button? I mean, I've proven that the user can click several times a button in a short time (0,5 seconds).
Would it be possible to lock every buttons of the wizard just after the user clicks one, and then, when the new step is shown, enable every button?

Perhaps it'd be a nice feature to add a modal window (loading) to appear when a button is clicked, and hide it when the new Step is shown.

Created a PaceMaker class for that:
/**
 * JetPlaceMaker to use for Action/Function calls regulation
 * For example to prevent fast clicking causing multiple calls
 */
public class JetPaceMaker
{
    // default minimal time between 2 calls
    private long minimalInterval = 1000;
    private LocalDateTime lastCallTime = LocalDateTime.now();

    public JetPaceMaker() {}
    public JetPaceMaker(long interval)
    {
        minimalInterval=interval;
    }

    public boolean CanDoActionNow()
    {
        LocalDateTime now = LocalDateTime.now();
        long diffInMilli = java.time.Duration.between(lastCallTime, now).toMillis();
        // remember last call time
        lastCallTime=now;
        // return TRUE when enough time elapsed
        if (diffInMilli >= minimalInterval)
            return true;
        else
            Notification.show("Slow down please...");
        return false;
    }
}

Then, modified Wizard Class code adding a private PaceMaker
// Use JetPaceMaker to prevent fast clicks on Wizard Buttons
private JetPaceMaker fastClickPrevention = new JetPaceMaker();

And using it to control clicks pace (for each button. Here the 'Next' button change)
private void initControlButtons()
{
    nextButton = new Button("Next");
    nextButton.addClickListener
    (
        new Button.ClickListener()
        {
            @Override
            public void buttonClick(ClickEvent event)
            {
                if( fastClickPrevention.CanDoActionNow() )
                    next();
            }
        }
    );


Add Shutterography.com

Hello,
Would you be open to adding the website https://www.shutterography.com to your website? It's another high-quality free stock photo website.
Thank you very much!

The website appears to be broken and just includes images from shutterstock?


Speedtest tracker caused my server useless

Describe the bug
I just setup the speedtest tracker in my container, after queue speedtest , I can't ssh into my server, my portainer and all docker container goes offline, I still can access my nginx proxy manager at port 81, now I don't know how to revert this
To Reproduce
Steps to reproduce the behavior:

Setup speedtest tracker in docker
Click on  Queue speedtest
Voila, u just crashed the whole server.
Can't even ssh to the server, dead.

Environment (please complete the following information):

OS: Ubuntu 22 x86_64 Minimal
Architecture: Ubuntu 22 x86_64 Minimal
Browser : Brave
Version [e.g. v1]

Logs
Can't ssh to get the logs.

3. Voila, u just crashed the whole server.

You have no idea of what you're talking about, because you don't know how docker works. A container can't cause that kind of issue. You've done something else that broke your ENTIRE system. A container doesn't break the OpenSSH daemon.

This is the problem with docker apps: kids or any ignorant thinks that they can edit a file and have an app up and running, without even knowing what docker is. A disgrace to the IT community.


Auto-reload daemons when config files have changed

This already happens for the feed config files, the real question is should the settings.json file be monitored.


Implemented logger that supports ITM, RTT, and semihosting

Implemented logger that supports ITM, RTT, and semihosting.
Updated examples to use the log crate.
I have tested it with RTT and none.
Closes #104
Closes #7

I really like using the log crate in the examples, because log works across so much of the rust ecosystem. And the example are simpler + more flexible! However having the log implementation as part of the crate is a problem as @hargoniX highlighted.
That can be easily solved by moving src/logger.rs -> examples/logger.rs, and replacing use stm32h7xx_hal::logger; with mod logger;. You'd need to document that it's not a standalone example, and tell cargo not to try to build it individually. This should work:
[[example]]
name = "logger"
required-features = ["!"] # logger is used by the other examples, not a standalone example

Or even move it to examples/utilities/logger.rs (for example) to make clear what it is.
Then all the added dependencies can actually be dev-dependencies instead.

Sure, I can shuffle things around to make that work.

Yes, log is practically a std library.
For building examples I see two options.

Leave in features for logging that only effect the examples. Downside is this recompiles the entire crate when any of the features are changed. Upsides are general compatibility with other tools and ease of use.

Use cfg flags which require each example to be compiled separately with "cargo rustc --features=stm32h750v,rt --examples -- --cfg log_rtt" and do not work with other tools (e.g. cargo embed can't handle -- --cfg but works fine with --features). I think this only works with cargo rustc invocations.. Advantage being the crate doesn't get recompiled.

Given the limitations of the 2nd approach I favor the 1st. Cargo simply isn't good at handling passing around a bunch of cfg flags yet. Unless there is another approach I am unaware of.

LGTM! I think the 1st option is the best approach too. It is a bit awkward to have feature flags that don't affect the crate source itself, but it wins on compatibility/ease of use.
The only other thing it would be nice to add is more documentation in examples/README.md

The ITM and semishosting still need to be tested.

I tested semihosting and ITM, they both work. I've added some more docs for ITM.

Rebased onto master

Looks good!

I fixed the recently added examples that weren't using the logger

Ok, let's merge this! Thanks for your work @mtthw-meyer
bors r+


Route parameter converter

Proposal
Route parameter converters are functions converting route parameters into another type of data, typically models. The main use-case would be to create a built-in url converter for models removing parameter int conversion and SQL query from the controller.
For example, for the following route definition:
GET /user/{User}

The route parameter converter would take the "User" route parameter and search for the "User" registered model based on its primary key (defined by the gorm tag) in database. If no record is found, then the route will not match and a 404 error will be returned.
This feature could be implemented in a middleware or in the core of the router. However, for performance reasons, a middleware called after the route matched with the current simple matching process would be preferred. That would avoid a lot of unnecessary SQL queries.
Developers using the framework should be able to implement route parameter converters. How to define which converter to use when defining a route is a question that remains open.
Possible drawbacks
It may be difficult to handle multi-parameter routes and especially relations between models. For example, the following route is retrieving a forum post from the author "User":
GET /user/{User}/post/{Post}

How could we check and guarantee that the Post is related to User? Should we use the gorm field tags? What if there are multiple foreign keys to the same table?
An expensive work of reflection may be needed for this kind of use-case.
Additional information
This issue is a feature proposal and is meant to be discussed.
It is also a good candidate if you want to contribute to the project.

How exactly do you intend to send a struct in URI? Would you please send and example input?

@MShoaei
Let's say we have a Product struct model. The idea behind this would be to declare a route like this:
router.Get("/product/{Product}", product.Show, nil)

A request to show the Product with the ID (primary key) "4" would be:
GET /product/4

The framework would do something like this:
product := model.Product{}
database.GetConnection().First(&product, request.Params["Product"])

// Override the raw parameter with the struct
request.Params["Product"] = product

This is just a draft, and that would require the request.Params map to be changed to a map[string]interface{}, which is not ideal, but hopefully you get the idea.

I prefer to ditch this idea. It is already easy enough to retrieve the model.


fix(css): module css deep first insert

Description
fix #3924
close: https://github.com/vitejs/vite/pull/6044

Additional context

deep first insert add package deps let the upper-level import delay.

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

@IanVS would you also review this PR?

Thanks for testing it Ian!

Thanks @poyoho for tackling this.  I'll try to write a test this evening if you don't get to it first.  I think you're on the right track here.

Thank @IanVS. I just wanted to make a bug:
now is base with ./black.module.css
import styles from './black.module.css'
export function baseAsync(className, color) {
  const div = document.createElement('div')
  div.className = `${styles.black} ${className} async-modules-${color}`
  document.body.appendChild(div)
  div.textContent = `async css modules (${color}) ${
    getComputedStyle(div).color
  }`
}

Keep the current call unchanged and use xxx.module.css(unused module ) as the basis in other scenarios,
import styles from './xxx.module.css'
export function baseAsync2(className, color) {
  const div = document.createElement('div')
  div.className = `${styles.black} ${className} async-modules-${color}`
  document.body.appendChild(div)
  div.textContent = `async css modules (${color}) ${
    getComputedStyle(div).color
  }`
}

call baseAsync2(styles.black,'...'), it seems to had problem😂

I'm not sure I'm following, but it seems like what you described would be the desired outcome.

In this case, it seems that the problem cannot be solved 🤔
@patak-dev @IanVS

I've tried to understand what's going on here, and failed.  :(  What do the chunks with boxes around them represent?

import('blue.module.css')
import('red.module.css')
import('red.module.css')
import('blue.module.css')

will generate
<link rel=stylesheet src=blue.module.css />
<link rel=stylesheet src=red.module.css />

Hmmmm, I see.  Is that something that should normally be supported?  I think the same thing can essentially happen in synchronous css imports, too, right?  Which is why it's important to be careful about the order in which css is imported, I guess.  I think it's still worth trying to solve the original problem mentioned in #3924, and I think you're close, using the depth-first approach.

FWIW, I pushed up another test to https://github.com/vitejs/vite/pull/6044 that I think is reasonable to expect to work correctly, but unfortunately does not with the change in your branch.  I hope it helps a little.

Oh interesting, my new test is not failing in CI here, only your test for the other edge case is.  I'll have to take another look at it, I guess.

hhhh,yes. maybe depth first can resolve your test. but my tests is can't resolve

is hard to make css module depth first import in dev serve 🤔

@IanVS  After a few days of thinking, I don't think it is necessary to change the loading to depth first, because even depth first can't handle the situation (for example, the red->blue order is needed first, and then blue->red is needed)
In the end, I think maybe it is ideal to ensure that the results of dev and build are consistent.
Since dev should be the default loading behavior of browsers with type=module, we cannot change it to satisfy the test results.

@poyoho do you have any thoughts on how #3924 can be solved?  Maybe css code-splitting is just not possible when using async imports?  Or, maybe it needs to be changed so that it does not extract out common chunks in the css, so that each dynamic import is entirely self-contained?

@IanVS It may not be caused by css split code, because now this case strongly depends on the order of css, and the loading behavior of dev and build is different. My current direction is to make build have the same behavior as browser es loading.

Hey! Any progress on this? Running into this exact issue

It's almost finished now, but it's stuck at one point. Now the loading order should be as expected, but there is still a problem with the execution order
Why pre-load blue.module.css but execute first__vite__updateStyle is post-load  red.module.css 🥲


Support Conan

What?
Provide PEGTL support to Conan package manager
Why?
To any user consume PEGTL as Conan binary package.
How?

Write conanfile.py (recipe)
Write test_package (recipe validation)
Run under Travis and Appveyor
Push to Bintray

Closed by #112


how is the CO annotation generated?

Thanks for providing such a useful resource summarizing expression profiles from lungs.
I checked the labels provided on cellxgene, there are several sets of labels. I understand how the author provided labels are generated according to the method section in the paper. but how are the CO labels  in the standard categories generated? I noticed there can be inconsistency between any level of the annotation compared to it.
Cheers,
Yue

Hi Yue,
Thank you for your kind words! You can find the exact mapping we used to go from the final annotations to the cell-ontology-based ones in the reproducibility GitHub, here: https://github.com/LungCellAtlas/HLCA_reproducibility/blob/main/supporting_files/metadata_harmonization/cell_type_mapping_to_cellontology.csv
Let me know if that answers your question or if you need anything else!

Thanks, Lisa, that's very helpful.


[riverpod_graph] Change package structure and add a first test

This PR

Moves the logic to the lib/ folder
Adds comments in the code
Allow us to give an optional path to the command line to specify the project to analyse (if not provided, it uses the current directory)
Usage:dart run riverpod_graph path/to/the/directory

Adds the first test

Thanks 😄

Fancy supporting the split in sub-graphs as we discussed?
I was thinking of having:
/// {@graph "UI providers", "Home providers"}
final provider = Provider<int>(...);

And this would put the provider in boxes named accordingly.

We could likely have the sub-graph logic default to using file names. So if no @graph is specified, it'd use that

@rrousselGit Sur I can work on that next.
I would suggest @riverpod_graph instead of @graph because I feel it would be too generic. What do you think?
So to be clear, in your example
/// {@graph "UI providers", "Home providers"}
final provider = Provider<int>(...);

provider would be in the subgraph  "Home providers" which would be in the subgraph "UI providers" ?

The name @graph doesn't really matter I think. We probably could use the official @category. I think it'd make sense

provider would be in the subgraph "Home providers" which would be in the subgraph "UI providers" ?

Home wouldn't necessarily be a sub-graph of UI. They'd be two distinct categories.
You could have a provider in Home that's not in UI and the opposite


<EMAIL_ADDRESS>

Hello @Vertexwahn, modules you maintain (zlib-ng) have been updated in this PR. Please review the changes.

@Wyverald Thanks for taking a look. I removed the unnecessary files. The previous patch was just created with git show > xxx.patch, but for some reason the patch file format was invalid (CI said "can't patch WORKSPACE.bazel").
I removed the redundant files and used a git diff > xxx.patch instead.

@Wyverald Ah I believe the reason the patch failed was that the WORKSPACE.bzlmod didn't contain any content, and so the info
--- /dev/null
+++ b/WORKSPACE.bzlmod

wasn't part of the patch. I added an empty line. That should fix it.

@aaronmondal Windows is failing.


Fix error overwriting search results in AddContact

Fixes #1056. Two main changes:

In the contacts search reducer, leaves results in the state when processing error action.
In the selector, will display the error (if there is one) and the results already loaded.

Don't want this one to get too far out of date... what's the hold up @undercase ?

@asutula No hold up, this one totally slipped my mind. Merging it right now.

The ios test just timed out, so I can't merge this now.

ftfy!

Thanks!


Prototype: Data Source V2

TODO:

[ ] write path
[ ] session-level options
[ ] various operator push down support

@RussellSpitzer @rdblue thanks for your suggestion! I generalized hash partition push down to clustering push down. Spark doesn't really care how the data is partitioned, hash or range, the only requirement is about clustering.

The last comment adds more colors to the clustering push down, thinking about joining a Cassandra table and an HBase table in Spark, assuming both Cassandra table and HBase table can satisfy the clustering requirement according to the join keys, Spark still can't perform the join because I believe Cassandra and HBase have different partitioners.
For this case, we can just re-shuffle both join sides and cancel the clustering push down, or we could introduce the Partitioner concept, and shuffle the Cassandra table with HBase partitioner or in reverse, so that we can still avoid shuffle for one side.
Any thoughts?

I'm fine with adding a full "partitioner" concept. Doing a one sided shuffle seems better than shuffling both sides. I thought this is how the basic "RDD" join works. It checks whether one side has defined a partitioner and shuffles the other side if it doesn't.
We already did a lot of this work for the RDD world so it wouldn't be all that different for Dataframes.

@j-baker thanks for your feedback! I think we need more discussion about the current interface mix-in framework vs the query plan push down framework.
current interface mix-in framework
Pros:

easy to extend, just add new interfaces for new functionalities.
easy to maintain, we can still keep binary compatibility while adding more interfaces.
easy to use it at Spark side. By looking at which interfaces a data source implements, Spark can easily decide which part of the query plan can be pushed down and which part should remain at Spark side.
java friendly.
Cons:
like @j-baker pointed, it's hard to implement if you mix in a lot of interfaces, because you need to cache a lot of stuff. It can get worse if different push downs interact with each other and you need to go back and revert something.

query plan push down framework
Pros:

push down everything at once, so it's easier to deal with the case that different push downs interact with each other.
the interface will be very simple.
Cons:
Hard to keep backward compatibility. Ideally we don't want to push down the whole query plan to data source, and only push down parts of it we deem to be stable. But later if we think more plans can be stable and pushed to data source, we can't just push it, because old data source implementations may not expect to see these new plans.
java friendly? It's easy to transform query plan in scala, but for java, I think we can only come out with something like the visitor pattern. Using a visitor, I think we will face the same issue as the interface mix-in framework. In the visitor, you visit query plan node one-by-one, so the visitor need to maintain a state during the transformation.

One thing I'd like to note here is that we don't consider the pain of serialization, which leads to sad init logic.
At the moment, the read and write tasks need to be serializable, and also directly do the work of getting and putting data. In practice, making an object graph be serializable is unpleasant (especially in Java 8, where lambdas end up being a frequent source of bugs), and so in general we've ended up serializing the objects required in order to construct the object graph - i.e. instead of serializing a complicated client, serialize () -> ComplicatedClient.construct(serializableParams) - the information required to create it.
However, this would make our impl of the read and write tasks look something like
class MyReader {
    private final ImmutableMap<String, String> params;
    private MyActualReader actualReader;

    public void initialize(StructType schema) {
        actualReader = MyActualReader.construct(params);
    }

    public T next() {
         return actualReader.next();
    }
}

which to me is a code smell. I'd much prefer that the tasks have no init method, and have a method which returns the actual reader, e.g.
class MyReader {
    private final ImmutableMap<String, String> params;

    public ActualReader reader() {
         return MyActualReader.construct(params);
    }
}

which both reduces the ability for my class to end up in a broken state because someone forgot to call initialise, and reduces the extent to which business logic ends up intertwined with the (essentially) scheduling information.
This is just a thing we've found generally useful as a pattern when interacting with the current Spark code.

Hey so Wenchen - rather than implementing every single feature in one go, I think you should push a bare minimal one upstream first, and then think about implementing other ones. For example, I'd leave out sort pushdown, partitioning, clustering, etc.
In general we should design things so they are compatible, but with the current framework it is pretty easy to add those. Otherwise this will just keep going on and on and on and on forever. For such a large change it'd be better to break it down in piecemeal, and merge the critical infrastructure early on, rather than having them merged a week or two before code freeze and then finding out bigger issues that end up delaying the releases.


Investigate throttling behavior of scrubber widget

It seems that in certain scenarios at least the throttling behavior of the scrubber widget is not behaving very well at all causing large backlogs of events to accumulate and thereby clogging up the kernel execution queue. This was originally encountered in https://github.com/pyviz/EarthSim/issues/32.

I believe the scrubber widget also needs to be documented somewhere on the website, unless that was done recently.

Got it. Looks good!


Does flv.js support parsing Annex B based NALU ?

I tested my own Annex B based NALU stream and flvjs always gives me warning [FLVDemuxer] > Malformed Nalus near timestamp 47729603, NaluSize > DataSize!
After a little source digging, it seems that _parseVideoData only calls _parseAVCVideoPacket for video packets.
So does flv.js only support H.264 raw stream with format AVCC ?

你估计少了2个字节，我之前也遇到过，查了末尾少了2字节

@carlson-dev I think it's only supporting AVCC


Doesn't work correctly on HHVM

When running under PHPUnit as a validation of the bloom filter, we get the error message
00:53:59 Object of class GMP could not be converted to int
00:53:59
00:53:59 /home/jenkins/workspace/composer-package-hhvm-jessie/vendor/makinacorpus/php-bloom/BloomFilter.php:100
00:53:59 /home/jenkins/workspace/composer-package-hhvm-jessie/vendor/makinacorpus/php-bloom/BloomFilter.php:149
00:53:59 /home/jenkins/workspace/composer-package-hhvm-jessie/src/PasswordBlacklist.php:28
00:53:59 /home/jenkins/workspace/composer-package-hhvm-jessie/tests/PasswordBlacklistTest.php:34
00:53:59

And similarly, when trying to create a filter under hhvm, we get the same error...
Notice: Object of class GMP could not be converted to int in /home/reedy/PasswordBlacklist/vendor/makinacorpus/php-bloom/BloomFilter.php on line 100

Hum this is weird. FYI HHVM is not an targeted runtime, if it works with it, fine, if the patches to make it works are easy enough, fine, but if it just doesn't work, I won't fix myself.

It seems there hasn't been any demand or help provided for this, I'm closing this issue, HHVM has never been a target.


Only fetch and display IN_APP Notifications in the UI

Right now every notification inside the DB is shown in the UI. However, maybe we want Email-only notifications, but still we want to persist them in the DB so we make sure we're not triggering them twice.

Done!


How to use the output of model.predict in sequential models

Hello, i want to use an implicit sequential model for building a nice rec sys, but i don't understand whether the output of func model.predict is related to all the users. how can the one actually use these data to map it to the real id's of items?

Could you show me the way to make prediction, I'm kind of stuck. Thank you!


path error when launching workspace with extension installed

Describe the Bug
Get the following error when launching a workspace with the extension installed:
"Error generating autocomplete suggestions. The "path" argument must be of type string. Received type object"
Steps to reproduce the Bug
Steps to reproduce the behavior, e.g.:

Open VSCode
Search for Extension
Install
Reload
Error is shown after extension checks environment
Autocomplete no longer works

Screenshot of error
https://cl.ly/a4fc866015b4
Managed to get log output:
vscode-customcss is active!
[vscode-icons] v8.6.0 activated!
[eg2.tslint] Accessing a window scoped configuration for a resource is not expected. To associate 'tslint.jsEnable' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
	at assertPath (path.js:39:11)
	at Object.join (path.js:1157:7)
	at Object.getSDKCompletionsFileName (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/providers/completion/completionItemProviderHelper.js:59:17)
	at Object.<anonymous> (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/providers/completion/completionItemProviderHelper.js:202:45)
	at Generator.next (<anonymous>)
	at __awaiter (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/providers/completion/completionItemProviderHelper.js:7:71)
	at new Promise (<anonymous>)
	at __awaiter (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/providers/completion/completionItemProviderHelper.js:3:12)
	at Object.generateSDKCompletions (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/providers/completion/completionItemProviderHelper.js:200:12)
	at /Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/extension.js:204:46
	at Generator.next (<anonymous>)
	at __awaiter (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/extension.js:7:71)
	at new Promise (<anonymous>)
	at __awaiter (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/extension.js:3:12)
	at generateCompletions (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/extension.js:195:12)
	at vscode.window.withProgress.appc_1.default.getInfo.error (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/extension.js:153:29)
	at ChildProcess.getInfo.proc.on (/Users/jkneen/Documents/Appcelerator_Studio_Workspace/vscode-appcelerator-titanium/out/appc.js:44:28)
	at ChildProcess.emit (events.js:182:13)
	at maybeClose (internal/child_process.js:961:16)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)

Looking at the code in debug mode, I was able to find the function that's failing and wrote out the version variable which was coming back as:
_:"6.1.2.GA"
$:Object
platform:"android"```

If I do the path manually so

return "/users/jkneen/.titanium/completions/alloy/1.13.9/completions.json"

it works fine. Not sure WHY 6.1.2.GA is coming up!

The variable that node appears to be throwing on is declared here. Which should just be pulling the sdk-version tag from the tiapp here. Maybe the formatting of that is bad?

Yeah I think it's down to that, I can get the same error when my sdk-version is set like so <sdk-version platform="android">8.0.0.GA</sdk-version>, the inspector seems to match what you pasted above too

Ahhh -- dammit -- got it -- stupid TiApp.xml has TWO sdk-version tags and one is for Android -- they've used the platform= attribute but that doesn't work for this tag so it's picking up the second one which is ANDROID and 6.1.2!
<sdk-version platform="android">6.1.2.GA</sdk-version>
<sdk-version platform="iPhone">7.5.1.GA</sdk-version>

doh!

That's a new one to me 😆, I'll reopen this though so we can improve the validation and error reporting rather than having node throw this

👍


Update pureconfig to 0.17.0

Updates com.github.pureconfig:pureconfig from 0.12.3 to 0.17.0.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.12.3).
You might want to review and update them manually.
project/Dependencies.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.pureconfig", artifactId = "pureconfig" } ]

labels: library-update, semver-minor, old-version-remains

Superseded by #242.


Bug found in "pyntcloud.io.read_obj()" function

Description
If one tries to load an .obj file using the library, the following error occurs:
TypeError: Could not operate 1 with block values unsupported operand type(s) for -: 'str' and 'int'
This happens because the code does not correctly handle missing texture vertex coordinates in the .obj file. If there are no texture vertex coordinates, None is written to the pd.DataFrame and you cannot subtract 1 from NoneType while correcting the indices.

The error can be reproduced with a simple cube example from https://de.wikipedia.org/wiki/Wavefront_OBJ
File attached: cube.obj.zip

Fixed un #253


Add commit tagging for images

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

[test]


Endgame Data Formalization

There is no set format for the data being sent in a endgame socket event. all it says is
"score": scores of game
"timeout": double
"gameData": array of all data of the scores and such
This must be refined.

Closed by 35b781790cc41ddb9b8e6c6c45822135b1385923


How can I render all the items from a particular Content-Type?

Can I render all the items from a particular content type as a drop-down menu?
Right now I can choose only one entity. How can I make it display all?

Hello @mcnaveen
Unfortunately, there is no possibility of attaching more than one entity to the same navigation item.

Oh. Let me find another way. Thank you.


Typing @{ results in @DateTime{}

This happens when DateTime is already used somewhere in the document.
When I try to start a Razor code block with @{, it autocompletes it to @DateTime{}.
Type @,

then type {,

VS Code version: 1.29
Omnisharp version: 1.17.1
OS: MacOS Mojave
Project template: dotnet new razor
dotnet SDK version: 3.0.100-preview-009730

We can probably fix this by removing the { commit character from completion items when they're following a transition.

@danroth27 thoughts about this being alpha 3?

37b4238c2e64866efbc232e203ad117f4b987eaa


Custom html title

issue #107
Any feedback are welcome, it's my first PR ;)

Thanks for working on this. Looks good, I added a few comments :+1:

Thank you for your contribution @mathcarignani. This will be in the next version :+1: :rocket:

Your work is awesome and contribute with it is a pleasure for me! :+1:

Top! Thanks a lot!


Timecal clock 0.05 - settings fixed

fixes settings (defaults) of #1154
I have invalidated the .test.js by rename it to ._js

Thanks!


Add support for the hardware type 'r640' that belongs to different racks

This PR adds support for only OSP17
Partially resolves https://github.com/redhat-performance/jetpack/issues/523

This PR adds support for only OSP17 Partially resolves #523

Change Partially resolves to Partially addresses. Partially resolves will close the issue.

This PR adds support for only OSP17 Partially resolves #523

Change Partially resolves to Partially addresses. Partially resolves will close the issue.

ack


GEODE-6143: remove PowerMock from PartitionedRepositoryManagerJUnitTest

Thank you for submitting a contribution to Apache Geode.
@mcmellawatt
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

It looks like IntegrationTestOpenJDK8 failed with a failure I haven't seen before.  Not related to this PR, but may require filing a new Geode Jira...this looks similar but not exactly the same, and was also resolved recently:
https://issues.apache.org/jira/browse/GEODE-3506


Info window shows and is stuck to the side when clicked

I am running into a strange issue where when I load my marker information from a $http call, the info window appears off to the side and is stuck when clicking on the marker.
The markers will work fine when I provide the data in a similar way to the example:
vm.mapLocations = [{
        id: '1',
        name: 'Games on Tap Board Game CafÃ©',
        shortDescription: 'This Is A Description',
        position: '321 Weber St N, Waterloo, ON N2J3H8, Canada',
    }, {
        id: '2',
        name: 'Escape Matrix',
        shortDescription: 'This Is A Description',
        position: '57 Lodge St, Waterloo, ON N2J2B6, Canada',
    }, {
        id: '3',
        name: 'The Ultimate Escape',
        shortDescription: 'This Is A Description',
        position: '1-, 105 Lexington Rd, Waterloo, ON N2J4R7, Canada',
    }, {
        id: '4',
        name: 'Kitchener Kicks',
        shortDescription: 'This Is A Description',
        position: '50 Ottawa St S #111, Kitchener, ON N2G2R4, Canada',
    }, {
        id: '5',
        name: 'KM Krav Maga Canada',
        shortDescription: 'This Is A Description',
        position: '3135 Universal Drive, Mississauga, ON L4X 2E6, Canada',
    }];

However, when the data for the markers is grabbed like this:
$http.get('/api/discover/locations').then(function(results){
        vm.mapLocations = results.data;
        angular.forEach(vm.mapLocations, function(value, key) {
            value.position = value.streetAddress + ", " + value.city + ", " + value.province + " " + value.postalCode + ", " + value.country;
            value.id = value.idAddress;
        });
    });

I will run into the problem. Attached is a screenshot comparison.

This is the HTML code I am currently using:

                <ng-map default-style="true" center="{{ mapOrigin }}" zoom="15" disable-double-click-zoom="true" styles="[{featureType:'poi',stylers:[{visibility:'off'}]}]" class="discoveryMap">
                    <marker id='{{ location.id }}' position="{{ location.position }}"
                        ng-repeat="location in vm.mapLocations"
                        on-click="vm.showDetail(location)">
                    </marker>
                    <info-window id="location-iw" max-width="400">

{{ vm.location.name }}

                                {{ vm.location.shortDescription }}

                    </info-window>
                </ng-map>

Any ideas or has anyone run into this issue before? Help would be greatly appreciated!

You need to create a plunker for this to re-create your issue in publick. Without it, it's hard to help.

@allenhwkim It turns out that the problem was because the id was an integer and not a string.


Import very slow with a large database

Logstash-2.2.2, CouchDB-1.6.1, Ubuntu-14.04. I'm throwing the data into ElasticSearch, either 1.x or 2.x - doesn't matter, behavior is the same.
This may appear to be related to issue #11 but I believe this might be different actually.
Basically, with a CouchDB database of 30 million records, I can never get it to sync up. It parses the first 1 million documents quickly (thousands per second), then it slows down. By the time it's around 15 million, it's only updating about 5 / second. It will never finish with a much larger DB.
Restarting Logstash does not help at all (this is different from issue #11 where restart makes it fast again).
Logstash and ElasticSearch have enough memory, and are not swapping. When it's slowed down, ES doesn't use almost any CPU at all.
I believe this is related to the degree of parallelism. couchdb_changes plugin (Couch to Logstash to ES), River (Couch to ES), and CouchDB replication (Couch to Couch) - they all use the _changes API in CouchDB. The behavior is the same for all three. They all start out very fast, but slow down after a few million records have been imported.
The difference is that CouchDB replication by default runs with a high degree of parallelism, about 50 connections or so. I've had good results bumping it up to these parameters, on a connection across the continent (70 ms latency):
"http_connections": 200, "worker_processes": 40, "worker_batch_size": 1000

I've done some tests with River. "max_concurrent_bulk" : 100 makes a huge difference, it's very fast, it grabs the first 1 million documents in 5 minutes, then it slows down somewhat. Bumping it up to 1000 doesn't seem to improve it much, there's probably a limit somewhere. I didn't have time today to test it with the big DB to the end. Tomorrow I'll test it with a 30 million docs DB.

I guess what I'm saying is - there appears to be no way to tell couchdb_changes to do many queries in parallel on CouchDB, with a config item to allow to change the number of parallel queries. Having something like this would be very helpful in speeding up the initial sync-up phase.

How do you parallelize (cleanly), a serial stream output?  Any extra threads will likely re-read the same data, which is redundant.  The _changes endpoint is for listening to, rather than being something you can query.  Yes, you can specify which id to start at, but that's a different thing entirely.
I'm curious how you'd see this being handled in parallel.

@FlorinAndrei have you resolved this issue somehow?


feat(open-source): become zalando-independent

The (zalando-specific) realm property was removed from OAuthConfig.
Also, the corresponding constants (SERVICES_REALM and
EMPLYEES_REALM) were removed. Instead, you can add the realm (and
arbitrary other query parameters) via the queryParams property in
OAuthConfig.
close #40

:+1:

👍

👍

:+1:


Add security policy

I just copy/pasted the scorecard policy.
Not sure if we need to ping the team that manages the email before merging this PR, so they are aware of it :thinking:

@UlisesGascon — I'm going to close this for now. See https://github.com/ossf/scorecard/issues/4194.


POSIX: Fixes for HRT implementation of simulated HW clock polling

There is a race condition for the accel and mag polling rates.
Whichever one gets set first, the other will be uninitialized.
Set the mag polling rate to 1ms if uninitilized.
The workqueues measure time in ticks  which is typically 10ms.
Some interrupt events in Nuttx occur at about 1ms so a more
granular workqueue is needed for POSIX.
Added a separate hrt_queue for handling fast periodic events.

@mcharleb Is this ready for testing?

This should be OK for testing now.

@mcharleb Thanks!

Code wise the changes look good and valid. No surprise it didn't work well before since we rely on the us-resolution scheduling in a lot of places. Can be merged once testing says its ready.

I don't see where the failures are?

You need to download the log and search for "Error 1", which will get you straight here:
[1m/home/travis/build/PX4/Firmware/src/platforms/posix/drivers/airspeedsim/airspeedsim.cpp:217:16: [0m[0;1;31mfatal error: [0m[1m
      comparison of integers of different signs: 'unsigned long' and 'long'
      [-Wsign-compare][0m
  ...if (ticks < USEC2TICK(_conversion_interval))
[0;1;32m          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m1 error generated.


Implement feature score for linear model.

Port R feature importance to the new implementation.
Add linear model support in C++ and Python.

Java code should be fine, I'm just fixing some tests.


Unable to install Office plugin

System information:

Operating system (distribution) and version - windows 10
DBeaver version - 7.1.4
Additional extensions

Connection specification:

Database name and version
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing: unable to install office plugin

Steps to reproduce, if exist: xml ifle extension is changed to xz, removing and ".xz" and converting file extension once again to xml do the magic.
Include any warning/errors/backtraces from the logs

Do you use eclipse or standalone DBeaver?

No eclipse, standalone DBeaver

Could you please try to remove DBeaver completely and install it again?

I tried by removing and reinstalling but issue persist. error - system unable to find xml file as i mentioned above currently concerned file is with xz extention.

Could you please try latest 7.1.5 https://dbeaver.io/download/ ?

Tried with latest version but no success, but when i copied files from server and placed them on local system and remove xz extention from xml file, it worked.

dbeaver-debug.log
log.log

cannot reproduce an issue against 7.3.0.
If it is still actual for you - feel free to reopen it with additional info.


Rework Workflows and Build

Aligns workflows with https://github.com/vshn/espejo

The latest image tag now points to the latest git release instead of master. Do we want to keep pointing latest to master or only point latest to a stable release?

Introduces Goreleaser for building the binary, docker images and changelogs in workflows

I'm not sure what to do yet with CHANGELOG.md, it's already outdated... should we remove this?
After a release has been created by Goreleaser, we can still copy the release changelog from CHANGELOG.md if we want to keep this. At least Goreleaser prepares a nice changelog format.

The CRD of K8up is attached to K8up releases for easy download or apply to clusters
Dockerfile and Go updated to 1.15
Adds K8up mirror image on quay.io
Added Renovate
Adds more nice badges

The latest image tag now points to the latest git release instead of master. Do we want to keep pointing latest to master?

The idea of pointing :latest to the latest release sounds interesting. What about having a :master tag which points to the master branch?

I'm not sure what to do yet with CHANGELOG.md, it's already outdated... should we remove this?

Yes, let's remove it and let Goreleaser to it's job.

The idea of pointing :latest to the latest release sounds interesting. What about having a :master tag which points to the master branch?

We could that as well. Also interesting is to have a floating Major-SemVer tag. At the moment, K8up is a v0 release, so it would be v0, but once mature and we release 1.0, there's an additional v1 tag. Similar to Espejo: https://hub.docker.com/r/vshn/espejo/tags?page=1&ordering=last_updated


Support for loading models with custom name

/kind feature
Is there any way I can load models with custom name when I start a InferenceService
[ In my project, I fetch model from external URI, and serve it by using InferenceService. But it dosen't work when the file name is not model.joblib. ]

@MimeZoe0628 can you mention the server that you using?

@MimeZoe0628 can you mention the server that your using?

scikit-learn

@MimeZoe0628
What uri were you using? http?

@MimeZoe0628 can you share example inferenceservice yaml?

Currently kserve is assuming a default name for the models when they are mounted to the pod. So It works only if the name is model.joblib. This may be a defect. Can you pls add the support


Add fallback message handler

(As discussed on Discord)
My usecase requires potentially processing all non-command messages, and I found the only way to robustly do this was to add a general event handler and then parse all messages twice to check whether they are valid commands or not. It would be nice to have an exposed API to process any message that wasn't found to be a command, perhaps exposing the reason it failed to parse as a command—though that's beyond my own use case

Another option would be to expose prefix::strip_prefix as a public API, though that's less 'robust'

Implemented in https://github.com/serenity-rs/poise/commit/1f0abfbc4c6d79af62867ff94fe79f5ae4fe6f8f. Feel free to try it in your bot via a cargo git dependency ^^


[Feature Request] CompositeCell.Data compatibility issues with existing logic

Issue
To interact between ARCtrl and Excel for example i use the CompositeCell.GetContent() function. This returns 1, 3 or 4 strings in an array. Which i also use to reverse the information into the correct cell type.
The new Data cell also returns 3 strings and makes the logic not unique anymore. Combined with a lot more settable fields i am unsure how to progress from this point:

https://github.com/nfdi4plants/ARCtrl/blob/dc3822fd1fec14c6009425e618531adf8828119a/src/Core/Table/CompositeCell.fs#L50
Requirements

CompositeCell.GetContent must return an array of strings, which must have a unique number of strings according to CompositeCell type.
CompositeCell.GetContent must be fully reversible.
Due to the same issue, Data cell information must always fully be written in excel. Currently it omits complete empty columns.

After discussion with @Freymaurer, this is not possible.
Header is necessary to distinguish between the types of 3 cell Data content and e.g. Parameter content.


release 0.5: security, interceptors and live coding, last graal version

@shumonsharif  we have feedback that it s work perfectly. If you are ok, we can release because it contain many new things.
I plan to wait a week but when I see comment of user to confirm that it works. I am tempted to do it quicker.
wdyt ?

@dufoli I completely agree ... some awesome features went into this version, I think it's a good decision to release!  A big kudos to you, and to everyone using the extension as well for all their support and feedback!!  I look forward to where this takes us!!  :)


Extensibility NL local report 11405 'Submit Elec. Tax Declaration'

Report 11405 opens a Request Page where the user needs to upload two certificates, and enter the password for one of these certificates.
We need an event that (1) enables us to provide these three things (2 certificates, 1 password), and (2) if these are provided, suppresses  the opening of the Request Page.
Security is very important here; it is imperative that the data that is entered through the event is not available to other apps that should subscribe to the same event; so the 'usual' way to have a Handled parameter and some VAR parameters may not be secure enough.

For the security bit: possible solution (only on SaaS)
Create a single-instance codeunit; have an [External]  function that allows Apps to set the 2 certificates and the password, but have the functions to read the certificate be [Internal] so that other Apps cannot use that.

For the new features please submit a product suggestion on https://aka.ms/bcideas


Add configuration options cache_expiration, cache_max_size

The documentation in
https://github.com/bundler/gemstash/blob/master/docs/gemstash-customize.7.md is what this PR needs to be complete.

Here are some strings for the documentation:

cache_expiration: Number of seconds to keep the cache. This options applies to all caching.
cache_max_size: Number of items to retain in cache. This option applies to :memory cache.

@bundlerbot r+


Attribute embedded-clock(leaf-list) needs to be included to sync-model

As a consequence of the coreModel issue#22 , we require to include the leaf-list embedded-clock in sync-model and augment it to the logical-termination-point in core-model.
Sharing a draft of the resulting yang ,
augment "/core-model:control-construct/core-model:logical-termination-point" {
    uses embedded-clock-spec;
    description
      "none";
  }
grouping embedded-clock-spec {
    leaf-list embedded-clock {
      type leafref {
        path "/core-model:control-construct/sync-model:clock-collection/sync-model:clock/sync-model:local-id";
        require-instance false;
      }
      description
        "none";
    }
    description
      "none";
  }

Informal decision made during the 5G-xhaul call on 26th of January 2022:
The augments proposed by Prathiba above shall be part of the initial delivery of the Synchronization YANG, which is to be reviewed by the group members in total afterwards.

Should be covered by EmbeddedClockSpec class containing _embeddedClock : Clock [*] attribute.

It seems SynchLtpSpec and EmbeddedClockSpec were actually redundant and deleting EmbeddedClockSpec was fine.

Expectation on YANG: "_embeddedClock" attributed is added by augmentation of SynchLtpSpec to the CoreModel:LTP.

yes , the comment is correct.
Reason :
In the current CoreModel , the following 2 attributes refers embeddedClock  ,

phase-aligned-clock
encompassed-clock

As per the issue , this two attributes will be pruned from CoreModel and added to SyncModel.
So pruning the embeddedClock  attribute from CoreModel will be fine.


Update PinkyPromise and Serpent hashes

Updating project sources for PinkyPromise and Serpent to resolve the failure seen in SR-8250. Only affects the 4.2 and 5.0 configurations.

@swift-ci test


Android Studio Solution

Since android studio does not support JCEF and the built-in server requires authentication, which hinders the operation of this plugin.
https://issuetracker.google.com/issues/159933628
https://issuetracker.google.com/issues/112765987

Version 1.6+ has supported android studio, you can install jbr with jdef in the following way.

Install the plugin “Choose Runtime”
Select the corresponding jbr version to download through the link, which must have JCEF. https://confluence.jetbrains.com/display/JBR/Release+notes+and+builds
Refer to Selecting-the-JDK-version-the-IDE-will-run-under, select the downloaded jbr.

Version 1.6+ has supported android studio, you can install jbr with jdef in the following way.

Install the plugin “Choose Runtime”
Select the corresponding jbr version to download through the link, which must have JCEF. https://confluence.jetbrains.com/display/JBR/Release+notes+and+builds
Refer to Selecting-the-JDK-version-the-IDE-will-run-under, select the downloaded jbr.

OK

已成功

已成功

你好，可以发一下 Android Studio 的配置的版本和步骤吗？

最新版本Android Studio 无法直接找到“choose runtime”插件，可以在官网下载后本地加载，然后选择支持FCEF的jbr即可：参考这个blog:   https://blog.csdn.net/tangshg/article/details/120776057

可以下载支持的jbr，将文件夹名称更改为jre，替换掉 android studio 根目录的 jre即可

最新版本Android Studio 无法直接找到“choose runtime”插件，可以在官网下载后本地加载，然后选择支持FCEF的jbr即可：参考这个blog: https://blog.csdn.net/tangshg/article/details/120776057

android studio 可以通过 help->find action->choose runtime 来打开这个插件，然后install你下载的jbr

There is no "Choose Runtime" Plugin. The solution does not work.

There is no "Choose Runtime" Plugin. The solution does not work.

@hendrysetiadi89 https://plugins.jetbrains.com/plugin/12836-choose-runtime

在安装完choose runtime后，可以先尝试双击 shift 键，搜索 Choose Boot java Runtime，接着在 New 那一栏选一个JCEF安装，安装成功后重启即可。若是此方法失效，再考虑下载对应版本的 jbr 来安装

Go to Help > Find Action

Type Choose Runtime and select Choose java runtime

Select run time which says with JCEF in it and restart the android studio

最新Android Studio Hedgehog | 2023.1.1 Patch 2
Build #AI-231.9392.1.2311.11330709, built on January 19, 2024
Runtime version: 17.0.7+0-b2043.56-10550314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
external.system.auto.import.disabled=true
suggest.all.run.configurations.from.context=true
debugger.new.tool.window.layout=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.experimental.ui=true
Non-Bundled Plugins:
leetcode-helper (1.8.5)
Dart (231.9411)
com.shuzijun.markdown-editor (2.0.5)
io.flutter (78.0.1)
该版本尝试选择runtime bundled 后还是找不到JCEF,

Go to Help > Find Action

Type Choose Runtime and select Choose java runtime

Select run time which says with JCEF in it and restart the android studio

This is the simplest solution for Android Studio Kola 2024.1.1


Custom DNS for VPN

Please review the release process for BrowserServicesKit here.
Required:
Task/Issue URL: https://app.asana.com/0/1107339934162485/1204085249612942/f
iOS PR: https://github.com/duckduckgo/iOS/pull/2971
macOS PR: https://github.com/duckduckgo/macos-browser/pull/2883
What kind of version bump will this require?: Major/Minor/Patch
Optional:
Tech Design URL:
CC:
Description:

Steps to test this PR:
1.
1.

OS Testing:

[ ] iOS 14
[ ] iOS 15
[ ] iOS 16
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12

Internal references:
Software Engineering Expectations
Technical Design Template

@samsymons Updated the code so that we'll do a best-effort conversion to IPv4 address, and if it fails, fallback to default.


The CookieStorage src file is not included in the packaged software at npm

The CookieStorage src file is not included in the packaged software at npm (e.g. not present in folder lib, es)

Hi @ottokruse
Can you confirm you see them in the latest version? (1.3.1 as of now)

I just updated to<EMAIL_ADDRESS>and do indeed now see the file.
Thanks


Add summary to setup action

Description
Add capabilities to display a GitHub job summary for any Maven build
Changes

The maven-setup action is now a first-class citizen and ordered first in the README as addressing more use cases
The summary options (skip-*) are transferred from the maven-publish-build-scan to the maven-setup action
The build-scan-shared module has been refactored to reflect the following changes:

Each Maven build generates a build metadata file in ~/.m2/.gradle-enterprise/build-scan-metadata
When a Build Scan is not published:

the scan dump is copied to $RUNNER_TMP/maven-build-scan-data/build-scan-data
the build metadata file is copied to $RUNNER_TMP/maven-build-scan-data/build-scan-metadata

The maven-setup post action collects all unpublished items and uploads them as a workflow artifact
When Maven is invoked to republish a Build Scan, the metadata file is not created but enriched with the Build Scan Link

@jprinet , what is a timeline for this change? I am now updating this action to work with GE and DV plugins. That will be a pretty big change, and I'd like to base it on top of this changes.

As discussed directly, I'll take care of the migration

Is there still a plan to rename the repository gradle/github-actions to gradle/develocity-actions? I think the current name is not ideal.

Is there still a plan to rename the repository gradle/github-actions to gradle/develocity-actions? I think the current name is not ideal.

Yes this will happen once this PR gets merged + a following one to rely on DV API instead of GE API.


FFI changes for Purescript 0.7

Purescript 0.7 breaks backwards compatibility by deprecating inline FFI and removing the implicit Prelude. This patch moves the FFI to a separate JS file and removes use of the $ operator (defined in Prelude).

Thanks!  If you are interested in taking this library over, feel free.  It's been a while since I did purescript stuff, and I suspect it will be a while before I do again.


Panicked at tokio::select

Sometimes app panicked at tokio::select, app does not get any messages.
thread 'tokio-runtime-worker' panicked at 'all branches are disabled and there is no else branch', src/twitch.rs:56

git commit a4e26b3b18eb78cb65d032c57875a4b2a36ff9cf

I shall attempt to fix this.


[BUG]: Performing a build with MORPHEUS_PYTHON_INPLACE_BUILD=ON and MORPHEUS_PYTHON_PERFORM_INSTALL=ON results in morpheus being installed in site-packages

Version
24.10
Which installation method(s) does this occur on?
Source
Describe the bug.
When both of these values are true this should perform an in-place editable install. Instead morpheus is installed into site-packages and in-place.
Minimum reproducible example
./scripts/compile.sh
pip show morpheus

Relevant log output
Click here to see error details
[Paste the error here, it will be hidden by default]

Full env printout
Click here to see environment details
[Paste the results of print_env.sh here, it will be hidden by default]

Other/Misc.
No response
Code of Conduct

[x] I agree to follow Morpheus' Code of Conduct
[x] I have searched the open bugs and have found no duplicates for this bug report

I spent a little time looking into this. When -DCMAKE_BUILD_TYPE=Debug is present, our cmake scripts behave as expected, without it (as it the default with compile.sh) then it presents this bug.


[RFC] Add NNEF frontend

A RFC to add a Neural Network Exchange Format frontend to TVM relay.
Link to discuss

Thanks for the proposal, as a community we recently moves towards the relax IR for latest genAI workloads, additionally, it is unclear how much adoption NNEF have as of now versus ONNX and other formats

Thanks for the note. We are in the process of revamping docs. The latest set of emerging model optimizations like LLMs will be based on relax. https://github.com/apache/tvm/tree/main/python/tvm/relax/frontend/onnx likely is a good reference there

We have updated the PR with Relax frontend, but we have also kept the Relay, as an option, thinking it could be useful to have both, because we noticed performance differences during testing.
We observed that Relax by the default build pipeline is significantly slower than Relay. (On CPU we observed 2 orders of magnitude slower runs, while on GPU 3-5x slower, the models we tested were mobilenet and resnet variants, all static models) We observed the same with the ONNX Relax frontend, so we suspect the issue is with the compilation, not with the frontends. Is this a normal situation with the current state of development of Relax?
By using Meta Schedule with a custom pipeline (with only a ValidateOps transformation), we managed to match or surpass the speed of Relay, but in many cases using the 'zero' or 'default_build' pipelines did not improve the performance.
What is the recommended workflow to be able to reach the performance of Relay reliably (at least on static models)?
Anyways this does not affect the frontend code in the PR so we could move on with that as the frontend is ready to be submitted to TVM. We are just curious for debug/measurement reasons, as we were surprised by the results.

I think the main reason here was relay default incorporate autotuning by default, while Relax dos not.  The main rationale as of now is we would like to choose to decouple metaschedule tuning from the flow.
That does not mean metaschedule cannot be applied, we do encourage users to apply metaschedule for traditional applications. In the build flow, the meta-schedule can then get applied by composing together with default flow.
The zero pipeline as of now mainly focus on some of some extra out of box improvement for latest LLM models and can expand to more in future

Thanks for the info about the schedules and differences, it makes sense.
As for moving on, what would be the next step now? Do you need any other info from us for reviewing?

Leaving it open for another week in case others want to chime in, otherwise LGTM

Great, thank you!


AMBARI-25551. NodeManager doesn't work after adding a new host to a patch upgraded cluster.

What changes were proposed in this pull request?
Added fix for tez/mapreduce2 properties which contains paths to native libraries. Now native paths points to "current" hdp directory, instead of "versioned" ones. This allows to avoid using of invalid paths after patch upgrade performing, when some components can have different versions.
How was this patch tested?
Manual testing.

Run server tests locally with command:
mvn clean package  -pl ambari-web,ambari-server,ambari-metrics/ambari-metrics-common,ambari-views,ambari-serviceadvisor,ambari-utility:
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO]  [INFO] Ambari Web <IP_ADDRESS>.0 ............................... SUCCESS [01:57 min] [INFO] Ambari Views <IP_ADDRESS>.0 ............................. SUCCESS [  2.304 s] [INFO] ambari-utility <IP_ADDRESS>-SNAPSHOT .................... SUCCESS [  3.226 s] [INFO] Ambari Metrics Common <IP_ADDRESS>.0 .................... SUCCESS [ 42.257 s] [INFO] Ambari Service Advisor <IP_ADDRESS>-SNAPSHOT ............ SUCCESS [  0.350 s] [INFO] Ambari Server <IP_ADDRESS>.0 ............................ SUCCESS [29:30 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time:  32:17 min [INFO] Finished at: 2020-09-25T15:09:17+03:00 [INFO] ------------------------------------------------------------------------


Safely delete only succeeded image building jobs

What this PR does / why we need it:
In the previous implementation, the Image Building Janitor simply depends on the job.Status.CompletionTime field which could be nil if the job is still active or failed. This PR avoids panic by checking the job.Status.Succeeded value first and only proceed with the deletion of jobs if its value is positive. I also add Prometheus metrics (image_builder_failed_jobs_count) to track failed jobs. For now, Janitor will do nothing upon these failed jobs and manual intervention is needed from Merlin's administrator to debug them.
Which issue(s) this PR fixes:

Fixes #170
Does this PR introduce a user-facing change?:

NONE

Checklist

[x] Added unit test, integration, and/or e2e tests
[ ] Tested locally

What if you depend on creation time instead? Please avoid the necessity of manual intervention.

What if you depend on creation time instead? Please avoid the necessity of manual intervention. I am refering to this https://github.com/kubernetes/apimachinery/blob/19d98351410f7b9c6b2910a7c8713b064995f180/pkg/apis/meta/v1/types.go#L202

We can use CreationTime or job.Status.StartTime (https://github.com/kubernetes/api/blob/master/batch/v1/types.go#L221) to be more precise. But are we going to ignore the status of the job? In another word, are we going to delete active and failed jobs if their duration is more than retention time (now - start time > image builder's retention)?
Yes, we can automatically delete failed jobs but we may lose visibility about these jobs leading to harder troubleshooting. I prefer to surface those errors so we can act on them asap. I want to avoid undetected and unnoticeable bugs on our image building job. The Prometheus metrics should have us detect the error (we must create dashboard and alerts first).

What if you depend on creation time instead? Please avoid the necessity of manual intervention. I am refering to this https://github.com/kubernetes/apimachinery/blob/19d98351410f7b9c6b2910a7c8713b064995f180/pkg/apis/meta/v1/types.go#L202

We can use CreationTime or job.Status.StartTime (https://github.com/kubernetes/api/blob/master/batch/v1/types.go#L221) to be more precise. But are we going to ignore the status of the job? In another word, are we going to delete active and failed jobs if their duration is more than retention time (now - start time > image builder's retention)?
Yes, we can automatically delete failed jobs but we may lose visibility about these jobs leading to harder troubleshooting. I prefer to surface those errors so we can act on them asap. I want to avoid undetected and unnoticeable bugs on our image building job. The Prometheus metrics should have us detect the error (we must create dashboard and alerts first).

Yes, we should delete all jobs if it has gone beyond retention. We should still emit the job status metrics though so we know if there is problem. Those 2 things can be independent.
The failed jobs doesnt give us much information anyway as the docker log already dissapear and we can just use stackdriver.

Yes, we should delete all jobs if it has gone beyond retention. We should still emit the job status metrics though so we know if there is problem. Those 2 things can be independent. But then, the metrics that's created after the job pass its retention time is probably not useful either as it's too late to be actionable. There is existing metrics for this ( ie. Image build job status metrics)
The failed jobs doesnt give us much information anyway as the docker log already dissapear and we can just use stackdriver.

Understood. I've updated the PR as you've suggested. I entirely forget that we cannot access container logs after several amount of time after the job completed / failed. During my local tests, the log is still exists.


LightTable for Windows and NodeJS

Hi,
I'm trying to use LightTable on windows7 with a node-webkit application i'm building, when i add the nodejs connection and link to my file "main.js" (my app's starting point) i'm getting this:
The node process exited.
The node process you were connected to suddenly quit. Check the console for more information.
node[stderr]:
connect error:Error: connect ENOENT
at errnoException (net.js:901:11)
at Object.afterConnect as oncomplete
What i'm I doing wrong? how to fix it? Any help will be highly appreciated. Thanks!

Closing as this fairly old and doesn't have a reproducible project. If you're still interested in the issue please provide a project and open it on the JavaScript plugin


Remove package-collection and package-registry from top-level command help

rdar://104603198

@swift-ci Please test

@swift-ci Please test macOS Platform

@swift-ci test macos

@shahmishal CI on release/5.8 seems to be pulling in swift-DEVELOPMENT-SNAPSHOT-2023-02-23-a-osx.pkg.
Could we please switch that over to swift-5.8-DEVELOPMENT-SNAPSHOT-...?

@swift-ci test macos


Port/vad

ports the VAD logic from mark2
relevant commits:

adjust for ambient noise - https://github.com/MycroftAI/mycroft-core/commit/78a0067a990ecd11896adc9b5533a3127aa7f947
webrtcvad - https://github.com/MycroftAI/mycroft-core/commit/b4d2f5c3449e6530720087dd9059d0e0e6ea2f2c
silero - https://github.com/MycroftAI/mycroft-core/commit/35fd704e1986c7bbc0c361aa6300a7734cfb6107

needs/includes https://github.com/OpenVoiceOS/ovos-core/pull/82

@NeonDaniel this is ready for review, however it is not ready for merge
the plan is to allow the VAD engine to be a plugin, with no VAD (old style) by default
from the commits in this PR a plugin for silero and a plugin for webrtcvad will be made

the silero integration has been moved to https://github.com/OpenVoiceOS/ovos-vad-plugin-silero

silero/webrtc vad moved to plugins here

https://github.com/OpenVoiceOS/ovos-vad-plugin-silero
https://github.com/OpenVoiceOS/ovos-vad-plugin-webrtcvad

Is this ready for testing? And if so, what would be the best way forward for inclusion as default within OpenVoiceOS, configuration-wise?
I will take care of inclusion of the VAD plugins, however would liek to know what to add within mycroft.conf as default values.

default values are populated in the default mycroft.conf
for the buildroot image we probably want to use the silero plugin by default
"listener": {
    "VAD": {"module":  "ovos-vad-plugin-silero"}
}

Thx, indeed was thinking of silero by default


Use inside use doesn't work anymore

Using fastify, this code works correctly in 0.28 (avvio version 2):
function pluginOk (fastify, opts, next) { next() }

t.test('ok', t => {
  t.plan(2)
  const fastify = Fastify()

  fastify.register(require('./index'), err => {
    t.error(err)
    fastify.register(pluginOk, err => {
      t.error(err)
    })
  })
})

In 0.30.2 (avvio version 3) the second error has this message: Impossible to load "pluginOk" plugin because the parent "" was already loaded
This behaviour is introduced by https://github.com/mcollina/avvio/pull/29 on avvio version 3.
How can I rewrite the previous code in new avvio version?

what is in ./index.js?

index.js is another plugin like
function antoherPlugin(fastify, opts, next) { next() }

The problem are nested register calls. Don’t use the callbacks.

Yeah for independent plugins it should work. But if the internal plugin
uses some decoration provided by the external one, how could I describe
that dependency?
Maybe after?
Il sab 14 ott 2017, 20:48 Matteo Collina<EMAIL_ADDRESS>ha
scritto:

The problem are nested register calls. Don’t use the callbacks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mcollina/avvio/issues/30#issuecomment-336655909, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABAVrY6AF0sU6qWmHP4ahx7ODTitEZNeks5ssQHjgaJpZM4P5YWS
.

 Use another register in the main plugin.

I don't understand. My situation is like this (in fastify):
function plugin1 (fastify, opts, next) {
  setTimeout(function () { // silumate some async
    fastify.decorate('foo', 4) // decorating with the result of the async operation
  }, 100)
}

function plugin2 (fastify, opts, next) {
  console.log(fastify.foo) // using the previous set value
}

How can I register plugin2 underlining the dependency to plugin1 without wrinting a callback hell?
this doesn't work anymore

Just don’t use series. It will work as expected, it will be present in any subsequent plugin that you use. The callback in register is kind of useless.

I'm very confused regarding whatever it is that has changed.
I would imagine developers would want to know that something such as a DB connection is broken before the call to fastify.listen (for example, the mongodb plugin).
My own code is currently split into a collection of plugins, each of which is registered, and then a collection of routes. This now breaks with the "already loaded" error.
Can the expected use of register be addressed somewhere in the fastify repo?

@wooliet there is no need to declare the routes after loading all the dependent plugins. This is already done for you, just call get() (etc) after the relevant register(). Error handing is centralized, if a plugin does not boot, everything stops and error.
If you need to wait for whatever reason, wrap it in a plugin.
The previous order was non-deterministic, and it caused some weird bugs. This is very deterministic. Really, you should not use the register() callback. I'll try to remove that in the next release as it's a source of confusion. You might only want to use it if you need to unwind some other state in case of error.

@mcollina I'm sorry to bother you guys with this, and I'll be glad to move this to the fastify repo if you prefer. But I think there's a communication breakdown somewhere.
Copied below is code that is representative of what used to work (fastify 0.29.2) but now (0.30.2) results in:

Error: Impossible to load "bound _after" plugin because the parent "formBodyPlugin" was already loaded

I am interested in what an updated version should look like.

const async = require('async');
const formbody = require('fastify-formbody');
const fastify = require('fastify')();

async.waterfall([
  next => plugins(next),
  next => routes(next)
], (err) => {
  if(err) process.exit(1);
  fastify.listen('9090', '<IP_ADDRESS>', err => console.log('running'));
})

function plugins(done) {
  fastify.register(formbody, {}, (err) => {
    done(err);
  });
}

function routes(done) {
  fastify.get('/ping', (req, resp) => {
    resp.code(204).send();
  });
  done();
}

@mcollina we should remove the callback definitely.
The callback makes developer confused.
Anyway,
fastify.register(require('fastify-mongodb'), { … })
fastify.register(function (f, o, n) {
  var myColl = fastify.mongo.db.collection('my-collection') // fastify.mongo is defined!
})

@allevo at what point in that flow do you call fastify.listen?

Maybe my hangup is that I don't want to open up the port for incoming requests until I know everything has successfully initialized. But if that's not possible anymore then ok, no biggie.

@wooliet
'use strict'

fastify.register(require('fastify-mongodb'), { … }) // set up the mongo connection

fastify.register(function (f, o, n) {
  // please don't drop you database in production!!!!
  return f.mongo.db.dropDatabase() // the connection is made
})

fastify.register(function setRoutes(f, o, n) {
  var myColl = f.mongo.db.collection('my-collection') // the connection is made
  f.get('/', function (req, reply) {
    reply.send(myColl.find({}).toArray())
  })
})

fastify.listen(function (err) {
  // server up if err is falsy!
})

I'll close this conversation because the issue is "resolved": the use method  (aka register in fastify) keeps the same call order.
If you are other questions/issues please open another one (in fastify or avvio)


Google Mobile-Friendly Test Insights

https://search.google.com/test/mobile-friendly?url=https%3A%2F%2Ffindthemasks.com%2F
[snip]
Tested on: Mar 30, 2020 at 8:59 PM
Page partially loaded
Not all page resources could be loaded. This can affect how Google sees and understands your page. Fix availability problems for any resources that can affect how Google understands your page.
| Resource | Type | Status
-- | -- | -- | --
 | https://maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?1m2&1i753&2i1393&2e1&3u4&4m2&1u412&2u400&5m5&1e0&5sen&6sus&10b1&12b1&key=AIzaSyDSz0lnzPJIFeWM7SpSARHmV-snwrAXd2s&token=61782 | Image | Googlebot blocked by robots.txt
 | https://maps.googleapis.com/maps/api/js/ViewportInfoService.GetViewportInfo?1m6&1m2&1d-8.375929576228124&2d-150.76673237210622&2m2&1d78.17534271146249&2d-39.087671355731246&2u4&4sen&5e0&6sm%40504000000&7b0&8e0&callback=xdc._1s5617&key=AIzaSyDSz0lnzPJIFeWM7SpSARHmV-snwrAXd2s&token=75649 | Script | Googlebot blocked by robots.txt
 | https://stats.g.doubleclick.net/r/collect?v=1&aip=1&t=dc&_r=3&tid=UA-161442455-1&cid=2114056174.1585627148&jid=1129389342&_gid=931927329.1585627148&gjid=174996241&_v=j81&z=118377284 | Image | Redirection error
 | https://www.google-analytics.com/r/collect?v=1&_v=j81&a=2134876339&t=pageview&_s=1&dl=https%3A%2F%2Ffindthemasks.com%2F&ul=en-us&de=UTF-8&dt=%23Findthemasks&sd=24-bit&sr=412x732&vp=412x732&je=0&_u=IEBAAUAB~&jid=1129389342&gjid=174996241&cid=2114056174.1585627148&tid=UA-161442455-1&_gid=931927329.1585627148&_r=1&gtm=2ou3i0&z=118377284 | Image | Redirection err
| Resource | Type | Status
-- | -- | -- | --
 | https://maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?1m2&1i753&2i1393&2e1&3u4&4m2&1u412&2u400&5m5&1e0&5sen&6sus&10b1&12b1&key=AIzaSyDSz0lnzPJIFeWM7SpSARHmV-snwrAXd2s&token=61782 | Image | Googlebot blocked by robots.txt
 | https://maps.googleapis.com/maps/api/js/ViewportInfoService.GetViewportInfo?1m6&1m2&1d-8.375929576228124&2d-150.76673237210622&2m2&1d78.17534271146249&2d-39.087671355731246&2u4&4sen&5e0&6sm%40504000000&7b0&8e0&callback=xdc._1s5617&key=AIzaSyDSz0lnzPJIFeWM7SpSARHmV-snwrAXd2s&token=75649 | Script | Googlebot blocked by robots.txt
 | https://stats.g.doubleclick.net/r/collect?v=1&aip=1&t=dc&_r=3&tid=UA-161442455-1&cid=2114056174.1585627148&jid=1129389342&_gid=931927329.1585627148&gjid=174996241&_v=j81&z=118377284 | Image | Redirection error
 | https://www.google-analytics.com/r/collect?v=1&_v=j81&a=2134876339&t=pageview&_s=1&dl=https%3A%2F%2Ffindthemasks.com%2F&ul=en-us&de=UTF-8&dt=%23Findthemasks&sd=24-bit&sr=412x732&vp=412x732&je=0&_u=IEBAAUAB~&jid=1129389342&gjid=174996241&cid=2114056174.1585627148&tid=UA-161442455-1&_gid=931927329.1585627148&_r=1&gtm=2ou3i0&z=118377284 | Image | Redirection err
[snip]
@r-pop @graemer

@vdalal - can you break up these insights up into actionable issues that a dev can pick up?
For example, "test moving example.js from the head to inline" or "compress large image using xyz format". Google Page Insights throws out a lot of info so let's split each action item out and focus on the largest impact ones.


raw_user_meta_data is empty

When using the signInWithOtp for the magic link and providing information in data. Checking the data in my trigger function its always empty.

@kangmingtay are you able to look at this?

hey @rlee1990, i noticed you've reopened the issue, can you please provide some reproducible steps for this? thanks!

hey @rlee1990, i noticed you've reopened the issue, can you please provide some reproducible steps for this? thanks!

@kangmingtay its in reference to https://github.com/supabase/supabase-flutter/issues/246


⚠ Aither has degraded performance

In 9917137, Aither ($AIH) experienced degraded performance:

HTTP code: 200
Response time: 3303 ms

Resolved: Aither performance has improved in 4a7b365.


Sample feedback: integrations/react

The sample project will not load in the embed, with the following error:
"Looks like this project is being embedded without proper isolation headers."

Hi @QuinnVSD, what browser are you using? Looking at the linked docs it seems like this is unfortunately expected behavior in non-Chromium browsers. If that's indeed the issue, it seems like visiting the sample directly at https://stackblitz.com/edit/gpt-react should work.


FxChildTunnel not set on PolygonHubConnector during init

Need to set address in init script.

subtask of https://github.com/connext/nxtp/issues/2079


Updating many packages; Python, Django included. Also, docker image s…

…witch to python base image

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (53a61ea) 87.71% compared to head (ade7c40) 87.71%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #113   +/-   ##
=======================================
  Coverage   87.71%   87.71%
=======================================
  Files          72       72
  Lines        2116     2116
=======================================
  Hits         1856     1856
  Misses        260      260

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


[10.x] Give access to job UUID in the job queued event

The JobQueued event is dispatched whenever a job has been pushed to the queue (although, not for "bulk" jobs).
The JobQueued event does expose the database's record ID, however this ID changes if a job fails and is retried.
Currently the jobs "sticky" ID - which is held in the payload - is not available.
The job's payload ID is sticky because it does not change when a job fails and is retried - however the database ID does change.
This change makes tracking the job from queued through all it's lifecycle hooks much easier. Without it...it's pretty much impossible.

Thanks, @driesvints


GITHUB_WORKSPACE evaluting to blank

Description
Per the documentation: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables#default-environment-variables
The GITHUB_WORKSPACE variable should evaluate to a path.  When using in a workflow (after checkout) however, it is evaluating to nothing and not providing the path both on ubuntu-latest/windows-latest
Example: https://github.com/timheuer/buildtest/runs/1243185809?check_suite_focus=true#step:3:2 from workflow: https://github.com/timheuer/buildtest/blob/master/.github/workflows/build.yml#L40
Area for Triage:
Servers
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[x] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[x] Windows Server 2019

Expected behavior
I expect to see a full path to the workspace per documentation
Actual behavior
A blank variable is provided
Repro steps
See example repo that has an echo of the variable evaluating to nothing

Hello @timheuer , you use incorrect way to reference this variable.
If you would like to reference GITHUB_WORKSPACE as environment variable, you should use:
$env:GITHUB_WORKSPACE # powershell
$GITHUB_WORKSPACE # bash

If you would like to use {{}} syntax, you should use
${{ github.workspace }}

Please follow documentation: https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context

That's the confusing part. Yes, you can directly use the GitHub context ${{ github.workspace }}. However, according to the docs, you can read the workspace GitHub context value as an environment variable.
https://twitter.com/lancewmccarthy/status/1315686054113021957

Since we know this $env:GITHUB_WORKSPACE works in PowerShell... ${{ env:GITHUB_WORKSPACE }} should also work.
Is there an easy way to test commands on a local runner without requiring a trigger? Running commands inside PowerShell only gets you so far, especially when you rely on the way Actions packs up the steps as ps1 files.

I don't have much context about this logic because it is owned by https://github.com/actions/runner.
In my understanding, ${{ env:* }} is not equal PS $env:*. Through ${{ env: }} you can only access the variables that are set by your workflow because such expressions are evaluated by runner and they don't have an access to machine environment.
The env context contains environment variables that have been set in a workflow, job, or step

so you can access only variables that are set in YAML like below or similar
env:
  SERVER: production

Closing this one but please let me know if you have any questions

That's the confusing part. Yes, you can directly use the GitHub context ${{ github.workspace }}. However, according to the docs, you can read the workspace GitHub context value as an environment variable.

Since we know this $env:GITHUB_WORKSPACE works in PowerShell... ${{ env:GITHUB_WORKSPACE }} should also work.
Is there an easy way to test commands on a local runner without requiring a trigger? Running commands inside PowerShell only gets you so far, especially when you rely on the way Actions packs up the steps as ps1 files.

I just ran into this same issue, thinking I could use "${{ env:GITHUB_WORKSPACE }}"

Ran into this as well... these variables are still called out in this doc here: https://docs.github.com/en/actions/learn-github-actions/variables (which I find very unhelpful at explaining how to setup and use env properly).
The note in blue at the bottom of the long list of variable examples is not highlighted well enough:

Most of the default variables have a corresponding, and similarly named, context property. For example, the value of the GITHUB_REF variable can be read during workflow processing using the ${{ github.ref }} context property.


Charset?

Hi
Which charset I should use for czech/slovak characters? Because when I have UTF-8 it display weird chars.
Screen code:

Screen ingame:

But when I use Central European (Windows 1250) it works ingame but when I try save special characters to file (like chatlog, etc...) it again save weird chars.
Screen from chatlog when I compile gamemode in Central European (Windows 1250) charset:

Thanks for any help
Cheers

I'm not sure if this is a compiler issue or a sublime text issue. There is some information on the forums about character sets and compiling for different languages. I can't recall anything specific at the moment though, sorry. I don't think this is an issue with the plugin either unless it requires parameters to be passed to the compiler explicitly.

Did you solve this issue? I'll close it here since I assume it's related to the compiler or sublime settings rather than this particular package.

Nope. I didn't solve this. I end with samp.


Add diff state compression

Followup to #254 (yes, it supports serialization)
Before a state is sent, it compares with the properties it had in the previous tick, and if they have the same value, these properties are not sent.
On receiving, the state is reconstructed accurately, because the very first state always sent is full state (no diffs), so all future diff states build off this initial state.
As for serialization, I added an integer (u_32) to the header which supports up to 32 variables/properties.
It's basically a bitfield, which on deserialization says which of the state_props indexes are contained in the serialization. And if contained, it deserializes the following value based on its type.

There is a very rare use-case this PR bugs: If the packet of the very first state (full state, no diffs) is lost,(its possible because the RPC is "unreliable_ordered") then all future states received will bug too for that player's rewindable, because they build off the first state.
The solution is to make a new RPC where the full state is sent, "RELIABLE" so this will never bug, like so:
@rpc("any_peer", "reliable", "call_remote")
func _submit_full_state_reliable(received_state: Dictionary, tick: int):
	_submit_state(received_state, tick)

@rpc("any_peer", "unreliable_ordered", "call_remote")
func _submit_state(received_state: Dictionary, tick: int):

This simple solution however causes a race condition. What if the diff state arrives before reliable state :melting_face:
So the code must become more complicated with either of the solutions:

A caching mechanism for "unreliable_ordered" _submit_state to store the states and run them only when the full state is received. Basically an array of dictionaries is added, and an if check if received full/initial state to run logic on them. Implemented in #267
Submitting states continues to be unreliable, regardless if they are full or diff. The authority sends full states until the client receives at least one full state, and then sends an ack to the authority. Once the authority receives this, it sends diff states. Update: #278
Introduce a new project setting variable (int), named send_initial_full_states where the default value is 40, and the first 40 states are sent fully instead of diff. Would end up in less bloated code than the first recommendation, but then again, needs 40 because a lagspike can otherwise cause problems
After all, if you send the next 10 states fully (instead of 40), and the player is on wifi and passes under a bridge or something so all internet connection is lost for 3 seconds, this won't work. But will "reliable" solution above work, or will it timeout?

I can do any once this is merged. Honestly, practically, this works no problems. A packet loss is rare, and a packet loss to happen at the very first state of a rewindable is very very very rare.

This PR is tested and confirmed to work for rollback-synchronizer.gd but I haven't tested my port to state-synchronizer.gd, I may do later as I'm after another PR.
Whoever feels like testing state-synchronizer.gd with 3 players, high latency, and serialized and non-serialized, it would be helpful to ensure this PR works as intended.
After this is merged, and users confirm it works properly, I suggest for serialization, to always have diffs, since the point of serialization is small size, which this achieves. Also serialization methods contain diff parameters. So the boolean only applies to default state sending (aka dictionaries)

Found some bugs where the state isn't reconstructed accurately (because the previous state doesn't exist -_- )
I will try to solve this, though tbh it was way too easy, and wouldn't make sense to be bugless, since diff states must always have a full state beforehand. I will look into how to get a full state at first send, should fix this problem.

Closing in favour of #278 which is far cleaner, has no dependencies, and also has implemented the 2nd fix recommended in the OP


Improve documentation related to detail mapping in BaseMaterial3D

The devil is in the detail (textures) :slightly_smiling_face:

Thanks!


Example:  waku with yarn pnp

This example is an example of adding yarn's zero installation to the waku framework,
which is directly used by the company you work with in this same structure, and made PR to share.
(+Currently trying to connect with mongodb and willing to share this as well if needed.)

Great that you try it! Is it working okay? That's nice.
Unfortunately, we can't add various examples in this repo. There are too many for now, and I want to reduce them.
But, your example looks nice. Can you create a separate repo so that we can link to it? My plan is to created ./docs/other-examples.md or ./docs/community-work.md or something like that to organize links.

Great that you try it! Is it working okay? That's nice.
Unfortunately, we can't add various examples in this repo. There are too many for now, and I want to reduce them.
But, your example looks nice. Can you create a separate repo so that we can link to it? My plan is to created ./docs/other-examples.md or ./docs/community-work.md or something like that to organize links.

I want to be a contributor to this repository(I love the philosophy of this technology), can I create a PR by creating a link in the path you said?

I want to be a contributor to this repository(I love the philosophy of this framework), can I create a PR by creating a link in the path you said?

Sure. Let's make it ./docs/community/examples.mdx for now.


How to visualize  the result?

How can I visualize the denoised result from ’SpotGF_auto_threshold.gem’，‘SpotGF_proportion_0.5.gem’ and ‘ SpotGF_scores.txt’？Thanks.

OK,I successfully visualized the results, but I found that I couldn't find my spot's barcode in the generated results. Is this a common problem and how can we solve it,thanks.


Does stdenv need to be a derivation?

I'm not quite sure why stdenv is a derivation. I think it would be cleaner for it to just be an attribute set. This might mean migrating some logic from bash in setup.sh to Nix expressions, but that is probably a good thing anyways.

Historically stdenv has been an installable package that propagates the stdenv tools (e.g. gcc). So it was a convenient way to replicate stdenv in shells, predating nix-shell.
However this appears to be broken at the moment (nix-support/propagated-user-env-packages is empty).

@edolstra Interesting; thanks for the history lesson. Sounds like there is no more need with nix-shell, then?

It's also used in a few places to include stdenv in VM tests that need to perform a build, e.g.
nixos/tests/containers-ipv4.nix:      virtualisation.pathsInNixDB = [ pkgs.stdenv ];

@edolstra any idea of a work around? It would be nice to programmably get the build-time dependencies of a derivation, perhaps.

It would be nice to programmatically get the build-time dependencies of a derivation, perhaps.

Indeed! https://github.com/NixOS/nix/issues/1245