Fixing Labels and weapon Initialisation

Description
This update addresses an issue where the initial weapon counter incorrectly displayed zero, despite the player already having a weapon equipped. The weapon counter now properly reflects the initial weapon status. Additionally, the initial ammo count has been customized to vary according to different player types, ensuring correct ammo initialization. An issue with ammo shells appearing incorrectly on the map has also been resolved.
Fixes / Closes # (issue)
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
I extensively tested these changes by playing the game for several hours, identifying the issues, and ensuring the fixes worked correctly. After making the changes, I played the game again for an extended period to verify that the weapon counter and ammo behavior functioned as expected, and that the ammo shells no longer appeared incorrectly on the map.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

there are merge conflicts

This PR is breaking the UI of items

Ok working on it might have been some issue during merging

The game is not crashing because of my updates


Implement visitor for graphic instances

Putting this on hold until we have a good use case (e.g., for assessment). As an alternative, one could also do pattern matching on the dataclasses.
The current implementation (thanks!) stays in the visitor branch.


Demo app crash on startup

The demo app crashes on launch caused by Toast being called outside the UI thread.
https://github.com/italia/eudi-wallet-it-pid-provider-android-sdk/blob/e07fb7d91caa1e5c7c105174a818dde803824a41/androidpidproviderdemo/src/main/java/it/ipzs/androidpidproviderdemo/MainDemoActivity.kt#L70-L78
A solution could be
override fun onError(throwable: Throwable) {
                    runOnUiThread {
                        progress.isVisible = false
                        Toast.makeText(this@MainDemoActivity, throwable.message, Toast.LENGTH_LONG)
                            .show()
                    }

                    Log.e(TAG, throwable.message.toString())
                }

Fixed. Thanks!


[Bug]: Unable to use js_binary in other workspaces in bazel 7

In one module, I define a js_binary rule (using markdownlint from npm). I can run this fine in this module.
I make another module, and depend on the first module using local_path_override. If any targets in the second module refer to the js_binary from the first module, I get an error saying the repository could not be resolved.
Development (host) and target OS/architectures: Ubuntu 22.04 x86_64
Output of bazel --version: 7.0.0
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file: 1.34.1
Language(s) and/or frameworks involved: js
Minimal example:
$ \ls -AR
.:
.bazelversion  BUILD  MODULE.bazel  WORKSPACE  other/  package.json

./other:
BUILD  MODULE.bazel  WORKSPACE

$ cat .bazelversion
7.0.0

$ cat BUILD
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@npm//:markdownlint-cli/package_json.bzl", markdownlint = "bin")

npm_link_all_packages()

markdownlint.markdownlint_binary(
    name = "markdownlint",
)

$ cat MODULE.bazel
module(
    name = "md-test",
    version = "0.0.0",
)

bazel_dep(name = "aspect_rules_js", version = "1.34.1")

bazel_dep(name = "rules_nodejs", version = "5.8.2")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm")
npm.npm_translate_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
)
use_repo(npm, "npm")

pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm")
use_repo(pnpm, "pnpm")

$ cat WORKSPACE

$ cat package.json
{
    "dependencies": {
        "markdownlint-cli": "0.38.0"
    },
    "pnpm": {
        "packageExtensions": {
            "markdownlint-cli": {
                "dependencies": {
                    "deep-extend": "*"
                }
            }
        }
    }
}

$ cat other/BUILD
alias(
    name = "markdownlint",
    actual = "@md-test//:markdownlint",
)

$ cat other/MODULE.bazel
module(
    name = "other",
    version = "0.0.0",
)

bazel_dep(
    name = "md-test",
    version = "0.0.0",
)

local_path_override(
    module_name = "md-test",
    path = "..",
)

$ cat other/WORKSPACE

Initialise with:
$ bazel run -- @pnpm//:pnpm --dir $PWD install --lockfile-only

Then in the first module, the following works:
$ bazel run :markdownlint -- --version
0.38.0

But trying to run the target in the second module, that references the first, doesn't work:
$ cd other
$ bazel run :markdownlint -- --version
Starting local Bazel server and connecting to it...
bazel: Entering directory `/home/callie/.cache/bazel/_bazel_callie/5b831d15f550aa9c312e3eef2fd97503/execroot/_main/'
INFO: Repository rules_nodejs~5.8.2~node~nodejs_linux_amd64 instantiated at:
  <builtin>: in <toplevel>
Repository rule node_repositories defined at:
  /home/callie/.cache/bazel/_bazel_callie/5b831d15f550aa9c312e3eef2fd97503/external/rules_nodejs~5.8.2/nodejs/repositories.bzl:374:36: in <toplevel>
ERROR: no such package '@@[unknown repo 'md-test~override' requested from @@md-test~override]//': The repository '@@[unknown repo 'md-test~override' requested from @@md-test~override]' could not be resolved: No repository visible as '@md-test~override' from repository '@@md-test~override'
ERROR: /home/callie/.cache/bazel/_bazel_callie/5b831d15f550aa9c312e3eef2fd97503/external/md-test~override/BUILD:6:33: no such package '@@[unknown repo 'md-test~override' requested from @@md-test~override]//': The repository '@@[unknown repo 'md-test~override' requested from @@md-test~override]' could not be resolved: No repository visible as '@md-test~override' from repository '@@md-test~override' and referenced by '@@md-test~override//:markdownlint'
bazel: Leaving directory `/home/callie/.cache/bazel/_bazel_callie/5b831d15f550aa9c312e3eef2fd97503/execroot/_main/'
ERROR: Analysis of target '//:markdownlint' failed; build aborted: Analysis failed
INFO: Elapsed time: 6.153s, Critical Path: 0.05s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

I am hitting the same problem. Any way to resolve this? The rationale is that we would like to embed some tools based on rules_js for an internal tooling module that will be shared among a few other Bazel repos. Currently we have to work around the problem by setting up the executable in all consuming repos and pass a label pointing to the tools we need when registering the tooling module.


Added C# implementation of 6 Algorithms

Harshad numbers, 99 Bottles of Beer, 100 Doors, Ackermann, Averages and (the most fun to program) BogoBogoSort.

Thanks!


feat: optimize verify_eth_signature

Feature Request
Describe the Feature Request
verify_eth_signature takes 89% of the steps of a validate. Investigate whether using the new builtin ec_op, through a Cairo1 helper class, would reduce this amount of steps.

Result:
Using Cairo1's verify_eth_signature for an empty eth_send_transaction:
ExecutionResources(steps=252470, range_check_builtin_applications=16603, pedersen_builtin_applications=180, poseidon_builtin_applications=None, ec_op_builtin_applications=None, ecdsa_builtin_applications=None, bitwise_builtin_applications=3176, keccak_builtin_applications=2, memory_holes=None, segment_arena_builtin=None)

Using Cairo0's
ExecutionResources(steps=283130, range_check_builtin_applications=18366, pedersen_builtin_applications=180, poseidon_builtin_applications=None, ec_op_builtin_applications=None, ecdsa_builtin_applications=None, bitwise_builtin_applications=3180, keccak_builtin_applications=1, memory_holes=None, segment_arena_builtin=None)

overall, there are 30k steps less using Cairo1, likely due to a secp256_ec_get_point_from_x_syscall

Idea on how to proceed and make this compatible in the future:

Use Kakarot as a source of truth regarding the latest available Cairo1Helpers contract
When deploying an account, write to storage the value of Kakarot_cairo1_helpers_class_hash by reading it from Kakarot.
When executing __execute__ and if an account upgrade is available, before the upgrade process, start by reading the latest class_hash of Cairo1Helpers and writing it to the account's storage var. If we add new syscalls or helpers, they will be accessible by accounts directly
Delegate all verify_eth_signature and keccak call to the library

This should save ~35k steps per transaction, which is a consequent optimization.


Selecting circle crop area crashes with targetsdk 28

In the drawBackground method of the CropOverlayView the call:
canvas.clipPath(mPath, Region.Op.XOR);
crashes with the following message:
java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed
Starting sdk28 the clipPath (Path path, Region.Op op) method is deprecated now as stated here:
https://developer.android.com/reference/android/graphics/Canvas#clipPath(android.graphics.Path, android.graphics.Region.Op)
Any change this could be changed?

@ArthurHub same issue for me and it is always crash all app on android 9 (P)

Facing same issue on Android P.

Facing the same issue

Any updates?

This has actually been fixed in release 2.8.0 which includes pull request #618 so this issue can be closed.


[release/1.7] fix: cio.Cancel() should close the pipes

PR is a backport for #8334 (9e834e7).

/assign @AkihiroSuda

/ok-to-test

Following the pointer over to this PR, can you cherry-pick 82ec62b8658259eb29635045c5e190df26833da2 instead of the merge commit?

Following the pointer over to this PR, can you cherry-pick 82ec62b instead of the merge commit?

Specifically, git cherry-pick -xs 82ec62b8658259eb29635045c5e190df26833da2 should do the trick (and annotate the cherry-pick properly with a pointer to the original commit).

@dcantah @samuelkarp Thanks for the help! Done.


[Task] Cleaning up the codebase

Task Description
Kumiko's codebase is pretty huge and is in the process of being reworked.
Need to have / Currently working on

[x] Webhook manager and Webhook-based EventsLog
[x] Condensed migrations and schema
[ ] Rebuild parts (user inv, marketplace, job management) of the economy system
[x] Pins redesign
[ ] Clean up and redo the dict commands

Nice to have

[x] Redo the pride profile to only allow identities from a pre-compiled list

New goal, new future


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/117052

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/117394


Unable to re-install powershell extension when working with multiple instance of  VSCode.

VSCode Version: 1.2.0-alpha
OS Version: Windows10

Steps to Reproduce:
Setup: I have powershell extension already installed with VSCode.

Launch two instances of VSCode and open different project folders with each instance.
Remove Powershell extension from one of the instance and wait for the restart popup.
If restart window didn't appear then execute reload window command from command palette.
Add new PS file in the project and go to extension recommendation from command palette.
Now try to install PS extension and verify app behavior.

Actual:

I didn't get reload option after uninstalling PS extension and when try to reinstall extension getting error message.
Getting error message from active VSCode instance "Please restart code before reinstalling PS". when try to install PS extension.

At the same time I am getting a pop-up to install extension on other VSCOde instance (where I opened TS proj). so one instance (my active instance) is showing up error message and other (where I opened TypeScript proj)  is showing proper message.

Full Repro steps:

As designed.


File size increase by import/export from/to Stata

Hi,
I have noticed that importing/exporting data from/to Stata seems to increase file size a lot (sometimes more than double). I thought it mostly was caused by export to Stata, where string variables would be initially set to a length of 256 or something like that (usually after exporting I have to run the compress command in Stata and save the file again in order to save space). But now I noticed that importing data in Stata format and then exporting it to CSV causes similar increases in file size, even after dropping variables from the original file (so one would expect the file to be smaller). Any ideas of what is going on?
An example of a stata file with the exported csv file and script can be found here.
I ran the following commands in a script (included in the zip file):
#!/usr/bin/env python
# coding: utf-8
from __future__ import division
import sys, os, time
# Math, data
import numpy as np
import pandas as pd

# Print filesize original
print('Original filesize= '+str(os.path.getsize('./cn59_mat.dta'))) #Original filesize= 2883761
# Load data
df=pd.read_stata('cn59_mat.dta')
# Drop one variable
df.drop('index', axis=1, inplace=True)
# Export
df.to_csv('cn59.csv', encoding='utf-8', index=False)
# Print filesize original
print('New filesize= '+str(os.path.getsize('./cn59.csv'))) #New filesize= 4984671

So as you can see it doubled in size. I am using Python 2.7.6 with Pandas 0.15.1 on OS X 10.9.

The increase in CSV is natural - floats require 4 bytes and double require 8 bytes when binary, but can require > 8 characters to represent in ACSII, and so are larger.
The stata file is virtually identical in size.

closing as not an issue


Calico and host reboot issue

Upgrade to Kubernetes 1.1 with the latest version of Calico-docker.
https://github.com/projectcalico/calico-kubernetes/issues/92

Can you link to the actual opened issue on calico repo?

The issue is fixed with the latest version of Calico


sparse_categorical_crossentropy doesn't seem to be working

Here is an example language model, that doesn't work with sparse_categorical_crossentropy. If one uncomments lines 25-26, running the script will result in the following error:
Traceback (most recent call last):   File "./sparse_softmax_example.py", line 34, in <module>     main()   File "./sparse_softmax_example.py", line 26, in main     model.fit(input, output, batch_size=1, nb_epoch=1)   File "/place/home/hr0nix/src/text_features/env2/lib/python2.7/site-packages/keras/models.py", line 402, in fit     sample_weight=sample_weight)   File "/place/home/hr0nix/src/text_features/env2/lib/python2.7/site-packages/keras/engine/training.py", line 1036, in fit     callback_metrics=callback_metrics)   File "/place/home/hr0nix/src/text_features/env2/lib/python2.7/site-packages/keras/engine/training.py", line 774, in _fit_loop     outs = f(ins_batch)   File "/place/home/hr0nix/src/text_features/env2/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 499, in __call__     return self.function(*inputs)   File "/place/home/hr0nix/src/text_features/env2/lib/python2.7/site-packages/theano/compile/function_module.py", line 815, in __call__     allow_downcast=s.allow_downcast)   File "/place/home/hr0nix/src/text_features/env2/lib/python2.7/site-packages/theano/tensor/type.py", line 178, in filter     data.shape)) TypeError: ('Bad input argument to theano function with name "/place/home/hr0nix/src/text_features/env2/lib/python2.7/site-packages/keras/backend/theano_backend.py:495"  at index 1(0-based)', 'Wrong number of dimensions: expected 3, got 2 with shape (1, 2).')
Lines 28-30 work just fine. Am I doing something wrong or is it a bug in keras codebase?

If you're using that objective you manually have to add an extra dimension, e.g. np.expand_dims(y, -1) on your inputs.
I think this was documented somewhere in keras 0.3, it may have been lost in the shuffle.
This was a work around for some stuff where keras was inferring some things about temporal outputs based on shape.
Let me know if that works or does not work.


[feature] Add /ban and /banip as built-in commands

Is your feature request related to a problem? Please describe.
Currently, the /ban and /banip commands are missing from the default command set in BDS.
Describe the solution you'd like

Implement the /ban and /banip commands to ban online players.
Add the ability to ban offline players who have previously joined the server.

Additional context
BDS stores player data using their UUID as the key in leveldb with the prefix player_. To be able to ban offline players by name, we need to maintain a mapping between player names and their UUIDs. This mapping should be stored in a separate file, which should be updated each time a player joins the server. In Bukkit, a similar file called usercache.json exists so we could potentially use a similar format.
Once we have access to player data from leveldb using the username, we will also need to store additional data (e.g., last seen IP address). This could be stored in an additional compound tag, possibly named endstone.

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

Completed since https://github.com/EndstoneMC/endstone/commit/a6652196d55cdd4a5c056d59191612d1f3d18b81.


fix search paths

The ReactCBLite Xcode project was missing search paths to the Couchbase Lite framework. Following the install steps wouldn't compile. I believe this commit should fix this for everyone following the steps from now.

:+1:

Thanks for merging away and bumping the module version quickly!


Feature request: callback functions

Great code, thank you for sharing!
Any change you would include callback functions? I would like to send an event to Google Analytics when the form has been successfully submitted. When an error occurs, another callback function could be run.

Yes, it will be great

With the 1.2.0 version, I added two callbak and two events for error and success.

Thanks! Great addition!


add back authz log group and add moved block to keep track of it

From testing in internal prod looks to be working in the plan:
# module.common-fate.module.authz.aws_cloudwatch_log_group.authz_log_group has moved to module.common-fate.module.authz-legacy.aws_cloudwatch_log_group.authz_log_group
    resource "aws_cloudwatch_log_group" "authz_log_group" {
        id                = "common-fate-prod-authz"
        name              = "common-fate-prod-authz"
        tags              = {}
        # (7 unchanged attributes hidden)
    }


linkvertise bypass not working??

Domain
https://linkvertise.com/
Link
https://linkvertise.com/473298/demonrpgscript/1
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
Anything else?
i am using opera GX browser but i said chrome because thats the browser i used to download the extension

Does this link direct to a linkvertise paste or file?

I just checked this on my phone with the latest bypass definitions and it worked for me...

It also worked here just fine, closing this issue


Close on closed channel in "ordered daemon"

Hit "CTRL+C" once
2019/12/12 10:59:19 [ INFO ] Gossip: Closing neighbor connections ... done
panic: close of closed channel
goroutine 32 [running]:
github.com/iotaledger/hive.go/daemon/ordered.(*Daemon).shutdown(0xc00007e0c0)
        /go/pkg/mod/github.com/iotaledger/hive.go@v0.0.0-20191206213336-9f6cd83f0501/daemon/ordered/daemon.go:214 +0x26e
github.com/iotaledger/hive.go/daemon/ordered.(*Daemon).ShutdownAndWait(...)
        /go/pkg/mod/github.com/iotaledger/hive.go@v0.0.0-20191206213336-9f6cd83f0501/daemon/ordered/daemon.go:245
github.com/iotaledger/hive.go/daemon/ordered.ShutdownAndWait(...)
        /go/pkg/mod/github.com/iotaledger/hive.go@v0.0.0-20191206213336-9f6cd83f0501/daemon/ordered/daemon.go:47
github.com/gohornet/hornet/plugins/gracefulshutdown.glob..func1.1(0xc007c50060)
        /__w/hornet/hornet/plugins/gracefulshutdown/plugin.go:50 +0xd1
created by github.com/gohornet/hornet/plugins/gracefulshutdown.glob..func1
        /__w/hornet/hornet/plugins/gracefulshutdown/plugin.go:26 +0xf5```

Fixed in v0.2.3


How to parameterize IN clause

Hi,
If I have a list of IDs, and I'd like to query like select * from c where c.id IN (...)
How can I parameterize this with the SqlQuerySpec?
Thanks.

Will it be suspect to SQL injections and attacks?

@zhouchong90
You can try something like this:
String query = "SELECT * from c where c.prop IN (@param1, @param2)";
SqlParameterCollection params = new SqlParameterCollection(new SqlParameter("@param1", 98), new SqlParameter("@param2", 99));
SqlQuerySpec sqs = new SqlQuerySpec(query, params);

@moderakh Thanks. Will there be any built-in support to take a list directly? Since I'll have a list of thousands of values and it'll be ugly to write a dynamically generate sql and put the values.

Cleaning up older issues.
No plans on support parameterized lists directly any time soon. Following Mohit's pattern makes sense and something we could potentially support ourselves in the future, but not a priority at the moment.

Just found this issue, absolutely perplexed that this is just silently not supported. Its not like the client libs are still 1.x early days. Combined with the fact that it is not possible to log the outgoing SQL queries, this just cost me several hours.

@All is this fixed ? What is the solution ? We really need this feature to pass list for in clause.. Can someone tell us the solution ?

Its 2024, and cosmos SDK is still missing this feature. Any plans to add it or solutions for this?

Hey @shethmanan, this repository is not active anymore and has reached end of life, please create this issue here and we can follow up - https://github.com/Azure/azure-sdk-for-java


Update dbatools on Remote Computers without Internet

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[X] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

This function allows you to copy dbatools version(s) from a source computer to one or multiple remote computers that do not have access to the internet to download from the gallery.
Approach

Allows non internet connected servers to get new versions of dbatools.
Commands to test

Screenshots

Learning

I might need some guidance on best practices and dbatools standards.  I haven't done a new function in a while and things have changed a little.

Do we reallllly need a glorified Copy-Item, in a function that will just work on windows envs, and just where  SMB Admin shares are enabled ? This sounds more like a snippet than a function...

Still unsure about this one and will have to think on it

I got local github (tfs or anything else) server setup. Download dbatools push it to local git, then just pull on local servers.

First point would be @gbargsley myself or Chrissy handle updating that PSD1 file, simply due to conflicts hitting that file from in PRs is a bit more pain than most files to fix.
The current state of the command in this PR is making very large assumptions on setup and access. Overall, unless they are Local Administrator on any server they will not be able to access the admin share (if it is even enabled). I would say this is out of scope for the module itself being that it pertains to module management, which should not be something dbatools takes care of as well.
I think an expansion on the current install blog post would be sufficient and include this as a snippet example. (Or it can be created as a wiki article on this repository if desired.)

This can be cancelled. I was asked how I update my off internet servers.

yeah i think this would better as a blog post, would you be willing to blog about it at dbatools.io/blog, garry?


Fix bulk upload scheme lookup bug

We now lookup schemes and locations by looking for a matching combination of: scheme id, location id, owning org id (either the owning or managing org for the log). This ensures we return the correct combination of scheme and location - before we were returning any scheme and location that had the correct old_visible_id when users used old CORE ids which gave erroneous results.
This PR also attempts to return a scheme even when location id is not present (or invalid) so that the error message only applies to location in this case, even though logs cannot be created in this situation anyway.
Comes from this support ticket: https://dluhcdigital.atlassian.net/browse/CLDC-2966

And yep, it does add more log creation blockers, I ran them by jemma in standup and she agrees they should have been there to begin with. In practice I think another error would have blocked log creation regardless in the case we were missing scheme/location so not sure it'll make any difference but good to be explicit


fix: Fixed ESLint styling rules overriding Prettier styling rules

Summary
This fixes the minor issue where ESLint's styling rules were overwriting the Prettier styling rules. Videos below showcase an example.
This PR is part of the Turborepo monorepo migration mentioned in #234.
EDIT: Comment below in this PR (here) showcases an example of the conflicting styling rules caused before this PR.
Changes

[x] Removed 2 of ESLint's conflicting styling rules

Showcase
Before Changes
👇 Shows how the lint:fix script overrides changes done by format:fix
https://github.com/code100x/cms/assets/45622345/71cfdeb2-8e62-450a-8d5a-da72d12576d4
After Changes
👇 ESLint (lint:fix) no longer conflicts with Prettier's (format:fix) styling changes now
https://github.com/code100x/cms/assets/45622345/ea8b2486-8556-4804-baf4-5acadb1b93f6

@aryanprince how u are u solving this issue just removing ?
  quotes: [2, 'single']
  indent: [2, 2

@TanmayDhobale Good question, it was very annoying during dev cus of our Husky pre-commit hooks - and being very annoying to debug as well.
Video below shows an example of one of the conflicts caused by ESLint rule: indent: [2, 2]. You can see how running format:fix formats all files according to Prettier's conventions and our Prettier config file (.prettierrc). But running lint:fix then overwrites styling rules according to these 2 ESLint rules I just removed in this PR.
Adding to this, every time someone makes a PR/commit, our Husky pre-commit rules will first apply Prettier formatting using format:fix, and the next step is to lint the whole codebase using lint:fix. But then again, on every commit the ESLint styling rules will override any of Prettier's styling rules since both of these scripts run on every commit.
https://github.com/code100x/cms/assets/45622345/4ffad8bf-bff7-4f85-8657-102e14c08cce
Issue is having ESLint do any styling for us since Prettier already does a great job at that. It would be best to remove all of the ESLint styling rules we have to prevent any future conflicts. But the 2 rules I removed here were the only ones causing conflicts in this codebase currently.

@TanmayDhobale Good question, it was very annoying during dev cus of our Husky pre-commit hooks - and being very annoying to debug as well.
Video below shows an example of one of the conflicts caused by ESLint rule: indent: [2, 2]. You can see how running format:fix formats all files according to Prettier's conventions and our Prettier config file (.prettierrc). But running lint:fix then overwrites styling rules according to these 2 ESLint rules I just removed in this PR.
Adding to this, every time someone makes a PR/commit, our Husky pre-commit rules will first apply Prettier formatting using format:fix, and the next step is to lint the whole codebase using lint:fix. But then again, on every commit the ESLint styling rules will override any of Prettier's styling rules since both of these scripts run on every commit.
Showcasing.ESLint.and.Prettier.Conflict.mp4
Issue is having ESLint do any styling for us since Prettier already does a great job at that. It would be best to remove all of the ESLint styling rules we have to prevent any future conflicts. But the 2 rules I removed here were the only ones causing conflicts in this codebase currently.

yea bcs i try many times but without changing files code lint problem is still there. then i have to change the file code automatically u can see here ive try to solve this issue in #211 but then u solved , great

@aryanprince @TanmayDhobale do u know about extending eslint with prettier. It might be somewhat better than what we are doing currently
ref = https://github.com/prettier/eslint-config-prettier

@devsargam I 100% agree it's a better solution and it's what I gravitated towards at first.
But I instead found out that I could solve the conflicts just by disabling the 2 ESLint styling rules for now, instead of introducing a new dependency (like eslint-prettier-config) for it.
@TanmayDhobale Feel free to include eslint-prettier-config in your next PR. I would recommend you still open a PR (like the one you closed) as you were planning to add more new features, perhaps after this PR gets merged to ensure minimal conflicts.

@devsargam I 100% agree it's a better solution and it's what I gravitated towards at first. That's what I use in most of my personal projects.
But I instead found out that I could solve the conflicts just by disabling the 2 ESLint styling rules for now, instead of introducing a new dependency (like eslint-prettier-config) for it.
@TanmayDhobale Feel free to include eslint-prettier-config in your next PR. I would still recommend you still open a PR (like #243 which you closed) as you were planning to add more new features, perhaps after this PR gets merged to ensure minimal conflicts.

Not sure let's see

But one thing, after removing those 2 options now eslint won't provide rules for indentation in this project.

I agree. But we are better off with ESLint not providing rules for indentation, since Prettier will auto format the files anyways - especially with the Husky pre-commit hooks in place.

This issue solves a big problem but accidentally starts another small one

Could you provide some examples where this could start other problems? Currently, all of our other ESLint styling rules (in .eslintrc) don't seem to have any overlap with our Prettier styling rules (in .prettierrc) so we should be good.

@aryanprince I don't remember much brother. But I did see some weird behaviour when it was a case for nested ternaries
Example
true ?
  true ?
     "yes" : "no"
  : "something"

after reviewing our current setup and the discussions around ESLint and Prettier conflicts, I suggest integrating eslint-config-prettier as a more sustainable solution. This approach will systematically disable all ESLint rules that could conflict with Prettier, ensuring a smoother workflow without needing to manually disable specific rules. It not only simplifies our setup but also enhances maintainability and minimizes potential issues down the road. let me know pls @devsargam @aryanprince

@TanmayDhobale sure go on. For now @aryanprince solution seems fine as it's blocking the turoborepo migration

@devsargam I get you, can totally see this happening. Best case scenario would be to update our ESLint config to use eslint-prettier-config, and then run the linter across the entire project to fix any issues. But this will cause merge conflicts with every other open PR.

yeah, linting is always tedious and should happen when the pr count is almost 0 else cause a lot of merge conflicts. Upto then you guys keep comitting with --no-verify flag which wont trigger husky

Agreed, let’s prioritize minimizing merge conflicts by holding off on sweeping lint changes until our PR count is low. Using --no-verify temporarily seems like the best path forward. We’ll circle back to eslint-config-prettier integration later.

@devsargam yoo whtats ur discord ? or maybe check ur twitter dm once


example of command

Hi
A brilliant script.
Can you give an example of how to run the script?
I didn't understand what the "node_name" parameter should contain

I've updated the readme to make this concept more explicit. Please go through the readme file to understand the use/working of node.


feat!: merge arrays

See rendered

Reverted function support for Lval as this might introduce unwanted function call which is not preventable. Will add support for custom merge in next pr :)

Update: #19


ART-02 Layout needed for index.js file

For index.js file grid layout needed and _normalize.scss file should be import into _index.scss file. You will find this file in /lib/base directory

For layout _index.scss file created and imported _normalize.scss file from /lib/base directory.


Add configuration for IoN Neuro DB project

Creating default configuration for IoN Neuro DB project.
We override sequentually so the first file to be read is the

projects/configs/tag-operations/base.yaml
then projects/configs/tag-operations/mri.yaml
and specific to this project: projects/configs/tag-operations/ion-neuro-db.yaml
Then for specific manufacturers: projects/configs/tag-operations/manufacturer-overrides/mri.yaml

looks good! Does #508 need to be addressed before exporting data to the XNAT?

Yeah I think practially we won't actually export any data as part of this tranche of work, but setting up the configuration so we can test out the anonymisation within UCLH network. I guess I could temporarily just set both exports to none, but also there's no authentication set up to allow export so can't accidentaly do that


How to refresh after started a program instead finished it?

I have a script for starting and monitoring a service. I can get it running by set bash={command}. However, I hope to do a refresh right after it start to get a status. refresh=true does not help here, as it only works when the service exits, which is never.
Currently the only solution I have is using ssh -f localhost {command} to start the service. But this requires running SSH server on my own computer. I tried Bash's background job {command} & disown but that does not work. I also do not want to set the time interval too short just for refresh.
Any help? Thanks.

I got it working by using bash=/bin/bash param1=-c param2="{command}". Wondering if there is a better solution?


WebSocket: Annotated Endpoints always have contextRoot /websocket

Environment Details

Helidon Version: MP 2.0.0-M2
JDK version: 11
OS: Windows
Docker version (if applicable): N/A

Problem Description
Using Microprofile WebSocket integration only apps initialised with ServerApplicationConfig can have their contextRoot set. If using pure annotated endpoints, then this always defaults to /websocket. I feel there are two issues here:

Default path should not be /websocket as we may want to interleave the routing with Jersey or other routes,
Annotated endpoint should be inspected for @RoutingPath and that be honoured, but if it doesn't exist, use purely the value in @ServerEndpoint#value.

Issue is here: WebSocketCdiExtension
Steps to reproduce
Create any annotated WebSocket endpoint. You'll see the message:

INFO: Registering websocket application at /websocket

This is currently by design and somewhat similar to how Grpc is supported. What you suggest is different (and has other issues), but I'm not sure is better, and is certainly less consistent with the SE support.

TBH my expectation is that the @ServerEndpoint#value is the only specifier of path, similar to how @ApplicationPath#value is. This would be the same regardless of server runtime. However, I will concede that the specification does state that:

If the WebSocket server includes the Jakarta Servlet API, the WebSocket root must be the same as the Servlet context root of the web application [WSC-6.4-1].
https://github.com/eclipse-ee4j/websocket-api/blob/master/spec/src/main/asciidoc/WebSocket.adoc#65-websocket-server-paths

...and as Servlet is not implemented in Helidon, it doesn't have to match. Therefore, can we at least be able to customise it? Otherwise, I'll have to put in horrible URL mappings to make the paths look consistent.

So for an MP example:

JAX-RS @ApplicationPath("my-app") & @Path("v1/foo") = <scheme>://<host>:<port>/my-app/v1/foo
WS @ServerEndpoint("/my-app/v1/ws") = <scheme>://<host>:<port>/websocket/my-app/v1/foo

I therefore cannot set a consistent context root, nor configure away from /websocket.

So for an MP example:

JAX-RS @ApplicationPath("my-app") & @Path("v1/foo"):
<scheme>://<host>:<port>/my-app/v1/foo
WS @ServerEndpoint("/my-app/v1/ws"):
<scheme>://<host>:<port>/websocket/my-app/v1/foo

@ServerEndpoint is analogous to @Path not @ApplicationPath, that is, it applies to an individual endpoint. The default value for an application path in JAX-RS is /, in Web sockets is /websocket to avoid conflicts.
To override the default for Web sockets you need to create a subclass of ServerApplicationConfig and use @RoutingPath on it; just like you need to define a subclass of Application and use @ApplicationPath in JAX-RS.

@spericas I just tried the ServerApplicationConfig approach and although I don't think /websocket should be the default, similar to other implementations of Jakarta WebSocket it should share the same context root at JAX-RS, Servlet, etc.,, it appears I can force it to share the same namespace which means I can simplify my Istio config.
I'll do some more testing first before I close this issue.
QQ: were there specific conflict issues with gRPC or WebSocket handlers that were observed by sharing the same content root? From my quick test it seems I can interleave JAX-RS and WebSocket endpoints.

@dansiviter It seemed like the separation of context roots would lead to fewer user surprises, but it sounds like it had the opposite effect in your app. Perhaps we should reconsider this decision before 2.0 goes final ...

Default context root has been set to "/" for WebSocket endpoints as well (PR #1622, PR #1631). This change should be available in the next milestone release (M3).


README.md setup mentions non-existent version-sample.json file

I'm trying to follow the instructions in README.md to set up the build locally. It mentions that I should rename /dist/download/version-sample.json, but that file does not exist.
It is referenced in issue #64 and in commit 66d97f9176e5857bf4e684eb1ab66be5cd383091 and I think it might have been removed in commit f029caf33b2c84216a7b7135d2ba949d14abd3b6.
I assume that all of the active contributors have the version.json file set up already, but that is included in .gitignore which is probably why this has gone unnoticed.
I will make a pull request that adds the file back in, but I'm not sure what version information to add to it, so I'll just use the info from 66d97f9176e5857bf4e684eb1ab66be5cd383091

This might be awfully incorrect, but i think I was able to set the build up locally without even adding that file. I'll be able to check that tomorrow if you want. Can you verify that the file is even needed?

@Zalastax, yes I was also able to build and run it, but according to the discussion on #64 it seemed to cause problems with the links to translated versions?
If it's not required, then we should probably remove the reference to it in README.md.

I checked and although it does build if the version.json file is not included, the version information is not populated into the download page, so version-sample.json should be included and renamed.

I know this is a minor problem, but since I'm working through these for the first time, I thought it was best to try and fix anything that crops up along the way. Plus - I'm learning how to contribute 👍 .

Created a pull request #186 to address this.


Add documentation

Hi,
Thanks very much for creating this project. I had some troubles staring up because of sheer lack of documentation. In the end I managed to find this forum post:
http://www.iceinspace.com.au/forum/archive/index.php/t-128890.html
which at least helped me get started. I'll start trying this out with my mount and camera as soon as the sky allows for it :)
Cheers, Wouter

Hi,
very interesting project, but I have some trouble getting it to run. I would second to improving documentation.
On which version of Python was it tested? On IceInSpace I see that it was tested on Python 2.7, which is end of life since the beginning of the year.  I get syntax errors trying to run it on Python 3.9.1 on Windows 10.
Also it would be very helpful if the basic info mentioned at IceInSpace such as requirement of the apikey for nova.astrometry.org would be part of the project,

As a quickstart on Windows 10:

Download Python 2.7
Install Python 2.7
Download get-pip.py from https://bootstrap.pypa.io/get-pip.py
Run get-pip.py
Run pip install numpy
Run PPA.py
Create an account at http://nova.astrometry.net and retrieve the apikey
insert the apikey in the UI

Appreciate the comments. However, I am not going to update this 2.7 Python code to 3.x (the tricky bits are in the communication with the Nova server). Anyone who feels they can, please do so. I understand there is now a way of easily migrating the Nova server to the same laptop that will run PPA.py and that would make the "Local" solve (based on cygwin astrometry.net build) redundant. But you still are going to need tkinter, ujson, astropy, pillow, scipy, numpy  packages for 2.7.
By the way, your instructions above failed for me (at Run get-pip.py).

Okay @ThemosTsikas, I understand your point. My Python knowledge is very limited at the moment, but who knows, maybe at a later stage.
I just added a few details that might get the "Run PPA.py" step working.

Would you mind checking if installing an old version of Anaconda still works? I just used
https://repo.anaconda.com/archive/Anaconda-2.3.0-Windows-x86_64.exe
and it seems to work ok (but Nova is a bit slow today so some requests time out, stop PPA and restart it if so.)

I will give Anaconda a shot. So far I got the UI running, but ujson was still missing when I tried solving images.

Anaconda is much easier @ThemosTsikas indeed!
Just install and run from powershell as you indicated.

After Anaconda installation you should have a Start -> Anaconda (64-bit) -> Anaconda Command Prompt in your Start menu which would work just as well.
In that command shell, "conda install ujson" should work, if it's missing.


Weird escaping with 14.0.0

After upgrading to 14.0.0 (from 12.0.0) the app is no longer correctly stringified in Node and therefore you get stuff like this:
<script>
window.__JSON_GLOBALS_["state"] = {
    "foo": "bar"
}
</script>

Notice that it's double quotes that are being converted to hex.  Not sure where the issue is, probably in virtual-dom although I can't find a commit that causes it.

strange. the stringify code is not in virtual-dom, its in virtual-dom-stringify.

The issue is that the tag names are capitalized and stringify doesn't check for this. Was there any changes in virtual-dom that caused this? It is a stringify issue so I'll submit the fix there, just curious as to when this broke.

I think this is probably the breaking commit: https://github.com/Matt-Esch/virtual-dom/commit/e21dc39f1677382bd4a5a651a96ca9ebd51c5646
So it became an issue with 1.3.0.

Created an issue there https://github.com/alexmingoia/virtual-dom-stringify/issues/19

Ok, it's been merged: https://github.com/alexmingoia/virtual-dom-stringify/pull/20 Sorry for filing in the wrong repo, I thought it could be the virtual-hyperscript causing the encoding.


Can I use an AMD card? (Can't use cuda)

When downloading this, I didn't worry about my AMD graphics card, because the requirements said I could. But when running it, it said that pytorch wasn't updated. And then it failed because pytorch requires cuda to work. But you can't get cuda using an AMD card. So what should I do?

Unfortunately, it doesn't look like AMD is really officially supported at the moment for this project, since there doesn't appear to be OpenCL integration yet.
See here - https://github.com/lucidrains/deep-daze/issues/154#issuecomment-949205750 - if it does not find CUDA, it will just default to using the CPU.


RPC / Reply to behaviour

Following some discussions with @cressie176, we would like to enable RPC / Reply to behaviour
The API would look something like this:
const publication = await broker.publish('my-publication', content);
publication.replySubscription.on('message', (msg, content) => {
  await doSomething(content);
  await publication.replySubscription.cancel();
});

Under the hood:

When creating a channel, we have the channel consume from the pseudo-queue amq.rabbitmq.direct-reply-to
We will create a correlationId for each message that is published, and that correlationId will also be available to publication
Attaching an event handler to publication.replySubscription places into a map keyed by correlationId for direct reply-to events on the channel

The message consumer can reply by using the replyTo property on the incoming message. It would publish to the default exchange using the replyTo property as the routing key (see the link above), and passing the correlationId as an option.
Cancelling the replySubscription would remove its event handlers from the map.

How about...

The publication can be configured with replyTo: amq.rabbitmq.reply-to or perhaps directReplies: true
The API looks likeconst publication = await broker.publish('my-publication', content);
publication.replies.on('message', (message, content) => {
  // Note there would be no third ackOrNack parameter because direct reply-to "queues" are auto-ack
  // Handle message(s)
  publication.replies.cancel();
}).on('error', (err) => {
  // Handle error
})

1. Because Rascal uses a channel pool, each would need to consume from the `amq.rabbitmq.reply-to` pseudo queue, then invoke the correct publication's reply message handler
1. To do this we could listen for the `newListener` event when the 'message' handler was added, and store the message handler, keyed with a correlationId controlled by the publication (assuming one wasn't already present in the message)
1. On receiving a reply, Rascal would use the correlationId in the reply to find and invoke the correct publication message handler
1. We should support multiple replies to the same message handler
1. We must provide a way for the user to cancel / remove the message handler to avoid memory leaks
1. If the message handler does not exist, we should do nothing (it could have been cancelled)
1. If the publication does not include reply config, the `publication.replies` property should be undefined.

I am very interested in this functionality too - since the PR was rejected I'm rolling my own using another amqp lib. Watching rascal from a distance 👁 👍


Error: make failed with exit code: 2

Hello , need help, already try everything
after npm install have these errors
when instal node 4.2.3 everything good, but i want to use the latest one, any advices ?
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i"
npm ERR! node v7.1.0
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the libxmljs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs libxmljs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls libxmljs
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/tkarpenko/****/npm-debug.log
../node_modules/nan/nan.h:1933:15: warning: 'SetAccessor' is deprecated [-Wdeprecated-declarations]
return obj->SetAccessor(
^
/Users/tkarpenko/.node-gyp/7.1.0/include/node/v8.h:2761:22: note: 'SetAccessor' has been explicitly marked deprecated here
bool SetAccessor(Local name,
^
../src/libxmljs.cc:56:17: warning: 'IsDead' is deprecated [-Wdeprecated-declarations]
if (v8::V8::IsDead())
^
/Users/tkarpenko/.node-gyp/7.1.0/include/node/v8.h:8907:10: note: 'IsDead' has been explicitly marked deprecated here
bool V8::IsDead() {
^
4 warnings and 4 errors generated.
make: *** [Release/obj.target/xmljs/src/libxmljs.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.1.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/tkarpenko/Documents/Rostyslav/Work/dingit.tv/ng_admin/client/node_modules/libxmljs
gyp ERR! node -v v7.1.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

Me too :-(


feat: scope-level metadata

Allow specifying metadata at any construct scope.
For example, you can add a label to all API objects within an app like this:
Metadata.of(app).addLabels({ app: 'my-app' });
chart.metadata.addNamespace('foo');
Metadata.of(someConstruct).addAnnotation('foo', 'bar');

BREAKING CHANGE: ApiObjectMetadataDefinition has been removed in favor of Metadata with a slightly different API.

plus: the field podMetadata in PodTemplate is now of type ApiObjectMetadata instead of ApiObjectMetadataDefinition. At the moment the scope-level metadata is not applied to pod templates.

Closing for now. We currently support specifying metadata at the chart level and that seems sufficient for the time being.


Improve SCION router performance to meet target

This item comprises the following tasks:

[ ] #4412
[ ] #4413
[ ] #4414

The deliverable of this work item is a router with satisfactory predicted performance. This is an open-ended task.
Profiling and other instrumentation have to be created ad-hoc to reveal opportunities for optimization, followed or interleaved with a cycle of implementing and testing improvements. The cycle stops when we agree that performance improvement is no-longer a priority.

Observations from initial profiling and other measurements:

The socket API had a constant and significant packet overhead. iperf3 reveals a minimum packet time of about 1 microsecond no-mater what the network device is: veth+bridge, Gig-e NIC, 10 Gig-e NIC, etc.
Packet processing itself represents 11% of realtime execution in the router (excluding go runtime cost).
with small (172 bytes) packets, 25% of the router time is spent in the kernel sending packets (excluding go runtime cost).
with small (172 bytes) packets, 27% of the router time is spent in the kernel receiving packets (excluding go runtime cost).
Another 30.81% is spent in the go runtime, mostly as:

Allocating/GCing: 2.88% (MsgHdrUnpack->ParseInetAddr, resolveLocalDst)
Chanrecv: 3.6%
Chansend: 5.62%
computeProcID: 2.37%
runtime.Schedule (excluding channel ops): 6.8%
mmsghdrs unpack: 2.45%
mmsghdrsPacker pack: 2.39%
runtime mapaccess1/2: 3.48%
metrics: 1.22%
time.Now: 1.54%

The remaining 4.65% is small bits and pieces.


Validate structure of input-project_name

The structure need to be "domain.hostname"

When we type tequila.web and add a . between tequi and la.web the result be tequi.la ..

Check that the project name be with the right format before provision

@iLeonelPerea  Don't you think that it'd be better with 2 separate fields? One for the domain and one for the hostname. That should fix this and it'd be more intuitive for the user.


CSS File Not Being Replaced When Using Jekyll Serve

My config:
assets:
  cache: false
  autoprefixer:
    browsers: ["last 2 versions","> 5%","IE 9"]

Using jekyll-assets 2.2.5 and Jekyll 3.1.3
Whenever I change any of my Sass files, I see jekyll serve (the JEKYLL_ENV is development) note that a file changed, but main.css is never replaced in the output directory. If I manually delete the file and re-run build or serve, it works fine.
What am I missing?

Please ask non-bug questions at https://talk.jekyllrb.com/ this medium is for bug reports only. Not generic usage questions or questions on how to use our software.

Check your excludes and make sure something named main isn't excluded, make sure you use the right asset folders (we do not integrate with jekyll-sass-converter*) and if that doesn't help please post your question to the forums and I'll happily help you from there where we can try to work out what is going wrong with your source.

If you continue to have problems, please include as much information as you can, including but not limited to your file structure (or preferably a repository with your source in it) so that we can go from there, we cannot work with generic diagnostics because there are many variables that can cause problems.

Just seen your ticket on our forums and have replied, sorry I did not notice it before: https://talk.jekyllrb.com/t/disable-sass-caching-in-development/2324/4?u=envygeeks

This was deduced as a browser caching issue, digesting solved the problem.

See my reply in Jekyll Talk. The file isn't changing. I'll try to write some tests when I have time.

This is a bug, I found out where it originates as I was replying and explaining what we change, a silly bug at that since I should have spotted that when I was adjusting their source to fit our needs.  It's here: https://github.com/jekyll/jekyll-assets/blob/master/lib/jekyll/assets/manifest.rb#L78

Ah, easy to spot now that you've pointed it out! 😄
At least now I feel slightly less crazy.


Python-docx detects a single paragraph with a single run with a single style -- when it should detect multiple paragraphs each having their own style

Within a table in a docx, here's the content as seen in Word:

Exported docx to mht, here's the relevant section:

     Paragraph without a bullet
     <o:p></o:p>

     <![if !supportLists]>

            ·

     <![endif]>
     Bulleted entry immediately below it
     <o:p></o:p>

I retrieve the row of the table, grab the second cell (where this content is located) and attempt to retrieve the text.
When I look at the content in Word -- and when I look at the above HTML -- I would think python-docx would interpret it as either:
(a) multiple paragraphs (one paragraph style "Normal", the other paragraph style "List Paragraph")
...or...
(b) single paragraph with multiple runs  (one run style "Normal", the other run style "List Paragraph")
NOPE
Python-docx sees a single paragraph with a single run -- with style "Normal"
Here, let me show you.
Is it multiple paragraphs?
def get_text(row):
    field_text = ""
    paragraph_counter = 0
    for paragraph in row.cells[1].paragraphs:
        print("paragraph counter: " + str(paragraph_counter))
        print("paragraph style: " + paragraph.style.name)
        print("paragraph text:\n[BEGIN]\n" + paragraph.text + "\n[END]\n")
        paragraph_counter += 1

NOPE: Python-docx only sees a single paragraph.  Here's the output:
paragraph counter: 0
paragraph style: Normal
paragraph text:
[BEGIN]
Paragraph without a bullet.
Bulleted entry immediately below it
[END]

Is it a single paragraph with multiple runs?
def get_text(row):
    field_text = ""
    for paragraph in row.cells[1].paragraphs:
        run_counter = 0
        for run in paragraph.runs:
            print("run counter: " + str(run_counter))
            print("run style: " + run.style.name)
            print("run text:\n[BEGIN]\n" + run.text + "\n[END]\n")
            run_counter += 1

NOPE: Python-docx only sees a single run within the single paragraph. Here's the output:
run counter: 0
run style: Default Paragraph Font
run text:
[BEGIN]
Paragraph without a bullet.
Bulleted entry immediately below it
[END]

HELP!? What am I doing wrong?  How do I get Python-docx to detect this content as two separate sets of text:
First: "Paragraph without a bullet." with style "Normal"
Second: "Bulleted entry immediately below it" with style "List Paragraph"

Post the output of:
print(row.cells[1]._tc.xml)

and let's have a look at the underlying XML.

Hi @scanny
('<w:tc xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" '
 'xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" '
 'xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" '
 'xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" '
 'xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" '
 'xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" '
 'xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" '
 'xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" '
 'xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" '
 'xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" '
 'xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" '
 'xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" '
 'xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" '
 'xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" '
 'xmlns:o="urn:schemas-microsoft-com:office:office" '
 'xmlns:oel="http://schemas.microsoft.com/office/2019/extlst" '
 'xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" '
 'xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" '
 'xmlns:v="urn:schemas-microsoft-com:vml" '
 'xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" '
 'xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" '
 'xmlns:w10="urn:schemas-microsoft-com:office:word" '
 'xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" '
 'xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" '
 'xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" '
 'xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" '
 'xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" '
 'xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" '
 'xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" '
 'xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" '
 'xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" '
 'xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" '
 'xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape">\n'
 '  <w:tcPr>\n'
 '    <w:tcW w:w="3509" w:type="dxa"/>\n'
 '    <w:gridSpan w:val="2"/>\n'
 '    <w:shd w:val="clear" w:color="auto" w:fill="FFFFFF" '
 'w:themeFill="background1"/>\n'
 '    <w:vAlign w:val="center"/>\n'
 '  </w:tcPr>\n'
 '  <w:p>\n'
 '    <w:r>\n'
 '      <w:t>Paragraph without a bullet.</w:t>\n'
 '      <w:br/>\n'
 '      <w:t>Bulleted entry immediately below it</w:t>\n'
 '    </w:r>\n'
 '  </w:p>\n'
 '</w:tc>\n')

@philCryoport I'm not sure what to tell you. The paragraph in memory only has a single paragraph:
<w:tc>
  <w:tcPr>...</w:tcPr>
  <w:p>
    <w:r>
      <w:t>Paragraph without a bullet.</w:t>
      <w:br/>
      <w:t>Bulleted entry immediately below it</w:t>
    </w:r>
  </w:p>
</w:tc>

This corresponds to what python-docx is reporting.
python-docx does not automatically modify the underlying XML, so what you're seeing with you print out element.xml is exactly what is there in the file unless your code modified it some way.
Transformations to MHT are something else entirely and have nothing to do with python-docx. python-docx reads the .docx file, manipulates it as instructed, and saves it when instructed.
I'd be checking my code to make sure I was loading the file I thought I was and not a prior or later version. Also, if there is more than one version of that table, like within revision marks or as alternate content that could have something to do with it.

Hi @scanny -- here's a pared down file.  I created it by starting a new document and then only copying over the table in question.
reduced.docx

This code:
document = Document("reduced.docx")
cell = document.tables[0].rows[1].cells[1]
for p in cell.paragraphs:
    print(f"{p.style.name=} : {p.text=}")

produces this output:
p.style.name='Normal' : p.text='Paragraph without a bullet.'
p.style.name='List Paragraph' : p.text='Bulleted entry immediately below it'
p.style.name='Normal' : p.text=''
p.style.name='Normal' : p.text=''

which is the expected behavior and does not match what you posted above.
I think I'm going to have to leave this with you to figure out. I don't see any unexpected python-docx behavior.

Yup, you're right.  Now I gotta see what I'm doing in my existing code that's stripping the formatting out of the cell :(
Thank you @scanny for your help!

If you're setting cell.text, that's going to produce a single paragraph, as noted in the documentation here: https://python-docx.readthedocs.io/en/latest/api/table.html#docx.table._Cell.text

If you're setting cell.text, that's going to produce a single paragraph, as noted in the documentation here: python-docx.readthedocs.io/en/latest/api/table.html

Ding ding ding ding ding!  Give @scanny a cigar!
Yep, I was messing with cell.text to "clean up" a row cell-by-cell (removing pre- and post- carriage returns, for instance).
Again, thank you @scanny for your responsiveness to my questions!

Glad you got it working @philCryoport :)


page.select() doesn't work for multi-select using variable

This works fine, when I am using static values in page.select() for multi-select
// Select multiple desserts
const response = await page.goto('http://demo.imacros.net/Automate/TestForm1');
await page.select("#dessert", "chocolate cake", "apple pie");
await page.screenshot({path : 'form.png'});

This doesn't work when I am passing the desserts variable, I tried using join(), map() to make it comma separated string; also tried to use the array directly in select(). But none of them works.
// Select multiple desserts
const response = await page.goto('http://demo.imacros.net/Automate/TestForm1');
let desserts= request.desserts.map(x => `'${x}'`).join(',');
console.log(desserts);  // 'chocolate cake','apple pie'
await page.select("#dessert", desserts);
await page.screenshot({path : 'form.png'});

Here is example code -
https://chrome.agenty.com/#/!/examples/9-auto-fill-web-form.js

It seems, by docs, page.select() just needs separate arguments for each selected item - not a single string or array. You can use spread operator for this:
// const desserts = ['chocolate cake', 'apple pie'];
await page.select("#dessert", ...desserts);

@vsemozhetbyt thanks for the help. I've updated my example on github https://github.com/Agenty/puppeteer-examples/blob/master/function/9-auto-fill-web-form.js


Possible artifact special character issues

found in rleapp:
('*/ads_and_businesses/information_you've_submitted_to_advertisers.json'),

does the artifact allow for special char escape, or should we just use double quotes?

There shouldn't be a problem with backslash escaping it - it's just a string passed to a glob right? Or is this more a question of style?
s = 'test\'s'
s = '''test's'''
s = "test's"

I personally prefer double-quotes for strings everywhere, but most of the codebase is single, so my vote would be to triple-singles in this case...


Auto-fill folder references from requirements.txt in a PEP-508 compliant manner

Don't try and modify any git url from requirements.txt, it is too much of a moving target
and the whole thing is debated: https://github.com/pypa/pip/issues/5898

Do not auto-fill any dependency_links at all

For convenience, turn references such as -e .../path/to/folder to a PEP-508 compliant form

Codecov Report

Merging #71 (20287d0) into master (b1fef0d) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #71   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines         2157      2104   -53
=========================================
- Hits          2157      2104   -53

Impacted Files
Coverage Δ

setupmeta/model.py
100.00% <ø> (ø)

setupmeta/__init__.py
100.00% <100.00%> (ø)

setupmeta/commands.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b1fef0d...20287d0. Read the comment docs.


Submodule update

Does NeoBundle also update submodules? I am asking this because I am trying to install YCM, I have:
NeoBundle 'Valloric/YouCompleteMe', {
     \ 'build' : {
     \     'mac' : './install.sh --clang-completer --system-libclang --omnisharp-competer',
     \     'unix' : './install.sh --clang-completer --system-libclang --omnisharp-completer',
     \     'windows' : './install.sh --clang-completer --system-libclang --omnisharp-completer',
     \     'cygwin' : './install.sh --clang-completer --system-libclang --omnisharp-completer'
     \    }
     \ }

So problema 1 is: It doesn't run the build process I have set in the NeoBundle, but that's because the submodules do not exist. if I cd to YCM and run ./install.sh I get
λ wilykat YouCompleteMe → λ git master → ./install.sh --clang-completer
File /Users/ephexeve/.vim/bundle/YouCompleteMe/third_party/ycmd/build.sh doesn't exist; you probably forgot to run:
        git submodule update --init --recursive

So I wonder if NeoBundle takes care of the submodules, because in the YCM wiki they tell us to use Vundle, since I do not use Vundle I dunno either if Vundle runs submodules too.
Thanks.

:help g:neobundle#types#git#enable_submodule
Submodule feature is already supported.
I think you should reinstall YCM.

submodule-support doesn't seem to work for youcompleteme. After an update I had to manually run the git submodule command and run the installer. Did I miss something?

@jerri, yes, I had the same problem. @Shougo, any solution here? What seems to be the problem?

I don't know why.  neobundle uses git pull --recursive.
Any other solution here?

This problem is update problem instead of install problem?
I will check it.

git submodule update --init --recursive is already executed.
function! s:type.get_sync_command(bundle) "{{{
  if !executable(g:neobundle#types#git#command_path)
    return 'E: "git" command is not installed.'
  endif

  if !isdirectory(a:bundle.path)
    let cmd = 'clone'
    if g:neobundle#types#git#enable_submodule
      let cmd .= ' --recursive'
    endif

    let depth = get(a:bundle, 'type__depth',
          \ g:neobundle#types#git#clone_depth)
    if depth > 0 && a:bundle.rev == '' && a:bundle.uri !~ '^git@'
      let cmd .= ' --depth=' . depth
    endif

    let cmd .= printf(' %s "%s"', a:bundle.uri, a:bundle.path)
  else
    let cmd = g:neobundle#types#git#pull_command
    if g:neobundle#types#git#enable_submodule
      let shell = fnamemodify(split(&shell)[0], ':t')
      let and = (!neobundle#util#has_vimproc() && shell ==# 'fish') ?
            \ '; and ' : ' && '

      let cmd .= and . g:neobundle#types#git#command_path
            \ . ' submodule update --init --recursive'
    endif
  endif

  return g:neobundle#types#git#command_path . ' ' . cmd
endfunction"}}}

Please check the code.

@jerri @ephexeve Please upload minimal .vimrc less than 50 lines.
I will check the behavior.

Hmm, interesting, @Shougo:
let neobundle_readme=expand('~/.vim/bundle/neobundle.vim/README.md')

if !filereadable(neobundle_readme)
  echo "Installing NeoBundle..."
  echo ""
  silent !mkdir -p ~/.vim/bundle
  silent !git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim/
endif

call neobundle#begin(expand('~/.vim/bundle/'))
NeoBundleFetch 'Shougo/neobundle.vim'

NeoBundle 'Valloric/YouCompleteMe', {
     \ 'build' : {
     \     'mac' : './install.sh --clang-completer --system-libclang --omnisharp-competer',
     \     'unix' : './install.sh --clang-completer --system-libclang --omnisharp-completer',
     \     'windows' : './install.sh --clang-completer --system-libclang --omnisharp-completer',
     \     'cygwin' : './install.sh --clang-completer --system-libclang --omnisharp-completer'
     \    }
     \ }

" YCM
set completeopt-=preview
let g:ycm_global_ycm_extra_conf = "~/.ycm_extra_conf.py"
nnoremap <leader>jd :YcmCompleter GoTo<CR>

@ephexeve The issue is occurred in using by vimproc?   Please check it.
I tested YouCompleteMe installation by using vimproc, it works.

I tested it in non vimproc environment.  It works.
I think your environment problem.

Please check your git.  "git clone --recursive" is works?
You should try YouCompleteMe clone by command line.

I think it is https://github.com/ekg/freebayes/issues/63 problem.

I noticed I get this too on a completely fresh system installation. That is, fresh OS, fresh vim. I'm sure my environment is not polluted.

@svenstaro Your "git clone --recursive" works in command line?

Yes, albeit very slowly. Apparently neobundle just times it out at some point.

OK.  You should change g:neobundle#install_process_timeout value.

Oh! Thanks, I didn't notice this existed. Ok that explains it!

Ah,  yea, YouCompleteMe is extremely slow to download. Here's my way around it:
let g:neobundle#install_process_timeout = 1800  "YouCompleteMe is so slow
NeoBundle 'Valloric/YouCompleteMe', {
            \ 'build' : {
            \   'unix' : './install.sh'
            \ },
\ }

I think this solved it for me. But I admit I'm not entirely sure what I'm doing. :)

@Tarrasch: It worked for me, thanks!

Thanks for confirming @aymericbeaumet! :)

@Tarrasch, forgot to reply. Works like a charm, thanks.


Lack of max-length of inputs in Editor

Although it's said in the editor that a maximum length of a synopsis is 100 characters, there is no actual limit of the field. I consider this a bug.
Additionally, other fields also should have a max number of characters set. Otherwise, it breaks SE layout:

and looks bad in a splash screen (especially Authors)

The title should not ever be longer than 1 line so it doesn't cover potential expansions line. I think a list of languages should be moved next to expansions list as per example screenshot problem. The Synopsis should never cover Difficulty nor Duration.

T̠͟e͇͍͍̟x̯̝͔͞t̖̥̫͙͓̝̕ ͉͖i̘̦͇ṉ̩̤̫͔̹͜s͙̮͘e̫̰͓̱̥͙r̥̠̤͞ti͓͚o̭̬͓̟͢n̦̞̭̫̹̬ͅ ͕̞i̥͇̰s̢͕̣ ̪̹͙̫͉̲̤a̟l̦̟̦wá̗̫͕͎͙͍ý͓̤s̴ ͝a̶̮̱̟̫͙ ̯̩̦p̜̣r̗̤͉͝o̖͖̣̤̤̘̣̕b̹͓̞̬̲͕̺l̤͖̲̫e͎̟̤̹͝ͅm̀.̸̮̞̜̖ ͓͍̳̪̟̻͠Tḫ̶̣̤er̳̞̣̥̳e̥̖͎̖̻̼ ̨̻̜̤̻͎̰ͅi̻̖͍̮s͎̱̺̰͈͔̘ ̧̞͖̺̝͙̞͚n̶̩̺͓͎o̥̣̫̬ ̟̯e̜͕̯̮͇̦͡a̹̼̻͙̹s͍̩̞̯̻͖̫y̲̰̥͞ ҉̹͖̭̪͔w̪͘a̭y̧͚͈ ̙̤̥̯̯̹t͍̘̞̳͕̙o̜̹̲͔͡ ͝p͍̺̣̮͢re͎̼̪͉̭̳v͖̕eńt҉̝͈͓̩̪̮̙ ̜͉̜̞ͅa͔̻̠̼̣̻̭l̫̬̥̥͔l͙͇ ̝c̹͔̞̟͇i̩͎̗͇r̺̺̜̰͞c̝̗͎͘u͈͡m͓̻̫͇͔̜͞s̳̖͙ṭ͓̖̘̪͚̫͡a͖̹̪̮̟n̥̜͍̲̼̪̳͢c̺̱͖̪̳̘e̻̼̠̹͙͕s̠̳̼̹̭̻͢.͕̝͉̀ ͚
That said, we could just remove all text above 100 characters.
And then add and ellipsis (…) at the end

That should be fine :)

Yes we need to have something when text is too long.
Added the (...) after 100 characters.


textColor

How to set the color of each text？
Is there an exposed interface?

Axis.setTextColor
Axis.setTextSize
??

This worked for me since I made the X axis dynamic.
columnData.setAxisXBottom(new Axis(axisValues).setTextColor(Color.BLACK).setTextSize(12));
ps. setTextSize(); isnt working


[WIP] Experimenting with adding toast alerts

Something like this

What do you think @dancryer?
The orange one will actually be green (and should say Finished with errors), like it is elsewhere and they won't show if you are viewing the dashboard; the results for projects you are viewing won't show or the specific deployment you are viewing
i.e. if you are viewing /projects/1 you won't get an alert for any deployments for that project as you can see it in the list, and if you are viewing /deployment/1 you won't get an alert when that finishes, but you will for any others which belong to the same project

!(this)[https://s3.amazonaws.com/f.cl.ly/items/3B0m410b1H2s2z1s3m1F/Image 2015-10-18 at 11.19.02 a.m..png]


Support the union of types  as property in model definition in CADL

We need to support union of types for a property in model definition in CADL.
union MyNamedUnion {
  one: Model1,
  two: Model2,
}

model ModelWithSimpleUnionProperty {
  simpleUnion: int32 | string;
}

model ModelWithNamedUnionProperty {
  namedUnion: MyNamedUnion;
}

break task from https://github.com/Azure/autorest.csharp/issues/2936

We use confident-level to identify Union is a low confident type and forward back to protocol only. We will not implement union property.


Dont create parallel meta index inside the index

:notebook_with_decorative_cover: Description
See commit messages
:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions
Look at the whole chain for an overview, then commit by commit.

@dominiklohmann I went through all includes of meta_index.hpp

As an aside, shouldn't it really be vast/system/partition_synopsis.hpp?

I don't think so, this is a data structure and neither meta_index nor table_slice are in vast/system/.

@dominiklohmann I went through all includes of meta_index.hpp

As an aside, shouldn't it really be vast/system/partition_synopsis.hpp?

I don't think so, this is a data structure and neither meta_index nor table_slice are in vast/system/.

As an aside, shouldn't it really be vast/system/partition_synopsis.hpp?

I don't think so, this is a data structure and neither meta_index nor table_slice are in vast/system/.

Alright, fine by me.

As an aside, shouldn't it really be vast/system/partition_synopsis.hpp?

I don't think so, this is a data structure and neither meta_index nor table_slice are in vast/system/.

Alright, fine by me.


WSL Support

What would you like the app to enable you to do?
Can you please use WSL instead of Cygwin? WSL supports all Linux apps to run in windows without cross-compile and it's very simple.
Describe alternatives you've considered
for building on windows some Linux apps are needed. there is 2 alternatives
1 Cygwin: works in older versions of windows
2 WSL: completely painless and native

We have a practical issue with this that Google won't allow us to run WSL on our Windows laptops due to security concerns.  Otherwise this would be fantastic

I didn't know that google is so much conservative about this!
I found this discussion on security.stackexchange which may be informative
However , can others contribute and get outline running on WSL?
Do you approve and merge that ? @JonathanDCohen

It would be a hard sell to switch the dev workflow over to WSL from cygwin even if someone contributed a patch for the same reasons -- we can't maintain it!


Transforms are not being mapped properly

Needs test media and more information.
I am seeing problems with whack transforms when isolating a single layer.  The test case I'm looking at is text on a path, but I think the problem at least includes other kinds of text if not all transforms in the isolated context.

another watson bug: 3849215


usb: device_next: Rename usbd_contex to usbd_context

Add the missing "t" to struct usbd_contex. No functional changes.

Since you are doing a rename, did you consider usbd_ctx as an alternative? It's shorter, and ctx is a common abbreviation for context

Since you are doing a rename, did you consider usbd_ctx as an alternative? It's shorter, and ctx is a common abbreviation for context

_context { has 138 hits in Zephyr tree, while _ctx { has 95 hits. I prefer to use _ctx in the variable name and _context in the struct name to make things clear, but that's just a preference.


Updates all resources with latest autogenerated resources and enumera…

Updates all resources with scope/permissions changes.

Hi @jscalev, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Joseph Calev). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


audio clipping alert

To help determine if audio level needs to be reduced, I would like some visual clue that makes it easier to know when clipping has happened.
I think "time sense last clip" would help.  A small seconds counter at the top of the audio level display. that increments every second, clipping would reset it to 0.
When audio is loud, I may not be looking at the display.  a second or two later, I look, and I see the peek falling down, but I don't know if it actually clipped.   Seeing "2" would let me know "yes, it clipped 2 seconds ago."

We might add an Area that lights up and needs to be manually resetted by clicking on it. This is how other Audio-Tools handle this.

+1
On Sat, Aug 27, 2016 at 7:01 AM, Peter<EMAIL_ADDRESS>wrote:

We might add an Area that lights up and needs to be manually resetted by
clicking on it. This is how other Audio-Tools handle this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/voc/voctomix/issues/76#issuecomment-242913264, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABauTKP7QPkbOaTAr7DgR9hqNWR1hVJks5qkCc0gaJpZM4ImDzQ
.

--
Carl K


XDR not being decoded in lab V2  (parity issue with V1)

In the previous version of lab clicking on a base 64 encoded XDR value, would take the user to the decoded XDR page.
For example:
Go to “Horizon Endpoints” -> ledgers -> all ledgers -> select “Desc” (to get the latest ledgers)
Result:
In the JSON response, clicking on “header_xdr” does not do anything.
Expected result:
clicking on “header_xdr” (or the base 64 value), should navigate to XDR -> XDR to JSON -> the base 64 field and XDR type should be prefilled.

@MonsieurNicolas Could you please provide a screenshot of which header_xdr you mean? They are not clickable for me in Chrome or Firefox on Ubuntu in Lab v1.
https://github.com/user-attachments/assets/5621e920-7b3e-412c-bc6c-91a123ab0698

@MonsieurNicolas @quietbits I think this is a good to add for Horizon and RPC for sure.
For RPC, George has enabled response in JSON with this PR. We will align Lab once this feature goes live.  https://github.com/stellar/soroban-rpc/commit/b88b421672849cf431898bd331f69eb2fc4e5772

Looks like this was only partially fixed.
I see that RPC related endpoints still only shows text as raw base64 (not linking to the decoder), like:

get transactions
get transaction


Adding if statements for empty questions and names

Here is my full version of the exercise

 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.


Unable to test my charger using the demo server

Thanks for your work, I really like your demo server and I'm hoping to test my Orbis Combi charger at your demo server
But I can't connect my charger.
I have added this in my charger OCPP setup:
ws://ws.ocpp-css.com/ocpp/my_charger_name
BUT what port should I specify? I have tried with port 40 and 80 and 9220 but I cant connect?
Also after logging in at https://cs.ocpp-css.com/ocpp I'm unable to add a station.
I'm I doing something wrong?

Hello! Your EVVC4FA6B4B5C charging station has successfully connected to the system, but you are unable to see it as it is not linked to your account.
To associate the charging station with your account, you need to specify the account (40 characters) in the connection link.
The connection link should look like this:
ws://ws.cpp-css.com/ocpp/your_account/my_charger_name

Port: 80 for ws:// scheme
Port: 443 for wss:// scheme
Where "your_account" is your personal account in the system, which can be found in your personal account at https://css.ocpp-css.com.
Alternatively, you can provide me with your username in the system, and I will link the station manually.

Hello!
The station is added automatically when connected, there is no need to add it manually.
The network means the electrical network (private, public).
I have linked the Orbis charging station to your account, now it is available in your personal account.

Thanks - I can see it now and is connected. Thank you very much
Where do I find the area where I can test my charger by sending different
commands to it? Like the first screenshot in github?
Cheers
On Tue, Apr 25, 2023 at 4:32 PM Apostol Developer @.***>
wrote:

Hello!
The station is added automatically when connected, there is no need to add
it manually.
The network means the electrical network (private, public).
I have linked the Orbis charging station to your account, now it is
available in your personal account.
—
Reply to this email directly, view it on GitHub
https://github.com/apostoldevel/ocpp-cs/issues/8#issuecomment-1521896215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPQUJSGVO5VSPKQOR3LSSTXC7N7LANCNFSM6AAAAAAXFXUCOU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Where do I find the area where I can test my charger by sending different

https://cs.ocpp-css.com
Only there authorization by password. Therefore, install it in your personal account if you have registered under a Google account.
In addition: In the public network, the charging station will be available to all users (drivers) in the system. In a private network only for you.

Judging by the logs, everything worked out for you ;-) If so, please close the issue.

Yes it is partly working
So in short I can find my charger at
https://css.ocpp-css.com/crm
BUT
I can't figure out how to connect my charger so I can see it in
https://cs.ocpp-css.com/ocpp
I have tried using the link you provided in the first email in order to
establish a connection to https://cs.ocpp-css.com:
ws://ws.cpp-css.com/ocpp
http://ws.cpp-css.com/ocpp/your_account/my_charger_name
/4ca18c3a872f13eaxxxxxxetc60/EVVxxxxxxxx4B5C
http://ws.ocpp-css.com/ocpp/4ca18c3a872f13eaxxxxxxetc60/EVVxxxxxxxx4B5C
port 80
It does not connect ?
.
On Tue, Apr 25, 2023 at 5:26 PM Steen Pedersen @.***> wrote:

OK - I logged in at  https://cs.ocpp-css.com using the same name as in my
https://css.ocpp-css.com/crm/profile using my google account.
I changed the settings at my charger to using the same 40 character id
that I got from https://css.ocpp-css.com/crm/profile
So in the charger I have:
ws://ws.ocpp-css.com/ocpp/4ca18c3a872f13eaxxxxxxetc60/EVVxxxxxxxx4B5C
port 80
The charger indicates that it is connected using the above settings.
But there is no charger available in https://cs.ocpp-css.com  ?
On Tue, Apr 25, 2023 at 4:59 PM Apostol Developer <
@.***> wrote:

Where do I find the area where I can test my charger by sending
different
https://cs.ocpp-css.com
Only there authorization by password. Therefore, install it in your
personal account if you have registered under a Google account.
In addition: In the public network, the charging station will be
available to all users (drivers) in the system. In a private network only
for you.
—
Reply to this email directly, view it on GitHub
https://github.com/apostoldevel/ocpp-cs/issues/8#issuecomment-1521943488,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPQUJT6RAJEEYOZAXJBQLDXC7RFFANCNFSM6AAAAAAXFXUCOU
.
You are receiving this because you authored the thread.Message ID:
@.***>

To make the station appear here https://cs.ocpp-css.com it must be physically connected. It is now disabled. Not so long ago, the station was in touch, and I saw it on the list. Please connect the station so I can understand why you don't have access to it.

I don't know what you did - but now I can see it .....
I'm using:
ws://ws.ocpp-css.com/ocpp/4ca18c3a872f13ea2feb73ad3cca6273eb6d1a60/EVVC4FA6B4B5C
I will try to use your link - and report back

I don't see any problems with access, everything works :)

Yes it works - but not using this link:
ws//ws.cpp-css.com/ocpp/4ca18c3a872f13eaxxxxxetc60/EVVxxxxxxxx4B5C
The charger indicate that it is not able to connect. Can you see it now ?

Not at the moment. The charging point is offline.

Yep - so I need to use
ws://ws.ocpp-css.com/ocpp/4ca18c3a872f13ea2feb7xxxxeb6d1a60/EVVCxxxx4B5C
I don't know why ws//ws.cpp-css.com/ocpp/4ca18c3a872f13ea2feb7xxxxeb6d1a60/EVVCxxxx4B5C doesn't work.
Should I close this topic now?

Oh! Domain name cpp-css.com - this is an incorrect, apparently the translator distorted it.
Correct domain ocpp-css.com.
I connected the emulator to your account as an apology:

is it possible to see the log, so I can see the JSON string the server sends to the charger?

Yes, in OCPP Log. Or is he unavailable to you too?

Hello!
You can also use our API:
OCPP Log API

Thanks - do I have access to use that?

Yes, if you are familiar with Swagger. Click on the authorization button and enter your username and password from the OCPP CSS personal account.


Allow reserved but unworked jobs to be handled

We have been seeing a rare but persistent issue with jobs not being completed but also not being treated as failed, which means they don't show up as failed jobs in resque-web, can't be retried by resque-retry, etc. They are simply discarded. This is the result of investigating that issue.
Previously, a child receiving TERM would immediately raise an exception. If this happened during or after Resque.reserve but before the job started, the exception would not be handled like a job failure. As a result, resque-retry never sees the failure and the job is lost permanently. This results in a “Error reserving job” log message.
This changes the SIGTERM handler (copied from Resque) to check to see whether a job is currently running. If so, TermException is raised (the current behavior). If not, shutdown is called. If this is between Resque.reserve and performing the job, flow should very quickly reach perform_with_multi_job_forks. A check has been added there which, if shutdown has been triggered, will immediately fail it rather than running it. After this, an orderly shutdown will be performed by Resque.
A more complete solution for this would probably require rewriting parts of Resque itself to use LMOVE rather than LPOP, but this should bring the risk of job loss on par with vanilla Resque.
This PR has been tested in production with a service that was experiencing the job loss issue numerous times a day. The jobs are now correctly handled and no other changes have been observed.

@stulentsev any thoughts on this change? Thanks.

@zorab47 @mboeh apologies, this got buried fast in my inbox. Looking now.

@mboeh this looks great! Only one thing, could you add a matching test, for extra confidence?

@mboeh looks awesome, thanks!

released v0.5.4


Badges are not updated for codecov

https://img.shields.io/codecov/c/github/damianszczepanik/cucumber-reporting/master.svg says 60%
while https://codecov.io/gh/damianszczepanik/cucumber-reporting and https://codecov.io/gh/damianszczepanik/cucumber-reporting/branch/master/graph/badge.svg 70%

Shields caches the responses for 15 minutes. Could that be the problem?

If the problem persists, please ping this issue or reopen.

I know it's been a long time, but seems like I have a similar issue. In this repo, whenever development branch's coverage changes, its badge changes as well.
However, master coverage, whatever I do, does not change. It is stuck on 86%. It has been, maybe one or two weeks since it didn't change, but master branch changed a lot.

I happens also here, stuck on 66%. 😭

AFAIK nothing was ever done to address this. Sounds like this must be caused by something strange with their API?

Can anyone confirm whether they are still seeing this issue?
We recently refactored our Codecov service implementation and switched to using their API as part of that process.
If these issues have been resolved then I'd like to close this one.

The issue has been resolved for me.
On Mon, Mar 11, 2019, 04:01 Caleb Cartwright<EMAIL_ADDRESS>wrote:

Can anyone confirm whether they are still seeing this issue?
We recently refactored our Codecov service implementation
https://github.com/badges/shields/pull/3074 and switched to using their
API as part of that process.
If these issues have been resolved then I'd like to close this one.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/badges/shields/issues/703#issuecomment-471373000, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACSbbMBz-IA4PZjg0ONyCEOmfeY7gx4Zks5vVar5gaJpZM4IVtzw
.

Thanks @erayerdin, going to close this in that case

Hi Codecov developers, I think I've been having the same issue as @erayerdin. My badge of Codecov in the master branch hasn't been updated for a while even if my code coverage actually changed. I'm not entirely sure if I should do anything according to the refactored implementation of Codecov. Could you confirm if this is a solvable problem? Sorry if this is a naive question. Thanks!

Hi! Could you open a new issue, please?


Force to make some files in final-package use unix line ending

I made a distribution from source code on windows OS, but when I want to launch this on linux. I found there are some mistake for line break in the scripts. And then I found the settings for line ending in the binary.xml was not set obviously, so it is decided by the OS where run the maven command.
I think its better to set the line ending obviously for unix. because we mostly use linux system to deploy storm and, at the same time, this distribution will run well in the windows OS.

Hi Cluo.
This looks good. I checked, and there doesn't seem to be an issue running the powershell files with LF EOL, so I don't think there's a reason to keep them as CRLF.
Could you open an issue on https://issues.apache.org/jira and rename this PR and commit so it references the JIRA number? See for example https://github.com/apache/storm/pull/2248/commits.

Hi Srdo.
Thank you for your advice.
I create a issue on [https://issues.apache.org/jira/browse/STORM-2664]. And I will rename this PR later.

@cluo512 Could you add the issue number to the commit message? Then I think we're good to merge :)

@srdo The issue number have added.
Thanks for your advice again. I'm new about how to contribute.

Oh..check failed.
I looked the details. It seems that @HeartSaVioR  changed the CHANGELOG.md to DEVELOPER.md, so maven can't found this file.
Should I update the binary.xml to DEVELOPER.md?

@cluo512
Sorry we decided to get rid of CHANGELOG.md, but I forgot to remove it from distribution pom as well. I'll do the update and let you know. You can rebase after then.

@cluo512 Done. Please rebase against master. Thanks in advance.

@HeartSaVioR Get it, thanks.
I updated the code for my fork project just now.
but it seems that I do a merge not a rebase. Dose it matter?

Ok..Thanks!

+1


⚠ Turnos 24x7 has degraded performance

In 649c261, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 866 ms

Resolved: Turnos 24x7 performance has improved in c62ce34.