text:
Drop support for classic autoloading

In https://github.com/Shopify/maintenance_tasks/commit/c11faffc00218cb703e804444a83ced2d0e21cd8 we accidentally broke classic autoloading by referencing CsvCollectionBuilder. This made me remember that we should have removed support for this it several releases ago anyway.
Yes, we could instead make it clearer that we need to reference MaintenanceTasks::CsvCollectionBuilder in a fully qualified way, but I think since classic autoloading is deprecated both in Rails and the gem, we can just remove it now.
Closes https://github.com/Shopify/maintenance_tasks/issues/528

Wouldn't this be a breaking change though? I'm not ready to ship a 2.0 over this…

I do feel like we could get away with dropping support for a deprecated feature in a minor version release, but you're right that that's technically not good release behaviour. My concern is that we'll never feel ready to release a major version, and we'll have to keep reminding ourselves that these deprecations still exist and may continue to accidentally ship changes that are incompatible with the classic autoloader.

If we want to ship this with some other breaking changes, I'm alright with that. Maybe we can use milestones to coordinate releases in that case? If we don't have anything blocking the release, I think we should just do it. This has been warned about since 1.7.0 in https://github.com/Shopify/maintenance_tasks/pull/531/commits/2fe9ab933f4027c088d140abd64b541f4d05743f.

Using a milestone to prep for a 2.0 release sounds like a great idea to me @gmcgibbon 👍  There are a couple of other deprecations we could remove:

The old error_handler API
https://github.com/Shopify/maintenance_tasks/blob/812d8e56beec57665c06f7b2a9abf9c4cb301241/lib/maintenance_tasks.rb#L76-L79
Runner.new
https://github.com/Shopify/maintenance_tasks/blob/812d8e56beec57665c06f7b2a9abf9c4cb301241/app/models/maintenance_tasks/runner.rb#L9-L14

I can work on the other deprecations today. If there's any issues or PRs open that we should add to the milestone, please do so.

My vote would be to ship v1.10 with everything up to the deprecation removals, and then ship all the breaking changes together in 2.0.


text:
WEIRD ERROR: i am trying to use the font for the Text property in shopify react native skia I have a parent component named GenerateFlyer and its child a canvas, the image being the background and the text over it? LMK WHAT YALL THINK PLS

### Discussed in https://github.com/Shopify/react-native-skia/discussions/1885

Originally posted by Carlito-prog September 28, 2023
https://snack.expo.dev/@lito-prog/skia-canvas

Can we reproduce the bug from the snack url you shared?
I see that this error could happen if route or route.params is null. Make sure you put all the hooks top level.
I'm gonna close the issue since the code you presented has conditions to raise this error independently from Skia.
Now if the error is reproducible from the snack you sent, I will definitely look at it. And if you believe that this is Skia related, we will reopen it.  So I'll definitely follow up on this.

no this is should be supported, a small reproducible example would be perfect but I understand these are hard to make sometimes.

yes but if it’s too big for you to make it smaller it’s gonna be too big
for me to investigate it, do you see what I mean?
On Fri 29 Sep 2023 at 14:28, Carlito Gatzby @.***>
wrote:

can i share the repo with you?
—
Reply to this email directly, view it on GitHub
https://github.com/Shopify/react-native-skia/issues/1887#issuecomment-1740813956
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKXVX7Y2TRGDKQCFRTNFTX425ITBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVE2DENJYGQ2TGMRVQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRRHEYTSMJRHE4DCNFHORZGSZ3HMVZKMY3SMVQXIZI
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.

ill share it with you im only using skia in those 3 files generateflyer, canvas, textsticker I got the boiler code from your repo

I installed your project but you left me with no indication on what to
test, I played with it and it didn't throw any Skia related error.
We run this open source project under limited resources, you can help
us by build a small reproducible example that make it clear what the
issue is and why the issue is related to Skia. I appreciate your
efforts.
On Fri, Sep 29, 2023 at 3:27 PM Carlito Gatzby @.***> wrote:

invite is sent, ill be looking out for a response thanks for your help
On Fri, Sep 29, 2023 at 9:09 AM William Candillon @.***>
wrote:

yes but if it’s too big for you to make it smaller it’s gonna be too big
for me to investigate it, do you see what I mean?
On Fri 29 Sep 2023 at 14:28, Carlito Gatzby @.***>
wrote:

can i share the repo with you?
—
Reply to this email directly, view it on GitHub
<
https://github.com/Shopify/react-native-skia/issues/1887#issuecomment-1740813956>

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AACKXVX7Y2TRGDKQCFRTNFTX425ITBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVE2DENJYGQ2TGMRVQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRRHEYTSMJRHE4DCNFHORZGSZ3HMVZKMY3SMVQXIZI>

.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>

or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>

.

—
Reply to this email directly, view it on GitHub
https://github.com/Shopify/react-native-skia/issues/1887#issuecomment-1740872841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUOMHMH3E6EO7XC3QRDGTP3X43B7DANCNFSM6AAAAAA5MK5NI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub or unsubscribe.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS or Android.

source: gharchive/issue

authors: Carlito-prog wcandillon

repo: Shopify/react-native-skia

license: MIT

license_type: permissive

license_source: github-api


text:
Allow configuring extra chruby paths

Motivation
Closes #1969
Chruby allows configuring extra directories to search for Ruby installations. We'll need to offer a similar setting to match the behaviour.
Implementation
Added the setting and started pushing the configured URIs into the list of places to search for.
Automated Tests
Added a test.

Is it not possible to just pull this from the environment variable? That seems like a cleaner solution, if possible.

Not in a scalable and clean way. For example:

How would we know where the environment variable is defined? The VS Code process doesn't source your ~/.zshrc, ~/.bashrc or equivalent. Your shell does, but not VS Code. Which means we would need to source those files, which has caused us a number of issues in the past
What if the environment variable is not defined directly in the rc file? For example, what if RUBIES is only defined when there's a prompt or with some conditional behaviour. In many situations, invoking the shell from NodeJS doesn't match the expected conditionals, which may not set the variable

Trying to integrate with shells (our previous approach) basically resulted in a variety of problems. People can configure their environments in unexpected ways that don't integrate well with the extension. As examples, we had reports of users with shell plugins that refused to activate if they weren't in a TTY, breaking our integration.
In other cases, shell plugins hijacked the stderr pipe, redirecting it to something else and only restoring the original file descriptor if the user was about to write a command, which never gets detected when we invoke the shell from NodeJS - again breaking the editor/server communication.
In yet another case, some shell plugin maxed the user's CPU when we invoke their shell from the NodeJS process. Probably because it did not account for the case of having the shell be invoked as a script.
Basically, integrating with shells proved to be extremely brittle and lead to a lot of frustration. We invested significant effort to decouple from shells to prevent all of those. I understand that having to set RUBIES twice is a small inconvenience, but we had to accept that tradeoff in favour of more stable Ruby activation.

source: gharchive/pull-request

authors: swrobel vinistock

repo: Shopify/ruby-lsp


text:
Consumer group ignores AutoCommit flag when it exits

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.

Sarama
Kafka
Go

1.27.2
2.7.0
1.14

Problem Description
When consumer's AutoCommit flag is disabled by configuration and you mark offset during the process with session.MarkMessage(msg, "") it doesn't commit the offset as expected. However when you terminate the consumer (or rebalancing is triggered) it commits the offset ignoring the AutoCommit flag.
This is likely related to this PR: https://github.com/Shopify/sarama/pull/1699
This PR removes the check:
// flushToBroker is ignored if auto-commit offsets is disabled
func (om *offsetManager) flushToBroker() {
	if !om.conf.Consumer.Offsets.AutoCommit.Enable {
		return
	}
        ...

I test using Sarama 1.26.4 where that check is in place and it works as expected, but 1.27.2 commits the offset on Close() which is likely a bug.

Fixed by https://github.com/Shopify/sarama/pull/1846

authors: dnwe hipper

repo: Shopify/sarama


text:
ConsumerMessage timestamp is inconsistent with clients in other languages?

Versions
Sarama Version: 1.12.0
Kafka Version: 0.10.0.1
Go Version: go1.8.1 darwin/amd64
Configuration
Kafka configured to use broker timestamps:
log.message.timestamp.type=LogAppendTime
Problem Description
Probably more like a question, but i noticed that sarama returns inner message timestamps instead of block timestamp when using ConsumePartition() function.  Relevant code to populate ConsumerMessage struct from FetchResponse: https://github.com/Shopify/sarama/blob/master/consumer.go#L528
Which is by some reason different from results by other clients (java, librdkafka). It's only reproducing when Kafka broker is configured to timestamp incoming messages itself (LogAppendTime).
Below is test go snippet which shows difference:
package main

import (
	"fmt"
	"gopkg.in/Shopify/sarama.v1"
)

func main() {

	config := sarama.NewConfig()
	config.Version = sarama.V0_10_0_1

	topic := "local.test"
	broker := sarama.NewBroker("127.0.0.1:9092")

	err := broker.Open(config)

	if err != nil {
		panic(err)
	}

	defer broker.Close()

	fetchRequest := &sarama.FetchRequest{MaxWaitTime: 250, MinBytes: 1}
	fetchRequest.Version = 2

	fetchRequest.AddBlock(topic, 0, 0, 32768)

	fetchResponse, err := broker.Fetch(fetchRequest)

	if err != nil {
		panic(err)
	}

	for _, msgBlock := range fetchResponse.GetBlock(topic, 0).MsgSet.Messages {
		fmt.Printf("Block: [%v] %v %v\n", msgBlock.Offset, msgBlock.Msg.Version, msgBlock.Msg.Timestamp.UnixNano()/1000000)

		for _, inner := range msgBlock.Messages() {
			fmt.Printf("Inner: [%v] %v %v\n", inner.Offset, inner.Msg.Version, inner.Msg.Timestamp.UnixNano()/1000000)
		}
	}

}

, with my test data it produces:
Block: [0] 1 1495819250370 <- this is LogAppendTime, produced by Kafka itself, other clients returns it as timestamp
Inner: [0] 1 1495819250303  <- this is CreateTime, produced by filebeat, returned by sarama
Block: [1] 1 1495819250373  <- this is LogAppendTime by Kafka itself, returned by other clients
Inner: [0] 1 1495819250303  <- this is CreateTime, produced by filebeat, returned by sarama

Probably there is something filebeat specific (which is using sarama as well), i wasn't able to reproduce it with sarama producer myself, but probably somebody can shed light on it?

That is really weird and off the top of my head I have no idea, sorry. What is filebeat?

Hmm, googled around a bit.
Filebeat will set the timestamp to something specific in some cases: https://github.com/elastic/beats/blob/3865f220cbb5ed3d03ee632aa00f5413dead882e/libbeat/outputs/kafka/client.go#L158-L163. Don't know if that is being hit in your case.
Sarama picks the timestamp of the first inner message if relevant when producing: https://github.com/Shopify/sarama/blob/c01858abb625b73a3af51d0798e4ad42c8147093/produce_set.go#L88-L107

Filebeat setting timestamp when configured to use v0.10+ of Kafka. (CreateTime timestamp) This part is fine.
Kafka is configured to ignore producer timestamp and generate its own timestamp (LogAppendTime).
When consuming such recursive messages sarama behavior is different form other clients. That's part is not fine :)  All other clients returns outer message timestamp.
Probably it is something to do with Kafka itself, i can check 0.10.1 and 0.10.2. May be Kafka should recursively update all nested timestamps with LogAppendTime is configured.

How about if i rephrase issue like: can we include BlockTimestamp field to ConsumerMessage struct along with existing Timestamp.
Semantic will stay backward compatible with existing sarama users and new field can be used to provide parity with other clients?

rdkafka overrides the inner timestamps at https://github.com/edenhill/librdkafka/blame/6a735dd3b86a93b78f61855a7691439e89864368/src/rdkafka_broker.c#L3779-L3781 because of https://github.com/edenhill/librdkafka/commit/6aa20e19d5ad17eb2061555ba7966515492dbaa8 but I'm not entirely convinced that logic is correct in all cases? @edenhill I don't think your intention was to completely blow away the inner message timestamps when both are provided? Or is the fact that both are provided at all a bug?

How about if i rephrase issue like: can we include BlockTimestamp field to ConsumerMessage struct along with existing Timestamp.

That will work, but I'd like to get to the bottom of this issue, something seems fishy.

Ok, figured it out, when producer using compression, sarama will pick up inner message timestamp (which is not updated by Kafka - to be verified with latest versions).
Other clients respects outer compressed message timestamp.

@eapache ,
tested latest v0.10.2.1, same broker behavior.  After asking in kafka user list, it seems to be expected, check it out: http://search-hadoop.com/m/Kafka/uyzND1IGfjBm6AxA?subj=Re+Kafka+LogAppendTime+compressed+messages
So, do you want pull request or prefer to fix yourself?

OK, I guess it's intentional. I still find it kind of weird though :)
I'm happy to accept a PR for this.

@eapache , here is pull request. Sorry for delay.
I wasn't able to figure out how to write test for that. It looks there are no tests for timestamps at all.
If you would like me to write one i'll appreciate some guidance here.

authors: dvsekhvalnov eapache


text:
It looks like useBuyerJourney is not working.

Package and version
checkout-ui-extensions-react V0.17.1
Describe the bug
I tried to work of a useBuyerJourney, but it looks like is not working.
I specified the argument to {behavior: allow}, but the customer is no longer able to continue with the purchase.
I wrote the code as follows:
const buyerJourney = useBuyerJourney(); // ユーザーの購入過程を取得するためのhook
  buyerJourney.intercept({
    behavior: "allow"
  })

Steps to reproduce the behavior:

Run "yarn scaffold extension", or "shopify app scaffold extension",  and select a "checkout-ui".
Inside a function App write the following code

const buyerJourney = useBuyerJourney(); // ユーザーの購入過程を取得するためのhook
  buyerJourney.intercept({
    behavior: "allow"
  })

Run "yarn dev", and open the preview checkout-ui.
Customers can confirm that they will no longer be able to purchase.

Short video
https://user-images.githubusercontent.com/24236526/183323761-53b29462-3482-406b-ade7-489beb83f0bf.mov

@ryujimorimoto the .intercept() method expects a callback instead of an object as the first argument .
  const buyerJourney = useBuyerJourney();
- buyerJourney.intercept({ behavior: "allow" });
+ buyerJourney.intercept(() => {
+   // Some logic here that decides if we should return block or allow
+   return { behavior: "allow" };
+ });

authors: marvinhagemeister ryujimorimoto

repo: Shopify/ui-extensions


text:
readme文件错别字

bug描述
readme中的“食用方法”应为“使用方法”
版本信息
pytorch:
torchvision:
torchtext:
...

故意这样写的😁

authors: ShusenTang davelet

repo: ShusenTang/Dive-into-DL-PyTorch


text:
ENH: add converter and scan

run_telescope.py runs ext trigger scan of FEI4 with mimosa and TLU.
converter.py convertsTLU and MIMOSA.

do you need to pull today or just wait after beam test?

let us fix the unit tests before we go on

converter was merged to another repository
run_telescope has pulled already.

authors: laborleben thirono

repo: SiLab-Bonn/pyBAR

license_source: bigquery


text:
Check correspondence between route objects and route sets

An AS may define route and route6 objects for its prefixes, and also maintain route-set objects. For these ASes, we should compute whether the route and route-set objects lead to the same set of IP prefixes, or if there are any differences.

This does not make sense to me because routes specify an origin that points to aut-nums, not route-sets. I do not expect defined route-sets to match an AS's routes. Also, there is no direct way to correlate route-sets with aut-nums.

My thoughts were:

Compute set of route objects that have origin: ASX
Look at RPSL entries for ASX and whether it has rules liketo AS-ANY export RS-ASX-ROUTES, if (and only if) it does, then compare RS-ASX-ROUTES with the set of routes from (1) above.

[ ] How many ASes only export a route set or ANY.

That (145) is double the number I estimated, but still tiny compared to the total number of 50999 ASes with policy.

I thought we'd include ASes like AS61574, which only has announce ANY in its policy:
aut-num:        AS61574
as-name:        PEERING-TESTBED-AS61574
descr:          Columbia/UFMG PEERING Research Testbed
descr:          https://peering.ee.columbia.edu
member-of:      AS-PEERING-TESTBED
mp-import:      afi ipv4.unicast from AS-PEERING-TESTBED accept ANY
mp-export:      afi ipv4.unicast to AS-PEERING-TESTBED announce ANY
mp-import:      afi ipv6.unicast from AS-PEERING-TESTBED accept ANY
mp-export:      afi ipv6.unicast to AS-PEERING-TESTBED announce ANY
tech-c:         IFSC2-RIPE
admin-c:        IFSC2-RIPE
status:         OTHER
mnt-by:         MNT-UUPRT
created:        2017-11-16T13:19:07Z
last-modified:  2020-12-27T18:20:55Z
source:         RIPE-NONAUTH # Filtered

I checked some of these and they had only one single route-set in their exports. I think we should also allow an AS to have announce ANY in addition to announce RS-WHATEVER. If you've included these, then I think we can drop this as 145 are too few. To make this more concrete, AS47065 would almost appear on our list (it has announce ANY and announce RS-WHATEVER), it gets pruned because now we have two distinct route sets.
aut-num:        AS47065
as-name:        PEERING-TESTBED-AS47065
descr:          Columbia/UFMG PEERING Research Testbed
descr:          https://peering.ee.columbia.edu
mp-import:      afi ipv4.unicast from AS-ANY accept ANY
mp-export:      afi ipv4.unicast to AS-PEERING-TESTBED announce ANY
mp-export:      afi ipv4.unicast to AS-ANY announce RS-PEERING-TESTBED
mp-import:      afi ipv6.unicast from AS-ANY accept ANY
mp-export:      afi ipv6.unicast to AS-PEERING-TESTBED announce ANY
mp-export:      afi ipv6.unicast to AS-ANY announce RS-PEERING-TESTBED
remarks:        Explicit entries for AMS-IX Routeservers:
mp-import:      afi ipv4.unicast from AS6777 accept ANY
mp-export:      afi ipv4.unicast to AS6777 announce RS-PEERING-TESTBED
mp-import:      afi ipv6.unicast from AS6777 accept ANY
mp-export:      afi ipv6.unicast to AS6777 announce RS-PEERING-TESTBED
remarks:        Explicit entries for Vultr:
mp-import:      afi ipv4.unicast from AS20473 accept ANY
mp-export:      afi ipv4.unicast to AS20473 announce RS-PEERING-TESTBED-DIRECT
mp-import:      afi ipv6.unicast from AS20473 accept ANY
mp-export:      afi ipv6.unicast to AS20473 announce RS-PEERING-TESTBED-DIRECT
tech-c:         IFSC2-RIPE
admin-c:        IFSC2-RIPE
status:         OTHER
mnt-by:         MNT-UUPRT
created:        2017-11-16T13:19:06Z
last-modified:  2022-11-08T15:01:20Z

I thought we'd include ASes like AS61574, which only has announce ANY in its policy:

I did not include these ASes because there is no checking whether their Route Set and ASN point to the same set of prefixes

I did not include these ASes because there is no checking whether their Route Set and ASN point to the same set of prefixes

Right, I deleted the comment after realizing that. Sorry about the overhead.

I checked some of these and they had only one single route-set in their exports. I think we should also allow an AS to have announce ANY in addition to announce RS-WHATEVER. If you've included these, then I think we can drop this as 145 are too few.

Yes, I allow Any.

authors: SichangHe cunha


text:
Switch to Go v1.23

Switch to latest Go release version 1.23.

[x] Update Go to v1.23.1
[x] Update Ginkgo to v2.20.2
[x] Update Pester to v5.6.1
[ ] Update Go to v1.23.2

Incorporate latest fixes by Go team: https://go.dev/doc/devel/release#go1.23.minor


text:
Ensure that ECV is language-specific

Currently, ECV button export all items in database
Users (with sufficient authorisation) should only be able to refresh ECV for the datasets they have access to
Create list of languages under the ECV button (like the list under the Search button)

See also #254

Wouldn't it make more sense to have the ECV be Dataset specific?
Btw, do you mean written languages or sign languages as language?

@henrinie: indeed, that's what it should be. When I created this issue we weren't yet in the clear about any role of dataset objects.

Update too original issue: better than displaying a list of languages to the user, perhaps just keep the button as it id's, but have it update all the ECVs for datasets to which the user has write access.

authors: henrinie ocrasborn

repo: Signbank/NGT-signbank


text:
Support multiple organizations ???

The application has many different organizations, and I want to pass the above org like the way flutter_appauth is doing. Can you guys help with this? I am using the library for Flutter Windows App.
final request = AuthorizationTokenRequest(           config.clientId,           config.callbackSchema,           scopes: config.scopes,           clientSecret: config.clientSecret,           promptValues: ['login'],           serviceConfiguration: AuthorizationServiceConfiguration(             authorizationEndpoint: config.authorizeUrl,             tokenEndpoint: config.tokenUrl,             endSessionEndpoint: config.endSessionUrl,           ),           additionalParameters: config.getLoginAdditionalParameters(             deviceToken: deviceToken,             culture: cultureArgs.join('-'),           ),           issuer: config.identityEndPoint,           preferEphemeralSession: false,         );
` Map<String, String> getLoginAdditionalParameters({
String? deviceToken,
String? culture,
}) {
final parameters = {
'organization': organization,
'deviceToken': deviceToken ?? '',
'applicationCode':
Platform.isAndroid ? 'Android' : '',
};
if (culture?.isNotEmpty ?? false) {
  parameters.putIfAbsent('culture', () => culture ?? '');
}

return parameters;

}`

So you want to add custom parameters in the request?

Thanks, team!


text:
Crashes extensions

Issue Type: Bug
I have a 9MB EDI file. This is pretty normal for EDI files. In fact, they can get FAR larger. This file has also been verified by insurance companies to be error free.
Using the "prettify" function, it crashes. This extension works fine on smaller files.
My system is a 10th gen i7 with 32GB RAM.
Extension version: 1.1.0
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.18362
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.77GB (17.87GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-18.04

OS
Linux x64 4.4.0-18362-Microsoft

CPUs
Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)

Memory (System)
31.77GB (17.87GB free)

VM
0%

Blah, I knew this would happen eventually...
Do you know what causes the crash? Does the extension just hang and VSCode kills it, out-of-memory, etc?

Hah. I love the extension!
The error I get (After many seconds or minutes) is "Extension host terminated unexpectedly."
And 2 buttons: Open Developer Tools and Restart Extension Host
Dev tools shows: UNRESPONSIVE extension host, 'Silvenga.edi-x12-support' took 84% of 5730.041ms

I see it says "Valid ISA header" and "Tokenization is skipped for long lines for performance reasons". The length of a long line can be configured via 'editor.maTokenizationLineLength'
Thanks!

Hi, I have the same problem in a valid 42-line EDI file. Since I used prettify for the first line it does not inform me about the clicked element. It keeps "Loading".
Love the extension too <3

I'm a really bad maintainer. I remember opening VSCode to fix this, then got distracted by life stuff, then completely forgot.
What's the size of your EDI file @teamrehab and @rebecaruiz (character count)? And the ISA header might be useful (just looking for the segment separators).
I need a better way to debug this... I'm 99% sure this is a regex performance problem, I've been meaning to switch to an actual tokenization strategy, but that's a major rewrite.

My file weighs 1.481 bytes. It's a pretty light 850 EDI document only for testing purposes.
When I discovered the prettify/uglify feature it was great for me because I usually manipulated these files in VSCode for displaying them in one single line and ingest them as argument into a greater file. The ISA header is valid. It amazed me that once I used prettify/uglify the line endings changed from CRLF to LF without my intervention. Then I closed the document without saving, stopped VSCode and run it again, so the extension worked well again.
ISA*00*          *00*          *12*7242733018CH   *ZZ*12005421       *181101*1230*U*00401*000000001*0*P*>~

I can't repo your case @rebecaruiz - I think I'll need an order of operations.

I can repo the 9mb issue, and it's not regex related, I'll need to bug someone with some more experience with profiling JS.

I appreciate you working in this. This plugin really saves me some time!

I failed to find anyone that can help me with the JS profiling. 😞
So not sure how to really proceed. I did, however, try to get some performance snapshots, but actually digging into them as proven to be a challenge, since nothing in the extension jumps out as being overly bad.

Thanks for looking into it.
EDI files can get really big. Probably bigger than most common types of files that VS is used to linting...
I'd send you an example but that would literally violate HIPAA :-)

authors: Silvenga rebecaruiz teamrehab undeadindustries

license: mit


text:
Error with unpublished pages when using Re-generate task

When using the 'Re-generate all search documents' task all pages are added to the SearchDocument table regardless of published status. This then throws an error on the search results page due to a null object.
I think there needs to be a check in the task to see if object is versioned and if so then only use Live version.

Thanks for reporting that. We will check it and let you know.

@Jellygnite this is sorted on the dev-master now.

authors: Jellygnite fonsekaean

repo: SilverStripers/elemental-seach


text:
Updated to 1.14.0 on Wear OS. Battery life got worse

Had a prompt to update on my Watch. Updated. Watch usually lasts a full day on a full charge. After updating it went from full to dead in a little over 6 hours. Charged the Watch and checked battery settings. Simplewear was at the top of List.
Rebooted Watch, fully charged and wore it yesterday. Battery dropped to 15% before bedtime (I usually get to round 65% this time). Gave it a charge to 90% before putting it on to sleep. Woke up this morning Watch was dead (checked settings after giving charge). Battery lasted 6 hours with Simplewear being at the top of list consuming most Battery. I've un-installed for now and will see if the app was root cause but can't think of anything else that would affect my battery since this was the only update I had over the weekend.
Phone - 1.13.1
Watch 1.14.0
Galaxy Watch 6 Classic
Galaxy Z Fold 5 / One UI 6.1 / Android 14

I'm looking into the battery issue. To help check, could you confirm if you are using any tiles or complications/widgets? If so, which ones?

Thank you for the reply. I was using the tile with the quick settings. I deleted for now because the battery drain was pretty bad. Please let me know if you need more info.
Thank you 🙏

Please check the latest beta and let me know if you are still seeing the battery drain quickly

authors: escenkay thewizrd

repo: SimpleAppProjects/SimpleWear


text:
Add exception handling in WrapsMessageHandlingInTransaction middleware

Hello,
If an exception is thrown in the EntityManager::transactional method, the entityManager becomes unusable for subsequent handlers.
A typical example is when you call the CommandBus in a loop.
We should inject the ManagerRegistry instead of the EntityManager to be able to get a new EntityManager in case of an exception.
We also need to add an option to specify a custom EntityManager. For example, we could inject the name of the EntityManager we want.
The handle method would look like :
public function handle(Message $message, callable $next)
    {
        $entityManager = $this->managerRegistry->getManager($this->entityManagerName);

        try {
            $entityManager->transactional(
                function () use ($message, $next) {
                    $next($message);
                }
            );
        } catch (Exception $e) {
            $this->managerRegistry->resetManager($this->entityManagerName);
            throw $e;
        }
    }

Edit :
Following my example, if we decide to go this road, we'll have to always use the ManagerRegistry to get the EntityManager instead of directly injecting it. I can't find another (and proper) solution at the moment. :/

This has been fixed in 3.0.

authors: jgoux matthiasnoback

repo: SimpleBus/DoctrineORMBridge


text:
Segmentation Fault when importing SimpleITK 2.0 before TensorFlow

Likely related to #1192
OS: Ubuntu 20.04
Python 3.8.2 (tested with 3.7, too)
Make a virtualenv:
python -m venv sitk_venv
source sitk_venv/bin/activate
pip install tensorflow==2.3.1 SimpleITK==2.0.0

test.py:
import SimpleITK as sitk
import tensorflow as tf

$ python test.py
Segmentation fault (core dumped)

If we reverse the order of imports (TensorFlow first), it works fine. I'm not sure whether it's an issue with TF or SimpleITK, but it doesn't happen with SimpleITK==1.2.4.

Thank you for reporting this issue. We will look into it.

SimpleITK wheels are compiled per PEP 513 manylinux1, while tensor flow is manylinux2010. I believe these should be interpretable with I will need further investigation.

Here is an related piece with PyArrow: https://uwekorn.com/2019/09/15/how-we-build-apache-arrows-manylinux-wheels.html
Specifically the section "Annoying end users issue #2: 'Segmentation fault after import TensorFlow"' appear to be relevant.

I had the same issue.
Changing the import order as @alkamid suggested worked for me.

This issue has been addressed in PR #1210 and has been merged into master. It is available in the "latest" nightly packages. Please download and test the package to verify it resolves the issue. Then it can be merged into the release branch for 2.0.1.

I can confirm that using (https://github.com/SimpleITK/SimpleITK/releases/download/latest/SimpleITK-2.1.0.dev23-cp38-cp38-manylinux1_x86_64.whl)[this wheel] (2.1.0.dev23) fixes the issue.

SimpleITK 2.0.1 have been uploaded to pypi, which addresses the import order issue with tensor flow.

authors: alkamid blowekamp ltetrel

repo: SimpleITK/SimpleITK


text:
vue class component & decorators

I tryed to change my way of development by using vue-class-component, but electron-vue bothers me...
I installed vue-class-component, and tryed it
<script>
import Vue from 'vue'
import Component from 'vue-class-component'

@Component({
  props: {

  }
})
export default class App extends Vue {
  // some data
  msg = 'Hello'
}
</script>

and i got this error

Folowing the error instruction i installed babel-plugin-transform-decorators-legacy
like this - yarn add babel-plugin-transform-decorators-legacy -D
and added a "transform-decorators-legacy" to "plugins" in my .babelrc file

And after, my app stopped working, or i get same error, or i just see my directory instead(((
Past 3 hours i tryed to slove it, but w/out results... May be you can show my mistake, or way to fix it) And it would be greate if u make backward compatibility.

@kwoosh sorry for the late reply.
It seems that there is a potential bug with .babelrc files applying global plugins to defined environments. A quick fix would be to add the plugin within the renderer environment. Luckily in the next major release of babel there will be the ability to define your configurations in JS.
    "renderer": {
      "presets": [
        ["env", {
          "modules": false
        }],
        "stage-0"
      ],
      "plugins": ["transform-decorators-legacy"]
    },

authors: SimulatedGREG kwoosh

repo: SimulatedGREG/electron-vue


text:
Only O and  in inference mode

Hi! Your work looks great! I tried to train my own model in Russian language. I made train/val/test like yours and changed pretrained BERT to another one. This is my args:
python arabiner/bin/train.py --output_path ./ArabicNER/output
                                                --train_path ./ArabicNER/data/train.txt
                                                --val_path ./ArabicNER/data/val.txt
                                                --test_path ./ArabicNER/data/test.txt
                                                --batch_size 8
                                                --data_config '{"fn":"arabiner.data.datasets.NestedTagsDataset","kwargs":{"max_seq_len":512}}'
                                                --trainer_config '{"fn":"arabiner.trainers.BertNestedTrainer","kwargs":{"max_epochs":50}}'
                                                --network_config '{"fn":"arabiner.nn.BertNestedTagger","kwargs":
                                                                               {"dropout":0.1,"bert_model":"DeepPavlov/rubert-base-cased-conversational"}}'
                                               --optimizer '{"fn":"torch.optim.AdamW","kwargs":{"lr":0.0001}}'

Model trained with this args good. Metrics on test set:

But when i try to inference model on text, I have troubles with only 'O' or pad in output on example from train.txt:

In this example the second word is B-PER. And in no other example did the model predict an entity.
Code for run inference:
python -u ./ArabicNER/arabiner/bin/infer.py
              --model_path ./ArabicNER/output
              --text "привет андрей"

Can you help me with this trouble?

Problem found. It lies in the fact that when training the model, bert_model was not installed in data_config:
--data_config '{"fn":"arabiner.data.datasets.NestedTagsDataset","kwargs":{"max_seq_len":512}}'

Therefore, after training, the name of the model for the tokenizer was not recorded in args.json and the default model in NestedTagsDataset was used in inference mode:
class NestedTagsDataset(Dataset):
    def __init__(
        self,
        examples=None,
        vocab=None,
        bert_model="aubmindlab/bert-base-arabertv2",
        max_seq_len=512,
    ):

To fix this problem, you need to specify the name of the BERT model in --data_config when you start train the model:
--data_config '{"fn":"arabiner.data.datasets.NestedTagsDataset","kwargs":{"max_seq_len":512, "bert_model": "DeepPavlov/rubert-base-cased-conversational"}}'

or write this manually in args.json:
    "data_config": {
        "fn": "arabiner.data.datasets.NestedTagsDataset",
        "kwargs": {
            "max_seq_len": 512,
            "bert_model": "DeepPavlov/rubert-base-cased-conversational"
        }
    },

Closes #8

repo: SinaLab/ArabicNER


text:
Ci/21/add tag workflow

resolves #21

:tada: This PR is included in version 1.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: Singebob/bot-projet-mspr

license: ISC


text:
confusing example about  Line

I'm trying to use this package, but the example of how to create line is ambiguous:
If new Polygon(200, 5, [[-30, 0], [10, 20]])  is a line, why doesn't it only contains two point likes new Polygon(200, 5, [[-30, 0]]) ?
It looks likes a triangle.

You're confusing the 200, 5 as the first coordinate of the line, but it's actually the line's translation (or offset) within world-space.
new Polygon(200, 5, [[-30, 0], [10, 20]]) is creating a line segment from -30, 0 to 10, 20, and then translating that entire line to 200, 5 within the "world". This allows you to move the line around by changing its x and y properties instead of having to loop through all of the points and add 200, 5 to them.
Think of 200, 5 as the "origin" of the shape around which the points are positioned, rotated, and scaled.

Thank you, that make sense.

authors: ShimShamSam linonetwo

repo: Sinova/Collisions


text:
Problem: Cant use pass-rotate when $ACCOUNT is not in the root of pass

My layout of pass is: Internet/<domain>/<email> so pass-rotate github.com will obviously not find my entry.. I added an option to override the used entry to the ini file. It's called pass-name so my github config now looks like:
[github.com]
username=myuser
pass-name=Internet/github.com/mymail

honestly I don't like this workaround myself. I'd suggest to change the syntax of pass-rotate to mimic pass (maybe it could even be hooked into pass somehow...):
pass-rotate <path> .. the same way I do pass show <path>. The config file could then link my pass entry with a provider, for example:
{
  "accounts": [
    {
      "path": "<path>",
      "provider": "github.com"
    }
  ]
}

That would even allow for multiple accounts per domain...

Thanks!

authors: SirCmpwn gabm

repo: SirCmpwn/pass-rotate


text:
🛑 CheckDomain API is down

In 37a117d, CheckDomain API (https://chkdomain.my.id/api) was down:

HTTP code: 523
Response time: 575 ms

Resolved: CheckDomain API is back up in 2a339c8 after 12 minutes.

repo: Skiddle-ID/monitoring


text:
Hiperdex cloudflare bypass not working

As you told me, hiperdex needs to be updated to use a different user agent in order to bypass cloudflare

#445

authors: Skittyblock Velphae

repo: Skittyblock/aidoku-community-sources


text:
Wrong mesh export

https://drive.google.com/file/d/1ZX6g2i02rGM--_Zls0ebzrAsWAC-iZSj/view?usp=sharing  <- blend file

Your mesh is too detailed, split it into smaller parts.

other meshes it exported fine,

and it has more weight comparing with other ydrs with almost the same poly count

so it's definitely the sollumz bug
also, when it is in xml it has much more weight then others

I separated the mesh in half, but it still exports incorrectly

can you send me the xmls in discord just @ me

This happens when the mesh is too high poly. Try splitting it up even more and if that doesn't work make an issue with the blend file attached.

No longer an issue on yft branch (will be merged soon)

repo: Skylumz/Sollumz


text:
Ender IO Travel anchors

HI I was wondering if anyone could tell me how to name travel anchors like House and Farm and stuff like that?

Same way you name everything in Minecraft---Anvil.

Huh? There is a text field in the GUI.
On May 25, 2015 10:10 AM, "Henry Loenwind" notifications@github.com wrote:

Same way you name everything in Minecraft---Anvil.
—
Reply to this email directly or view it on GitHub
https://github.com/SleepyTrousers/EnderIO/issues/2509#issuecomment-105240327
.

right click on it then write the name

repo: SleepyTrousers/EnderIO

license: Unlicense


text:
起動時DataGridに空行が生まれてしまう

初期化処理で１つできてしまっている。
個人的にはあんまり気にならないがどうにかしておきたい。

→ 410da35


text:
修改自定义附属矿物科技OreTech信息

修改自定义附属矿物科技OreTech信息

呃呃抱歉忘记改仓库名了，已经修改

repo: SlimefunGuguProject/Slimefun-Wiki


text:
James darkmode

added darkmode should hopefully not cause issues when merging

This looks great, one thing, is it our intention to change the card color on the login page? It is a bit hard to see the text on the login.


text:
Error: Bad state: Cannot add new events after calling close

Seems that .listen is still adding new data after .close? I need to dispose and re-creates the youtubeplayer any way to avoid this error?
Error: Bad state: Cannot add new events after calling close
at Object.throw_ [as throw] (http://localhost:64685/dart_sdk.js:5334:11)
at _AsyncBroadcastStreamController.new.add (http://localhost:64685/dart_sdk.js:32891:55)
at controller.YoutubePlayerController.new.add (http://localhost:64685/packages/youtube_plyr_iframe/src/helpers/youtube_value_builder.dart.lib.js:960:32)
at http://localhost:64685/packages/youtube_plyr_iframe/src/helpers/youtube_value_builder.dart.lib.js:562:45
at Object._checkAndCall (http://localhost:64685/dart_sdk.js:5544:16)
at Object.dcall (http://localhost:64685/dart_sdk.js:5549:17)
at http://localhost:64685/dart_sdk.js:105416:21

Sorry for the late response, this should be fixed with  youtube_plyr_iframe: ^2.0.5+1

authors: dannycortesv jonatadashi


text:
🛑 My blog(CDN) is down

In 85efb1f, My blog(CDN) (https://sbrave.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(CDN) is back up in c8fac2b.

repo: SmartBrave/uptime


text:
🛑 My blog(github.io) is down

In 6a2e51a, My blog(github.io) (https://smartbrave.github.io/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(github.io) is back up in dea55c0.


text:
🛑 My blog(CDN) is down

In d97fb48, My blog(CDN) (https://sbrave.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(CDN) is back up in a44f9e0.


text:
🛑 My blog(CDN) is down

In 1fb98dd, My blog(CDN) (https://sbrave.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(CDN) is back up in c1beeff.


text:
sonos driver: added support for removing next/previous track buttons depending on source

added support for removing next/previous track buttons when playing

 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.

@dljsjr FYI - I am closing this, please feel free to review/reopen if you see best.

authors: CLAassistant lelandblue sjl2178


text:
🛑 Kmart Bot is down

In dc9e41f, Kmart Bot (https://kekmart.smirf123.dev/kekbot/status) was down:

HTTP code: 0
Response time: 0 ms

Verf Kmart bot is working, issue should auto close

Rebooted Kmart bot for good measure

Resolved: Kmart Bot is back up in 83b0c14 after 53 minutes.


text:
🛑 NEOCP is down

In effb667, NEOCP (https://minorplanetcenter.net/iau/NEO/toconfirm_tabular.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NEOCP is back up in 4901260 after 4 minutes.

repo: Smithsonian/upptime


text:
Rudder stack quickstart

Submitting a new guide for approval

Snowflake team, if there are any questions before merging, please let me know. RudderStack team is the main author, but I provided guidance on assets.

Hi @MattKelliher-Gibson! Thank you for your contribution. Overall the QS Guide looks great. Can you please make the following edits and submit a new PR?

The first "Overview" step should include these sections Overview, What You Will Learn, What You Will Build and Prerequisites
The last "Conclusion" step should include these sections What You Learned and Related Resources

You can use this QS as a reference -- https://quickstarts.snowflake.com/guide/getting_started_with_dataengineering_ml_using_snowpark_python/index.html
Hope that helps.
Cheers,
Dash
cc @sfc-gh-lambrosetti

@iamontheinet Thanks for the feedback. One question, in your comment you asked for a section on What You Will Build. The example given doesn't have that section, how is it different from What You Will Learn?

@iamontheinet Thanks for the feedback. One question, in your comment you asked for a section on What You Will Build. The example given doesn't have that section, how is it different from What You Will Learn?

Hi @MattKelliher-Gibson! That section is optional if you're not actually building an app, data pipeline, etc. of some sort. See this QS -- https://quickstarts.snowflake.com/guide/image_recognition_snowpark_pytorch_streamlit_openai/index.html

@iamontheinet  I have added a commit with the updates you asked for. If anything else is missing or needs changing, please let me know.

@iamontheinet I have added a commit with the updates you asked for. If anything else is missing or needs changing, please let me know.
CC: @sfc-gh-lambrosetti

Thanks @MattKelliher-Gibson! Will review, merge, and deploy it soon.

repo: Snowflake-Labs/sfquickstarts


text:
Invalid XML file, OpenNES.Headered.dat

Hi. The dats/OpenNES.Headered.dat file has some broken xml. Some "game" tags are closed with "machine" ending tags

That's what I get for publishing a release at 6AM. Fixed by 269d8c32b46a20049f187e2ee02a666cc47c27e1.
Thanks for bringing this to my attention.

authors: chyyran retromandan

repo: SnowflakePowered/opengood


text:
🛑 Matomo is down

In 14752eb, Matomo (https://matomo.fabrique.social.gouv.fr/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Matomo is back up in 2a26884.

repo: SocialGouv/upptime


text:
one to one messaging app

hi
how can i create one to one messaging app?
in fact witch property of socket cluster should i use to create one to one messaging app?

@mahdiyousofun This is a bug tracker. For casual questions, please, use the Gitter chat room.

authors: MegaGM mahdiyousofun

repo: SocketCluster/socketcluster


text:
Deploying admin js bundle to S3 causes issues in production

Describe the bug
I've followed the instruction from this previous issue 924 and seem to be in a trouble. Some components are not being properly rendered

The console shows the following message
Uncaught SyntaxError: Cannot use import statement outside a module 6VM3351 react_devtools_backend.js:3973 Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.     at Vf (global.bundle.js?date=1652343877060:27:110168)     at global.bundle.js?date=1652343877060:27:56061     at qs (global.bundle.js?date=1652343877060:27:66095)     at Mc (global.bundle.js?date=1652343877060:27:106520)     at Sf (global.bundle.js?date=1652343877060:27:97052)     at _f (global.bundle.js?date=1652343877060:27:96977)     at yf (global.bundle.js?date=1652343877060:27:94006)     at global.bundle.js?date=1652343877060:27:45593     at e.unstable_runWithPriority (global.bundle.js?date=1652343877060:18:3854)     at ol (global.bundle.js?date=1652343877060:27:45302) overrideMethod @ VM3351 react_devtools_backend.js:3973 yc @ global.bundle.js?date=1652343877060:27 Cc.a.componentDidCatch.n.callback @ global.bundle.js?date=1652343877060:27 kl @ global.bundle.js?date=1652343877060:27 xc @ global.bundle.js?date=1652343877060:27 jf @ global.bundle.js?date=1652343877060:27 e.unstable_runWithPriority @ global.bundle.js?date=1652343877060:18 ol @ global.bundle.js?date=1652343877060:27 Tf @ global.bundle.js?date=1652343877060:27 yf @ global.bundle.js?date=1652343877060:27 (anonymous) @ global.bundle.js?date=1652343877060:27 e.unstable_runWithPriority @ global.bundle.js?date=1652343877060:18 ol @ global.bundle.js?date=1652343877060:27 ll @ global.bundle.js?date=1652343877060:27 ul @ global.bundle.js?date=1652343877060:27 cf @ global.bundle.js?date=1652343877060:27 Cs @ global.bundle.js?date=1652343877060:27 (anonymous) @ app.bundle.js?date=1652343877060:1
If I remove the assetsCDN option it works perfectly. I'm manually generating the build and uploading it to S3.

All fixed the issue was with the component.bundle.js not being updated due to the cache of CDN in AWS 😅

repo: SoftwareBrothers/adminjs


text:
Solace connection fails but KafkaConnect status is still RUNNING

i am on latest version, the connector was running ok before and writing messages to kafka but then later on it got this exception. But KafkaConnect status stayed RUNNING, so it is silently crashed. Need KafkaConnect status to change to FAILED so alert can be raised or livenessprobe can autorestart
[2022-06-16 19:58:35,127] INFO Client-1: (Client name: kafka-connect-redact/52/00510001/UHWK6gklrN   Local addr: redactip Local port: 47940   Remote addr: redacthost  Remote port: 55443) - handleException(): Channel Closed Event (smfclient 1) (com.solacesystems.jcsmp.protocol.impl.TcpClientChannel)
[2022-06-16 19:58:35,128] INFO Client-1: handleException(): Channel Closed Event (smfclient 1) with exception: Error communicating with the router. (KeepAlive) cur_stack=Thread: "Context_2_ReactorThread" daemon  id=81, prio=5:   com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.handleException(TcpClientChannel.java:1374)   com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.handleKeepaliveException(TcpClientChannel.java:329)      com.solacesystems.jcsmp.protocol.impl.KeepaliveTimeoutHandler.handleTimeout(KeepaliveTimeoutHandler.java:57)         com.solacesystems.jcsmp.impl.timers.impl.JCSMPTimerQueueImpl.runAllTo(JCSMPTimerQueueImpl.java:91)   com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor.eventLoop(SyncEventDispatcherReactor.java:168)     com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor$SEDReactorThread.run(SyncEventDispatcherReactor.java:338)       java.base/java.lang.Thread.run(Thread.java:829)  (com.solacesystems.jcsmp.protocol.impl.TcpClientChannel)
[2022-06-16 19:58:35,128] INFO Client-1: (Client name: kafka-connect-redact/52/00510001/UHWK6gklrN   Local addr: redactip Local port: 47940   Remote addr: redacthost  Remote port: 55443) - startReconnect(): Channel Closed Event (smfclient 1); exception: Error communicating with the router. (KeepAlive) cur_stack=Thread: "Context_2_ReactorThread" daemon  id=81, prio=5:      com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.startReconnect(TcpClientChannel.java:1335)    com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.handleException(TcpClientChannel.java:1399)      com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.handleKeepaliveException(TcpClientChannel.java:329)   com.solacesystems.jcsmp.protocol.impl.KeepaliveTimeoutHandler.handleTimeout(KeepaliveTimeoutHandler.java:57)         com.solacesystems.jcsmp.impl.timers.impl.JCSMPTimerQueueImpl.runAllTo(JCSMPTimerQueueImpl.java:91)  com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor.eventLoop(SyncEventDispatcherReactor.java:168)      com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor$SEDReactorThread.run(SyncEventDispatcherReactor.java:338)       java.base/java.lang.Thread.run(Thread.java:829)  (com.solacesystems.jcsmp.protocol.impl.TcpClientChannel)
[2022-06-16 19:58:35,130] INFO Received Flow (Queue) Event FLOW_DOWN with info Error communicating with the router. (KeepAlive) with exception {}
 (com.solace.connector.kafka.connect.source.SolFlowEventCallBackHandler)
com.solacesystems.jcsmp.JCSMPTransportException: Error communicating with the router. (KeepAlive)
        at com.solacesystems.jcsmp.protocol.impl.KeepaliveTimeoutHandler.handleTimeout(KeepaliveTimeoutHandler.java:56)
        at com.solacesystems.jcsmp.impl.timers.impl.JCSMPTimerQueueImpl.runAllTo(JCSMPTimerQueueImpl.java:91)
        at com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor.eventLoop(SyncEventDispatcherReactor.java:168)
        at com.solacesystems.jcsmp.protocol.nio.impl.SyncEventDispatcherReactor$SEDReactorThread.run(SyncEventDispatcherReactor.java:338)
        at java.base/java.lang.Thread.run(Thread.java:829)
[2022-06-16 19:58:35,133] INFO Client-1: Stale reconnect task, aborting reconnect. (com.solacesystems.jcsmp.protocol.impl.TcpClientChannel)
[2022-06-16 19:58:35,134] INFO Source of the Flow (Queue) event: com.solacesystems.jcsmp.impl.flow.FlowHandleImpl
 (com.solace.connector.kafka.connect.source.SolFlowEventCallBackHandler)
[2022-06-16 19:58:35,135] INFO Received Session Event DOWN_ERROR with info null
 (com.solace.connector.kafka.connect.source.SolSessionEventCallbackHandler)
[2022-06-16 19:58:35,135] INFO Client-1: Channel Closed (smfclient 1) (com.solacesystems.jcsmp.protocol.impl.TcpClientChannel)
[2022-06-16 19:58:35,135] INFO Client-1: SubChannel (smfclient 1, name=kafka-connect-redact/52/00510001/UHWK6gklrN, desc=) threw exception, non-recoverable.  (com.solacesystems.jcsmp.impl.flow.SubFlowManagerImpl)
com.solacesystems.jcsmp.JCSMPTransportException: (JCSMPTransportException) Error communicating with the router. (KeepAlive)
        at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel$ClientChannelReconnect.call(TcpClientChannel.java:2438)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
[2022-06-16 19:58:35,136] INFO JCSMP Exception in SolMessageQueueProcessorCallback (JCSMPTransportException) Error communicating with the router. (KeepAlive)
 (com.solace.connector.kafka.connect.source.SolMessageQueueCallbackHandler)

cc @Nephery @bczoma @KenBarr @TKTheTechie @dev-mansonthomas @Chambras @PhilippeKhalife @fhussonnois @unixunion @lakshmanpython  @leadingsoftjp @Shimahosseini @shalinsurface @farmountain
in these places is where i think its just logging the exception without throwing up:
https://github.com/SolaceProducts/pubsubplus-connector-kafka-source/blob/master/src/main/java/com/solace/connector/kafka/connect/source/SolMessageQueueCallbackHandler.java#L52
https://github.com/SolaceProducts/pubsubplus-connector-kafka-source/blob/master/src/main/java/com/solace/connector/kafka/connect/source/SolFlowEventCallBackHandler.java#L33-L34
https://github.com/SolaceProducts/pubsubplus-connector-kafka-source/blob/e0fcb7831e2c595ee86eb6569163f76633b533c7/src/main/java/com/solace/connector/kafka/connect/source/SolMessageTopicCallbackHandler.java#L51

Addressed in v2.3.0, setting task to failed state in case of connection error to PubSub+ broker event destination


text:
[Healer Layout] Debuffs on target frame

Option to only show your own debuffs on the target frame when using the healer layout. If it exceeds more than one line, it goes over the actual health frames of the raid, making it impossible to heal a couple of people.
Edit: You can also just come up with a solution so the debuffs on the target frame do not overlap with the raid health bars.

with new update, target auras moved to the top
also, you can try only show debuffs that created by you via config panel

authors: Neiara Solor


text:
Network color setting issues

Forge: 2800
Flux Networks 3.0.19-21
The color boxes in the edit network tab allow putting in invalid numbers into the color boxes (outside of 0-255). The network color label will changed to F X0V (or any of the combinations of such) if any color is set to 256 or higher (and presumably lower) and the cube will set to the closest valid color. Upon trying to access a flux storage cube that has been set in this manner a translation error will occur.
Suggested fix: enforce a limit of 0-255 when putting numbers into the network edit screen such that on attempting to enter an invalid number, it is blocked, or turns red and is not applied and not saved.

Fixed: the new version takes hex colours instead.

authors: DemonfangArun SonarSonic

repo: SonarSonic/Flux-Networks


text:
如果导入模块时候像我一样报错ERROR：' type' object is not subscribable，可以这么解决

将原来的extra_config_utils.py，改成以下的，

`from typing import List
def group_rule_str2list(rulestr: str) -> List[str]:
if rulestr[-1] == ',':
rulestr = rulestr[:-1]
return rulestr.split(",")
def group_rule_list2str(group_rule_list: List[str]) -> str:
gs = ""
for gr in group_rule_list:
gs = gs + gr + ","
gs = gs[:-1]
return gs
`

你应该pr，不是开issue

你应该pr，不是开issue

不好意思，没用过这个pr下次遇到这种情况就用这个，感谢大佬的模块

authors: SonderXiaoming wuyedamoshou


text:
PLS help

Me & a friend of mine did everything like right we didnt get errors or anything but it still doesnt work i want to ask if we are missing something like a prompt or something if you have machi for example what do you exactly do , for example is it only beeing in the same server that is enough our is it doing something extra here i'll show you http://puu.sh/sWZtP/2c14ced0d4.png . if you have any idea pls help up he looked it all up & apperantly we did nothing wrong

Read the instructions more carefully. You put the command-line arguments in the wrong place entirely.

where are there suppose to go then if you pls if thats the wrong place?

http://forums.sonicretro.org/index.php?showtopic=31932


text:
Drag and Drop using two list in different documents (iframe)

Hi
I would like to enable sortable lists across an iframe (with same origin).
I tried to create two lists with same 'group' but it doesn't work
I also tried to use "forceFallback: true" but nothing changed
Is this possible? How I can achieve that? Also a tricky solution is good for me
Thank you in advance
This example is very simple but it doesn't work anyway
 Sortable.create(document.querySelector(".container"), {         group: "group1"       });

       content1       content2

Why do you think it wouldn't work?
Does Sortable exist in both iframes?

@waynevanson yes of course
I created this https://jsfiddle.net/nicoloboschi/39c4f5b7/

@waynevanson any news? Is this possible now?
Maybe I'm missing some options

If it is not possible right now, I might working on this and create a PR
@waynevanson Could you give me some hints for starting?

I also need this, any news? @waynevanson

Any news on this?

I also need this, any news? @waynevanson

authors: Uysim mino181295 nicoloboschi waynevanson zijiaone

repo: SortableJS/Sortable


text:
Apply syntax highlightings to text

Example: user regular expression to highlight links or important words in abstract.

I implemented a function to highlight specific words in a given string.

@lyoshida nicely done. As a low priority thing we can in later time highlight also twitter handlers (@) and hashtags (#)

For now I highlighted urls that on click they are opened into the app. What else? Important words what does it mean?

@pincopallino93 words that are substrings of the keywords may apply

authors: Mec-iS lyoshida pincopallino93

repo: SpaceAppsXploration/xpreader-client


text:
delete instruction from map after checking

Delete the instruction from the instructionBumpMap after checking it so that memory does not increase over time

not required, is reset on each iteration

repo: SpaceMonkeyForever/openbook-cranker


text:
Misc UI cleanup

The Awake() method in Unity is a special function that gets called once during the lifetime of a script, when the GameObject that the script is attached to is first activated in the scene.
In the code you provided, public new void Awake() or Start is used to initialize a Rect variable _windowRect with a specific position and size.
The reason for using new in this case is to hide the Awake() method inherited from the base class, and provide a different implementation of the Awake() method specific to this script.
By setting the position and size of _windowRect in Awake(), the script can ensure that the rect is initialized before it is used in other parts of the script. This can be useful for scripts that need to set up some variables or objects before they are used in the scene.
If this is not the intention let me know.

Had some building issues in the latest version I was able to pull and I fixed it by setting the language level to "LATEST" in the csproj. Latest seems to work just fine after some testing.
also are there a specific reason we are using newtonsoft 12.0.1? Asking since that version is compromised.
Can we bump to 13.0.2?

That version is what KSP 2 uses

repo: SpaceWarpDev/SpaceWarp


text:
[0.4.5] Close tab dialog closes the tab by clicking in the body of the dialog

When closing a tab, you can click anywhere on the dialog (except "cancel" button) and it will behave the same as clicking "ok"

I don't know if I'm doing something "wrong" but I cannot reproduce it, I checked the implementation and I can't see how that could happen. I'll continue trying to reproduce it.

That's weird, I can't reproduce it either now.. Yesterday it was 100% reproducible..  I will keep trying.

Okay I can make it happen...but it seems to be semi-random...haven't found a pattern yet.

I wasn't able to reproduce it. I'll close the issue for the moment.

repo: SpartanJ/ecode


text:
intersects example no longer plots points

https://github.com/SpatioTemporal/STAREPandas/blob/master/examples/intersects.ipynb

Here's what's on github.

Here's what I'm getting.

How would I get points back?

the plot command has a kwarg trixels. If you set this to false, the original geometry should be ploted.

https://starepandas.readthedocs.io/en/latest/docs/reference/api/starepandas.STAREDataFrame.plot.html

authors: NiklasPhabian michaelleerilee

repo: SpatioTemporal/STAREPandas


text:
task - observation matrix dashboard - selected taxon

When I select taxon from an image matrix and click "Select matrix" for editing, I am redirected to the image matrix, but to a wrong Taxon.

Already fixed the last week

authors: jlpereira proceps

repo: SpeciesFileGroup/taxonworks


text:
Observation matrix - increase view size limit

Currently the viewable observation matrix size is capped at 10,000 cells. Could this be increased, or can some feature be implemented to break up the matrix into multiple pages?

duplicate #1790

authors: kandakoj proceps


text:
ci: Add CI to show example test

Add README example as a pytest test.
Add GitHub Actions based CI workflow.

@jackaraz this is ready for review.
I can understand though if you also want to have this repo be super minimal with no CI.

Thanks @matthewfeickert, it's always good to have CI! thanks a lot will look into these PRs ASAP! (hope you made it back safely!)

authors: jackaraz matthewfeickert

repo: SpeysideHEP/example-neutrino


text:
modsecurity2.9.x vs modsecurity v3.0 performance

i test modsecurity2.9.0 ,modsecurity2.9.1, modsecurity2.9.2 and  modsecurity v3.0, i found modsecurity v3.0 performance much lower in the same case, why ?
test result:
modsecurity2.9.0 ,modsecurity2.9.1, modsecurity2.9.2 : cpu usage 50%, tps 700/s
modsecurity v3.0 : cpu usage 95%, tps 300 /s
test condition:
4 cpu
10 G memery
crs 3 latest, default rule set
openresty 1.11.2 + modsecurity

For performance test and results for v3 please refer to the performance setup/tests by @defanator here:
https://github.com/defanator/modsecurity-performance/wiki
Would be great if you could mimic a similar setup (e.g. Vagrant) so we can compare with that baseline :)

Hi @zorogong,
Like @victorhora mentioned, we consider @defanator's performance tests as the official test.
Your comparison may not be a fair test as we may or not may have the ModSecurity v2.x fully workable on nginx. I would invite you to make this performance test with and without ModSecurity v3 to understand the performance damage that you are suffering and why. Notice, also, that the most important factor is the latency, we expect to have a lower latency to give the user the results as fast as possible.

authors: victorhora zimmerle zorogong

repo: SpiderLabs/ModSecurity


text:
Compilation Issue - Ubuntu 16.04

Steps to Reproduce

Spin up a fresh Ubuntu 16.04 instance on Digital Ocean (or some other provider)
Update system

apt update
apt dist-upgrade

Install Pre Requisite dependencies

sudo apt install -y apt-utils autoconf automake build-essential git libcurl4-openssl-dev /
libgeoip-dev liblmdb-dev libpcre++-dev libtool libxml2-dev libyajl-dev pkgconf /
wget zlib1g-dev

Download and Build ModSecurity V3

cd /usr/local/src
git clone --depth 1 -b v3/master --single-branch https://github.com/SpiderLabs/ModSecurity
cd ModSecurity
git submodule init
git submodule update
./build.sh
./configure
$ make

Error

/bin/bash ../../libtool  --tag=CXX   --mode=link g++  -g -O2  -lpcre -L/usr/lib/x86_64-linux-gnu/    -lpcre -o modsec-rules-check modsec_rules_check-rules-check.o -L/usr/lib/x86_64-linux-gnu -lcurl -lGeoIP   -lrt   -lxml2 -llmdb  -lpcre -lpcre  ../../src/.libs/libmodsecurity.a -lyajl
libtool: link: g++ -g -O2 -o modsec-rules-check modsec_rules_check-rules-check.o  -L/usr/lib/x86_64-linux-gnu/ -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libcurl.so -lGeoIP -lrt -lxml2 -llmdb -lpcre ../../src/.libs/libmodsecurity.a -lyajl -pthread
../../src/.libs/libmodsecurity.a(libmodsecurity_la-validate_dtd.o): In function `modsecurity::operators::ValidateDTD::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
/usr/local/src/ModSecurity/src/operators/validate_dtd.cc:37: undefined reference to `xmlThrDefSetGenericErrorFunc'
/usr/local/src/ModSecurity/src/operators/validate_dtd.cc:40: undefined reference to `xmlSetGenericErrorFunc'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-validate_dtd.o): In function `modsecurity::operators::ValidateDTD::evaluate(modsecurity::Transaction*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/operators/validate_dtd.cc:49: undefined reference to `xmlParseDTD'
/usr/local/src/ModSecurity/src/operators/validate_dtd.cc:85: undefined reference to `xmlNewValidCtxt'
/usr/local/src/ModSecurity/src/operators/validate_dtd.cc:98: undefined reference to `xmlValidateDtd'
/usr/local/src/ModSecurity/src/operators/validate_dtd.cc:111: undefined reference to `xmlFreeValidCtxt'
/usr/local/src/ModSecurity/src/operators/validate_dtd.cc:102: undefined reference to `xmlFreeValidCtxt'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-validate_dtd.o): In function `modsecurity::operators::ValidateDTD::~ValidateDTD()':
/usr/local/src/ModSecurity/src/../src/operators/validate_dtd.h:44: undefined reference to `xmlFreeDtd'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-validate_dtd.o): In function `modsecurity::operators::ValidateDTD::~ValidateDTD()':
/usr/local/src/ModSecurity/src/../src/operators/validate_dtd.h:44: undefined reference to `xmlFreeDtd'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-validate_schema.o): In function `modsecurity::operators::ValidateSchema::evaluate(modsecurity::Transaction*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:46: undefined reference to `xmlSchemaNewParserCtxt'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:63: undefined reference to `xmlSchemaSetParserErrors'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:66: undefined reference to `xmlThrDefSetGenericErrorFunc'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:69: undefined reference to `xmlSetGenericErrorFunc'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:71: undefined reference to `xmlSchemaParse'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:87: undefined reference to `xmlSchemaNewValidCtxt'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:102: undefined reference to `xmlSchemaSetValidErrors'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:131: undefined reference to `xmlSchemaValidateDoc'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:136: undefined reference to `xmlSchemaFree'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:137: undefined reference to `xmlSchemaFreeParserCtxt'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:83: undefined reference to `xmlSchemaFreeParserCtxt'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:145: undefined reference to `xmlSchemaFree'
/usr/local/src/ModSecurity/src/operators/validate_schema.cc:146: undefined reference to `xmlSchemaFreeParserCtxt'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-validate_schema.o): In function `modsecurity::operators::ValidateSchema::~ValidateSchema()':
/usr/local/src/ModSecurity/src/../src/operators/validate_schema.h:56: undefined reference to `xmlSchemaFreeValidCtxt'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-validate_schema.o): In function `modsecurity::operators::ValidateSchema::~ValidateSchema()':
/usr/local/src/ModSecurity/src/../src/operators/validate_schema.h:56: undefined reference to `xmlSchemaFreeValidCtxt'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-verify_cc.o): In function `modsecurity::operators::VerifyCC::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
/usr/local/src/ModSecurity/src/operators/verify_cc.cc:96: undefined reference to `pcre_compile'
/usr/local/src/ModSecurity/src/operators/verify_cc.cc:103: undefined reference to `pcre_study'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-verify_cc.o): In function `modsecurity::operators::VerifyCC::~VerifyCC()':
/usr/local/src/ModSecurity/src/operators/verify_cc.cc:37: undefined reference to `pcre_free'
/usr/local/src/ModSecurity/src/operators/verify_cc.cc:42: undefined reference to `pcre_free_study'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-verify_cc.o): In function `modsecurity::operators::VerifyCC::evaluate(modsecurity::Transaction*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/operators/verify_cc.cc:129: undefined reference to `pcre_exec'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-https_client.o): In function `modsecurity::Utils::HttpsClient::download(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/utils/https_client.cc:69: undefined reference to `curl_easy_init'
/usr/local/src/ModSecurity/src/utils/https_client.cc:76: undefined reference to `curl_easy_setopt'
/usr/local/src/ModSecurity/src/utils/https_client.cc:78: undefined reference to `curl_slist_append'
/usr/local/src/ModSecurity/src/utils/https_client.cc:79: undefined reference to `curl_slist_append'
/usr/local/src/ModSecurity/src/utils/https_client.cc:91: undefined reference to `curl_easy_setopt'
/usr/local/src/ModSecurity/src/utils/https_client.cc:94: undefined reference to `curl_easy_setopt'
/usr/local/src/ModSecurity/src/utils/https_client.cc:95: undefined reference to `curl_easy_setopt'
/usr/local/src/ModSecurity/src/utils/https_client.cc:98: undefined reference to `curl_easy_setopt'
/usr/local/src/ModSecurity/src/utils/https_client.cc:101: undefined reference to `curl_easy_setopt'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-https_client.o):/usr/local/src/ModSecurity/src/utils/https_client.cc:103: more undefined references to `curl_easy_setopt' follow
../../src/.libs/libmodsecurity.a(libmodsecurity_la-https_client.o): In function `modsecurity::Utils::HttpsClient::download(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/utils/https_client.cc:113: undefined reference to `curl_easy_perform'
/usr/local/src/ModSecurity/src/utils/https_client.cc:115: undefined reference to `curl_slist_free_all'
/usr/local/src/ModSecurity/src/utils/https_client.cc:121: undefined reference to `curl_easy_cleanup'
/usr/local/src/ModSecurity/src/utils/https_client.cc:118: undefined reference to `curl_easy_strerror'
/usr/local/src/ModSecurity/src/utils/https_client.cc:110: undefined reference to `curl_easy_setopt'
/usr/local/src/ModSecurity/src/utils/https_client.cc:87: undefined reference to `curl_slist_append'
/usr/local/src/ModSecurity/src/utils/https_client.cc:83: undefined reference to `curl_slist_append'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-regex.o): In function `modsecurity::Utils::Regex::Regex(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/utils/regex.cc:51: undefined reference to `pcre_compile'
/usr/local/src/ModSecurity/src/utils/regex.cc:54: undefined reference to `pcre_study'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-regex.o): In function `modsecurity::Utils::Regex::~Regex()':
/usr/local/src/ModSecurity/src/utils/regex.cc:60: undefined reference to `pcre_free'
/usr/local/src/ModSecurity/src/utils/regex.cc:65: undefined reference to `pcre_free_study'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-regex.o): In function `modsecurity::Utils::Regex::searchAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/utils/regex.cc:83: undefined reference to `pcre_exec'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-regex.o): In function `modsecurity::Utils::regex_search(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, modsecurity::Utils::SMatch*, modsecurity::Utils::Regex const&)':
/usr/local/src/ModSecurity/src/utils/regex.cc:113: undefined reference to `pcre_exec'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-regex.o): In function `modsecurity::Utils::regex_search(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, modsecurity::Utils::Regex const&)':
/usr/local/src/ModSecurity/src/utils/regex.cc:127: undefined reference to `pcre_exec'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-modsecurity.o): In function `modsecurity::ModSecurity::ModSecurity()':
/usr/local/src/ModSecurity/src/modsecurity.cc:82: undefined reference to `curl_global_init'
/usr/local/src/ModSecurity/src/modsecurity.cc:85: undefined reference to `xmlInitParser'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-modsecurity.o): In function `modsecurity::ModSecurity::~ModSecurity()':
/usr/local/src/ModSecurity/src/modsecurity.cc:92: undefined reference to `curl_global_cleanup'
/usr/local/src/ModSecurity/src/modsecurity.cc:98: undefined reference to `xmlCleanupParser'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-xml.o): In function `modsecurity::RequestBodyProcessor::XML::~XML()':
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:38: undefined reference to `xmlFreeParserCtxt'
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:42: undefined reference to `xmlFreeDoc'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-xml.o): In function `modsecurity::RequestBodyProcessor::XML::init()':
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:56: undefined reference to `xmlParserInputBufferCreateFilenameDefault'
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:53: undefined reference to `__xmlParserInputBufferCreateFilename'
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:53: undefined reference to `xmlParserInputBufferCreateFilenameDefault'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-xml.o): In function `modsecurity::RequestBodyProcessor::XML::processChunk(char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:109: undefined reference to `xmlParseChunk'
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:95: undefined reference to `xmlCreatePushParserCtxt'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-xml.o): In function `modsecurity::RequestBodyProcessor::XML::complete(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:126: undefined reference to `xmlParseChunk'
/usr/local/src/ModSecurity/src/request_body_processor/xml.cc:133: undefined reference to `xmlFreeParserCtxt'
../../src/.libs/libmodsecurity.a(libmodsecurity_la-geo_lookup.o): In function `modsecurity::operators::GeoLookup::evaluate(modsecurity::Transaction*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/operators/geo_lookup.cc:66: undefined reference to `GeoIP_region_name_by_code'
/usr/local/src/ModSecurity/src/operators/geo_lookup.cc:94: undefined reference to `GeoIPRecord_delete'
../../src/.libs/libmodsecurity.a(lt2-libmodsecurity_la-geo_lookup.o): In function `modsecurity::Utils::GeoLookup::cleanUp()':
/usr/local/src/ModSecurity/src/utils/geo_lookup.cc:45: undefined reference to `GeoIP_delete'
../../src/.libs/libmodsecurity.a(lt2-libmodsecurity_la-geo_lookup.o): In function `modsecurity::Utils::GeoLookup::setDataBase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/src/ModSecurity/src/utils/geo_lookup.cc:51: undefined reference to `GeoIP_open'
../../src/.libs/libmodsecurity.a(lt2-libmodsecurity_la-geo_lookup.o): In function `modsecurity::Utils::GeoLookup::lookup(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, GeoIPRecordTag**, std::function<bool (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)>)':
/usr/local/src/ModSecurity/src/utils/geo_lookup.cc:70: undefined reference to `GeoIP_record_by_name'
../../src/.libs/libmodsecurity.a(lt5-libmodsecurity_la-xml.o): In function `modsecurity::Variables::XML::evaluate(modsecurity::Transaction*, modsecurity::Rule*, std::vector<modsecurity::VariableValue const*, std::allocator<modsecurity::VariableValue const*> >*)':
/usr/local/src/ModSecurity/src/variables/xml.cc:83: undefined reference to `xmlXPathNewContext'
/usr/local/src/ModSecurity/src/variables/xml.cc:99: undefined reference to `xmlXPathRegisterNs'
/usr/local/src/ModSecurity/src/variables/xml.cc:127: undefined reference to `xmlXPathFreeObject'
/usr/local/src/ModSecurity/src/variables/xml.cc:146: undefined reference to `xmlXPathFreeContext'
/usr/local/src/ModSecurity/src/variables/xml.cc:116: undefined reference to `xmlXPathEvalExpression'
/usr/local/src/ModSecurity/src/variables/xml.cc:142: undefined reference to `xmlFree'
/usr/local/src/ModSecurity/src/variables/xml.cc:135: undefined reference to `xmlNodeGetContent'
collect2: error: ld returned 1 exit status
Makefile:540: recipe for target 'modsec-rules-check' failed
make[2]: *** [modsec-rules-check] Error 1
make[2]: Leaving directory '/usr/local/src/ModSecurity/tools/rules-check'
Makefile:477: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/ModSecurity/tools'
Makefile:954: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

This appears to be an issue referencing libxml2 but that dependency is installed.

Same problem !

Hi @brettallred and @petarkozic,
Working in the fix at this very moment.

Fixed by: 854a661a2a86357326b5c6be9799e9ab943b61e3

authors: brettallred petarkozic zimmerle


text:
Option to disable logging of log producer in audit log

when log level < 9.
[Issue #1069 - Marc Stern]

Please make sure that the JSON audit log is also covered.

done

Hi @marcstern,
Made a comment in your patch, please verify. Before send me any updates make sure to do it in a clean tree. Please also avoid to long commit to replaced the \r with \r\n. Thanks.

I can't see, in "Files changed", in which files \r were replaced by \r\n.
I can't find this on my local copy either.

authors: marcstern zimmerle


text:
Further refactor

This should be done after #177 as it contains the same changes.
This PR does two things:

Furthe refactors _read_imro_string by making some naming more explicit and calling the probe information dictionary only once
Renames some of the spikeglx meta files to have names that are easier to identify (e.g. Day_3_g0_t0.imec1.ap -> NP1_saved_only_subset_of_channels)

Codecov Report
Patch coverage: 92.85% and project coverage change: -0.08 :warning:

Comparison is base (7708184) 83.94% compared to head (d80b8b0) 83.87%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #178      +/-   ##
==========================================
- Coverage   83.94%   83.87%   -0.08%
==========================================
  Files          10       10
  Lines        1595     1594       -1
==========================================
- Hits         1339     1337       -2
- Misses        256      257       +1

Impacted Files
Coverage Δ

probeinterface/io.py
76.91% <92.85%> (-0.19%)
:arrow_down:

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

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

cool. tell me when ready

@samuelgarcia Ready!

repo: SpikeInterface/probeinterface


text:
如何清除绘制的手势

当手势少于5个点，或者手势错误的时候，如何清除手势

找到了，这interval

找到了，使用interval

找到了，使用interval

请问具体怎么操作？

找到了，使用interval

请问具体怎么操作？

interval={1000}  ,1000是时间

找到了，使用interval

请问具体怎么操作？

interval={1000} ,1000是时间

thanks

找到了，使用interval

视图和样式(circle.js，index.js )的扩展不太好弄，请问你是怎么做扩展的？

知道了，用children       ^^ ^^

当手势少于5个点，或者手势错误的时候，如何清除手势

请问这个手势组件你再iOS上用过了吗？我在iOS上面不兼容

repo: Spikef/react-native-gesture-password


text:
Don't convert back and forth between Explosion objects and their unpacked data.

This PR:

Inlines newExplosion() in MixinWorld.triggerExplosion()
Moves the explosion code in MixinWorldServer from triggerExplosion() and newExplosion() to triggerExplosionInternal()
Corrects a few defaults in SpongeExplosionBuilder that badly messed up my testing

Fixes SpongePowered#1367.

Can this be merged?

@liach I found a way to make this work without messing with the PhaseContext class hierarchy. The callers now create a context and pass the explosion to it.

@ryantheleach status?

I know that I said previously that I was going to make a test plugin, but at this stage I have no idea if I did that or not, I've been somewhat MIA over the last few months.
At present anything that's blocked on me should be considered up for fair game until I can find the time to invest back into Sponge.

Updated (after asking @JBYoshi about it).
Note: PluginPhase.State.CUSTOM_EXPLOSION was removed by https://github.com/SpongePowered/SpongeCommon/commit/0e16a5d8ba7678b2c0af56dd4a29e040c65596ab#diff-789d0465f5f0c54bb475b2958e6263d6 so I'm using GeneralPhase.State.EXPLOSION.

@gabizou I'll add it with other performance improvements once I reopen the explosions part of https://github.com/SpongePowered/SpongeCommon/pull/2031

Conflicts fixed and rebased.
A note (In case some plugins complain about this being a breaking change): the default value of shouldBreakBlocks (and shouldDamageEntities) is an implementation detail, it's not mentioned in the API. If you're creating an explosion with the ExplosionBuilder without explicitly setting those flags, then it's your fault for relying on the default value.

authors: ImMorpheus JBYoshi phit ryantheleach

repo: SpongePowered/SpongeCommon


text:
Rename MICROPY_HW_HAS_SDCARD to MICROPY_HW_ENABLE_SDCARD

https://github.com/micropython/micropython/commit/9670b2652649c674e580e039a4fe8e8e885b44fc

@mcauser Thanks for the PR and keeping a lookout for changes in upstream MicroPython.
I have to admit. I'm not doing much with MicroPython these days. Are you interested in transferring ownership of this repo to you? Or we could set up a Github org to host all "extra" board definitions where we could share maintainership.

Hi, I'm happy with either transferring ownership or making a boards github org. It's stm32 specific, so maybe "micropython-stm32-boards". Bit of a mouthful... Maybe worry about that later and I'll add you as an admin then if you're still keen.

I suggest transferring the repo to you and you can set up a github org as you like and in your own time, to which you can add me later, if necessary.

authors: SpotlightKid mcauser


text:
Target modules ['query_key_value', 'dense', 'dense_h_to_4h', 'dense_4h_to_h'] not found in the base model. Please check the target modules and try again.

I was trying:
!pip install -Uqqq pip --progress-bar off
!pip install -qqq bitsandbytes==0.40.2 --progress-bar off
!pip install -q torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 torchtext==0.15.2 torchdata==0.6.1 --extra-index-url https://download.pytorch.org/whl/cu118 -U
!pip install -qqq -U git+https://github.com/huggingface/transformers.git@e03a9cc --progress-bar off
!pip install -qqq -U peft==0.4.0 --progress-bar off
!pip install -qqq -U git+https://github.com/huggingface/accelerate.git@c9fbb71 --progress-bar off
!pip install -qqq datasets==2.12.0 --progress-bar off
!pip install -qqq loralib==0.1.1 --progress-bar off
!pip install -qqq einops==0.6.1 --progress-bar off
!pip install accelerate==0.21.0 --progress-bar off

MODEL_NAME = "TheBloke/stable-vicuna-13B-HF"

tokenizer = LlamaTokenizer.from_pretrained(MODEL_NAME)

model = LlamaForCausalLM.from_pretrained(
    MODEL_NAME,
    torch_dtype=torch.float16,
    load_in_8bit=True,
    device_map="auto",
    offload_folder="./cache"
)

def print_trainable_parameters(model):
    """
    Prints the number of trainable parameters in the model.
    """
    trainable_params = 0
    all_param = 0
    for _, param in model.named_parameters():
        all_param += param.numel()
        if param.requires_grad:
            trainable_params += param.numel()
    print(
        f"trainable params: {trainable_params} || all params: {all_param} || trainable%: {100 * trainable_params / all_param}"
    )

lora_config = LoraConfig(
r=16,
lora_alpha=32,
target_modules=[
"query_key_value",
"dense",
"dense_h_to_4h",
"dense_4h_to_h",
],
lora_dropout=0.05,
bias="none",
task_type="CAUSAL_LM"
)
gave error:

ValueError                                Traceback (most recent call last)
Cell In[24], line 15
1 lora_config = LoraConfig(
2     r=16,
3     lora_alpha=32,
(...)
12     task_type="CAUSAL_LM"
13 )
---> 15 model = get_peft_model(model, lora_config)
16 print_trainable_parameters(model)
File /opt/conda/lib/python3.10/site-packages/peft/mapping.py:98, in get_peft_model(model, peft_config, adapter_name)
96 if isinstance(peft_config, PromptLearningConfig):
97     peft_config = _prepare_prompt_learning_config(peft_config, model_config)
---> 98 return MODEL_TYPE_TO_PEFT_MODEL_MAPPING[peft_config.task_type](model, peft_config, adapter_name=adapter_name)
File /opt/conda/lib/python3.10/site-packages/peft/peft_model.py:893, in PeftModelForCausalLM.init(self, model, peft_config, adapter_name)
892 def init(self, model, peft_config: PeftConfig, adapter_name="default"):
--> 893     super().init(model, peft_config, adapter_name)
894     self.base_model_prepare_inputs_for_generation = self.base_model.prepare_inputs_for_generation
File /opt/conda/lib/python3.10/site-packages/peft/peft_model.py:112, in PeftModel.init(self, model, peft_config, adapter_name)
110 if not isinstance(peft_config, PromptLearningConfig):
111     self.peft_config[adapter_name] = peft_config
--> 112     self.base_model = PEFT_TYPE_TO_MODEL_MAPPING[peft_config.peft_type](
113         self.base_model, self.peft_config, adapter_name
114     )
115     self.set_additional_trainable_modules(peft_config, adapter_name)
116 else:
File /opt/conda/lib/python3.10/site-packages/peft/tuners/lora.py:180, in LoraModel.init(self, model, config, adapter_name)
178 self.forward = self.model.forward
179 self.peft_config = config
--> 180 self.add_adapter(adapter_name, self.peft_config[adapter_name])
182 # transformers models have a .config attribute, whose presence is assumed later on
183 if not hasattr(self, "config"):
File /opt/conda/lib/python3.10/site-packages/peft/tuners/lora.py:194, in LoraModel.add_adapter(self, adapter_name, config)
192     config = self._prepare_lora_config(config, model_config)
193     self.peft_config[adapter_name] = config
--> 194 self._find_and_replace(adapter_name)
195 if len(self.peft_config) > 1 and self.peft_config[adapter_name].bias != "none":
196     raise ValueError(
197         "LoraModel supports only 1 adapter with bias. When using multiple adapters, set bias to 'none' for all adapters."
198     )
File /opt/conda/lib/python3.10/site-packages/peft/tuners/lora.py:356, in LoraModel._find_and_replace(self, adapter_name)
353         self._replace_module(parent, target_name, new_module, target)
355 if not is_target_modules_in_base_model:
--> 356     raise ValueError(
357         f"Target modules {lora_config.target_modules} not found in the base model. "
358         f"Please check the target modules and try again."
359     )
ValueError: Target modules ['query_key_value', 'dense', 'dense_h_to_4h', 'dense_4h_to_h'] not found in the base model. Please check the target modules and try again.

is there any update on this?

StableLM is not a LLaMA model

authors: andysingal kbulutozler mcmonkey4eva

repo: Stability-AI/StableLM


text:
Intigration into Stable Difusion WebUI

With so many extensions working for so many people with SD, I think making this a part of that, perhaps a new tab, or just being able to select the new larger model, would help many designers keep their prompts, LORAs, settings, and then use the new product as well.
Thanks

Hmmm haven't thought of embedding the StableStudio UI within stablediffusion-webui, but we do have an open issue for powering StableStudio using stablediffusion-webui's REST API: https://github.com/Stability-AI/StableStudio/issues/5
Is that what you're imagining?

Well, of course, I don't know all the features of StableStudioUI, but what I mean is that many of us have a large number of extensions for altering images, correcting things, allowing poses, Deforum, everything under the sun, you know what I mean?
If this new model was available in the same Web-UI, even if it had all the features but was a tab (just like img2img, or extras, etc) I could send a picture from the new model to inpainting, or use ControlNet on the new model's pic (hopefully, etc), not switch between programs... and if integrated correctly, extension makers might not have to redo their extensions for StableStudio.
Anyhow, just my 2 cents. I use Stable Diffusion for work so....

OR!
If somehow the new StableStudioUI could run all SD models (checkpoints/safetensors), embeddings, LORAs, and extensions like Deforum and ControlNet... like being backwards compatible.... this would also rock the house.

@HarrisTerry This would be possible by using A1111-Webui as a backend ... in any case the StableStudio plugin to talk to Webui would be a pre-requisite.
A good example of this is the openOutpaint extension which uses the webui API + it can run in a Gradio tab.
Another API integration in the wild can be found on the AutoGPT Repository which implements the basic image generation functionality from the API but also adds support for DALLE-2 and Huggingface's (working) Models.
Just another 2 cents ;)

The approach of using stablediffusion-webui as the main GUI would most likely be the option with the lowest level of impact for users while still being able to use all the features and plugins the community already developed.
I am also supporting the idea of @HarrisTerry to add a tab in stablediffusion-webui to use the StableStudio as part of an image creation/processing pipeline.
Is this part of the upcoming ToDo's in https://github.com/Stability-AI/StableStudio/issues/5?

So the plan is to get the functionality of automatic1111 into Stable Studio, but use the simpler Stable Studio UI to interact with it?

Hey all, someone has started on a plugin for webui!
Mind if I close this issue in favor of this one to centralize discussion?...
https://github.com/Stability-AI/StableStudio/issues/25

Actually I realize you're considering something totally separate, embedding StableStudio INTO stablediffusion-webui, so this really is a different discussion we should keep up.

repo: Stability-AI/StableStudio


text:
Cycle through headings on Ctrl+H

Toggle code blocks and headings when Ctrl + M and Ctrl + H are pressed respectively.
Cycle through headings on Ctrl + H.

Closes #45, closes #105

@b-kelly I have already added an e2e test for Ctrl + H - do I need to add more tests?

repo: StackExchange/Stacks-Editor


text:
FIX: Cryptic flake8 message.

I was trying to run tox in another repository and discovered the following "issue" message:
There was a critical error during execution of Flake8:
plugin code for `flake8-copyright[flake8_copyright]` does not
match ^[A-Z]{1,3}[0-9]{0,3}$

Therefore, I went searching and came accross this repository...
This patch fixes the issue by upgrading the flake8-copyright dependency from v0.2.2 to v0.2.4.
I don't expect any issue from any other downstreams st2 repos.

 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.

This change was made as part of #10 which has been merged. Closing this one. Thanks for your contribution!

authors: CLAassistant cognifloyd funilrys


text:
Fix the splunk.search action and add an action-alias.

Pack splunk
Status

bugfix

Description
Fix the splunk.search action to return the result object (currently returns a splunklib.binding.ResponseReader instance).
Checklist (tick everything that applies)

[ ] Metadata: pack.yaml, icon, structure (required for new packs)
[x] Version bump (required for changed packs)
[x] Code linting (required, can be done after the PR checks)
[ ] Tests (not required but really recommended)

lgtm

authors: cbrenton lakshmi-kannan


text:
fix quickstart (use lerna command.)

Before the change was written as npm install.
Is it correct to use the lerna?
Or is there any other document to be referred?

Thanks for the contribution!