allow the user to set different fzf binary

This allows to set a custom fzf_binary, I did this mostly to be able test skim instead of fzf, works great, pretty much all options are compatible aside from the change:reload which skim implements with -i (interactive) mode.

fzf requires another command or stream as input, skim has an interactive mode which is similar to the change:reload event in fzf where it reloads the command based on user input, this small patch enables the user to send contents=nil to raw_fzf and subsequently ignoring the input stream and running the command directly.
Feel free to drop this patch and do this in any way that fits your code and coding style better :-)

That's interesting, yes, I want to support this use case. For specifying the binary, I think I would prefer it go through the process_options mechanisms, so that it can be both individually, or globally specified (making skim an officially supported binary). The name of this library... it is what it is.
Do you want to take a shot at that first? Otherwise I can get to it on Sunday (life's pretty busy right now).
For the second commit, It's not entirely clear to me why you check for the length of the string, if contents is going to be nil? Otherwise looks pretty good, need to add documentation though, but I can do that.

That's interesting, yes, I want to support this use case. For specifying the binary, I think I would prefer it go through the process_options mechanisms, so that it can be both individually, or globally specified (making skim an officially supported binary). The name of this library... it is what it is.
Do you want to take a shot at that first? Otherwise I can get to it on Sunday (life's pretty busy right now).

process_options would be the right home for this but when looking at your code that would require an additional argument to (some) function(s) (i.e. process_options(fzf_binary, fzf_cli_args, window_options) which I wasn't a fan of, I prefer a table of arguments which is cleaner but that would be a bigger mess to your code which I didn't know if you'd like :-)
"Hacking" the global FZF seemed like an easy compromise but I totally understand. Let me know what you think?

For the second commit, It's not entirely clear to me why you check for the length of the string, if contents is going to be nil? Otherwise looks pretty good, need to add documentation though, but I can do that.

As part of my testing trying to avoid the input stream I sent contents='' as a zero-length string which resulted in a bug as it's trying to pipe nothing, I thought I'd fix this along the way.

One more thing, the documentation specifies to call cb(nil) (in multiple locations in the README) to signal end of processing which ends the fzf loading indicator, that fails with an exception as the code expects the user to send a callback function to call after running on_done() at line 114 of fzf.lua.
That may not be an issue with fzf which is very robust and not calling this on async operations (LSP functions, etc) wasn't causing any issues but with skim the loading indicator never stops and the process goes to 100%.
I fixed that by calling cb(nil, function() end) to signal I was done with processing, it might be worth it to fix the documentation or better yet change L#114 to if cb then cb(nil) end instead?

The string error checking sounds good!
I would go ahead and change the option handling to tables if you find the time. I'm agnostic to style in this case, since this library is small enough for the mental overload to not be too high. Whatever you think is best to understand the code!
Additionally, if you'd like, I would also make the change to line 144, that sounds good, since that operation can never fail.

Not extremley happy with the solution, it would have been much easier to just refactor the whole options part, set one defaults_options structure and then vim.tbl_deep_extend it with the user options, unfortunately I was limited by backward compatibility. I wouldn't want to introduce breaking changes to the existing user base.

I made an additional tiny change to potentially solve fzf-lua issue#20, take a look and let me know what you think?
Based on the video the @sQVe sent it seems that the FZF.fzf function successfully returns (otherwise the selected file wouldn't be opened for edit) but the call to :bw! .. doesn't kill the window properly, it also seems from the video that the term process doesn't end properly but I'm not sure?
In any event I think it's wiser to use vim.api.nvim_buf_delete over vim.cmd("bw!...") (which I see you already used in FZF.provided_win_fzf).

Read the issue and solution in fzf-lua issue#20, really not sure what in gleipnir/dashboard-nvim causes this behavior but adding the wincmd q seems to solve it.

Don't merge the last commit yet, this causes an issue when the sending buffer is unlisted, say I open fzf from a help or man page, and then open fzf again the wincmd q would execute on the sending page and quit vim, I tried verifying the current win id before sending wincmd q and it still closes the unlisted buffer.

What about the fix for issue #20 and the conditional wincmd q addition? it seems to have fixed the conflict with dashboard but I’m still not sure what code in that plug-in causes this behavior.

 I was curious when you used wincmd instead of nvim_win_close?

 I was curious when you used wincmd instead of nvim_win_close?

I tried that as part of my original attempt to fix this issue but for some reason it didn’t work and only wincmd q closed it, perhaps since “take #2” of the fix it’s now conditional and I also switch to the window before with is_valid and set_ current_winso it might work, if so I’d also prefer nvim_win_close.
This can quickly be verified by installing glepnir/dashboard (I can test a bit later when I’m on the computer).

Alright, just tested, nvim_win_close didn't solve it but vim.api.nvim_win_close(winid, {force=true}) did.

Just applied another potential fix for compatibility with the dashboard-nvim plugin, changed the order of closing first the window and then wiping the buffer, not sure why this was causing an issue with dashboard but it makes more sense anyway.

Just merged the pull request. There were some subtle bugs I had to fix, which involve reassigning the global options object, having no fzf_cli_args, etc.
I hope this is good! You can read the documentation for the updated behavior.
One note: Next time, please make separate pull requests for each fix/feature, makes it easier to me so that I can review and push it faster. Thank you very much for your contribution!

Much appreciated, ty!


No need to call StartMicAndRecognition twice.

@jasonvomsft, can you take a look?

@toddkitta   Thank you for the fix.  We have incorporated your change in our latest push.


Update what-are-dial-plans.md

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.


typo in vuejs.org/src/v2/guide/class-and-style.md

<div class="static"
     v-bind:class="{ active: isActive, 'text-danger': hasError }">
</div>

is 'text-danger' right?
I think remove ' it.

JavaScript identifiers (and thus literal property names) can not contain dashes, so to make a property name with dashes (e.g. text-danger) you have to wrap it in quotes.


Task to delete an organization ?

Hello,
Thanks to your previous answer, i ve got a working instance on my ubunutu.
I am starting "playing" but i realy don't know much about rubby...
Do you know where to find the different bundle tasks available ?
I found some interesting things into your setup_organization.sh but i am looking for tasks to delete users and organizations...
Thanks for your help and your work !

You can list tasks with
# login to Docker container
cd /cartodb
bundle exec rake --tasks

Thanks !
i already did that but i cant find a task to delete an organization.
Maybe not possible...

Didnt find task either, something i missed?

This is something the Docker image can't fix.
Best to ask at https://groups.google.com/forum/#!forum/cartodb


Spotify song metadata keeps refreshing

Description
The song info and the cover is constantly refreshing by itself with Spotify. This problem doesn't happen in the previous v1.8.1
Versions

Rainmeter Version: 4.2.0 beta r3074 64-bit (Jun  1 2018) - English (1033)
OS Version: Windows 10 Pro 1803 64-bit (build 17134.112) - English (14345)
Skin Version: 2.0.2
Spotify Version: 10.82.454.g623fabd2

Additional notes/images

Sometimes it refreshes, sometimes it doesn't. This might be due to the fact that I'm using the Windows Store version of Spotify. (maybe... I don't know). I'll try to switch to the executable version and see if there's any difference

https://mega.nz/#!vdZgTSpQ!hsS3MEjwdtpA98VYxox7k8ngfEvQkbBlxB5Lsnwpbnc


test_SRGAN.sh does not work

When running the test script I get the following error message:
Traceback (most recent call last):
File "main.py", line 88, in
FLAGS.crop_size = None
[...]
AttributeError: Flag --crop_size must be specified.

I also encountered this problem...

I know how to fix it now,if you want to run test.sh, change File "main.py", line 89,
FLAGS.crop_size = None  to    FLAGS.crop_size = 24
if you want to run inference.sh
change File "main.py", line 165,
FLAGS.crop_size = None  to    FLAGS.crop_size = 24
then it will works.


float precisison of DutyCycle only sometimes working

Arduino IDE version: 1.8.19 (Windows <IP_ADDRESS>)
Arduino SAMD Core Version 1.8.12
ARDUINO_SAMD_MKRWIFI1010
OS: Windows10
sketch: example ISR_Modify_PWM
screenshot attached

d

Hi @toniMephis
Thanks again for this bug report.
Please change these 2 lines
https://github.com/khoih-prog/SAMD_Slow_PWM/blob/b0229b7784402957ead495644c8a0c4d13a1c50a/examples/SAMD21/ISR_Modify_PWM/ISR_Modify_PWM.ino#L147-L148
from
double PWM_Freq;
uint32_t PWM_DutyCycle;

to
float PWM_Freq;
float PWM_DutyCycle;

I forgot to change after modifying dutycycle from uint32_t to float
Will update in the master as well as in new release.

Hi @toniMephis
The new SAMD_Slow_PWM releases v1.2.3 has just been published. Your contribution is noted in Contributions and Thanks
Best Regards,
PS:
I wish to have every user as investigative and thorough as you to test and reveal so many bugs of this library.
I'm just afraid that there will be less and less of bugs for us to deal with in the future ;={}

Releases v1.2.3

Fix DutyCycle bug. Check float precisison of DutyCycle only sometimes working #3
Fix New Period display bug. Check random dropouts #4
Update examples


fast-rtps 1.9.0 does not build without -DSECURITY=ON [6003]

When 1.9.0 (1b787e2d0) building normally (no extra CMake options) I get this error:
In file included from /Users/william/ros2_ws/src/eProsima/Fast-RTPS/src/cpp/rtps/messages/RTPSMessageGroup.cpp:20:
/Users/william/ros2_ws/src/eProsima/Fast-RTPS/include/fastrtps/rtps/writer/../messages/RTPSMessageGroup.h:209:30: warning: private field 'participant_' is not used [-Wunused-private-field]
        RTPSParticipantImpl* participant_;
                             ^
1 warning generated.
/Users/william/ros2_ws/src/eProsima/Fast-RTPS/src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp:95:38: error: no member named 'is_secure' in 'eprosima::fastrtps::rtps::RTPSParticipantImpl'
        builtin->mp_participantImpl->is_secure())
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
/Users/william/ros2_ws/src/eProsima/Fast-RTPS/src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp:64:36: error: no member named 'is_secure' in 'eprosima::fastrtps::rtps::RTPSParticipantImpl'
        built->mp_participantImpl->is_secure())
        ~~~~~~~~~~~~~~~~~~~~~~~~~  ^
1 error generated.
make[2]: *** [src/cpp/CMakeFiles/fastrtps.dir/rtps/builtin/discovery/participant/PDPClient.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [src/cpp/CMakeFiles/fastrtps.dir/rtps/builtin/discovery/participant/PDPServer.cpp.o] Error 1
make[1]: *** [src/cpp/CMakeFiles/fastrtps.dir/all] Error 2
make: *** [all] Error 2

I do not have this issue if I turn security on with the CMake option -DSECURITY=ON (and also since I'm on macOS I have to also do export OPENSSL_ROOT_DIR=$(brew --prefix openssl)).

Thanks!


🛑 Deprecating alexjustesen/speedtest-tracker Docker image

📃 Description
With LinuxServer.io now building a new image the v0.17.x release cycle will be the last I build under alexjustesen/speedtest-tracker. To continue to get updates from v0.20.0 on please cut over to using the new images.
Transition docs can be found here in the pinned issue: #1117

Push out the cutover to v0.20.0 to give people more time to switch.

If I use MySQL/MariaDB can I also only switch the image to lscr.io/linuxserver/speedtest-tracker:latest ? Or is there something else to review?

If I use MySQL/MariaDB can I also only switch the image to lscr.io/linuxserver/speedtest-tracker:latest ? Or is there something else to review?

If you're using an external DB like MySQL all you need to do is replace the app image and you'll be all set.


How to inject the File class?

Hello, is it possible to inject the File class using the V8JavaAdapter?
I've tried the following:
public static void main(String[] args) {
        V8 v8 = V8.createV8Runtime();
        V8JavaAdapter.injectClass(File.class, v8);
        v8.executeVoidScript("var f = new File( \"test.txt\" );");
}

This results in:
Exception in thread "main" undefined:1: Constructor received invalid arguments!
this.File = function() {v8ConstructJavaClassjava_io_File.apply(this, arguments);
                                                         ^
com.eclipsesource.v8.V8ScriptExecutionException
	at com.eclipsesource.v8.V8._executeVoidScript(Native Method)
	at com.eclipsesource.v8.V8.executeVoidScript(V8.java:944)
	at com.eclipsesource.v8.V8.executeVoidScript(V8.java:652)
	at com.eclipsesource.v8.V8.executeVoidScript(V8.java:638)
	at vcmp.NewMain1.main(NewMain1.java:22)
Caused by: java.lang.IllegalArgumentException: Constructor received invalid arguments!
	at io.alicorn.v8.V8JavaClassProxy.invoke(V8JavaClassProxy.java:455)
	at com.eclipsesource.v8.V8.callObjectJavaMethod(V8.java:739)
	... 5 more

Wow that was fast! Thank you, I cloned the branch, built it and ran the test, all working now 😃


fix(amplify-codegen): support headless push for newly added api

When a new API is added and if the api is pushed with yes flag (headless mode), then codegen fails
with error proj.inclues || []).map is not a function. Updated codegen to return a array of include
pattern when using headless mode
fix #2365
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Should probably add a test for this as well.

I've just encountered this same issue on v3.17.0 on NodeJS LTS v12.13.0.

Just upgraded to 4.6.0 and getting this issue still.

I am using 4.18.1. I still get this error when doing headless push.

@kheriox-technologies What does your .graphqlconfig.yml file look like? cc @ammarkarachi @edwardfoyle @yuth

Actually the issue is resolved. I was trying to push the API for the first time through a pipeline using headless scripts. At that stage .graphqlconfig.yaml file is not generated.
I then did 'amplify push' in interactive more on my local machine which generated the YAML file. After that the pipeline is happy and I can push the changes in headless mode.


Testing sagas with Jest

How will I test the saga given below:
function *mySaga({ payload })   {
try {
const { data } = yield call(api.someApi, payload);
yield put(mySagaSuccess({
data,
})
);
}
catch(error){
yield put(mySagaFailure(error));
}
}

I found redux-saga-test-plan super useful in testing sagas.
Unlike redux-saga docs, it focuses on testing what goes into and out of your sagas, instead of a specific chain of effects.


Errors after upgrading to OSX Monterey

We're getting chmod: Invalid file mode: 100644 when running blackbox_postdeploy after upgrading OSX to Monterey?

Hi!  Thanks for reporting this.  I haven't upgraded yet.
"chmod" is only run if "blackbox_postdeploy GROUP" is run, where "GROUP" is the name of a unix group.  I haven't tried this myself, but I'm going to guess that a workaround would be to leave off the GROUP.  That won't trigger the chmod that is giving the error.  You'll have to do your own chmod/chgrp.
Tom

I have also experienced this.
The issue is on the cp_permissions function in blackbox_postdeploy.
stat -f '%p' "$1" gives groups and permissions.
stat -f '%OLp' "$1" gives permissions without the group.
https://github.com/StackExchange/blackbox/blob/master/bin/blackbox_postdeploy#L33
https://github.com/StackExchange/blackbox/blob/master/bin/_blackbox_common.sh#L435

@jsgv Thanks for the analysis. Would you please submit a PR?

Sure.

Thanks, jsgv for fixing this!  I don't have much time for blackbox any more and fixes like that are greatly appreciated!

yup thanks so much @jsgv !  we tested it in our process and it works!

Awesome! That is good to hear. Glad I could be of assistance. 😄

Jajaja
On Wed, 16 Mar 2022, 20:42 Jesus Galvan, @.***> wrote:

Awesome! That is good to hear. Glad I could be of assistance. 😄
—
Reply to this email directly, view it on GitHub
https://github.com/StackExchange/blackbox/issues/346#issuecomment-1069453637,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATC6FL3WIYJCA2D33XNY3ZDVAITRJANCNFSM5QZVLIJQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yup - appreciated here too.

This issue is still occurring for me on Monterey 12.4 (M1 Macbook) and Blackbox v2.0.0 as of today. I can open a new issue if that would be best.

Please try version v1.20220610  (the latest release).  v2.0.0 was an accidental tag.  We're still in our v1.x days.
Please reply with whether or not it works for you.
Tom


Slow initial build

The build is really really slow since we included this:
Slowest Trees                                 | Total
----------------------------------------------+---------------------
EslintValidationFilter                        | 31237ms
EslintValidationFilter                        | 11729ms

This is the product of many things at play, some are solvable some are not.
[ ] Caching filter can be used
[ ] Closer integration with Ember to not require JSHint
ESLint is however slower than JSHint, the advantages are flexibility.

I'm happy to accept pull requests until I get some more time to resolve.

Hey @jonathanKingston sounds good - perhaps it'd be useful to have the initial build not run eslint but rebuilds do? Perhaps you can guide me really quickly where the API for rebuilds is and I will go at it :)

Hi, I was wondering if there had been any work done on this? We are running into similar issues with slow build times. We want to be able to run eslint in our test suite but not on the initial build of the app. Is there anyway to disable linting on the build?

@hjbuchanan unfortunately that is currently not possible 😕

@Turbo87 thanks for the quick comment back--would you all be willing to accept a PR that made those changes?

@hjbuchanan sure, we are always happy to review and merge PRs! what specific changes are we talking about though? only running ESLint on demand when running tests is unfortunately impossible or at least very difficult to implement.

There is an option called hinting that this plugin should respect. If it is false, it should not run. You can toggle this in your ember-cli-build.js by detecting the environment.
ex:
module.exports = function(defaults) {
  var app = new EmberApp(defaults, {
    hinting: EmberApp.env() === 'test',


Unknown error returned when delete.

Steps to reproduce the behavior (Required)

CREATE.

create database materialized_view_test_db_afc260c4_bb32_11ec_9793_00163e0e489a;
use materialized_view_test_db_afc260c4_bb32_11ec_9793_00163e0e489a;
 CREATE TABLE `duplicate_table_with_null` ( `k1`  date, `k2`  datetime, `k3`  char(20), `k4`  varchar(20), `k5`  boolean, `k6`  tinyint, `k7`  smallint, `k8`  int, `k9`  bigint, `k10` largeint, `k11` float, `k12` double, `k13` decimal(27,9) ) ENGINE=OLAP DUPLICATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`) COMMENT "OLAP" DISTRIBUTED BY HASH(`k1`, `k2`, `k3`) BUCKETS 3 PROPERTIES ( "replication_num" = "1", "storage_format" = "v2" );
curl --location-trusted -u root: -T /home/disk2/jenkins/workspace/test_profile/StarRocksTest/lib/../common/data/basic_types_data -XPUT -H label:view_afd6294c_bb32_11ec_9793_00163e0e489a http://xxx:8934/api/materialized_view_test_db_afc260c4_bb32_11ec_9793_00163e0e489a/duplicate_table_with_null/_stream_load
CREATE MATERIALIZED VIEW select_mv
                             AS
                             SELECT
                               k6,
                               k7,
                               k8,
                               k9,
                               k10,
                               k11,
                               k12,
                               k13
                             FROM duplicate_table_with_null;

delete.

delete from duplicate_table_with_null where k5=0;

Expected behavior (Required)
delete correctly.
Real behavior (Required)
ERROR 1064 (HY000): Unknown error
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
2794fab

This is because our previous mv design does not support delete.
So the latest version of the code has given a hint, and there is no way to further fix this problem.


new directory doesn't work on online url

i just upgrade to jekyll 2.5.3, and installed minimal-mistakes successfully.
when i added a directory named "examples" it works fine on http://<IP_ADDRESS>:4000/examples/.
but when i push it to github code is here:
https://github.com/qinkun1234/qinkun1234.github.io/tree/master/examples
it doesn't works(i use CNAME)
http://hmcy.net/examples/.
how can i resolve this.
but my another website works find http://jnuc093.github.io/py/, did i forget something.

You need an index.html in your examples folder. The server is hitting /examples and not finding anything to display.

thanks。i find the problem. i add a folder named "framework7-parse" ,this result in github can't parse the folder。just remove  "*-parse" like folder。


Improve error logs

🔥 Bug Description
I've a project, i can build it, it's basic Aspire with 5 project.
Last week i can publish with tools.
Today when i try to start it :
Generating Aspire Manifest for supplied App Host
Error:
The build failed. Fix the build errors and run again.
Could not build the manifest for the supplied details. Exiting rather than building default manifest file.
(1): Aspirate will now exit.
🧯 Possible Solution

It's possible to increase log level to get more details ?

Same error, happened after running dotnet workload update. Wish i never did it, don't know how to rollback....

Unluckily I meet this problem. the host is Ubuntu 20.04 with kubernetes 1.28.2, using containerd. The project build on windows server before, I'm trying to build it on k8s.

still no update?


Add support for Optimism

Gotta find a workaround for this: https://github.com/Zoltu/deterministic-deployment-proxy/issues/7.

no workaround required for arbitrum rn I believe https://github.com/Zoltu/deterministic-deployment-proxy/issues/7#issuecomment-1129407585

@gakonst thanks for the heads-up! Hopefully the deployment proxy will become available on Optimism too.

@paulrberg it's deployed to Optimism

https://github.com/ethereum-optimism/optimism/issues/1883


Does DependencyCheck support scanning Docker Containers?

Dependency check CLI allows me to scan various archive objects (tar ball, etc) and to scan my repos using gradle or maven build frameworks.
Can also be used to scan docker containers as well?
Thanks.

You want to scan images or containers?... I use Trivy to scan images and compose files
Currently not possible with DC, though in theory a Dockerfile or compose file can be a type of manifest if it uses FROM instructions.
I'm not sure how good https://dso.docker.com/explore?search=images is and if the data is publicly available

ODC does not scan docker containers.


How to run the project??

Adding a README in the root directory on how to run the site on localhost could be helpful.
Also, can we host on GitHub?

[ ] Reame have been updated

[ ] Hosted on Heroku

And as GitHub pages only support static sites you cannot host a flask based framework on it.


addSlide - why are you recreating the fragment?

public void addSlide(@NonNull Fragment fragment, @NonNull Context context) adds a fragment to the intro fragments list. But why are you recreating them if you already get some created fragments?
It would make sense to me to use addSlide(Class<T extends Fragment> clazz, Context context) for such a thing. BUT the current addSlide should stay and just add the orignial fragment to the list...
I wanted to use something like following:
public class Intro extends AppIntro
{
    @Override
    public void init(Bundle savedInstanceState)
    {
        addSlide(Slide.newInstance(0), getApplicationContext());
        addSlide(Slide.newInstance(1), getApplicationContext());
        addSlide(Slide.newInstance(2), getApplicationContext());
        addSlide(Slide.newInstance(3), getApplicationContext());
        addSlide(Slide.newInstance(4), getApplicationContext());
    }
}

This fails, as you don't use my fragments but create new ones, so all my initialising in newInstance (creating an argument bundle) is lost...

I just saw the pull request... So you're aware of it anyway...


ProfilePage.java

I meant to send this in 2 different pull requests but they got merged.  This is the creation of the ProfilePage.java and the additions to the User class


controller as class: this is undefined!

using my controller as class the this is undefined!!

`
/**

@class UserController
/
class UserController extends Controller {
constructor() {
super(User, ['firstname', 'lastname', 'socialSecurityNumber', 'birthdate', 'email']);
}
....
}
/*

@class Controller
*/
class Controller {
constructor(model, qcolumns) {
this.model = model;
this.qcolumns = qcolumns;
}
get(req, res) {
let status = 200;
let response = {
success: true
}
let query = req.params.q || '';
console.log(typeof this);
}
`

Could you please create a repository where you reproduce this issue?
Which version of express-routes-mapper are you using?
Which node version are you using?
How does your routes file look like?

I think the problem comes from express, the solution was to bind the "this" in the constructor:

Alright, thanks for posting the solution 👍
I will close this issue for now.

#32


Adding build system support to integrate hpxmp into hpx at the user's machine

This relies on https://github.com/STEllAR-GROUP/hpxMP/pull/3

Everything works as it should now, thanks.


Update node from 16.8 to 16.10 for openssl vulnerability

Pull Request Test Coverage Report for Build 5604

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 88.651%

Totals

Change from base Build 5603:
0.007%

Covered Lines:
9718

Relevant Lines:
10580

💛  - Coveralls

Validation on k8s cluster: n-2 is succeeded.

Validation on k8s cluster: n+n+n is succeeded.

Validation on k8s cluster: n-1 is succeeded.

Validation on k8s cluster: n failed.

Validation on k8s cluster: n failed.

Validation on k8s cluster: n is succeeded.


Win 10 Import Error: Failed to load the native TensorFlow runtime TF-GPU(both1.13 and 2.0)

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 x64
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): tensorflow-gpu-1.13.1
Python version: 3.6.4
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source): n/a
CUDA/cuDNN version: CUDA 10.1/cuDNN7.5
GPU model and memory: 930mx 2GB

Describe the current behavior
Fails to run because of an Import Error whenever I try to import tf-GPU,
Describe the expected behavior
Expected it to import so I could use it.
Code to reproduce the issue
import tensorflow as tf
Other info / logs
ImportError                               Traceback (most recent call last)
c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>
     57
---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
     59   from tensorflow.python.pywrap_tensorflow_internal import __version__

c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in <module>
     27             return _mod
---> 28     _pywrap_tensorflow_internal = swig_import_helper()
     29     del swig_import_helper

c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
     23             try:
---> 24                 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
     25             finally:

c:\users\ent\appdata\local\programs\python\python36\lib\imp.py in load_module(name, file, filename, details)
    242         else:
--> 243             return load_dynamic(name, filename, file)
    244     elif type_ == PKG_DIRECTORY:

c:\users\ent\appdata\local\programs\python\python36\lib\imp.py in load_dynamic(name, path, file)
    342             name=name, loader=loader, origin=path)
--> 343         return _load(spec)
    344

ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
<ipython-input-1-602d2050546b> in <module>
----> 1 import tensorflow as tf
      2 import time
      3 import os
      4 from tensorflow.examples.tutorials.mnist import input_data
      5

c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\__init__.py in <module>
     22
     23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
     25
     26 from tensorflow._api.v1 import app

c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\__init__.py in <module>
     47 import numpy as np
     48
---> 49 from tensorflow.python import pywrap_tensorflow
     50
     51 # Protocol buffers

c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>
     72 for some common reasons and solutions.  Include the entire stack trace
     73 above this error message when asking for help.""" % traceback.format_exc()
---> 74   raise ImportError(msg)
     75
     76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long

ImportError: Traceback (most recent call last):
  File "c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "c:\users\ent\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "c:\users\ent\appdata\local\programs\python\python36\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "c:\users\ent\appdata\local\programs\python\python36\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: The specified module could not be found.

Failed to load the native TensorFlow runtime.

+1 with almost exactly same specs. GPU is a 1050 Ti and Python 3.7.2

Same is occurring for me. Similar specs: 1050Ti, Python 3.6.8, tf-nightly-gpu, same CUDA/CuDNN versions. I can also confirm there are no path issues with the CUDA components. Downgrading CUDA is not an option for me, as the 9.0 installers break my PhysX driver and Visual Studio integrations.

CUDA/cuDNN version: CUDA 10.1/cuDNN7.5

You have to use CUDA 10.0 for tensorflow-gpu-1.13.1 (don't forget to download cuDNN 7.5 for CUDA 10.0 too).

I think you should use CUDA10.0 instead of CUDA10.1.The tensorflow-gpu compiled by pip install specifies the cuda version, which needs to be accurate to the specific subversion.

Confirmed to be working using CUDA 10.0 and CuDNN 7.5 for 10.0.

Thanks for the information. Will be downloading the cudnn and cuda toolkit today. Hopefully I can run them and close this issue.

Confirmed to be working using CUDA 10.0 and CuDNN 7.5 for 10.0.

How did you get it to work? 'mine failed yesterday. It just failed with CUDA 9.0 Too. I am beginning to feel like giving up to be honest

@Pure-Entropy  and which version of Tensorflow did you try with CUDA 9.0? Because the 1.13 version does not work with CUDA 9.0 afaik.

@Pure-Entropy Please use cuda 1.0 against TF 1.13.1 and in addition to that make sure you add cuda, cudnn paths to your environment. Please take a look at similar issue

@Pure-Entropy Please use cuda 10.0 against TF 1.13.1 and in addition to that make sure you add cuda, cudnn paths to your environment. Please take a look at similar issue

I honestly do not know where I am going wrong here. I just reinstalled CUDA 10.0 and cuDNN 10.0 the other day. I am just from copying the path variables EXACTLY as they are on the install page.
the reinstalled TF13.1 still refuses to work. PyTorch manages to recognise my GPU and work without any setup whatsoever, I got it to work just as soon as I installed CUDA and cuDNN even without the path variable modifications. It is the TensorFlows that keep refusing to work.
(This link )[https://imgur.com/a/US9LJjj] shows my environment's PATH variable. this is the system PATH.

@Pure-Entropy and which version of Tensorflow did you try with CUDA 9.0? Because the 1.13 version does not work with CUDA 9.0 afaik.

it was both 1.13 and 2.0.

There is no cuDNN 10.0. The newest CuDNN version is 7.5.
The tensorflow 1.13.1 works on Windows with GPU support, I have it myself.

Maybe a bit silly question, but are you using 64bit python? Because the version (32/64bit) of DLL must match the python version. Otherwise it complains about missing DLL even when it's present.

You need to add sub folders: bin , include and lib to the path. I see that lib and include folder's are not added to the path. Can you please try adding them as well?

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

No need to reopen. The issue was solved by adding include to the path. Thank you

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

I updated the docs and did a PR for the updated fork. the instructions did not tell us to add https://github.com/tensorflow to the PATH variable.
Please review it.

Are you satisfied with the resolution of your issue?
Yes
No

where should i add the bin, include lib? or how should i ?

where should i add the bin, include lib? or how should i ?
never mind, just had to move the Cudnn files into cuda,
here is the link just in case anyone needs it in the future

thanks ymodak

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

I updated the docs and did a PR for the updated fork. the instructions did not tell us to add C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include to the PATH variable.
Please review it.

It is not necessary to add C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include to the PATH variable. My guess is that you (and others who think that is the solution) changed something else, such as restarting your computer or opening a new PowerShell console, which will load updated environment variables.

I'd like to confirm that it works on cuda 10.0, not on 10.1.
I installed 2 things:

cuda_10.0.130_win10_network.exe
cudnn-10.0-windows10-x64-v<IP_ADDRESS>.zip


vpc.publicSubnetIds is not an Output[] anymore

File: themes/default/content/docs/guides/crosswalk/aws/vpc.md
vpc.publicSubnetIds is now just a promise, and the example doesn't work anymore as .apply doesn't exist on the promise.
I think there are quite a lot of outdated examples like this throughout pulumi docs, and I'm not even sure what's the generic approach to refactoring them. Thanks for any help!

@bsod90 thx for opening an issue! we will take a look as soon as we can.

Hi @bsod90
Please can you tell me which example isn't working for you? The examples we are listing here on this page are based on v1.0.0-beta.7 of awsx as that is our latest version of awsx made in a multi-language way
Thanks
Paul

@bsod90 are you able to give us some more information?

Hi, @susanev
Sorry, I missed the notification
I believe I was trying to create a machine in a public subnet or something. I think I was copy & pasting this part

but as I mentioned in the original message, vpc.publicSubnetIds is now a promise and not an Output so, I couldn't just .apply it, had to .then() it instead.
I believe earlier I was also trying to follow the ACM Cert with validation example and ran into similar issues. Straight copy & paste doesn't work, I ended up significantly refactoring the example.

@stack72 thoughts?

The issue here is that the guide is written for the new beta version of AWSX not the "default latest" - I think we need to make this more clear in the docs

Closing as no longer an issue, as the docs and the current version of AWSx are now aligned. As part of https://github.com/pulumi/pulumi-hugo/issues/2281, we'll also be adding programs and testing to make sure this doesn't happen again. Thanks again for the report!


Cannot read property '$form' of null at handleIntents

Thank you @davidkpiano for such a great library!
I'm using the latest version of react-redux-form within a large-scale app that has too many reducers to place right in the store, so it's split up in this way, as an example:
loginReducer.js (being loaded to the store via an asyncReducers helper)
import { fromJS } from 'immutable';
import { combineForms } from 'react-redux-form';

import {
  CHANGE_FORM,
  RESET_FORM,
  ...
  CLEAR_ERROR,
} from './constants';

const initialUserState = fromJS({
  email: '',
  password: '',
  errors: '',
});

function loginReducer(state = initialUserState, action) {
  switch (action.type) {
   ...
    case REQUEST_ERROR:
      return state
       .set('errors', action.error);
    case CLEAR_ERROR:
      return state
       .set('errors', '');
    default:
      return state;
  }
}

export default combineForms({
  user: loginReducer,
});

Login/index.js
<Form model="user" className={`${styles.form} ${t.ph4}`} onSubmit={(user) => this.login(user).bind(this)}>
              <div className={`${styles.formFieldWrapper}`}>
                <Control.text
                  model=".email"
                  className={`${styles.formFieldInput} ${styles.fontLight}`}
                  type="text"
                  name="email"
                  placeholder="Email address"
                />

With this configuration I am getting this error once the component is rendered, as well as on any keypress: Uncaught TypeError: Cannot read property '$form' of null.
The offending line is formValue.$form.intents.forEach(function (intent) in the source code. It seems as though my formValue is null at all times.
Since I am not using the combineForms function right on the store (for maintainability), is the formValue value not being rendered at all?

I'll close this issue as I've realized I was not importing the correct /lib/immutable while using ImmutableJS. I also understand Intents now! Thank you for a great library again 👍


Lab04

Fixes #
Review of colleague's PR #
Changes proposed in this PR:
-

Codecov Report

Merging #175 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #175   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      3    +1
  Lines          18     28   +10
=====================================
+ Hits           18     28   +10

Impacted Files
Coverage Δ

04_numeronym/eastrd/main.go
100% <100%> (ø)

01_fib/kasunfdo/main.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Label extractor aggregation function not exposing value.

Describe the bug
An aggregation function such as .reduce(a,b) is not producing a value.
To Reproduce
Create a Label with an extractor for a series of values. Add a javascript function to reduce a series of values to a single scalar.
Recalculate datasets for the the run/test.
Then go check the values in a Dataset using the "Show Label Values" button. The value is empty.
Version
0.7.11

Java
What is the version of Java ?
11

It seems the aggregation function in the SQL is producing an ArrayNode with a single element. ["[2,4,6,8,10]"]  Rather than 5 elements expected.
Reduce function to produce an average value can be achieved. With the following example function
value => { return value[0].slice(1,-1).split(',').reduce((a,b) => Number.parseInt(a)+Number.parseInt(b)) / value[0].slice(1,-1).split(',').length; }

I don't understand why Extractors behave differently depending on the result of the extractor. I do not think the result value should change how Combination Functions or Rendering Functions need to handle the data. Is there a reason the SQL needs to wrap the result into an array?

My example was misleading. My testcase was adding sample data incorrectly. The most recent commit adds sample data correctly. However, this does not change the fact the resulting JsonNode produced uses an ArrayNode to wrap the result. The most recent commit now flattens the hierarchy by removing 1 ArrayNode from the JsonNode object. The JS function can work as expected.


RegEx path support in Engine Service Collection config

Overview
Make Engine Service Collection path configuration accept RegEx instead of fixed path string. This makes more flexible engine service endpoint possible.
Problem to solve.
One of the typical use cases of engine service is to create a restricted view to an odata entity set.  However you can't create an odata-compatible endpoint out of engine since  a custom endpoint created by an engine service only serves at a fixed url.
Solution
Extending current Engine Service Collection configuration syntax a bit and accept RegEx or some simple pattern like the followings.
current
          <p:service language="JavaScript">
            <p:path name="path1" src="script1.js"/>
            <p:path name="path2" src="script2.js"/>
          </p:service>

extended
          <p:service language="JavaScript">
            <p:path name="view1" src="entities.js"/>
            <p:path regEx="/view1\((.+)\)/" src="entity.js"/>
          </p:service>

Add requirements from CEPS 2.0 Draft.

What about  <p:route path="{express}" script="entity.js" />

I googled some example of URI templating.
I realized that there are mainly two pattern, RFC 6570 style and express-style.
Result of search
Spring boot
https://docs.spring.io/spring-framework/docs/3.2.x/spring-framework-reference/html/mvc.html#mvc-ann-requestmapping-uri-templates
using URI Templating defined in RFC 6570. (maybe, using JAX-RS internally)
RouterFunction<ServerResponse> route = route()
    .GET("/person/{id}", accept(APPLICATION_JSON), handler::getPerson)
    .GET("/person", accept(APPLICATION_JSON), handler::listPeople)
    .POST("/person", handler::createPerson)
    .build();

Ruby on Rails
https://guides.rubyonrails.org/routing.html
I cannot find any documentation containing details of templating. (please tell me if you know)
get 'photos/:id/with_user/:user_id', to: 'photos#show'

Express
https://expressjs.com/ja/guide/routing.html
internally using path-to-regexp package
https://github.com/pillarjs/path-to-regexp/tree/v1.7.0
app.get('/users/:userId/books/:bookId', function (req, res) {
  res.send(req.params)
})

Vue router
https://router.vuejs.org/ja/guide/essentials/dynamic-matching.html
using express-style path expression (path-to-regexp)
React router
https://reactrouter.com/web/api/Route/path-string-string
using express-style path expression (path-to-regexp)
Laravel
https://laravel.com/docs/8.x/routing
example
public function boot()
{
    Route::pattern('id', '[0-9]+');

    parent::boot();
}

Route::get('user/{id}/profile', function ($id) {
    //
})->name('profile');

$url = route('profile', ['id' => 1]);

ASP.NET Core
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-3.1#route-constraint-reference
example
[Route("users/{id:int:min(1)}")]


Fixes for local registry tests and tinkerbell issues

Issue #, if available:
Description of changes:

Fixes for the chart.yaml replacement to occur on Tinkerbell dev.
Check and upload images to Public ECR if they don't exist will be placed in the bundle for packages helm chart.
Docs

/approve


Added browser Notifications + UI

Added browser Notifications + UI
TODO: add the hash# so the page slides to the comment newly added
and more tweaking to the notificationsList...
Thanks a lot

My application is using telescope-<> rather than nova-<>

Hey @meteorplus! That looks cool feature! 👍
However, following the Nova's philosophy; it would better as a 3rd party package that people would install if needed, and not a core feature.
Could you make it an external package and do a PR on devel updating the README with a link to your package? :octocat:

Great work! But I agree with @xavcz, I think that's the kind of feature that would be perfect as a third-party package :)


Getting HTTP 403 error when trying to link Twitch account

I get this error message after clicking the Twitch icon, putting in my username and password, and clicking "Log In".
I'm using Twitch Leecher 1.5.2, which I have just updated to, if that makes any difference.
Screenshot of error message

See #178

I've had Internet Explorer disabled in my Windows 7 as long as I can remember (See "Internet Explorer 9" unchecked here: https://i.imgur.com/BITaokj.png ), so I guess that's why. I ended up getting it to work by following some other user's tip that I found, that involved me getting the token and manually inserting it into the runtime.xml file, lol...
Are you able to have the program run a standalone Chromium or something for this, so that users like me don't run into problems?

Chromium (CefSharp for Example) is over 120mb big. TL without ffmpeg would be <2mb, with ffmpeg 23mb. I do not jump from 23 to 143mb just because of the sub-only login screen, I think that is understandable.
What I do have in mind, though, is the re-write of the entire GUI to HTML because I hate WPF for lightwight GUIs like TL has. If that's the case I will have to introduce Chromium and the problem would solve itself automatically.
Maybe... if the APIs get a little bitte better I'll switch to Electron completely. But for now the HTTP API is not sufficient.


Warn if a class inherits from Generic before BaseModel

Change Summary

Emit a warning when writing:
class Model(Generic[T], BaseModel):

instead of:
class Model(BaseModel, Generic[T]):

More generally, BaseModel must appear in the __mro__ before Generic, so indirect subclasses are also checked. This means that __class_getitem__ will use BaseModel instead of Generic and Model[T] will return a model class rather than a _GenericAlias.
Related issue number
Closes https://github.com/pydantic/pydantic/issues/7845
Waiting for a reply to https://github.com/pydantic/pydantic/issues/6994#issuecomment-1773295810 before continuing here, but thought I should push what I have so far. The failing tests might be of interest.
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@alexmojaki,
Thanks for the contribution. I'll discuss this issue with the team tomorrow morning + follow up with you afterwards 😄.

@alexmojaki,
Feel free to move ahead with this. We would like to warn if a class inherits from Generic before BaseModel.

please review


Remove Ability to access generic 'check' calls

Currently the way the check interface is setup, it's possible to make calls to some of the helper functions. this should be refactored from an interface to an abstract class

resolved with #190


S3 Tests start to failing due to ValueError: Access Denied

🐛 Describe the bug
Build TorchData with AWSSDK enabled: BUILD_S3=1 python setup.py install
Run test: cpurun python test/test_remote_io.py -v -k test_s3_io_iterdatapipe and you will see ValueError: Access Denied
I will disable the test to make sure CI is green.
cc: @ydaiming
Could you please take a deeper look on the test case?
Versions
main branch

There are a few places yielding ValueError: No response body


implement something like "accessory.unpublish()" or "accessory.isPublished()"

Hi,
I recently forked the node-red implementation of HAP-NodeJS and ran across an issue.
The current implementation was buggy when redeploying node-red because node state is supposed to be "reset" after a new deploy.
Unfortunately, there is no way to either determine if an accessory is currently being published or to "un-publish" it.
This leads to the problem that my new implementation tries to re-publish a service after redeploying a node-red flow which then crashes node-red:
16 Apr 21:18:15 - [red] Uncaught Exception:
16 Apr 21:18:15 - Error: dns service error: name conflict
    at Error (native)
    at Advertisement.on_service_registered (/usr/lib/node_modules/@oliverrahner/node-red-contrib-homekit-bridged/node_modules/mdns/lib/advertisement.js:42:24)
    at SocketWatcher.MDNSService.self.watcher.callback (/usr/lib/node_modules/@oliverrahner/node-red-contrib-homekit-bridged/node_modules/mdns/lib/mdns_service.js:18:40)

EDIT:
Just tried a 'proof-of-concept' using the option to un-publish the server.
This works:
   this.on('close', function (removed, done) {
      if (removed) {
        // This node has been deleted
        bridge.destroy()
      } else {
        // This node is being restarted
        bridge._server.stop()
        bridge._server = undefined
        bridge._advertiser.stopAdvertising()
        bridge._advertiser = undefined
        bridge = null
      }
      done()
    })

After that, the bridge seems to be properly cleaned up so that my re-publishing works.

Hello,
Can someone help me to understand how to use "Characteristic" issues. I am not familiar with programming.
Can you show a way to understand?
Thank you very much


Turicreate Activity Model occasionally becomes non-responsive

I have created several activity models using Turicreate v6.4.1. They all use data merged from 4 Adafruit Feather nRF52840 Sense boards attached to the thighs and shins of a dancer and transmitted to my app via Bluetooth.  I use only the 3-Axis accelerometers. Sampling rate 10Hz, predictionWIndow 2 sec. My models generate predictions of dance moves and range from 4 to 14 different categories of moves. The models are incorporated in an iOS app. My problem is that the models only work occasionally as intended. Most of the time the predictions just stall at some category from the very start and become non-responsive. It appears that this category is the last one in my list of categories ("running" in the sample bellow). I have no idea why this is happening. Any suggestions will be greatly appreciated. I can provide any additional information and code samples if this helps.

Here is the training of one of the simplest models:

Most of the time the predictions just stall at some category from the very start and become non-responsive.

Can you explain a bit more what is happening here. Is it always returning the same activity? Or is it non-responsive in the sense that the program hangs and you never get any predictions?
If you can share your code and data, I'll take a look.

Thanks for your reply Toby!
I figured it out. It was my mistake. I was running 7 of my models in parallel with the same raw data input but was using just one stateOutput variable for all of them,  which apparently was causing all models to return different activities but each model was stuck on the first activity it returned and would not change it over time despite me doing different dance steps.
Once I changed my code so that each model has its own stateOutput variable (see attached swift file)  all models became responsive and it was interesting to see in real time how their predictions differ depending one model features and the level of lowPsss filtering of the data that I have applied during training and testing of the models.
I have attached the relevant part of my code with a data sample for a 7 categories model. Please take a look if you have a few minutes.  Any comments and suggestions are greatly appreciated.
And one clarifying question: What is the purpose of the stateInLength variable and how do I chose the correct value for it considering my data sets?
static let stateInLength = 400 // Val added
Val
BGdanceData7Categories.zip
MLManagerDuplicate.swift.zip

And here is some additional information to give you a better perspective of what I am trying to accomplish. A sample of some of the dance steps that I am trying to classify/predict. My Python file for making the model. A photo of my sensors setup.
BGdance.py.zip
https://youtu.be/xenjhHHBZkA
Val with two sets of 4 leg sensors.HEIC.zip

I'm glad you figured out the issue.

And one clarifying question: What is the purpose of the stateInLength variable and how do I chose the correct value for it considering my data sets?
static let stateInLength = 400 // Val added

Yeah, this is a bit opaque. It's basically the amount of state the model hold between predictions. A smaller number means the model hold less state. A larger number mean the model holds more state.
This is an example of a hyper parameter that can be tuned. There is no way to know the best value without experimenting. Build several different models with different values for this hyper parameter. Then evaluate each using a test set.
Since you figure out the problem, I'm going to close this issue, but let me know if you have any more questions.


Index optimize extension with dynamic index support in embed db

In my case, my mysql server support multi different table, like API table, private table etc..., some table index must be dynamic for support index optimize with complex condition.

Hi @coyzeng, thank you for taking the time to contribute this interface suggestion. We have also been spinning with some ideas of how to sharpen up the indexed access interface.
The current way we support this is by having an indexable table source GetIndexes() return a variety of indexes depending on the specific version of the table pinned to the session, even if those index expressions will not be used in a predictable way from GMS's standpoint. Would be willing to share more about your use case? Is your table indexable on any set of columns, but has many hundreds of columns so an exhaustive list of indexes subsets is impractical to pass through the GetIndexes() interface?

Hi @coyzeng, thank you for taking the time to contribute this interface suggestion. We have also been spinning with some ideas of how to sharpen up the indexed access interface.
The current way we support this is by having an indexable table source GetIndexes() return a variety of indexes depending on the specific version of the table pinned to the session, even if those index expressions will not be used in a predictable way from GMS's standpoint. Would be willing to share more about your use case? Is your table indexable on any set of columns, but has many hundreds of columns so an exhaustive list of indexes subsets is impractical to pass through the GetIndexes() interface?

I have some logic table, they work with dynamic index, like virtual index. If query condition can not hit the fixed index, it will scan all rows of the table.

Changes look good except for the new interface. Implement Max's suggestion and we'll merge it in.

I have implemented Max's suggestion. But I'm not sure it's the best way. Max says indexAnalyzer will be remove shortly.
I also want to create another PR for mysql fully homomorphic encryption pluggable expression support. Which make go-mysql can work on multi party data with privacy computing.

This is what the index scan rewrite will look like, as a reference https://github.com/dolthub/go-mysql-server/pull/2093. It will take 4-5 more PRs for this to replace the current form, but I've thought about it more thoroughly now. The interface you're suggesting would fork the implementation based on whether you want a costed approach to choosing indexes, or defer to the database to choose its own preferred index. All I need is the hook for 1) checking if the database wants to override statistical index checking, and 2) a method that gives the table a list of equality filters, and returns a sql.Index or sql.IndexLookup in return. So a slight edit to my previous suggestion.
type IndexSearchable interface {
    SkipIndexCosting() bool
    IndexWithPrefix([]string) sql.IndexLookup
}

Supporting range filters might need a different interface.
Just trying to make sure these two PRs converge in a way that doesn't break compatibility for you.

This is what the index scan rewrite will look like, as a reference #2093. It will take 4-5 more PRs for this to replace the current form, but I've thought about it more thoroughly now. The interface you're suggesting would fork the implementation based on whether you want a costed approach to choosing indexes, or defer to the database to choose its own preferred index. All I need is the hook for 1) checking if the database wants to override statistical index checking, and 2) a method that gives the table a list of equality filters, and returns a sql.Index or sql.IndexLookup in return. So a slight edit to my previous suggestion.
type IndexSearchable interface {
    SkipIndexCosting() bool
    IndexWithPrefix([]string) sql.IndexLookup
}

Supporting range filters might need a different interface.
Just trying to make sure these two PRs converge in a way that doesn't break compatibility for you.

I redeclare IndexSearchable as below and make a slight edit. This is the minimal edit before #2093 draft merged.
type IndexSearchable interface {
	// SkipIndexCosting will choose the database preferred index if return true.
	SkipIndexCosting() bool
	// IndexWithPrefix returns an array of this table's Indexes that matched with prefix.
	IndexWithPrefix(ctx *Context, expressions []string) (Index, error)
	// IndexWithExpression returns an array of this table's Indexes that matched with expression.
	 Can you take a look and tell me whether this works for you? Reusing engine logic and implementing IndexWithPrefix is an optional extension of this, I wasn't sure whether you wanted that right now or just the bare bones version.
You could edit and send back a different PR if you need more functionality. Either way, it might be easier to separate the interceptor chain and index changes into two different PRs.


I need help making pre-song cutscenes

Describe your problem here.
I don't know how to make pre-song cutscenes (not dialogues), can someone help me?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
2 new characters, a new stage and deleted week 1-6 default json and png
hi

help me

MP4 cutscenes on animated in sprites?

MP4, i have the MP4, i believe it is already 1280x720. Just the coding is my problem.

hi

there's a video example here for bopeebo, could probably be reworked to fit your needs: https://github.com/ShadowMario/FNF-PsychEngine/wiki/Lua-Script-API

Duplicate of https://github.com/ShadowMario/FNF-PsychEngine/issues/748

And animated in sprites?


add missing pub

Thanks for the crate! I'm currently evaluating different quantile algorithms for percentile aggregations in tantivy and so far this crate looks pretty good.
It still got some rough edges.
Without the exporting the types, the DDSketch struct can't be stored. Having to define DDSketch<CubicallyInterpolatedMapping, CollapsingLowestDenseStore>, is a odd API, so maybe it's better to hide these details and wrap them in a new type that gets exported.
use sketches_rust::index_mapping::CubicallyInterpolatedMapping;
use sketches_rust::store::CollapsingLowestDenseStore;
struct DDSketch2 {
    sketch: sketches_rust::DDSketch<CubicallyInterpolatedMapping, CollapsingLowestDenseStore>,
    error: f64,
    max_buckets: usize,
}

impl DDSketch {
    fn new(error: f64, max_buckets: usize) -> Self {
        Self {
            sketch: sketches_rust::DDSketch::collapsing_lowest_dense(error, max_buckets).unwrap(),
            error,
            max_buckets,
        }
    }
}

Thanks for your pr and advice！ I have also been considering how to orgernized this part of the interface, some changes maybe made later.

Thanks for the fast publish!
The project I use for the comparison is here https://github.com/PSeitz/quantile_compare
Maybe it's useful to you.
What would be missing for using it in tantivy, would be a serialization with serde (we use json to send the results between nodes)

serialization is on the way

@PSeitz  serialization is already, have fun.

Awesome!
I noticed that you changed the API, but did publish as patch version 0.1.x. For API changes rust uses semver, so it should be 0.2.0, or it could break compilation on existing projects.

Encode and Decode api is not stable before, so i just change it without upgrade 0.2.x.  I didn't think too much.

The breaking API change is not the encode API, but removing the exports from the submodules

Thanks for your advice.  I have published the new v0.2 version as well as the new api which is easy to use. Maybe you could reconsider about it.


Apply the defaultEncoder to all http methods

In the example below, request was not receiving defaultEncoder setted in onInit:
Future<Response<ItemModel>> getItem() => request<ItemModel>>(url,  'get');

LGTM, thanks for it


Question: Understanding Resetting Partition Offsets

hi there,
I was pointed to this project because I was working on one very similar.  The only problem is, I can't seem to get the reset working like yours...yet it looks like im using similar, if not identical code.  I was wondering, if you had the time that is, if perhaps a second set of eyes (and a more knowledgable one at that!) could assist me in pointing out where exactly I am missing the functionality, and why?
Thanks ahead of time for any help you may provide!
func setConsumerGroupOffset(cmd *cobra.Command, args []string) {
	var setOffset int64
	var err error
	switch offsetString {
	case "oldest":
		setOffset = sarama.OffsetOldest
	case "newest":
		setOffset = sarama.OffsetNewest
	default:
		setOffset, err = strconv.ParseInt(offsetString, 10, 64)
		if err != nil || setOffset < 0 {
			log.Printf("[ERROR] Can't Parse/Use Given Offset: %v (err: %s)", setOffset, err)
		}
	}

	clientConfig := sarama.NewConfig()
	clientConfig.ClientID = "kafkactl"
	table := uitable.New()
	table.Wrap = true

	clientConn, err := sarama.NewClient(kafkactlCfg.brokers, clientConfig)
	if err != nil {
		log.Fatalf("[ERROR] Unable to connect to Kafka Brokers (err: %s)", err)
	}

	myPartitions, err := getPartitionsByTopic(clientConn, topic)
	if err != nil {
		return
	}
	defer clientConn.Close()

	om, err := sarama.NewOffsetManagerFromClient(consumerGroup, clientConn)
	if err != nil {
		log.Fatalf("[ERROR] Unable to Manage OFfsets (err: %s)", err)
	}
	defer om.Close()

	for _, partition := range myPartitions {
		pom, err := om.ManagePartition(topic, partition)
		if err != nil {
			log.Fatalf("[ERROR] Unable to connect to Offset Manager for Partition %v", partition)
		}
		defer pom.Close()

		pomOffset, pomMetadata := pom.NextOffset()
		log.Printf("[DEBUG] Offset: %v, Metadata: %s", pomOffset, pomMetadata)
		if setOffset == sarama.OffsetNewest || setOffset == sarama.OffsetOldest {
			setOffset, err = clientConn.GetOffset(topic, partition, setOffset)
			if err != nil {
				log.Fatalf("[ERROR] Unable to retrieve offset for topic/partition: %s/%v, err: %s", topic, partition, err)
			}
		}
		log.Printf("Setting offset for topic/partition: %s/%v, offset: %v", topic, partition, setOffset)
		pom.MarkOffset(setOffset, "")
	}

There are no errors in the above code.  However, the partitions never get reset in lag.  I tried your program and it worked perfect - not sure where im going wrong!
Thanks again,
jbkc85

Hi @jbkc85  - this first thing that comes to mind is this guy: https://github.com/fgeller/kt/commit/deb7da12eb4368d0e85329bac955feaff8b52f6b
ie, sarama doesn't allow setting to an offset that's less than the current one.

oooh, that makes perfect sense.  I can in fact set it ~higher~ with my current setup...but why is is that I can seem to set it ~lower~ with your script though?
# current output of topic/group
$ kafkactl -e local desc group kafkactl -t topic
GROUP   	TOPIC:PARTITION#	CURRENT_OFFSET	LOG_END_OFFSET	LAG
kafkactl	-               	-
        	topic:0 	9             	2             	7
        	topic:1 	4             	2             	2
        	topic:2 	2             	2             	0
        	topic:3 	2             	2             	0
        	topic:4 	2             	2             	0
# reset partition 2 to '1' LOG_END_OFFSET
$ kt group -brokers broker:29092 -group kafkactl -topic topic -partitions 2 -reset 1
found 1 groups
found 1 topics
{
  "name": "kafkactl",
  "topic": "topic",
  "offsets": [
    {
      "partition": 2,
      "offset": 1,
      "lag": 1
    }
  ]
}
# new output...
$ kafkactl -e local desc group kafkactl -t topic
GROUP   	TOPIC:PARTITION#	CURRENT_OFFSET	LOG_END_OFFSET	LAG
kafkactl	-               	-
        	topic:0 	9             	2             	7
        	topic:1 	4             	2             	2
        	topic:2 	2             	1             	1
        	topic:3 	2             	2             	0
        	topic:4 	2             	2             	0
# set back to 2
$ kt group -brokers broker:29092 -group kafkactl -topic FanThreeSixty -partitions 2 -reset 2
found 1 groups
found 1 topics
{
  "name": "kafkactl",
  "topic": "FanThreeSixty",
  "offsets": [
    {
      "partition": 2,
      "offset": 2,
      "lag": 0
    }
  ]
}
# now set to 1 with kafkactl - no dice
~ ⌚ 8:08:27
$ kafkactl -e local set group offset -o 1 -g kafkactl -t topic
2017/08/18 08:08:31 [DEBUG] Offset: 2, Metadata:
2017/08/18 08:08:31 Setting offset for topic/partition: topic/0, offset: 1
2017/08/18 08:08:31 [DEBUG] Offset: 2, Metadata:
2017/08/18 08:08:31 Setting offset for topic/partition: topic/1, offset: 1
2017/08/18 08:08:31 [DEBUG] Offset: 2, Metadata:
2017/08/18 08:08:31 Setting offset for topic/partition: topic/2, offset: 1
2017/08/18 08:08:31 [DEBUG] Offset: 2, Metadata:
2017/08/18 08:08:31 Setting offset for topic/partition: topic/3, offset: 1
2017/08/18 08:08:31 [DEBUG] Offset: 2, Metadata:
2017/08/18 08:08:31 Setting offset for topic/partition: topic/4, offset: 1

~ ⌚ 8:08:31
$ kafkactl -e local desc group kafkactl -t topic
GROUP   	TOPIC:PARTITION#	CURRENT_OFFSET	LOG_END_OFFSET	LAG
kafkactl	-               	-
        	topic:0 	9             	2             	7
        	topic:1 	4             	2             	2
        	topic:2 	2             	2             	0
        	topic:3 	2             	2             	0
        	topic:4 	2             	2             	0

OH!  I see what you are pointing to now.  You were patching the Sarama code itself in your vendor code....I thought it was just a commit showing to Sarama.
Have you thought about forking that Sarama code at some point?

didn't want to fork it for that simple change - otherwise sarama is doing an amazing job imo. did want to try to offer a pr upstream and see if that could get some momentum. but time.. :)
happy to close this issue then?

absolutely happy.  I appreciate your time and answers, love the learning.
Also, great work on your script.  I used it to build up a little bit of mine, so I appreciate the 'tutorial' :-)


Getting  error when opening - clangd_extension not found

Getting above error when I open lvim

fixed via https://github.com/abzcoding/lvim/commit/afccf5f7ea199737ba0837c36eda466a02d65382


TypeError: init() got an unexpected keyword argument 'groups'

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
When I train my dataset with faster_rcnn_x101_64x4d_fpn_1x.I got the error:
TypeError: init() got an unexpected keyword argument 'groups'.Before that I train my dataset with faster_rcnn_r101_fpn_1x,it works ok.
Reproduction

What command or script did you run?
python toos/train configs/faster_rcnn_x101_64x4d_fpn_1x.py

2. Did you make any modifications on the code or config? Did you understand what you have modified?
Yes, I have,I change the num_classes and ann_file in the config file,and I have change the class type in mmdet/evalution/class_names.py and mmdet/datasets/voc.py
3. What dataset did you use?
VOCdevkit
**Environment**
 - OS:  Ubuntu 16.04.6
 - GCC:5.4.0
 - PyTorch version:1.1.0
- How you installed PyTorch :pip
- GPU model:RTX2080ti V
- CUDA and CUDNN version:cuda-10.1 cudnn-7.5.4

**Error traceback**

Traceback (most recent call last):
File "tools/train.py", line 95, in
main()
File "tools/train.py", line 73, in main
cfg.model, train_cfg=cfg.train_cfg, test_cfg=cfg.test_cfg)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/builder.py", line 60, in build_detector
return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/builder.py", line 32, in build
return _build_module(cfg, registry, default_args)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/builder.py", line 24, in _build_module
return obj_type(**args)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/detectors/faster_rcnn.py", line 27, in init
pretrained=pretrained)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/detectors/two_stage.py", line 28, in init
self.backbone = builder.build_backbone(backbone)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/builder.py", line 36, in build_backbone
return build(cfg, BACKBONES)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/builder.py", line 32, in build
return _build_module(cfg, registry, default_args)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/builder.py", line 24, in _build_module
return obj_type(**args)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/backbones/resnext.py", line 222, in init
gcb=gcb)
File "/home/zhongjianping/桌面/paper/detection_cvpr2019/1901.03278/mmdetection-master/mmdet/models/backbones/resnext.py", line 138, in make_res_layer
gcb=gcb))
TypeError: init() got multiple values for argument 'groups'

**Bug fix**
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

I cannot reproduce your error. Maybe you just made wrong modifications to the config file.

I cannot reproduce your error. Maybe you just made wrong modifications to the config file.

Thank you very much!I have solved the problem,I found that my version was old,so when I updated my code,It works well.


Issue audit

Many issues I see that have been raised seem to have no tags or no recent updates. Asking for an update or recommending closure when searching for work is cumbersome.
I think issues should be audited and tagged so contributors can jump into a specific tag instead of weeding through all of the issues. This has the advantage of closing many out-of-date issues and making shogun contributors look really efficient, vigilant, and hard-working. :smile:

Haha....yes definitely.
We all do this every now and then. It is hard to keep such things up over a long time.
Generally, I am all up for closing issues that are "old".
What do you suggest to make us look really efficient?

@karlnapf It's unclear at the moment. I can brainstorm and give some ideas later. Once issues start closing (I imagine there are many), it'll probably become a more maintainable goal. Seeing 300+ open issues at a given time is overwhelming to everyone: owners and contributors alike.

I think it is better to document all thoughts, problems, bugs etc than to ignore them.
At least new people can choose from a large set.
The art is to group the issues we want to solve for a next release. In fact, we did this in the past. Feel free to suggest things here....

Right. The goals is to only close issues that aren't issues anymore. This is an example of such an issue. If tags were added and issues were tracked regularly (monthly? quarterly?), only relevant issues would still be open.


component helper doesn't prohibit passing unknown args

foo-components.ts:
import templateOnlyComponent from '@glint/environment-ember-loose/ember-component/template-only';

interface IFoo {
  readonly Args: {
    readonly name: string;
    readonly model: number;
  };
}

const Foo = templateOnlyComponent<IFoo>();

export default Foo;

declare module '@glint/environment-ember-loose/registry' {
  export default interface Registry {
    'foo-component': typeof Foo;
  }
}

qux.ts:
import Component from '@glint/environment-ember-loose/glimmer-component';

export interface IQux {
  readonly Args: {
    readonly [key: string]: any;
  };
}

export default class Qux extends Component<IQux> {
}

declare module '@glint/environment-ember-loose/registry' {
  export default interface Registry {
    Qux: typeof Qux;
  }
}

bar.hbs:
<Qux @foo={{component "foo-component" name1="asd" model="asd"}} />
<Qux @foo={{component "foo-component" name="asd" model1="asd"}} />
<Qux @foo={{component "foo-component" name1="asd" model1="asd"}} />

Only the first and the third lines give an error. The second one also should but doesn't.

Unfortunately this is something we don't have a great deal of control over. The specific feature of the type system at play here is something called excess property checking, which only kicks in in very specific scenarios.
For normal component/helper/modifier invocations, because you have to provide all required arguments at once, we're able to frame that invocation in a way that triggers TypeScript to apply ECP and warn you when you specify an unknown arg.
Because of the way {{component}} is happy to have missing arguments and let you fill the rest in later, though, we can't get ECP for that scenario. In your examples above:

The first line is a type error because model should be a number
The third line is a type error because the args you pass have no properties in common with the expected type, so TS flags it as a mismatch regardless of ECP
The second line is accepted because { name: 'asd', model1: 'ast' } is a valid Partial<{ name: string; model: number }>, even if we can tell that model1 is likely a human error. Note in this case that the resulting bound component type knows that it's still missing a @model arg of type number and won't let you invoke it without providing that.

That looks like something different.
The trouble we have here with {{component}} is that we need to capture which args are actually given (so we can know which will still be required later), but the exact thing that allows us to do that—capturing the exact subtype of Partial<Args> with a type parameter—is also what (pretty reasonably) disables EPC for the argument with that type.


Slow startup time when using symbolic link to dart executable

Dart VM startup time is considerably slower when the executable is not directly in the path, but when it is instead linked symbolically (as is the case with Homebrew installations, for example). Example:
$ unzip -q dartsdk-macos-x64-release.zip
$ ln -s dart-sdk/bin/dart .
$ ./dart --version
Dart VM version: 2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "macos_x64"
$ cat >test.dart
void main() {}
$ time ./dart test.dart
./dart test.dart  0.82s user 0.11s system 148% cpu 0.626 total
$ time ./dart-sdk/bin/dart test.dart
./dart-sdk/bin/dart test.dart  0.31s user 0.08s system 178% cpu 0.219 total
$ time ./dart test.dart
./dart test.dart  0.82s user 0.10s system 148% cpu 0.626 total
$ time ./dart-sdk/bin/dart test.dart
./dart-sdk/bin/dart test.dart  0.32s user 0.07s system 177% cpu 0.221 total

Observed with Dart 2.1.0 on macOS, but it also happens on Linux and also with Dart 2.0.0. A workaround is to use a link to a shell script that exec's dart with its real path. It does not seem to matter whether the symbolic link is a relative or an absolute path.

The root cause is that kernel service snapshot is not found. The vm will check whether .snapshot sits in the same folder with executable file. If nothing found, it will call kernel_service, which takes longer time to compile.
Solution: add --dfe= path/to/kernel-service.dart.snapshot if using symbolic link.

Maybe the vm could resolve the symlink and then check?
This is a rather bad user experience by default. In my case on some script running just "dart" (/usr/local/bin/dart) takes over 5 seconds to launch a script instead of 1.5 second when lauching the actual executable from libexec.
Without this issue I'd never have guessed that running the actual exectuable would speed things so significantly.

@zguo93, perhaps this issue could be reconsidered?

Thanks for comment. That's my old account name.
I think this looks good to me. @a-siva Wdyt? Any concern?

Agree we could resolve the sym link and check.


Created USAGE.md

For https://github.com/sendgrid/email-templates/issues/3
@mbernier edit: closes #3

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

Review ?

Hello @anurag-ks,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

@anurag-ks
If you are interested, we would love the opportunity to talk to you about Hacktoberfest and our API libraries.
Our agenda would be: Explore what you liked and is there anything we can do to improve?
You can grab a time on my calendar that works for you and we can have a chat on Google Hangout or Skype. If you prefer, you can email me using my GitHub username at my company’s domain.
Thank you so much,
Matt Bernier - @mbernier - SendGrid Developer Experience Product Manager
Elmer Thomas - @thinkingserious - SendGrid Developer Experience Engineer
@SendGrid


Any plan about supporting compressed extension?

RVC is supposed to lessen the pressure of icache, it would be amazing to support RVC.

We have considered implementing the compress extension, but we think it is relatively difficult. In particular, in the extension, 4-byte instructions can cross cache line boundaries, and we currently do not have a good way to handle this problem. Do you have any ideas regarding this issue?


how to mock a specific room/channel

Hi, in my functional code I am using the messageRoom function controlled by a cronjob to post a salutation message each morning.
robot.messageRoom('general', 'hello general room');

How can I mock the 'general' room to provide a test for this functionality?

@tpowellmeto I think you'll need to use the name option when you call createRoom. I've never used it before though.

@pchaigno Thank you that worked!
room = helper.createRoom({name:'roomName'});


feat: updated existing repository check logic to support more vendors

change the check to use 404 response status rather than the type of error returned from the jx-helpers utils

Hi @ryneal. Thanks for your PR.
I'm waiting for a jenkins-x or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

Hi @ryneal. Thanks for your PR.
I'm waiting for a jenkins-x or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @jstrachan

/assign @jstrachan

/ok-to-test
/lgtm

/ok-to-test
/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ryneal: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
330ba778c58cd94e62d8de71611fc7e0e215a775
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@ryneal: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
330ba778c58cd94e62d8de71611fc7e0e215a775
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest

/retest

@ryneal: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
330ba778c58cd94e62d8de71611fc7e0e215a775
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@ryneal: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
330ba778c58cd94e62d8de71611fc7e0e215a775
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

New changes are detected. LGTM label has been removed.

New changes are detected. LGTM label has been removed.

@ryneal: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
a49ab8dda286e0ed54c113ba336437d9a0d4bf58
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@ryneal: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
a49ab8dda286e0ed54c113ba336437d9a0d4bf58
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@ryneal: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
a49ab8dda286e0ed54c113ba336437d9a0d4bf58
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@ryneal: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
a49ab8dda286e0ed54c113ba336437d9a0d4bf58
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

error:

WARNING: organisation orga detected from URL https://github.com/orga/myrepo. '--org orgb' will be ignored
--
  | --- FAIL: TestShouldReturnErrorWhenErrorReturnedAndResponseIsSuccessful (0.00s)
  | panic: interface conversion: interface {} is **scm.Repository, not *scm.Repository [recovered]
  | panic: interface conversion: interface {} is **scm.Repository, not *scm.Repository
  |
  | goroutine 418 [running]:
  | testing.tRunner.func1.1(0x1960e80, 0xc0007f7aa0)
  | /usr/local/go/src/testing/testing.go:1072 +0x30d
  | testing.tRunner.func1(0xc0012f2c00)
  | /usr/local/go/src/testing/testing.go:1075 +0x41a
  | panic(0x1960e80, 0xc0007f7aa0)
  | /usr/local/go/src/runtime/panic.go:969 +0x1b9
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd_test.(*MockRepositoryService).Find(0xc0002ff320, 0x1de7ba0, 0xc00012c010, 0xc001a35210, 0x9, 0x1b82ea0, 0x4, 0xc001a35210, 0x9)
  | /workspace/source/pkg/cmd/importcmd/input_test.go:20 +0x219
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd.(*ImportOptions).ValidateRepositoryName(0xc00120bc38, 0x1b82de8, 0x4, 0x1b82ea0, 0x4, 0x2, 0xc001240320)
  | /workspace/source/pkg/cmd/importcmd/input.go:242 +0xd5
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd_test.TestShouldReturnErrorWhenErrorReturnedAndResponseIsSuccessful(0xc0012f2c00)
  | /workspace/source/pkg/cmd/importcmd/input_test.go:61 +0x339
  | testing.tRunner(0xc0012f2c00, 0x1c62be0)
  | /usr/local/go/src/testing/testing.go:1123 +0xef
  | created by testing.(*T).Run
  | /usr/local/go/src/testing/testing.go:1168 +0x2b3
  | FAIL	github.com/jenkins-x/jx-project/pkg/cmd/importcmd	76.209s
  | ?   	github.com/jenkins-x/jx-project/pkg/cmd/importcmd/test_data/import_projects/golang	[no test files]
  | about to run: git clone https://github.com/jx3-gitops-repositories/jx3-gke-gsm /tmp/jx-git-127794829 in dir /tmp
  | Cloning into '/tmp/jx-git-127794829'...
  | --- FAIL: TestCreateQuickstartProjects (2.72s)
  | quickstart_integration_test.go:35:
  | Error Trace:	quickstart_integration_test.go:35
  | Error:      	Received unexpected error:
  | Not Found
  | failed to check if repository dummy/mynode exists
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd.(*ImportOptions).ValidateRepositoryName
  | /workspace/source/pkg/cmd/importcmd/input.go:249
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd.(*ImportOptions).PickNewOrExistingGitRepository
  | /workspace/source/pkg/cmd/importcmd/input.go:219
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd.(*ImportOptions).GetGitRepositoryDetails
  | /workspace/source/pkg/cmd/importcmd/import.go:1279
  | github.com/jenkins-x/jx-project/pkg/cmd/root.(*CreateQuickstartOptions).CreateQuickStart
  | /workspace/source/pkg/cmd/root/quickstart.go:151
  | github.com/jenkins-x/jx-project/pkg/cmd/root.(*CreateQuickstartOptions).Run
  | /workspace/source/pkg/cmd/root/quickstart.go:136
  | github.com/jenkins-x/jx-project/pkg/cmd/root_test.TestCreateQuickstartProjects
  | /workspace/source/pkg/cmd/root/quickstart_integration_test.go:34
  | testing.tRunner
  | /usr/local/go/src/testing/testing.go:1123
  | runtime.goexit
  | /usr/local/go/src/runtime/asm_amd64.s:1374
  | Test:       	TestCreateQuickstartProjects

error:

WARNING: organisation orga detected from URL https://github.com/orga/myrepo. '--org orgb' will be ignored
--
  | --- FAIL: TestShouldReturnErrorWhenErrorReturnedAndResponseIsSuccessful (0.00s)
  | panic: interface conversion: interface {} is **scm.Repository, not *scm.Repository [recovered]
  | panic: interface conversion: interface {} is **scm.Repository, not *scm.Repository
  |
  | goroutine 418 [running]:
  | testing.tRunner.func1.1(0x1960e80, 0xc0007f7aa0)
  | /usr/local/go/src/testing/testing.go:1072 +0x30d
  | testing.tRunner.func1(0xc0012f2c00)
  | /usr/local/go/src/testing/testing.go:1075 +0x41a
  | panic(0x1960e80, 0xc0007f7aa0)
  | /usr/local/go/src/runtime/panic.go:969 +0x1b9
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd_test.(*MockRepositoryService).Find(0xc0002ff320, 0x1de7ba0, 0xc00012c010, 0xc001a35210, 0x9, 0x1b82ea0, 0x4, 0xc001a35210, 0x9)
  | /workspace/source/pkg/cmd/importcmd/input_test.go:20 +0x219
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd.(*ImportOptions).ValidateRepositoryName(0xc00120bc38, 0x1b82de8, 0x4, 0x1b82ea0, 0x4, 0x2, 0xc001240320)
  | /workspace/source/pkg/cmd/importcmd/input.go:242 +0xd5
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd_test.TestShouldReturnErrorWhenErrorReturnedAndResponseIsSuccessful(0xc0012f2c00)
  | /workspace/source/pkg/cmd/importcmd/input_test.go:61 +0x339
  | testing.tRunner(0xc0012f2c00, 0x1c62be0)
  | /usr/local/go/src/testing/testing.go:1123 +0xef
  | created by testing.(*T).Run
  | /usr/local/go/src/testing/testing.go:1168 +0x2b3
  | FAIL	github.com/jenkins-x/jx-project/pkg/cmd/importcmd	76.209s
  | ?   	github.com/jenkins-x/jx-project/pkg/cmd/importcmd/test_data/import_projects/golang	[no test files]
  | about to run: git clone https://github.com/jx3-gitops-repositories/jx3-gke-gsm /tmp/jx-git-127794829 in dir /tmp
  | Cloning into '/tmp/jx-git-127794829'...
  | --- FAIL: TestCreateQuickstartProjects (2.72s)
  | quickstart_integration_test.go:35:
  | Error Trace:	quickstart_integration_test.go:35
  | Error:      	Received unexpected error:
  | Not Found
  | failed to check if repository dummy/mynode exists
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd.(*ImportOptions).ValidateRepositoryName
  | /workspace/source/pkg/cmd/importcmd/input.go:249
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd.(*ImportOptions).PickNewOrExistingGitRepository
  | /workspace/source/pkg/cmd/importcmd/input.go:219
  | github.com/jenkins-x/jx-project/pkg/cmd/importcmd.(*ImportOptions).GetGitRepositoryDetails
  | /workspace/source/pkg/cmd/importcmd/import.go:1279
  | github.com/jenkins-x/jx-project/pkg/cmd/root.(*CreateQuickstartOptions).CreateQuickStart
  | /workspace/source/pkg/cmd/root/quickstart.go:151
  | github.com/jenkins-x/jx-project/pkg/cmd/root.(*CreateQuickstartOptions).Run
  | /workspace/source/pkg/cmd/root/quickstart.go:136
  | github.com/jenkins-x/jx-project/pkg/cmd/root_test.TestCreateQuickstartProjects
  | /workspace/source/pkg/cmd/root/quickstart_integration_test.go:34
  | testing.tRunner
  | /usr/local/go/src/testing/testing.go:1123
  | runtime.goexit
  | /usr/local/go/src/runtime/asm_amd64.s:1374
  | Test:       	TestCreateQuickstartProjects

@jstrachan to resolve one of the test failures I will need to merge my PR on go-scm https://github.com/jenkins-x/go-scm/pull/220

@jstrachan to resolve one of the test failures I will need to merge my PR on go-scm https://github.com/jenkins-x/go-scm/pull/220


[BEAM-9136] Skip pulling licenses by default.

no-licenses tag is used to skip license related tasks when create Java and Python SDK docker images. By default, the tag is not set. User should pass the tag to skip the tasks.
R: @tvalentyn
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run seed job

Run Java PreCommit

Run PythonDocker PreCommit

@tvalentyn, I changed it to pull licenses only with Jenkins test. License pulling is skipped by default. Can you please take a look?

Thank you Valentyn.

Seems like this broke cross-language tests.
https://builds.apache.org/view/A-D/view/Beam/view/PostCommit/job/beam_PostCommit_XVR_Flink/
https://scans.gradle.com/s/x24iwckafknka/console-log?task=:sdks:java:container:pullLicenses


Roll Engine from a6ce607b13f8 to 9481a79591fd (1 revision)

https://github.com/flutter/engine/compare/a6ce607b13f8...9481a79591fd
2022-01-04<EMAIL_ADDRESS>Roll Skia from 45f64bd52835 to 6bebf036a502 (2 revisions) (flutter/engine#30659)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


About extracting the feature of the 12th layer for finetuned hubert model

What is your question?
In examples/hubert/simple_kmeans, there are methods of extracting the feature of pretrained model. Now, for comparing the similarity of different models and layers, I am working on extracting the feature of the 12th layer for finetuned hubert model that given in README.md, such as the HuBERT LARGE model and HuBERT Extra LARGE model. What should I do?

This should be your command: python dump_hubert_feature.py ${tsv_dir} ${split} ${ckpt_path} 12 ${nshard} ${rank} ${feat_dir}
Replace ${tsv_dir} with the directory containing the input TSV files, ${split} with the name of the split (e.g., "train", "dev", or "test"), ${ckpt_path} with the path to the saved checkpoint file for the fine-tuned HuBERT model, ${nshard} with the number of shards (typically the number of GPUs used), ${rank} with the rank of the current process (from 0 to ${nshard}-1), and ${feat_dir} with the directory where you want to save the extracted features.
Did you get any error while trying this?

Thank you, Pran-Ker. Your anwser is used for the pretrained model. But my focus is the finetuned model. And ss far as I know, the finetuned model has no func named "extract_features".

hi @LYPinASR have you solve this problem? I occur the same issue, and my the feat_chunk is str rather than Tensor when I use hubert_large_ll60k_finetune_ls960.pt

hi @LYPinASR have you solve this problem? I occur the same issue, and my the feat_chunk of dump_hubert_feature.py is str rather than Tensor when I use hubert_large_ll60k_finetune_ls960.pt, and the number of output is different for feat_chunk, _ = self.model.extract_features

这个应该去模型里面取transformer最后一层就行了。你解决了吗