text:
COM-1969: npm update

@types/react-native               0.63.51  0.63.52
Pas de CHANGELOG
@typescript-eslint/eslint-plugin   4.17.0   4.18.0
Bug fixes & features (add package type declaration / add fixes and suggestions)
https://github.com/typescript-eslint/typescript-eslint/blob/master/CHANGELOG.md
@typescript-eslint/parser          4.17.0   4.18.0
Bug fixes & features (add package type declaration / add fixes and suggestions)
https://github.com/typescript-eslint/typescript-eslint/blob/master/CHANGELOG.md
eslint                             7.21.0   7.22.0
Docs, sponsors, bug fix & update dependencies
https://github.com/eslint/eslint/blob/master/CHANGELOG.md
eslint-plugin-jest                 24.2.0   24.3.1
Bug fixes & features (no-focused-tests: make fixable / unbound-method: create rule)
https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md
firebase                           8.2.10    8.3.0
Feature (Added support to remove the FirestoreDataConverter on a Firestore reference by calling withConverter(null))
https://firebase.google.com/support/release-notes/js
sharp-cli                          1.14.1   1.15.0

Added alpha band option to extractChannel.
Added density, level, page, and pages to input options.
Added iiif layout option to tile-based output.
Updated sharp dependency.
https://github.com/vseventer/sharp-cli/blob/master/CHANGELOG.md

jest-expo mis à jour pour npm audit mais je n'ai pas l'impression que ça ait fixé de vulnérabilités

Tu peux aussi audit fix, ça résout 6 vulnérabilités

chez moi ça maj react-native et du coup ça pète l'async storage et quelques autres trucs c'est pour ça que je l'ai pas mis à jour

Tu peux aussi audit fix, ça résout 6 vulnérabilités

chez moi ça maj react-native et du coup ça pète l'async storage et quelques autres trucs c'est pour ça que j'ai pas fait de npm audit fix

Tu as bine rm -rf node_modules + package-lock + npm i après le npm audit fix ?
Perso j'ai aussi une erreur :

authors: KennyCallegari ulysseferreira

repo: sophiemoustard/alenvi-mobile


text:
S4 - As a user, I want to be able to recover my password in a save way, so that I will not suffer from production down-time due to being locked out of the system in case I have forgotten my password.

Acctepance Criteria

[ ] A user can click on "I forgot my password" on the login page to receive a new, temporary password.
[ ] Upon clicking the button, an e-mail is sent to the provided e-mail address of this user.
[ ] The e-mail contains a link that leads the user to a password reset page.
[ ] The link is valid for a short period of time only.

Development Tasks

[ ] sopra-fs22-group-26/client#55
[ ] sopra-fs22-group-26/server#90
[ ] sopra-fs22-group-26/client#56
[ ] sopra-fs22-group-26/server#92

Should we skip this user story and mention it in the report as a possible extension for the future?

Could be implemented in a further update.

source: gharchive/issue

authors: catinthecradle nmantzanas

license_type: permissive

license_source: github-api


text:
connect_air.sh自動起動の設定・フィードバックを反映・セミナー用テキスト追加

connect_air.shの自動起動を設定するステップを追加しました。
これまでにいただいたフィードバックを反映し、つまづきやすいポイントについて解説やコマンドの補足を入れました。

apt-get update については、setup.md の方も要修正

memo

apt-get update については、setup.md に記載。個別のdocには書かない
レビューコメントを反映
セミナー用資料では、scpする手順を省略。kit.mdではこのまま残す。

セミナー用資料は、8/18夜〜8/19午前中に仕上がりを予定しています。

@j3tm0t0 セミナー用テキストを作成しました。レビューお願いします。
特にチェックしてもらいたいのは、以下２点です

ラズパイのセットアップ手順

Windowsでのログイン手順を詳しくしました

connect_air.shの自動起動セットアップ

nanoでの編集手順を入れています。動画は後で作成します。

source: gharchive/pull-request

repo: soracom/handson

license_source: bigquery


text:
Incorrect class in error output for variable pinning

Input
→ View on sorbet.run
# typed: true

b = :sym
b = T.let('str', String) # Pinned to a String
b = :sym

Observed output
editor.rb:3: Incompatible assignment to variable declared via let: Symbol(:sym) is not a subtype of NilClass https://srb.help/7001
     3 |b = :sym
            ^^^^

editor.rb:5: Incompatible assignment to variable declared via let: Symbol(:sym) is not a subtype of String https://srb.help/7001
     5 |b = :sym
            ^^^^
Errors: 2

Expected behavior
I'm not sure if this was intentional, but shouldn't the first assignment of b have the error that the Symbol(:sym) is not a subtype of String instead of NilClass?

I think that this is a duplicate of #3482. If it looks different feel free to reopen.

authors: jez wildmaples

repo: sorbet/sorbet


text:
Please support connection async

Redis now support async from connection async. So please implement support get async connection for query async.

Is there any another r2d2 crate with async support?

@sorccu  Not yet, May I ask redis.rs support async query base on sync connection.

authors: sorccu tangkhaiphuong

license: mit


text:
zsh + tmux  loses history substring search functionality

noticed that that seems to happen, despite enabling the tmux module.  I have set my $TERM to rxvt-unicode-256color, is there something i am missing out on?

This seems to be a duplicate of #1059.

What does tmux have to do with history-substring-search?

Met same issue when I have $TERM=screen256-color and "tmux-256color" in tmux default-terminal option. Then resolved this by setting default-terminal in tmux to "screen-256color".

What does tmux have to do with history-substring-search?

Probably issue with terminfo key bindings.

repo: sorin-ionescu/prezto


text:
fast-syntax-highlighting interesting?

https://github.com/zdharma/fast-syntax-highlighting

You can easily do this yourself if you want it. Create the following file: $ZPREZTODIR/contrib/fast-syntax-highlighting/init.zsh. In it, put the following snippet:
# $ZPREZTODIR/contrib/fast-syntax-highlighting/init.zsh
0=${(%):-%N}
if [[ ! -d ${0:A:h}/external ]]; then
  command git clone https://github.com/zdharma/fast-syntax-highlighting.git ${0:A:h}/external
fi
source ${0:A:h}/external/fast-syntax-highlighting.plugin.zsh


text:
Analize internal_mint and internal_burn

Context:
In https://github.com/soroswap/core/commit/46e40466f42322b5a500b472b9b29c6aa9239bf5, two new functions where added to the token mod:
internal_burn and internal_burn
Because the pair contract it's the token itself, it cannot calls the mint or burn function internally without having a panic error due to the require_auth() restrictions. Hence this 2 "internal" functions were implemented:
What's next:
The internal_mint and internal_burn functions does not allow for the pair contract to import the token as a library.
Analize the possibility of the pair token to make a cross-contract call to itself, so the require_auth() restriction do not panic.

Similar to #27

This is OK

repo: soroswap/core


text:
CSV Exports failing when running PGWeb behind SSO

Hi There,
We have placed PGWeb behind an SSO Authentication system.
When navigating to PGWeb via SSO it appends a token to the end of the URL string
eg. pgweb.example.com/?code=xyz
When hitting the export CSV button a new window opens with an invalid url which means the download is unable to proceed
Example output url : pgweb.example.com/?code=xyzapi/query?format=csv...
I believe the issues is coming from this line here.
Is it possible to get the URL to take into account additional Query params when redirecting to the download screen?

Hi @tomellis91, yes def possible. What kind of SSO are you running in front of pgweb?

Amazing, thanks @sosedoff .
We are using oauth2 with an authorization code grant.
Cheers,
Tom

Cool, i will have a look. Mind sharing details on how you run pgweb and oauth? This is one of core features missing from pgweb and i would like to incorporate it somehow.On Nov 28, 2022, at 6:07 PM, Tom Ellis @.***> wrote:
Amazing, thanks @sosedoff .
We are using oauth2 with an authorization code grant.
Cheers,
Tom
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

repo: sosedoff/pgweb

license: MIT


text:
import pgx is slow

visualization code loads all environments
Chess codes run some time-consuming preparation

Where is the bottle neck?

from pgx._test import api_test
from pgx._visualizer import save_svg
from pgx._visualizer import save_svg_animation
from pgx._visualizer import set_visualization_config,
from pgx.core import Env, EnvId, State, available_games, make

例えば、囲碁の可視化をするだけでも、全部のゲームの実装がロードされているのが問題。

解決方法

Stateだけ別ファイルにまとめる（多くの実装はロードされない）
可視化の条件分岐を違う方法で行う

repo: sotetsuk/pgx


text:
S3FileTransferManager.copy not working properly on Soto 6.0.0

Describe the bug
For some reason, after changing from v5 to v6, a behavior change in the function S3FileTransferManager.copy(from: String, to: S3File, …) can be observed.
We have a piece of code (see below) to track the uploading of the file, and just return when it’s complete.
On v5, it reaches completions (progress 1.0 - 100%), but on v6, callback is called a few times only (see log below).
If callback is not defined, an error is thrown.
...
        if let s3File = S3File(url: url) {
            let promiseCompleteUpload = s3.eventLoopGroup.next().makePromise(of: Void.self)
            _ = s3FileTransfer.copy(
                from: path,
                to: s3File
            ) { progress in
                print("=== Check progress: \(progress)")
                let finalProgress = 1.0
                if progress == finalProgress {
                    promiseCompleteUpload.succeed(())
                }
            }
            return promiseCompleteUpload.futureResult
        } else {
            return s3.eventLoopGroup.next().makeFailedFuture(...)
        }
...

Logs

Log v5:

progress: 0.0
progress: 0.01774881270149409
progress: 0.03549762540298818
progress: 0.05324643810448227
progress: 0.07099525080597636
progress: 0.08874406350747045
progress: 0.10649287620896454
progress: 0.12424168891045863
progress: 0.14199050161195273
progress: 0.15973931431344682
progress: 0.1774881270149409
progress: 0.195236939716435
progress: 0.21298575241792908
progress: 0.23073456511942317
progress: 0.24848337782091726
progress: 0.2662321905224113
progress: 0.28398100322390546
progress: 0.30172981592539955
progress: 0.31947862862689363
progress: 0.3372274413283877
progress: 0.3549762540298818
progress: 0.3727250667313759
progress: 0.39047387943287
progress: 0.4082226921343641
progress: 0.42597150483585816
progress: 0.44372031753735225
progress: 0.46146913023884634
progress: 0.4792179429403404
progress: 0.4969667556418345
progress: 0.5147155683433285
progress: 0.5324643810448226
progress: 0.5502131937463167
progress: 0.5679620064478109
progress: 0.585710819149305
progress: 0.6034596318507991
progress: 0.6212084445522932
progress: 0.6389572572537873
progress: 0.6567060699552814
progress: 0.6744548826567754
progress: 0.6922036953582695
progress: 0.7099525080597636
progress: 0.7277013207612577
progress: 0.7454501334627518
progress: 0.7631989461642459
progress: 0.78094775886574
progress: 0.7986965715672341
progress: 0.8164453842687281
progress: 0.8341941969702222
progress: 0.8519430096717163
progress: 0.8696918223732104
progress: 0.8874406350747045
progress: 0.9051894477761986
progress: 0.9229382604776927
progress: 0.9406870731791868
progress: 0.9584358858806808
progress: 0.9761846985821749
progress: 0.993933511283669
progress: 1.0

Log v6:

progress: 0.0
progress: 0.01774886557677178
progress: 0.03549773115354356

** Additional info

Comparing HTTP requests of both versions, they are the same, with one difference: v6 contains the header Expect: 100-continue, while v5 doesn't.

To Reproduce
Steps to reproduce the behavior:

Using v6, call S3FileTransferManager.copy(from: String, to: S3File, …)
Note: Use a file larger than 3MB.

Actual results

If callback is defined, it's being called a few times, not until reaches completion.
If callback is not defined, SotoCore.AWSResponseError error 1. (HTTPResponseStatus.badRequest) is thrown.
Based on Soto documentation, AWSResponseError is thrown when the error code returned is unrecognised.

Expected results
File is successfully copied to the bucket.
Setup (please complete the following information):

OS: Both Mac and Linux
Version of soto: v6.0.0

There is a test testS3MultipartCopy which uploads a 10MB file which is working fine.
Are you upload to AWS or another S3 like service?
As an aside the Expect: 100-Continue header means AWS can return an error before we have uploaded a complete file if it already knows the upload will fail. eg If you upload a 100MB file with the wrong credentials you'll get an error back immediately before you have uploaded the 100MB and waste bandwidth.

authors: adam-fowler robertgmelo

repo: soto-project/soto


text:
basic information about output of voca model

run the following command:
python -m demo --img_path ./input_images/000013.jpg --out_folder ./RingNet_output --save_obj_file=True --save_flame_parameters=True --neutralize_expression=True

If I input a face image and generate the input of voca through the above command, is there any way to save the 3d information of the input image and rewrite it into the output obj file of voca, yes, the output of voca  Is there any texture information about the input image? That is to say, the output of voca is an obj file with 3d model information (can contain v, f, vn, vf, etc.), mtl file, texture png. Thanks.

Can you please describe your use case. VOCA uses a template mesh in FLAME mesh topology along with an audio file and generates a speech-driven animation.

You have updated my question on the voca project, thanks.

authors: Adorablepet TimoBolkart

repo: soubhiksanyal/RingNet


text:
Ipmi-chassis power on/off state

I found that I had the need to track which machines were in the poweron / off state.
To do so, I extended ipmi_exporter to use the ipmi-chassis module
The new metric added is ipmi_chassis_power_state
The ipmi-chassis utility does export more results, but so far this is the only one I needed.
I thought this may be useful for others.

Hi, thanks a lot for contributing to IPMI exporter! This looks like a useful addition and I also like the approach (new collector). Please give me a few more days to review and test with a few servers, but on first glance I have no objections.
Also, congrats on your first Github PR apparently :wink:

I added it to those files, and rebased to the latest master. Please let me know if you need anything else!

Excellent, thanks a lot!


text:
bug: runtime install of external packages bypasses proxy settings

Version
v1.23.1719415066 (pre-release)
Describe the bug
Every time vscode launches with the cody extension,  the following popup in notifications:
Failed to download symf: AxiosError: Request failed with status code 400

Failed to download bfg from URL https://github.com/sourcegraph/bfg/releases/download/v5.4.6040/bfg-linux-x64.zip: AxiosError: Request failed with status code 400

Expected behavior
Startup without errors.
Additional context
Platform:  x86_64+Fedora-39.0
Most likely the problem is that the downloads of 'symf' and 'bfg' are bypassing all proxy settings, because I do not see the http requests in the proxy logs.
All proxy settings (system, vscode proxy settings, and http_proxy env vars) are pointing to the same proxy server.
I am certain the proxy is working because I can see the copious requests from cody  e.g.
2024-06-27 01:29:36.125 7f364ea906c0 Request: sourcegraph.com:443/

in the logs. Also cody would not work at all if the proxy was misconfigured.
These download operations should obey the same proxy settings as cody.

I am also experiencing this exact behaviour when using the plugin behind a proxy.

authors: MAFulator vanmartin

repo: sourcegraph/cody


text:
bug: java.lang.IllegalStateException: JCEF is not supported in this env or failed to initialize

IDE Information
Android Studio Ladybug | 2024.2.1
Build #AI-242.21829.142.2421.12409432, built on September 24, 2024
Runtime version: 21.0.3+-12282718-b509.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.8.0-45-generic
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 24
Registry:
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
com.sourcegraph.jetbrains (7.0.6)
Current Desktop: ubuntu:GNOME
Bug Description
I just installed the cody plugin and then this happened.
Additional context
Stacktrace:
java.lang.IllegalStateException: JCEF is not supported in this env or failed to initialize
	at com.intellij.ui.jcef.JBCefApp.getInstance(JBCefApp.java:210)
	at com.intellij.ui.jcef.JBCefBrowserBase.<init>(JBCefBrowserBase.java:172)
	at com.intellij.ui.jcef.JBCefBrowser.<init>(JBCefBrowser.java:36)
	at com.intellij.ui.jcef.JBCefBrowser.create(JBCefBrowser.java:116)
	at com.intellij.ui.jcef.JBCefBrowserBuilder.build(JBCefBrowserBuilder.java:136)
	at com.sourcegraph.cody.ui.web.WebUIProxy$Companion.create(WebUIProxy.kt:117)
	at com.sourcegraph.cody.ui.web.WebUIService.createWebviewView$Sourcegraph(WebUIService.kt:115)
	at com.sourcegraph.cody.ui.web.WebviewViewManager.provideView(WebviewView.kt:126)
	at com.sourcegraph.cody.ui.web.WebviewViewManager.provideHost$lambda$5(WebviewView.kt:110)
	at com.intellij.openapi.application.ActionsKt.runInEdt(actions.kt:56)
	at com.intellij.openapi.application.ActionsKt.runInEdt$default(actions.kt:53)
	at com.sourcegraph.cody.ui.web.WebviewViewManager.provideHost(WebviewView.kt:110)
	at com.sourcegraph.cody.ui.web.WebviewViewManager.provideCodyToolWindowContent(WebviewView.kt:121)
	at com.sourcegraph.cody.CodyToolWindowContent.<init>(CodyToolWindowContent.kt:31)
	at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
	at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$2.invoke(instantiate.kt:50)
	at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$2.invoke(instantiate.kt:43)
	at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$6$1.invoke(instantiate.kt:310)
	at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.withStoredTemporaryContext(instantiate.kt:327)
	at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.instantiate(instantiate.kt:309)
	at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.instantiate(instantiate.kt:43)
	at com.intellij.serviceContainer.LightServiceInstanceSupport$LightServiceInstanceInitializer.createInstance(LightServiceInstanceSupport.kt:47)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invokeSuspend(LazyInstanceHolder.kt:162)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invokeSuspend(LazyInstanceHolder.kt:160)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:27)
	at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:90)
	at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:123)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
	at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.initialize(LazyInstanceHolder.kt:145)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.access$initialize(LazyInstanceHolder.kt:13)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.tryInitialize(LazyInstanceHolder.kt:135)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt:95)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstanceInCallerContext$suspendImpl(LazyInstanceHolder.kt:87)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstanceInCallerContext(LazyInstanceHolder.kt)
	at com.intellij.serviceContainer.ComponentManagerImplKt$doGetOrCreateInstanceBlocking$1.invokeSuspend(ComponentManagerImpl.kt:1568)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:111)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$BuildersKt__BuildersKt(Builders.kt:84)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:52)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at com.intellij.serviceContainer.ComponentManagerImplKt$runBlockingInitialization$1.invoke(ComponentManagerImpl.kt:1686)
	at com.intellij.serviceContainer.ComponentManagerImplKt$runBlockingInitialization$1.invoke(ComponentManagerImpl.kt:1677)
	at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:85)
	at com.intellij.serviceContainer.ComponentManagerImplKt.runBlockingInitialization(ComponentManagerImpl.kt:1677)
	at com.intellij.serviceContainer.ComponentManagerImplKt.doGetOrCreateInstanceBlocking(ComponentManagerImpl.kt:1567)
	at com.intellij.serviceContainer.ComponentManagerImplKt.getOrCreateInstanceBlocking(ComponentManagerImpl.kt:1562)
	at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:746)
	at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:690)
	at com.sourcegraph.cody.CodyToolWindowContent$Companion.executeOnInstanceIfNotDisposed$lambda$0(CodyToolWindowContent.kt:75)
	at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:33)
	at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1985)
	at com.sourcegra...

Hi there 👋 sorry for the troubles 🙇
We are aware of the issue and it has been fixed already by https://github.com/sourcegraph/jetbrains/pull/2451.
I am happy to announce that the fix is available in the latest available release 🚀  Please keep the plugin up to date 🙏

authors: admbahm mkondratek

repo: sourcegraph/jetbrains


text:
bug: crash whilst using chat in pycharm

Installation Information
PyCharm 2023.3.1 (Community Edition)
Build #PC-233.11799.298, built on December 12, 2023
Runtime version: 17.0.9+7-b1087.7 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.2.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 16
Metal Rendering is ON
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.sourcegraph.jetbrains (5.2.15221)
Describe the bug
Installed plugin version 5.2.15221
Opened chat window. Created a prompt in char window along the following lines -
"Outline high level functionality implemented within this repo"
executed prompt. chat window appeared to hang. eventually error dialog appeared.

Expected behavior
Expected response from prompt
Additional context (logs, images, etc)
No response

Thank you for reporting, @simoncwaterer! Marking as P0.

I cannot reproduce on the newest versions which is not surprising as this code was completely rewritten.
I talked with @simoncwaterer and it only happened to him once as well.
It also was not reproduced by anyone else.
We decided that for now we can close it.

authors: pkukielka simoncwaterer taylorsperry


text:
fix: Register new stdlib packages in 1.21

Without this patch, the stdlib package check fails,
and we emit a spurious error about a nil non-stdlib module
The new list of packages can be seen in the release notes:
https://tip.golang.org/doc/go1.21
Out of these, the log/slog and testing/slogtest packages
already have their prefixes present in the stdlib package map.
Fixes #48

Tested against https://github.com/varungandhi-src/slice_test and this patch fixes the panics.

repo: sourcegraph/scip-go


text:
Standardise files with files in sous-chefs/repo-management

Signed-off-by: Dan Webb dan.webb@damacus.io

Released as: 1.2.3

authors: damacus kitchen-porter

repo: sous-chefs/ossec


text:
port: [#4274] Add settings.selectedChannel to TeamsChannelData and Type to ChannelInfo and TeamDetails (#6360)

Fixes # 4274
Description
This PR adds the ability to gather the selected MS Team's channel id when available in the incoming Activity. (Available in Install and Uninstall the teams' bot events).
Specific Changes

Added the teamsGetSelectedChannelId helper function.
Added the TeamsChannelDataSettings interface and all its related properties to be accessible from the Activity.
Added unit tests around this implementation.
Updated mappers to include the new added properties.
Updated compatibility Markdown document.

Testing
The following images show the tests passing successfully and the selected channel id being gathered successfully from a teams' bot.

In the PR's description:

Added the TeamsChannelDataSettings interface and all its related properties to being accessible from the Activity.

should be:

Added the TeamsChannelDataSettings interface and all its related properties to be accessible from the Activity.

Changes applied, thanks @ceciliaavila

Pull Request Test Coverage Report for Build 2719282942

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.009%) to 84.492%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build 2704836939:
0.009%

Covered Lines:
19904

Relevant Lines:
22312

💛  - Coveralls

/promoted 4295

authors: ceciliaavila coveralls sw-joelmut

repo: southworks/botbuilder-js


text:
Implements default response for errors

Update the spec with a single return type and use default for handling all HTTP code errors

LGTM

authors: enzocanoo pcostantini

repo: southworkscom/azure-rest-api-specs


text:
Fix max-line-length in botConfiguration.ts

Proposed Changes
Fix max-line-length TSLint warnings in botframework/src/botConfiguration.ts
Testing
Travis will no longer report these warnings

Pull Request Test Coverage Report for Build 23

4 of 7 (57.14%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.006%) to 69.892%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botframework-config/src/botConfiguration.ts
3
6
50.0%

Totals

Change from base Build 14:
-0.006%

Covered Lines:
2231

Relevant Lines:
3048

💛  - Coveralls

The commits were rebased.

authors: VictorGrycuk coveralls

repo: southworkscom/botbuilder-js


text:
Expose parameters for make_filter_banks in PQMF and IPQMF

It would be useful to be able to tweak make_filter_banks parameters in PQMF and IPQMF creation. In particular, these are missing:
    n_iter=100,
    step_size=1e-2,
    decay=0.5,
    eps=1e-6,

I modified PQMF and IPQMF on the above pull request. Is this fine with you?

@takenori-y Looks great to me!

authors: takenori-y turian

repo: sp-nitech/diffsptk


text:
Add additional item types to fence stack array

Ammo > Rounds
Ammo > Ammo pack
Weapon parts & mods > Gear Mods > Magazines
Medication > Medkits
Medication > Pills
Medication > Injury Treatment
Weapon parts & mods (ALL)
Keys > Mechanical Keys
Barter Items (ALL, even empty/partially used fuel containers)
Gear (ALL, save for armour that has plates/durability that is not 100%)
Weapons > Melee weapons
Weapons > Special Weapons (Flares)
Info Items (List of items usually seen: SAS drive, SSD drive, Secure Flash drive, Diary, Slim diary, SMT drive, BakeEazy cook book, Video cassette, Topographic maps)
Provisions (ALL, seem to be low value and Vodka/Dan Jackiel)

Originally written by chomp

Improved with: https://dev.sp-tarkov.com/SPT-AKI/Server/compare/2249337a02553b460d4e624ad2139fa343a3fa18...9b07a11a1b8d02f7371fe763239a5154e579939b

Originally written by chomp

repo: sp-tarkov/server

license: NCSA


text:
Add --no-config-format flag. Fixes #300.

Description of the change

Add dontFormatConfig to GlobalOptions
Add condition to Spago.Dhall.writeRawExpr with Bool parameter

Checklist:

[x] Added the change to the "Unreleased" section of the changelog
[x] Added some example of the new feature to the README
[ ] Added a test for the contribution (if applicable)

Thanks for the insightful review. :)  I have made another commit that addresses all the changes requested :+1:

repo: spacchetti/spago


text:
Обновление Spectrum... ура?

Описание PR
Ура! Ура.... хотя на нем всеравно не кто не играет...
Проверки

[x] PR полностью завершён и мне не нужна помощь чтобы его закончить.
[x] Я внимательно просмотрел все свои изменения и багов в них не нашёл.
[ ] Я запускал локальный сервер со своими изменениями и всё протестировал.
[ ] Я добавил скриншот/видео демонстрации PR в игре, или этот PR этого не требует.

Изменения
Клоуны точно убраны во время.... карпы начали свою забавную активность, что-то убрано, что-то переработано, возможно добавлены новые декальки, и много чего еще.
:cl:

add: Добавлено веселье!
fix: Клоуны!
add: обновление спектра?

Нужно решить конфликты


text:
Jobs

Ability to select a job in character setup and spawn in with certain equipment.
Requires space-wizards/space-station-14-content#134

Seems like this should've been closed after #434 got merged.

Indeed.


text:
escape objective doesn't trigger on cargo shuttle

Description
if you are a traitor with escape objective, cargo shuttle in FTL doesn't count as a shuttle
neither do shittles
Reproduction

roll the objective
call shuttle
get on cargo shuttle and ftl
redtext

Additional context
been a while since i reproduced it, possibly fixed as per Any emergency shuttle counts for this objective. comment, not sure though

Only the emergency shuttle counts as an emergency shuttle.

what does the comment mean then? different shuttle designs?

Escape pods (when they're coded)

ah yeah forgot they were meant for more than just free shittle parts

authors: deltanedas metalgearsloth moonheart08


text:
Paramedic suit helmet should probably be an equip action rather than an item

Description

Seems unnecessary to keep as an item.
Would need to be removed from the relevant vendors and lockers.
As a side note, it may be also worth removing it from the vender entirely and restricting it to the mapped locker? You can currently restock the medidrobe to get more paramedic eva, making it no longer a job unique equipment.

Instead of removing it from the vendor, remove the restock. If i remember correctly not all stations have the paramedic job which could cause issues if a cmo would want one

Instead of removing it from the vendor, remove the restock. If i remember correctly not all stations have the paramedic job which could cause issues if a cmo would want one

the vendor is meant to be a clothes vendor...


text:
Explosions don't break backpacks

Probably should break it and spill everything out.

does backpack have hp?

Anything that makes terrorism more realistic is a yes from me

Makes sense if explosions come from within the backpack itself, but backpacks being given HP and being caught in any explosion at all sounds like a recipe for a super annoying mess. I'm in favor if it's kept narrow, being explosions coming from inside the backpack.
As another thought, contents inside the backpack could be catapulted around randomly. Create your own shrapnel grenade by chucking a frag in a backpack with 20 glass shards!

can you put a grenade in a bag?

#21020 seems like it would address this, right? I feel like outright destroying backpacks would be overkill for players who have already had the misfortune of being bombed, whereas igniting them would at the very least give them a small window to extinguish it.
Of course, if an explosive contained inside a backpack detonates, then the backpack should definitely be destroyed.

can you put a grenade in a bag?

https://github.com/space-wizards/space-station-14/assets/109166122/76a3ec60-1a59-41e5-84bb-8b88b1f997c8

can you put a grenade in a bag?

sus.mp4

did the grenade explode in the bag?

As you can visually see the grenades were in the bag

none of them disappeared from the bag, although that might be a visual bug.

authors: CatMagic1 Endecc Equivocateur forgotmyotheraccount iacore metalgearsloth


text:
the blue stripes in med are cleanable on core

Reproduction

go to med on core station
spray with space cleaner

I fixed this a little while ago, this issue is resolved.


text:
Movement sprites do not display unless controlled

Description
Animal movement sprites do not display unless controlled by a player
Reproduction
Spawn crabs, foxes, or other animals with movement sprites
Screenshots

Found this while implementing a new animal.


text:
Rules might need to be updated now that contraband marking exists

Description

https://github.com/space-wizards/space-station-14/pull/28688 was merged
As per the Reduced Metagaming mechanics doc that covers the Disguised Items problem: https://github.com/space-wizards/docs/pull/214/files

Rule change: Crew have knowledge about stealth items.
Non-stealth items can now be determined to be contraband upon being examined.
Rule change: Security can only confiscate non-contraband items that they can confirm was used in a crime. Security can not keep an item from being returned to a crewmate on suspicion of it being contraband. Normal rules on Captain outlawing a specific item still apply.

This is to ensure Security does not overextend and confiscate an unscanned stealth item.

Reproduction

Screenshots

Additional context

Although it requires the hidden contraband scanner machine to be implementeddddd........ so maybe not

CE said they were gonna look into it

fixed https://github.com/space-wizards/space-station-14/pull/30937

wait, partial fixed, I'll still leave this open


text:
Fix verb menu not working for clientside entities

Fixes #1370

The server shouldn't even be asked for client side entities like this. This should be handled on the client.


text:
Brig Timers

About the PR

straight up revival of #12006
quite literally just addressed reviews.
Media

https://user-images.githubusercontent.com/45628623/196296187-58f22718-badc-49b7-8cd6-de5eee811331.mp4

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Rolfero, EmoGarbage404

add: Added brig timers for security. Use these to automate the sentence tracking of your prisoners. You can even hook them up to automatically open doors!

would anyone be against me making 1-3 of these buildable and if not then like wallmount gen with steel + wire + board

would anyone be against me making 1-3 of these buildable and if not then like wallmount gen with steel + wire + board

Considering they can open doors, they probably would need changes to properly respect access, etc.

doesnt linking anything to doors require access in the first place? i assume the brig timer just exists 1. for name/desc and 2. so only sec can use them and not have tiders running in freeing everyone
so if you are concerned about something making a timer for a bridge door, they need bridge access in the first place so its a non-issue

i feel like the TextScreen stuff server-side could be its own system, instead of being tied to signal timers

i feel like the TextScreen stuff server-side could be its own system, instead of being tied to signal timers

TextScreen is entirely on the client. You just set it by setting appearance data. It's not inherently tied to signal timers

i feel like the TextScreen stuff server-side could be its own system, instead of being tied to signal timers

TextScreen is entirely on the client. You just set it by setting appearance data. It's not inherently tied to signal timers

yeah, threw me off a bit to see a seemingly unrelated appearance change in the timer - i would’ve just made a system containing the appearance system method calls so that there’s a more central place for changing the properties of text screen visuals

@vulppine the button doesn't add more delay: it's only a start and stop. I don't know if you still want the changes, as I think it functions fine as-is. Your call.

@vulppine the button doesn't add more delay: it's only a start and stop. I don't know if you still want the changes, as I think it functions fine as-is. Your call.

oh yeah, in that case that’s fine: i must’ve looked at the demo video wrong earlier, haha

authors: EmoGarbage404 deltanedas vulppine


text:
Finishing touches

About the PR

Why / Balance

Technical details

Media

Requirements

[ ] I have read and am following the Pull Request and Changelog Guidelines.
[ ] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

AGH I GOTTA CHANGE MY ORIGIN SORRY

oops I did it again
I PRed it too far, sent it to main

authors: Everturning Pixeltheaertist


text:
Implement tortoise beacon sync

Description

Tortoise beacon sync should be implemented according to https://github.com/spacemeshos/SMIPS/issues/52
Affected code

Tortoise beacon, sync
This issue appears in commit hash:
4b13d81196bb17698fba6312f81c0e54b8e73a76
Related files (optionally with line numbers):
TBD

breaking this down to the following issues:

https://github.com/spacemeshos/go-spacemesh/issues/2809 beacon sync: record beacon in first block of epoch and use it to do syntactic validation
https://github.com/spacemeshos/go-spacemesh/issues/2810 beacon sync: determine beacon value from blocks in the first K layers
https://github.com/spacemeshos/go-spacemesh/issues/2811 beacon sync: hare uses synced beacon to determine "good" block
https://github.com/spacemeshos/go-spacemesh/issues/2812 beacon sync: verifying tortoise never counts votes from block with incorrect beacon value
https://github.com/spacemeshos/go-spacemesh/issues/2813 beacon sync: self-healing ignore votes from block with incorrect beacon for K layers

@moshababo

authors: countvonzero nkryuchkov

repo: spacemeshos/go-spacemesh


text:
can't use flink sql to create hive catalog

I tried to use flink sql to create hive catalog, but an error was reported, Can you give me some advice? thx
My environment:
flink1.11.2, iceberg0.11.0,hive2.3.6
My dependences:
   <dependency>
            <groupId>org.apache.flink</groupId>
            <artifactId>flink-java</artifactId>
            <version>${flink.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.flink</groupId>
            <artifactId>flink-connector-hive_2.12</artifactId>
            <version>${flink.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.flink</groupId>
            <artifactId>flink-streaming-scala_2.12</artifactId>
            <version>${flink.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.flink</groupId>
            <artifactId>flink-table-api-java-bridge_2.12</artifactId>
            <version>${flink.version}</version>
        </dependency>
         <dependency>
            <groupId>org.apache.flink</groupId>
            <artifactId>flink-table-planner-blink_2.12</artifactId>
            <version>${flink.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.iceberg</groupId>
            <artifactId>iceberg-flink-runtime</artifactId>
            <version>${iceberg.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.iceberg</groupId>
            <artifactId>iceberg-flink</artifactId>
            <version>${iceberg.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.iceberg</groupId>
            <artifactId>iceberg-hive-metastore</artifactId>
            <version>${iceberg.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-common</artifactId>
            <version>${hadoop.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.hive</groupId>
            <artifactId>hive-exec</artifactId>
            <version>${hive.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.flink</groupId>
            <artifactId>flink-table-planner_2.12</artifactId>
            <version>${flink.version}</version>
        </dependency>```
**error**:
The following factories have been considered:
org.apache.flink.table.catalog.hive.factories.HiveCatalogFactory
org.apache.flink.table.catalog.GenericInMemoryCatalogFactory
	at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:302)
	at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:198)
	at org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:149)
	at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:699)
	at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:232)
	at org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:916)
	at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:992)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875)
	at org.apache.flink.runtime.security.contexts.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
	at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:992)
Caused by: org.apache.flink.table.api.NoMatchingTableFactoryException: Could not find a suitable table factory for 'org.apache.flink.table.factories.CatalogFactory' in
the classpath.

I think it's related to the jar dependency conflicts. Are you running flink job on your IDE or something? If so, be sure to check your hive-site.xml is on your classpath. If you are running on yarn or flink cluster, be sure to exclude jars you've package within your job.

I think it's related to the jar dependency conflicts. Are you running flink job on your IDE or something? If so, be sure to check your hive-site.xml is on your classpath. If you are running on yarn or flink cluster, be sure to exclude jars you've package within your job.

thanks

authors: Simmyo spancer

repo: spancer/flink-iceberg-demo


text:
Main branch update from Dev branch

Summary
Main branch update from Dev branch

첫 배포네요! 잘못 되는건 아닐까 떨립니다 ㅠㅠ

repo: sparcs-kaist/taxi-back


text:
Chatting에서 이미지 클릭/터치 시 전체화면 뷰

Summary
채팅에서 이미지 메시지의 크기가 조그만해 보기 어렵다는 지적을 받았습니다.
이미지를 클릭 / 터치하면 전체화면 이미지 뷰를 띄어 줍니다.

Reopened due to removal of function in main branch. Planning to improve design

repo: sparcs-kaist/taxi-front


text:
spark-notebook does not shutdown all processes when dynamic allocation is switched on

When shutting down the notebook Spark-notebook does not shut down all apps related to the notebook when dynamic allocation is switched on the spark-standalone cluster.
To reproduce the bug - switch on dynamic allocation and external scheduling service on spark standalone cluster, give some tasks that will lead to several allocations per notebook and shutdown notebook inside spark-notebook UI

Good one!
As it is quite a task to reproduce, could you investigate what we could do?
That'd be super useful.
many thanks

authors: andypetrella antonkulaga

repo: spark-notebook/spark-notebook


text:
Fuzzy selection by content with XPath (or CSS)

I have to manipulate an AIXM 4.5 (XML) document similar to this snippet:
<?xml version="1.0" encoding="utf-8"?>
<AIXM-Snapshot (...)>
  <Ase>
    <AseUid>
      <codeType>R</codeType>
      <codeId>LS-R2 HOHGANT</codeId>
    </AseUid>
    <txtName>LS-R2 HOHGANT</txtName>
    <codeDistVerUpper>STD</codeDistVerUpper>
    <valDistVerUpper>130</valDistVerUpper>
    <uomDistVerUpper>FL</uomDistVerUpper>
    <codeDistVerLower>STD</codeDistVerLower>
    <valDistVerLower>100</valDistVerLower>
    <uomDistVerLower>FL</uomDistVerLower>
  <Ase>
    (...)
  </Ase>
  <Obs>
    (...)
  </Obs>
</AIXM-Snapshot>

The challenge is to select e.g. the first Ase node which contains an AseUid node which contains a codeId node with specific content:
xpath("//Ase/AseUid/codeId[contains(text(), 'LS-R2 HOHGANT')]")
This works fine, however, the name part HOHGANT is not known, so the search has to be shortened to:
xpath("//Ase/AseUid/codeId[contains(text(), 'LS-R2 ')]")
The space is necessary to prevent false positives e.g. with LS-R26.
Unfortunately, it gets messy. There are nodes which omit the name part and look like <codeId>LS-R26A</codeId>. The space trick above prevents them from being found.
XPath 2 impements a matches function to harness the power of regular expressions, but Nokogiri (or rather the underlying libxml2) doesn't seem to support this.
The CSS contains() selector has the same limitations.
Is there a way to perform such searches or even use regular expressions with XPath, CSS selectors or some other technique with Nokogiri?
(Plan B is to accept false positives and then eliminate them using Ruby. However, I still have hope that I missed something in the vast possibilities of Nokogiri.)
Thanks a lot for your help!

Found the silver bullet: custom pseudo classes
https://rubydoc.info/gems/nokogiri/1.13.4/Nokogiri/XML/Searchable#css-instance_method

@svoop Exactly right, this is sort of use case that the XPath custom functions (and CSS custom pseudo-classes) are intended to handle. Glad you figured it ou!

Doc for Xpath
To elaborate a bit, one can provide methods defined in a custom class, and call them within the Xpath statement.
For instance:
handler = Class.new {
  def my_custom_search_method(node_set, attr, regex)
    node_set.find_all { |node| node[attr] =~ /#{regex}/ }
  end
}.new

node.xpath('.//title[my_custom_search_method(., "name", "\w+")]', handler)

You can use the defined method(s) multiple times in the xpath statement.

authors: dvergeylen flavorjones svoop

repo: sparklemotion/nokogiri


text:
Forbid aliases for certain imports

It would be nice if adding ( "List.Extra", "" ) to the config meant that List.Extra should never be aliased

Just noticed that this is similar to #35

repo: sparksp/elm-review-imports


text:
Support image resizing

is there any support for changing the size of an image?

Some implementations of Markdown support the following format:
![](http://www.example.com/image.jpg =250x)
or
![](http://www.example.com/image.jpg =250x22)
Would be good to see this support added here...

Happy to contribute a PR, if get an OK from the current maintainers.

Hi @tartavull have you heard anything back regarding your offer to contribute a PR? I have just included this component in my solution after a basic review. However, I was surprised to discover image resizing isn't supported. Can the current maintainers please accept @tartavull's offer?

Any update on this? The resizing would make my life 100x easier🙏🏽

authors: liniu patricknolan seanmcilvenna tartavull thomasayo

repo: sparksuite/simplemde-markdown-editor


text:
Update generator to use schema v15

PR for issue #187.

Thanks for this PR and notifying us that there's a new version! 🚀

authors: Gummibeer osopolar

repo: spatie/schema-org


text:
[docs] API doc

Для первой версии предлагаю сделать минимальный функционал:

начальная страница
создание сессии
открытие вопроса
проставление X и O на поле

@elteammate @volivan239 @sergeykhargelia @arnyyyyy @frungl посмотрите этот документ

repo: spbu-math-cs/ig-platform


text:
Tag/Value parser should remove the "excludes:" in the PackageVerificationCode excluded files

Currently, when parsing a tag/value PackageVerificationCode, the excludes: is not removed when adding the excluded file name to the PackageVerificationCode object.
For example:
PackageVerificationCode: d6a770ba38583ed4bb4525bd96e50461655d2758 (excludes: ./package.spdx)

results in the RDF:
<Package rdf:about="...">
    <packageVerificationCode>
        <PackageVerificationCode>
            <packageVerificationCodeValue>
                d6a770ba38583ed4bb4525bd96e50461655d2758
            </packageVerificationCodeValue>
            <packageVerificationCodeExcludedFile>
               excludes:  ./package.spdx
            </packageVerificationCodeExcludedFile>
        </PackageVerificationCode>
    </packageVerificationCode>
</Package>

when it should result in:
<Package rdf:about="...">
    <packageVerificationCode>
        <PackageVerificationCode>
            <packageVerificationCodeValue>
                d6a770ba38583ed4bb4525bd96e50461655d2758
            </packageVerificationCodeValue>
            <packageVerificationCodeExcludedFile>
                ./package.spdx
            </packageVerificationCodeExcludedFile>
        </PackageVerificationCode>
    </packageVerificationCode>
</Package>

There is a related SPDX spec issue https://github.com/spdx/spdx-spec/issues/414

repo: spdx/tools


text:
Starlette support

Fixes #496 .
Changes proposed in this pull request:

Add support for the Starlette framework to Connexion
Add support to serve the API using the uvicorn ASGI server

This is still rough around the edges, but would welcome a first review

Any progress on this?

Hi @arkkors,
Thanks for the PR and sorry for the late response. Unfortunately, we've decided to go for another framework agnostic approach (see https://github.com/spec-first/connexion/issues/1395#issuecomment-1063214142).
I was able to reuse some of your code for this though, so I added you as a co-author to https://github.com/spec-first/connexion/pull/1496. I hope this is ok for you, let me know if it isn't.

Connexion 3.0 will support ASGI frameworks out of the box (and is now built on top of Starlette). See https://github.com/spec-first/connexion/issues/1395

authors: RobbeSneyders arkkors

repo: spec-first/connexion


text:
bug(Revit) Sending linked models from view doesn't work

Error pops up and sending fails when sending linked models with view selection.

To replicate

Open this test model
Set selection filter to "3D View 1"
Activate "Send linked models" in advanced settings
Send - fails with error

Error log in Seq

Related to #2823 , we're essentially not dealing with linked models well.

It is possible to set visibility of linked models individually for each Revit view. Sending linked models doesn't need to be supported until the #2823 issue is resolved but user should be able to send a view without any errors.

authors: paloknapo teocomi

repo: specklesystems/speckle-sharp


text:
How to deal with crowded tables (a.k.a actual tables on production systems)

This touches #400 #389 #413.
As far as I understand it there is currently no support in Speedment for:

LIMITing the result set size by the dbms. It is always done in-memory by the JVM.
WHERE clauses containing OR linked expressions. They will also always be done in-memory.
skipping (OFFSET) rows via SQL when using the workaround for OR queries described here: https://speedment.github.io/speedment-doc/predicate.html#or

Now I've got an actual table currently containing 672807 rows. And I want to offer paging for its data grid on some frontend. I also want to offer a simple search capability where one entered term targets two OR linked fields in the table. I'm sure this has been done before.
With the current state of affairs in Speedment trying to implement this will:

when no search term was given:

always fetch the whole table into JVM memory, then skip, then limit

when any search term was given:

execute two queries, one for each term, then fully fetch both results
compose both result sets using technique described here: https://speedment.github.io/speedment-doc/predicate.html#or
again on the JVM side skip, then limit.

This is so utterly inefficient and slow that I cannot imagine I'm using Speedment (3.0.6) correctly. But OTOH I take my guidelines from here: https://speedment.github.io/speedment-doc
Some examples:
dataManager.stream()
  .sorted(...)                                     << performed by DBMS via SQL
  .skip(10L)                                     << performed by DBMS via SQL
  .limit(10L)                                     << performed by Java
  .collect(Collectors.toList())

Runtimes
Plain SQL: 34ms
Speedment: ~6s
dataManager.stream()
  .filter(predicate1.or(predicate2))  << performed in-memory by Java
  .skip(10L)                                      << performed in-memory by Java
  .limit(10L)                                     << performed in-memory by Java
  .collect(Collectors.toList())

Runtimes
Plain SQL: 34ms
Speedment: ~8s
StreamComposition.concatAndAutoClose(
  dataManager.stream().filter(predicate1),   << fully fetched, probably never reaches heap though
  dataManager.stream().filter(predicate2)    << fully fetched, probably never reaches heap though
)
.distinct()                                      << performed in-memory by Java
.skip(offset)                                  << performed in-memory by Java
.limit(pageSize)                            << performed in-memory by Java
.collect(Collectors.toList());

Runtimes
Plain SQL: 34ms
Speedment: ~8s
We're not using Speedment in production yet. But if this turns out to be true I don't think we can.

We will take a look at these known issues ASAP.

#413 is fixed now in the develop branch. Will come in the next release.

#400 #389 fixed now

@paxbit It would be interesting to see what the performance is now that 3.0.7 is released.

@minborg Thanks a lot. I'll have a look at it tomorrow.

@minborg I did the tests again today. or(...), skip(...) and limit(...) are now rendered to SQL. The times for the Speedment execution time are now ~40ms, down from ~8s, compared to 34ms for manually retrieving the same data via query against the db. I think this is very good. Thank you for the quick changes!
There is another issue though which I just looked at - .count()
doing a
manager.filter(...).count();
too fetches everything from the table then counts the number of rows. This means that atm. I still cannot implement the paging feature because I need to tell the client the total number of rows over all pages.
There are probably more ways to deal with this. I can think of the following two:

Calling ...count() optimizes the query to:
select count(*) from (select * from theTable where theConstraints) cnt;
This is how i would expect it to work.

Offering a new method on the manager dedicated only to do optimized counting, like:
manager.counting(predicate)

Do you think any of this could be a viable option?

I have opened a new issue for this: #426
Alternative 1 should work. I will check what is wrong.

Version 3.0.8 is out now with optimized count() operations.

authors: minborg paxbit

repo: speedment/speedment


text:
fix page names that contain dot

changes:

in hugolib/page.go, func permalink and func TargetPath
Fixed the attempt to replace the extension of something
that was already a basename (without extension) .
in source/file.go, func NewFile
added check for allowed languages before translating filename

Fixes #2555

I adding the following language related things to config.toml as shown in https://gohugo.io/content/multilingual/:
[Languages]
[Languages.en]
weight = 1
title = "English"
[Languages.en.blackfriday]
angledQuotes = false

[Languages.fr]
weight = 2
title = "Français"
[Languages.fr.Taxonomies]
plaque = "plaques"

I then built the site after adding some files with troublesome names:
$GOPATH/bin/hugo new post/moo.0.7.74823478.md
$GOPATH/bin/hugo new post/moo.0.7.fr.md
$GOPATH/bin/hugo new post/moo.0.7.en.md
$GOPATH/bin/hugo new post/moo.0.7.es.md
$GOPATH/bin/hugo server -D

The following permalinks were found accessible for the content pages created above, respectively:

http://localhost:1313/post/moo.0.7.74823478/
http://localhost:1313/fr/post/moo.0.7/
http://localhost:1313/post/moo.0.7/
http://localhost:1313/post/moo.0.7.es/

Relevant part of generated website:
public/
├── en
│   ├── index.html
│   └── sitemap.xml
├── fr
│   ├── index.html
│   ├── index.xml
│   ├── post
│   │   ├── index.html
│   │   ├── index.xml
│   │   ├── moo.0.7
│   │   │   └── index.html
│   │   └── page
│   │       └── 1
│   │           └── index.html
│   └── sitemap.xml
├── index.html
├── index.xml
├── post
│   ├── index.html
│   ├── index.xml
│   ├── moo.0.7
│   │   └── index.html
│   ├── moo.0.7.74823478
│   │   └── index.html
│   ├── moo.0.7.es
│   │   └── index.html
│   └── page
│       └── 1
│           └── index.html
└──  sitemap.xml

This is all the testing I have done. Things were working as I expected and nothing was visibly broken. File name translation is now only done for languages specified in the Languages table in configuration file. Please test other use cases if this is not sufficient.
@abourget

Thanks @vyuh. Just have checked this out, works like a charm!

For future reference: Notice the capital first char in the commit message title

authors: bep miltador vyuh


text:
Change order of headers in exported CSV file

The order of headers for attributes in the exported attributes.csv file should be the same as the order of API response, when querying for Product types in API playground. This would avoid confusion when the header list is long and some comparison is done between the response and csv file. And also the localaizable Enum type attributes are not consecutively displayed.

Does rearrangement of columns might affect https://github.com/sphereio/sphere-product-type-json-generator ?

authors: ValeSauer VasumathiJayakumar

repo: sphereio/sphere-product-type-export


text:
handle new confluence cloud style (august 2019)

Atlassian has rolled out Confluence's new look which breaks numerous features of this extension. 😑
Various examples include block level changes:

Image issues:

File thumbnail issues:

Missing nested table support:

Every feature will need to be re-checked for compatibility. There may need to be a modification to target what type of Confluence style type (possibly stock and legacy targets; assuming content cannot be restyled to handle both environments). It may be time to try to introduce a request to /rest/applinks/1.0/manifest to see what version the target Confluence instance is running on. Unfortunately, this slightly break process as there would need to be a REST request before we begin to translate any documents.

hi, I'm using the builder and up until yesterday everything worked really well and I was very happy.
Could you give a general idea for the timeline for resolving this issue?

@liorella, it is hard to say at the moment (maybe over a month). Tried looking at multiple issues today and there are a series of features that are no longer supported (from what I can tell). From an initial pass of features checks (testing on Confluence Cloud v1000.0.0-cf9c3d59a55), new limitations includes:

Format styles such as bullet lists can no longer be properly indexed in a paragraph (Confluence now ignores (select) style hints on div elements).
Images can no longer be on the same line.
Images can no longer be link-wrapped.
Nested tables are no longer possible.
Panels appear to no longer be supported, causing issues for figure containment (attempts to replace with tables fail since images inside cells can no longer be aligned).
Table format changes no longer graceful present bibliographic fields.
Line numbers in code blocks can no longer be removed.
Attachment macro no longer gracefully displays attachment previews; and the base blank attachment type no longer displays a label matching the filename (although somehow works via editor; even though the storage format is the same).
Only a single attachment entity can exist on a single line now.

Still will try to investigate ways around these issues. It may be that these limitations are here to say and this extension will be tweaked to warn about incompatibilities (when possible).

that sounds pretty awful, if it's really here to stay, it's a really terrible move from atlassian.
Let's hope things improve!

Testing out various changes to handle future Confluence changes, some things will be manageable and some will not. In wondering the best way to approach translator changes to handle Confluence's redesign, I am currently leaning towards introducing a temporary configuration entry which when introduced, will publish documents in the "new style". This will allow existing users to continue as is with their Confluence server installations with no changes. Confluence Cloud users and (I suspect) Confluence 7+ beta users will need to set an interim configuration option. As time moves on (or if something else is suggested ahead of time), we can try to find a better way to deal with these two design styles.
To discuss actual changes to the translator to support Confluence's new design style... the first issue, which (IMHO) is the biggest "blocker", is finding a way to properly indent content for published documents. At this time, I have yet to find a solution. CONFCLOUD-65755 does mention changes to deal with idented action items which could expose capabilities to allow us to indent content again, but this is an assumption. I made a request in Atlassian's developer community to see if anyone else knows of a solution -- maybe this may spawn something. I doubt we will ever see support for nested tables again (UI support was removed in 2017, and in 2019 it appears the new storage format parse no longer accepts it; see also CONFCLOUD-58656).
I am partially hesitant to manage any new changes at this time until we find a proper solution for this indentation limitation. While it is unfortunate that some of this pull requests are being put on hold, I would rather not have to commit a large amount of time to support the new series of changes to only find out that Confluence's new builds just do not like to play nicely with external generators (although, maybe I am too fixed on the idea that paragraph formatting is more important than it is).

this makes a lot of sense, unless atlassian decides on a long term support
for these features, it's a bad idea to spend a lot of time to adapt to them.
Thanks!
On Wed, Oct 9, 2019 at 4:25 AM James Knight notifications@github.com
wrote:

Testing out various changes to handle future Confluence changes, some
things will be manageable and some will not. In wondering the best way to
approach translator changes to handle Confluence's redesign, I am currently
leaning towards introducing a temporary configuration entry which when
introduced, will publish documents in the "new style". This will allow
existing users to continue as is with their Confluence server installations
with no changes. Confluence Cloud users and (I suspect) Confluence 7+ beta
users will need to set an interim configuration option. As time moves on
(or if something else is suggested ahead of time), we can try to find a
better way to deal with these two design styles.
To discuss actual changes to the translator to support Confluence's new
design style... the first issue, which (IMHO) is the biggest "blocker", is
finding a way to properly indent content for published documents. At this
time, I have yet to find a solution. CONFCLOUD-65755
https://jira.atlassian.com/browse/CONFCLOUD-65755 does mention changes
to deal with idented action items which could expose capabilities to allow
us to indent content again, but this is an assumption. I made a request
https://community.developer.atlassian.com/t/how-to-indent-content-with-new-page-format-2019/32401
in Atlassian's developer community to see if anyone else knows of a
solution -- maybe this may spawn something. I doubt we will ever see
support for nested tables again (UI support was removed in 2017, and in
2019 it appears the new storage format parse no longer accepts it; see also
CONFCLOUD-58656 https://jira.atlassian.com/browse/CONFCLOUD-58656).
I am partially hesitant to manage any new changes at this time until we
find a proper solution for this indentation limitation. While it is
unfortunate that some of this pull requests are being put on hold, I would
rather not have to commit a large amount of time to support the new series
of changes to only find out that Confluence's new builds just do not like
to play nicely with external generators (although, maybe I am too fixed on
the idea that paragraph formatting is more important than it is).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sphinx-contrib/confluencebuilder/issues/229?email_source=notifications&email_token=ABI6FAB447I2HMXA66NZMHTQNUXHLA5CNFSM4IQZA7AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWFJZA#issuecomment-539776228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABI6FAFCR2WS6KDQT3ZDK6LQNUXHLANCNFSM4IQZA7AA
.

Performing a validation test on the most recent Confluence Cloud and Confluence Server 7.1 beta shows that various capabilities have been restored. One minor tweak has been queued up (#238) to deal with at least one observed issue. It is unknown at this time what is going to happen, but will assume for the best based on recent observations. An oddity observed with validation results do show that some pages will render new admonitions styles while some render older admonitions styles -- so who knows if new issues may arise in the future.
Will be trying to ramp-up work to address some pull requests soon. In the event that during this work it appears new style changes do not appear to be a major issue anymore, this issue will most likely be closed. If new concerns related to styling issues arise, they will be addressed here.

While performing release testing for the v1.2 release, there did not appear to be any major issues for Confluence Cloud (and server variants). There is still a suspicion that the new Confluence page type will become the "default" page type in the future, which will most likely require some changes.
Since this is not an immediate concern, closing this issue for now.

authors: jdknight liorella

repo: sphinx-contrib/confluencebuilder


text:
confluence_ask_password=0 not working on 1.3

Hello,
My documentation is generated though a Jenkins robot.
This command works in 1.2 but does not in 1.3, thus killing all the automation. From my documentation reading it should still work.
Did I miss something ?
 make SPHINXOPTS="-D confluence_ask_password=0 -D confluence_server_pass=MY_PASSWORD" confluence

As the config param are no more initialized the SPHINXOPTS are interpreted as strings. The PR fixes the issue (Setting it back on what is was on 1.2)

As the config param are no more initialized the SPHINXOPTS are interpreted as strings. The PR fixes the issue (Setting it back on what is was on 1.2)

As the config param are no more initialized the SPHINXOPTS are interpreted as strings. The PR fixes the issue (Setting it back on what is was on 1.2)

As the config param are no more initialized the SPHINXOPTS are interpreted as strings. The PR fixes the issue (Setting it back on what is was on 1.2)

Apologies -- recent configuration changes did not take into account of the type hinting in the add_config_value call.
I will address this hopefully tomorrow or the next day; with the goal of having a v1.4 quick release this weekend available for next week.
If you have not yet locally patched a workaround for your environment, the following workaround may work for you (if it helps):
make SPHINXOPTS="-D confluence_ask_password= -D confluence_server_pass=MY_PASSWORD" confluence

Apologies -- recent configuration changes did not take into account of the type hinting in the add_config_value call.
I will address this hopefully tomorrow or the next day; with the goal of having a v1.4 quick release this weekend available for next week.
If you have not yet locally patched a workaround for your environment, the following workaround may work for you (if it helps):
make SPHINXOPTS="-D confluence_ask_password= -D confluence_server_pass=MY_PASSWORD" confluence

@jdknight My Jenkins file is currently using latest published release through pipenv.
Thanks for the heads up and the proposed workaround. I can wait for the next release  with the current timeframe.
We will publish the doc by "hand" for the time beeing.

@jdknight My Jenkins file is currently using latest published release through pipenv.
Thanks for the heads up and the proposed workaround. I can wait for the next release  with the current timeframe.
We will publish the doc by "hand" for the time beeing.

Corrections to accepting boolean/numerical configuration entries from the command line are now available on the main branch (via #430) and should be made available next stable release (v1.4).

Corrections to accepting boolean/numerical configuration entries from the command line are now available on the main branch (via #430) and should be made available next stable release (v1.4).

v1.4 is now available on PyPI -- marking as closed.

v1.4 is now available on PyPI -- marking as closed.

@jdknight : thanks a lot for keepeing me uptodate !

@jdknight : thanks a lot for keepeing me uptodate !

authors: ExaneServerTeam jdknight


text:
Error when using role :ref:

Using composite roles with :ref: gives an error in sphinx
ERROR: no such role: ref

To reproduce:
In Sphinx, make the following heading declaration:
.. _somestuff:

My section
==========

This works ok:
Have a look at :ref:`somestuff`

But when using the composite role in conf.py:
comboroles_roles = {
    "literal_ref": ["literal", "ref"],
}

This gives the error:
Have a look at :literal_ref:`somestuff`

ERROR: no such role: ref

OBS
I already made a workaround using this approach but opened this issue following this recomendation. Thanks for this great extension!

Hello, What's the version of the extension? It should be fixed in v1.0.0.a1

I have reproduced it, thanks for the report

#3 should work for you.

Try ==1.0.0b0', see also: https://sphinx.silverrainz.me/comboroles/examples.html#cross-references-ref-doc-and-more

@SilverRainZ  Thanks for the quick reply!
It is working now!

authors: Diogo-Rossi SilverRainZ

repo: sphinx-notes/comboroles


text:
[Delta Lake Direct] Query on a large databricks dataset (hundreds G) returns nothing

Describe the bug
Query on a large databricks dataset (hundreds G) returns nothing
To Reproduce

ask @y-f-u for databricks dataset details
include the dataset in spicepod
spice run, the dataset should be loaded
spice sql
select * from dataset
no result is returned, and query finished immediately

Evaluated at the following version, with a 160GB+ data being queried from Databricks using delta mode, this issue cannot be reproduced. Therefore mark as closed
CLI version:     v1.0.0-rc.2-build.63fd16ff
Runtime version: v1.0.0-rc.2-build.63fd16ff

authors: Sevenannn y-f-u

repo: spiceai/spiceai


text:
TextBoxSuggestions in DataGrid causes HUGE memory allocation, blocks main thread

I've been trying to figure this out for a while now, and I can't seem to solve it.
I have your TextBoxSuggestions in a datagrid cell, and as I'm building the grid, the more rows i have the more it just blocks and freezes, until all rows are in.
in a DG with about 150 rows, I shoot up from 500mb to 1.3gb in memory usage, so I think it's duplicating my source list of 23,000 string possibilities for each of the two cells per row that have the TBS control.
it seems to be automatically running the search function on each one, and that blocks until it searches the contents and completes it.
can this run async?
can it reference the same list instead of duplicating?
how would I change it?
I tried to make a modified version of things from your sourcecode, thinking if i just pulled out a copy into my own project, then changed things to use IAsyncEnumerable instead or Task, I could get it to not block, but alas, upon doing that, The textbox wouldn't show up period, while still allocating heaps on the heap, and blocking the main thread.
does this have to do with the 300ms delay? is that stopping it ?
it seems to go much worse the more rows I have, so it's obviously doing it in series instead of parallel, and I'm not sure if it's something I'm doing that is making it chew through one at a time, or if it's inherent to the control in some way I'm not influencing?
please let me know what your thoughts and recommendations are!
Thank you!!

@WillEhrendreich I assume that TextBox.Text is set during the UI initialization. That causes a TextChanged event which in turn triggers a search. In your case that is happening several hundred times at the same time. That's pretty much work for any CPU. After a search the UI is the bottleneck, because it can only be changed by the main thread. So paralellization cannot help out here.
I will prevent this initial search, because it seems unnecessary to me. I have the feeling, that it's more the TextBoxSuggestions control's fault than of your code.

ok.. how do I stop that event from triggering a search right away?

@WillEhrendreich I need to change the search trigger inside the TextBoxSuggestions control (see commit above).
The 300ms delay is meant to avoid unnecessary searches with each and every key hit. Otherwise five key hits would trigger five searches. With the delay, if you type fast enough, the actual search will only be triggerd once after the fifth key hit.
The source list can be shared for all controls. Consider setting the same ITextBoxSuggestionsSource for every control or let the ITextBoxSuggestionsSource read from the same list.

@WillEhrendreich Please try the latest pre-release v4.0.0-a01 and check if you get a better performance in your app.

authors: WillEhrendreich spiegelp

repo: spiegelp/MaterialDesignExtensions


text:
Testing - Ignore

Just for testing....

Testing complete and feedback incorporated to the other pr. Closing.

repo: spiffe/helm-charts


text:
Extension causes VSCode corrupt install message to appear

After installing and enabling this extension, the following message is shown by VSCode:

I observed this on both Windows and macOS.

Closing as duplicate of #3.

repo: spikespaz/vscode-smoothtype


text:
skewed generalized t

https://discourse.mc-stan.org/t/ideas-for-modeling-systematically-skewed-outliers/636/7

functions{
  real sgt_lpdf(vector x, real mu, real s, real l, real p, real q)
  { // Skewed generalised t
    int N = dims(x)[1];
    real lz1 = lbeta(1.0 / p, q);
    real lz2 = lbeta(2.0 / p, q - 1.0 / p);
    real v = q^(-1.0/p) * inv_sqrt( ( 3 * square(l) + 1 ) * exp(lbeta(3.0/p, q - 2.0/p) - lz1) - 4 * square(l *exp(lz2-lz1)) );
    real m = 2 * v * s * l * q^(1.0/p) * exp(lz2 - lz1);
    real out1 = N * (log(p) - log(v) - log(s) - lmultiply(1/p, q) - lz1);
    real out2 = 0;

    for (n in 1:N) {
      real r = x[n] - mu + m;
      if (r < 0)
        out2 -= log1p((-r)^p / (q * (v * s * (1 - l))^p));
      else
        out2 -= log1p(r^p / (q * (v * s * (1 + l))^p));
    }
    return fma(out2, (1/p + q), out1);
  }

    real sgt_slow_lpdf(vector x, real mu, real s, real l, real p, real q) {
    // Skewed generalised t
    int N;
    real lz1;
    real lz2;
    real v;
    real m;
    real r;
    real out;
    N = dims(x)[1];
    lz1=lbeta(1.0/p,q);
    lz2=lbeta(2.0/p,q-1.0/p);
    v=q^(-1.0/p)*((3*l^2+1)*exp(lbeta(3.0/p,q-2.0/p)-lz1)-4*l^2*exp(lz2-lz1)^2)^(-0.5);
    m=2*v*s*l*q^(1.0/p)*exp(lz2-lz1);
    out=0;
    for (n in 1:N) {
      r=x[n]-mu+m;
      if (r<0)
      	     out=out+log(p)-log( 2*v*s*q^(1.0/p)*exp(lz1)* ( fabs(r)^p /(q*(v*s)^p*(l*(-1)+1)^p)+1 )^(1.0/p+q) );
      else
      	     out=out+log(p)-log(2*v*s*q^(1.0/p)*exp(lz1)*(fabs(r)^p /(q*(v*s)^p*(l*(1)+1)^p)+1)^(1.0/p+q));
    }
    return out;
  }

}
data {
  int<lower=0> N;
  vector[N] x;
  int flag;
}
parameters {
  real mu;
  real<lower=0> sigma;
  real<lower=-.99,upper=0> l;
  real<lower=1,upper=10> p;
  real<lower=3.0/p,upper=p*50> q;
}
model {
  mu ~ normal(0,9.0/sqrt(N));
  l ~ normal(0,.5);
  p ~ lognormal(log(2),1);
  q ~ gamma(2,0.1);

  if(flag == 0)  x ~ sgt_slow(mu, sigma, l, p, q);
  else x ~ sgt(mu, sigma, l, p, q);
}

library(cmdstanr)
library(sgt)

N <- 300
x <- rsgt(N, mu = 0, sigma = 1, lambda = 0, p = 2, q = Inf,
          mean.cent = TRUE, var.adj = TRUE)

sgt_mod <- cmdstan_model("../distributions/sgt.stan")

fit <- sgt_mod$sample(
  data = list(N = N,
              x = x,
              flag = 1),
  parallel_chains = 2,
  chains = 2,
  init = 1,
  seed = 12312,
  adapt_delta = 0.8,
  max_treedepth = 10,
  iter_sampling = 500,
  iter_warmup = 500
)

This is slightly faster
 real sgt_lpdf(vector x, real mu, real s, real l, real p, real q)
  { // Skewed generalised t
    int N = num_elements(x);
    real z1 = beta(1.0 / p, q);
    real z2 = beta(2.0 / p, q - 1.0 / p);
    real v = q^(-1.0/p) * inv_sqrt( ( 3 * square(l) + 1 ) * beta(3.0/p, q - 2.0/p) / z1 - 4 * square(l * z2 / z1) ) ;
    real m = 2 * v * s * l * q^(1.0/p) * z2 / z1;
    real out1 = N * (log(p) - log(v) - log(s) - lmultiply(1/p, q) - lbeta(1.0 / p, q));
    real out2 = 0;

    for (n in 1:N) {
      real r = x[n] - mu + m;
      if (r < 0)
        out2 -= log1p((-r)^p / (q * (v * s * (1 - l))^p));
      else
        out2 -= log1p(r^p / (q * (v * s * (1 + l))^p));
    }
    return fma(out2, (1/p + q), out1);
  }

closed with #45


text:
Visibility of panel

I am trying to load a page with the rStats panel hidden. I do $('.rs-base').hide(); after loading jquery and rStats but the panel shows up. What am I missing?

You are probably trying to hide rs-base BEFORE the rsStats object is actually created. The rs-base element is not added to the DOM until you call new rStats().

And you just bumped it. I had no idea this issue was here, either :(

The panel is NOT showing no matter what I tried and I even copied the code exactly from the source of your demo page to my project, I even modified the way I called render etc because your tutorial page is omitting critical parts (I got all shorts of errors missing this, missing that... a lousy job on the tutorial). After I resolved all the errors it still didn't appear.  It appeared momentarily at the bottom of the page a couple of times when I was resizing the window.  Obviously you need to figure out the different cases eg I'm using canvas a lot.  I wasted my time with this shit -back to browser benchmarks.

@cbabc what exactly is the reaction you expect here?

@spite
None. I just provided feedback for the creator -quality and consequences .
No software, is better than bad software. Free is never free when unexpectedly has a high cost: our precious time.

authors: cbabc doggan gaitat spite

repo: spite/rstats


text:
Doc improvement - spfs config remote

Is your feature request related to a problem? Please describe.
Following the doc chapter installation and bootstrapping option1 result in:
spk build python.spk.yaml
 INFO rendering template for python
 INFO saving package recipe for python/3.11.9
 INFO collecting sources for python/3.11.9
 INFO Validating source package contents...
 INFO Committing source package contents...
Error: spfs::unknown_remote (https://spkenv.dev/error_codes#spfs::unknown_remote)

  × No remote named 'origin' configured
  help: See available remotes via the 'spfs config' command

Error:   × Failed to spawn spfs-render
  ╰─▶ process exited with non-zero status

ERROR spfs::generic (https://spkenv.dev/error_codes#spfs::generic)

  × Failed to collect sources
  ╰─▶ Failed to re-mount runtime filesystem: spfs-enter --remount failed with code Some(1)

Describe the solution you'd like
I guess a step is missing in the documentation to setup spfs config remote before building package

Thanks for this! I've put in a few changes to not require the config file which I think is better for reducing friction overall

authors: doubleailes rydrman

repo: spkenv/spk


text:
fix misspelling

Changes
That's a simple misspelling in example of auth.getApiToken.
Status

[Yes] These changes have been tested and documented properly.
[No] This pull request introduces some breaking changes.

Looks great


text:
View controller: Add API for cancelling an ongoing selection

In the Spotify app, we want to cancel ongoing selections when a custom gesture recognizer is triggered.

Current coverage is 92.42% (diff: 0.00%)

No coverage report found for master at 9f9fc83.

Powered by Codecov. Last update 9f9fc83...c78238d

authors: JohnSundell codecov-io

repo: spotify/HubFramework


text:
com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/html

Failed to execute goal com.spotify:docker-maven-plugin:1.2.2:build (build-image) on project  server-admin: Exception caught: Request error: GET http://192.168.43.68/version: 200:com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/html, type=class com.spotify.docker.client.messages.Version, genericType=class com.spotify.docker.client.messages.Version. ->

dockerfile-maven-plugin + Harbor

repo: spotify/docker-maven-plugin


text:
Upgrade netty to 4.1.5 with exclusion for google-cloud

The version of netty pulled in by pubsub has a memory leak.

https://ghe.spotify.net/build/tc-to-audit/pull/14
https://groups.google.com/forum/#!topic/grpc-io/4wHa_fxaT-Q
https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1433

Current coverage is 51.39% (diff: 100%)

Merging #1049 into master will increase coverage by <.01%

@@             master      #1049   diff @@
==========================================
  Files           275        275
  Lines         13081      13081
  Methods           0          0
  Messages          0          0
  Branches       1694       1694
==========================================
+ Hits           6722       6723     +1
  Misses         5856       5856
+ Partials        503        502     -1

Powered by Codecov. Last update 7cf7c05...b16272d

authors: codecov-io davidxia

repo: spotify/helios


text:
Adding user as a config option (.snakebiterc)

For when your remote hdfs user is not the same as your local user.
The API was already there, I just passed 'user' along in the config.

At Spotify we had a discussion around this to not expose this deliberately because we don't want people to run as other people. If we do expose this, we should also add a command line flag (-u?).

I see. So, are we pending adding the -u flag or you guys don't want to expose it atm regardless?

@ravwojdyla what do you think?

So we discussed it before partially also in #63 (there is some code there as well), honestly I personally changed my mind a bit on this, whether we like it or not impersonation is a feature (that other people may want to use), moreover there are proper security options in place (aka impersonation settings and kerberos). I'm :+1: to effective user in config/cli.

@dterror could you rebase this on master, so we can merge this in?

Rebased

lgtm -> merge.

thanks @dterror !

authors: dterror ravwojdyla wouterdebie

repo: spotify/snakebite


text:
Cannot run spree....

It seems as though when I'm using this gem, spree will not load.  Not sure why, but here's the stack trace of what's going on.
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from class:Engine at /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/bundler/gems/spree_paypal_express-bea1aa48e008/lib/spree_paypal_express.rb:5)
/Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/railtie/configuration.rb:77:in method_missing': undefined method spree' for #Rails::Application::Configuration:0x00000100b9fbd0 (NoMethodError)
from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/bundler/gems/spree_paypal_express-bea1aa48e008/lib/spree_paypal_express.rb:16:in block in <class:Engine>' 	from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:25:in instance_exec'
from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:25:in run' 	from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:50:in block in run_initializers'
from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:49:in each' 	from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:49:in run_initializers'
from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/application.rb:134:in initialize!' 	from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/application.rb:77:in method_missing'
from /Users/jason/Sites/ror/cvstore/config/environment.rb:5:in `<top (required)>'
When I comment out that gem from my Gemfile, everything loads perfectly.  Any thoughts or ideas as to what I can do to get this to work?  Thanks so much!

Again, I think you are using wrong version of spree_ppx, please make sure you run the version that is compatible, check the spree_ppx's Versionfile
Sent from my iPhone
On 13/10/2011, at 8:55 AM, Jason Resnickreply@reply.github.com wrote:

It seems as though when I'm using this gem, spree will not load.  Not sure why, but here's the stack trace of what's going on.
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from class:Engine at /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/bundler/gems/spree_paypal_express-bea1aa48e008/lib/spree_paypal_express.rb:5)
/Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/railtie/configuration.rb:77:in method_missing': undefined method spree' for #Rails::Application::Configuration:0x00000100b9fbd0 (NoMethodError)
from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/bundler/gems/spree_paypal_express-bea1aa48e008/lib/spree_paypal_express.rb:16:in block in <class:Engine>'    from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:25:in instance_exec'
from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:25:in run'    from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:50:in block in run_initializers'
from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:49:in each'    from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/initializable.rb:49:in run_initializers'
from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/application.rb:134:in initialize!'    from /Users/jason/.rvm/gems/ruby-1.9.2-p180@cvstore/gems/railties-3.0.5/lib/rails/application.rb:77:in method_missing'
from /Users/jason/Sites/ror/cvstore/config/environment.rb:5:in `<top (required)>'
When I comment out that gem from my Gemfile, everything loads perfectly.  Any thoughts or ideas as to what I can do to get this to work?  Thanks so much!
--
Reply to this email directly or view it on GitHub:
https://github.com/spree/spree_paypal_express/issues/12

Ok, so I looked in the Versionfile on github and see for 0.50 there's a specific ref.  How do I put that in my Gemfile?

When I run bundle install, it says
Using spree_paypal_express (1.0.1) from git://github.com/spree/spree_paypal_express.git (at master)
and I'm running spree 0.50.0
I do appreciate any help as I'm totally dead in the water right now, thanks so much for your help!

Sorry for the newb question - I should've google'd first -- I got it and ran the bundle install and rails s started right up -- thanks so much!

Hello @Rezzz-dev, where you find how to run and start right up?

authors: joneslee85 mdhany rezzz-dev


text:
nacos can't register service

The version used is as follows：
1、Spring cloud alibaba 0.2.1.RELEASE and spring cloud alibaba 0.2.2.BUILD-SNAPSHOT version,
2、nacos-server-0.9.0 and nacos-server-1.0.0-RC1
3、nacos-client-0.2.1.RELEASE and nacos-client-0.2.2.BUILD-SNAPSHOT

Nacos-Server 1.0.0-RC1 is not compatible with Nacos-Client before 1.0.0-RC1, you need to use the same verison of Nacos-Sever and Nacos-Client.

we recommend to use the latest version , I've update nacos version to 1.0.0-RC1 in this commit.https://github.com/spring-cloud-incubator/spring-cloud-alibaba/commit/fc724a505694a7a7aa5412f6c555fe3027805db6

also register failed, client and server is the same version to 1.0.0-RC1

authors: SoyMeng flystar32 yekl


text:
GH-1: Make compatible with Hibernate Validator

Fixes https://github.com/spring-cloud-stream-app-starters/redis-pubsub/issues/1
Looks like the latest Hibernate Validator polled transitively by
Spring Boot (6.0.10) has some race condition around methods
introspection and our isKey() (or isQueue(), isTopic()) might be
erased from the BeanMetaDataImpl.unconstrainedExecutables because of
the key (queue, topic) property extrapolation via
ReflectionHelper.PROPERTY_ACCESSOR_PREFIXES

Rename all the is...() in the RedisSinkProperties into the
is...Present() to overcome a Hibernate Validator issue

That's a tricky one. Glad you were able to figure it out!

Looks good. Glad this issue is resolved. Thank you @artembilan.
PR merged.

authors: artembilan sabbyanandan sobychacko


text:
How to disable spring.config.import settings in the TestFiles?

Hi,
If I use the spring.config.import=optional:configserver in my application.yml (and no bootstrap.yml)
then I'm facing the following issue:
How can I deactivate the spring.config.import in my test classes??
It does not work with properties disabling like "spring.config.enabled=false"
I need to test without configserver.
Please advise

Did you forget to provide the issue?

I want to keep the TestCases and my StandardRuntime in the Spring Default Profile wich contains:
spring.config.import=optional:configserver
If I run my tests (without having the config server startet), the Test fail because it tries to use the config server. But for the TestCase there is no need to get the yml-config file from the ConfigServer - it works without it..
Best regards
Stefan

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.
From my understanding that is not supposed to happen.

Hi,
i created https://github.com/Miles-Ahead-Digital/milesahead/tree/master
you can  verify that the spring-profiles do not have any impact on the selection of the values served
Check the Readme.
Best regards
Stefan

@Miles-Ahead-Digital Not sure I understand how this sample demonstrates the issue.  Your original problem stated that you were having problem with tests failing due to the conig server not running.  I don't see how this sample reproduces that problem.

Hi,
I added a TestCase in the Demo Module. Please read the instruction in the projects readme.
Best regards
Stefan

The problem you are having is because you are using the wrong properties in your application.yam.  Change it to this and everything works
spring.application.name: demo

spring:
  config:
    import: optional:configserver:http://localhost:8888/

message: default-local

---
spring:
  config:
    activate:
      on-profile: test3

message: test3-local

---
spring:
  config:
    activate:
      on-profile: test10

message: test10-local

Thanks for correction. Of course this must be applied also to the files in the config-repo folder too.
The good thing is that the config server serves now the configuration as expected. Try
http://localhost:8888/demo/test1
http://localhost:8888/demo/test2
http://localhost:8888/demo/test3
http://localhost:8888/demo/test4
if you start the demo service without profile the default profile config
http://localhost:8888/demo/default is served correctly.
Check http://localhost:8080/message.
But starting the demo service with any other profile than default we get this error:
Property 'spring.config.activate.on-profile' imported from location '[ConfigServerConfigDataResource@6d8792db uris = array['http://localhost:8888/'], optional = true, profiles = list['test4']]' is invalid in a profile specific resource
This has already been reported:
https://github.com/spring-cloud/spring-cloud-config/issues/1788
If it is the same issue, you can close this one as a duplicate.
Thanks
Stefan

Agree appears to be the same

authors: Miles-Ahead-Digital ryanjbaxter

repo: spring-cloud/spring-cloud-config


text:
Multiple Content-Length values found: [229455, 229455]

Describe the bug
Throw Multiple Content-Length values found in Spring Cloud Hoxton.SR12
The above error seems to occur for files that can be executed in the browser, such as mp3, wav, and webm.
Browsers: Chrome, Safari, Edge.
When an error occurs, the first request is as follows.
# Request Header
:method: GET
:path: /small.webm
:scheme: https
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
accept-encoding: gzip, deflate, br
accept-language: ko,en;q=0.9,en-US;q=0.8
cache-control: no-cache
pragma: no-cache
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="96", "Microsoft Edge";v="96"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
sec-fetch-dest: document
sec-fetch-mode: navigate
sec-fetch-site: none
sec-fetch-user: ?1
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.57

# Response Header
accept-ranges: bytes
cache-control: max-age=86400
content-length: 229455
content-type: video/webm
date: Fri, 17 Dec 2021 14:08:30 GMT
last-modified: Fri, 17 Dec 2021 13:53:49 GMT
referrer-policy: no-referrer
strict-transport-security: max-age=31536000 ; includeSubDomains
vary: Origin
vary: Access-Control-Request-Method
vary: Access-Control-Request-Headers
vary: Origin
vary: Access-Control-Request-Method
vary: Access-Control-Request-Headers
x-content-type-options: nosniff
x-frame-options: DENY
x-xss-protection: 1; mode=block

the second request is as follows.
# Request Header
:method: GET
:path: /small.webm
:scheme: https
accept: */*
accept-encoding: identity;q=1, *;q=0
accept-language: ko,en;q=0.9,en-US;q=0.8
cache-control: no-cache
pragma: no-cache
range: bytes=0-
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="96", "Microsoft Edge";v="96"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
sec-fetch-dest: video
sec-fetch-mode: no-cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Sa

# Response Header
cache-control: no-cache, no-store, max-age=0, must-revalidate
content-length: 136
content-type: application/json
expires: 0
pragma: no-cache
referrer-policy: no-referrer
strict-transport-security: max-age=31536000 ; includeSubDomains
vary: Origin
vary: Access-Control-Request-Method
vary: Access-Control-Request-Headers
x-content-type-options: nosniff
x-frame-options: DENY
x-xss-protection: 1 ; mode=block

Is there anything else we need to check?
Sample
java.lang.IllegalArgumentException: Multiple Content-Length values found: [229455, 229455]
	at io.netty.handler.codec.http.HttpUtil.normalizeAndGetContentLength(HttpUtil.java:595) ~[netty-codec-http-4.1.65.Final.jar:4.1.65.Final]
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):

요청
:method: GET
:scheme: https
:path: /small.webm
Accept: */*
Range: bytes=0-1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15
Accept-Language: ko-kr
Accept-Encoding: identity
Connection: Keep-Alive
X-Playback-Session-Id: 6D4BA566-6BF6-4B87-9237-DE1D4F70AC5A

응답
:status: 500
Pragma: no-cache
Content-Type: application/json
X-Content-Type-Options: nosniff
Expires: 0
Vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers
X-Frame-Options: DENY
X-XSS-Protection: 1 ; mode=block
Referrer-Policy: no-referrer
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Length: 135
Strict-Transport-Security: max-age=31536000 ; includeSubDomains

Is there a way to apply allowDuplicateContentLengths without upgrading the Reactor Netty version?
https://github.com/netty/netty/blob/c08beb543a6b8db0c7f3cee225042361b4025e4c/codec-http/src/main/java/io/netty/handler/codec/http/HttpUtil.java#L555-L560
It has been confirmed that when the allowDuplicateContentLength parameter is applied,
it is treated as a single value if the same value is given to the Content-Length.
Unfortunately,  the version of Hoxton.SR12, confirmed that allowDuplicateContentLengths cannot be applied.
Add HttpDecoderSpec#allowDuplicateContentLengths in reactor-netty v1.0.8.
It was not possible to simply upgrade the Reactor Netty version to 1.0.8.
according to the Release train spring boot compatibility information, spring boot 2.3.x is compatible with Hoxton.
in order to use 2020.0 instead of Hoxton, you must upgrade to Spring Boot 2.4.x.
Since i confirmed that the above issue do not occur in Spring Boot 2.4.x and Spring Cloud 2020.0 environments, there is no way to handle duplicate Content-Length values in Hoxton version.
This is actually not supported by Netty, which is being used in Hoxton version, so close this issue.

Reactor Netty v0.9.25.RELEASE, the last planned release of Reactor Netty in the Dysprosium Release Train.

repo: spring-cloud/spring-cloud-gateway


text:
Change retry filter to allow empty status and series config when exceptions is not empty.

Fixes gh-352.

Looks like the predicates return false when the collections are empty. We can add an empty check at the beginning of the predicates and return false in the predicate or alternatively skip the applicable predicate altogether. Would there be a noticeable performance difference to justify complicating the code with the latter option? @spencergibb

There is probably a better way to disable the retries. Looking forward to feedback.

Rebased. Looks like @spencergibb is already working on this class and he will probably take care of this more elegantly, if he decides to keep this feature.

Squashed and merged with some polish via https://github.com/spring-cloud/spring-cloud-gateway/commit/cb7dbaeff412ff4c33e29a3ce1c0df7bfae064c7

authors: arkin spencergibb