text:
Chapter 1 Exercise 1.7.2

In exercise 1.7.2: "What is the expected percentage increase in text-message rates?" hint: compute the mean of lambda_1_samples/lambda_2_samples. Note that this quantity is very different from lambda_1_samples.mean()/lambda_2_samples.mean().
The hint noted that I should compute the expected increase by taking the mean after dividing individual samples, but it seems that the answer is the same (0.28) if I divide the obtained sample means of lambda_1 and lambda_2, but the hint noted that the quantity should be different.
Did I do something wrong?
Example code:
relative_increase_samples_1 = (lambda_2_samples - lambda_1_samples) / lambda_1_samples
print('Relative increase: %.2f' % np.mean(relative_increase_samples_1))

# Alterantive way of calculating this
relative_increase_samples_2 = (lambda_2_samples.mean() - lambda_1_samples.mean()) / lambda_1_samples.mean()
print('Relative increase: %.2f' % relative_increase_samples_2)

I agree with @Timothysit
I have done the calculation two-way as well, i.e. ratio of the means and mean of the ratio.
While the results are not identical, they only differ by 0.12% (<1%), so these quantities are definitely NOT "very different".

Whats the idea of point-wise quotient of two sample sets? How is this described from probabilistic of view?

authors: CatChenal Timothysit star-yar


text:
What is the best way to get all the users from a user table who can access a particular Model or model object?

I want to get the list of users from User model who can read and create a record of another model say Message.
Is there any method cancancan provides that can di this for me?

Please refer to Stackoverflow for questions. Thank you 🙇 .

source: gharchive/issue

authors: Guri-ksolves coorasse

repo: CanCanCommunity/cancancan

license: mit

license_type: permissive

license_source: bigquery


text:
Roadmap of Canner v3.0

The integration of Canner and GQLify
In @canner/cli@2.x version, we focused on how to create the CMS on our platform. So, there are just two major commands, script:server and script:deploy for users to preview and deploy their schema to our platform. Most of data connectors and config files are also designed for the platform.  But we found the most developers care about how to self-host their CMSes.
So we create the project  https://github.com/Canner/gqlify which is used to create a GraphQL server just with the data model and data sources.

GQLify examples
basic example

const { Gqlify, MemoryDataSource } = require('@gqlify/server')
const { ApolloServer } = require('apollo-server');
const { readFileSync } = require('fs');
// Read datamodel
const sdl = readFileSync(__dirname + '/demo.graphql', { encoding: 'utf8' });
// mock default data
const defaultData = {
users: [
{id: '1', username: 'Alice', email: 'alice@gmail.com'},
{id: '2', username: 'Bob', email: 'bob@gmail.io'},
],
books: [
{id: '1', name: 'book1', userId: '1'},
{id: '2', name: 'book2', userId: '2'},
],
};
// construct gqlify
const gqlify = new Gqlify({
// provide datamodel to gqlify
sdl,
// provide data-sources map to GQLify,
// so GQLify would know how to create data-source for each model
dataSources: {
memory: args => new MemoryDataSource(defaultData[args.key]),
},
});
// GQLify will provide GraphQL apis & resolvers to apollo-server
const server = new ApolloServer(gqlify.createApolloConfig());
// start server
server.listen().then(({ url }) => {
console.log(🚀 Server ready at ${url});
});

demo.graphql

type User @GQLifyModel(dataSource: "memory", key: "users") {
  id: ID! @unique @autoGen # auto generate unique id
  username: String!
  email: String
  books: [Book!]! # User-Book: one-to-many
}

type Book @GQLifyModel(dataSource: "memory", key: "books") {
  id: ID! @unique @autoGen # auto generate unique id
  name: String!
  author: User!
}

To integrate Canner and GQLify, we transform Canner schema to GQLify data model, so that we can run the server with GQLify. And Canner only needs to know what is the endpoint of the graphQL server, not the Apollo connector. This makes the whole structure more clear and simple.

CLI commands
To support the self-hosting, we rename most commands to be more clear.
Common

[x] canner init - Initialize canner.schema.js, schema/*.schema.js, one of canner.server.js and canner.cloud.js

--only-schema, -s
--only-cloud, -c
--only-server, -S

OSS (self-hosting)

[x] canner start - build the cms and run the GrapQL server
[x] canner start:cms - run the cms server

build statics + serve statics

[x] canner start:graphql - run the GrapQL server
[x] canner start:auth - run the cms and run the GrapQL server

Cloud

[x] canner cloud:signup
[x] canner cloud:login
[x] canner cloud:logout
[x] canner cloud:deploy - Deploy the schemas and the server to Canner platform
[x] canner cloud:preview - Run webpack-dev-server for developers to develop quick
[x] canner cloud:whoami
[x] canner cloud:dashboard
[x] canner cloud:init - Intialize the project, the combination of canner app:use and canner init
[x] canner app:use - Select one app on Canner, create the .cannerrc in project root

--app-name <app-name> - Specify the app

[x] canner app:create - Create one app on Canner, create the .cannerrc in project root

--app-name <app-name>- The app name

[x] canner app:list

The configuration files

[x] canner.server.js for OSS
[x] canner.cloud.js for Cloud

OSS modules
Cms server
Serving static files built from canner-bundle and render the whole cms view.

[x] integration with GQLify
[x] integration with auth server

Auth server
Authentication server implementing openid-connect.

[x] follow basic openid-connect spec
[x] login with username/password

GQLify server

[x] integration with Canner Schema
[x] integration with auth server -> authentication in apollo context

Others

[x] Docs

Feedback
We are now fully working on this, and the first release will be published around February 2, welcome to try the new feature and give us some feedback, thanks!

Looking forward to this! Want to start using Canner and use it as OSS (self-hosting) on firebase hosting (and firestore). Hearing that Canner v3.0 will be more focussed on OSS is great. Want to experiment with Canner, but I think I'll wait for the first v3.0 release (tomorrow?).

Hi @steurt @kevrat
Our Canner v3 is released!
Check out our blog to see what's new: https://www.cannercms.com/blog/2019/02/07/canner-v3
Another thing is that Prisma will require more time to be integrated into our v3 framework. We'll get to that really soon.

Nice work! Hope to try it with prisma soon

Kudos for thinking about greater good and  making canner v3  self hosting friendly,
Wih firebase auth and firestore it really is significant asset for anyone
Cheers from India :)

Awesome work! I was trying to set it up with firestore but ran into some trouble:
https://spectrum.chat/?t=44268817-8232-41b2-a5a8-e86e2357bacd
It worked perfectly with realtime database from firebase though!

authors: abz53378 johhansantana kevrat startupgurukul steurt wwwy3y3

repo: Canner/canner

license_source: github-api


text:
Fix: Catalog server missing dependency

Description
For nx@14.0.3 fixed,
need to move the @nrwl/next from devDependencies to dependencies

Catalog missing module of @nrwl/next/plugins/with-nx which didn't bundle in dist.
The dependency issue was fixed in nx@16.0.0, but currently @vulcan-sql use nx@14.0.3

error - Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
node:internal/modules/cjs/loader:956
  const err = new Error(message);
              ^

Error: Cannot find module '@nrwl/next/plugins/with-nx'
Require stack:
- /Users/shimin/Projects/vulcan-test/my-first-vulcan-project/node_modules/@vulcan-sql/catalog-server/next.config.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Function.mod._resolveFilename (/Users/shimin/Projects/vulcan-test/my-first-vulcan-project/node_modules/next/dist/build/webpack/require-hook.js:183:28)
    at Function.Module._load (node:internal/modules/cjs/loader:804:27)
    at Module.require (node:internal/modules/cjs/loader:1028:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/shimin/Projects/vulcan-test/my-first-vulcan-project/node_modules/@vulcan-sql/catalog-server/next.config.js:2:16)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/shimin/Projects/vulcan-test/my-first-vulcan-project/node_modules/@vulcan-sql/catalog-server/next.config.js'
  ]
}

Issue ticket number
closes https://github.com/Canner/vulcan-sql/issues/189

Codecov Report
Patch and project coverage have no change.

Comparison is base (44fba1b) 90.99% compared to head (dd95c3e) 90.99%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #190   +/-   ##
========================================
  Coverage    90.99%   90.99%
========================================
  Files          331      331
  Lines         5443     5443
  Branches       728      728
========================================
  Hits          4953     4953
  Misses         345      345
  Partials       145      145

Flag
Coverage Δ

build
90.55% <ø> (ø)

catalog-server
100.00% <ø> (ø)

cli
81.48% <ø> (ø)

core
94.18% <ø> (ø)

extension-authenticator-canner
79.48% <ø> (ø)

extension-dbt
97.43% <ø> (ø)

extension-debug-tools
98.11% <ø> (ø)

extension-driver-bq
85.41% <ø> (ø)

extension-driver-canner
84.65% <ø> (ø)

extension-driver-duckdb
96.61% <ø> (ø)

extension-driver-pg
96.11% <ø> (ø)

extension-driver-snowflake
96.26% <ø> (ø)

integration-testing
90.27% <ø> (ø)

serve
87.11% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

source: gharchive/pull-request

authors: andreashimin codecov-commenter

repo: Canner/vulcan-sql


text:
fix(serve): the test cases of checking useable format  fail.

Description
Fix the test cases that fail when running the checkUsableFormat function in helper.spect.ts from PR #95.
Issue ticket number
Additional Context

Codecov Report
Base: 92.60% // Head: 92.57% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (6f1fcd8) compared to base (65413b8).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #96      +/-   ##
===========================================
- Coverage    92.60%   92.57%   -0.03%
===========================================
  Files          259      259
  Lines         3798     3799       +1
  Branches       481      482       +1
===========================================
  Hits          3517     3517
  Misses         185      185
- Partials        96       97       +1

Flag
Coverage Δ

integration-testing
96.15% <ø> (ø)

serve
90.29% <100.00%> (-0.10%)
:arrow_down:

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

Impacted Files
Coverage Δ

packages/cli/src/commands/init.ts
83.33% <100.00%> (ø)

...erve/src/lib/middleware/response-format/helpers.ts
90.90% <100.00%> (-9.10%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter kokokuo


text:
xterm functionality of terminal-light doesn't work in urxvt after version 9.25

I use a light terminal and noticed broot applies its dark theme instead of the light theme (I use urxvt 9.30 writing black on white).
going down the rabbit hole, cargo run from the terminal-light crate prints Error: Unsupported for me. I think I traced it down by now to the release notes http://lists.schmorp.de/pipermail/rxvt-unicode/2021q2/002606.html which say

ESC G (query rxvt graphics mode) has been disabled due to security
implications. The rxvt graphics mode was removed in rxvt-unicode 1.5,
and no programs relying on being able to query the mode are known.

i reverted to urxvt 9.22 (ubuntu 20.04 and debian stable) and there terminal-light works (afaiu thanks to the query_bg_color function in xterm.rs)
On top of that, the COLORFGBG detection fails for me because of its value COLORFGBG=0;default;15 the default can't be parsed to u8. (Not sure yet if that's something I should change anyway and where that gets set…)

On top of that, the COLORFGBG detection fails for me because of its value COLORFGBG=0;default;15 the default can't be parsed to u8. (Not sure yet if that's something I should change anyway and where that gets set…)

What is supposed to be that "default" ? A problem is I never found any authoritative definition of that variable. If you'd find some it would be helpful.

Found this code which parses de ;default part. That doesn't really make it a standard...

Hi, I also haven't figured out what default is meant to be / where I set it (not to mention why i chose to set it that way).
Your PR works for me. terminal-light does not report an error anymore and broot picks the correct theme now.

FYI broot 1.20 has just been released with terminal-light updated

authors: Canop pseyfert

repo: Canop/terminal-light

license: MIT


text:
fumbler, bastant

This pull request was generated by the 'mq' tool

/trunk merge

repo: Canva/mergequeue-trunk


text:
Fix tls parameters.

tested with terraform 0.7.0 dev

Blocking based on 0.7 release and https://github.com/Capgemini/tf_tls/pull/38 upstream being merged pending 0.7 release

authors: enxebre tayzlor

repo: Capgemini/kubeform


text:
How did you train the network?

Hi, I'm really interested in fairmot work which is absolutely done perfectly. Could you please share a bit of the detail about how you trained the model for cars? Like did you freeze the body of the network and train only the heads? Did you train id head? How many images did you have for the training data? Did you encounter any generalization errors? I'll be so glad if you can answer my questions.

Hi, thanks for interest. This repo is the extention work of FairMOT for one-class multi-object tracking, so the training details are almost the same as FairMOT except training dataset preparation. The content of training multi-vehicle using the DETRAC dataset is detailed in readme.
In the training phase, no layers of the model are fixed, i.e all parameters are tuned during training process. The details of DETRAC dataset can be found in their official website. As for the generalization erros, from my point of view, it's good.

@CaptainEven Thank you for the quick reply. I dig into MCMOT, there is a code below that draws gauss weight on the heatmap corresponding to that class id. I'm assuming, it writes 1 into some pixels that are close to the center of the object, right?

Yes

authors: CaptainEven faruknane

repo: CaptainEven/FairMOTVehicle


text:
支持h264吗

从摄像头获取的是h264数据流，可以播放吗 怎么播呢

支持，但是目前so支持的是acc的音频编码，但是你的数据流要组成数据流，比如mp4之类

现在我是获取的h264数据数组，怎么组成你说的数据流 然后播放呢

h264数据数组估计你要使用concat协议

repo: CarGuo/GSYVideoPlayer


text:
项目导入一直报错，环境配置无问题，一直提示是v1

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the
steps at
https://flutter.dev/go/android-project-migration
to migrate your project. You may also pass the --ignore-deprecation flag to
ignore this check and continue with the deprecated v1 embedding. However,
the v1 Android embedding will be removed in future versions of Flutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The detected reason was:
F:\fproject\gsy_github_app_flutter-master\android\app\src\main\AndroidManifest.xml uses android:name="io.flutter.app.FutterApplication"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Build failed due to use of deprecated Android v1 embedding.

2.8 的 SDK 版本？？我试了没问题呢

2.8 的 SDK 版本？？我试了没问题呢

Flutter 2.9.0-1.0.pre.95  和fluttersdk版本有关系么

有啊，你这个是 master 的，属于 preview 分支，不是正式版的
现在正式版本的是 stable 分支的，那才是release版，2.8

FAILURE: Build failed with an exception.

Where:
Script 'F:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1070

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'F:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

已经换成2.8.0sdk，编译还是有问题，需要配置什么东西么？

你这个log看不出来什么问题，  Process 'command 'F:\flutter\bin\flutter.bat'' finished with non-zero exit value 1 感觉还是你环境有问题

Launching lib\main.dart on TAS AN00 in debug mode...
Running Gradle task 'assembleDebug'...
lib/common/net/address.dart:2:8: Error: Error when reading 'lib/common/config/ignoreConfig.dart': 系统找不到指定的文件�?
import 'package:gsy_github_app_flutter/common/config/ignoreConfig.dart';
^
lib/common/dao/user_dao.dart:10:8: Error: Error when reading 'lib/common/config/ignoreConfig.dart': 系统找不到指定的文件�?
import 'package:gsy_github_app_flutter/common/config/ignoreConfig.dart';
^
lib/common/net/address.dart:277:13: Error: Undefined name 'NetConfig'.
"=${NetConfig.CLIENT_ID}&state=app&"
^^^^^^^^^
lib/common/dao/user_dao.dart:31:20: Error: Undefined name 'NetConfig'.
"client_id=${NetConfig.CLIENT_ID}"
^^^^^^^^^
lib/common/dao/user_dao.dart:32:25: Error: Undefined name 'NetConfig'.
"&client_secret=${NetConfig.CLIENT_SECRET}"
^^^^^^^^^
lib/common/dao/user_dao.dart:74:20: Error: Undefined name 'NetConfig'.
"client_id": NetConfig.CLIENT_ID,
^^^^^^^^^
lib/common/dao/user_dao.dart:75:24: Error: Undefined name 'NetConfig'.
"client_secret": NetConfig.CLIENT_SECRET
^^^^^^^^^
我用flutter  doctor 测试环境是没问题，查了一圈子实在是不知道哪里配置又问题

ignoreConfig.dart 问题看 readme

authors: CarGuo zhangmengjia


text:
[Bug] App Crashed probably related to Anilist tracking

I just started using Anilist for tracking my manga library, then the app keep crashing that really never happened before
Device information

Tachiyomi version: Neko 2.2.1
Android phone & version: Redmi Note 5, Android 9 PKQ1.180904.001

Steps to reproduce
The case that I found:
[1st case]

Set Anilist tracking
Start reading a chapter

[2nd case]

Set Anilist tracking
Just strolling around the App

Expected behavior
Neko working normally, reading the chapter without crash
Actual behavior
App crashed when tries to load the chapter. The other case is the app randomly crashed when I am strolling around the app (browse manga, see library, etc).
Other details
crash log that I found
[crash log 1]
--------- beginning of system
--------- beginning of main
03-08 08:17:30.229 17090 17124 E ||NEKO  : 	â”œ eu.kanade.tachiyomi.ui.reader.ReaderPresenter$updateTrackChapterRead$1$1.invokeSuspend(ReaderPresenter.kt:711)
03-08 08:17:30.229 17090 17124 E ||NEKO  : 	â”” kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-08 08:17:30.229 17090 17124 E ||NEKO  : java.io.EOFException
03-08 08:17:46.687 17090 17090 E WindowManager:
03-08 08:17:46.687 17090 17090 E WindowManager: android.view.WindowLeaked: Activity eu.kanade.tachiyomi.ui.main.MainActivity has leaked window DecorView@8a0adce[MainActivity] that was originally added here
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.view.ViewRootImpl.(ViewRootImpl.java:544)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.app.Dialog.show(Dialog.java:329)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at eu.kanade.tachiyomi.ui.manga.track.TrackingBottomSheet.show(TrackingBottomSheet.kt:61)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at eu.kanade.tachiyomi.ui.manga.MangaDetailsController.showTrackingSheet(MangaDetailsController.kt:1154)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at eu.kanade.tachiyomi.ui.manga.MangaHeaderHolder$19.onClick(MangaHeaderHolder.kt:105)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.view.View.performClick(View.java:6608)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.view.View.performClickInternal(View.java:6585)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.view.View.access$3100(View.java:785)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.view.View$PerformClick.run(View.java:25921)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.os.Handler.handleCallback(Handler.java:873)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.os.Handler.dispatchMessage(Handler.java:99)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.os.Looper.loop(Looper.java:201)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at android.app.ActivityThread.main(ActivityThread.java:6810)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at java.lang.reflect.Method.invoke(Native Method)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
03-08 08:17:46.687 17090 17090 E WindowManager: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
03-08 08:17:54.228 17352 17352 E hiyomi.mangade: Not starting debugger since process cannot load the jdwp agent.
03-08 08:17:54.809 17352 17387 E SQLiteLog: (284) automatic index on C(manga_id)
03-08 08:17:54.809 17352 17387 E SQLiteLog: (284) automatic index on R(manga_id)
03-08 08:17:54.809 17352 17387 E SQLiteLog: (284) automatic index on mangas_categories(manga_id)
[crash log 2]
--------- beginning of system
--------- beginning of main
03-08 08:09:26.642 15314 15314 E hiyomi.mangade: Not starting debugger since process cannot load the jdwp agent.
03-08 08:09:27.238 15314 15348 E SQLiteLog: (284) automatic index on C(manga_id)
03-08 08:09:27.238 15314 15348 E SQLiteLog: (284) automatic index on R(manga_id)
03-08 08:09:27.239 15314 15348 E SQLiteLog: (284) automatic index on mangas_categories(manga_id)

can you clear cookies, and relogin to anilist and mangadex then try again

yeah, after uninstalling the app now working fine :)

repo: CarlosEsco/Neko


text:
Export CARTO MGL styles

Enable the following usage:
const map = new mapboxgl.Map({
    style: carto.basemaps.voyager
})

This would allow in the future to embed our basemap styles in the CARTO VL library avoiding extra requests and reducing loading time.

Yes, I think there are 3 ways of implementing it:

Storing just the URL
Storing the JSON
Storing the JSONs. Each JSON actually points to other JSONs. We could also remove this level of indirection.

I'd prefer the third option, but I don't know how difficult is to remove that level of indirection, and if the bundle size is increased by much.
Maybe @rochoa has more input.

This is ready in the PR.
@davidmanzanares and @rochoa It would be great if you could check it, cause there are a lot of examples updated there (just replacing old url with new constant)

This has been merged 🚀

authors: VictorVelarde davidmanzanares

repo: CartoDB/carto-vl


text:
E2e subdomainless docker

This uses subdomainless configuration in the Maps API to avoid requiring a new hostname configured in /etc/hosts.
It also checkouts and pulls latest changes from the master branch.

About the git clone. Do you know if that gets executed every time the image starts or it's executed and materialized when you build the image?

When the image starts, since we want to test Windshaft master every time and not a stale version. Since the deploy.sh is the entry point it will be called by default when running the image.
The ´clone´ would have been on the Dockerfile if it was on the build phase.

Oh, stupid me! I know why it wasn't having any effect. I wasn't changing the directory where I was executing the git checkout && git pull. If only you would get errors. 💔

the clone will create a new directory and the checkout and pull will be performed in the parent directory, right?

:joy::joy:

You can also open a bash session in Docker to run the commands interactively and see all the output

💪 vamos!

authors: VictorVelarde davidmanzanares rochoa


text:
Make versioning less strict, follow semver

Right now the extension versioning takes the manually given VERSION number, à la semver, plus the git describe information. It would be much better to use plain semver as it would ease the integration with cartodb project.
See: https://github.com/CartoDB/cartodb/issues/712
Jira REF CDB-3504

This was already fixed.

repo: CartoDB/cartodb-postgresql


text:
Infowindow template only appears and replaces values if fields are previously selected

@juanignaciosl commented on Thu Oct 27 2016
This works in the Editor, not in the Builder. Appeared here but it's a different problem: #10407.
STR

Create a new map with the builder.
Select "light" infowindow without fields.
Edit the HTML and add a field ({{my_column}}).

^ Infowindows should be enabled, but they're not.

Go back and select light infowindow and one field.
Edit the HTML and add a second column (not previously selected.

^ ** Infowindow won't display the value of the second column
cc @matallo @alonsogarciapablo  @javisantana @piensaenpixel @xavijam

and why does it work in the editor, what is the difference? AFAIK we only fetch values in the infowindow.fields list, right?

The problem is that we're only showing the infowindow (click popups) ONLY when some fields have been selected. That's the reason why custom infowindows are only working when some fields are selected. We must show these popups if the infowindow has a template. Pretty easy to fix.

Closed via https://github.com/CartoDB/cartodb.js/pull/1476.

authors: alonsogarciapablo javisantana


text:
Reduce d3 footprint [leapfrog]

Currently we're requiring the whole d3 package to use only a few helper functions. This was made because in d3 v3 you couldn't require isolated modules. This is now possible so my solution is to require only the needed packages.
This way we go from

to

Reduction
From 146.2K to 24.9K!!!
From 52.5K to 8.7K (gzipped)!!
83% of size reduction. ❗❗ 👏 👏
Tests
I made tests with the previous versions of d3 array functions to get values and check that it remained the same when switching to single packages. I deleted them because they are meaningless outside this refactor.
I added tests to formatter.formatDate. They didn't exist before and it's useful to keep them.

👏

authors: ivanmalagon matallo


text:
Data enrichment fails (Canada)

Context

Account pramsey.carto.com

Steps to Reproduce

Added smallish (30k) polygon layer, and selected a data enrichment analysis
Polygons are in Victoria, Canada, so selected the Cantonese language option from the library

Current Result

Browser and version

Chrome, OSX

@pramsey Thanks for the report.  Unfortunately, until table level functions for analysis are deployed, a 30K polygon augmentation will likely time out.  The underlying functions in the observatory-extension for doing this already exist, but the interfaces for using them haven't been built yet.
If you're curious, the observatory-extension work around this (basically finished) is here: https://github.com/CartoDB/observatory-extension/pull/199 .  The accompanying camshaft ticket is here: https://github.com/CartoDB/camshaft/issues/228
The current deployment makes one call to dataservices per row, and the overhead for that multiplies very rapidly.  Table-level functions make just one call per table, generally resulting in an order of magnitude performance improvement.
We're currently looking at between 30 seconds and 60 seconds per thousand polygons right now, depending on their complexity.  That would mean your augmentation could have taken up to thirty minutes.  Did you receive the error message immediately, or did you get the loading spinner for a while first?
I've flagged with @saleiva that we should prevent users from augmenting so many rows using the UI until we've upgraded the tech behind the scenes: https://github.com/CartoDB/cartodb/issues/9798
While for the sake of a demo it's not useful, it is possible to use table-level functions in the SQL API.  It's also possible to use the publicly documented Observatory functions in bite-size portions by using a WHERE against cartodb_id to send off updates in ~1000 row pieces.

Thanks for the info! Yes, this should very much be stopped in the UI. Has all the testing been on teeny data? 30K is not particularly big (just opendata parcels from good ole' Victoria).

The initial rollout was focused on small amounts of data -- I'd love to work with bigger datasets, and we've built the infrastructure for doing so, but unfortunately the camshaft/UI components for working with that just aren't there yet.

authors: pramsey talos

repo: CartoDB/cartodb


text:
Correctly send sync logs

Fixes #12707
Broken by https://github.com/CartoDB/cartodb/commit/3959c7c827641edbc896b7d2b86521fcd6ceaf3e

After a second thought, I think that there might be some corner cases where log.entries failed because of log being nil. Have you checked that, @javitonino ? Moving to tomorrow-deploy anyway. If you add the check ping me for CR and acceptance.

I'd added the guard. It's only needed for the case where the sync is pending. Good catch!

authors: javitonino juanignaciosl


text:
Update aws s3 gem

Needed for CartoDB/tech-ops/issues/463 (see comment).
👁 this requires configuration change.

🔴 DO NOT MERGE 🔴  until https://github.com/CartoDB/cartodb-platform/pull/4219 is deployed

Acceptance: 💚
I've tested both this PR and the config one together in staging. It works just fine. Added assets, exports and imports.

CartoDB/cartodb-platform/pull/4219 has been merged. I will deploy after some last tests. cc @javitonino

Have you tested both user assets (e.g: avatar/map marker) and organization assets(map markers configured in org settings page)?

I did. I'll do one last test of this when staging environment is ready with the updated configuration.

@javitonino tested again with a brand new image containing the required attribute. I'll deploy this tomorrow early morning, ok?

authors: amartinj javitonino juanignaciosl


text:
Decrease verbosity of Resque logs

Related: https://cartoteam.slack.com/archives/CSPPXDEFR/p1612434708135200
Decreases the verbosity of Resque logs so we avoid this annoying messages:
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking imports
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking exports
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking users
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking user_dbs
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking geocodings
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking synchronizations
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking tracker
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking user_migrations
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking batch_updates
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Checking gears
builder-resque_1              | ** [07:52:38 2021-02-05] 33: Sleeping for 20.0 seconds
builder-resque_1              | ** [07:52:38 2021-02-05] 33: resque-1.25.2: Waiting for imports,exports,users,user_dbs,geocodings,synchronizations,tracker,user_migrations,batch_updates,gears

Related PR in Central: https://github.com/CartoDB/cartodb-central/pull/3044

PS: @dppascual recently asked me a question about these traces and that is why I mentioned him in the review.

LGTM! there is no need to wait for @dppascual , because i'm already in sync with him. So far, once this is deployed to production and we verify that the dup messages varnished, then we will be removing this piece of code https://github.com/CartoDB/terraform-gcp-module-logging-logstash/blob/master/assets/pipelines.conf#L704-L710
that is basically dropping resque messages before sending them to Honeycomb (we did this to save events and :money_with_wings: )

authors: amiedes jvillarf rafatower


text:
fixed aggregation columns for regions

cc @xavijam

:+1:

merge merge merge

authors: javisantana xavijam


text:
9168 fix delete layer with high node ids

Fixes #9168
E.g. (from the reported issue) deleting layer C will now make its node to be folded under another layer as expected.
Before delete:

After delete (c2 moved to b2):

The problem was that layer B's node already had a rather high sequence number (starting at [b4, b3]), so when reorganizing the nodes under the new layer (B) and only having 3 nodes [b4,b3,c2] the algorithm wasn't prepared for this and wanted to rename them to [b3,b2,b1], which caused node b3 to point at itself (thus the infinite loop later in the code path).
Changed the code to take this into account and instead start from the highest sequence instead (thus naming nodes [b4,b3,b2] instead). Test case is using data from the extracted carto file.
@alonsogarciapablo can your review?
cc @saleiva @xavijam

Looks legit 😛 !!! :+1:

Frontend tests passing so closing

authors: alonsogarciapablo viddo


text:
Updates small error in documentation

Need to use double quotes in this case for string interpolation.

nothing
sorry

authors: jonfriese mibamur


text:
Support only rendering part of the contents

I'm using react-infinite-scroller to load a large list of images and it is working great. I start by loading the first 10 images. However I only want to show 30 images on screen at once so once 30 images have been loaded I start to not render those near the top of the page. But now if the user scrolls back up the page they won't see those images anymore so I want some sort of trigger to begin showing those again.
I know this isn't a straightforward feature but I'm thinking that in addition to loadMore there could be a loadTop that would fire when the user begins scrolling back up towards the top of the page (based on a topThreshold) that could be used to figure out which 30 images to show (near the top or near the bottom of the list).
Is this something that is in scope for this project? I could work-around it by attaching my own scroll listener and logic to the container but I'd rather not reimplement that code in my project.

It sounds like you're describing react-virtual-list and I've been meaning to look into it so that we can truly support the loading of infinite items.
If you look at it's impressive demo you can see it displays 100,000 items and is really performant - I'm guessing you're trying to match this level of optimisation.

Looking into the package further, it's (yet another) React package that looks inactive. I'll see if I can update it and wrap it around our infinite scroller. Any research/help would be much appreciated!

Thanks @danbovey, although the react-virtual-list package doesn't work well for me because I do not have fixed-height items, everything is dynamic.

Found the package I originally thought I linked: react-virtualized. Supports dynamic heights as well.

I've been using react-virtualized a lot lately and so if anybody else is looking to do this, please use that package. It even comes with it's own infinite scrolling system!

authors: axelson danbovey

repo: CassetteRocks/react-infinite-scroller


text:
[WIP] Croatian translation

Check if this PR fulfills these requirements:

[X] My changes respect the Kodi add-on development rules
[X] I have read the CONTRIBUTING document.
[X] I made sure there wasn't another one Pull Requests opened for the same update/change
[X] I have successfully tested my changes locally

Types of changes

[ ] New feature (non-breaking change which adds functionality)
[ ] Feature change (non-breaking change which change behaviour of an existing functionality)
[X] Improvement (non-breaking change which improve functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Update to Croatian translation

Work in progress not ready for merging

It should be good to go now :)

perfect thanks

authors: CastagnaIT arvvoid


text:
MC 1.20.4 compatibility

Are there any plans to add MC version 1.20.4 compatibility?

See issue #64 . They said it will be added at some point

authors: LukaDeVrij braulio-dev

repo: CatCoderr/ProtocolSidebar


text:
reoccuring broken decisions

We see broken decisions in the draft CoL reoccurring even after several attempts to fix all tasks and issues for various GSDs, for example the Species Fungorum Plus dataset.

some findings of my investigations.
Total number of decisions for the draft is 10870.
From these 1162 are broken:
 subject_dataset_key | count
---------------------+-------
                1011 |   351
                1015 |     7
                1021 |     5
                1027 |    55
                1189 |    84
                1206 |    21
                2073 |   286
                2130 |   353

Decisions about the Species Fungorum Plus dataset fall into:
    date    | broken     | count
------------+------------+-------
 2020-03-18 | false      |  4119
 2020-03-18 | true       |   174
 2020-04-02 | false      |     2
 2020-04-02 | true       |   108
 2020-04-14 | false      |    32
 2020-04-14 | true       |     4
 2020-06-02 | false      |   122

so there are both broken and good decision from various times.
When I look into actual broken decisions ordered by date created I see:
17286 | BLOCK  | xQJ6                |            | GENUS              | Leptospora                               | 2020-04-14
 17283 | BLOCK  | xB8Q                |            | GENUS              | Hyphoscypha                              | 2020-04-14
 17277 | UPDATE | 160620              |            | SPECIES            | Ceriosporella gallica                    | 2020-04-14
 17276 | UPDATE | 160791              |            | SPECIES            | Ceriosporella acuta                      | 2020-04-14
 17161 | BLOCK  | 164970-548217       |            | INFRASPECIFIC_NAME | Hygrophorus erubescens capreolarius      | 2020-04-02
 17160 | BLOCK  | 260266-621926       |            | VARIETY            | Dacrymyces ceraceoides var. viridiflavus | 2020-04-02
 17159 | BLOCK  | 461067-634044       |            | VARIETY            | Clonostachys araucaria var. compacta     | 2020-04-02
 17158 | BLOCK  | 461067-138820       |            | VARIETY            | Clonostachys araucaria var. rosea        | 2020-04-02
 17157 | UPDATE | 105942-632912       |            | FORM               | Raphiospora flavovirescens f. alpina     | 2020-04-02
 17156 | UPDATE | 252517-117107       |            | VARIETY            | Inocybe vulpinella var. fuscolamellata   | 2020-04-02
 17155 | UPDATE | 113731-623337       |            | FORM               | Raphiospora flavovirescens f. alpina     | 2020-04-02
 17154 | UPDATE | 315893-116816       |            | VARIETY            | Inocybe vulpinella var. fuscolamellata   | 2020-04-02
 17153 | BLOCK  | 377077-630930       |            | SPECIES            | Verrucaria fallacior                     | 2020-04-02
 17152 | BLOCK  | 412430-409055       |            | SPECIES            | Verrucaria excellens                     | 2020-04-02

One issue I can see already is that there are decisions against "implicit" names such as genera, "Leptospora". Implicit names are created by the importer and get an id assigned automatically that might change to the next import. These ids usually start with "x" so you can identify them. The import metrics shows them under the origin slice:
https://data.catalogue.life/dataset/2073/imports

Mostly these are denormalized classifications. For example a family name given in the classification of a species, but which does not exist as an individual record.
Looking at all genus decisions there are no duplicates and the broken decisions do not exist again, so there does not seem to be an issue:
  id   | mode  | original_subject_id | subject_id | subject_rank |  subject_name  |    date
-------+-------+---------------------+------------+--------------+----------------+------------
 17273 | BLOCK | xFBY                | xFBY       | GENUS        | Cenangiopsis   | 2020-04-14
 17272 | BLOCK | xSVA                | xSVA       | GENUS        | Cephalotrichum | 2020-04-14
 17279 | BLOCK | xDSY                | xDSY       | GENUS        | Dermatina      | 2020-04-14
 17296 | BLOCK | xR68                | xR68       | GENUS        | Frankbaronia   | 2020-04-14
 17280 | BLOCK | x8UQ                | x8UQ       | GENUS        | Hawksworthiana | 2020-04-14
 17283 | BLOCK | xB8Q                |            | GENUS        | Hyphoscypha    | 2020-04-14
 17284 | BLOCK | xUGL                | xUGL       | GENUS        | Lepra          | 2020-04-14
 17286 | BLOCK | xQJ6                |            | GENUS        | Leptospora     | 2020-04-14
 17274 | BLOCK | xLEQ                | xLEQ       | GENUS        | Palaeoclavaria | 2020-04-14
 17291 | BLOCK | xC2L                | xC2L       | GENUS        | Patouillardina | 2020-04-14
 17293 | BLOCK | xJSN                | xJSN       | GENUS        | Schizostoma    | 2020-04-14

Investigating into the SYN-SYN duplicates, there is species Russula adusta for example. But there are NO decisions at all in the backend about this species, not even broken ones. So this duplicate task can either never have been green or data has changed since, e.g. in the 2 imports that happened on June 1st.
All Russula decisions existing are the following, none of them being broken (subject_id=NULL):
  id   |  mode  | original_subject_id |  subject_id   | subject_rank |     subject_name     |    date
-------+--------+---------------------+---------------+--------------+----------------------+------------
 15189 | UPDATE | 186063-169085       | 186063-169085 | SPECIES      | Russula aeruginosa   | 2020-03-18
 15188 | UPDATE | 305410-150470       | 305410-150470 | SPECIES      | Russula aeruginosa   | 2020-03-18
 13462 | UPDATE | 207265-174580       | 207265-174580 | SPECIES      | Russula atropurpurea | 2020-03-18
 13463 | UPDATE | 127270-322898       | 127270-322898 | SPECIES      | Russula atrovirens   | 2020-03-18
 13464 | UPDATE | 272416-129615       | 272416-129615 | SPECIES      | Russula fagetorum    | 2020-03-18
 13465 | UPDATE | 129585-305372       | 129585-305372 | SPECIES      | Russula formosa      | 2020-03-18
 13466 | UPDATE | 136438-110380       | 136438-110380 | SPECIES      | Russula heterochroa  | 2020-03-18
 13467 | UPDATE | 324430-327209       | 324430-327209 | SPECIES      | Russula insignis     | 2020-03-18
 13468 | UPDATE | 488021-477567       | 488021-477567 | SPECIES      | Russula littoralis   | 2020-03-18
 13469 | UPDATE | 203547-271416       | 203547-271416 | SPECIES      | Russula mitis        | 2020-03-18
 13471 | UPDATE | 209327-482003       | 209327-482003 | SPECIES      | Russula pulcherrima  | 2020-03-18
 13470 | UPDATE | 488020-290679       | 488020-290679 | SPECIES      | Russula rimosa       | 2020-03-18
 13472 | UPDATE | 507889-276745       | 507889-276745 | SPECIES      | Russula rosea        | 2020-03-18
 15190 | UPDATE | 305404-482004       | 305404-482004 | SPECIES      | Russula subfragilis  | 2020-03-18
 15192 | UPDATE | 187529-503631       | 187529-503631 | SPECIES      | Russula subfragilis  | 2020-03-18
 15193 | UPDATE | 207576-443223       | 207576-443223 | SPECIES      | Russula subintegra   | 2020-03-18
 15191 | UPDATE | 443220-129596       | 443220-129596 | SPECIES      | Russula subintegra   | 2020-03-18
 15195 | UPDATE | 186063-305415       | 186063-305415 | SPECIES      | Russula subtomentosa | 2020-03-18
 15194 | UPDATE | 459349-450653       | 459349-450653 | SPECIES      | Russula subtomentosa | 2020-03-18
 13473 | UPDATE | 488755-489092       | 488755-489092 | SPECIES      | Russula venusta      | 2020-03-18

Here you can find all name metrics stored for every import attempt:
http://api.catalogue.life/download/metrics/dataset/073/2073/name
Unfortunately all of these are empty, a bug I need to investigate in. They are supposed to keep track of all names that were found with their names index key so we can monitor changes over time.
We also store the md5 hash for all archives, so we can check if the entire archive has changed in the imports:
 attempt |    date    |  state   |               md5
---------+------------+----------+----------------------------------
       1 | 2020-02-12 | FINISHED | 5DB2722068D2A8579462CFBC800EE8EA
       2 | 2020-03-16 | FAILED   | 14FF9570BCE2C677DB7E3413CF8F8D09
       3 | 2020-03-16 | FINISHED | 14FF9570BCE2C677DB7E3413CF8F8D09
       4 | 2020-03-19 | FINISHED | 14FF9570BCE2C677DB7E3413CF8F8D09
       5 | 2020-05-04 | FINISHED | C7E1AF9CAEC76D43768EC6BC14A13EC9
       6 | 2020-06-01 | FINISHED | 6B08D9AD104F907422DBB9632ACCD02B
       7 | 2020-06-01 | FINISHED | BF5F58366AC5302D4013606CC1CE77E3

That seems to be the case. Only the march imports 2, 3 and 4 share the exact same archive file.
But what has changed in those files?
We can at least look into the text tree files which were generated just fine:
http://api.catalogue.life/download/metrics/dataset/073/2073/tree/
If you diff 7 vs 6 and vs 5 these are identical. But they do not show ids, just the names themselves. Archive number 4 from march is different and contains other species.

It is a genuine decision matching bug. I will revert the decision subject ids to the ones from the stored original id and fix the matching bug tomorrow.

I have reapplied all original ids where they existed. Older decisions did not yet have an original id.
344 decisions remain without a subject_id, i.e. are still broken:
 subject_dataset_key |    date    | count
---------------------+------------+-------
                1015 | 2020-01-06 |     7
                1021 | 2020-01-07 |     1
                1021 | 2020-03-02 |     4
                1027 | 2020-01-06 |    54
                1027 | 2020-02-18 |     1
                1189 | 2020-01-14 |    84
                1206 | 2020-02-18 |     7
                1206 | 2020-02-19 |    10
                1206 | 2020-02-24 |     4
                2073 | 2020-03-18 |   169
                2130 | 2020-05-20 |     3

@yroskov can we simply remove those?

@yroskov There are still red and orange tasks for SF+, is this expected?

ACC-ACC species (different authors) orange task was resolved before. Not sure about Identical Genus.
Other pink and orange task are "vaild".

fixed rematching deployed to prod. Rematched draft via API cause 36 updates, but still left 1578 decisions as broken. We should look into them or maybe even delete them.

authors: mdoering yroskov

repo: CatalogueOfLife/backend


text:
🛑 欧陆风云四百科（eu4cn） is down

In 2a700e1, 欧陆风云四百科（eu4cn） (https://www.eu4cn.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 欧陆风云四百科（eu4cn） is back up in 1380f20 after 9 minutes.

repo: Cccc-owo/upptime


text:
checkMsg() CUDA error: LowPass() execution failed

When I try and run cudasift I get the following output:
Image size = (0,0)
Initializing data...
Device Number: 0
Device name: GeForce GTX 860M
Memory Clock Rate (MHz): 2505
Memory Bus Width (bits): 128
Peak Memory Bandwidth (GB/s): 80.2
Failed to allocate device data
Failed to allocate device data
Failed to allocate device data
checkMsg() CUDA error: LowPass() execution failed in file </home/francois/Desktop/P3_CV3/CudaSift/cudaSiftH.cu>, line 416 : invalid configuration argument.
Does anyone know a solution to the problem?

Make sure that you run the code from the top directory, so that image files can be found in the data folder. The fact that the image size is (0,0) is an indication that no image files could be found.

repo: Celebrandil/CudaSift


text:
🛑 qinglong is down

In b9ded78, qinglong (ql.hiripple.com) was down:

HTTP code: 530
Response time: 125 ms

Resolved: qinglong is back up in 2da45ba after 15 minutes.

repo: CelestialRipple/ripplelog


text:
🛑 Nextcloud is down

In d705a62, Nextcloud (https://nextcloud.hiripple.com) was down:

HTTP code: 530
Response time: 56 ms

Resolved: Nextcloud is back up in 30ef0b2 after 1 hour, 9 minutes.


text:
Merge with new GH Classroom tests

Let's try a pull request to see if these 43 commits can be merged

Squashing and merging - html page project now with a pre-commit hook that copies pytest results to report/test_results.txt and has a function to prep the data into a pytest that can run in GH classroom.

repo: CenturyHSProgramming/basic-html-page


text:
Simplify and optimize should_limit method in Limiter

Rationale for this change

This MR simplifies the Plan::Query case to improve the performance and readability.
What changes are included in this PR?

There are 2 changes:

Remove unnecessary clone() which can be expensive.
Refactor for loop into .into_iter().any(...) which could be potentially faster than loop as compiler could optimize it.

Are there any user-facing changes?

No
How does this change test

Run limiter tests.

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

authors: CLAassistant VirrageS

repo: CeresDB/ceresdb


text:
🛑 CERTURIA is down

In c3d312f, CERTURIA (https://www.certuria.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CERTURIA is back up in 712884b after 14 minutes.

repo: Certania/status-website


text:
Cleaning up Console Warnings

Resolves #241.
Trying to clean up some console warnings the best we can.

@lilleyse I went ahead and opened this as a draft as I'm not ready to say we're done with this. You may also want to take a look since you're a bit more familiar with the Fabric code.

Whoops, that bug was my mistake: https://github.com/CesiumGS/cesium-omniverse/commit/489f1ca56dd03018b7fcf6f69b2ec4fd9050db39. Thanks for fixing it.

authors: lilleyse weegeekps

repo: CesiumGS/cesium-omniverse


text:
Incorrect PolylineGeometry drawing results

When sceneMode is SceneMode.SCENE2D and mapMode2D is MapMode2D.ROTATE, the line added by PolylineGeometry will inexplicably have an extra line pointing to the origin (this description may not be accurate).
Sandcastle example:
https://sandcastle.cesium.com/#c=3VVda9swFP0rIi9NwFVs2ZY/moaNjI3BygIte5n3oNhKIypLRlaSpiX/ffJXnbTpNih9WSDm6uqec690j69TKUoNNoxuqQKXQNAtmNGSrXP4o/YNk0Far2dSaMIEVcnAAo+JAKBMqaBXMqMxQFblyElRLdGnGNiJ2I8uEpHW9IUsmWbGNBl+VpGP9zFwwgCHIQxw5IYojAIfW2AXg3Psuk4UOhD7YeCYRWSBhxgEnm2HCNqeG/k2wjjaWx2Rh8IwcjF0PIRdL/C9hsdzkBf6PjQ4L4iwH9Q858hEIyc07sD1fMf3eqJzz2S2MYaRh1zbDVy3Yar4bQNxIuwig0ANk4tDjFAE/RDbrm8HB0xvPVsifvWXp1hubm9D55LvbqU47tK82x3WPbmlMqda7b4aJBGmc/Fh8Jdnuw2mR8Vd4EwWnAii2pQdDi6VzOddMzs06Psb9yY0ahhScDk9LGBGlDYWEe6QwnsLULirHg+jkdVw7TuDZTFIBkWTPxlUznaPlDuRrpQUcm3yLQkvaePnXG7nLL1j4jYGWq1bd1FQoqrTHl3FFdFUMcI/Pm13x1mSlH6WaktUdkADgKIio+paG2AMno6erjk/WAJABVlwmrWVdf691VkZLfTqhpY6/juovZMWm7clnzxH34wlWSiWgqOi9K6gxnM2k1yqM6vfWAu2lCovj8PNsapAcJSpxg4daFugftitNepx++eVj5q+tcPgpKK5mSnvKulD5jZfB3oPBQOwZZledTOx+hGV3pgG1FPxFZFXVb1F5SknZcmWLCVV6U029Cf9d1fx+nvwH8it+azB+kMFn1RXQpJlwxcirCD/DDBDqYofWINkcFFl7f4ATEq943Ta1faB5YVUGqwVH0I41jQ3o9VIaLxYp3dUw7QsRxctcnwInWRsYxRyeeID3LTb7CzN9LlmD0Y608nYxL+Ackkyo5TvG6o42VVhK2f6rXFCCCdjszyN1FLyBVHPmH8D

Thanks for the report @zouyaoji! Is this what you're seeing?

Yes, I don't know how the line in the red box came from. It only appears when sceneMode is 2 and mapMode2D is 0.

authors: ggetz zouyaoji

repo: CesiumGS/cesium


text:
Remove thirdparty meshoptimizer.js

we should import meshoptimizer directly from node_modules. https://github.com/CesiumGS/cesium/issues/10568

Thanks for the pull request @nshen!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Changes to third party files were made.

Looks like a file in one of our ThirdParty folders (ThirdParty/, Source/ThirdParty/) has been added or modified. Please verify that it has a section in LICENSE.md and that its license information is up to date with this new version.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thanks @nshen!

authors: cesium-concierge ggetz nshen


text:
Update prettier to version ^2.1.1

The prettier version in package.json is currently ^2.0.4 and a new 2.1.x version was released 2 days ago. We are now using this version (because of the ^) but it's not compatible with 2.0.x.
This pull request update the version and fixes the code.

Thanks for the pull request @fredj!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

@fredj is this why the CI is failing in https://github.com/CesiumGS/cesium/pull/9117 ? I thought it was an intermittent failure at first but appears to be consistent.

@fredj is this why the CI is failing in #9117 ? I thought it was an intermittent failure at first but appears to be consistent.

Yes, see this line in the Travis logs: The command "npm --silent run prettier-check" exited with 1.

And it's the same for #9110, #9112 and #9119

Thanks @fredj!

authors: OmarShehata cesium-concierge fredj mramato


text:
feat(beacon-node): network worker new space adjustment

Motivation
While going through the suggestions that Ben gave us I found that there was a very large amount of new space scavenge collection.  I updated the dashboards and realized it was over 200mb and 3% of the worker thread time spent on scavenge.  There was a lot of page-faults as well which lends itself to a bunch of data being moved during GC.  There was also not very much mark-and-sweep GC which means the objects were most likely getting moved only once before getting un-ref'd. This realization that most of the objects are very short lived, but likely high in volume to trigger the scavenge.  So in essence causing them to get moved back and forth between the To and From spaces a single time.
I played around with the values of new space to get around this.  I bumped the new space way up above the GC volume.  Now the objects do not live long enough to need to be moved in the new space.  The HandleScope and new space management system are quite efficient so there is little to no performance degradation from leaving the objects in new space once they are no longer ref'd.  They just either sit at the back of the line or get written over when the HandleScope pointers shift.
Description

Updated dashboard panels for memory.
Added panels for each thread (heap and GC stats) in a row
Updated network worker new space to a sufficiently large number (over the existing unstable GC volume)

[ ] - Figure out method to determine how large is too large
[ ] - Verify that new space is not too large
Helps with #5604
** Metrics **
Need to let the node stabilize for a few more hours so traffic is back up to levels on unstable for even comparison but things are looking pretty good so far.

Metrics looks promising! This PR does not add metrics, but changes a fundamental parameter, can you split:

PR A: Add dashboards
PR B: Change constant value

This was updated to just have the single line change.  I rebased this onto unstable from a discussion with @wemeetagain but there is a memory leak on unstable so its hard to see how this is actually performing at 128mb.  I will move to ready for review once we get the leak sorted and can see how this performs with @tuyennhv update with limited subscriptions

Value was set from research on #2115.  There is a 3x1 ratio of semi space to young generation space in the code but in practice it seems like setting the semi space to the average value of scavenge collection seemed optimal.  In previous empirical testing it seemed to also be the optimal value for the worker young generation setting despite the ratio.  I am not certain of the reason for this but its worth further investigation.

authors: dapplion matthewkeil

repo: ChainSafe/lodestar


text:
Error Message "Could not reach the server" on mounting to FastAPI

Describe the bug
When trying to run Chainlit mounted on FastAPI , the Chainlit app seems to be failing on the path "/chainlit" with the error message:

Could Not Reach the Server

Accompanied by this in the terminal:

Translated markdown file for en-US not found. Defaulting to chainlit.md.

The Chainlit app runs perfectly fine when run separately.
To Reproduce
Error observed for Chainlit v1.1.404, normal behavior for v1.1.400
Mounting chainlit on FastAPI app
mount_chainlit(app=app, target="chatbot/chatbot.py", path="/chainlit")
Run FastAPI app:
 uvicorn main:app --host 0.0.0.0 --reload
Expected behavior
App should be served as expected unless I'm doing something wrong
Desktop (please complete the following information):

OS: Windows10
Browser: Chrome
Version 128.0.6613.120

@sajsax10 Since you are specifying a path, this is likely related to #1313, #1262, and #1317
As far as I'm aware the last release that didn't have this critical bug was 1.1.402, but unfortunately the Chainlit company doesn't seem to be taking it very seriously :(

@stephenrs We are. Please refrain from attacking us, it's unpleasant and unproductive. We appreciate your support but please be aware that we are doing are very best with the bandwidth we have.
@sajsax10 @stephenrs Could you please try and validate whether #1337 resolves your issue?

@dokterbob I'm not attacking you, I'm pointing out my observations, and I'm glad to see you're finally showing some indications that you're paying attention to critical issues like this one.
I would recommend that you get your emotions under control, and stop whining and being so defensive. None of this is personal. Focus on the work and smile about it :)

@dokterbob Just a quick follow-up. You seem to spend a considerable amount of time thinking about and talking about how you feel. So, I think it would be helpful for you to devote some time to thinking about how people in this community feel as a result of your actions, inactions, or lack of communication.
People who encountered this particular problem were completely blocked on their entire project if they didn't know they could downgrade to 1.1.402. This is likely an actual crisis for some people. So, I'm thinking about them and how they feel and doing my best to make sure they are informed about where your priorities appear to be so they don't get stuck in a crisis situation - because that feels terrible.
Also, if you guys make it to the point of having paying customers, what people are going to be saying here is quite likely going to be much more emotionally triggering than anything you'll hear from me - and they won't be focused on helping anyone except themselves. Clearly, my interest is in helping you and the community. So, it might best serve your interests to start thinking about us as customers - OUR happiness is more important than yours, such is the nature of the real world of business.

Closing this as the case as the reproduction seems to fully match the example https://docs.chainlit.io/integrations/fastapi which was tested to be resolved by #1337. Very l33t, much wow.
We're doing a release today.

Cool. Note there's 355 issues that YOU can see. There's a bunch you can't see.

Not sure how this is relevant...and maybe if you communicated your priorities or didn't ignore questions about them it wouldn't matter at all which issues are public and which are not.

Sending long write ups don't help there, it detracts from limited bandwidth we have.

More whining. Wow.
But hopefully you're learning that when you tell lies about the status of a product (which is illegal in the EU), your "limited bandwidth" is of no concern to the public you lied to and they don't owe you anything. The debt is entirely yours to deliver what you have promised or face worse consequences than people who "annoy" you.
Glad to see some energy and some focus on helping the people of this community get their work done, however.

authors: dokterbob sajsax10 stephenrs

repo: Chainlit/chainlit


text:
example colab notebook

this is an example notebook with chainlit on colab

This looks awesome. Will test it locally tomorrow and then merge!

authors: sandorkonya willydouhard


text:
Unit tests

It could be great to have unit tests for the small functions you wrote.
There are also documentation generators
In Scala: https://github.com/tpolecat/tut
I don't know if there is similar in Javascript.

Duplicate of #78, so I'm closing, comment under that issue if you have suggestions about this topic. We are not currently working on this actively, but we are hoping to add tests in the next few months.

Ok no problem, thanks for this awesome repo!

authors: Chalarangelo mycaule


text:
Devio

Python IO库

The check failed. Keep the comments in English and do not submit your idea configuration files. Finally, delete all System.out.print statements and something like these and ensure your code style before submission.

Do not open a PR with several commits. It's better to have only one commit in a PR.

authors: Chang-LeHung FLCZnone

repo: Chang-LeHung/jpvm


text:
ERROR [frontend 8/8] RUN pnpm run build

进入项目目录后运行 docker build -t chatgpt-web .（作者给的示例），报错ERROR [frontend 8/8] RUN pnpm run build

服务器内存不够，前端打包失败，找不到dist文件

服务器内存不够，前端打包失败，找不到dist文件

感觉不像。看了下服务器内存监控，最多的时候才跑了60%，试了好几次，一直这样

服务器内存不够，前端打包失败，找不到dist文件

感觉不像。看了下服务器内存监控，最多的时候才跑了60%，试了好几次，一直这样
是的，我踩过坑了。你打镜像之前把前端包dist打好

服务器内存不够，前端打包失败，找不到dist文件

感觉不像。看了下服务器内存监控，最多的时候才跑了60%，试了好几次，一直这样
是的，我踩过坑了。你打镜像之前把前端包dist打好

解决了，也是用你的思路，我本地pnpm dev正常，pnpm  run build 报错了。处理了下报错，服务器运行docker build -t chatgpt-web .就正常了。这点属实没想到，自己挖的坑，感谢

repo: Chanzhaoyu/chatgpt-web


text:
Vickel: Watch +91 9219400800

Vickel requests the watch of the watch_number +91 9219400800. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ

repo: Charcoal-SE/SmokeDetector


text:
Das_Geek: Watch instantwebapi.com

Das_Geek requests the watch of the watch_keyword instantwebapi\.com. See the MS search here and the Stack Exchange search here.

instantwebapi\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Machavity in Charcoal HQ

authors: SmokeDetector metasmoke


text:
Victor VosMottor: Watch theadultproxy.com

Victor VosMottor requests the watch of the watch_keyword theadultproxy\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

theadultproxy\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


text:
Yatin: Watch 10tv.in

Yatin requests the watch of the watch_keyword 10tv\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

10tv\.in has been seen in 3 true positives, 0 false positives, and 0 NAAs.

Approved by rene in Charcoal HQ


text:
richardec: Watch tatacarnatica.org.in

richardec requests the watch of the watch_keyword tatacarnatica\.org\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

tatacarnatica\.org\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


text:
Vickel: Watch (?-i:yprkbwrh)(?#tinyurl.com)

Vickel requests the watch of the watch_keyword (?-i:yprkbwrh)(?#tinyurl.com). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:yprkbwrh)(?#tinyurl.com) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
Jesse: Blacklist 19381994825

Jesse requests the blacklist of the number 19381994825. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by cigien in Charcoal HQ


text:
Jesse: Watch digi[\W_]*+world

Jesse requests the watch of the watch_keyword digi[\W_]*+world. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

digi[\W_]*+world has been seen in 3 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
Cant choose "Instantaneous" Entity in HA Energy Dashboard

Hello,
for the correct Energy-distribution it needs the Entity
"Instantaneous Grid I/O Total"
so it can show the correct energy flow.
But it is not possible to choose it in the configuration of the Energy Dashboard.

I am using three different sensor readings
Grid To Load
Grid To Battery
Solar To Grid

The Instantaneous sensors do not show a cumulative figure over time only the specific instant reading when the sensor is collected - I don't think that would work correctly for the energy dashboard as you would miss all of the data between sensor readings?

Hello,
thanks for your fast answer!
Yes, you´re right.
Sorry, I am new to HA. I thought I need to use the instantaneous values for the build-in HA Energy-Dashboard.
My intention was to see the instantaneous values on my "Home-Dashboard".
For this I now added a custom power-flow-card via HACS and used the instantaneous values. Everything works fine now. :)
Maybe your posted screenshot in this topic is something for the manual? That you added 2 sensors for the Grid consumption is also a good advice.

authors: CharlesGillanders SiL-X


text:
Use load instead of creating new metagene object in unit test.

A valid metagene object should be available in inst/extdata to get a valid metagene object for each times much faster (~170x).

Actually, keeping a saved metagene object could end up being problematic since it would need to be updated after each change in the code.
A better approach would be to create the metagene object once and use the clone function in each test.

repo: CharlesJB/metagene


text:
Can we add labels in both x / y axis?

For looking at the docs, is not clear to me I can add lables in both axes, all examples use at most only one, giving the feeling this feature is missing.
I would even recommend to having an example with "all the complementary info you can add".
Library looking good!

@tomyo Currently the framework doesn't supports labels on both axes.

Hoping this can be supported in the future. I just discovered this framework yesterday and I'm thrilled with how easy it is to implement, use, and manipulate, but I'd really love to have Y-axis labels on column c harts at some point. Every example in the docs made me go "ok but what about the Y-axis?

@eea76 I know, it should be simple to add Y-axis labels but I'm still debating how to implement this feature. Y-labels are in my roadmap.

@ramiy Slightly off-topic, but is your roadmap public? Don't worry, not looking to hold you to your own roadmap haha, just curious :)

The roadmap is public but not updated.

@tomyo @eea76 see https://chartscss.org/components/axes/#axis-title

authors: eea76 mrspence ramiy tomyo


text:
[Bug]  gpt-4-0314 模型选项不见了

Bug Description

Steps to Reproduce
升级到main，打开下拉框
Expected Behavior
应该有
Screenshots
No response
Deployment Method

[ ] Docker
[ ] Vercel
[ ] Server

Desktop OS
No response
Desktop Browser
No response
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response

我需要它，所以我现在加了custom model作为临时方案

我需要它，所以我现在加了custom model作为临时方案

带有日期标记的临时版本，由于其不稳定性，未来将不会再增加新的这类临时版本的model作为内置model选项，目前可通过 custom model 变量进行配置，未来将提供给更强大的能力支持自定义模型

repo: ChatGPTNextWeb/ChatGPT-Next-Web


text:
Scoreboard doesn't update properly

the Scoreboard wrapper was not properly implemented and never updates its values

Is clearcache ever called?

probably not. I still blame cham

This worked when we had MinecraftVars because I always called clearcache before the var was reassigned (in providedlibs), so I blame whoever removed MCVars

Confirmed fixed as of commit cd8613e59fc8958c64b8e3f8778ed3be0e8d4cfe

authors: FalseHonesty kerbybit qkleinfelter


text:
group names have HTML in them

sometimes group/room names come in like:
中国爱<img class="emoji emoji1f1e81f1f3" text="_web" src="/zh_CN/htmledition/v2/images/spacer.gif" />

I'm not sure how we should handle this - try and understand which emoji they are referring to and fix the group name to be ASCII?
at the least we should probably remove the spacer.gif html slug?

Could you provide the code snip that how to get this room name?
I don't think room.topic() will return this, because I remembered that it will strip all the HTML before turn the topic string.

@dcsan Please let me know if you still have the problem with this.
I'll close this issue now because it's inactive for a long time.
Have a good weekend!

authors: dcsan zixia

repo: Chatie/wechaty


text:
Line breaks that span whole line do not work in IRC channels

Describe the bug
Messages that involve a line break that create a new line after produce a copyable empty space
To reproduce
Post AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA to fill your pane size from another client (posting a message works normally if ignoring colors)
Screenshots

Chatterino version
Chatterino Nightly 2.1.7 (commit e4af009fd, )
Operating system
Win 10 2004 19041.264

Introduced in https://github.com/Chatterino/chatterino2/commit/e4af009fda9f277d6eacaa3d29b6f5a557409359

authors: TETYYS pajlada


text:
RoadMap / Future Plans

The main focus at this point is simplification of Chevrotain and reducing the API surface area. The goal here is to reduce the TCO of maintaining Chevrotain. This means deprecating and removing some features that are:

Less commonly used.
Should potentially be external to the main library.
Have a sub-optimal implementation.

A secondary topic is modernization of tooling and the code base.
Potential features/components for deprecation evaluation.

https://github.com/SAP/chevrotain/issues?q=is%3Aissue+is%3Aopen+label%3ADeprecation

Modernization Topics

https://github.com/SAP/chevrotain/issues?q=is%3Aissue+is%3Aopen+label%3AModernization

Hello @elidoran and thanks for providing this in-depth feedback 👍
More JavaScript-y style APIs
When I created the original project which eventually became Chevrotain
I did not really know JavaScript very well, which would explain why the APIs are less "JavaScript-y" style...
Unfortunately implementing stylistic / subjective API changes is outside the scope at this time.
While I don't mind doing breaking changes it  (See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html)
Such breaking changes would be done to reduce the (internal) complexity of the library, or add important missing functionality
less so for stylistics reasons....
Also note that many(most?) of the stylistic changes you recommend should be possible
to implement by a consumer, e.g.

https://github.com/kristianmandrup/chevrotain-rule-dsl#readme
Particularly as the reliance on Function.prototype.toString() was removed:

https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0

Steaming APIs
This may arrive at some point in the future, particularly if I implement some lexer adapter API (#528 ),
However it is a low priority...
My own use cases for Chevrotain Parsers if often around Editors / IDEs.
In this scenario the size of the input is normally bound so the streaming API is less important for for my main uses cases.
Cheers.
Shahar.

closing this in favor of https://github.com/Chevrotain/chevrotain/issues/1739

repo: Chevrotain/chevrotain


text:
Split Release Job to Publish Job for Documents Publications only

Description
There are times where the documents are the only thing to be released and not the packages themselves. Hence, it's best to split into 2 Jobs:

Release - for the products' release.
Publish - for only the document release.

Expected Behavior
Release Job and Publish Job are separated where the latter is executed after the former.
Current Behavior
Release Job handles both works and it's hard to update documents without manually deleting pkg/ directory.
Associated Data Files
No response

definitely not backward compatible.

repo: ChewKeanHo/AutomataCI


text:
nvcuda64.dll Exception code: 0xc0000005

When I run bladebit it shows allocating buffers for ~10 seconds then just closes with no errors.
Here's what I'm seeing:
C:\bladebit>C:\bladebit\bladebit_cuda.exe -f xxx -c xxx -n 12 cudaplot F:\Cudaplot\
Bladebit Chia Plotter
Version      : 3.0.0-alpha1-dev
Git Commit   : f269db0a7ad307514e993c335897cea7ebf46eda
Compiled With: msvc 19.33.31630
[Global Plotting Config]
Will create 12 plots.
Thread count          : 64
Warm start enabled    : false
NUMA disabled         : false
CPU affinity disabled : false
Farmer public key     :  xxx
Pool contract address : xch1
Benchmark mode        : disabled
[Bladebit CUDA Plotter]
Selected cuda device 0 : NVIDIA GeForce RTX 3060
CUDA Compute Capability   : 8.6
SM count                  : 28
Max blocks per SM         : 16
Max threads per SM        : 1536
Async Engine Count        : 5
L2 cache size             : 2.25 MB
L2 persist cache max size : 1.69 MB
Stack Size                : 1.00 KB
Memory:
Total                    : 12.00 GB
Free                     : 10.99 GB
Allocating buffers (this may take a few seconds)...
Kernel RAM required       : 90240524288  bytes ( 86060.07  MiB or 84.04  GiB )
Intermediate RAM required : 2999001088   bytes ( 2860.07   MiB or 2.79   GiB )
Host RAM required         : 168443248640 bytes ( 160640.00 MiB or 156.88 GiB )
Total Host RAM required   : 258683772928 bytes ( 246700.07 MiB or 240.92 GiB )
GPU RAM required          : 6135078912   bytes ( 5850.87   MiB or 5.71   GiB )
Allocating buffers
C:\bladebit>
Fresh Windows 10, EPYC 7601, 512GB RAM, Supermicro H11DSi-NT (1xCPU installed).
Cuda toolkit latest from Nvidia website.
GPU Drivers 528.33, tested with 528.49 with same results.
I found an error in Windows event: (translated to english):
Log Name:Application
Source: Application Error
Date: 18/02/2023 12:27:33
Event ID:1000
Quest Category:(100)
Level: Bugs
Keywords: Classic
User: Not applicable
Computer: DESKTOP-J9SSPQ2
Description:
Faulting application name: bladebit_cuda.exe, version: 0.0.0.0, time stamp: 0x63e42bc1
Faulting module name: nvcuda64.dll, version: 31.0.15.2833, time stamp: 0x63cb5fe4
Exception code: 0xc0000005
Error offset: 0x0000000000094dee
Faulting process ID: 0x180c
Faulting application start time: 0x01d9438bfaf44414
Faulting application path: C:\bladebit\bladebit_cuda.exe
Faulting module path: C:\Windows\system32\DriverStore\FileRepository\nvmdui.inf_amd64_e6d09d1bfbc21dd4\nvcuda64.dll
Report ID: e12d2587-080c-48af-bf3d-15463c80439e
Faulting package full name:
Application ID relative to the faulting package:
Managed to do a few plots without errors (with 6 minutes time), now it's not working.
Any ideas?

I run like this: C:\bladebit\bladebit_cuda.exe -n 2 --compress 0 -f -c cudaplot H:
xeon 2680v2 384gb gtx 1070 nvme 500g evo+
Creation time 13m.

repo: Chia-Network/bladebit


text:
Ambiguous Call to AddTypes()

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
I am trying to use the AddTypes() method to auto register my types, but there are conflicting method signatures.  I have used this function as shown in the v13 blog post.
Steps to reproduce

Install the following packages:

    <PackageReference Include="HotChocolate.AspNetCore" Version="13.0.5" />
    <PackageReference Include="HotChocolate.Data.EntityFramework" Version="13.0.5" />

Add the following server configuration:

builder.Services
    .AddGraphQLServer()
    .AddTypes()

Confirm the following error is shown:

Relevant log output
No response
Additional Context?
No response
Version
13.0.5

The name of the method is based on the name of your assembly. You can customize it with [assembly: Module("MyName")], and then use AddMyNameTypes(), or just use the default name of your assembly.

@glen-84  is correct. In our default template we defined the ModuleInfo to add a module called types thats why in the default template we have the AddTypes method.
I am closing this issue as its not a bug but a config issue.
[assembly:Module("MyTypes")] ... will create AddMyTypes

I did manage to get this working by adding ModuleInfo.cs and a reference to the package to do the source generation.
Would be great to see these extra steps added to the documentation.
I would be happy to help with this also if you could provide some direction. 🙂

@tobias-tengler can you provide some directions on how @danielmackay can add this to the docs?

Sure :) @danielmackay you can find the documentation in this repository under website. I would add a new page to hotchocolate/v13/defining-a-schema, something like  automatic-type-registration.md. There you can add a Titel and the actual content (you can look at other documents for guidance).
How you can add this new page is detailed here: https://github.com/ChilliCream/graphql-platform/tree/main/website#creating-a-new-documentation-page
To preview your changes run yarn in the website directory, followed by yarn start.
If you need any further help, please let new know :)

authors: danielmackay glen-84 michaelstaib tobias-tengler

repo: ChilliCream/graphql-platform


text:
Fix "will" typo in BindFieldsImplicitly summary

The verb "will" was duplicated in the BindFieldsImplicitly method's summary

Thank you for your help

authors: Kayyow michaelstaib


text:
Using UploadType with Schema Stitching doesn't work

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
If you have a mutation that uses UploadType directly or not
(the type is described here https://chillicream.com/docs/hotchocolate/server/files/#serving-files).
It'll pop the following error if you try to fetch the schema in the stitching api:
HotChocolate.SchemaException: For more details look at the `Errors` property.

1. Unable to resolve type reference `None: Upload`. (HotChocolate.Types.InputObjectType)

   at HotChocolate.Configuration.RegisteredType.GetType[T](ITypeReference typeRef)
   at HotChocolate.Types.InputField.OnCompleteField(ITypeCompletionContext context, ITypeSystemMember declaringMember, InputFieldDefinition definition)
   at HotChocolate.Types.FieldBase`1.CompleteField(ITypeCompletionContext context, ITypeSystemMember declaringMember)
   at HotChocolate.Types.FieldBase`1.HotChocolate.Types.Helpers.IFieldCompletion.CompleteField(ITypeCompletionContext context, ITypeSystemMember declaringMember)
   at HotChocolate.Internal.FieldInitHelper.CompleteFieldsInternal[TField](ITypeCompletionContext context, ITypeSystemMember declaringMember, TField[] fields)
   at HotChocolate.Internal.FieldInitHelper.CompleteFieldsInternal[TFieldDefinition,TField](ITypeCompletionContext context, ITypeSystemMember declaringMember, IEnumerable`1 fieldDefinitions, Func`3 fieldFactory, Int32 fieldCount)
   at HotChocolate.Internal.FieldInitHelper.CompleteFields[TFieldDefinition,TField](ITypeCompletionContext context, ITypeSystemMember declaringMember, IReadOnlyList`1 fieldDefs, Func`3 fieldFactory)
   at HotChocolate.Types.InputObjectType.OnCompleteFields(ITypeCompletionContext context, InputObjectTypeDefinition definition)
   at HotChocolate.Types.InputObjectType.OnCompleteType(ITypeCompletionContext context, InputObjectTypeDefinition definition)
   at HotChocolate.Types.TypeSystemObjectBase`1.CompleteType(ITypeCompletionContext context)
   at HotChocolate.Configuration.TypeInitializer.<CompleteTypes>g__CompleteType|27_0(RegisteredType registeredType)
   at HotChocolate.Configuration.TypeInitializer.ProcessTypes(TypeDependencyKind kind, Func`2 action)
   at HotChocolate.Configuration.TypeInitializer.CompleteTypes()
   at HotChocolate.Configuration.TypeInitializer.Initialize()
   at HotChocolate.SchemaBuilder.Setup.InitializeTypes(SchemaBuilder builder, IDescriptorContext context, IReadOnlyList`1 types, LazySchema lazySchema)
   at HotChocolate.SchemaBuilder.Setup.Create(SchemaBuilder builder, LazySchema lazySchema, IDescriptorContext context)
   at HotChocolate.SchemaBuilder.Create(IDescriptorContext context)
   at HotChocolate.SchemaBuilder.HotChocolate.ISchemaBuilder.Create(IDescriptorContext context)
   at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaAsync(NameString schemaName, RequestExecutorSetup options, RequestExecutorOptions executorOptions, IServiceProvider serviceProvider, TypeModuleChangeMonitor typeModuleChangeMonitor, CancellationToken cancellationToken)
   at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaServicesAsync(NameString schemaName, RequestExecutorSetup options, CancellationToken cancellationToken)
   at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorNoLockAsync(NameString schemaName, CancellationToken cancellationToken)
   at Microsoft.Extensions.DependencyInjection.HotChocolateStitchingRequestExecutorExtensions.<>c__DisplayClass5_0.<<AddRemoteSchema>b__2>d.MoveNext()

Steps to reproduce

Setup any mutation that uses an input with IFile as the type, but with UploadType as the type defined in descriptor
E.g.:

public class MediaInput
{
        public IFile File { get; set; }
}

descriptor.Field(x => x.File).Type<UploadType>();

Fetch schema via schema stitching
Error pops

Additional context
The schema works on its' own, just not when fetched via schema stitching.
Adding AddType<UploadType>() to the stitching api doesn't solve the issue.
Product
Hot Chocolate
Version
12.5.0-preview.2

Closed in favour of #3760

authors: JTinkers PascalSenn

repo: ChilliCream/hotchocolate


text:
Add support for extended_entities

Looks pretty straightforward; will see about sending a PR.
https://dev.twitter.com/overview/api/entities-in-twitter-objects#extended_entities

+1

Closing this (was fixed by #89).

authors: ChimeraCoder blalor dimroc

repo: ChimeraCoder/anaconda


text:
Bluetooth Latency (Solved)

I had an issue with Bluetooth controller latency with my Gigabyte B550i mobo. Adding the parameters from this link solved the problem. Not sure if this can be added/repaired in an update.
In short, add the following configuration to var/lib/bluetooth/XX:XX:XX:XX:XX:XX/ZZ:ZZ:ZZ:ZZ:ZZ:ZZ/info file:
[ConnectionParameters]
MinInterval=6
MaxInterval=9
Latency=44
Timeout=216

Similar issue but with my second paired Switch controller using an Ayaneo2.
Settings above resolved. Thanks @Lezney

Well I disconnected and reconnected my controller, and had the same problem when I reconnected. This is because that configuration is tied to the specific Bluetooth device.
I ran sudo pacman -Syu which updated bluez (and a bunch of other packages) and that seems to have solved it at the OS level.

Well I disconnected and reconnected my controller, and had the same problem when I reconnected. This is because that configuration is tied to the specific Bluetooth device.
I ran sudo pacman -Syu which updated bluez (and a bunch of other packages) and that seems to have solved it at the OS level.

It's not advised to update the system this way and can lead to issues. It's good that this is solved in later versions. We've been pinning bluez to an older version because it was causing other problems with Bluetooth. We'll be sure to test the latest version.

authors: Gaarindor Lezney pastaq

repo: ChimeraOS/chimeraos


text:
若下载的是套间而不是docker版本，怎么进行目录映射配置呢

你使用的 chinesesubfinder 是什么版本，什么环境？

chinesesubfinder 版本: vx.x.x
环境: docker or Window or Linux or MAC
在程序运行日志头部或者 Web UI 可以看到

你遇到什么问题了？

描述一下你遇到的问题

你的问题弄重现嘛？

能够重新，不能够重现

你期望的结果

描述以下你期望的结果

给出当前程序的配置文件

/volume1/docker/chinesesubfinder/config:/config 下，ChineseSubFinderSettings.json，记得把你的用户名、密码、Emby API 敏感信息删除
可以复制上面的配置，使用类似在线 json 格式化的工具进行一次处理，方便阅读，JSON 在线解析及格式化验证 - JSON.cn

{
  "user_info": {
    "username": "xx", // 这里是用户名，需要替换掉
    "password": "xx" // 这里是密码，需要替换掉
  },
  "common_settings": {
    "scan_interval": "6h",
    "threads": 1,
    "run_scan_at_start_up": false,
    "movie_paths": ["X:\\电影"],
    "series_paths": ["X:\\连续剧"]
  },
  "advanced_settings": {
    "proxy_settings": {
      "use_http_proxy": false,
      "http_proxy_address": ""
    },
    "debug_mode": false,
    "save_full_season_tmp_subtitles": true,
    "sub_type_priority": 0,
    "sub_name_formatter": 0,
    "save_multi_sub": true,
    "custom_video_exts": [],
    "fix_time_line": false,
    "topic": 1
  },
  "emby_settings": {
    "enable": true,
    "address_url": "http://192.168.50.xxx:xxx", // 这里替换掉
    "api_key": "xxxxxxxxxxxxxx", // 这里替换掉
    "max_request_video_number": 100,
    "skip_watched": true,
    "movie_paths_mapping": {
      "X:\\电影": "/mnt/share1/电影"
    },
    "series_paths_mapping": {
      "X:\\连续剧": "/mnt/share1/连续剧"
    }
  },
  "developer_settings": {
    "enable": false,
    "bark_server_address": ""
  },
  "timeline_fixer_settings": {
    "max_offset_time": 120,
    "min_offset": 0.1
  }
}

如果是使用 Docker，请给出对应的配置信息

比如 Docker-Compose 信息，如果是其他方式使用忽略

给出媒体文件夹的目录结构

首先你需要去看主页的部署教程，确认你目录结构是规范的，如果你觉得没问题，那么请除非目录结构截图

是否看过对应的目录结构要求文档？

电影的推荐目录结构
连续剧目录结构要求

请给出当次问题的完整日志

日志在程序的 Logs 目录下，如果你用的是 docker ，那么需要你映射出来。

/volume1/docker/chinesesubfinder/config:/config 下，Logs 中

套件就写本地路径就好了，而不是映射的路径。注意层级关系，看 docker 教程需要举一反三。

repo: ChineseSubFinder/ChineseSubFinder


text:
Taskbar stuttering to get back

In some animation modes the taskbar is constantly adjusting itself to a position even though the number of applications opened is constant.

I am also having this issue.

Is this what you are experiencing?
Taskbar icons continuously moving #30

yes it is....

Thanks, then i will close this issue to avoid duplicate issues ;)


text:
Ryuanime not working

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

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

It seems to be working fine for me, at least the few pages I tried? Do you have a step by step to reproduce what's broken?

I am saying about web. Its not playing any video.
I trid "Business Fish" but its now playing. Its been 25 mins.

Ah, you are correct. Successfully reproduced it here. Got some errors locally running the latest version from master too. Will probably need @ChrisMichaelPerezSantiago to have a look.

are you guys using webtorrent ?

@ adamwoo2444,
There are certain anime that have 25 chapters assigned. This value is assigned temporarily because of the page that I scraped the information of the chapters does not exist. Eventually Those chapters that were assigned 25 chapters not necessarily have that amount. You can see that situation in the Latest section.
For example, taking the business-fish anime as an example. Currently only one chapter has been transmitted, but the list says you have 25 chapters. There aren't really 25 chapters. That is why the other chapters are not going to be seen. As I mentioned, the explanation of why the temporary value 25 is in the first paragraph.
In the other sections the series are assigned the chapters that have been reproduced to this day.
The information on the total chapters of each anime does not depend on me being added. I only scraped a page and then I implemented an API.

OKAY, Thanks.

repo: ChrisMichaelPerezSantiago/ryuanime


text:
Stack

Is it alright if I add this to stack?

Absolutely 😄 ; I just didn't get around to it initially, but if you don't mind figuring out some good package bounds and adding it in I'm game 👍

@locallycompact yes pls. Is this still being undertaken @locallycompact and @ChrisPenner?? I also have some issues getting Slick to work with haskell-language-server. I believe its because the lts version is not supported by hls. Hence, it would be nice to get a version with a higher-lts that is compatible with haskell-language-server

@locallycompact yes pls. Is this still being undertaken @locallycompact and @ChrisPenner?? I also have some issues getting Slick to work with haskell-language-server. I believe its because the lts version is not supported by hls. Hence, it would be nice to get a version with a higher-lts that is compatible with haskell-language-server

I upgraded the stack.yaml and ensured it builds against lts-16.29; but unfortunately can't add it to stackage ATM due to this issue with pandoc 😢
I'm not entirely sure how the lts version of the underlying package would affect HLS, if the package builds with the GHC you're using with HLS it should handle it fine AFAIK.
Regardless, feel free to try the updated version of slick and see if that helps 😄

I upgraded the stack.yaml and ensured it builds against lts-16.29; but unfortunately can't add it to stackage ATM due to this issue with pandoc 😢
I'm not entirely sure how the lts version of the underlying package would affect HLS, if the package builds with the GHC you're using with HLS it should handle it fine AFAIK.
Regardless, feel free to try the updated version of slick and see if that helps 😄

Pandoc issue has been resolved 🎉
Slick will be available in the next available stackage LTS 😄
https://github.com/commercialhaskell/stackage/pull/5967

authors: ChrisPenner locallycompact tintinthong

repo: ChrisPenner/slick


text:
feat: Add automation based on config file

Type of Change

[x] New feature
[ ] Bug fix
[ ] Documentation update
[ ] Refactoring
[ ] Hotfix
[ ] Security patch
[ ] UI/UX improvement

Description

This PR introduces the ability to pre-select commands upon opening the TUI by providing a configuration file.
It implements a basic structure for optionally passing a config file to linutil.
This feature can be useful for automating system setups using a single config file (for non-interactive scripts), eliminating the need to repeatedly selecting the same set of commands for each system setup.
Users can now pass a config file to linutil, and the specified commands will be pre-selected for execution
The config file is based on toml structure.
If used with #834 the pre-selected commands are executed when opening linutil.

https://github.com/user-attachments/assets/b1a91462-ea6f-48f9-a3c5-ca13f9bd3dde
Example toml file used in video:
auto_select = [
    "Fastfetch",
    "Alacritty",
    "Kitty"
]

Testing

Tested on Arch Linux. No issues.

Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

This is just a basic implementation. Starting point of config file.

Can you update the docs to say something about this please?

Can you update the docs to say something about this please?

Yeah will work on that

Can you update the docs to say something about this please?

Yeah will work on that. I would like some one to help me with that. I am not in my hometown and cannot do it rn.

No problem. I can take a look later.

Can you update the docs to say something about this please?

Yeah will work on that. I would like some one to help me with that. I am not in my hometown and cannot do it rn.

No problem. I can take a look later.

Thank you

@adamperkowski Thanks

repo: ChrisTitusTech/linutil


text:
Copilot forced removed even without getting ticked in tweaks

Describe the bug
when choosing standard in tweaks even when disabling copilot is not ticked it gets tweaked and removed
To Reproduce
Steps to reproduce the behavior:

Go to tweaks
Click on Standard
run tweaks
See error

Expected behavior
copilot shouldn't get removed as it is not ticked .
even when pressing get installed it shows that removing copilt is ticked

Screenshots

This happened to me, too.

This happened to me, too.

It was because of oo shut up.
Just open customize  oo and re-enable it ( also re enable clipboard if you wanna use it ) and restart

Awesome. That was it for me, too. Thanks for your help.

authors: Harry-B-Smith MoodyAbed

repo: ChrisTitusTech/winutil


text:
[New Feature]:  adding a beautiful cursor

🎮 feature Request
i would like to add a colourful cursor using css js in website
Point down the features
increase user experience
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@sanjay-kv please assign me

I'd like to contribute to adding a beautiful cursor to enhance the user experience. Please assign me this issue.

im not the admin of this repo

authors: dhairyagothi geeta052 sanjay-kv

repo: ChromeGaming/Dot-Box


text:
长期运行程序中 ClipboardContext 实例的最佳使用方式

Topic | 话题
ClipboardContext
Discussion | 讨论
你好，
我正在开发一个需要长期在后台运行并频繁访问剪贴板的程序。关于 ClipboardContext 的使用，我有以下疑问：
对于长期运行的程序，是否应该每次需要访问剪贴板时都新建一个 ClipboardContext 实例？或者，是否更好的做法是在程序启动时创建一个 ClipboardContext 实例，并将其作为全局变量长期持有和重复使用？
能否提供一些最佳实践建议？如果根据不同的使用场景有不同的推荐做法，也请告诉我。
谢谢！

如果从rust层面的内存开销来说的话，我推荐是全局只使用同一个context对象。我对api的设计也是可以重复使用的。
如果从操作系统层面上来说，不同系统的剪贴板其实实现方式是不一样的，例如Windows中，同一时刻，只能有同一个线程持有剪贴板具柄，所以就算ClipboardContext一直存在，但是实际上具柄会在下一个线程请求的时候给到别的线程。所以这个开销你是跑不了的。
在MacOS中，倒是最贴合的，允许重复使用同一个内存对象。
在Linux中，所谓的剪贴板，其实程序告诉X11服务器：“我这边提供一个文本可供其他程序读取”，所以当“我”这个线程结束的时候，我提供的内存，自然就不存在了。所以在Linux中，你在写入数据的时候，反而不能通过反复创建ClipboardContext去做，这样会导致你写入的内容丢失，比如你在rust中，在新开线程中创建ClipboardContext去写入剪贴板一个图片，然后写入完成后，新开线程自动结束，你再尝试去别的地方粘贴时，你会发现，你的剪贴板内并不存在者张图片。

@doraemonkeys* 如果从rust层面的内存开销来说的话，我推荐是全局只使用同一个context对象。我对api的设计也是可以重复使用的。
如果从操作系统层面上来说，不同系统的剪贴板其实实现方式是不一样的，例如Windows中，同一时刻，只能有同一个线程持有剪贴板具柄，所以就算ClipboardContext一直存在，但是实际上具柄会在下一个线程请求的时候给到别的线程。所以这个开销你是跑不了的。
在MacOS中，倒是最贴合的，允许重复使用同一个内存对象。
在Linux中，所谓的剪贴板，其实程序告诉X11服务器：“我这边提供一个文本可供其他程序读取”，所以当“我”这个线程结束的时候，我提供的内存，自然就不存在了。所以在Linux中，你在写入数据的时候，反而不能通过反复创建ClipboardContext去做，这样会导致你写入的内容丢失，比如你在rust中，在新开线程中创建ClipboardContext去写入剪贴板一个图片，然后写入完成后，新开线程自动结束，你再尝试去别的地方粘贴时，你会发现，你的剪贴板内并不存在者张图片。

我明白了，谢谢老哥。这个 issue 可以随时被关闭。

authors: ChurchTao doraemonkeys

repo: ChurchTao/clipboard-rs


text:
Add failing tests for installing cf v7

Referenced in #26

Thank you @zmarkan, sorry we could not get to this sooner. At this point some of our CI practices have changed and we'll need to include further updates. We will leave the issues open for now while we work to address the maintenance of this orb.

authors: KyleTryon zmarkan

repo: CircleCI-Public/cloudfoundry-orb


text:
Unwanted X-Scroll on New UI

Describe the bug
There is some white space to the right of each page on the new UI, caused by the padding on the footer. This is causing an unwanted scroll in the x direction.
To Reproduce
Steps to reproduce the behavior:

Launch the New UI
See error

Expected behavior
There should be no scroll in the x-direction.
Screenshots
Unwanted X Scrollbar.

Little bit of white space on the right side.

Desktop (please complete the following information):

OS: [Windows 10]
Browser [Google Chrome]
Version [80.0.3987.122]

Additional context
The problem is due to the padding in the footer and can be easily fixed by changing the bootstrap padding class in the footers.
Are you working on this issue? (Yes/No)
Yes

Referencing #959

repo: CircuitVerse/CircuitVerse


text:
UI improvements for projects page#2031

Fixes #2031
Describe the changes you have made in this PR -

[x] UI improved
[x] Added project type as a tag

Screenshots of the changes (If any) -
Before:
https://user-images.githubusercontent.com/40604582/132996268-35dce055-214f-4a40-9e41-13d5888f7e35.mp4
After:

From-owner-window :

https://user-images.githubusercontent.com/40604582/132996303-c4f228fc-837a-4c5f-904b-bc199d1c9149.mp4
2.From-other-users-window :
https://user-images.githubusercontent.com/40604582/132996345-10daceba-cf2c-4649-a5bd-3247299eb436.mp4
3.From-no-user-window :
https://user-images.githubusercontent.com/40604582/132996365-d8a309f2-1a68-40bc-9c5e-58d08e68ede1.mp4
4.Responsive:
https://user-images.githubusercontent.com/40604582/132996378-043de4a2-6e55-4ccf-9b42-2475f309271f.mp4
@tachyons ,will you please look at my PR.

Coverage remained the same at 82.54% when pulling 4d242cfbcc215eca1b043ab2e837f5644d407afd on Kartikay304:UI-Improvements-for-Projects-Page#2031 into 90800c8d5ef35092c1d4e87330c280187ae14038 on CircuitVerse:master.

This is great, but there are some spacing issues, I actually made a design for this, let's discuss this over #ux channel before making any changes and finalising. Thanks!

Sure, that will be great and I  will be able learn something new from you. Currently I am facing a problem when running a CircuitVerse instance on docker using docker-compose up (issue #2496 ). Can you please help me out. Also can you please take a look at PR #2465, #2467, #2464 and #2462  :-).


text:
added target='blank' to the link

Fixes #
Describe the changes you have made in this PR -
I have changed the link "Learn Logic Design" such that it opens in a new tab so that it's easier for users to read the manual and use the simulator
Screenshots of the changes (If any) -

On opening link, it opens up in new tab

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage remained the same at 82.63% when pulling 7654388ed711180bc5c7be3f81190b36b585f926 on h2o-Noob:target-property-for-link#2668 into 60785cf7b8bb2d57efc92a4e96fd932bc97a2de4 on CircuitVerse:master.

@nitin10s @gr455 @tachyons please analyze this issue.

@nitin10s sir please review this pr