STDERR does not get displayed properly on non utf encodings

When using encodings like cp866 (Cyrillic) if cmd fails writing the cache or running the gulp task the output wont be properly encoded:

This is a problem with Windows using a different encoding for STDERR and STDOUT.

It's weird :confounded:  I still can catching this bug, sometimes. And sometimes it's working fine. Now I'm trying to understand why it sometimes works and sometimes not

The fact that you get this problem from time to time leads me to believe is a problem with the Windows ENV variable (it happened to me from time to time running Windows this last couple of days).
You can take a look here, it could be helpful.
As for the Class not registered, keep me posted, right now I think it might not be related to Sublime Gulp
Lastly, I still have to test it, but I think I finally fixed the encoding issues on b9dcaac

@NicoSantangelo I found out that Class not registered was a chrome issue, this error is not related tosublime text or to your package. And i got some error, i will write about it later.

This is up!
Last version is v4.5.0, if you're using Package Control you can use the List packages command to check which version of sublime-gulp you have.
This should fix the nonsensical characters so you can see the output. If you're still having this error from time to time we can open a new issue :)
If you want, let me know how it goes

@NicoSantangelo  It still working just when I open sublime text with admin permissions. And in one my project i get this error:

sublime-gulp.log:

07-09-2015 17:19:
D:\Program Files\Sublime Text\Data\Packages\Gulp\write_tasks_to_cache.js:55
    gulp.tree({ deep: true }).forEach(function(task) {
         ^
TypeError: undefined is not a function
    at _forEachTask4x (D:\Program Files\Sublime Text\Data\Packages\Gulp\write_tasks_to_cache.js:55:10)
    at forEachTask (D:\Program Files\Sublime Text\Data\Packages\Gulp\write_tasks_to_cache.js:42:9)
    at Object. (D:\Program Files\Sublime Text\Data\Packages\Gulp\write_tasks_to_cache.js:79:5)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

But from cmd my project builds successfully.

Could you tell me which gulp version are you running in the project that does not work? ( gulp -v )

3.9.0 version, and in other project where your package works, too 3.9.0 version

@Sigmanor Sorry for the massive delay, I'm not having a lot of free time lately.
if you're seeing this, the following error in a 3.9.0 gulp project:
07-19-2015 00:49:
/Users/xx/Library/Application Support/Sublime Text 3/Packages/Gulp/write_tasks_to_cache.js:55
    gulp.tree({ deep: true }).forEach(function(task) {
         ^
TypeError: undefined is not a function
    at _forEachTask4x (/Users/xx/Library/Application Support/Sublime Text 3/Packages/Gulp/write_tasks_to_cache.js:55:10)
    at forEachTask (/Users/xx/Library/Application Support/Sublime Text 3/Packages/Gulp/write_tasks_to_cache.js:42:9)
    at Object.<anonymous> (/Users/xx/Library/Application Support/Sublime Text 3/Packages/Gulp/write_tasks_to_cache.js:79:5)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

It probably means that somewhere in your gulpfile.js you're setting gulp.tasks to a falsy value. Sublime-gulp uses the tasks property found on the gulp object to generate the cache.
If you're not doing this on purpose, could you paste your gulpfile here?

@NicoSantangelo
gulpfile.js

'use strict';

var gulp = require('gulp'),
	watch = require('gulp-watch'),
	prefixer = require('gulp-autoprefixer'),
	uglify = require('gulp-uglify'),
	rigger = require('gulp-rigger'),
	cssmin = require('gulp-minify-css'),
	imagemin = require('gulp-imagemin'),
	pngquant = require('imagemin-pngquant'),
	rimraf = require('rimraf'),
	browserSync = require("browser-sync"),
	livereload = require('gulp-livereload'),
	removeCode = require('gulp-remove-code'),
	ftp = require('vinyl-ftp'),
	csscomb = require('gulp-csscomb'),
	reload = browserSync.reload;

var path = {
	build: {
		html: 'build/sigmanor.tk/',
		agl: 'build/sigmanor.tk/aion-game-launcher/',
		js: 'build/sigmanor.tk/js/',
		css: 'build/sigmanor.tk/style/',
		img: 'build/sigmanor.tk/img/',
		fonts: 'build/sigmanor.tk/fonts/'
	},
	src: {
		html: 'src/*.html',
		agl: ['src/aion-game-launcher/*.html'],
		js: 'src/js/*.js',
		style: 'src/style/*.css',
		img: 'src/img/**/*.*',
		fonts: 'src/fonts/**/*.*'
	},
	watch: {
		html: 'src/**/*.html',
		js: 'src/js/**/*.js',
		style: 'src/style/**/*.css',
		img: 'src/img/**/*.*',
		fonts: 'src/fonts/**/*.*'
	},
	clean: './build'
};

var config = {
	server: {
		baseDir: "./build/sigmanor.tk/"
	},
	tunnel: true,
	host: 'localhost',
	port: 9000,
	notify: false
};

gulp.task('webserver', function () {
	browserSync(config);
});

gulp.task('clean', function (cb) {
	rimraf(path.clean, cb);
});

gulp.task('html:build', function () {
	gulp.src(path.src.html)
		.pipe(rigger())
		.pipe(gulp.dest(path.build.html));
});

gulp.task('agl:build', function () {
	gulp.src(path.src.agl)
		.pipe(rigger())
		.pipe(gulp.dest(path.build.agl));
});

gulp.task('js:build', function () {
	gulp.src(path.src.js)
		.pipe(rigger())
		.pipe(uglify())
		.pipe(gulp.dest(path.build.js));
});

gulp.task('style:build', function () {
	gulp.src(path.src.style)
		.pipe(prefixer())
		.pipe(cssmin())
		.pipe(gulp.dest(path.build.css));
});

gulp.task('image:build', function () {
	gulp.src(path.src.img)
		.pipe(imagemin({
			progressive: true,
			svgoPlugins: [{
				removeViewBox: false
			}],
			use: [pngquant()],
			interlaced: true
		}))
		.pipe(gulp.dest(path.build.img));
});

gulp.task('fonts:build', function() {
    gulp.src(path.src.fonts)
        .pipe(gulp.dest(path.build.fonts))
});

gulp.task('lr', function () {
	livereload.listen();
	gulp.watch(['build/**/*.html', 'build/**/*.css']).on('change', livereload.changed);
});

gulp.task('build', [
    'html:build',
    'agl:build',
    'js:build',
    'style:build',
    'image:build',
	'fonts:build'
]);

gulp.task('watch', function () {
	watch([path.watch.html], function (event, cb) {
		gulp.start('html:build');
	});
	watch([path.watch.html], function (event, cb) {
		gulp.start('agl:build');
	});
	watch([path.watch.style], function (event, cb) {
		gulp.start('style:build');
	});
	watch([path.watch.js], function (event, cb) {
		gulp.start('js:build');
	});
	watch([path.watch.img], function (event, cb) {
		gulp.start('image:build');
	});
});

gulp.task('default', ['build', 'lr', 'watch']);

gulp.task('assets', function () {

	var webm = gulp.src('src/aion-game-launcher/agl-slider.webm')
	.pipe(gulp.dest('build/sigmanor.tk/aion-game-launcher/'));

	var fav1 = gulp.src('src/favicon.png')
	.pipe(gulp.dest('build/sigmanor.tk/'));

	var fav2 = gulp.src('src/aion-game-launcher/favicon.png')
	.pipe(gulp.dest('build/sigmanor.tk/aion-game-launcher/'));

	var download = gulp.src('src/aion-game-launcher/download/*.*')
	.pipe(gulp.dest('build/sigmanor.tk/aion-game-launcher/download/'));

  return (webm, fav1, fav2, download);
});

gulp.task('pro', function () {
	gulp.src('build/**/*.html')
		.pipe(removeCode({
			production: true
		}))
		.pipe(gulp.dest('build'));
});

gulp.task('cc', function () {
	gulp.src('src/style/main.css')
		.pipe(csscomb())
		.pipe(prefixer())
		.pipe(gulp.dest('src/style/'));
});

gulp.task('ftp', function () {

	var conn = ftp.create({
		host: 'sigmanor.tk',
		user: 'login',
		password: 'password',
		parallel: 10
	});

	var globs = [
        'build/**',
        '!build/sigmanor.tk/aion-game-launcher/download/c1.txt',
        '!build/sigmanor.tk/ftpsync.settings'
    ];

	return gulp.src(globs, {
			base: './build/sigmanor.tk',
			buffer: false
		})
		//   .pipe( conn.newer( '/fh3809b8.bget.ru/public_html/test' ) ); // only upload newer files
		.pipe(conn.dest('/public_html'));

});

//.pipe(reload({stream: true}));

I got this error:

07-20-2015 10:16:
D:\Program Files\Sublime Text\Data\Packages\Gulp\write_tasks_to_cache.js:55
    gulp.tree({ deep: true }).forEach(function(task) {
         ^
TypeError: undefined is not a function
    at _forEachTask4x (D:\Program Files\Sublime Text\Data\Packages\Gulp\write_tasks_to_cache.js:55:10)
    at forEachTask (D:\Program Files\Sublime Text\Data\Packages\Gulp\write_tasks_to_cache.js:42:9)
    at Object. (D:\Program Files\Sublime Text\Data\Packages\Gulp\write_tasks_to_cache.js:79:5)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

And when i deleted comments from my gulpfile i got this error:

"gulp" is not recognized as an internal or external command, operable program or batch file.

As you said, the problem lies in the last comment, right now the package appends ;module.exports = gulp; to the last line instead of adding a newline before.
I'll correct this in the next package version (thanks a lot for letting me know!), if you don't want to remove the comment at the end you can just add a newline like:
//.pipe(reload({stream: true}));

Now, if you're getting "gulp" is not recognized as an internal or external command, operable program or batch file. when running a specific task, it usually means that:

You need to install gulp both locally and globally in your project
There's a problem with the environment, which can be forced by using exec_args

Does any of those two help you?

About "gulp" is not recognized as an internal or external command, operable program or batch file.  when I run the "gulp" command from the console all is working.  And when i run the Sublime Text with admin permissions your package works too.

Awesome! if you find any more issues please let me know!


Support HTTP_PROXY and NO_PROXY environment variables

Hi,
building the example pages fails behind a corporate proxy.
Fetching d3-dsv fails and running npm add d3-dsv does not fix.
I cannot post the stack trace (corporate policies) but it looks like fetch uses undici which does not handle https_proxy and no_proxy env variables.
Thanks

Ref. https://github.com/nodejs/undici/issues/1650
Ref. https://github.com/nodejs/node/issues/8381

Thanks for acknowledging the feature request.
In the meantime is it possible to bypass the dynamic install done using jsdelivr and rely only on node_modules ?
Some corporate environments provide vetted mirrors of npm and disallow the use of proxys in build environments.

In the meantime is it possible to bypass the dynamic install done using jsdelivr and rely only on node_modules ?

The next release will integrate this feature that was just merged this week https://github.com/observablehq/framework/pull/1156

Also, even if you use node_modules for explicit imports, you would have to very fastidiously avoid using any implicit imports, as all implicit imports are npm: imports that are downloaded from jsDelivr.
It should be possible for us to add a proxy config option, and then respect that option when fetching from jsDelivr. I’m looking into it now. The main difficulty is the plumbing (we make the request within populateNpmCache and we don’t have access to the config there, but we could pass it in).

You could try adding the following to your observablehq.config.js:
import {ProxyAgent, setGlobalDispatcher} from "undici";

const proxyAgent = new ProxyAgent({uri: process.env.https_proxy});
setGlobalDispatcher(proxyAgent);

Or, if your proxy has a username and password and uses basic auth:
import {ProxyAgent, setGlobalDispatcher} from "undici";

const proxyUrl = new URL(process.env.https_proxy);
const token = `Basic ${btoa(`${proxyUrl.username}:${proxyUrl.password}`)}`;
const proxyAgent = new ProxyAgent({uri: proxyUrl.protocol + proxyUrl.host, token});
setGlobalDispatcher(proxyAgent);

This would require you to set the https_proxy environment variable and pass it through to the observable command, say using dotenv. You could also just hard-code the process.env.https_proxy with your proxy to see if it works.

Install undici and adding the content of upper code block to observablehq.config.js with hard coded proxy address did the trick and I can finally use versions above 1.0.0!

Thanks, the provided code fixed it for me too. I’ll try the implicit import route too once released.

You could try installing Undici and adding the following to your observablehq.config.js:
import {ProxyAgent, setGlobalDispatcher} from "undici";

const proxyAgent = new ProxyAgent({uri: process.env.https_proxy});
setGlobalDispatcher(proxyAgent);

This worked for me after some changes. In my case, there is not only a corporate proxy but also a custom CA. For now I just disabled the check, but ideally I should somehow configure it to use my custom CA certificate:
import {ProxyAgent, setGlobalDispatcher} from "undici";

const proxyAgent = new ProxyAgent( {uri: process.env.https_proxy,
                                    requestTls:{rejectUnauthorized:false}} );
setGlobalDispatcher(proxyAgent);

in case of ZScaler or any other thing like that the ProxyAgent might not work, as it is not a real proxy. So wat you can also do is to set rejectUnauthorized: false in observablehq.config.js


Error when runing Unidoc

It worked well when I ran the PDB files in example/, and showed almost the same result as the example_output/.
But something was wrong when I used my PDB data: the last three columns in chopping_unidoc.txt were total "0	NO_SS	1.00000", and I found errors log in chopping_unidoc.log as follows:
terminate called after throwing an instance of 'std::out_of_range'   what():  basic_string::compare: __pos (which is 21) > this->size() (which is 10) Aborted (core dumped) terminate called after throwing an instance of 'std::out_of_range'   what():  basic_string::compare: __pos (which is 21) > this->size() (which is 10) Aborted (core dumped) terminate called after throwing an instance of 'std::out_of_range'   what():  basic_string::compare: __pos (which is 21) > this->size() (which is 10) Aborted (core dumped) terminate called after throwing an instance of 'std::out_of_range'   what():  basic_string::compare: __pos (which is 21) > this->size() (which is 10) Aborted (core dumped)

Does anyone know what exactly happened? It seems to be an error in C, but in fact my code worked for the example/. It is strange

If it is UniDoc that is giving that error, then you should probably report that to the UniDoc developers. My guess is that your input PDB file is incorrectly formatted, but I can't be sure.


Add AzLogProfileRetentionEvent plugin

The AzLogProfileRetentionEvent plugin evaluate an Azure log_profile
record and generate and event of type log_profile_retention_event if
the log profile's retention policy is configured for less number of days
than required. The default value for minumum number of days is 365, as
per CIS recommendation but can be changed to any other desired value
through the min_retention_days parameter.
It is to be noted that setting retention (days) to 0 from portal
sets days to 0 and enabled to false, which will retain the data forever.

Added azlogprofileretentionevent  to baseconfig

This looks good. Could you please update your local master with the latest master of this repo, then rebase your pull request on the latest master, and force-push your branch?


Two Pointers algorithm

Hi @aaryahjolia, I want to add this algorithm and questions based upon it, please assign this issue to me.

I will be happy to contribute. Please Assign the task to me

Hello @aaryahjolia, I would like to contribute to this issue, please assign me this task.

I'm a contributor for GSSoC '23, I want to work on this issue. Please assign me.


chore: bdd-spring-1572901548 to 0.0.1

chore: Promote bdd-spring-1572901548 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
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

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


Recreate Kubernetes Cluster on IBM Cloud

As a developer
I need renew the Kubernetes cluster that expires soon
So that the service will not be effected
Details and Assumptions

[ ] Create a new cluster called nyu-devops
ibmcloud ks cluster create classic --name nyu-devops

[ ] Create the namespaces for dev and prod again and copy the ImagePullSecret from the default namespace:

for dev
kubectl create namespace dev
kubectl -n default get secret all-icr-io -o yaml | sed 's/default/dev/g' | kubectl -n dev apply -f -
and for prod
kubectl create namespace prod
kubectl -n default get secret all-icr-io -o yaml | sed 's/default/prod/g' | kubectl -n prod apply -f -
Or use the Makefile which does the same thing:
SPACE=dev make namespace
SPACE=prod make namespace

[ ] Deploy postgres using the Kubernetes cli to your dev and prod namespace (make sure the service Type: is set to: ClusterIP):

kubectl -n dev apply -f deploy/postgres.yaml
kubectl -n prod apply -f deploy/postgres.yaml

Note: If you are using postgres in your unit test stage, remember to deploy another one in the default namespace that is Type: NodePort and exposes NodePort: 32032

[ ] Change the IP address for the BASE_URL  in the integration test pipeline stage to the new public IP address of you worker node:
ibmcloud ks workers --cluster nyu-devops --output json | jq -r '.[0].publicIP'

Acceptance Criteria
Given service endpoints
When user visit it
Then they should see the service

Hey team! Please add your planning poker estimate with Zenhub @even1111112 @PepperandSummer @un-poco @yjhsieh2022


test: rm pipework function

not used anymore.
Signed-off-by: FUJITA Tomonori<EMAIL_ADDRESS>

Codecov Report

Merging #124 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   38.05%   38.02%   -0.03%
==========================================
  Files          62       62
  Lines       30806    30806
==========================================
- Hits        11724    11715       -9
- Misses      17962    17968       +6
- Partials     1120     1123       +3

Impacted Files
Coverage Δ

pkg/server/fsm.go
52.94% <0%> (-0.66%)
:arrow_down:

internal/pkg/table/policy.go
36.47% <0%> (-0.08%)
:arrow_down:

pkg/server/server.go
40.09% <0%> (+0.07%)
: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 2457948...44ce766. Read the comment docs.


Is there any demo that using UPNP protocol via esp32 (IDFGH-7582)

I want to achive PC on the same LAN to be able to access the esp32 device through the router
is there any lib or demo for me to achive it
Thanks alot

to be able to access the esp32 device through the router

It's too generic request. Could you please elaborate deeper your use case? Just give me an example

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates.


missing Cnakefile.txt

Hello,
after running install_base/libs.sh successfully, install_peridem.sh failed with error message as follows:
jma@EGIS-PG-105:~/PeriDEM$ ./tools/script/build_scripts/ubuntu-18.04/install_peridem.sh Release
SCRIPTPATH = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04
SOURCEDIR = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/source/
BUILDDIR = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/build/
Shell: /bin/sh
<<<<<<<<<<< >>>>>>>>>>>
PERIDEM
<<<<<<<<<<< >>>>>>>>>>>
CMake Error: The source directory "/home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/source/peridem/0.1.0" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.
Any suggestion?
Regards,
Jingsheng Ma

Hi Jingsheng,
I repeated the steps by creating 'PeriDEM' in my home directory so except 'prashant' in place of 'jma', directories and everything is same. While running 'install_peridem.sh', I got different error than yours:
CMake Error at CMakeLists.txt:83 (find_package):
  By not providing "FindHPX.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "HPX", but
  CMake did not find one.

  Could not find a package configuration file provided by "HPX" with any of
  the following names:

    HPXConfig.cmake
    hpx-config.cmake

  Add the installation prefix of "HPX" to CMAKE_PREFIX_PATH or set "HPX_DIR"
  to a directory containing one of the above files.  If "HPX" provides a
  separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/prashant/PeriDEM/tools/script/build_scripts/ubuntu-18.04/peridem/CMakeFiles/CMakeOutput.log".

And this error is simply due to the fact that I did not provide the correct HPX path. If I provide HPX_INSTALL_PATH correctly, PeriDEM is built.  In summary, the script did not show the error
CMake Error: The source directory "/home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/source/peridem/0.1.0" does not appear to contain CMakeLists.txt.

which suggests that in your case, for some reason,

PeriDEM was not cloned properly
Or you had an empty PeriDEM source directory so this block of code was not executed

if [ ! -d $PERIDEM_SOURCE_DIR ]; then
    mkdir -p $PERIDEM_SOURCE_DIR
    git clone git@github.com:prashjha/PeriDEM.git $PERIDEM_SOURCE_DIR
fi

I will recommend checking if PeriDEM is cloned to the directory PERIDEM_SOURCE_DIR and if not first delete this directory if it still exists and then rerun the script.
Also, please update your local copy of PeriDEM. In this latest commit '8c5a523', I enhance the install script so that it writes the paths such as HPX path to a file allowing one to copy this path and add it to 'install_peridem.sh'.

Hi Prashant,
Thanks for your reply and suggestion.
I managed installing PeriDem. I think the problem stemmed from the wget while in my case I run the install_perimed.sh in the package I downloaded previously. Now I went back the top of level and run cmake there after having associated packages installed.
I run the examples, two_particles, afterward and they all seemed to be ok by looking at logs. But in each out dir, I load output_xxx.vtu using paraview 5.9 but did not see any object though I can see the outline after zooming in. Not sure what I did wrong. I enclosed files for circle_damp here your information - circ_damp.zip
Kind regards
Jingsheng

Good to know that it now compiles and test problem runs. I looked at the your simulation results and the vtu files are good. You can visualize the results by selecting 'Point Gaussian' view in paraview (click on the button next to 'Solid Color' where by default it paraview has 'Surface', you need to select 'Point Gaussian' instead of 'Surface'). After selecting 'Point Gaussian', you may need to zoom the plot by clicking on the two cross arrows button next to 'Point Gaussian'.
I discuss how to visualize results in README file; see this link.

Thanks for pointing this. Visualization works now.
I run compressive_test\n500_circ_hex\run1 2 hours ago and it does not seem to complete the first 10% of calculation. Here are stats from 'top' command.
I tried set threads=1, 2 and 4. No difference it makes.
Thanks
#####################################
top - 22:03:07 up  1:36,  0 users,  load average: 0.52, 0.58, 0.59
Tasks:   9 total,   1 running,   8 sleeping,   0 stopped,   0 zombie
%Cpu(s):  8.7 us,  1.4 sy,  0.0 ni, 89.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 33328424 total, 25505020 free,  7594052 used,   229352 buff/cache
KiB Swap: 31178524 total, 31178524 free,        0 used. 25600640 avail Mem
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
390 jma       20   0  264176  58228  13008 S 100.0  0.2   1:48.88 PeriDEM

This simulation is very big as it consists of 502 particles with each particle discretized using meshfree. We have nonlocal interaction within each particle and then particle-particle interaction is also nonlocal so the compute time is quite high. For my paper, I used 26 threads to get results quickly.
Try running with a higher number of threads or try changing the setup with a smaller number of particles. Let me know if you need help with creating a new setup similar to this but with smaller particles.

On which system did you run your case with 26 threads? how long did it take roughly?
To reduce the number of particles, is it the simplest way by increasing the size of particles or reducing the initial domain in the python script.

It would help if you could give some ideas on these:
On which system did you run your case with 26 threads? how long did it take roughly?
To reduce the number of particles, is it the simplest way by increasing the size of particles or reducing the initial domain in the python script?
Thanks,


patch: peertube servers list

Standards checklist:

[x] The PR title is descriptive.
[x] The PR doesn't replicate another PR which is already open.
[x] The PR has self-explained commits history.

[x] The code is mine or it's from somewhere with an Apache-2.0 compatible license.
[x] The code is efficient, to the best of my ability, and does not waste computer resources.
[x] The code is stable and I have tested it myself, to the best of my abilities.
[x] If the code introduces new classes, methods, I provide a valid use case for all of them.

Changes:

Servers group 17 is archived
Servers group 18 is archived

Commit 00c3413 description is not correct, read as next
* Servers group 17 is archived
* Servers group 18 is archived


No "for" in new rules UI

Dear Colleagues,
What did you do?
Open Rules via new UI
What did you expect to see?
Same details (presence of "for") as in old UI
What did you see instead? Under which circumstances?
Alert configurations are cut

Prometheus version:
2.20.1

This will be fixed in 2.21. Thanks.

Fixed in #7605 #7606


Gatling throttle not working for injecting two scenarios for user

setUp(
    scn1
     .inject(constantUsersPerSec(800) during (60 seconds))
    .throttle(
        reachRps(500) in (10 seconds),
        holdFor(2 minutes)).protocols(httpConf),
scn2
      .inject(constantUsersPerSec(4000) during(60 seconds))
      .throttle(
        reachRps(1000) in (10 seconds),
        holdFor(2 minutes)).protocols(httpConf)
    )

I want this code to run both the scenarios and generate 500 rps for 2minutes for scn1 and 1000rps for scn2.But it generates only 9000 requests in total.
Any idea how to make it run for (500 * 60 * 2) +(1000 * 2 * 60) i.e. 180000 rps in total for total two minutes?

Please use the community mailing list for questions, not the bug tracker.
throttle only applies a limit on the load that would be generated otherwise. You have to make sure that your virtual users generate enough load for long enough.


option to decrease boost/favorite/reply icon sizes

I find the current size of these icons distracting and it would be nice if the sizes were configurable.

In the design guideline, touch target size is defined as at least 48dp.
https://material.io/guidelines/layout/metrics-keylines.html#metrics-keylines-touch-target-size
Current width/height of  boost/favorite/reply button is 40dp .
Already slightly small.
I feel better way is make  "simplified view" option that use different layout xml applied to elements of ListView. In simplified view, all buttons will be removed  and tap list item to open pop-up menu to show those buttons.
Or, really do you want more small button ?

I feel like having the option to change them in settings would be a good idea. If thats not possible a simple view would be a very nice idea as well. I just find myself a bit distracted by the ui elements as they are now.

simplified view was implemented.
https://mastodon.juggler.jp/@tateisu/656899

I just updated, it looks great! Thank you for all of the quick updates. Closing this issue.


Add a varnish collector, take 3

The varnish collector will shell out and run the varnishstats command since the stats command was removed from the varnish admin port in Varnish 3.  Sorry for the multiple pull requests.

Thanks!
Pulled in b2bc16633334338638db071fda0c6cb041b7f078


fix(userspace/libsinsp): solve issues with negate comparisons on ip and ipnet checks

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Our comparison logic in the filters introduced a regression that misinterprets checks such as fd.ip != "0:0:0:0:0:0:0:1" and not fd.ip = "0:0:0:0:0:0:0:1". Those are supposed to be functionally equal, however when the underlying comparison involves ip addresses of different sizes (ipv4, ipv6) the two expressions diverge.
Which issue(s) this PR fixes:
Special notes for your reviewer:
/milestone 0.18.0
Does this PR introduce a user-facing change?:
fix(userspace/libsinsp): solve issues with negate comparisons on ip and ipnet checks

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce
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 [jasondellaluce]

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: jasondellaluce, LucaGuerra
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 [LucaGuerra,jasondellaluce]

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

LGTM label has been added.  Git tree hash: 51229c542c81daae0cbb58be131a1626116d5410

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, jasondellaluce, LucaGuerra
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 [Andreagit97,LucaGuerra,jasondellaluce]

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

/milestone 0.17.3


Fix a too specific error string about IMAP failure

I use my own IMAP server instead of GMail and I got a notification reading:
Temporary Gmail IMAP error, try again later.

I was confused at first. Then I realized that an assumption is that everyone uses GMail, even though the app works just fine with any other IMAP server.
This error message is too specific as it applies to a failure with any IMAP server, and not just GMail. The patch makes the message more general, which makes it applicable to all app users.

thanks!


RLE decoding problems

Hello,
I'm currently working on a viewer and I stumbled on a problem with multiple sets of RLE DICOMs.
http://imgur.com/a/HhvXe
On the first image, you can see the image in JPEG given as a preview from the server.
The second one is the DICOM loaded with WADOImageLoader.
I anonymized the images myself because some infos are embedded in the pixel data, so sorry about that.
Though you can clearly see my problem on the DICOM, that there is a green overlay that shouldn't be here.

By the way our images seems to have their encodedImage field as true.

Thanks for the report!

Hi swederik,
please find attached a data sample  illustrating the issue.
issue.zip
You will be able to reproduce weird rendering.
The issue seems to be on RLE YBR decoding. It's decoded like a RGB image, while it's encoded by range.
Regards
Philippe

The following pull request should fix the issue. It works with all images in the issue.zip file posted above by Philippe, I've also tested it with success on a series of images with the same decoding problem.
https://github.com/chafey/cornerstoneWADOImageLoader/pull/114

Yep looks like @fbonnet-creative has fixed this issue, so I'll close it now. Thanks @fbonnet-creative!


Automatically file bug via AppEngine, to avoid need to manually attach report

From https://github.com/webrtc/samples/issues/308
juberti commented on Dec 17, 2014
This would involve uploading the report to GAE, and then having GAE use some API to file the bug. This might need to wait for Chrome's upcoming bug tracker migration.

Closing in favour of of #37


Add contextual tuples to Expand API

Description
Based on this issue in the openfga repo, it was required to add contextual tuples support to the Expand API. And @miparnisari had broken down the steps for the same. This PR does the first step mentioned, to add contextual tuples to the Expand API.
The technical documentation has been skipped.
References
Reference issue
Review Checklist

[x] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

@sujitha-av looks like there is a conflict with main. Could you please git merge origin/main?

@miparnisari please make sure not to merge this until the relevant openfga/openfga PR is ready to be merged, otherwise autogenerated SDKs & Docs would be wrong


Running srb init clobbers magic encoding comment

srb init command inserts a line such as
# typed: strong

at the top of a Ruby script.
If the script has a magic comment such as
# encoding: UTF-8

it becomes as
# typed: strong
# encoding: UTF-8

In the case, the second line does not work as a magic comment, because magic comments should be placed at the top of the script or the next line of the shebang line.
Of course I know that the default script source encoding is UTF-8 from Ruby 2.0.0 and necessity of the magic comment is now low.
However, another script source encoding such as CP932 still be used, and there are some cases such that the magic comment is needed even if the script source encoding is UTF-8 (e.g. when the script is evaluated via eval in the environment of some locale in Windows).

Many people use frozen-string magic comment in their apps or gems

Yeah I was bit by this, as my my gem uses the magic comment to allow UTF-8 on Ruby 1.9.3, but this generally breaks any Ruby code that tries to use an alternative encoding on the file:
$ ruby -v
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux-gnu]
$ cat test-without-comment.rb
# encoding: big5
p "".encoding # => #<Encoding:Big5>
$ ruby test-without-comment.rb
#<Encoding:Big5>
$ cat test-with-comment.rb
# typed: false
# encoding: big5
p "".encoding # => #<Encoding:Big5>
$ ruby test-with-comment.rb
#<Encoding:UTF-8>

Closing this in favor of tapioca.
https://sorbet.org/blog/2022/07/27/srb-tapioca


Offboard type mask fix

Follow up from #7401

You seem to have old commits in this branch. Is this intentional?

FYI there was interest in creating enums. https://github.com/mavlink/mavlink/pull/670

@mhkabir Yes.
@dagar Yup, someone expressed interest in it, but it's a larger project that will touch more parts of the system. The intention of this PR is only to fix an obvious bug in the system.

@Seanmatthews can you squash and rebase this? Also, is it flight tested?

Jenkins test this please

@Seanmatthews can you shows an example of this working? On SITL perhaps?

@Seanmatthews we are still waiting that you fix up the commits into a single one

The crucial commit https://github.com/PX4/Firmware/pull/7693/commits/897ec276be9b45dbe82c76ce048c19f08905895a has actually been merged to master a while ago.


Include satellite layer option on map

As a User it would help to see the satellite layer so that I can more easily discern between drains that are close together.

Added in commit #882132b306c7c8d252bd842b9287ea20a929de46


Terrain Node and Terrain Engine

Hello,
I recently started using Godot and I like it a lot.
I really miss a terrain node for 3D which would make a lot of things much easier.
You can do terrains by importing another mesh or writing scripts but thats really a lot of work.

unpause

This plugin should be a good start :) https://github.com/Zylann/godot_terrain_plugin

I am very interested in seeing support for in-editor / in-game heightmap terrains, which some of my ideas may ultimately depend on. Godot 3.0 lacks this capability, which I'd consider one of its greatest missing features in my opinion.
Here is the Godot 3.0 version of the terrain plugin, which I'm hoping may become official soon:
https://github.com/Zylann/godot_heightmap_module
Here's also a video of it in action... I really like how that looks and works:
https://www.youtube.com/watch?v=pfVAfUEmNJs

https://github.com/godotengine/godot/issues/9046 is the tracker for terrain. @akien-mga @unpause someone can close this.


Added function for validating tag if secret is changed

Added function for validating tag if secret is changed.
Could not run style check as i am getting the below error.
(env3) root@ubuntu18dev1:/home/dibaskar/azure-cli-extensions/src/vm-repair/azext_vm_repair# azdev style vm-repair
===============
| Style Check |
No module named cli.core.extension
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/knack/cli.py", line 215, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/lib/python2.7/dist-packages/knack/invocation.py", line 225, in execute
cmd_result = parsed_args.func(params)
File "/usr/local/lib/python2.7/dist-packages/knack/commands.py", line 148, in call
return self.handler(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/knack/commands.py", line 255, in _command_handler
result = op(client, **command_args) if client else op(**command_args)
File "/usr/local/lib/python2.7/dist-packages/azdev/operations/style.py", line 34, in check_style
selected_modules = get_path_table(include_only=modules)
File "/usr/local/lib/python2.7/dist-packages/azdev/utilities/path.py", line 193, in get_path_table
from azure.cli.core.extension import EXTENSIONS_DIR  # pylint: disable=import-error
ImportError: No module named cli.core.extension

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/dibaskar/azure-cli-extensions.git@alpha#subdirectory=src/$EXT&egg=$EXT"

This PR was created by mistake.


Product attribute order

Each time I create a new attribute the display order is mixed and it's not displaying in the order of
creation.
It would be great to be able to choose display order of product attributes.

This should be addressed via https://github.com/concrete5-community-store/community_store/pull/140

Just tried doing this and there's a misnaming of the class involved to make the sorting happen. Not sure if it's in the core or now.

I've looked further into this.
I've found that if at least one attribute group is created, the attributes are then sortable, and that sort order is what is shown when editing a product.
Beyond that, I don't have a way to fix this for product attributes not in a group.

I have the same problem.
I can sort customs attributes with the arrow (only when they are in collections). But even this way, the new order is not saved (lost when I refresh the page).
Is there a way to fix that ?
I'd like to have a precise display order of custom attributes when adding a new article.
Thank you for your help !


net/aodvv2: refactor RCS code

Refactors the code of RCS to make it testable.
Adds tests for RCS.
Improves documentation.

I'll add a GitHub Action to compile this.

@xkevin190 could you give me a review? :wink:

@xkevin190 ping :wink:


"No Result" Option

I've seen numerous requests for this but all pretty dated. Has anyone come up with a way to do 'No Results'? I tried using the onHideListEvent event to do it but didn't come up with the same results as I expected.

I am Facing the same issue.
I tried one alternate, If there is no data found corresponding to the search term, then i am sending a "No Data found" in response from the server. and it is getting displayed over here.
When user clicks out side anywhere in the page it goes of.

Just ran into this problem... do something like this:
you need to check if there's nothing in the data source probably first
onHideListEvent
var containerList = $('#AutoCompleteID').next('.easy-autocomplete-container').find('ul'); if ($(containerList).children('li').length <= 0) { $(containerList).html('No results found').show(); }

@mkrsII I've tried your solution, but it's not updating the container list when there's no result. If the previous request had three results, it's still there when further typing results in nothing.

A better solution that i'm now using. Added a function to easy-auto to get the element count:
$.fn.getElementCount = function () {
    var inputId = $(this).attr("id");

    if (inputId !== undefined) {
        return EasyAutocomplete.getHandle(inputId).getElementCount();
    }

    return -1;
};

this.getElementCount = function () {
return elementsList.length;
};
Then in the load event:
onLoadEvent: function () {
if ($("#AutoComplete").val() !== '') {
var elementCount = $("#AutoComplete").getElementCount();
if (elementCount <= 0) {
$('#no-results').show();
}
else {
$('#no-results').hide();
}
}
}
HTML:
no-results is a DIV right below the auto complete element

@mkrsII Right, I was looking for a function like that. That should solve my problem. thanks.

@mkrsII  I am new to js, could you please let me know exactly where I should put your code in the file?
many thanks!

here's an example:
var options = {
url: "resources/countries.json",
getValue: "name",
list: {
onLoadEvent: function () {
if ($("#AutoComplete").val() !== '') {
var elementCount = $("#AutoComplete").getElementCount();
if (elementCount <= 0) {
$('#no-results').show();
}
else {
$('#no-results').hide();
}
}
}
},
theme: "square"
};
$("#countries").easyAutocomplete(options);

@mkrsII Thank you. I still have problem to get it work. here is my html code.

electric machine tools 1

....
And this is the code I used: should I replace, is it correct?
                  var options = {
                    url: "../static/hs_desc.json",
                    getValue: "label",
                    list: {
                      onLoadEvent: function () {
                            if ($("#eac-container-product").val() !== '') {
                                var elementCount = $("#eac-container-product").getElementCount();
                                  if (elementCount <= 0) {
                                    $('#no-results').show();
                                  }
                                  else {
                                    $('#no-results').hide();
                                  }
                                }
                              }
                            },

                            // theme: "square"
                          };

                          $("#product").easyAutocomplete(options);

Just to make sure did you include the function in easyautocomplete.js?
$.fn.getElementCount = function () {
    var inputId = $(this).attr("id");

    if (inputId !== undefined) {
        return EasyAutocomplete.getHandle(inputId).getElementCount();
    }

    return -1;
};

this.getElementCount = function () {
return elementsList.length;
};

Also, what's the error you having can you post a screen shot in the console?

I include the function in the HTML . No error reported. But the search is not working, with the drop-down showing only the first six selection.
In which part of the easy-complete.js should I put the function? Sorry for the silly question, I should learn js. :)

Difficult to see your issue. Could you put one together a sample package showing the html and js for me? Maybe use plunkr?

@mkrsII I have put the code in plunkr. Thanks!
https://plnkr.co/edit/ZUEZSsoSehHWY31Q4vzv?p=preview

The following must go into jquery.easy-autocomplete.min.js
$.fn.getElementCount = function () {
var inputId = $(this).attr("id");
if (inputId !== undefined) {
return EasyAutocomplete.getHandle(inputId).getElementCount();
}
return -1;
};
this.getElementCount = function () {
return elementsList.length;
};

Give me access to edit and I'll try update when I have time. Thanks.

Thanks, I have made the plunker public. Please when have time. Thanks!

The following code work's for me.
On  'showAnimation', remove li with class = "main-color"
On hideAnimation add li with class ="main-color" if ul.childrenl.length <=0
showAnimation: {
type: "slide",
time: 400,
callback: function() {
$('.easy-autocomplete-container ul').next('.main-color').remove();
}
},
hideAnimation: {
type: "slide",
time: 400,
callback: function() {
if( $('.easy-autocomplete-container ul').children('li').length <= 0) {
$('.easy-autocomplete-container ul').css('display','block');
$('.easy-autocomplete-container ul').append('Nenum resultado encontrado...');
} else {
$('.easy-autocomplete-container ul').next('.main-color').remove();
$('.easy-autocomplete-container ul').css('display','none');
}
}
}


Fixes show the new RN artwork view for sale artworks (that are inquirable) #trivial

@lilyfromseattle and I found this today – basically if an artwork is inquirable and in an auction, we want to show the old view.

#mergeongreen


🌐 Add Chinese translation for Tutorial - Debugging

🌐 Add Chinese translation for Tutorial - Debugging

these seems ok

Great! Thanks @blt232018 ! :cake: :tada:
And thanks for the reviews @Zxilly and @waynerv :bow:


Replace British 'behaviour' with American 'behavior'

I could not find any other conspicuous Britishisms in the codebase.

run integration tests

merging as the same failing integration tests are failing on all PRs. We're looking into this right now.


allow users to provide the size of the symbols in scorecard

09-Jul-2019
Is it possible to increase the size of the symbols within scorecards?
Tina
The size of symbols on scorecard PNG is small and hard to read.

use <symbol_size> tag to specify the size


[Memo] state == BUFFERING, playWhenReady == false

Behaviour:

At some special state, 2 players can play at the same time.

Reproduce the issue:

Scroll to 2nd Player, wait for a blink so that: Manager call startPlayback for it (state: 3, playWhenReady: true), in moment it needs to buffer (state -> 2, playWhenReady: true).

From that point, scroll up to 1st Player. Manager will switch to 1st Video and call startPlayback for 1st Player. The following transition happens: 2nd Player: state: 2, playWhenReady: false [currently, this condition is seen as "video prepared", and it will trigger the playback for 2nd Player <-- The issue], 1st Player: state: 2 to 3, playWhenReady: true. So after all, 2 players on top will play simultaneously ...

Logcat
ToroLib: startPlayback@[6]: 5355411
ToroLib: startPlayback: 5355411 - 1
ToroLib: stateChanged() called with: player = [5355411], flag = [true], state = [3]
ToroLib: stateChanged() called with: player = [5355411], flag = [true], state = [2]
ToroLib: pausePlayback: 5355411 - 1
ToroLib: stateChanged() called with: player = [5355411], flag = [false], state = [2] <-- currently: onPrepared will be called.
ToroLib: startPlayback@[1]: 5355411
ToroLib: startPlayback: 5355411 - 1
ToroLib: stateChanged() called with: player = [5355411], flag = [true], state = [2]
ToroLib: startPlayback@[6]: ac8274c
ToroLib: startPlayback: ac8274c - 0
ToroLib: stateChanged() called with: player = [ac8274c], flag = [true], state = [3]
ToroLib: stateChanged() called with: player = [ac8274c], flag = [true], state = [2]
ToroLib: stateChanged() called with: player = [5355411], flag = [true], state = [3] <-- wrongly starts playback
ToroLib: stateChanged() called with: player = [ac8274c], flag = [true], state = [3]

Fixed in 2.3.0


chore(dev-deps): update dependency @semantic-release/github to v10.1.3

This PR contains the following updates:

Package
Type
Update
Change

@semantic-release/github
devDependencies
patch
10.1.0 -> 10.1.3

Release Notes

semantic-release/github (@semantic-release/github)
v10.1.3
Compare Source
Bug Fixes

Revert "fix: failing release due to renamed repository (#878)" (#887) (325952e)

v10.1.2
Compare Source
Bug Fixes

failing release due to renamed repository (#878) (76fdaa3)

v10.1.1
Compare Source
Bug Fixes

invalid GraphQL query generated when no release commits are found (#876) (8ee2744)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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


Rebaseline performance test

I have observed performance tests failing with a doc-only change, which is a sign that we need to rebaseline performance tests.

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

I've triggered a build for you. Click here to see all failures if there's any.


[Dialect] [Linalgx] Add linalgx ops: mmt2d_vnni, mmt4d_vnni, multi_batch_matmul

[RFC]
Added mmt2d_vnni, mmt4d_vnni with custom verifier, static indexing_maps and iterator_types, and using vnni dims to get constant symbol for indexing_maps.
Added multi_batch_matmul with LinalgContractionOpInterface, dynamic indexing_maps and iterator_types.
Tracking: #14

Do we need to add batch_reduce_matmul_vnni so that the matmul_vnni could be lowered to brgemm_vnni named op?
input: BMK
weight: BKN4k/BKN2k
output: MN

Do we need to add batch_reduce_matmul_vnni so that the matmul_vnni could be lowered to brgemm_vnni named op?
input: BMK
weight: BKN4k/BKN2k
output: MN

Yeah, will add this in the future


Add new index.srt content based on current readme file

This commit adds the content of the current readme.md to the index of azkaban-cli's ReadTheDocs

Thank you @marceloFA ! Really good!


Support Well Known types for Protobuf -> Json schemas

In protobuf there is a set of predefined (aka Well Known) types  . These types have their separate rules of how they should be converted to(and from) json format. Ex. 'Timestamp' type is treated as a string with  RFC 3339-formatted date.
Protobuf -> JsonSchema converter should take into account these types, and convert them into proper JsonSchema types.

@armenuikafka please check test cases for this and add, if it is not there.


Link to forums.singly.com

Make sure the Develop section in Locker has a link to forums.singly.com :-)

You know what, covered in #691.


Use the IRB extension API to add commands to the console

After https://github.com/rails/rails/pull/51705, the current way to add commands to the console will no longer work as Rails::ConsoleMethods will not be directly included to the IRB internal anymore.
So this commit uses the new IRB extension API to add commands instead, which would also bring a few benefits:

Commands can be displayed in IRB's help message to make them easier to discover.

The parameter of connect_to doesn't need to be a string anymore as registered commands aren't treated as Ruby methods. So this now works too:
irb(main):002> connect_to hey:resque
Connected to hey:resque
=> nil

I'm so sorry for the delay, @st0012. I love this!! 🤩 Amazing work on this new IRB extension API; it's super cool 🙇♀
Looks like we might need to split the new lib/mission_control/jobs/console/commands.rb file into two, one for the ConnectTo class (lib/mission_control/jobs/console/connect_to.rb) and another one for the JobsHelp class (lib/mission_control/jobs/console/jobs_help.rb), to follow the naming conventions that Zeitwerk expects. I think, doing that, we won't need the call to require "mission_control/jobs/console/commands", as Zeitwerk will take care of that for us.


Upgrade zipline to 0.9.5

I think we gotta configure ourselves to be on the new freeze-less memory model
10:55
We get that with updating to 1.7.20, or there’s a gradle property


Fusee.Test.Render.Desktop dies on the build service

Calling into OpenTK seems to crash the tests on the build service.

The active test run was aborted. Reason: Test host process crashed : Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at OpenTK.Graphics.OpenGL.GL.BlendColor(Single, Single, Single, Single)
at OpenTK.Graphics.OpenGL.GL.BlendColor(System.Drawing.Color)
at Fusee.Engine.Imp.Graphics.Desktop.RenderContextImp.SetRenderState(Fusee.Engine.Common.RenderState, UInt32)
at Fusee.Engine.Core.RenderContext.SetRenderState(Fusee.Engine.Core.RenderStateSet)
at Fusee.Engine.Core.RenderContext.SetShaderEffect(Fusee.Engine.Core.ShaderEffect)
at Fusee.Engine.Core.SceneRendererForward.SetContext(Fusee.Engine.Core.RenderContext)
at Fusee.Engine.Core.SceneRendererForward.Render(Fusee.Engine.Core.RenderContext)
at Fusee.Examples.GeometryEditing.Core.GeometryEditing.RenderAFrame()
at Fusee.Engine.Core.RenderCanvas.b__31_2(System.Object, Fusee.Engine.Common.RenderEventArgs)
at Fusee.Engine.Imp.Graphics.Desktop.RenderCanvasImpBase.DoRender()
at Fusee.Engine.Imp.Graphics.Desktop.RenderCanvasImp.ShootCurrentFrame(Int32, Int32)
at Fusee.Test.Render.Desktop.Program.Main(System.String)
at Fusee.Test.Render.Desktop.RenderTests.GeometryEditingTest()

I have an example that executes on the build service: https://github.com/ASPePeX/OpenTKTest/blob/1ea0f2df3f2fac678f952c8cf1dc99e6ea9a26eb/Test2/Program.cs
BUT, it does not render the image when running on the build service.

It works if I carry an opengl32.dll with a mesa software rasterizer along (https://github.com/pal1000/mesa-dist-win/releases).

See #504
See #535

It works if I carry an opengl32.dll with a mesa software rasterizer along (https://github.com/pal1000/mesa-dist-win/releases).

I think this is the solution here:
https://github.com/FUSEEProjectTeam/Fusee/pull/535/commits/26c735d01558f460fe264066bf9b67add9e55705
Perhaps we can close this issue?


Documentation for lifetime of SecurityKey asymmetric algorithms?

In dotnet/runtime there was a report that RSA was not behaving as expected. The issue amounted to using an instance of RSA to RsaSecurityKey, which resulted in the RSA instance being put in InMemoryCryptoProviderCache. However, the RSA object was disposed of by the developer while it was in the cache, thus a subsequent validation using a different instance of an RSA object but for the same key would produce an error.
Is there documentation about expectations of the lifetime of AsymmetricAlgorithm instances when they are used with SecurityKey?

@vcsjones you are correct, if you pass an RSA object to the RsaSecurityKey AND caching is on, then a reference will be maintained. If in the meantime, you dispose of the RSA, there will be an issue.
Marked this bug as documentation.

Adding documentation on this here: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/Caching-in-Microsoft.IdentityModel


Suggestions needed - better handling of backup URLs

Currently, the backup URLs are handled using the logical OR (||) operator, as shown in this line.
Consider a scenario where we have a main URL and a backup URL for downloading a model. If a user terminates the program using 'Ctrl+C' while downloading from the main URL, the current implementation causes the download to fail and immediately attempts to download from the backup URL instead of exiting the whole program. This is not the desired behavior.
Potential fix:
Keep the existing implementation as it is and implement an safe exit mechanism through trapping the interrupts. This was earlier implemented here.

Hi @anandhu-eng let's keep this issue open and we can decide based on the user feedbacks. Currently ctrl+c can be useful to switch to a backup url in case the main url download is slow.

Sure @arjunsuresh, that sounds like a good idea to me.


Update communityNodes.md

Add Face Mask to communityNodes.md
What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[x] Community Node Submission

Have you discussed this change with the InvokeAI team?

[x] Yes
[ ] No, because:

Have you updated all relevant documentation?

[x] Yes
[ ] No

Description
Add Face Mask to communituNodes.md list.

Thank you for your contribution!


feat: add showBottomCropToolbar option to CropToolbarConfig

This PR solves #173
@vanniktech
I added showBottomCropToolbar option to CropToolbarConfig, you can check the example Hide Rotation Dial

@vanniktech
I decided to just support iOS 11.0+ again and use if #available when using SF symbols for now


fusion query with donor and acceptor parameters

As beacon is still falling in short to make comprehensive fusion queries, me and my colleagues have found a possible solution which I present here to be discussed for the Variants Scout.
The proposal is based on the usual language used in bioinformatics to refer to translocated genes, which add both the initial and the transferred chromosomes and the starting and ending positions for both chromosomes.
I have found that nomenclature is usually like this:
CHR:donorStart-donorEnd:CHR:acceptorStart-acceptorEnd
Having said so, in our opinion, beacon should have brand new names for these donor and acceptor position parameters but could reuse referenceName and mateName for the origin and end chromosomes, respectively.
A definitive beacon query could look like the one I am adding next:
g_variants?referenceName=11&mateName=12&donorStart=[16086165,16086170]&donorEnd=[16086171,16086175]&acceptorStart=[16090071,16090073]&acceptorEnd=[16090074,16090075]
We would like to have new parameters like donorStart or acceptorStart because of not having a misuse of the original start and end parameters, which are conventional and could make things more confused for implementers as well as for beacon users and clients.
Let me know what you think.
Best,
Oriol

@costero-e I appreciate this as a push to advance w/ fusions but IMO this adds unnecessary complexity/arguments when talking about the query:

a fusion consists of 2 partners
the fusion partners might be breakpoints on different or the same chromosome
the positions on the given reference sequences (chromosomes...) are frequently "fuzzy" (cytobands, empirical)

For the detection of the 2 fusion partners this leads to the basic requirements of querying  2 chromosomes with associated ranges. This already can be achieved with the current parameters:

referenceName + start[0] + start[1]
mateName + end[0] + end[1]
variantType ... (e.g. SO:0000806 "fusion")
conventions

mateName >= referenceName in sort order
if mateName == referenceName: end[0] > start[0] (which is the usual convention but does not apply if mateName ≠ referenceName)

In essence this is a BeaconBracketQuery where the end bracket's usually different chromosome is denoted by mateName.
This seems very straightforward with a caveats:

it is up to the resource implementers if the combination of these 2 breakpoints with "fusion" type is checked for an explicit joint between the breakpoints; and the Beacon specification should not force a method here
we only provide a "single event option", e.g. not combinations for 3-way fusions etc. (over the top, but can be discussed)
beacons may/should provide single sided queries but this is like a current range query with "fusion" type so doesn't need a particular solution

Hi!
I generally doesn't recommend using parameters (or columns in a table or alike) for other purposes than the originally envisioned, as, in the midterm, this overloading ends up in issues when evolving any of the two usages: the original or the added one, or makes validations and documentation harder and less intuitive.
Therefore, using the start and end for positions in different chromosomes will not be recommended. Neither adding complex validations on if mateName and referenceNames are higher or lower than the other.
Adding more parameters when they add clarity, as in this case, would be my strong recommendation.

@jordi Well, the meaningful parameters one could think about would be mateStart and mateEnd and define a fusion request as a double RangeQuery referenceName + start (single) + end (single) + mateName + mateStart  (single) + mateEnd  (single) + variantType. This would be a bit more verbose (same number of values but more parameters).
However, the conventions of e.g. mateName >> referenceName are a given since this is how any fusion annotation works; lower chromosome first.
I guess I could support adding those 2 parameters even if they do not provide any additional benefit over the currently available ones since they provide clearer labels (indicating the position on the 2nd fusion partner as end isn't really correct).
Re Oriol's @costero-e suggestion: It doesn't make sense to name something "donor" or "acceptor"; and also we only need 2 positional parameters per fusion partner (to indicate the range of the breakpoint).
And independent of all that we will need to discuss if cytoband queries should be supported by front end / helpers or through the API (i.e. with additional cytoband strings; interestingly VRS allows CytobandInterval.


Aeotec ZW096 firmware - is this repository okay?

Hi
Aoetec host firmware for their Smartswitch v6 on their website, but it is not showing through the zwave-js update service. I assume this is because a definition file has not been created.
Is the firmware listed on this Aeotec support article going to be okay to build a definition for, or is there more to the process?
https://aeotec.freshdesk.com/support/solutions/articles/6000134294-how-to-update-smart-switch-6-z-wave-firmware-
Thanks!

As a third party you can generally create firmware update definition files as long as the firmware itself is hosted by the manufacturer (this is the case) and the manufacturer signs off on the firmware definition file you contribute (this is likely for Aeotec products as they have been active in this repository).
See the Providing firmware definition files section of README.md for more information.
The only roadblock I see here is that there are no direct links to the bare firmware files, just links to ZIP files. This is something the manufacturer can fix though. Best to ask @Aeotec-ccheng.
For an example on how it's done head over to #111

Currently i don't have the OTZ files for ZW110/ZW096 right now which is what is generally needed. It may be possible to host the .EXE more immediately, but if you are looking to update a firmware update definition for ZW096 i can request the OTZ files and update the article to contain them.
I saw SS6 updates as low priority since it didn't seem to add much features, while there are some minor fixes or updates to SDK i didn't feel the need to add them in (as there is always risk with firmware updates) so i try to only add the necessary ones.


Description of Admin| Sync Template v3 (call Updates) not clear

Customer feedback: The description of the flow does not clarify ' which three flows will be triggered'

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

ID: e70f7e68-a58d-f9a1-1f2a-3f2bec8e58e2
Version Independent ID: 119292c3-9155-226c-8f26-9b92a86c0aa5
Content: Core components - Power Platform
Content Source: power-platform/guidance/coe/core-components.md
Service: power-platform
Sub-service: guidance
GitHub Login: @manuelap-msft
Microsoft Alias: mapichle

Thanks for your comment, @PPMini. This issue has been assigned to the doc author for review.


[Image] loadingIndicatorSrc / defaultSource not working as expected

I have tried to set the loading indicator source for android's ImageView, yet it doesn't work.
From the release log in react-native it says that

Added loadingIndicatorSrc property to Image, similar to iOS defaultSource, for displaying something while loading a38cd5c

So I set it in this way:
<Image
  {...this.props}
  loadingIndicatorSource={require('./img/placeholder.jpg')} />

I have checked with debugger that the loadingIndicatorSource is obtained in Image.android.js, which has its dimensions, and the uri for it.
With iOS, it works with the defaultSource props.
So, is the android version not working?

@yychun1217 - does the image that you are using as the loading indicator work if you just use it as a regular image source?

@yychun1217 - does the image that you are using as the loading indicator work if you just use it as a regular image source?

@brentvatne - How to make it work like defaultSource??

@brentvatne - How to make it work like defaultSource??

Confirmed that this is an issue, couldn't even get defaultSource working properly on iOS. Added an example to UIExplorer for people to test against. cc @nicklockwood and @mkonicek if you can ping Olivier that would be great :)

Confirmed that this is an issue, couldn't even get defaultSource working properly on iOS. Added an example to UIExplorer for people to test against. cc @nicklockwood and @mkonicek if you can ping Olivier that would be great :)

I'm not actually sure what the intended purpose of defaultSource is.
I thought it was an image to be displayed only if the source failed to load, but if Android's equivalent is called loadingIndicatorSource then perhaps it's expected to always be shown until the real source has loaded?
I'm wondering if we should either a) have two properties, one to be shown while loading and another to be shown if the image fails to load, or b) get rid of the property altogether, as developers can implement this functionality themselves fairly easily by using the <Image/> events.

I'm not actually sure what the intended purpose of defaultSource is.
I thought it was an image to be displayed only if the source failed to load, but if Android's equivalent is called loadingIndicatorSource then perhaps it's expected to always be shown until the real source has loaded?
I'm wondering if we should either a) have two properties, one to be shown while loading and another to be shown if the image fails to load, or b) get rid of the property altogether, as developers can implement this functionality themselves fairly easily by using the <Image/> events.

I'm leaning towards option b) - does anyone feel strongly that this is a useful feature?

I'm leaning towards option b) - does anyone feel strongly that this is a useful feature?

I thought it was an image to be displayed only if the source failed to load, but if Android's equivalent is called loadingIndicatorSource then perhaps it's expected to always be shown until the real source has loaded?

I'm actually not sure if they are intended to be the same, I inquired in the original commit of loadingIndicatorSource but didn't hear back from Olivier.

I'm leaning towards option b) - does anyone feel strongly that this is a useful feature?

I think b) is reasonable, @ide had the same thoughts about that too..... My only concern is that it introduces more work that we need to handle in JS, which is where I typically end up with perf bottlenecks.

+1
As for option b), currently the onError callback prop is iOS only so Im not sure that covering this functionality is actually possible in JS right now. My use case involves an image with a potentially garbage url since I want to support the HTML return of textile (http://txstyle.org/) so it's possible to get a source like /fkjsdfjlkdsfmlsd since users are free to enter what they wish. But since RN supports a URI ref to an image that is stored locally and provides no safety checks for this (https://facebook.github.io/react-native/docs/images.html#images-from-hybrid-app-s-resources) Im getting crashes on such garbage URIs. (FWIW the crash occurs when Preconditions.checkNotNull throws a NullPointerException)
So if I could either have a defaultSource for when this occurs or an error callback that will fire and let me set a default source on Android that would be fantastic.
@brentvatne in #5158 you added the good first task label, could you perhaps point me to where I should look first to get this implemented?

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/image-loadingindicatorsrc-defaultsource-not-working-as-expected
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub. GitHub issues have voting too, nevertheless
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

Was just browsing through the docs, trying to find a way to show a "default/backup" image if the loading fails on Android: https://facebook.github.io/react-native/docs/image.html
If I'm reading this correctly, onError and defaultSource are both only available on iOS? What are us poor Android users supposed to see when an image fails to load? Is there any way to show a default or "failed to load" image on Android?

Any updates?

any updates ?

i found a solution, just put another Image inside an Image, one set background default one load from URL

@huyhai can you explain what you mean by put another Image inside an Image? Thank you.

still don't know why is so hard to support android default source

@cfs5403
You can do this workaround:
<Image source='your image'>
    <Image source='your placeholder image' />
</Image>

I don't know how loadingIndicatorSource isn't working yet.

@DarkHollow I'm having an issue getting that to work with a borderRadius set on the images (profile photo).  They seem to always come out square, thoughts?

I had the same issue, and It worked for me when I added backgroundColor to the image.
<Image
  resizeMode="cover"
  defaultSource={require('../assets/image-placeholder.jpg')}
  source={{ uri: data['thumbnail'] }}
  style={{ width: 120, height: 120, backgroundColor: "#cccccc" }} />

Any updates?

Lot of people want this and there seems to be no update.

It not work for me too (even with backgroundColor trick..)
<Image
  style={styles.picture}
  source={{uri: 'https://raspberry-cook.fr' + rowData.image.url }}
  defaultSource={require('./assets/default.png')}
/>

defaultSource doesn't work after updating the view.
You have a view has Image component, you reload this view and update Image source, if this source is 404, the Image doesn't update to defaultSource.

Neither works: loadingIndicatorSource and defaultSource

still waiting Nov 15

ios add borderRadius it works but android still not work

is anything updates/?


Ukrainian datasets to move to the ECA cloud IPT

With the destruction of the UA ipt server, we are in the process of moving Ukrainian data onto the ECA cloud IPT. The dwca backup from January is here: https://static.gbif.no/IPT_Karazin_UA_backup_2022-01-21.zip.
There are 107 files in here, but 111 datasets published on GBIF.  The four missing datasets from the backup are:
https://gbif.org/dataset/dc0167b0-0bec-40cc-bbf7-ec353baa73a7
https://gbif.org/dataset/4862b73e-8e93-42ad-b700-832ebcf5c328
https://gbif.org/dataset/c6a8b583-ba37-4a33-8d47-94119d1ab9c5
https://gbif.org/dataset/4f5a8595-6bda-4a3b-9d07-c0cdc38ffdef

There are 15 ukranian publishers we're going to need to add, but hopefully we can use the watchdog to add the dwca backups, see https://github.com/gbif/watchdog/wiki/OrphanedDatasets#user-content-how-to-re-publish-a-rescued-dataset-using-the-ipt

The Ukrainian Scientific Centre of Ecology of the Sea (UkrSCES) in Odesa is hosting 10 datasets. This IPT is still operational, but might be useful to be prepared if needed to secure it as well? http://gp.sea.gov.ua:8082/ipt/

Assuming that all the datasets that can be have now been recovered and transferred - and thus closing this old issue.


socket probe type

This ticket is to track an idea: we don't have a probe type for attaching BPF to sockets (vintage eBPF style :-). Should we? What would the probe name consist of? The arguments?

I still think we should, and also for BPF_PROG_TYPE_CGROUP_SKB. The probe types could be called "socket" and "cgroupskb", or "socket" and "cgsocket" (if that makes sense).
The argument would be __sk_buff.

That would be nice. Would bpftrace be able to modify data? Specifically I'm wondering if my example at the bottom of this blog post would be doable in bpftrace, once sockops is implemented?


Unable to generate struct for record type

Version
1.18.0
What happened?
I'm attempting to generate some row types from json data in my application. Unfortunately, SQLC seems to bail when trying to generate a struct from these record types. I'm not sure if this is a limitation of the JSON functions or due to limited support in general for records. I didn't see any similar issues with record types, so filing away here.
With json_populate_record: https://play.sqlc.dev/p/79b3c6a6e914e6d22e63cfe5c327fdac124c35be28cd0760f4b867052cb546ec
With json_to_record:
https://play.sqlc.dev/p/bdd5efdf46740ad811a74d219df9272ade54b0ae12421ce89aec4d335a9e6ce9
Issue is that the row struct is empty:
type GetResultRow struct {
}

Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
No response
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

I was able to get around this just by casting the selects:
https://play.sqlc.dev/p/88b89b06f6f4e1f7355e74ddec0f11f73fd69f7113a29e0bd7cd33dce6f873b1

Duplicate of both https://github.com/sqlc-dev/sqlc/issues/1322 and #2760


Treat null in sabio_reaction_entries

Hash the name of reactants without inchikey in [reactants].
https://github.com/KarrLab/datanator_rest_api/issues/91

Feed the completed collection into ES sabio_reaction_entries index.

Aggregate finished hashed arrays with sabio_rk_old collection.

Changes summary:

First element of arrays in the {}_names array was used as the name to be hashed.

Used ripemd160 to hash names.

Fields reaction_paticipants.substrate_aggregate and reaction_participants.product_aggregate in corresponding reactions in sabio_rk_old were also changed.

Done.


Allow Existing Issues without activity to be commented or otherwise to remain open.

https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/444#event-11293241118
@PaoloPia
This policy of requiring a new issue creation for a long existing but still active issue is asinine, it reeks of wanting to meet some sort of "closed issues" metric and is actively hostile to contributors, creating unnecessary extra work.
Please let us just bump the issue for activity, this policy ends up being less about cleanup and more about alienating those who want to help.
Thank you.

Well, let's see, how can we make it harder ...

🤞 this approach will have a rethink across not just this repo but others across Microsoft in 2024.


Deactivate code modification while typing

https://www.reddit.com/r/IntelliJIDEA/comments/2qta03/intellij_save_action_plugin_just_released/

Tested it now with CE 14.0.2 for a few minutes. It does change the code under my hands, quite often even (every 15 seconds or more). If this machine weren't too slow for such a feature, anyway, I would probably not suffer it, though. Will try again at home (might not report), where it's really fast, deactivated it here (office).

Perhaps you should hook on FileEditorManagerListener#fileClosed and on FrameStateListener#onFrameDeactivated

Thanks @krasa! I'll look into that.

That is one interesting issue, so I am poking into it a little more...
I would not process the currently active editor unless the save is triggered manually, like so:
https://github.com/dubreuia/intellij-plugin-save-actions/compare/master...krasa:deactivateCodeModificationWhileTyping?expand=1
Hopefully if something saves the file automatically from the background while typing, it would not go through the SaveAllAction.

I read your commit but didn't have time to test it, I'll check it it out as soon as I can. Thanks a lot.

I merged your pull request @krasa it should correct the issue. I'm closing it

Added in 0.5


move all down to make other modules importable

The distribution currently on PyPI is broken because of this, please merge it.


dependency conflicts

pip install foodx_devops_tools in a clean venv reports conflict between build_harness and foodx_devops_tools dependency versions such as click.
need to align dependency definitions of the utilities.

update to build_harness==0.2.1 and foodx_devops_tools 0.0.0.post68 fixed the dependency problem.


Use the nice typed fetchers for articles

For https://github.com/wellcomecollection/wellcomecollection.org/issues/7363 / https://github.com/wellcomecollection/wellcomecollection.org/issues/7426
I don't actually expect this to work, because it keeps failing with this error:
$ yarn build
yarn run v1.22.10
$ next build
info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
info  - Checking validity of types
info  - Using external babel configuration from /Users/alexwlchan/repos/dotorg/content/webapp/babel.config.js
info  - Creating an optimized production build
Failed to compile.

../../node_modules/prismic-client-beta/dist/index.mjs
Attempted import error: 'asLink' is not exported from '@prismicio/helpers' (imported as 'prismicH').

> Build error occurred
Error: > Build failed because of webpack errors
    at /Users/alexwlchan/repos/dotorg/node_modules/next/dist/build/index.js:397:19
    at async Span.traceAsyncFn (/Users/alexwlchan/repos/dotorg/node_modules/next/dist/telemetry/trace/trace.js:60:20)
    at async Object.build [as default] (/Users/alexwlchan/repos/dotorg/node_modules/next/dist/build/index.js:77:25)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I'm struggling to work out why this change triggers this behaviour, so leaving it here to stare at for a bit and see if anybody else has a thought on what I've done wrong.

I got a clue from the Buildkite logs that maybe mismatched versions of the Prismic libraries was the issue:

warning Pattern ["<EMAIL_ADDRESS>is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-prismic-helpers-beta-2.0.0-beta.3-510d483d1cebab1d963eba08ef1bfae9820fd4eb-integrity/node_modules/prismic-helpers-beta" as pattern ["prismic-helpers-beta@npm:@prismicio/helpers@beta"]. This could result in non-deterministic behavior, skipping.

It seems like rejigging them a bit might have sorted it?


[Bug]: Test 4

Connector Name
module/gdrive (Google Drive)
What happened?
A bug happened!
Relevant log output
No response

Closing as a test issue.


GPU detected in terminal but not while running file

Click to expand!
Issue Type
Build/Install
Source
binary
Tensorflow Version
2.9.1
Custom Code
No
OS Platform and Distribution
Kubuntu 22.04
Mobile device
No response
Python version
3.10/3.9
Bazel version
No response
GCC/Compiler version
7.5.0
CUDA/cuDNN version
11.2/8.1
GPU model and memory
RTX 2070
Current Behaviour?
When I followed the instructions to install TensorFlow on the main website everything worked in the terminal including the GPU output. When I run the code to test if the GPU is detected on a Jupyter notebook or .py file, it can't detect it. I am using the same Conda environment that I installed TensorFlow on.

Standalone code to reproduce the issue
import tensorflow as tf
tf.config.list_physical_devices('GPU')

Relevant log output
2022-07-30 14:43:50.994118: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2022-07-30 14:43:50.994146: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcublas.so.11'; dlerror: libcublas.so.11: cannot open shared object file: No such file or directory
2022-07-30 14:43:50.994170: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcublasLt.so.11'; dlerror: libcublasLt.so.11: cannot open shared object file: No such file or directory
2022-07-30 14:43:50.994194: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcufft.so.10'; dlerror: libcufft.so.10: cannot open shared object file: No such file or directory
2022-07-30 14:43:50.994217: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcurand.so.10'; dlerror: libcurand.so.10: cannot open shared object file: No such file or directory
2022-07-30 14:43:50.994240: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcusolver.so.11'; dlerror: libcusolver.so.11: cannot open shared object file: No such file or directory
2022-07-30 14:43:50.994263: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcusparse.so.11'; dlerror: libcusparse.so.11: cannot open shared object file: No such file or directory
2022-07-30 14:43:50.994288: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory
2022-07-30 14:43:50.994292: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...

This is the output when I run in the terminal.
`$ python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
2022-07-30 14:44:54.755632: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-07-30 14:44:54.758886: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-07-30 14:44:54.759039: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]`

This is the output I get when I run the environment capture tool.
tf_env.txt

@Cheeseboy8020,
Could you please try to add cuda, cudnn, cupti to the environment path and take a look at this link .
conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/
python3 -m pip install tensorflow

For the error please take a look at this issue with a similar error. Thank you!

I followed all the steps on that site and still get the same issue. Here is a video of me following the steps. https://drive.google.com/file/d/17eXgipg8w6cd7Z1K_oi-H5ICTQ4U_bE-/view?usp=sharing

It turns out I hadn't installed CUDA and cudnn properly. This fixed the issue. But I still don't know why it was detected in the terminal.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1042 ms

Resolved: Bofrost.de performance has improved in a41c546 after 43 minutes.


runtime: panic when accessing an empty struct value appended to an uninitialised slice

I ran into the following runtime error while attempting access an empty struct value that had been appended to an uninitialised slice: https://play.golang.org/p/J2ItiISh2f,
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0xffffffff addr=0x0 pc=0x202e2]

The append (line 11) succeeds, as does printing the slice as a whole (line 12); accessing the appended struct via range (line 16) yields a panic. Issue encountered under 1.4.1; unable to replicate under gccgo.
Known workaround: comment out line 8 in favour of 9 and make an empty slice explicitly (yuck).

The following also work as expected, though they alter intended behaviour:

Modifying the struct to include a single field, allowing for default initialisation
Taking a slice of pointers []*empty

the problem is that append returns a slice with ptr=nil.
reproducible on tip.

I've sent https://golang.org/cl/7400

This didn't get cherry-picked for 1.4.3.
@ianlancetaylor - could you remove it from the milestone?


Checkstyle throw javadocs

Fixes #3334
Adds Checkstyle check for common throw scenarios.

Can one of the admins verify this patch?


remove scalar_type in favor of value_type

From @bob-carpenter on January 11, 2015 22:39
Suggested by Joshua N Pritikin via stan-dev:
The traits metaprograms stan::math::value_type and stan::scalar_type are near duplicates and should be merged.

The code layout for stan::math::value_type is the right one.  It goes in math and separates matrices from standard library uses.  It probably has the right test setup, too, since I wrote it recently.

The extension to pointers in stan::scalar_type is going to have to go in the combined definition.

I'm not sure what all the helper-class complexity is for in stan::scalar_type but it'd be nice to understand before changing the behavior.
Copied from original issue: stan-dev/stan#1211

From @jpritikin on January 12, 2015 15:19
It seems the helper is only used for VectorViewMvt.

From @randommm on January 27, 2015 14:47
I think VectorViewMvt only uses scalar_type_pre which in turn only uses scalar_type_helper_pre which is independent code from scalar_type_helper. Therefore, it doesn't use scalar_type_helper nor scalar_type.

From @jpritikin on March 6, 2015 22:5
[After further experimentation, I doubt this is correct.]
Wait, maybe there is a difference. I think the point of scalar_type is to unwrap std::vector, but it leaves Eigen::Matrix intact because a matrix is considered a "scalar" for the purposes of VectorView. See test/unit/agrad/rev/error_handling/scalar/check_equal line 144 where we find check_equal(function,"a",a,b) where both a and b are MatrixXd. Does that sound right?
If my analysis is correct, at a minimum, the purpose of scalar_type should be better documented.

From @bob-carpenter on March 7, 2015 3:52
Yes, we definitely need more doc.  Also, I don't think
the implementation needs to be as complex as it is.  We're
getting better at template metaprogramming and some of this
is old hacks because we couldn't figure out how to do things
properly.
Here's the rundown on what scalar_type does in case you
want to add some doc:
scalar_type::type            == int
scalar_type::type         == double
scalar_type<Matrix<T,R,C> >::type == scalar_type::type
scalar_type<vector >::type     == scalar_type::type
So it just recursively pulls out until it gets to a base
type that's neither a vector nor a matrix and returns the
type.
It also needs to be factored into function-specific files.
traits.hpp is out of control.

Bob

On Mar 7, 2015, at 9:05 AM, Joshua Pritikin<EMAIL_ADDRESS>wrote:
Wait, maybe there is a difference. I think the point of scalar_type is to unwrap std::vector, but it leaves Eigen::Matrix intact because a matrix is considered a "scalar" for the purposes of VectorView. See test/unit/agrad/rev/error_handling/scalar/check_equal line 144 where we find check_equal(function,"a",a,b) where both a and b are MatrixXd. Does that sound right?
If my analysis is correct, at a minimum, the purpose of scalar_type should be better documented.
—
Reply to this email directly or view it on GitHub.

@syclik Is this still an issue?  If not, would you mind closing it?  And if it's a doc issue now, would you mind just editing the issue title and body to reflect that?  Thanks.

I'm closing this issue. What we need is better doc for all our traits and I'll open up an issue for that instead of this one.


How to support Nissan leaf?

Here are some pointers on how to get started with a new port:
https://medium.com/@comma_ai/a-panda-and-a-cabana-how-to-get-started-car-hacking-with-comma-ai-b5e46fae8646
https://medium.com/@energee/add-support-for-your-car-to-comma-ai-openpilot-3d2da8c12647
https://medium.com/@comma_ai/openpilot-port-guide-for-toyota-models-e5467f4b5fe6


chore: add repo metadata, fix PR template

Adding the metadata file to make sure synthtool can take some values from there.
Will fix PRs like #604.

I'd suggest running synthtool to see what this does locally :) This is going to trigger generating a README similar to the other ones for the generated libraries.  You're either going to need to a.) opt out of the generated README in synth.py or b.) monkey with partial template to keep the parts of the readme you want.
The other thing to call out is that this will opt you into publishing docs to googleapis.dev.  I think that's a good thing, but just be aware we will probably need to turn down what we have in github pages.

Thanks @JustinBeckwith! I ran synthtool locally, excluded README.md and added the changes here, so the next scheduled synthtool run should be empty.

:shipit:


ligater_initialise.cpp typo?

When looking at the log for ligate I noticed something that doesn't seem right. It appears that when using a pedigree, it prints the file name from the file listing the chunks to ligate rather than the pedigree file name. It looks like this is in ligater_initialise.cpp lines 43-59. Everything works fine, it just looks like it is printing the wrong file name.
cat TEST051.P.1.25.ligate.log

Files:
  * Input LIST     : [TEST051.P.1.25.common.chunks.txt]
  * Output VCF     : [test.bcf]
  * Index output   : [NO]
  * Output LOG    : [TEST051.P.1.25.ligate.log]

Parameters:
  * Seed           : [15052011]
  * #Threads       : [4]

Read filenames in [TEST051.P.1.25.common.chunks.txt]
  * #files = 2

Read filenames in [TEST051.P.1.25.common.chunks.txt] <-- should be file from --pedigree [FileName]
  * PED file parsing [n=630]

Thanks for reporting this! I'll fix this asap.


Enable linting of the external/cmapscompress/ folder

Given that this our "own" code, there's no good reason as far as I'm concerned to not lint it.

Thank you for bringing this code up-to-date with the coding style!


add detection for core 2.1 project, fixes #2757

currently it does not break for all scenarios, for example: https://github.com/dotnet/cli/issues/8745
but it will break when user create a webapi app (where we cannot find /wwwroot folder or web.config)
I manually tested it, for automated deployment test...its easier to wait for 2.1 sdk, otherwise I need to setup site extension as test context

https://github.com/projectkudu/kudu/commit/d72713743fd891a9f2f65e438bc0bb0c993aeac4 merged


[test] Add test for LC access control signal going to OTP

This addresses both https://github.com/lowRISC/opentitan/issues/15272 and https://github.com/lowRISC/opentitan/issues/14139.
Note that this test is not entirely complete yet and there remain two more action items:

[x] Enable the test in TEST_UNLOCKED mode once #15293 has been merged (that PR adds that OTP image)
[x] Add a key manager SW key derivation step to check the effect of lc_seed_hw_rd_en

Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

Hi @msfschaffner very nice test! Pls re-request review once you want me to take a second look. Thanks!

Thanks for the review @moidx - I have update the PR accordingly!


[TW-161] MsgRequestBlockHeaders parameter

Use a (currently non-master) time-warp-nt revision which includes a fix in the outbound queue, and a change to the MsgRequestBlockHeaders constructor. When requesting headers for an alternate chain in the block retrieval worker, use the MsgRequestBlockHeaders constructor, because that's in fact what the conversation does.

default policy change looks good. I'll update the example policy yamls to match

default policy change looks good. I'll update the example policy yamls to match

Thanks!

Appveyor logs are simply not readable for me. The web page grinds to a halt. Will wait for travis to finish.

Travis: some Purescript failure: https://travis-ci.org/input-output-hk/cardano-sl/jobs/266150097#L7365
Aug 18 23:36:21 bower ECONFLICT     Unable to find suitable version for purescript-functions
Appveyor: some different-but-similar purs failure:
bower ECONFLICT Unable to find suitable version for purescript-console
We're getting that because cardano-explorer was merged.

Strange, the npm stuff is still failing for some of these builds, though #1375 was already merged.

@dcoutts, I see that the PR's (merged) pass, but the branch don't.  So this suggests that the fix from #1375 is later in the master progression than the base of this PR.
I would suggest rebasing.
But there's also the merge conflicts..

Rebased on master. Lets see if this works now.


Rnadom freezing/hanging of the application

During use, specifically in VR/in VRChat, once in a while the app hangs/freezes. I have no set steps to reproduce this bug (if one can call it a bug), but if you need to, try to launch it in VRChat while it's open and invite yourself to a world.
EDIT: Forgot to include, the reason there isn't any steps to reproduce is because it happens randomly! However, it's quite frequent for me.
EDIT 2: Happens when you join instances with a large or decent amount of users.

Usually happens when you join an instance with lots of players, I'd really like this fixed ASAP because it happens so often.

Usually happens when you join an instance with lots of players, I'd really like this fixed ASAP because it happens so often.

I can confirm that these are the steps to reproduce this bug. Seems to happen every single time I join a big instance. Adding it to the main post.

Mine will happen when VRChat crashes from a large instance. If I close SteamVR, it'll always re-launch SteamVR until I kill the frozen VRCX application.
I will try to collect more details and the error when it happens again from the event viewer.

Are you able to compile the latest version or try my fork and tell me if it fixes it?


Whn matching a single item, no result is shown

Hi there!
This is a very nice plugin, thank you for developing and sharing it!
Anyway, I think I've found a bug: when searching, everything seems to work fine but as soon as i narrow the results to just a single element, no more results are shown.
Then, when going out of focus, the correct element blinks for a moment.
No errors are shown in the javascript console.
Here is my settings:
var options = {     url: function(text) {         return '?do=chart&search=' + text;     },     listLocation: 'els',     getValue: 'descr',     template: {         type: "custom",         method: function(value, item) {             var img = item.img ? item.img : 'med/img/placeholder.png';             return '<img class="searchImg" src="' + img + '"> ' + item.code + ': ' + value;         }     },     theme: 'bootstrap',     list: {         onChooseEvent: function() {             var item = $("#searchText").getSelectedItemData();             editId = null;             showItemModal(item);         },     },     requestDelay: 250,     highlightPhrase: false,     placeholder: 'codice o descrizione', }; $("#searchText").easyAutocomplete(options);
Here is an example video: https://www.dropbox.com/s/br8g7zll7h5r2zr/autocomplete.mp4?dl=0

Here is an example video: https://www.dropbox.com/s/br8g7zll7h5r2zr/autocomplete.mp4?dl=0

Any update on this?

Just wanted to leave a note on this one as it wasn't very intuitive how I resolved this.
In the getValue function, you have to return the fields that match the search string in order for them to return a list of matches. In my case, I had something along the lines of:
getValue: function(item) {
  return item.name+' '+item.location_full_address;
}

In my case if I didn't return a string from this getValue function that matched the search string, then the results from my AJAX response wouldn't display. Hope this helps.


messages not loading

i am using a Nix enviornment and logging in using a token isn't working

Please send the log file located at ~/.cache/discordo.logs.txt on Unix-based platforms.


Is this plugin still alive?

Last commit is 31 may and there is so many thing need to update and does someone care?
This is great plugin and i don't think it deserves death :)

Have you tried it ?  Does it work good?

If you use latest version of RN then it's okey

This plugin is dead


Update Libs

Any change you could update the libs to be the latest?
I am doing it locally but would be good to get in here too... want me to PR?

Also, the libs need to be flipped from netcore apps to netstandard projects

@Jetski5822 would be great I agree. Would be nice support both Polly 7.0 and 6.0 versions too.
And yeah, would be terrific if you make a PR for that, thanks!