text:
Suggestion: Make AI build army while attacking

That would be a great enhancement to every AI character. Currently, AI stops building an army for the next attack while it is on the way to attack someone. There are many AI's that their economy grows faster than he actually has time to spend the money on building an army. Even if they have 60000 gold and keeps growing they do not build any unit while they attacking someone. Can this be changed? Would be great if they keep building up a new army for the second attack if they have plenty of money while the first army is besieging someone. And then when the first army is defeated they could send the second army if they reach enough troops or could still build up until reach a willing number of troops and then send to attack again. And meanwhile, prepare another army for another attack when second failed.

From memory, this was done in a very early version of ucp, well before my time so I might be mistaken. It was removed because it resulted in the AI trickling units out to the existing seige as it recruited them, which also had the effect that the seige was never finished, so they forever trickled troops, never building up for a new attack, essentially breaking the AI

Hmmm. I can find it in the release history, maybe it was just tested and not implemented. Or maybe I'm making it up. @Krarilotus you have been around longer than I, does this feeling a bell?

Yes, GRhin is right. A feature was tested (but probably not even released, but I also didn't find the link) but scrapped. Instead of collecting a new attack, each single troop was sent to the ongoing siege, and this is not useful. This might be something more involved...

authors: GRhin J-T-de demoix


text:
Animated sprite not working in custom lua pause substate.

Describe your problem here.
Basically, I wanted to make a custom lua pause substate (I'm in 0.6.3, which allows that) for a mod I'm working on, everything works fine except that an animated sprite required for it doesn't play its animation, which is supposed to loop, I tried everything but it wouldn't play (also yes, it played in normal circumstances so it's not a problem with the xml).
Is there a solution to this or is this normal behaviour (since every other animated sprite not in the pause menu pauses as well)?
And if it's normal behaviour, is there an alternative?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No, i just added things trough the "mods" folder.

instead of using addLuaText/addLuaSprite or whatever use
CustomSubstate.instance.add(game.getLuaObject('luaObj'));

instead of using addLuaText/addLuaSprite or whatever use CustomSubstate.instance.add(game.getLuaObject('luaObj'));

Thank you very much, this worked!

source: gharchive/issue

repo: ShadowMario/FNF-PsychEngine

license_type: permissive

license_source: github-api


text:
I can't build or install vs 2019

Describe your problem here.
I followed the tutorial got all the right versions but i keep getting
Warning: Could not find Visual Studio VsDevCmd
Missing HXCPP_VARS
Error: Could not automatically setup MSVC
when I try to build I googled it and the answer was vs 2019 but I can't install it
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

Its the same for me, microsoft apparently made them unobtainaible.
if you go into the older versions page, you will see Visual Studio 2019 Community isn't avaible,

If you click the setup-msvc-win.bat file in the setup folder you get vs 2019

Where can I find it exactly?

the setup folder

What setup folder?

authors: MeektyGames Novatooos


text:
Saving not Working

Describe your bug here.
So basically I was making events for my chart but when I saved or save anything that you can save it just doesn't save and all of my work is gone I tried doing it like 5 times and it did not even save one single time
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

Sounds like the issue are from the openfl backend,
also about your work being lost, have you ever tried the load autosave button in the chart editor?

Is it saving to the right place? I had my psych build located in desktop but it was saving to downloads.

authors: EgguMan Raltyro starseed123456


text:
Can u use a cutscene and a dialouge in a song

What is your question?
i downloaded both of them and it didnt work

cutscene then dialogue.zip

cutscene then dialogue.zip

thanks

np

cutscene then dialogue.zip

thanks

Here's the opposite just in cas
song then cutscene.zip
e

it didnt work for me

It has to be exactly like the file name

i did that it just skips to the dialoge

What exactly is the problem?

i am trying to play the dialouge and the cutscene (sorry about switching it)

Like immediately after the diayor agter the song ends?

after the cutscene i was tying to get the dialoge to play

yes

Well sorry but I can’t help you maybe try downloading the original, https://gamebanana.com/tools/7845

so do you remove the dialoge script

If its the one that contains the dialogue, no if it’s the script that I gave you save it just in case

or the ctsceen script or both

thanks for trying to help

thanks for trying to help


text:
Jade Compatible Feature Request

Can you add a function to Jade's Boss Modifiers to show them by holding shift?

It's so long it takes up part of the center of the screen
I asked the author of Jade and he said he had to tell you

in 6.3.0+ individual boss modifiers will be hidden in production environments.

authors: Dr-WeiAL Shadows-of-Fire

repo: Shadows-of-Fire/Apotheosis

license: MIT


text:
[Bug] 1.19.2 Cannot invoke "shadows.apotheosis.util.FloatReferenceHolder.set(float)" because "this.eterna" is null

java.lang.NullPointerException: Cannot invoke "shadows.apotheosis.util.FloatReferenceHolder.set(float)" because "this.eterna" is null

The enchanter menu will not open
here is the full log
https://gist.github.com/CKY-/ee7de8153734996501b960d7e6d3f5ea
Apotheosis: 1.19.2-6.3.2
Forge: 43.2.21

Do you have other mods installed that mess with the enchanting table?  Lapis Reserve in particular is known to cause this crash.

Do you have other mods installed that mess with the enchanting table? Lapis Reserve in particular is known to cause this crash.
quark is the only other one but that table is disabled in the config

Lapis Reserve was installed, Sorry I missed that part of your Question.
I try not to have 2 mods that do the same thing due to conflicts.
thank you for your time and looking into this.. I will notate this for next time.

authors: CKY- Shadows-of-Fire


text:
Hcs

add my code for open source contribution .

test run failed, man! available on telegram?

source: gharchive/pull-request


text:
🛑 Sharafat's docs is down

In d2e6ba6, Sharafat's docs (https://sharafat.gitbook.io/) was down:

HTTP code: 429
Response time: 391 ms

Resolved: Sharafat's docs is back up in b99b6de after 37 minutes.

repo: SharafatKarim/uptime


text:
not working, there is "library" option

this step "Select Library as the client-side component type to be created." not working, there is "library" option

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

ID: ac926949-7ab3-3a40-14e8-3b5b032803c1
Version Independent ID: d3ae1d27-3976-64ac-fda6-5ca18a25dbd0
Content: Building solutions with the library component type in SharePoint Framework
Content Source: docs/spfx/library-component-tutorial.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

This is still a preview feature, so ensure yo create your project with:
yo @microsoft/sharepoint --plusbeta

I´ve tried with spfx 1.8.1 and the Library option is only available when using the plusbeta option

repo: SharePoint/sp-dev-docs


text:
Error in API management "Host name in property identifierUris is not on any verified domain of the company or its subdomain."

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
I'm deploying a SPFx web part which needs to use the Graph API and when I go to the API management panel I expect to see the request to be approved or denied.
Observed Behavior
Instead of a request when I go to the API management panel I'm getting this error
[HTTP]:500 - [CorrelationId]:7214df9e-80b0-8000-8316-c766bf3e9d57 [Version]:16.0.0.8908 - Host name in property identifierUris is not on any verified domain of the company or its subdomain.
Steps to Reproduce
I'm using the 1.8.2 SPFx version but I saw it for other versions as well.

Can you provide additional details... what does the JSON look like in the permission request?

Hi Andrew,
Thanks for coming back.
the permissions that I'm requesting are:
"webApiPermissionRequests": [
{
"resource": "Microsoft Graph",
"scope": "Calendars.Read"
},
{
"resource": "Microsoft Graph",
"scope": "User.ReadBasic.All"
}
]

More information:I have tested it in a new tenant and it works as expected, the request is appearing in the API Management portal to be accepted or rejected.

Have you tried granting the scope to the tenant via PowerShell / Office 365 CLI? I've noticed errors with that Admin API management page and understanding it's been addressed...

authors: andrewconnell roberAlb


text:
Spelling mistake on search rest api overview

Importance: low
Category

[ ] Question
[x] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
Capitalisation to be correct, so that when I copy and paste the query param, SP does not produce an error.
Observed Behavior
I copied a query param from this page, but as it was capitalised incorrectly, SP produced an error when I made the request.
The property 'HithighlightedProperties' does not exist on type 'Microsoft.Office.Server.Search.REST.SearchRequest'.
Make sure to only use property names that are defined by the type.

The mistake is in "Table 1." under "POST requests" on this page:
sharepoint-search-rest-api-overview
Where "HithighlightedProperties" should read "HitHighlightedProperties" with the second H capitalised.
Later on this page, the param is capitalised correctly in a usage example.
Capitalisation is only important for the POST query, it doesn't matter for GET requests.

Thanks for calling this out... care to submit a PR to fix the typo? Easy submission...

Hi @andrewconnell
PR https://github.com/SharePoint/sp-dev-docs/pull/4229 is raised for this fix.
Please review and let me know in case of any changes needed. Thanks!

authors: LBoyle andrewconnell nanddeepn


text:
How to use PnP webpart in SharePoint server 2019

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Server 2019 (on-premise)
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
SPFx version
Node.js version
etc

Issue description
Hi,
I want to use PnP webpart in SharePoint server 2019. Can someone guild me on that.
Thank in advance

I'm sorry but there isn't enough information to provide any help. What PnP Web Part are you looking to use, as there are hundreds of samples.

Hi,
I am trying to use the below Microsoft starter pack 2 PNP web parts in SharePoint 2019.

But it's a throwing error while adding the app to site content

Thank you in advance

@bcameron1231 - could you please transfer the issue to the PnP Starter Kit repo?

@AJIXuMuK Unfortunately, I don't have the access needed to do a transfer to the Starter Kit Repository.

@DJoshi23, @AJIXuMuK and @bcameron1231 - we cannot move issues across organizations, so closing this in here. @DJoshi23 please open new issue at https://github.com/pnp/sp-starter-kit/issues so that the team can help with the questions. Thx.


text:
Leadeship Connection Template Failed

Your   request to provision   "Leadership   Connection"    template   failed!   Please report the   issue here providing the following provisioning action correlation ID:   0db2610d-8507-4a5f-b6dc-055bf5901877 !

Hi,
Thanks for using the Look Book site. This seems to be a random hiccup on the SharePoint side which would imply that the template should work properly if you try it one more time. Seems that the provisioning did succeed partially. Can you test this one more time and, in case of any failure, share the updated Correlation ID (by creating a new issue) for us to double-check the flow. Thanks.

authors: PaoloPia jgenese

repo: SharePoint/sp-provisioning-service


text:
Fix #347 convert MetaTags extension to use TagBuilder

Fixes the sanitization part of issue #347 by replacing string concatenation with TagBuilder.

Old rendered markup:

New rendered markup:

Great!! ❤  thanks so much, will get this released asap.

authors: Shazwazza fbranicky

repo: Shazwazza/Articulate

license: mit

license_source: bigquery


text:
Error in render: "TypeError: Cannot read properties of undefined (reading 'isUnifiedViewer')

装的版本是1.9.0
main.js 里加了两行
import CodeDiff from 'v-code-diff'
Vue.use(CodeDiff)
页面里加的如下代码

运行的时候报错：
vue.esm.js:629 [Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'isUnifiedViewer')"
found in
--->
 at packages/dialog/src/component.vue
 at src/views/demos/ApiDemoDiffTask.vue
 at packages/main/src/main.vue
 at packages/container/src/main.vue... (1 recursive calls)
 at src/App.vue
vue.esm.js:1905 TypeError: Cannot read properties of undefined (reading 'isUnifiedViewer')
at Proxy.mr (index.es.js:5125:185)
at Vue._render (vue.esm.js:3577:22)
at VueComponent.updateComponent (vue.esm.js:4089:21)
at Watcher.get (vue.esm.js:4503:25)
at new Watcher (vue.esm.js:4492:12)
at mountComponent (vue.esm.js:4096:3)
at Vue.$mount (vue.esm.js:9106:10)
at Vue.$mount (vue.esm.js:12021:16)
at init (vue.esm.js:3145:13)
at createComponent (vue.esm.js:6032:9)

页面里：

vue版本是2.9.6 麻烦帮忙看一下，是哪里出问题了呢

vue 没有 2.9.6 的版本，你检查下版本号。
另外错误是怎么触发的呢？可否提供下引用代码


text:
In the Mobile Version the About is not visible Properly  in Cart Page

Fix the spacing between the  About & the Navbar in the Mobile Version

Kindly assign me this task

PR Merged

repo: Shinjan-saha/Canteen-Website


text:
Please could somebody help

Hey guys,  I'm not quite sure what's going on here however I followed nerdy rodents video to get this working on ubuntu (in windows) however I am getting this error. have I done something wrong? Any help/advice would be welcome as I'm not the best at this kind of thing. thank you :)
The following values were not passed to accelerate launchand had defaults used instead:        --num_cpu_threads_per_processwas set to12to improve out-of-box performance To avoid this warning pass in values for each of the problematic parameters or runaccelerate config`.
===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
For effortless bug reporting copy-paste your error into this form: https://docs.google.com/forms/d/e/1FAIpQLScPB8emS3Thkp66nvqwmjTEgxp8Y9ufuWTzFyr9kJ5AoI47dQ/viewform?usp=sf_link
/home/bobross/anaconda3/envs/diffusers/lib/python3.9/site-packages/bitsandbytes/cuda_setup/paths.py:86: UserWarning: /home/bobross/anaconda3/envs/diffusers did not contain libcudart.so as expected! Searching further paths...
warn(
/home/bobross/anaconda3/envs/diffusers/lib/python3.9/site-packages/bitsandbytes/cuda_setup/paths.py:98: UserWarning: /usr/lib/wsl/lib: did not contain libcudart.so as expected! Searching further paths...
warn(
/home/bobross/anaconda3/envs/diffusers/lib/python3.9/site-packages/bitsandbytes/cuda_setup/paths.py:20: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('CompVis/stable-diffusion-v1-4')}
warn(
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 8.6
CUDA SETUP: Detected CUDA version 117
CUDA SETUP: Loading binary /home/bobross/anaconda3/envs/diffusers/lib/python3.9/site-packages/bitsandbytes/libbitsandbytes_cuda117.so...
Traceback (most recent call last):
File "/home/bobross/github/diffusers/examples/dreambooth/train_dreambooth.py", line 637, in
main()
File "/home/bobross/github/diffusers/examples/dreambooth/train_dreambooth.py", line 450, in main
train_dataset = DreamBoothDataset(
File "/home/bobross/github/diffusers/examples/dreambooth/train_dreambooth.py", line 230, in init
raise ValueError("Instance images root doesn't exists.")
ValueError: Instance images root doesn't exists.
Traceback (most recent call last):
File "/home/bobross/anaconda3/envs/diffusers/bin/accelerate", line 8, in
sys.exit(main())
File "/home/bobross/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/accelerate_cli.py", line 43, in main
args.func(args)
File "/home/bobross/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/launch.py", line 837, in launch_command
simple_launcher(args)
File "/home/bobross/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/launch.py", line 354, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/bobross/anaconda3/envs/diffusers/bin/python', 'train_dreambooth.py', '--pretrained_model_name_or_path=CompVis/stable-diffusion-v1-4', '--instance_data_dir=path-to-instance-images', '--output_dir=path-to-save-model', '--instance_prompt=a photo of sks dog', '--resolution=512', '--train_batch_size=1', '--gradient_accumulation_steps=2', '--gradient_checkpointing', '--use_8bit_adam', '--learning_rate=5e-6', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--max_train_steps=400']' returned non-zero exit status 1.`
I have added my 512x512 images into the "training folder" but that's it.

ValueError("Instance images root doesn't exists.")

what does that mean mate ? how could i fix that please?

--instance_data_dir="training folder" \

econDS, thank you soo much that fixed it. i do have one more question. when i use the online collab version i can select what the class name is and my prompt however in mr rodents "no_pres.sh" it doesn't have that soo how do i know what to promp to tell SD. i have finished the training and more confused than earlier lol. Soo sorry for being a newbie.

repo: ShivamShrirao/diffusers


text:
Keeping 'item' or 'items' in cart quantity

Is it possible to include 'item' or 'items' when the cart updates? I'm currently using {{ cart.item_count }} {{ cart.item_count | pluralize: 'item', 'items' }} in my theme but when it updates (add a product or click to view the cart drawer) it changes to 1 £48.00 (for example) whereas I had it before as 2 items £48
Any thoughts?

It sounds like you are using the ajax cart, so you will likely need to modify the ajax cart javascript too Timber/assets/ajax-cart.js.liquid

Thanks @Cam.
I believe this is what I am after...
updateCountPrice = function (cart) {
    if ($cartCountSelector) {
      $cartCountSelector.html(cart.item_count).removeClass('hidden-count');

      if (cart.item_count === 0) {
        $cartCountSelector.addClass('hidden-count');
      }
    }
    if ($cartCostSelector) {
      $cartCostSelector.html(Shopify.formatMoney(cart.total_price, settings.moneyFormat));
    }
  };

I am unsure where cart.item_count is called from?

Change:
$cartCountSelector.html(cart.item_count).removeClass('hidden-count');

to:
$cartCountSelector.html(cart.item_count === 1 ? cart.item_count + ' item' : cart.item_count + ' items').removeClass('hidden-count');

Thanks @canardos!

authors: Cam canardos richgcook

repo: Shopify/Timber


text:
Maybe estimatedItemSize should be renamed to estimatedItemHeight

With current naming developers may think that this is the estimated input array lenght

I thought exactly that 😅

Using size instead of height to use the same prop for horizontal layout.

that is why my onEndReached always gets triggered. I really thought it was for the size of the data

The documentation should make this clear. We don't plan to rename this prop now.

authors: aureosouza b0iq bryanltobing fortmarek mobinni

repo: Shopify/flash-list


text:
EOF while parsing a value at line 1 column 0

What version? (function-runner --version): 5.0.0
Problem
I get an error EOF while parsing a value at line 1 column 0 when trying to run function-runner. I am on Windows 11.  I have tried a variety of things including using the Remix Template for the app and using the products_discounts template for the extension, and using JavaScript and TypeScript.  I have also tried using both empty and populated json input via both stdin and an input file.
Error Message and Context
{
  "name": "function.wasm",
  "size": 2,
  "memory_usage": 0,
  "instructions": 100419,
  "logs": "",
  "output": {
    "InvalidJsonOutput": {
      "error": "EOF while parsing a value at line 1 column 0",
      "stdout": ""
    }
  }
}

Steps to reproduce

In terminal I run shopify app init
I accept the default app name by pressing tab
I select Start by adding your first extension
I cd to app directory
I run shopify app generate extension
I select y to create as a new app
I accept the default app name by pressing tab
I select Cart transformer
I accept the default name by pressing tab
I select TypeScript
I run shopify app dev
I select my dev store
I click the preview url and click the Install button
I then cd to the dist folder of the extension
I run echo '{}' | function-runner --function function.wasm --json

I have the same issue

we have to specify the name of the export we want to invoke, I fixed my issue by adding this -e run

Apologies, forg

authors: DuncanUszkay1 matthewwren meditto

repo: Shopify/function-runner


text:
Server process fails to exit when sent an exit notification

After configuring BBEdit 14 (any version) to use ruby-lsp as the preferred language server, I'm finding during testing that the server does not exit when the editor sends an exit protocol notification. This causes the application to hang when quitting in cases where the user has opened a Ruby file (which lazy-starts the language server).
Server version: 0.2.0
Ruby version: 2.7.3
macOS 12.4 (21F79)
The repro on this is fairly straightforward, as follows:

Download and install BBEdit 14.5.1 (macOS 10.15.4 or later required).
Start the application.
Configure BBEdit to use ruby-lsp as the preferred language server (see documentation for how to do this).
Open any Ruby file.
Quit the application.

Expected:
=> Application quits immediately
Actual:
=> Application hangs waiting for ruby-lsp to exit.
The troubleshooting section of the LSP documentation contains a workaround for ill-behaved servers (the fact that it's necessary tells you how often the issue comes up, so it isn't just you :-) ); but the server should quit immediately (or at least as rapidly as possible) upon receiving an exit notification.

Thank you for reporting the bug. I think this is because we were not handling the exit notification. It should be fixed in the attached PR.

Thank you, I appreciate the fix!

authors: siegel vinistock

repo: Shopify/ruby-lsp


text:
Allow configuring rbenv executable path

Motivation
Ref https://github.com/Shopify/ruby-lsp/issues/2822#issuecomment-2483246117
Allow configuring the rbenv executable path if it's not installed in the default location and cannot be found automatically.
Implementation
Added a new setting under version manager. If the value is set to something, we use that as the rbenv path, otherwise we fallback to the default installation path.
Implementation also makes sure that the specified path exists.
This has been inspired by https://github.com/Shopify/ruby-lsp/pull/1914
Automated Tests
Added a test to verify that we use the configured value to invoke rbenv.

You can fix the linting errors with cd vscode && yarn run format.

Thanks for your contribution!

Thanks to you for your guidance! :)

authors: aurelien-reeves-scalingo vinistock


text:
Cluster Admin - broker Connected method return false. Is this an issue?

Versions

Sarama
Kafka
Go

1.32.0
5.4.6-2.12
1.16.2

Configuration
What configuration values are you using for Sarama and Kafka?
       sarama.Logger = log.New(os.Stderr, "[Sarama] ", log.LstdFlags)
	brokers := []string{
		"kafka1:9092",
		"kafka2:9092",
	}

	cfg := sarama.NewConfig()
	cfg.Version = sarama.V2_4_0_0
	admin, err := sarama.NewClusterAdmin(brokers, sarama.NewConfig())
	if err != nil {
		log.Fatal(err)
	}
	brok, _, err := admin.DescribeCluster()
	if err != nil {
		log.Fatal(err)
	}
	for _, b := range brok {
		chck, err := b.Connected()
		if err != nil {
			log.Fatal(err)
		}
		log.Println(chck)
	}

Logs
logs: CLICK ME

[Sarama] 2022/05/04 18:58:31 Initializing new client
[Sarama] 2022/05/04 18:58:31 ClientID is the default of 'sarama', you should consider setting it to something application-specific.
[Sarama] 2022/05/04 18:58:31 ClientID is the default of 'sarama', you should consider setting it to something application-specific.
[Sarama] 2022/05/04 18:58:31 client/metadata fetching metadata for all topics from broker kafka1:9092
[Sarama] 2022/05/04 18:58:31 Connected to broker at kafka1:9092 (unregistered)
[Sarama] 2022/05/04 18:58:31 client/brokers registered new broker #1 at kafka1:9092
[Sarama] 2022/05/04 18:58:31 Successfully initialized new client
[Sarama] 2022/05/04 18:58:31 ClientID is the default of 'sarama', you should consider setting it to something application-specific.
[Sarama] 2022/05/04 18:58:31 Connected to broker at kafka1:9092 (registered as #1)

Problem Description
I am trying to check whether the brokers are connected but it returns false for the method Connected(). If there an explanation on as why it returns false? I need to write a health check so my initial plan was to check whether the brokers were connected but any other checks I could do?

@dnwe ?

👋🏻 whilst DescribeCluster does return a list of the Broker type, it shouldn't really as that struct is an internal representation of a Broker used by Sarama when it's actively making connections. It seems that it was originally borrowed as a convenience. The only broker information you get back from a Describe are the broker ID, its advertised address and (if applicable) its rack assignment.
If you're trying to do healthchecking, you might be better served by adopting https://github.com/linkedin/cruise-control and/or https://github.com/linkedin/burrow depending on your needs.
If you still want to go ahead and do something with Sarama to try and ascertain health of your remote cluster externally, then I guess you'd create a kafka topic for this purpose, ensure it had enough partitions so that each broker in your cluster had one and then do some message produce+consume roundtripping, striping across each partition.

Thanks @dnwe.

authors: anjulapaulus dnwe

repo: Shopify/sarama


text:
how to fetch consumer offset through sarama

I know that with OffsetManage we can store/retrieve offsets on the kafka brokers, but how can I decide which broker to be connected?
follow the doc:
https://cwiki.apache.org/confluence/display/KAFKA/Committing+and+fetching+consumer+offsets+in+Kafka

It is how to achieve step 1 (to discover which broker keep the metadata of consumer) with sarama

You can use the Coordinator method on the Client if you want, but generally you shouldn't have to: the OffsetManager will connect to the appropriate broker automatically.

authors: eapache simon-xia


text:
Fix build without cgo

The github.com/DataDog/zstd library wraps a c library, so it requires
cgo to compile. Add zstd wrapper funcs to sarama and put the zstd
import behind a build flag requiring cgo. Without cgo, the wrapper
funcs return an error saying zstd doesn't work without cgo.
Resolves #1179

Thank you!
cc: @bobrik -- could you please 👀 this one too?

authors: bai muirrn


text:
Checkout API & Payment processing support

An example of expected usage:
ShopifyAPI::Base.site = 'https://d6b30b8acab1950f36aad826b56646d2:d885f474951bb1e11baf01e2a0b8bab5@shop1.myshopify.io/admin'
ShopifyAPI::VaultSession.site = 'https://cardsink.myshopify.io/'

checkout_params = {
  email: "john.smith@example.com",
  line_items: [{
    variant_id: 3,
    quantity: 1
  }],
  billing_address: {
    first_name: "John",
    last_name: "Smith",
    address1: "126 York St.",
    city: "Ottawa",
    province_code: "ON",
    country_code: "CA",
    phone: "(123)456-7890",
    zip: "K1N5T5"
  },
  requires_shipping: false,
  requires_shipping_method: false,
  requires_shipping_address: false
}
payement_params = {
  payment: {
    amount: "380.00",
    unique_token: "my_idempotency_token",
    credit_card: {
      number: "4242424242424242",
      month: "12",
      year: "2019",
      verification_value: "123",
      first_name: "John",
      last_name: "Smith",
      brand: "visa"
    }
  }
}

# Pay using a credit card (Uses a vaulted session by default)
checkout = ShopifyAPI::Checkout.create(checkout_params)
checkout.pay(payment_params) do |payment|
  # do something
end

# Pay using a credit card with an explicit vaulted session
checkout = ShopifyAPI::Checkout.create(checkout_params)
vaulted_session = ShopifyAPI::VaultSession.create(payment_params)
checkout.pay_with(vaulted_session) do |payment|
  # do something
end

Ping @maximebedard

@ryanbalsdon do you know the status of this PR?
I am looking to implement this exact same feature!

@ryanbalsdon I've updated the PR to use the admin endpoints and tweaked a little how to actually process payments. Next steps:

[ ] Add automatic polling
[ ] Add coded errors support
[ ] Create a separate resource for AbandonedCheckouts?

@dominiquesr @maartenvg could I get 👀 on this?
@ilikeorangutans @awd for sanity check as well, does the channel related api belong here?

This uses the checkout api? If the connecting api client is a channel app its sales channel will automatically get attributed.

@ilikeorangutans Yep, I was just wondering if you were aware about another lib for channel specific apis?

I've updated the PR to remove the has_many and return to the original implementation as it's not supported in earlier version of active_resource. I didn't want to backport the feature, so I believe this make sense for now. We could also hide it behind version conditional and for people to upgrade, but that would add unnecessary complexity IMO.
Any outstanding comments here? @ryanbalsdon @maartenvg ?

🛎

Pull request authors can't approve their own pull request

👍

Should be all good with the comments, maybe another sanity check 👀  @Shopify/api

authors: heliocola ilikeorangutans maximebedard ryanbalsdon


text:
theme watch doesn't work in 0.62 (Windows)

theme watch doesn't work in version 0.62, nothing is happening after save, I rolled back to 0.61 and it worked

duplicate of #305

The new release 0.6.3 will fix this, sorry about the inconvenience.

authors: sarhov tanema

repo: Shopify/themekit


text:
Problem in using images from local storage

I had a folder with some wallpapers I wanted to use, but when I go to use them I get the error
No valid wallpapers found in the directory `C:\Users\HOME\.iris\wallpapers`.
The files are completely fine

OS: Windows 10
Versiom: 2.0
iris config:

   "search_terms": [
       "nature"
   ],
   "resolution": "1600x900",
   "change_wallpaper": true,
   "change_wallpaper_duration": 15,
   "wallpaper_directory": "C:\\Users\\HOME\\.iris\\wallpapers",
   "selection_type": "random",
   "save_wallpaper": false
}```

Seems like iris isn't counting files with upper case extensions. Thanks for pointing this out, this will be fixed asap.


text:
Model output gets parsed into dict which is unexpected by some validators

TLDR: Seems that LLM output can cause trouble if it evaluates into valid nested dictionaries.
An example where gpt-3.5-turbo produces garbage output that leads into unhandled exceptions (basically the getting started demo):
"""Basic usage of guardrails."""

import logging

from rich import print
import guardrails as gd
import openai

logging.basicConfig(level=logging.DEBUG)

def main():
    """Main entry point for the script."""

    rail_spec = """
    <rail version="0.1">
        <output>
            <object name="bank_run" format="length: 2">
                <string
                    name="explanation"
                    description="A paragraph about what a bank run is."
                    format="length: 200 240"
                    on-fail-length="noop"
                />
                <url
                    name="follow_up_url"
                    description="A web URL where I can read more about bank runs."
                    required="true"
                    format="valid-url"
                    on-fail-valid-url="filter"
                />
            </object>
        </output>
        <prompt>

        Explain what a bank run is in a tweet.

        @xml_prefix_prompt

        {output_schema}

        @json_suffix_prompt_v2_wo_none
        </prompt>
    </rail>
    """

    guard = gd.Guard.from_rail_string(rail_spec)

    print(guard.base_prompt)

    # Wrap the OpenAI API call with the `guard` object
    raw_llm_output, validated_output = guard(
        openai.ChatCompletion.create,
        model="gpt-3.5-turbo",
        max_tokens=1024,
        temperature=0.3,
    )

    # Print the validated output from the LLM
    print(validated_output)

    print("Raw output is..")
    print(raw_llm_output)

if __name__ == "__main__":
    main()

Which leads into the following exception:
Traceback (most recent call last):
    raw_llm_output, validated_output = guard(
  File "/home/mikko/programs/guardrails/guardrails/guard.py", line 135, in __call__
    guard_history = runner(prompt_params=prompt_params)
  File "/home/mikko/programs/guardrails/guardrails/run.py", line 87, in __call__
    validated_output, reasks = self.step(
  File "/home/mikko/programs/guardrails/guardrails/run.py", line 139, in step
    validated_output = self.validate(index, output_as_dict, output_schema)
  File "/home/mikko/programs/guardrails/guardrails/run.py", line 228, in validate
    validated_output = output_schema.validate(output_as_dict)
  File "/home/mikko/programs/guardrails/guardrails/schema.py", line 330, in validate
    validated_response = self[field].validate(
  File "/home/mikko/programs/guardrails/guardrails/datatypes.py", line 285, in validate
    value = child_data_type.validate(
  File "/home/mikko/programs/guardrails/guardrails/datatypes.py", line 71, in validate
    schema = validator.validate_with_correction(key, value, schema)
  File "/home/mikko/programs/guardrails/guardrails/validators.py", line 206, in validate_with_correction
    return self.validate(key, value, schema)
  File "/home/mikko/programs/guardrails/guardrails/validators.py", line 628, in validate
    last_val = [value[-1]]
KeyError: -1

The culprit is (probably) the response from GPT, which contains nested dictionaries (it fails at following this specific prompt):
DEBUG:guardrails.validators:Validating {'value': "A bank run is a situation where a large number of customers withdraw thei
r deposits from a bank, often due to concerns about the bank's solvency or stability. This can lead to a liquidity crisis f
or the bank, as it may not have enough cash on hand to meet all of the withdrawal requests. Bank runs can be contagious, as
 news of one bank run can cause customers of other banks to panic and withdraw their deposits as well.", 'format': 'length'
, 'min': 200, 'max': 240} is in length range 200 - 240...

where {"value": A bank run....} is the actual value of the response. Downstream, for validation, this gets evaluated into a dictionary, at Runner.call where we have output_as_dict = json.loads(output, strict=False).
Another poisonous output:
{
    "bank_run": {
        "explanation": {
            "length": {
                "min": 200,
                "max": 240
            }
        },
        "follow_up_url": {
            "valid-url": true,
            "required": true
        }
    }
}

Seems though that some validators do expect strings, leading directly to the above errors. For example the ValidLength validator calls len(value) which will be 1 for the reponse above, leading directly to the above validation error.
Since the example also tries to validate the URL, that will also fail unexpectedly for the same reasons:
DEBUG:guardrails.validators:Validating {'valid-url': '', 'required': True} is a valid URL...
Traceback (most recent call last):
    raw_llm_output, validated_output = guard(
  File "/home/mikko/programs/guardrails/guardrails/guard.py", line 135, in __call__
    guard_history = runner(prompt_params=prompt_params)
  File "/home/mikko/programs/guardrails/guardrails/run.py", line 91, in __call__
    validated_output, reasks = self.step(
  File "/home/mikko/programs/guardrails/guardrails/run.py", line 143, in step
    validated_output = self.validate(index, output_as_dict, output_schema)
  File "/home/mikko/programs/guardrails/guardrails/run.py", line 234, in validate
    validated_output = output_schema.validate(output_as_dict)
  File "/home/mikko/programs/guardrails/guardrails/schema.py", line 330, in validate
    validated_response = self[field].validate(
  File "/home/mikko/programs/guardrails/guardrails/datatypes.py", line 285, in validate
    value = child_data_type.validate(
  File "/home/mikko/programs/guardrails/guardrails/datatypes.py", line 71, in validate
    schema = validator.validate_with_correction(key, value, schema)
  File "/home/mikko/programs/guardrails/guardrails/validators.py", line 206, in validate_with_correction
    return self.validate(key, value, schema)
  File "/home/mikko/programs/guardrails/guardrails/validators.py", line 721, in validate
    response = requests.get(value)
  File "/home/mikko/.pyenv/versions/guardrails3.10/lib/python3.10/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/home/mikko/.pyenv/versions/guardrails3.10/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/mikko/.pyenv/versions/guardrails3.10/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/mikko/.pyenv/versions/guardrails3.10/lib/python3.10/site-packages/requests/sessions.py", line 695, in send
    adapter = self.get_adapter(url=request.url)
  File "/home/mikko/.pyenv/versions/guardrails3.10/lib/python3.10/site-packages/requests/sessions.py", line 792, in get_ada
pter
    raise InvalidSchema(f"No connection adapters were found for {url!r}")
requests.exceptions.InvalidSchema: No connection adapters were found for "{'valid-url': '', 'required': True}"

From a quick glance it seems that we may only want the top-level of the LLM output to be parsed to a dictionary. Alternatively the validators should do more checking on the input.

Some example log showing how the above PR addresses this issue:

DEBUG:guardrails.validators:Validating {'length': {'min': 200, 'max': 240}} is in length range 200 - 240...
DEBUG:guardrails.validators:Validator ValidLength failed for explanation with error ('explanation', {'length': {'min': 200, 'max'
: 240}}, {'explanation': {'length': {'min': 200, 'max': 240}}, 'follow_up_url': {'required': True, 'format': 'valid-url'}}, "Valu
e {'length': {'min': 200, 'max': 240}} is not a list or string.", None).
DEBUG:guardrails.validators:Validator ValidLength failed for explanation, but doing nothing...
DEBUG:guardrails.validators:Validating {'required': True, 'format': 'valid-url'} is a valid URL...
DEBUG:guardrails.validators:Validator ValidUrl failed for follow_up_url with error ('follow_up_url', {'required': True, 'format':
 'valid-url'}, {'explanation': {'length': {'min': 200, 'max': 240}}, 'follow_up_url': {'required': True, 'format': 'valid-url'}},
 "URL {'required': True, 'format': 'valid-url'} is not a string.", None).
DEBUG:guardrails.validators:Filtering follow_up_url from schema...

repo: ShreyaR/guardrails


text:
import data_loader.data_loaders as module_data

Hello! In test.py import data_loader.data_loaders as module_data reports an error, there is no data_loaders under the data_loader folder.

The test.py file still requires some tweaking. The author failed to provide the correct code.


text:
[Feature] Create a Product Details Page

Description
The task here is to create a product details page having all the basic details that we see usually on any product page after clicking the product card. But instead of product images, we will show a 3D view of the product by default along with QR code ( for desktop ) or View AR button ( for mobile ) and keep the images section separate if the user wants to explore them as well.
We already have a ModelViewer component having a 3D viewer and QR code ( for desktop ). We can use it with directly with some modifications or can create a new component using it. The UI should be responsive for all viewports and the component should be reusable.
Screenshots
Just go through some similar e-commerce platforms to get an idea of how the UI should look.
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[ ] I am willing to work on this issue (optional)
[ ] I am a GSSoC'23 contributor

Please assign this issue to me under gssoc23 @ShwetKhatri2001

@ShwetKhatri2001 Will you please assign this issue to me

@shraddha761 You've shown interest to work on many issues, but I can only assign one issue at a time.
So, tell me which one you're more interested to work on.
I'd like you to work on this issue based on priority, still, the choice is yours.

@ShwetKhatri2001 I can work on any one assign me issue which has high priority

Okay, you can start working on this. You can ask your queries here whenever you want. Try to complete it within 5 days.

Any updates or issues @shraddha761 ?
Please try to make your changes and raise your PR within the next 3 days.
After that, This issue will be open to other interested contributors.

Let's give other contributors a chance to work on this issue. This issue is open to be assigned now.
I've updated the description to clear the objectives.

Hi @ShwetKhatri2001 please assign for SWOC24

Okay, go ahead @ShatilKhan. You're assigned.

Any updates or issues @ShatilKhan ? Please try to complete it in the next 3 days.

On it

I'll be making the pull request by today

Let's give a chance to other contributors to work on this. This issue is open to contributors.


text:
Having some alignment issues still

Installed the new update, it's no longer misaligned, but there is a new issue. When you rotate the token, the Health Estimate also goes out of alignment. Here is a quick example. https://gyazo.com/6c23bf68c7b517aaa1aae8182d72427f
Also I was curious if it was possible to make the configuration of the colours and what gradient to be client side? So players can pick their own? I have a coloured blind player who has issues seeing the colour gradient, but don't want to turn off all colour for me and the other players.

Having these same alignment issues on 2.0.3:
Fine:

Broken:

Broken:

Perhaps related to the length of the NPCs Token Name?

Can confirm that token names over a certain length cause alignment problems when the healthEstimate values are set on hover.

Alignment issue seems resolved as of 2.1.0. Fast work, thanks! Very happy to see this module being updated again; it's easily one of my favourites, and it's much appreciated by many. :)

I concur with chozma, looks nicely fixed.
Thanks SO MUCH for a very nice Quality of Life improvement module for me and my players.

authors: Aeristoka Bryn1701 chozma

repo: Shylight/healthEstimate


text:
Clearing old alerts in the UI

Describe the bug
I see nowhere to clear out old alerts, would be good to be able to set them as read even though they might still be ongoing. Also I think this migration alert could clear out automatically when there's nothing left to migrate, now it's showing this:

Additional context
General Information
Are you running a fork of renterd?
no
Are you on the mainnet or on the testnet?
mainnet
Renterd Config
Autopilot Config
{
"contracts": {
"set": "autopilot",
"amount": 50,
"allowance": "12000000000000000000000000000",
"period": 6048,
"renewWindow": 2016,
"download": 3000000000000,
"upload": 4000000000000,
"storage": 20000000000000
},
"hosts": {
"allowRedundantIPs": false,
"maxDowntimeHours": 336,
"scoreOverrides": null
},
"wallet": {
"defragThreshold": 1000
}
}
Bus Config
{
"minShards": 10,
"totalShards": 30
}
{
"hostBlockHeightLeeway": 6,
"maxContractPrice": "450000000000000000000000",
"maxDownloadPrice": "2300000000000000000000000000",
"maxRPCPrice": "2000000000000000000000",
"maxStoragePrice": "254629629630",
"maxUploadPrice": "900000000000000000000000000",
"minAccountExpiry": 86400000000000,
"minMaxCollateral": "10000000000000000000000000",
"minMaxEphemeralAccountBalance": "1000000000000000000000000",
"minPriceTableValidity": 300000000000
}
Contract Set Contracts
50

Hey, we have this on hostd - @ChrisSchinnerl @peterjan renterd does not have this functionality right? Should we add it or was the intention that the alerts would somehow automatically go away? If the latter I we should add an explanation on how/when.

renterd's alerts match the host's so you can in theory copy paste that functionality over.

authors: ChrisSchinnerl alexfreska multikatt

repo: SiaFoundation/renterd


text:
Detailed per DB parser stats

Following #57, using https://github.com/SichangHe/internet_route_verification/commit/254b3987ba1a1ecc459848333a2a0af72f904caa.
Summary including number of route objects
Parsed 78951 aut_nums, 59724 as_sets, 24652 route_sets, 342 peering_sets, 202 filter_sets, 87534 as_routes (2020379 routes).
29 skips during lexing, 545 syntax errors, 267 unknown path attributes, 23 invalid names parsing AS Sets, 22 invalid Route Set names, 1 invalid AS Route, 104 complex PeerAS.

Stats for each file
priority/apnic.db.rtr-set: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.as-block: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.filter-set: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 5 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/openface.db: 1 aut_nums, 2 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 1 as_routes (1 routes); 24 imports, 24 exports. Lexing: . Parsing: 1 invalid AS Route.
priority/apnic.db.inet-rtr: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/panix.db: 1 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 2 as_routes (40 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.organisation: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.irt: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/lacnic.db: 1847 aut_nums, 1349 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 1522 as_routes (12759 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.key-cert: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/rgnet.db: 6 aut_nums, 7 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 7 as_routes (33 routes); 12 imports, 10 exports. Lexing: . Parsing: .
priority/jpirr.db: 455 aut_nums, 294 as_sets, 50 route_sets, 0 peering_sets, 3 filter_sets, 565 as_routes (14013 routes); 305 imports, 307 exports. Lexing: . Parsing: .
priority/apnic.db.as-set: 0 aut_nums, 3669 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.route-set: 0 aut_nums, 0 as_sets, 287 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.role: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/nestegg.db: 2 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 2 as_routes (4 routes); 8 imports, 8 exports. Lexing: . Parsing: .
priority/bell.db: 109 aut_nums, 50 as_sets, 4 route_sets, 0 peering_sets, 0 filter_sets, 183 as_routes (29960 routes); 456 imports, 228 exports. Lexing: . Parsing: .
priority/altdb.db: 1680 aut_nums, 1843 as_sets, 167 route_sets, 1 peering_sets, 1 filter_sets, 4685 as_routes (29517 routes); 3243 imports, 3143 exports. Lexing: . Parsing: 2 complex PeerAS.
priority/reach.db: 2 aut_nums, 5 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 489 as_routes (20238 routes); 3 imports, 3 exports. Lexing: . Parsing: .
priority/bboi.db: 62 aut_nums, 89 as_sets, 5 route_sets, 0 peering_sets, 0 filter_sets, 277 as_routes (977 routes); 302 imports, 301 exports. Lexing: . Parsing: .
priority/apnic.db.mntner: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/level3.db: 300 aut_nums, 276 as_sets, 10565 route_sets, 0 peering_sets, 0 filter_sets, 6958 as_routes (79152 routes); 6228 imports, 5826 exports. Lexing: 3 skips during lexing. Parsing: 1 invalid names parsing AS Sets, 12 invalid Route Set names.
priority/apnic.db.domain: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.inet6num: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.limerick: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/apnic.db.route6: 0 aut_nums, 0 as_sets, 35 route_sets, 0 peering_sets, 0 filter_sets, 4493 as_routes (316982 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/canarie.db: 174 aut_nums, 21 as_sets, 190 route_sets, 0 peering_sets, 0 filter_sets, 161 as_routes (1505 routes); 298 imports, 286 exports. Lexing: . Parsing: .
priority/arin.db: 3047 aut_nums, 5023 as_sets, 3305 route_sets, 0 peering_sets, 0 filter_sets, 7058 as_routes (94365 routes); 6882 imports, 7286 exports. Lexing: 131 syntax errors. Parsing: 16 unknown path attributes, 11 invalid names parsing AS Sets, 5 invalid Route Set names, 1 complex PeerAS.
priority/host.db: 1 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/tc.db: 4205 aut_nums, 11530 as_sets, 232 route_sets, 0 peering_sets, 0 filter_sets, 3630 as_routes (25333 routes); 3719 imports, 3879 exports. Lexing: 277 syntax errors. Parsing: 218 unknown path attributes.
priority/idnic.db: 2276 aut_nums, 301 as_sets, 7 route_sets, 0 peering_sets, 0 filter_sets, 852 as_routes (6114 routes); 3918 imports, 3938 exports. Lexing: . Parsing: .
priority/apnic.db.peering-set: 0 aut_nums, 0 as_sets, 0 route_sets, 25 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/afrinic.db: 2314 aut_nums, 1015 as_sets, 106 route_sets, 2 peering_sets, 1 filter_sets, 2019 as_routes (105835 routes); 331 imports, 340 exports. Lexing: . Parsing: .
priority/apnic.db.aut-num: 20680 aut_nums, 19 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 16824 imports, 16012 exports. Lexing: . Parsing: .
priority/apnic.db.route: 0 aut_nums, 0 as_sets, 69 route_sets, 0 peering_sets, 0 filter_sets, 10301 as_routes (671683 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/nttcom.db: 549 aut_nums, 642 as_sets, 427 route_sets, 0 peering_sets, 0 filter_sets, 6295 as_routes (375836 routes); 920 imports, 1015 exports. Lexing: 2 syntax errors. Parsing: .
priority/apnic.db.inetnum: 0 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 0 as_routes (0 routes); 0 imports, 0 exports. Lexing: . Parsing: .
priority/radb.db: 9471 aut_nums, 10571 as_sets, 7127 route_sets, 76 peering_sets, 34 filter_sets, 46101 as_routes (1619366 routes); 15257 imports, 13020 exports. Lexing: 20 skips during lexing, 2 syntax errors. Parsing: 74 complex PeerAS.
priority/ripe.db: 38573 aut_nums, 25228 as_sets, 2385 route_sets, 239 peering_sets, 167 filter_sets, 34571 as_routes (533159 routes); 371439 imports, 361674 exports. Lexing: 6 skips during lexing. Parsing: 17 unknown path attributes, 24 complex PeerAS.
backup/panix.db: 1 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 2 as_routes (40 routes); 0 imports, 0 exports. Lexing: . Parsing: .
backup/nestegg.db: 2 aut_nums, 0 as_sets, 0 route_sets, 0 peering_sets, 0 filter_sets, 2 as_routes (4 routes); 8 imports, 8 exports. Lexing: . Parsing: .
backup/jpirr.db: 454 aut_nums, 292 as_sets, 50 route_sets, 0 peering_sets, 3 filter_sets, 563 as_routes (14010 routes); 303 imports, 305 exports. Lexing: . Parsing: .
backup/bboi.db: 70 aut_nums, 98 as_sets, 8 route_sets, 0 peering_sets, 0 filter_sets, 296 as_routes (1047 routes); 318 imports, 318 exports. Lexing: . Parsing: .
backup/canarie.db: 174 aut_nums, 21 as_sets, 190 route_sets, 0 peering_sets, 0 filter_sets, 161 as_routes (1513 routes); 298 imports, 286 exports. Lexing: . Parsing: .
backup/altdb.db: 1675 aut_nums, 1840 as_sets, 167 route_sets, 1 peering_sets, 1 filter_sets, 4679 as_routes (29472 routes); 3237 imports, 3135 exports. Lexing: . Parsing: 2 complex PeerAS.
backup/arin.db: 3033 aut_nums, 5000 as_sets, 3296 route_sets, 0 peering_sets, 0 filter_sets, 7033 as_routes (94066 routes); 6857 imports, 7263 exports. Lexing: 131 syntax errors. Parsing: 16 unknown path attributes, 11 invalid names parsing AS Sets, 5 invalid Route Set names, 1 complex PeerAS.
backup/nttcom.db: 549 aut_nums, 642 as_sets, 427 route_sets, 0 peering_sets, 0 filter_sets, 6290 as_routes (375829 routes); 920 imports, 1015 exports. Lexing: 2 syntax errors. Parsing: .

Full log.
1120log.txt


text:
🛑 WinterWonderland is down

In 1ae5b31, WinterWonderland (https://winterwonderland.sidtrz.com) was down:

HTTP code: 523
Response time: 585 ms

Resolved: WinterWonderland is back up in 1407173 after 19 minutes.


text:
EDITOR_AUTO_INDENT does not work

The flag EDITOR_AUTO_INDENT does not toggle auto indent
To Reproduce
Set EDITOR_AUTO_INDENT to false in config file
Expected behavior
The editor should not indent
Desktop (please complete the following information):

OS: Win10
Version: latest as of now

Thanks for letting me know.
This Issue has been resolved (commit: d56570dd01ab400f90c62030cff58fa1fbd9e52f) and will be fixed in the next Release (Changelog).

authors: Rentheus SilenZcience


text:
Enable time between 11pm to 1 am

Hi
How to enable Time between 11 pm and 1 am ? Any specific reason those times are not showing?

Hey @rajendra-pragadareddi can please check this PR #112 if this can solve your issue. This is only available in day view.

Ok @faiyaz-shaikh Thank you I will check and let you know .

This feature will be implemented with issue #163 .


text:
How to Add DateTime on the chat Bubble?

HI  This package was very useful  the FeatureActiveConfig(enableSwipeToSeeTime: false)  to be false then on the ChatBubble i would like this add  and Display the DateTime

Duplicate of #115

Hi @muthuremo, Thank you for raising this issue. However, it appears to be a duplicate of #115. Therefore, I am closing this issue for now. We are planning to resolving this issue and will provide further updates on the original issue.


text:
🛑 Drasl Authserver is down

In e913eaa, Drasl Authserver (https://auth.newwave.fun/auth) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Drasl Authserver is back up in 7b5d44e after 59 minutes.

repo: SimonMage/NewWave-Status-Page


text:
destroy/disable Selection in Vue

Hi Simon,
I am using selection in a Vue PWA, and i implemented it as described here:
https://github.com/Simonwep/selection/issues/14
based on this:
https://codesandbox.io/s/rlx7w7l76p
I need to destroy/disable the Selection but it does not work as expected. Do you have any hint for me please?

please make sure you are using the latest version of Selection.js... You used a pretty old version where .destroy() don't even exits.
I've updated the version from 0.0.11 (which was pre-alpha) to 0.2.5, checkout the updated demo: https://codesandbox.io/s/vue-template-qqiel - I've added a destroy button and changed IconGrid.vue a little bit :)

authors: Simonwep gweit

repo: Simonwep/selection


text:
SetTransformDomainMeshSize() in voxels or mm

Hi all,
I am applying a BSpline registration and already have a question during one of the first steps:
In this example, the following step before registration is performed:
transformDomainMeshSize=[8]*moving.GetDimension()
tx = sitk.BSplineTransformInitializer(fixed,
                                      transformDomainMeshSize )

In another example, the value of 8 is changed for 10, which made me think twice about this value.
From here, the following information about this step is available:
BSplineTransformInitializerFilter is a helper class intended to initialize the control point grid such that it has a physically consistent definition. It sets the transform domain origin, physical dimensions and direction from information obtained from the image. It also sets the mesh size if asked to do so by calling SetTransformDomainMeshSize() before calling InitializeTransform().
SetTransformDomainMeshSize() allows the user to set the mesh size of the transform via the initializer even though the initializer does not do anything with that information. Default = 1^ImageDimension.
Is it correct that the lower this value, the more flexible the deformation? And should this information be given in mm or voxels? And what would be a good choice? Especially since for my application I have an anisotropic voxel dimension (2x2x4 mm).
Thank you!

Hello @IlvaHou55,
Please see answers below.
"Is it correct that the lower this value, the more flexible the deformation? And should this information be given in mm or voxels? And what would be a good choice? Especially since for my application I have an anisotropic voxel dimension (2x2x4 mm)."
No, the larger these numbers the more flexible the deformation. Note that these are multiple numbers, using the Python list replication, so the same expression resolves to [8,8] if a 2D image or [8,8,8] if a 3D image.
This information is unit-less, it literally is the number of control points. The choice depends on the deformation you expect in the physical (mm) world.
For more detailed examples, please see the BSpline based registration Jupyter notebook and the Transformations notebook. The SimpleITK notebooks repository contains examples that are more detailed, and longer, than the general examples.

repo: SimpleITK/SimpleITK


text:
Feature/static bundler to instance

Because #21 introduces breaking changes, it's better to deliver more breaking changes in a single release.
Therefore, static Bundler is now refactored into an instance class.

Wrong branch again...

repo: SimplrJS/scss-bundle


text:
MCDW crashes again with Beta 23

Describe the bug
Crashes on start up
Steps to reproduce
Before this connector update
it didnt crash, looks like the same problem that was fixed in Beta 21 I believe.
https://github.com/Sinytra/Connector/actions/runs/6618635008
This is the build you sent to fix it at the time
Logs
https://pastebin.com/hLUDVFMq
Additional context
No response

This also happened with Minecraft Dungeons Armor

"mcdw, mcda" conflicts with Clumps in "beta22"

"mcdw, mcda" conflicts with Clumps in "beta22"

you need clumps fabric

authors: RoomAlex68 rainysux wsxiya

repo: Sinytra/Connector


text:
Double mouse when open urxvt

As soon as I started sway everything was ok. Then I opened urxvt and the mouse duplicated itself (one copy remained stuck where it was when I opened urxvt and the other is behaving normally.
I'm running sway 0.9. What other info could help?

Duplicate of #759 discussed on IRC

authors: Fale SirCmpwn

repo: SirCmpwn/sway


text:
Tab Completions Error

Describe the bug
Use 'Tab Completions' Expressions, the message "An internal error occurred while attempting to perform this command" is printed.
Information:

Skript version: 2.5.3
Server software: Paper
Server version: 1.17.1

Need the error

Duplicate #14

authors: Spear-Hwan TheLimeGlass

repo: SkQuery/SkQuery


text:
Abstract ethercat slave id

Working with slave ids makes the ipc connections tightly coupled to electrical setup.
Utilize configurable address on devices which support it on a bus level, meaning configured per bus for each slave.
The id would be propagated down to each device driver so the driver can create its ipc channels accordingly.
This means the motor api would need to support abstract id.

Idea from @omarhogni maintain a list of known slaves, if the list changes try to maintain the list and maybe generate a random name for the new slave, or report an error if there is a missing slave


text:
Have entirely separate hierarchies

parent: parent, species
child: child, member
Have separate hierarchies for parent/child and species/member

Introduced fully in 0.10.20

repo: SkepticMystic/breadcrumbs


text:
i found a cockroach

Describe the Bug
dark orange, brown type shell, long whiskeys, and should be able to survive a nuclear blast
To Reproduce
uhm 😳
Expected Behaviour
i dont konw? like move around
Screenshots / Videos

FerrumC Version
i dont know like 0.1, its not like y'all update it anyways 💀💀
Rust Version
1.82 i think
Server Logs
[ferrumc] i had a dream "martin luther king"
Additional Context
im sweattypalms
Is there an existing issue for this?

[X] I have searched current existing issues before creating this.
[ ] I checked all the boxes without reading them
[X] I have provided all necessary and relevant details, including logs, reproduction steps, etc.

bad issue

authors: Skullians Sweattypalms

repo: Skullians/ferrumc


text:
Missing Pets shows Montezuma

Describe the bug
Missing Pets should not show Montezuma, as this pet is not obtainable outside of Rift to my knowledge.
Profile/Location
For example, go to https://sky.shiiyu.moe/stats/DeathStreeks/Blueberry#Pets and scroll down and click Missing Pets to expand the Missing Pets menu and notice it says Montezuma.
Additional Info
N/A
Expected behavior
Expected Missing Pets to not show a unobtainable pet.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 23.04
Browser: Firefox Developer Edition 117.0b9

Additional context
N/A

fixed in #1980

repo: SkyCryptWebsite/SkyCrypt


text:
Allow SkyCrypt API users to provide their own Hypixel API key for up to date results

Is your suggestion related to a problem? Please describe in detail.
Some users would like to use the SkyCrypt API but can't because their use-case requires up to date information
Describe your suggestion
An API key URL param would be added to most apiv2 endpoints this would allow users to specify their own API key
Current flow:
if player in cache with any timestamp
    return player from cache
else
    return error

Proposed flow:
if API key provided
    if player in cache with recent timestamp
        return player from cache
    else
        fetch player from Hypixel API with provided API key
        return player
        add player to cache
else
    if player in cache with any timestamp
        return player from cache
    else
        return error

Describe alternatives you've considered
making the API get up to date information using the SkyCrypt key: this could lead to API throttle issues
Additional context
I have created https://github.com/HypixelDev/PublicAPI/discussions/464 to ask whether this would be against Hypixel's API rate limit circumvention policy

closing due to this being against the hypixel API rules

Reference if needed in the future: https://github.com/HypixelDev/PublicAPI/discussions/464#discussioncomment-1398716

authors: dukio nstringham


text:
Ability to pull other people's relative changes down in one go

Is your feature request related to a problem? Please describe.
When I revup upload a bunch of changes, it would be really cool if another team member could do something like revup download <topic> and it would update their working copy to a branch with the full series of commits from <topic>, including downloading Relative: dependencies.
Describe the solution you'd like
revup download <topic>
There are open questions here about would it be supported to then revup upload to update that same PR (the answer is probably no).
The basic functionality seems useful just to conveniently try/build upon others changes.
Describe alternatives you've considered
I am not familiar enough with Github or Git or how revup integrates with them to know if something like this is even possible, nor what the alternatives are, however I figured I would ask.
The current strategy I do is to manually follow the list of PRs and use git cherry-pick.

Hey Skydio friends!
It has been awhile. Anyways, I'm +1 this request from @nikhil-marathe-skydio .

ok let's do this
cherry-pick mode (if specified branch isn't already downloaded locally):
revup download  - queries github to find the head ref and base ref of the pull request, which can be given by several methods. squashes the remote branch into a single commit and attempts to cherry-pick it. rewrites the commit text to remove any Topic: lines, adds a warning message like "This commit is managed by "revup download", any changes made to it will be lost so don't modify it manually". Also adds metadata necessary for downloading, like "Revup-Download: "
sync mode (if specified branch exists locally, or no arg is specified)
revup download - for all local changes with the metadata "Revup-Download:", queries the branch in github and fetches the head and base refs, squashes them into single commits, and attempts to cherry-pick them with revup's in-place cherry-pick engine. If a branch is specified it will only sync that one.

other thoughts

might be useful to have a mode that squashes all branches in a series, otherwise you have do to it one by one. in this case we'd need additional metadata like "Download-Base-Branch:"
to drop a downloaded change, use revup amend. We can modify it to recognize "Revup-Download:" just as it recognizes topics
it might be nice to fall back into interactive rebase if a conflict occurs while syncing

repo: Skydio/revup


text:
Improve tus error

Previously the error returned from tus by skynet-js was too long and technical.
Now we will return the most salient information.
Before:
Error: tus: unexpected response while creating upload, originated from request (method: POST, url: https://siasky.xyz/skynet/tus, response code: 413, response text: upload exceeds maximum size: 3580710912 > 1073741824
, request id: n/a)

After:
Error: upload exceeds maximum size: 26628423680 > 1073741824

SWEET <3

authors: kwypchlo m-cat

repo: SkynetLabs/skynet-js


text:
Feature: Add Service  to Container Environment Variables

Changes:

Override container environment variables to add service name with tag SCP_SERVICE_NAME
Unit tests updated
Requirements updated to point to forked moto - main branch currently does not support describe_task_definition.  MR will be submitted to moto
Testing:
Manual local testing
Unit testing
Impact:
None expected

LGTM

authors: paulci skygeo

repo: Skyscanner/ground-control