text:
[community feedback requested] Kong native Declarative Config format

Hi everyone,
We are in the process of designing a native declarative configuration format to be used in Kong (a long time community ask: #528, #1465, ...). We just posted a first draft in Kong Nation:
https://discuss.konghq.com/t/rfc-kong-native-declarative-config-format/2719
Any and all feedback is welcome!

Hi.
Do I get it right, that the main focus is on keeping the configuration for all the services/routes/... in one single source of truth (say, git repo)? Do you consider alternative options (like autodiscovery and autoregistration for k8s services, based on some standardized k8s annotations/labels/... convention)?
Thanks.

@illyaMs we want declarative config to be usable with and without k8s, so we are starting with a "plain" JSON/YAML/Lua format. The syntax is isolated on the first layer of the declarative config programming, so adding more parsers in the future shouldn't be extremely difficult. We accept and appreciate pull requests!

Hi,
declarative configuration is definitely a great improvement towards infrastructure as a code. After some considerations we want to propose some further improvements or fine tuning:
support parsing without a running kong instance:
this would make it easier to build an automated delivery pipeline where the configuration is maintained in an e.g. git repository. A standard build server could perform a parse before a merge of a feature branch or before a deployment to kong without the need to be able to access the Admin API (which could for security reasons be forbidden for a build server which is used for checking the new configuration)
support for multiple configuration files:
this would enable to separate configuration of different services into different files, especially with larger configuration this can potentially increase the overview of the relevant parts for a service.
this would further allow to separate sensitive configurations for certain plugins, i.e. acl plugin.
personally I see two different approaches, either only a solution like textual import aka include or something like modules (based on services?) where the separation has semantics, too.

Declarative config has already been released.

Hey folks, is there any appetite for the multiple configuration files @danielwagn3r suggested?
@dndx  @hishamhm
Cheers

authors: andrecp danielwagn3r dndx hishamhm illyaMs kikito

repo: Kong/kong


text:
How to get response body in post-function plugin? like get JWT or rate-limiting plugin return response body.

when i call kong.service.request.enable_buffering() on rewrite,  call local body = kong.service.response.get_body() in body_filter() phase，it's cause a error:
2021/07/19 16:48:10 [error] 7903#0: *2305 failed to run log_by_lua*: [string "local body = kong.service.response.get_body()"]:1: service body is only available with buffered proxying (see: kong.service.request.enable_buffering function)
stack traceback:
	[C]: in function 'error'
	/usr/local/share/lua/5.1/kong/pdk/service/response.lua:308: in function 'get_body'
	[string "local body = kong.service.response.get_body()"]:1: in function 'func'
	...cal/share/lua/5.1/kong/plugins/pre-function/_handler.lua:26: in function 'f'
	...cal/share/lua/5.1/kong/plugins/pre-function/_handler.lua:59: in function 'log'
	...cal/share/lua/5.1/kong/plugins/pre-function/_handler.lua:124: in function <...cal/share/lua/5.1/kong/plugins/pre-function/_handler.lua:123>
	/usr/local/share/lua/5.1/kong/init.lua:249: in function 'execute_plugins_iterator'
	/usr/local/share/lua/5.1/kong/init.lua:1240: in function 'log'
	log_by_lua(nginx-kong.conf:96):2: in main chunk while logging request, client: xxxx, server: kong, request: "GET /demo HTTP/1.1", host: "xxxxxx:8000"

Kong Version: 2.2.0
it's there wrong for the kong.service.request.enable_buffering() use or it's ther have other API can get the response body?
Hope anybody can answer my question, thanks~

Hello @XJShane, there's two things you need to know.

First one is that the place to get the full buffered body when buffered proxying is active is inside the response phase (not on the body_filter phase).
At the same time, the post-function plugin is still not capable of fully using this feature, since it has no response phase. A plugin can not have both response and header_filter or body_filter active at the same time. The reasons are very implementation-dependent. We are aware about this limitation and currently working on providing alternatives for this.

In the meantime, if you really want to get the body of a response in the post-function plugin, you have to use the body_filter phase, without activating proxied buffering. On that mode, the response body is divided into chunks, and put into ngx.arg. body_filter gets invoked once per chunk (several times per request). Using ngx.arg you can aggregate the whole body once the last chunk gets passed around, and then use it.
Here's an example of a custom plugin which aggregates the chunks and when the last one is received, it concatenates them, uppercases them and sends them over.
https://github.com/Kong/kong-plugin-uppercase-response/blob/master/kong/plugins/uppercase-response/handler.lua#L10

@kikito Thanks for you feeback, since JWT or Rate-limiting plugin return 401&429, then the access phase don't excute in post-function plugin.  If i have a custom plugin and PRIORITY = -900, it's possible that my custom plugin excute the access or response phase? then i can get the response body in response phase.

source: gharchive/issue

authors: XJShane kikito

license_type: permissive

license_source: github-api


text:
chore(cluster) head request to version negotiation

Summary
We do not use /version-handshake endpoint, just send a simple HEAD request to /v1/wrpc,
If it works then we use wrpc, else we fall back to websocket + json.
Full changelog

Add a new function head_request_version in  version_negotiation/init.lua
Change the behavior of functioin request_version_negotiation
Check the result in init_worker

this has the same issue that forced us to move version negotiation as a wRPC service and not as a HTTP request:  the websocket and http client libraries won't use the same connection, so there's no guarantee both will go to the same server.
PR #8775 implements the inline negotiation and does the equivalent of this PR: "try the wRPC connection and fall back to old protocol if it can't connect"

@javierguerragiraldez What is the advantage of "keeping the connection on the same backend server". It seems to be very fragile and I don't know why would anyone want to deploy their CP cluster this way.

@javierguerragiraldez What is the advantage of "keeping the connection on the same backend server".

Otherwise it requires shared state even before establishing the connection, as the CP has to carry the negotiation result from one event to another.  If there's no guarantee that it's the same CP node, it has to be in a database.
When it's part of the wRPC itself, on the other hand, it seamlessly activates the right services (and version) for the connection, without any convoluted state management.

source: gharchive/pull-request

authors: chronolaw dndx javierguerragiraldez


text:
chore(package) upgrade dompurify to 2.3.10

The dompurify@2.0.7 currently used by swagger-ui is vulnerable to XSS attacks.
This pull request upgrades the dompurify to the latest version–2.3.10.
References:

https://security.snyk.io/vuln/SNYK-JS-DOMPURIFY-1016634
https://www.cve.org/CVERecord?id=CVE-2020-26870

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

authors: CLAassistant SumiMakito

repo: Kong/swagger-ui


text:
[HydraDX] Add support for more tokens on HydraDX

If you want to integrate an asset (fungible token/ NFT), you would need to provide

Name
Symbol
Metadata
Logo
Transferable
Coingecko

Phala
PHA
Link
Link
Yes
Link

KILT Protocol
KILT
Link
Link
Yes
Link

Zeitgeist
ZTG
Link
Link
Yes
Link

Crust Network
CRU
Link
Link
Yes
Link

Darwinia Network
RING
Link
Link
Yes
Link

Unique Network
UNQ
Link
Link
Yes
Link

Documents and references:
Please attach all sources of the information you provided above

https://app.hydration.net/liquidity/all-pools

PHA: 7NFiPe5YtXATAtNWvWuNqmPeYu8YWdNdXF7jzZbr7dgkD1Tc
KILT: 7LVyHM3kqQaeGXMpedzdaNn3dNYcXfVi76Ne4hWeVSjCDkcF
ZTG: 7JP5mxd9Lwajp7cbPF4emGnSiLLz3o1JcTobQcqeVz7r2qeQ
CRU: 7N2YhULaNEhm1N2QXkNMCCmGfXgarn974Jjdg6ZxEovd6SCv
RING: 7NgQAyCDLxkKbozbchue7mpTA6Y2QTH7gATXHQSt7Ya9EC5J
UNQ: 7NUJFMR9WkJKhnYXBVMT9zohSs8ijGtBZwjv8zkwtcPhNMQc

Resolved in https://github.com/Koniverse/SubWallet-Extension/issues/3214

authors: Mabel-Nguyen Sokol142196 bluezdot

repo: Koniverse/SubWallet-ChainList


text:
Bug show duckduckgo instead of show dapp in browser in case deeplink containing special charactors

What to do:

Only check protocol and domain to choose which search engine or domain for browsing
Support decode encoded string in browser search

What to test:

Test on both encoded and decoded deeplink
Test on both encoded and decoded search string in browser search

Version test: PR #1120 11:55 04/10/2023
Device test: IP 11, Samsung S20 FE 5G
Validation passed in case:

Open dapp in app browser
Token detail

https://github.com/Koniverse/SubWallet-Mobile/assets/117999489/6188170d-b88c-4c7d-b347-d714bfc937df

repo: Koniverse/SubWallet-Mobile


text:
Bootstrap導入

Closed #11

レイアウトの修正、日本時刻の設定、フォーマット追加

license: MIT


text:
Install issues

I can connect my rPi to the GoPro wifi, and send commands via curl http://10.5.5.9/.....  but, the wifi times out on the gopro after about 5 minutes.  So i thought that the gopro-py-api might be the way to go.
cloned it to the Pi, but fails on running setup.py on line 1.  Something about setuptools.  So i installed setuptools, but still errors.  The Pi has Raspbian Stretch Lite installed and  Python3.
I'm pretty certain that it will be something that i'm doing wrong.
My goal is simply to be able to send a shutter activation command to the gopro in burst mode 10 frames/3 seconds).
Where am i going wrong?
Many thanks

Hi KonradIT
I've made some progress!  I had to install pip3 and then install.
Python is a bit of a learning curve... so I was going to run the Motion app with a pi-camera, and on movement detect, send a shutter command.
Progress so far... connect to GoPro wifi, run the keepalive.py (didn't install ffmpeg but its only need to run in the background to keep the wifi on and it seems to do that)
and then, can open another terminal and either python in and send commands... running an active session and commands are quick, but calling a script seems to take about 7 seconds?  alternatively, keep alive in the background and then curl http commands.
thanks

Hi, im trying to install goprocam but i get this error:
ERROR: Command errored out with exit status 1:
command: 'c:\users\eduardo\appdata\local\programs\python\python37-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py", line 5, in
with open("version.json", "r") as ver:
FileNotFoundError: [Errno 2] No such file or directory: 'version.json'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
What can i do? thanks

Seconded on above error, will try from git

Fixed in 3.0.9

authors: KonradIT Lalorrs Timvrakas dcurzon1973

repo: KonradIT/gopro-py-api

license: mit

license_source: bigquery


text:
Help about discord sever

I am trying to join your server, but the link indicates that it has expired. It says ''This is not a valid invitation.''

use browser

try "cottonbuds" code invite

authors: NirRuhid XianFish123 sabala

repo: Korepi/Korepi


text:
Adicionando a Valemobi

Hoje utilizamos Kotlin na maioria dos projetos WEB e alguns projetos de processamento

@fernandok4 Obrigado pela contribuição!

repo: Kotlin-BR/kotlin-no-backend


text:
Toasts, doAsync{}, and  uiThread, function calls no longer work with Android studio 3.3

gradle-4.9-all.zip
classpath 'com.android.tools.build:gradle:3.3.0-alpha06'
doAsync{}/uiThread{}
Cannot access class 'Ljava.util.concurrent.Future;'. Check your module classpath for missing or conflicting dependencies
Cannot access class 'Lkotlin.Function1;'. Check your module classpath for missing or conflicting dependencies
Type inference failed: fun  T.doAsync(exceptionHandler: Function1;<Throwable, Unit>? = ..., task: Function1;<AnkoAsyncContext;, Unit>): Future;
Toasts:
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public inline fun Fragment;.toast(message: CharSequence): Toast; defined in org.jetbrains.anko
public inline fun Fragment;.toast(message: Int): Toast; defined in org.jetbrains.anko
public inline fun Context;.toast(message: CharSequence): Toast; defined in org.jetbrains.anko
public inline fun Context;.toast(message: Int): Toast; defined in org.jetbrains.anko
public inline fun AnkoContext;<>.toast(message: CharSequence): Toast; defined in org.jetbrains.anko
public inline fun AnkoContext;<>.toast(message: Int): Toast; defined in org.jetbrains.anko

Task :commons-android:compileDebugKotlin FAILED

If you're comfortable with Canary builds, you can still use Android Studio 3.3 Canary Build 5. The errors occur when using the Canary Build 6 and Gradle Alpha 6.
Also experiencing the same problem. IDE was throwing some errors though I haven't really changed my code, except for the  necesaarybuild.gradle to match Gradle dependencies (Alpha 6).
To add, Context.alert functions to do not seem to work as well.

Same error...

Yeah Iam at Android Studio 3.4 and still they havent found a sloution to this issue its driving me crazy.Still doAsync and uiThread dont work.

authors: OleksiiAndroid erniealice krishna-incrypto ozzy4654

repo: Kotlin/anko


text:
Apache Feather Categorical Data Type like in Pandas

Hey I would like to save my enums as Categorical Values in an Apache Feather file.

Hi, our Arrow writer doesn't currently support such a type, but you could try to make a proof of concept yourself to see if it's possible at all :)

@Jolanrensen I'd love to. What is the current contributor situation for this project? Is this a JetBrains employees only project?

@StartedFromTheButton Anyone is free to join :) All the help is welcome, as seen in the contribution guide. Of course, the maintainers have the final say in what to merge and when, but anyone can make issues or PRs :).

Slightly relevant: We recommend users to use https://github.com/Kotlin/dataframe/blob/master/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/enum.kt whenever they use enums for easier String->Enum and Enum->String conversions in DF. If it's relevant for you, try to incorporate it :).

authors: Jolanrensen StartedFromTheButton

repo: Kotlin/dataframe


text:
Add nestedRowsLimit parameter to DisplayConfiguration

By default DataFrame<T>.toHTML() renders only first 20 rows of the dataset. We can override it by supplying a DisplayConfiguration object with desired rowsLimit.
However if dataset contains FrameColumn those nested datasets are rendered with hard-coded 5 rows limit and there is no way of changing it.
This PR adds nestedRowsLimit parameter to DisplayConfiguration used to limit rendered rows number of nested datasets in FrameColumn.
Also it allows to use Int.MAX_VALUE as a sentinel value to turn the limit off in order to render complete dataset.

Good idea! :D

authors: Jolanrensen pacher


text:
SHA3 extended function variable output.

According to NIST.SP.800-185 , the extended functions should all have L (desired number of bits to output) as an input to produce variable length output when digest (or doFinal for Macs) is called. It specifies L as an input parameter for producing L / 8 bytes of output. The derived functions KMAC, TupleHash and ParallelHash are to rightEncode this value and then apply it before producing output. When the functions are being utilized as XOFs, this value will be 0 to indicate an arbitrary length.
After looking around at some different implementations (go, rust), I only see the option to utilize SHAKE, CSHAKE and functions derived from CSHAKE, as having the ability to be used as XOFs and skipping the customization of L all together.
As the publication specifies L as a function input, I believe the best course of action is to add the customization via an additional constructor which can be utilized when the default digest length is not wanted.
public class CSHAKE128: SHAKEDigest {
    public constructor(
        N: ByteArray?,
        S: ByteArray?,
        outputByteLength: Int,
        // ...
    )
}

I see in BouncyCastle that they simply have on their Xof interface the doFinal and doOutput functions which provides this functionality, but holy shit does it wreak havoc on the implementations. I am very happy that I went with the XofDelegate route for a clean separation of concerns.

Also, L can be 0 which would return an empty string. Digest would need an update b/c currently passing digestLength of 0 throws an exception. Digest should only throw exception if it's less than 0.

Also, L can be 0 which would return an empty ByteArray. Digest would need an update b/c currently passing digestLength of 0 throws an exception. Digest should only throw exception if it's less than 0.

See https://github.com/KotlinCrypto/core/issues/30#issuecomment-1501116146

repo: KotlinCrypto/hash


text:
Support for unknown variables

Implemented support for getting no value for a variable and treating it as null. Evaluating x + y will be null if either x or y is unknown and not throw an error anymore.

IFunction has new property CanHandleNullArguments. Set to true if the function needs and/or recognizes IsNull values. Set to false to let the code set the result automatically to IsNull if any argument for the function is null.
Added IfNull() and NullIf() functions to handle null values inside your formulas! =>  IfNull(x,-1)<0 will be TRUE if x is unknown at evaluation time.
NULL as text in a formula will be interpreted as a variable set to null, so =>  IfNull(null,1)  will evaluate to 1
Results from Calcxxx are now changed to reflect nullable outcomes => double?, bool?,..
New EvaluatorValueTypeKey Null.  Can be checked with IsNull property
default(EvaluatorValue) and default(InternalEvaluatorValue) will be treated as a null  value
implicit conversions with double?, datetime?, .. added
Added testcases for Null handling
Added VariablesUsed() function with some overloads to get a list of the variables a formula contains
Fixed equals comparison for non number values
Added Benchmark for evaluating solely evaluating performance (common usecase=> parse once, evaluate again and again with new values)

Documentation is not yet updated

Ok, will fix. Is there an easy way to get the same settings in my visual
studio?
On Sun, 17 Jul 2022 at 21:02, Vitaly @.***> wrote:

@.**** requested changes on this pull request.
Can't review other files until you fix namespace design
In
NoStringEvaluating.Extensions.Microsoft.DependencyInjection/NoStringEvaluating.Extensions.Microsoft.DependencyInjection.csproj
https://github.com/KovtunV/NoStringEvaluating/pull/4#discussion_r922882385
:

@@ -37,4 +36,8 @@

Don't change this file pls, it should refer to nuget
In NoStringEvaluating/Contract/INoStringEvaluator.cs
https://github.com/KovtunV/NoStringEvaluating/pull/4#discussion_r922882650
:

@@ -5,416 +5,417 @@
using NoStringEvaluating.Models.Values;
using NoStringEvaluating.Nodes.Common;

-namespace NoStringEvaluating.Contract;
-///
-/// Expression evaluator
-///
-public interface INoStringEvaluator
+namespace NoStringEvaluating.Contract
Don't change design for namespaces, please, fix in all files. Have you
rebased successfully?
—
Reply to this email directly, view it on GitHub
https://github.com/KovtunV/NoStringEvaluating/pull/4#pullrequestreview-1041172708,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5YHTTOTPZMZXSZ4BQNEFLVURKFZANCNFSM532DWHSQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok, will fix. Is there an easy way to get the same settings in my visual studio?

To change namespace design? Yes, it should be in Visual Studio

To rebase I fetched upstream from the master and that has the 'old' namespace design.  If I change the namespace design in visual studio and apply that it will also apply all my other code formatting settings. I see no option in vs to selectively apply only  the namespace design change. Could you run your coding style settings over the pull request and re-commit?

To rebase I fetched upstream from the master and that has the 'old' namespace design. If I change the namespace design in visual studio and apply that it will also apply all my other code formatting settings. I see no option in vs to selectively apply only the namespace design change. Could you run your coding style settings over the pull request and re-commit?

is it possible? Think will make MR to your master branch with these fixes

If you think that works better please do that. I have been on GitHub for a
while but have only recently started contributing and using PR and such.
On Fri, Jul 22, 2022, 07:42 Vitaly @.***> wrote:

To rebase I fetched upstream from the master and that has the 'old'
namespace design. If I change the namespace design in visual studio and
apply that it will also apply all my other code formatting settings. I see
no option in vs to selectively apply only the namespace design change.
Could you run your coding style settings over the pull request and
re-commit?
is it possible? Think will make MR to your master branch with these fixes
—
Reply to this email directly, view it on GitHub
https://github.com/KovtunV/NoStringEvaluating/pull/4#issuecomment-1192204041,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5YHTVSKOWO2CHMONC6EALVVIYDLANCNFSM532DWHSQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: IvoTops KovtunV

repo: KovtunV/NoStringEvaluating


text:
Distribute to hockeyapp suddenly failing

In version 1.6.0 I could successfully upload to hockeyapp by using the following settings.
ipa(
      workspace: "APPNAME.xcworkspace",
      configuration: "Beta",
      scheme: "Beta",
      destination: "build",
      identity: "Company BV",
      clean: true,
    )

hockey(
      api_token: "OUR_TOKEN",
      ipa: './build/APPNAME.ipa',
      notes_type: "1",
      notes: changelog,
    )

After upgrade (1.7.0) I get to following error:
Error when trying to upload ipa to HockeyApp: {"status"=>"error", "message"=>"App could not be created."}

Didn't touch anything and the app still lives in HockeyApp. Only thing that I changed is the ruby version (2.2.2).
EDIT
Tried to upload with the curl command from hockeyapp docs:
curl \
> -F "status=2" \
> -F "notes=Manual curl upload" \
> -F "notes_type=0" \
> -F "ipa=@APPNAME.ipa" \
> -F "dsym=@APPNAME.app.dSYM.zip" \
> -H "X-HockeyAppToken: API_TOKEN" \
> https://rink.hockeyapp.net/api/2/apps/APP_TOKEN/app_versions/upload

upload seems to work but can't install. Error: Unable to Download App.

So the upload work but you can't install it on your device? That sounds a lot like a code signing issue.

Well... It only works if I use the curl command from terminal. Upload doesn't work with the hockeyapp command from the fastfile.

it happened to me just delete the app and recreate it on hockey and you are done

I had this problem as well, but it went away when I gave the hockey action the application's public_identifier parameter.

I had the same error message and public_identifier worked for me too. Thanks!

Great to hear :+1:

Same here. public_identifier is required.

Just so this doesn't happen: https://xkcd.com/979/ for when someone comes along and sees this: My Hockey uploads were working fine and then suddenly stopped working. The reason is that I changed my app's bundle ID, which means the referenced HockeyApp app no longer is associated, so it was trying to upload it to an App ID that doesn't exist. I fixed it by editing my HockeyApp app to match my new bundle ID of my actual app.

authors: BobObiPayleven KrauseFx MarkMolina clooth jjepsen micnguyen soffes

repo: KrauseFx/fastlane


text:
🛑 BKP is down

In 228c0ec, BKP (https://bjoernkurtenbach.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BKP is back up in cd6c916 after 11 minutes.

repo: KrisKodira/uptime-monitor


text:
Pls Help

Bro can you please tell if we have to add admin and user app in the same firebase project or different one?
Please mention the steps bro

Yes, we need to add user and admin app to same firebase project.
I will update  the readme.

authors: Krish-Parekh WorkingYashSharma

repo: Krish-Parekh/JobSpot


text:
cant have more than 4 currencys

Describe the Bug
i try to add to the list of currency's, it then deletes the last currency i added
Reproduction Steps
1.adding "minecraft:gold_ingot" (for example) to the list of currency's
2.save the file
3.re open the file
4.its not there anymore
Expected Result
to have the currency in the list
Screenshots and Videos
https://github.com/Kryeit/Missions/assets/58529249/11719ed9-c407-4feb-ad2e-ad0fe5eec925
Crash Report or Log
No response
Operating System
windows 10
Mod Version
0.3.2
Create Mod Version
0.5.1f
Minecraft Version
1.20.1
ModLoader and Version
fabric 0.15.10
Other Mods
there was no crash
Additional Context
No response

well this is weird, no idea what's happening here
Seems an issue with your Visual Studio stuff not saving?
Does this issue happen with any other file, or do you still have this issue?

Currently it only does it with that specific file
So I'm not sure if it is the saving that's the problem :(

Is the server running? If so, you need to stop it, edit and save the file and start the server again

No it is not running, it's a single player world I'm doing tests in so that it can be added to a server

The same applies, if the world is open in your minecraft client

Atleast I think so

It isn't open 😅
In the vid you can see there is no Minecraft icon at the bottom, I made sure it wasn't open when I recorded it

if it isnt open, missions mod is not running. That means that it's likely an issue in your pc/VSCode bug/ something

Hmm, I'm unsure of another file editing thing like the one I have.
I'll look around tho

Looks like it was an issue with the thing that edits the file, just using notepad works
Very strange that it doesn't work with that specific file

authors: Cornbread0022 MrRedRhino muriplz

repo: Kryeit/Missions


text:
🛑 Kuerbis is down

In 1e574cb, Kuerbis (https://kuerbis.cf) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kuerbis is back up in 303ef71.

repo: Kuerbis-HD/Kuerbis-Web-Status


text:
🛑 Kuerbis is down

In b723e48, Kuerbis (https://kuerbis.ovh) was down:

HTTP code: 503
Response time: 386 ms

Resolved: Kuerbis is back up in 6c8668f.


text:
出现海报生成的时候不能保存也不报错的问题

既不进入成功回调也不进入失败回调也没有进入失败回调，权限也没有获取？
saveImgToLocal() {
      console.log(444444)
      const that = this;
      setTimeout(() => {
        console.log('that.canvasWidthInPx', that.canvasWidthInPx)
        console.log('that.canvasHeightInPx', that.canvasHeightInPx)
        wx.canvasToTempFilePath({
          canvasId: 'photo',
          destWidth: that.canvasWidthInPx,
          destHeight: that.canvasHeightInPx,
          success: function (res) {
            that.getImageInfo(res.tempFilePath);
            console.log('6666-请求成功', res)
          },
          fail: function (error) {
            console.log('77777-请求失败', error)
            console.error(canvasToTempFilePath failed, ${JSON.stringify(error)});
            that.triggerEvent('imgErr', {
              error: error
            });
          },
        }, this);
      }, 300);
    },

使用Taro框架的吗？

authors: Little-Ghosts im-oss

repo: Kujiale-Mobile/Painter


text:
yankpad-category

Can we set a default category for major-modes that don't have a section defined?

That was a quick fix! I've added so that if you have a category named Default it will be used if no major-mode specific category is found. You probably want to add the :global: tag to this as well, so that its always available even if a major-mode specific category is found (but I guess it depends on your use case).

Thanks for the super quick fix, that's awesome!

authors: Kungsgeten indigoviolet

repo: Kungsgeten/yankpad


text:
写下一部童话 - Kuntai Du posts

https://kuntaidu.github.io/2020/07/28/写童话.html
PhD是夹在学生和社会之间的一类群体。被裹挟在其中的我，在这短短一年内就尝到了不少从前没有尝到过的滋味。一年前的我也许根本不知道，被他人看到，理解甚至赞同，是一件需要付出多少努力的事。在research的过程中，也许只有一半的时间在做实验，剩下的一半时间（甚至更多）要花在如何让叙述变得线性，如何用故事吸引人，如何...

读到第二段想疯狂握手的那种深有感触 TT
正在赶一篇Infocom, 最初的intro被老板批的一无是处“Don't attack people's smartness, just say that "We are thinking differently" not "We are smarter than you"
您一针见血的point学习到了👍

authors: KuntaiDu lesleychou


text:
Add Greatest Common Divisor in C++

Greatest Common Divisor in C++
Description:
The greatest common divisor (GCD) of two or more numbers is the greatest common factor number that divides them, exactly. It is also called the highest common factor (HCF).
Problem with take two integer values and find the GCD of them.

Hi @Kushal997-das,
Please assign this issue to me, under hacktoberfest24.

Hi @Kushal997-das,
I have not added the code for this problem yet, can you please re-open this issue and assign it to me so that I can contribute to this problem and raise a PR corresponding to this issue.


text:
Title: Text-Based Emotion Detection Using Machine Learning

Initiative (Required)
GSSoC (Girl Script Summer of Code) 🌸
Is your proposal related to a problem? Please describe.
The project aims to create a machine learning-based application capable of detecting emotions from textual input. This will involve preprocessing text data, building a classifier model, and implementing a user interface to display emotion predictions. The project will focus on providing accurate results for emotions like joy, sadness, anger, fear, and others.
Key Features:
Text Preprocessing: Tokenization, removal of stopwords, and stemming/lemmatization.
Model Training: Using algorithms like Logistic Regression or Support Vector Machines for classification.
User Interface: An interactive frontend for users to input text and receive emotion predictions.
Documentation: Clear steps for installation and usage, plus an overview of the ML pipeline.
Add any other context or screenshots about the proposal request here.

I am mentor of this project.
Hello @Balaji91221
I appreciate your pull issue , can you give working video and thank you for your contribute!!!

Definitely i will send as soon as possible

@SakiraAli1115
https://drive.google.com/file/d/1ycwN-Ez039GnlXf2OXzSQoCgM02edyff/view?usp=sharing

Hi @SakiraAli1115,
Could you please review my pull request at your earliest convenience? I’m available to make any adjustments as needed and would love to help move this forward.
Thank you so much for your time!


text:
feat: impl custom manifests output in the KCL UI and add more UI tests

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

feat: #94

Add the UI impl of custom manifests output and more UI tests.

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

unit test suites: test_custom_manifests_output at kclvm/runner/src/tests.rs

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build 3528894628

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.712%

Totals

Change from base Build 3528771084:
0.0%

Covered Lines:
1369

Relevant Lines:
1526

💛  - Coveralls

authors: Peefy coveralls

repo: KusionStack/KCLVM


text:
fix: package global variable reference in schema

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

fix #380

2. What is the scope of this PR (e.g. component or file name):

kclvm/compiler/src/codegen/llvm/context.rs
kclvm/compiler/src/codegen/llvm/module.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[x] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

test/grammar/import/import_package_module_2/main.k

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build 3902582955

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.712%

Totals

Change from base Build 3901329018:
0.0%

Covered Lines:
1369

Relevant Lines:
1526

💛  - Coveralls


text:
Feat: The resource insight page supports the logs and events，can be refreshed dynamically

What would you like to be added?
The resource insight page supports the display of [logs] [events] and can be refreshed dynamically.
Why is this needed?
Dynamic viewing of resource logs and events can help users troubleshoot problems.

When releasing this feature, the corresponding documentation should also be updated.

authors: elliotxx ruquanzhao

repo: KusionStack/karpor


text:
shapes, Creator - Web design #427

https://images01.nicepagecdn.com/page/43/45/html-template-434507.jpg Design a shapes, like the above image
Create a file "shapes,NUM_by(YourName).html" in the modules/shapes, folder.
Use simple HTML and CSS and JAVASCRIPT to create the shapes, animation. You can use the interface development https://roynek.com/kwickerhub/WebCraftifyAI/pages/dashboard.html (This project) or you can write the lines of code yourself. You can review and merge your PR yourself. simply follow the guide on accepting a PR at the bottom. It is simple but if you do have any issues with reviewing the PR, you can then reach out to the Admins.
Step by Step Guide on Contributing.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "shapes,NUM_YOUR_NAME.html" in the "modules/shapes," folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/shapes,/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
<div>
    <!---YOUR CODE---->
</div>

<style>
    /* YOUR STYLE */
</style>

<script>
    // YOUR SCRIPT if any
</script>

The goal of this issue is to create modules that other people/dev/designers can use or easily import into their projects. Avoid the desire to style all elements in the page by using codes like:
<style>

*{

}
/* OR */

div, a, h1, pre{

}

</style>

use classes or id to style the elements to avoid a collision of styles.
Remember to make your module usable across different screens(Make your design responsive).
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Accepting Pull Request
This Issue has the auto-review so you can review and merge your code yourself. when you have made your PR, click this link: https://roynek.com/alltrenders/codes/theWorld.php?post_id=181 and then follow the few steps outlined to get your PR merged..
If this project looks promising or interesting to you, you can use the watch button or the star button above to keep an eye out for new developments.
Good-luck and thank you.

Hi @NtemKenyor ,
I am working on this issue.

repo: KwickerHub/WebCraftifyAI


text:
Switch to prop-types library per React v15.5 deprecation

Pretty simple update to avoid deprecation warnings for people on React v15.5 and prepare for React v16

@KyleAMathews - friendly ping 😄  Any chance we can pull this in and release a new version on npm?

Looks great, thanks!

Released 2.1.2

authors: KyleAMathews audiolion wschurman

repo: KyleAMathews/react-spinkit


text:
The test protocol of the reported result

Thanks for your job. I would like to know the test protocol of the reported result, such as single/multi query, with/without re-ranking

single query, without re-ranking

On Aug 8, 2018, at 16:19, wlw208dzy notifications@github.com wrote:
Thanks for your job. I would like to know the test protocol of the reported result, such as single/multi query, with/without re-ranking
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/L1aoXingyu/reid_baseline/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ASWpwMDN4mb4mSIEXQ5-hqJc-dE5uqK9ks5uOp8XgaJpZM4Vze3I.


text:
🛑 Staging - Timetables API - Bus Routes is down

In f638d62, Staging - Timetables API - Bus Routes (https://stage-timetables-api.metroservices.io/api/v1/agencies/LACMTA/routes/?format=json) was down:

HTTP code: 200
Response time: 339 ms

Resolved: Staging - Timetables API - Bus Routes is back up in 134552d after 10 minutes.

repo: LACMTA/uptime


text:
Use of "orderedItem" property to nest Activities

It's hard (for me) to tell what is happening in the 3.2 Deprecate activity examples. There seems to be nested Create and Update Activities within a Deprecated Activity. It’s unclear how they are related.
According to https://www.w3.org/TR/activitystreams-core/#collections, orderedItem seems to be for OrderedCollections and OrderedCollectionPages, not for nesting Activities within Activities. This is maybe illustrated in how 3.2 example has 2 totalItems, but the stream actually has 4 activities.
Do we need to nest related activities if we can just order them in a single stream? According to the documentation activities "MUST be sorted in date-time order in the orderedItems property with the earliest change in the set appearing first and most recent change in the set appearing last." This suggest to me we don't need to nest the activities.
E.g.
"orderedItems": [
{
"type": "Create",
"object": "http://example.org/Milk"
},
{
"type": "Deprecate",
"object": "http://example.org/milk"
“seeInstead”: "http://example.org/Milk"
},
{
"type": "Create",
"object": "http://example.org/BovineMilk"
},
{
"type": "Create",
"object": "http://example.org/CowMilk"
},
{
"type": "Create",
"object": "http://example.org/Science"
}
]

Propose close won't fix -- I think we have decided not to used nested or otherwise tightly coupled activities, see also #68

authors: sfolsom zimeon


text:
Tabs within Sinopia close when browser is refreshed

Browser: Firefox
Environment: Stage and Production
When multiple (more than one) resource templates are opened within Sinopia (using the new tabbing feature) and you refresh the page, all RTs other than the one you are currently on are closed.
This could cause users to lose data if they forget to save.

Hi, even if you have only one resource template open and you refresh, you lose what's there if you hadn't saved. Was there a reason you needed to refresh while working?

Ah of course. There wasn't a critical issue that needed a refresh, I was just having lookup issues and unconsciously refreshed the page. It was a little frustrating going back and reopening the tabs, but isn't a big issue. Just thought I'd bring it up!

I added this to the Known Issues page, thanks for reporting it!

authors: a-cohen michelleif


text:
Adds the default literal value if it exists

Fixes #196

Gets default Literal value from property template and sets the "defaults" state with that data, plus any rdf-related properties that get passed in (bnode and propPredicate)
Adds a test for this new feature
Minor formatting of InputListLOC
adds a default literal to the Barcode resource template so we can see that this is working.

Coverage increased (+0.4%) to 84.951% when pulling 67f486db1461c218362679f06ed4d40237034b2a on default-literal into 9a92ed9d814026a5b4118e92c5b9fbc3bbb859a3 on master.

authors: coveralls jgreben


text:
Framework: New parameter: ResourceCleanup (Replaces 2 parameters)

Following parameters are removed -

DoNotDeleteVMs
ForceDeleteResources

And combined them into one parameter -
-ResourceCleanup <Default/Keep/Delete>
Description:
"Default" = If test is PASS then delete resources else preserve for analysis.
"Keep" = Preserve resources for analysis irrespective of test result.
"Delete" = Delete resources irrespective of test result.

Do not merge this PR untill all people (handling linuxpipeline) are aware of this change.
Will communicate over email.

Before this patch is merged, we have to make sure all the pipeline owners give their sign off.
@LiliDeng @lizzha please sign off if the change does not affect you or if you are prepared to update the pipelines when this patch gets merged.

Please wait until we release the next stable before merging this, it will be picked up in the next month's one to allow enough time to include it.

Will resolve the conflict tomorrow.

Conflicts are resolved.

@iamshital document this change in README and comment in the source code inside.

@LiliDeng please be ready to update the pipeline jobs when this PR is merged

Done for update linuxpipeline and penguinator Jenkins sites

@iamshital Could you please run testing, and post results here?

@LiliDeng , Sure.. will update the results today.

@iamshital I am doing testing now if you not start yet.

Done for testing.
-ResourceCleanup Delete -> run failed case, it also delete the RG
-ResourceCleanup Default -> run failed case, it keep the RG
-ResourceCleanup Keep -> run pass case, keep the RG
without specify this parameter, run a pass case, delete the RG

@iamshital I am doing testing now if you not start yet.

@LiliDeng Thank you so much Lili.

authors: LiliDeng ader1990 chvalean iamshital juhlee-microsoft lizzha


text:
Feature/lit 3125 sdk for wrapping up walletx 2

WIP

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Ansonhkg:x: DashKash54You have signed the CLA already but the status is still pending? Let us recheck it.

TODO: Add test for generating Solana privateKey Lit Action

TODO: Use Uint8Array instead of strings wherever possible

Added a diagram to the description @DashKash54 @spacesailor24 @joshLong145

authors: Ansonhkg CLAassistant DashKash54

repo: LIT-Protocol/js-sdk


text:
关于图床能否说明下,在同样的halo+chevereto图床的条件下以相同的方式调用随机图？

目前使用的 Sakura 版本？
2.2.1
目前使用的 halo 版本？
2.15.1
建议/问题
1.能否提供较为详细的配置说明提供参考吗？
2.使用随即图API的情况下经常会出现图片加载出错，裂掉无法加载
3.能否支持对halo本身的图库内进行随机展示？
4.部分需要窄图作为横幅显示的情况下能否对图片进行筛选，指定一个图库或者指定比例的图片，避免拉伸显示效果异常，无法正常暂时全部图片

先回答一下标题的问题，答案是不能。当前默认提供的 API 接口是我基于自己的 chevereto 图床适配的，需要读取到此图床的数据库（主要是 chevereto 没有提供 API，因此只能通过读取数据库的方式来处理)。
再来回答下面的问题：

根据上述所言，没有办法提供详细的配置说明。且目前 API 还未开源。
可能是由于图床问题，当前图床环境在本地，且使用了 IPV6，因此部分环境下可能会导致图片无法访问。但部署在本地对我而言负担会很低，不需要考虑网络资源问题。
如果有对应的插件来提供 Halo 自身图库的随机 API，就能够支持。主题本身也提供了第三方接口的方式。
这种情况过于特殊，不考虑支持。建议使用适配于当前分辨率的图片而不是使用窄图强行进行适配宽图，或者相反。

1.目前并不是很清楚API具体是如何工作，只是知道API一般是指调用请求什么的，之前有请教过使用兰空图床的情况下能否实现，兰空图床是具备API接口的是否能够根据这样的API进行小幅度修改就能适配随即图？
4.应该可以专门设定一个图库来调用比较方便，想实现这样的效果可能还是需要有个特定比例的图库，主要在文章顶部的图显示大多不完全，仅能显示一半

1.目前并不是很清楚API具体是如何工作，只是知道API一般是指调用请求什么的，之前有请教过使用兰空图床的情况下能否实现，兰空图床是具备API接口的是否能够根据这样的API进行小幅度修改就能适配随即图？ 4.应该可以专门设定一个图库来调用比较方便，想实现这样的效果可能还是需要有个特定比例的图库，主要在文章顶部的图显示大多不完全，仅能显示一半

API 工具的原理可以看我的文章 https://lixingyong.com/archives/随机图片api 。目前 API 时支持第三方调用的，因此只需要按照上述方式适配即可。
目前我所提供的 API 是支持指定目标图库范围的。

1.目前并不是很清楚API具体是如何工作，只是知道API一般是指调用请求什么的，之前有请教过使用兰空图床的情况下能否实现，兰空图床是具备API接口的是否能够根据这样的API进行小幅度修改就能适配随即图？ 4.应该可以专门设定一个图库来调用比较方便，想实现这样的效果可能还是需要有个特定比例的图库，主要在文章顶部的图显示大多不完全，仅能显示一半

API 工具的原理可以看我的文章 https://lixingyong.com/archives/随机图片api 。目前 API 时支持第三方调用的，因此只需要按照上述方式适配即可。
目前我所提供的 API 是支持指定目标图库范围的。

这边也提供下兰空图床的说明，我也自行补习下api调用相关的说明

repo: LIlGG/halo-theme-sakura


text:
Toolbox is broken in RTL

Expected Behavior
Workspace renders properly in RTL
Actual Behavior
Switching to RTL in the vertical playground fails with these errors:
flyout_base.js:609 Uncaught TypeError: Cannot set property 'length' of undefined
    at Blockly.VerticalFlyout.Blockly.Flyout.recordCategoryScrollPositions_ (flyout_base.js:609)
    at Blockly.VerticalFlyout.getMetrics_ (flyout_vertical.js:211)
    at Blockly.WorkspaceSvg.getWidth (workspace_svg.js:830)
    at Object.Blockly.Xml.blockToDomWithXY (xml.js:86)
    at new Blockly.Events.Create (block_events.js:226)
    at Object.Blockly.Xml.domToBlock (xml.js:586)
    at Blockly.VerticalFlyout.Blockly.Flyout.show (flyout_base.js:506)
    at Blockly.Toolbox.showAll_ (toolbox.js:209)
    at Blockly.Toolbox.populate_ (toolbox.js:186)
    at Blockly.Toolbox.init (toolbox.js:135)

Steps to Reproduce
Open the vertical playground and switch to RTL mode.
Operating System and Browser
Any

@ericrosenbaum I just assigned myself to this issue instead since I'm fixing this as part of #1544.

@kchadha and I dug into this for a bit.
The root problem is that the create event for a block in RTL mode includes a call to getMetrics:
/**
 * Encode a block subtree as XML with XY coordinates.
 * @param {!Blockly.Block} block The root block to encode.
 * @param {boolean=} opt_noId True if the encoder should skip the block ID.
 * @return {!Element} Tree of XML elements.
 */
Blockly.Xml.blockToDomWithXY = function(block, opt_noId) {
  var width;  // Not used in LTR.
  if (block.workspace.RTL) {
    width = block.workspace.getWidth();  <--------
  }
  var element = Blockly.Xml.blockToDom(block, opt_noId);
  var xy = block.getRelativeToSurfaceXY();
  element.setAttribute('x',
      Math.round(block.workspace.RTL ? width - xy.x : xy.x));
  element.setAttribute('y', Math.round(xy.y));
  return element;
};

This happens as soon as the first block is created, and before layout has happened.  getMetrics in the flyout causes a call to recordCategoryScrollPositions_, which ~ uses the number of buttons as a count for the number of categories.  At this point no buttons exists, so the list of categories is empty.  This code fails:
  this.categoryScrollPositions[numCategories - 1].length = 0;
@kchadha fixed this by adding a check for an empty list of categories, and skipping work in that case.
As a related problem, the category scroll position code made a simple (no categories) flyout not work.  That should also be fixed by the recent change.
This is more generally symptomatic of way too many calls to getMetrics while creating the flyout in RTL, which will definitely cause performance problems.  One solution may be to leave positions off create events on blocks that are in the flyout.

authors: kchadha rachel-fenichel

repo: LLK/scratch-blocks


text:
Spacing between fields

We need a plan/spec for the distance between fields in a particular block.

Always use 2 grid units

Resolved

Overviews all spacing

authors: carljbowman tmickel


text:
Use ifx to link examples

Summary
Fixed a build error using oneapi compilers. Fortran examples should be linked with ifx, not icpx.
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/crt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/crt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [axom/quest/examples/CMakeFiles/quest_signed_distance_interface_F_ex.dir/build.make:110: examples/quest_signed_distance\
_interface_F_ex] Error 1

Related: https://github.com/LLNL/axom/issues/803

repo: LLNL/axom


text:
Update Inlet version to remove shared_ptr

Inlet was recently updated to not rely on shared pointers, meaning that we can remove all the messy deferencing when accessing with operator[], for example.
The API should hopefully be more stable from here on out, so we can start look at extending inlet to the other modules.

LGTM

Ran into an issue building TPLs on LC so the LC hostconfigs haven't been updated yet

LGTM

authors: jamiebramwell joshessman-llnl

repo: LLNL/serac


text:
Missing ZFP_VERSION_DEVELOP variable in version.h

Hello @GarrettDMorrison and @lindstro ,
A moment ago, I noticed in the develop branch that the recently introduced variable ZFP_VERSION_DEVELOP in include/zfp/version.h has been removed.
Is this done intentionally or is it a mistake during the merge?
Best regards,
Jan-Willem

@lindstro Ah thanks for explaining it and pointing me to the documentation. I did not expect to work like this, but it is properly documented so I should have read to documentation more carefully.

repo: LLNL/zfp


text:
Rb/electron update 3670

Security update for electron

How Has This Been Tested?
Manual and by running tests
Screenshots (if appropriate):
Checklist:

[ ] My code follows the code style of this project.
[ ] I have reviewed and updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[ ] My commits have been squashed into a concise set of changes.

@mrfelton I tested this on new ubuntu  system, and it did threw the error as below on first try, but was able to connect later for all subsequent attempts.  Also, yarn e2e passed for connecting to the remote wallet. Can you once try to test, please? If it still fails, I think increasing https://github.com/LN-Zap/node-lnd-grpc/blob/master/src/utils/constants.js#L12 to 25 might help. Can you please trigger a build on travis?

@rahulbile we're out of Travis credits atm - working on getting that renewed and will try re-running when possible. But, I have previously tried running this build on travis multiple times and it always failed.
I think it might be an idea to update lnd-grpc repo. Best thing to do might be to make it possible to override the timeouts as part of the LndGrpc constructor and then we can set custom values in zap-desktop. But before doing that we could try a simpler approach to just update the default timeout values.

authors: mrfelton rahulbile

repo: LN-Zap/zap-desktop


text:
Staking Deposit Adresse anzeigen

Aktuell wird in der LOCK Ansicht die Deposit Adresse nicht dargestellt.
Wo könnte man dies tun?
Design Vorschläge?

Ich wuerde hier einfach das GSheet verlinken, z.B. : "Deine Staking Balance anzeigen"

Resolved!

authors: LOCKstaking SwissBlueDragon

repo: LOCKbusiness/api


text:
VpTree does not accept float in knncolle

Hi Aaron,
It seems that VpTree does not accept float value as the std::tuple is hard coded to double.
Here is the code:
https://github.com/LTLA/knncolle/blob/3ad6b8cdbd281d78c77390d5a6ded4513bdf3860/include/knncolle/VpTree/VpTree.hpp#L76
Here is the error when trying to use float for Umap:
/./knncolle/VpTree/VpTree.hpp:150:29: error: no matching function for call to ‘std::tuple<int, const double*, double>::tuple(int&, const float*, int)’
  150 |             items.push_back(DataPoint(i, vals + i * num_dim, 0));

It seems that const INTERNAL_t*, is not being propagated correctly from umap, and it is using the default value causing the above error.
I know this is belong to the knn repo, but it is here when the error is happening.
Any easy solution ?
Many thanks

Hopefully fixed by ff423214adb7aa7128833500f17b42b0fbe3d4d0. Note that VpTree is a decent default for small datasets but you'll probably want to use one of the approximate methods (Annoy or HNSW) for anything larger.

The README has an example:
umappp::Umap x;
knncolle::AnnoyEuclidean<> searcher(ndim, nobs, data.data());
x.run(&searcher, 2, embedding.data());

You might need to add <float> in various places above.
TBH I don't usually use this method signature for run(), as I compute the neighbor list manually and provide it to Umap::run(). This is because I might end up re-using the neighbor list with different UMAP parameters so I just compute the same set of neighbors once and use it across different UMAP runs.
If you want some more inspiration, check out these bindings:

R: https://github.com/LTLA/scran.chan/blob/master/src/run_umap.cpp#L12
Javascript (via Wasm): https://github.com/kanaverse/scran.js/blob/master/src/run_umap.cpp

Perfect, thank you very much, I will keep this open for a while until I have the chance to run it again and let you know if I have any question

authors: LTLA shrit

repo: LTLA/umappp


text:
Create GUI's main screen

Create main screen, add WebSocket handling and some buttons that allow to control it.

TODO:

fix tests
dark/light mode switch

repo: LVala/rtpeeker


text:
39735: Study: Study Properties editor does not scroll/cuts off last f…

…ield when there are several fields
39732: Study: Adding a lookup in the Additional Study Properties does not render in the Study Properties editor

I think the layout issue where the last form element was getting partially truncated was being caused by some of the explicit sizing of form elements to be 30px. I'm not sure if this was necessary and made things like combo boxes look weird because the dropdown trigger image was shorter than the combo box. The easiest solution I found was to not override the height props and just use the default Ext form element heights.

repo: LabKey/platform


text:
codon_usage_psite problem

when i use the command:

example_cu_scatter_2samples <- codon_usage_psite(comparison_list, annotation_dt, sample = c("All", "Only_28"),fastapath = "E:/riboseq/NSP306_trifida_chr_v3.fa",fasta_genome = TRUE,gtfpath='E:/riboseq/NSP306_trifida_chr_v3.gtf',frequency_normalization = FALSE)

Import genomic features from the file as a GRanges object ... OK
Prepare the 'metadata' data frame ... OK
Make the TxDb object ... OK
Error in :=(p_site_codon, as.character(Biostrings::subseq(sequences[as.character(data[[samp]]$transcript)],  :
Check that is.data.table(DT) == TRUE. Otherwise, := and :=(...) are defined for use in j, once only and in particular ways. See help(":=").
how can i slove the problem
thanks

It seems some of the object you passed is not a data.table or doesn't exist.
Is annotation_dt a data table? I guess so.
Do comparison_list[["All"]] and comparison_list[["Only_28"]] exist and are both of them data tables? Maybe not.

i see the 'comparison_list',and change the command:

example_cu_scatter_2samples <- codon_usage_psite(comparison_list, annotation_dt, sample = c("whole_sample", "subsample_28nt"),fastapath = "E:/riboseq/NSP306_trifida_chr_v3.fa",fasta_genome = TRUE,gtfpath='E:/riboseq/NSP306_trifida_chr_v3.gtf',frequency_normalization = FALSE)

then the running is ok, thank you!


text:
RetroAchievements associated platforms messed up.

For whatever reason a bunch of platforms in the RetroAchievements associated platforms section have every platform checked for them, which prevents searching for achievements on all platforms, can be fixed manually, but quite annoying.

Besides that, were you able to get the extension running?
I did the manual association but when i try to download data it says "Object reference not set to an instance of an object".

Yes, other than needing to fix the associated platforms, the extension is working fine.

I already had the latest version at the time, I guess the fix you pushed a month ago didn't fix associated platforms that were already messed up by the original bug.

authors: NoShotz xXThiagoReisXx


text:
Add hostname resolution

Add hostname resolution

Sorry, that's bad.
Maybe it's my personal preferences but using dynamic in Dart should be avoided as much as possible.
Also I will look at different approach to achieve basically same functions. (Should update in next week)
Sorry if that feature required now but newer dart version have broken significant part of code used in this library.

authors: LacticWhale wilinz


text:
Error updating certain mods, related to the modinfo.json

Hello, how are you Laerinok? I've been testing the new version v1.3.6 and it turned out very well, but it seems there's a bug with the modinfo.json identifier. With some mods, it throws an error, but something curious is that it downloads and replaces the mod files. However, in the console, it only throws an error message and doesn't identify that it has been updated. Here are the .logs for you.
By the way, for some reasons, I switched from Windows 11 to Windows 10, and the v1.3.4 that worked fine on Windows 11 gave me errors with all the mods just as it started up, but it got fixed with v1.3.5, so it's quite possible that this error is an incompatibility with Windows 10.
logs.zip

Hello,
I'm fine thanks. And you?
I quickly had a look to the logs files. It seems the pb is about connection to the moddb (TimeoutError: [WinError 10060])
It can occur if the connection is lost or if you are blocked by the site.
I remember you have a lot of mods. Probably the site has anti-scraping code and your manys connections to mods warm it and blocks.
It's just an idea...
I will investigate, but probably not this week-end.
For the other "issue", I am on Windows 10. So I can't test. But indeed it's a strange behavior. If you get more details, I'm curious to know.

I'm doing well, I'm working on translating a couple of mods.
Ummm, the error (TimeoutError: [WinError 10060]) I can't think of what could be causing it. I have 50mb fiber optic internet, and it's very stable, and this is the first time I've encountered this error until now that I switched to Windows 10. Although it's possible that they have implemented anti-scraping code in the last month, I don't rule it out, but the curious thing is that the download reaches 100/100 and right there it gets stuck for a moment and throws the error.
Regarding the other "problem," I'm on Windows 10 and couldn't replicate the error. I think I fixed it because just today I started updating PowerShell, CMD, uninstalling drivers and reinstalling them, etc., so that "bug" is already ruled out.

I have 50mb fiber optic internet,
Well it may sound logic. Your connection is very fast. So the script connects the database very quickly. More than a human would do. So you the request is blocked. I don't know if it's the problem, that's just an hypothesis.
It seems that only the request to test if the link exist makes the issue. The download works. That's why you have the error message but the file is downloaded. So maybe I could delete the test. I don't really know if it is really necessary.
That's the "problem" with learning people. We do things but they are not always good/useful ^^.
I must say that, when I started the script, I never thought I would make such a script neither it would be downloaded so much times.

OK. Glad to know the other problem is fixed :)

Yes, I understand. I came up with a couple of ideas that could fix it:
The first one would be to make the test able to loop in case of an error, and be able to retry validating the link, say, about 2 times, for example.
The other idea is to add a test that detects and validates the start and completion of the download, returning a Boolean value, TRUE if it downloaded correctly, connecting it to the link test, and changing the Boolean value in case the link test encountered an error, also to TRUE.

That's the "problem" with learning people. We do things but they are not always good/useful ^^.
If I understand you completely, I'm also a student, but in web programming. However, I don't entirely agree with you. Sometimes we create things that may seem useless, but it could be that we aren't using them correctly, or they might be very useful in a future project. So rather than a "problem," it's better to see it as a skill that can be refined and improved with experience, through trial and error.

I must say that, when I started the script, I never thought I would make such a script neither it would be downloaded so much times. But I've learnt so many things since I started :)
It's true, sometimes we underestimate the potential of our creations. But every challenge teaches us something new.

authors: Laerinok Sir-Ryu


text:
[FR] Ability to use non-diffuser VAE files (possibly nonviable)

In regards to this for example: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/tree/main
Right now we have to use a diffusion_pytorch_model with config.json instead of just using the sdxl.vae.safetensors file.
Would it be possible to make it so we can use the sdxl.vae.safetensors file? Some models, such as the base model of Pony XL v6, only have a "normal" VAE file available on the CivitAI website. (I'm sure I can find a diffusion conversion somewhere, but it's just an example.)
This might be an upstream limitation you can't work around, but I just thought I'd ask.

HuggingFace Diffusers doesn't have .from_single_file() for AutoencoderKL, it would be doable by converting when loading but it would need a rather large refactor of the current VAE loading logic, so I'm not planning to add this feature.

Welp I never had the need to use single file VAE, so I don't have a way of doing it, but I can try to see if it's easy to do.

Some models, such as the base model of Pony XL v6, only have a "normal" VAE file available on the CivitAI website.

I just probed the weights and it's exactly the same weight as the SDXL VAE FP16 Fix one.
The file structure is the same and it's only lacking the config file and the weight names are different.
It shouldn't be too hard to make a script for it, it would just be very annoying to do since the names need to be renamed.
And consider it's literally the same as the FP16 fix one, and from my experience basically all the models which provide "custom VAE" is just the same file as the FP16 fix, I'd say there's no point making a script for it.

authors: LagPixelLOL Succubyss

repo: LagPixelLOL/cog-sdxl


text:
Fibonacci Number

Related Issue

Fibonacci Number (Recursion) #1322

Proposed Changes

Add code of fibonacci number
update README.md

Additional Info

Problem Link

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

We were supposed to find nth Fibonacci number.

I have added the Problem Statement, Examples, an Algorithm on how to approach this problem, a commented Code, and written the Time Complexity and Space Complexity. And finally updated the README.md.

This change helps to solve a very famous problem of Recursion i.e. Find nth Fibonacci number and this problem helps in understanding the concept of recursion in depth.

I coded this problem in VS Code and tested the given problem on the test cases in the range: 0 <= n <= 30. And it is working fine for them.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Input : n=4
Input : n=6

Why 3 files are changed?

repo: Lakhankumawat/LearnCPP


text:
Feat/moving to typescript

Description
Changed backend over to typescript
installed dependencies
added tslint.config
renamed files to ts

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] There are no merge conflicts

Also we shouldn't really be declaring the env variables in the script runtime, if deploying on heroku and using the CLI or other integration that depends on running the npm commands (eg such as putting in a container with specific docker file instructions), it will end up loading the environment as 'development'.

Ah, yea I completely overlooked the fact that I didn't set it up to merge into staging, that was the  plan, i'll fix it this evening.

repo: Lambda-School-Labs/nusite-be


text:
Feature/game mode button

Pull Request Template
Go from a screen that selects the game play of single player or multiplayer.
When the single player mode is selected it goes into the screen which gives the option to read, write, and/or draw.
1. You will be able to check or uncheck draw or write but cannot choose both write and draw together
2. After chooseing you will be able to upload the drawing or writing to the platform.
When it is submited a function will pit the player against a randomly chosen boss.
Description
Add a summary that address the following:

motivation/purpose for the feature
To make a gamemode menu for single player where they can choose read write or draw and then upload their writing or drawing
What were those changes
A gamemode menu for uploading a drawing by choosing the button.
What issues were fixed
A gamemode styled menu
Provide the link to the user story it is referencing in Trello board or other supporting document
https://trello.com/c/Q4Wusyn7/53-create-button-to-select-single-player-mode

Commits Checklist

[ ] commits have clear title names
[ ] commit has descriptive message of what has changed
[ ] more small commits than less big commits

Code Checklist

[ ] code is formatted appropriately
[ ] code meets DRY standards
[ ] no dead code (check for logs and print statements)
[ ] no TODOS instead necessary comments
[ ] code follows Story Squad standards for:

Language
Framework
Libraries

PRs needs to be reviewed by at least 2 team members

TPL is the 3rd reviewer
Lots of comments and suggestions, please!

Pull Request Rubric

I'm seeing a lines of commented code, we need to avoid that but other than that I think its looks great.

repo: Lambda-School-Labs/story-squad-fe


text:
'잘못 된 인증번호 입력 후 등록 완료 버튼 클릭 시 'error(Not Found authCode(414359) 에러팝업 발생함

[보고일]
2015.11.19
[추적이슈번호]
82
[재현경로]

씨앤앰 모바일 TV App 실행
레이어 메뉴 호출
셋탑박스 연동하기 버튼 클릭
1단계 구매 비밀번호 등록 완료
2단계 셋탑박스 등록 페이지
인증번호 입력 필드 클릭

[기대결과]
'잘못 된 인증번호 입력 후 등록 완료 버튼 클릭 시 '인증번호가 일치하지 않습니다. 팝업이 발생해야됨.
[현재증상]
'잘못 된 인증번호 입력 후 등록 완료 버튼 클릭 시 'error(Not Found authCode(414359) 에러팝업 발생함

[검토일]
2015.12.01
[검토의견]

배정길 과장이 1차수정하였음
재현되면 기타에러 처리메소드 수정 및 서버에러코드 재확인 필요함


text:
Support for custom renders

If you take a look at the hive's player page, they are able to generate a custom user model.
Here is my page for example: http://hivemc.com/player/kraz__
Could you possibly allow the ability to specify a custom render where perhaps I can define a stance in JSON, and have this generate, perhaps allow the JSON to be submitted along with the request?

This will require a pretty major overhaul to the rendering engine, but it is a planned feature.
Also, this issue belongs in the Visage issue tracker, as Lapitar has been superseded by it.

Please move this issue into the Visage issue tracker. Thanks!

authors: KieronWiltshire Minecrell unascribed

repo: LapisBlue/Lapitar


text:
Added missing GLEXT defines to the OpenGL ES block in GLExtensions.hpp.

Fixed what was reported here.

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.

Rebased onto master.

repo: LaurentGomila/SFML

license: Zlib


text:
Consider tracking Declarations.yaml in git

I was planning to make some changes to code generation to work around #146. However, it appears I would need to compile pytorch manually to obtain a usable Declarations.yaml file.
I think it could make sense to track the Declarations.yaml file that was used for code generation. Then, anyone can make changes to the code generation and re-run it without compiling the right version of pytorch manually. That would save a lot of time and effort.
Do you think this would make sense?

It would certainly be helpful to have this file tracked in the git repo. The main reason why I haven't added it is that I don't really know what license would apply to it and how ok that would be with the current tch-sys double licensing (apache/mit).
If you have any pointers that makes you think this would be ok, I would be happy to add the file!

I think it would be fine to just add the file and clarify somehow that a difference license applies to that file. It could be done by embedding the license in the file, or by adding the license right next to the file under a descriptive name (maybe Declarations.yaml.LICENSE). The second option has the advantage that the file can be copied verbatim every time you want to update it.
The yaml file doesn't end up in binary releases, so it only needs to be transferred with source copies. That's why I think it would be fine if the license file isn't at the root of the repository. If the license did have to be copied with binary releases, it would be too easy for packagers to miss the license in a subdirectory.
Another option could be to add a file called torch.LICENSE with a note at the top that explains for which files that license applies.

Closed via some variant of #160

authors: LaurentMazare de-vri-es

repo: LaurentMazare/tch-rs


text:
KeepAlive in libember_slim example is not working

KeepAlive requests will be received via onOtherPackageReceived, not onPackageReceived

Thank you for fixing this. I've just applied your PR to master.

repo: Lawo/ember-plus


text:
PUT endpoint without trailing slash does nothing

The OP alt-DA spec requires
Request:
  POST /put
  Content-Type: application/octet-stream
  Body: <preimage_bytes>

Response:
  200 OK
  Content-Type: application/octet-stream
  Body: <hex_encoded_commitment>

The EigenDA proxy does not react on that URL and silently returns nothing, but it does work when appending a slash to the URL (which is not included in the spec).
karl@PVTY25Y2GX ~> curl -X POST http://127.0.0.1:3100/put --data foo -s | wc
       0       0       0
karl@PVTY25Y2GX ~> curl -X POST http://127.0.0.1:3100/put/ --data foo -s | wc
       0      13     187

Suggested changes:

Respond with commitment at /put
Respond with HTTP code 404 on unknown URLs

PS: The response does also not look hex-encoded, but that is a separate issue

Hi @karlb , proxy is compatible with OP Alt-DA and we have a few integration tests with their client as well as an E2E test with a subset of an OP chain to verify these interactions. Additionally OP's example DA server uses /put/.
You're more than welcome to cut a PR with OP Stack specs repository directly if you feel like this regression needs remediation 😄

See https://github.com/ethereum-optimism/optimism/issues/11499 for the follow-up in the optimism repo.

Reopening this issue since karl's PR https://github.com/ethereum-optimism/optimism/pull/12081 was just merged.
When we update our op-stack dependency to a release that includes his PR our tests will prob fail and hence catch this, but still opening here for visibility.

authors: epociask karlb samlaf

repo: Layr-Labs/eigenda-proxy


text:
Add EPatch install support

Adds support to install EPatches.
Add:
<File Type="EPatch">
    <SourcePath value="EPatch.xml" />
</File>

In the InstallerXml
And to the installinfo add a folder called Epatches and add the custom Epatch in there

Added in https://github.com/LazyBone152/XV2-Tools/commit/a37b05299c87740aec931c4434a5f0d341720e9b


text:
Add back color with a permissions check

Adds back the option to set a color which will only be applied if the user has the required permissions.

Thank you


text:
bug: add to docs wrap does not work unless vim.opt.textwidth is set

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10
Operating system/version
MacOS 14.6.1
Describe the bug
This took me a noob a day to figure out, but if you set \uw or you are editing one of the files, like a git commit, markdown or text file, the wrap will not work
This is because vim.opt.textwidth must also be set or the wrap does nothing.
Not a bug per se, but you might to add some documentation to the either https://www.lazyvim.org/configuration/general#options
because the defaults show that vim.opt.local.wrap and vim.op_local.spell are set
but this is not enough, you need to add some default wrap (maybe 88 characters like
Black for Python), or maybe 128 characters because what the heck it won't seem broken
I'm happy to issue a PR for this is you like as either:

A documentation change in https://www.lazyvim.org/keymaps where you have uw
Change the default options.lua to add a vim.opt.textwidth equal to something reasonable like 88 is good for markdown and text documents I think, but could be wider.

Steps To Reproduce

Start Lazyvim
\uw to turn wrapping on or go to a Markdown files
:setlocal wrap? is on
:setlocal textwidth? returns 0 which means don't wrap

Expected Behavior
If you turn on \uw or it is turned on for text, markdown, git commits, it should reasonably wrap or it should be documented that wrapping won't work.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "LazyVim/LazyVim", import = "lazyvim.plugins" },
    -- add any other plugins here
  },
})

wrap is only for wrapping the lines if the lines are too long and overflow the width of the window. Only then they will get wrapped.

This option changes how text is displayed.  It doesn't change the text in the buffer, see 'textwidth' for that.
When on, lines longer than the width of the window will wrap and displaying continues on the next line.

So, it correctly wraps the lines if for example you split your window into vertical.
textwidth is for determining when you're in insert mode and typing when the line will break and go to the next line. This is not configured in LazyVim, because it's mostly a user preference and should be done in the user personal configuration.
The 2 of them are different and do different things. Also, I don't think any additional documentation is necessary on LazyVim docs, since all this is described in Neovim :help (see :h 'wrap' and :h 'textwidth'). Users should get accustomed to reading Neovim documentation. That's the reason it exists.

Got it sorry in all the years of using vi then vim and now Neovim, I had forgotten the difference between them since ':se tw=88 wrap' is buried in all my .rc files.
And became since vim.opt.wrap exists I thought there was a wrapper around somewhere soft and hard wrap. It's hard to know sometimes which of the layers of docs to look at between lazyvim, the many plugin configs and core Neovim.
Anyway I'll close the issue and just note it a big blog post on my own site where I'll find it again in two years when I forget all this.
Great project by the way. I bit the bullet and threw away an 8 year old carefully crafted .vimrc for something that's basically lazyvim with three changes in options.lua. Thanks!!!!

repo: LazyVim/LazyVim


text:
lang: yaml: Fix TypeError undefined length

In YAML files LSP completion is not happening because yaml-language-server is failing with error:
TypeError: Cannot read properties of undefined (reading 'length')

from out/server/src/languageserver/handlers/settingsHandlers.js:78:51, which it's expecting to have yaml.schemaStore.url.length and it's doesn't exist.
Signed-off-by: Javier Tia javier.tia@gmail.com

thanks

authors: folke jetm


text:
fix(extras.treesitter-context): map toggle in config instead of opts

Description
Previously, treesitter-context was loaded on VeryLazy and its toggle map in opt, which also required it. Now, mapping happens in config, after treesitter-context is setup (also how toggle is handled in other extras, eg for render-markdown). Additionally, load on LazyFile instead.
Checklist

[x] I've read the CONTRIBUTING guidelines.

I don't understand this change. Why does it matter if it was required in opts? opts are passed into setup either way and whatever require happens after the plugin is loaded, no? Just asking out of pure curiosity to understand better in case I'm misunderstanding something.

You're right that there's no functional difference with respect to whether the mapping happens in opts or setup. I didn't consider that because opts is a function, it wouldn't get called until the plugin is configured. However, IMHO this change makes it easier to understand exactly when exactly the toggle is mapped - it's clear that this happens when the plugin is setup, as opposed to when the spec is parsed (as I initially thought might happen). In that sense I guess I mislabeled this as a fix when it could have been more accurately considered a refactor. This is also very similar to how render-markdown is configured.
The other change here is that I changed the event back to LazyFile, from #4059 when I changed the event it to VeryLazy. I've thought about this some more and IMO it didn't make sense to load the plugin earlier just so that the toggle is available, especially when the toggle won't actually change anything until a file is opened.

Moving the Snacks.toggle mapping into config means that if the user for whatever reason wants to configure the plugin via the config function, he will have to redefine the Snacks.toggle mapping himself again. Whereas if the mapping is in opts and the user still does
config = function(_, opts)
  require("treesitter-context").setup(opts)
  -- whatever else he wants here
end

the Snacks.toggle mapping will remain. In my personal opinion I believe that config should generally be avoided in Neovim distros and leave it as a last measure to the user to change if he knows what he's doing. render-markdown has also the same "disadvantage" in my opinion, but it's out of scope with regards to this PR.

That's a very good point that I didn't consider. I'll remove the changes in opts and config, and keep only the change to the event.

Please do keep in mind that I'm just a regular user like you (and not an experienced programmer) and everything I say is just a suggestion from a user's perspective. But in my eyes, in the time I've been using LazyVim, is that config is used mostly to define specific behavior that doesn't have to do with user's settings really (like treesitter having to require("nvim-treesitter.configs").setup(opts) or the recent changes you did in the Extra blink.cmp with the wrappers or something else). And although Snacks.toggle mappings are not explicitly user settings, it would really be a hassle having to redefine them again.
I really hope I didn't come off as obnoxious and didn't offend you (I apologize if I gave any such vibes) as I myself explicitly use opts myself and it wouldn't matter to me, I just tried to think from a user's perspective and in my personal experience with LazyVim (which of course I certainly may be misunderstanding some things due to my lack of knowledge).

You didn’t come off as obnoxious at all, and I really appreciate your feedback and suggestions!


text:
feat(plugins): add vim-sleuth

Description
This PR adds a new plugin: vim-sleuth, a tpope classic.
LazyVim lists, in it's feature-set, the ability to "Transform your Neovim into a full-fledged IDE". A very common (and useful) feature in IDEs is "detect indentation", which automatically changes your tab-size and preferred tab-method to match the currently opened file. vim-sleuth beautifully provides that feature, requiring no tweaking out of the box.
I think it makes sense to add this plugin as one more "IDE emulation" feature that LazyVim already has many of (Tree-based file explorer panel, search by file with preview, code completion popup, tabs, etc.) - it was in fact one of the first additions I made to my config after installing LazyVim, since I came from VsCode.
Checklist

[X] I've read the CONTRIBUTING guidelines.

not interested in adding this...

authors: folke iniw


text:
image not  load

this  issue  Facing specific Device

Please provide more information, i cannot help you without details.

you said it is device specific, what device are you using?
with which image extensions do you encounter this problem?
is there a pattern to reproduce this issue?
do you have any file / or a way to reproduce this error?

also you should check if you have a similar issue with wechat_assets_picker package, if so, it comes from there.

authors: LeGoffMael kdChavada


text:
Intercooler's CDN doesn't support crossorigin/integrity checks

I'm trying to add crossorigin and integrity attributes to all of the CSS and JS resources that my project gets from CDNs. In the case of Intercooler, that looks like this:
<SCRIPT src="http://cdn.intercoolerjs.org/intercooler-1.1.2.min.js" integrity="sha384-NLFLtSEhkAcJ3fF4aBB6yNp4U2BmG+eRjKv9qKYfdGEC4ofH+1W4X81KL18xiBBx" crossorigin="anonymous"></SCRIPT>
This fails in Chrome with the following error:
Access to Script at 'http://cdn.intercoolerjs.org/intercooler-1.1.2.min.js' from origin 'http://localhost:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
For reference, both Bootstrap's and jQuery's CDNs return a catch-all CORS policy header like this:
Access-Control-Allow-Origin: *
Can you enable that header on Intercooler's CDN?

I think I've enabled it:

Yep, it's working now! Awesome.
By the way, the integrity value I originally put in the description was incorrect due to being mid-debugging (changed one character to see if I got different errors). I've fixed it in the description. I had been getting the original error both with the correct and incorrect integrity values.

authors: carsongross jsampson-gw

repo: LeadDyno/intercooler-js


text:
z-index change breaks jQueryUI use

I've been using Leaflet 0.7.3 very successfully with jQueryUI. It is clear that the z-index values or logic has changed in 1.beta, as my own divs that were once working are now overlaid by Leaflet and jQueryUI modal dialog boxes are hidden underneath the map pane.

cc @patrickarlt

Yeah, the z-index values were bumped. Can you set up a JSFiddle to demonstrate the problem?

I don't know about jQueryUI, but I had some divs over my map.
After updating to 1.0 beta 1 the were below the map so I just increased the z-index on my divs and it worked fine.

It's obvious how to modify my own CSS to give things a great z-index, but the issue is compatibility with a large library like jQueryUI, which had no previous problems. It's not reasonable to have to modify the jQueryUI code itself to enable inter-operability, though I haven't looked yet for means of specifying the use of z-index values for modals and other widgets -- I'm going to look this morning.
Regardless, the usage and values of z-index in Leaflet needs to be well documented in order for developers to anticipate such issues.

This entry may help those with this problem: http://stackoverflow.com/questions/16917430/jquery-ui-1-10-dialog-and-zindex-option

So, any chance to see a JSFiddle?

See fiddle here: https://jsfiddle.net/onwu4kv6/
Seems like by default jQueryUI dialog z-index is 100 and default map pane has a z-index of 100.

This can be worked around very easily by manually specifying a lower z-index for the map.
The underlying problem is that the map panes share the same stacking context as the siblings of the map container. So it's not the z-index of the map container, it's the z-index of the panes.
I'm partial to add a isolation: isolate CSS rule to .leaflet-container, as this allows the map containers to forcefully have their own stacking context without forcing a specific z-index. Or set z-index:0 altogether so it works on IE also.
@jaymmartin Thanks for the fiddle!

@IvanSanchez Why "partial to add isolation: isolate; and not just add it? What would be a reason not to?

@jieter Browser support. See https://developer.mozilla.org/en-US/docs/Web/CSS/isolation#Browser_compatibility

I just encountered a similar problem, with the leaflet map covering my hovering menu bar.
A simple fix could be to just add .leaflet-container {z-index:0} to the leaflet.css stylesheet. No?

@JorisDebonnet The difference between isolation: isolate and setting z-index is that the former doesn't potentially override any custom z-index set on leaflet-container.

Hello, I'm still have trouble, as I have set z-index to 0 and done isolation: isolate, and it still seems that I need to set the zindex to 400 to get anything to render over the map. Am I correct that you are referring to the .leaflet-container in leaflet.css?

@derekmil can you post a minimal reproduction somewhere like CodePen so I can take a look?

authors: Eschon IvanSanchez JorisDebonnet Malvoz derekmil gaelicmichael jaymmartin jieter mourner patrickarlt

repo: Leaflet/Leaflet


text:
Documentation: wrong text in Marker/Events section

Events
In addition to shared layer methods like addTo() and remove() and popup methods like bindPopup() you can also use the following methods:

Expected behavior
I suppose this paragraph should belong to Methods section.
Current behavior
Currently it is in Events section.

Another issue: https://leafletjs.com/reference-1.4.0.html#map-zoomanim section is titled Other Methods.
I suppose there should be Other Events.


text:
Add Leaflet.Control.SideBySide plugin

Once I started writing Leaflet plugins I just couldn't stop...
https://github.com/digidem/leaflet-side-by-side

Nice work!

authors: IvanSanchez gmaclennan


text:
Token Hotbar cannot be installed

Also the zip seems to lack main folder, and AFAIK the folder must be all noncapitalized, but the id of the module (which afaik is same as folder) is camel-case.

I am having this error as well.

Installing from the module.json link here in the repo works just fine, it's only broken via the Foundry module browser.
The other issues you mention are red herrings - no main folder is needed since TokenHotbar.js looks to be concatenated on release and while lowercase is standard Foundry can handle capitalized folders just fine.

It doesn't work from the module.json link in the repo either for me

Aha, I see the issue. When I transferred the repository to the league, I forgot to adjust the url in the manifest. It still refers to the location on my account. I’ll fix it later today.

https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email

I updated the module.json with the correct link to the release.
Can you guys test if it works again? :)

This is the link that works (in the module.json): https://github.com/League-of-Foundry-Developers/foundry-token-hotbar/releases/download/v4.2.2/module.json
Attempting to install from the module browser without this manfest results in the same error.

I forgot to update the module in the Foundry admin panel, it points to an existing module.json now. :)

Excellent! So happy to see this module on 8.x, it's one of my all-time must-haves! Thanks Stan :)

Good to hear. I’m afraid it still has some other unresolved issues. :(
So for now I’ll close this one, unless someone still has issues with the installer.

authors: Doresain Foxaramar Luthervian apoapostolov janssen-io stevenoftheages


text:
Fix issue where subscriptions to changes for dot-separated store namespaces were not cleaned up properly

Found an issue that when using the store mixin, the cleanup was not properly removing the subscription for the changed topic when the namespace contained . like my.namespace.

Great find! I'll merge in when I get home tonight...

authors: ifandelse rniemeyer


text:
Property casting and validation improvements

In my mind the way in which Mongoose handles model property casting is broken.
As an example, let's say we define a model with this schema:
var Item = new Schema({
  name   : {type : String, required : true},
  price  : {type : Number, required : true},
  description : {type: String, required: true}
});

... and we create a new instance, but provide a value for price using the wrong type:
var item = new Item({name:"Blender", description:"Makes frozen daquiris", price:"five hundred dollars");

Mongoose will simply silently ignore the incorrectly typed variable and my object will just look like:
{ _id: 50056c29527d176a1d000001, name:"Blender", description:"Makes frozen daquiris"}

If we attempt to create() a new model directly with these property values a CastError is thrown.
In both cases, I would argue this is the wrong behaviour.
Assignment of an incorrectly typed value is a mistake which should be caught using validation, just like absence of required values, values which are not in the required range, etc. We should be able to assign whatever values we want to the model (correct type or otherwise) and then be prevented from saving them to the DB by validation checks.
A lot of the time the data that is used to populate models comes from a web form, where the user can enter anything, so if we're using Mongoose validation to validate this data prior to saving it, we need to be able to validate type in a consistent manner to everything else.
Throwing an out-of-band CastError or ignoring the assignment entirely mean you need to write a bunch of code to detect and handle these special type-cast errors outside of your validation logic. At the very least, if we assign a value to a property, that assignment should not silently fail.
To draw a parallel with Rails, if I want to validate the numericality of a property on my model I simple declare validate :price, :numericality => true in my model and any such failures get bundled into my model's errors collection with all other validation failures.
Is this not more correct? Is there a plan to move in this direction?
Thanks to all of you LearnBoost guys for all you hard work - much appreciated.

oops, my bad. Thank you @vkarpov15

@vkarpov15 Are these improvements in any of the 3.8 releases?

No, and won't be. 3.8.x releases include only bug fixes and aim to be 100% backwards compatible.

authors: alexkavon rafaelcardoso tleach vkarpov15

repo: LearnBoost/mongoose


text:
Node admin email address is not corrects for the harvest/listrecords identify

Email address is showing up as follows on node01-03:
"adminEmail": "http://node01.public.learningregistry.net.node.admin@learningregistry.org
Should be: admin@learningregistry.org
Admin service "description" also returns the wrong email address.
Is this a bug in setup script?

I think this was user error more than a code error.

authors: ssuliman wegrata

repo: LearningRegistry/LearningRegistry


text:
ci: Various workflow improvements

Simplify RTD build
Add documentation checks
Fix release CD
Moved coverage tests to dedicated CI step
Improve CI display
Added schedule runner
Mark experimental tests as green when run on the main branch

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

Comparison is base (d362749) 100.00% compared to head (bf94e61) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines            5         5
=========================================
  Hits             5         5

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

authors: LecrisUT codecov-commenter

repo: LecrisUT/CMake-Template


text:
LL-5074 Change wording for wrong device error

Context: https://ledgerhq.atlassian.net/browse/LL-5074

I knew that I knew it... but wasn't sure. I can revert the others no prob.

repo: LedgerHQ/ledger-live-mobile


text:
LIVE-1605 Fix receive flow loop

Bad hook dependencies on the useEffect that was triggering the address confirmation were causing a re-trigger whenever the affected account was updated in the background. Basically if you were in the confirmation screen long enough, your account would sync and in doing so it would re-trigger the hook logic. Removing the dependencies and adding the extra condition of not having completed the confirmation fixes this, since a retry basically navigates back.
Type
Bug fix
Context
https://ledgerhq.atlassian.net/browse/LIVE-1605
Parts of the app affected / Test plan

Go through a receive flow
Confirm the address on your device
Wait, if nothing happens, we're good :trollface:

QA OK ✅


text:
[support] Restore ability to run LLM unit tests

📝 Description
Unit tests on LLM currently couldn't run because the jest.config.js file has a syntax issue.
Also needed to add uuid package to the transformIncludePatterns.
❓ Context

Impacted projects: LLM
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-7900

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo
Tests are able to run again, but 1 remaining error to fix:
 FAIL  src/components/LText/LText.test.tsx
  ● Test suite failed to run

    Configuration error:

    Could not locate module @ledgerhq/native-ui/lib/styles mapped as:
    /home/haammar/WORK/ledger-live/develop_clean/libs/ui/packages/native/lib/$1.

    Please check your configuration for these entries:
    {
      "moduleNameMapper": {
        "/^@ledgerhq\/native-ui(.*)$/": "/home/haammar/WORK/ledger-live/develop_clean/libs/ui/packages/native/lib/$1"
      },
      "resolver": undefined
    }

      2 | import { ThemeProvider } from "styled-components/native";
      3 | import theme from "@ledgerhq/native-ui/styles/theme";
    > 4 | import { palettes } from "@ledgerhq/native-ui/lib/styles";
        | ^
      5 | import { lightTheme as light, darkTheme as dark } from "./colors";
      6 |
      7 | const themes = { light, dark };

      at createNoMappedModuleFoundError (../../node_modules/.pnpm/jest-resolve@29.5.0_metro@0.76.0/node_modules/jest-resolve/build/resolver.js:759:17)
      at Object.require (src/StyleProvider.tsx:4:1)
      at Object.require (src/__test__/test-renderer.tsx:10:1)
      at Object.require (src/components/LText/LText.test.tsx:5:1)

🚀 Expectations to reach

Non-reg: Live still builds. 100% covered by CI.
pnpm mobile test:jest able to run (but returns errors to fix)

does this PR reactivate that they runs on the CI too? thanks

Just need to rebase + changeset

authors: gre haammar-ledger lvndry

repo: LedgerHQ/ledger-live


text:
🛑 Naver2 is down

In fd04b14, Naver2 (https://navercomp2.wisereport.co.kr/v2/servercheck.aspx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Naver2 is back up in 51a8406.


text:
🛑 Naver2 is down

In bcc339e, Naver2 (https://navercomp2.wisereport.co.kr/v2/servercheck.aspx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Naver2 is back up in c253fb1.


text:
🛑 MobileETFGlobal1 is down

In 17c9637, MobileETFGlobal1 (https://mglobaletf1.wisereport.co.kr/Home/ServerCheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MobileETFGlobal1 is back up in 3ca6b73.


text:
Icue support keyboard

make something for corsair icue support keyboards.....
I'm trying to make icue control keyboard using my normal keyboard.

This library focus on supporting DIY lighting devices for all kind of led strips based on the Corsair lighting devices. Other types of devices are not supported and will likely not be supported.


text:
PI PICO RP2040 as Lightning Node Core

I apologize if this matter has already been addressed elsewhere, but I'd like to quickly ask if I would be able to use the Pi Pico RP2040 as a node core. Would the wiring be the same but with more data pins involved? Additionally, I've noticed people facing memory issues. Should I proceed to get the original Pi Pico RP2040 or the 16MB version?

Please have a look at the readme, there is a section on "Create a Lighting Node PRO for a Raspberry Pi Pico with TinyUSB" which explains what you are looking for.

Thanks <<3


text:
Fix issues with text and comment extraction

Just some basic string tidying - get the line breaks out and fix other issues hindering the longer texts from being displayed as a single CSV cell, but instead spanning multiple lines.

being worked on in #33

you might want to look into escapechars in pandas.to_csv for that

authors: FlxVctr rwinterschlaf

repo: Leibniz-HBI/newsfeedback