Support Needed for UITests and AutomationId on Tabs

Hello,
I am writing UITests using App Center for Android and iOS.  I am using FreshMVVM and the FreshTabbedNavigationContainer as the startup page and adding tabs to it.  I can set the AutomationId manually on controls within each ContentPage.  That is working fine.
But I was not able to find a way to set the AutomationId of each tab in the FreshTabbedNavigationContainer.  I need to be able to set the AutomationId so the UITest has visibility of the controls during testing so the test can tap on the Tab and proceed with the UI testing within the ContentPage inside the tab.  I tried setting the AutomationId on the ContentPage itself, but it did not work during the UITest.
Does anyone know of a short-term solution?  Or does this need to be a feature request?
Thanks,
Sunny

We were just looking at how to accomplish this and found that FreshMvvm already returns the Page object when calling the AddTab<> method. You can assign to the AutomationId property on that page and it will be used for the tab bar button on iOS.
var tabbedNavigation = new FreshTabbedNavigationContainer();             tabbedNavigation.AddTab<HomePageModel>("Home", "home.png").AutomationId = "NavTab0";
For Android it was a little bit trickier, but we just created a custom renderer to do this for us as we were using the app-compat tab bar. This isn't the cleanest but it works for now - not sure if FreshMvvm can make Android support any easier seeing as the default Xamarin TabbedPage doesn't setup the AutomationId either.

@drjaydenm Can you elaborate a bit on how you got the custom renderer to be recognized by the FreshTabbedNavigationContainer?


fix: sync package-lock with package

Sync package-lock.json with package.json so that npm ci works and new version can be released

I have read the CLA Document and I hereby sign the CLA


why calendar-class input-class have no effect

.pickerWrapperCss {
width: 100%;
height: 30px;
line-height: 30px;
border: solid 1px rgb(232, 232, 232);
}
.inputCss {
width: 100%;
text-align: right;
color: red;
}
.calendarCss {
width: 200px;
background: red;
}
<datePicker   calendar-class="calendarCss"    input-class="inputCss"   wrapper-class="pickerWrapperCss"> </datePicker>
the wrapper-class Normal display

the wrapper-class Normal display

They are probably being overridden.
This is really a css question - you can ask this on stackoverflow.

did anyone figure this out?

SOLVED!
The problem begins when you declare your style tag as scope. If you don´t use the scope attribute everything works.


error CS0006: Metadata file 'System.Configuration.dll' could not be found

Hi when cloning the UnityNLP folder into Packages, once I open Unity I get this error. Do you have any idea why this happens? Many thanks

hi there, it's resolved here: https://github.com/voxell-tech/UnityNLP/issues/4

basically use the other .Net, do not use the .Net 2.1

thank you!


Log stderr forking mode

Description

Log stderr forking mode
Motivation and Context
Stream stderr to logs for streaming fork mode
This mode is not expected to be used by any customers in
production, however we received a message from a customer who
had decided to use this mode.
They reported not being able to log to stderr, I was able to
reproduce the problem and have added bindLoggingPipe to
stderr as per the other modes in the of-watchdog.
We only recommend HTTP mode for production use.
How Has This Been Tested?
After testing with a simple Python program, the logging is
now available.
Test application:
#!/bin/python3

import sys

sys.stderr.write("Test\n")
sys.stderr.flush()

print("OK\n")

Test command:
port=8083 fprocess="python3 test.py" go run .

Before:
No specific logs other than:
2023/05/31 10:02:22 GET / - 200 - ContentLength: 4B (0.0171s)

After:
2023/05/31 10:02:22 Started logging: stderr from function.
2023/05/31 10:02:22 stderr: Test
2023/05/31 10:02:22 GET / - 200 - ContentLength: 4B (0.0171s)

Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@vkryzh Please take a look. Can you confirm that this unblocks your urgent issue?
As per my email, we only recommend python3-http or python3-http-debian for production, not the forking mode of classic watchdog or of-watchdog.
Is there a special reason that you adopted it instead?
Alex

/set reviewer: welteki

Thanks for taking a look @welteki

@vkryzh Please take a look. Can you confirm that this unblocks your urgent issue?
As per my email, we only recommend python3-http or python3-http-debian for production, not the forking mode of classic watchdog or of-watchdog.
Is there a special reason that you adopted it instead?
Alex

Yes, it is. Thank you. We will check HTTP mode for our apps, thanks for pointing this out. Will get back as soon we will sort it out.

@vkryzh
Please see:
https://github.com/openfaas/of-watchdog/releases/tag/0.9.12
You can switch to it when the build is completed: https://github.com/openfaas/of-watchdog/actions/runs/5131471379


Disallow body in HEAD, GET, TRACE

Expected Behavior / New Feature
Downstream HEAD, GET & TRACE requests should not allow a request body.
Actual Behavior / Motivation for New Feature
If you mistakenly send a request body on HEAD, GET, TRACE requests they forward the body downstream.
More importantly if you map an upstream POST, PUT, etc with a request body to a downstream method that should not support a request body, the body is still sent.
Steps to Reproduce the Problem

Configure an upstream POST to a downstream GET
Tests in the https://github.com/ThreeMammals/Ocelot/pull/1433 PR fail in the current develop branch

Specifications

Version: 17.0.0

The issue has been accepted due to ready PR #1433

#1433

I don't agree, you can put a body in a get request, it's not recommended, but it's possible.
Ocelot must remain open to this kind of "exotic" case.

@RaynaldM commented on Aug 24

Yeah, makes sense. But I believe Ocelot could be more flexible: allowing/disallowing this feature.
We can provide an option to manage this "body" feature to follow standards.
By default Ocelot will forward request "as-is" (with bodies). For some routes or hosts we can enable feature to follow web standards (this feature request), ignoring bodies based on web method type.

P.S. To @abriening
We can include OPTIONS web method to your list. 😉

@abriening commented on Feb 8, 2021

We can include OPTIONS web method to your list. 😉

I was going off of the W3C http 1.1 spec. It seems silent on whether OPTIONS must not have content. RFC 2616 mentions Content-Type headers required if there is content. At some point there was an expectation that OPTIONS requests may have content. I haven't looked at this code in three years, I'll have to dig into it to remember what I was trying to do. But I think it had more to do with mismatched upstream and downstream http methods and having sane expectations of what would happen in those scenarios.

@RaynaldM commented on Aug 24

Taking into consideration current discussion results, it seems we cannot accept this issue. And we have to close linked PR...
I agree, Ocelot should behave as proxy: if there is body then Ocelot forwards it. It should not analyze the type of the verb at all. Ocelot should not ignore bodies or swallow them based on web method.
That's how to be a proxy, not a filter or transformer, assembler.


Turkish character issue

Turkish characters are not work  I downloaded using the application

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Context

Your Environment

Tech
Version

app version
2

OS
High Siearra

etc

i think problem caption-core iconv convert subtitle files..

Thanks @burakereno, can you give me an example of your search query? What show did you search for when you encountered this problem?

thanks @vernondegoede , I tried Shameless and Dunkirk. The same problem was appear but when ı manually downloaded on the website, Turkish character problem was disappear. The old version was work fine.

@burakereno we're working on a fix that will be released in a couple of days. To test it properly can you please send me the specific subtitle file downloaded manually from the source website?
Thanks.

@gielcobben first of all thanks for be interested. I downloaded subtitles for Dunkirk and Shameless last season from this site http://www.turkcealtyazi.org/sub/693454/shameless.html
Work fine.

Unfortunately, this bug hasn't been fixed (yet). We tried passing the encoding to caption-core but Node supports only a few encodings. We need to find a different way to handle unknown encodings.
List of supported encodings: https://stackoverflow.com/questions/14551608/list-of-encodings-that-node-js-supports

if you do the encoding as utf8, the problem will be fixed.

Guys, please fix this issue. I use Caption every day :)

Hi i still this issue is not fixed. I use it for Greek subs

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @anastasiarods, @0xMouiz, @ThahiRTR, @oswaldb22, @ochi51, @jonlerner, @avenbreaks, @ajayesivan, @Sulejman, @sikyaNQ, @TotemaT, @gutenye, @rajapattanayak, @huanghaoyun, @FleurA, @leonlo, @eyexx, @artem-vovchenko01, @colekennelly1, @pleft, @figonzal1, @xwartz, @shayanb, @0xisk, @illuz, @miqideliwu, @gfZeng, @Dobrokhvalov, @waterzeong, @ichelsearay, @AtlantisPleb, @a1300, @HakkerSka, @kmrk, @nakeiven, @dhl, @hhutch, @apple-juice, @daijapan, @dschiavu, @zbdxwl, @foreseaz, @ActivateLLC, @andreibojor, @dbarobin, @ygun, @pyankoff, @bveliqi, @seth100, @giorgionetg

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @


Make MOTD configurable

Problem:
"Message of the day" will be retrieved via CURL requests when the keydb-server starts . However, this CURL request will introduce some delays when the internet access is blocked in that environment. delay might vary based on CURL timeout.
Solution:
We can make this "Message of the day" as configurable in keydb.conf. KeyDB-server will not retrieve "Message of the day" when the parameter set to no  ( "enable-motd no")

Merged. Don’t worry about test flakiness.

Merged. Don’t worry about test flakiness. Thanks so much for the contribution!

Thanks John for accepting my contribution.
Even though you merged my PR, I don't see those changes in unstable branch. Will it take some time to reflect it?


feat: Add ticket list view

Create TicketRepository and move ticket specific methods to it
Add Ticket MVP components
Create ticket layout
Make HeaderViewHolder common
Add padding style for items

Fixes #351

@mejariamol Please review last commit

@mejariamol Please review


expand: remove crash! macro

Related issue: #5487
Removes use of crash! macro in expand

Thanks for your PR :)


Add Bison 2D 3D examples

closes #236

Job VTB Documentation on 87d283f wanted to post the following:
View the site here
This comment will be updated on new commits.

Thanks for the contribution!


Add  the used Java version to welcome information of sbt

,Scala gives:

sbt console gives

amm gives

Here's my PR for this - https://github.com/sbt/sbt/pull/5579


New Debug APIs

Description
Some, likely teku specific, APIs and/or tools to aid debugging post-merge.  These will need to be split out to other tickets and thought through a bit more.
Things to make it easier to map CL and EL blocks:

Tool to take a timestamp from an EL block and calculate the slot it was for.

Then look up all blocks in that slot to find which one it actually came from (it might be a non-canonical block)

API to get just the execution root for a block
API to get just the execution payload for a block

I think we're managing fine without these - they're reasonably easy to do with the existing apis.


Implement micro op fussion in decode stage.

In the decode stage, we might find several pairs of uops that can be merged into one instruction to increase performance. Since this optimization is common in modern high-performance CPUs, we can add this feature for users to model the performance gain.

Oh, absolutely!
The challenge here is -- can you build a small fusion framework in Olympia that allows a user of the model to experiment with configurable combinations?  In other words -- do not hard-code the pairings in the simulator, set up a framework that is runtime programmable via YAML or JSON to identify pairings.  That'd be really cool and very powerful.

@klingaard Is there any support for this in mavis? I saw a morph instruction function.

@klingaard maybe we can add those configure into small_core.yaml ?

Is there any support for this in mavis? I saw a morph instruction function.

Yes, and you're correct, it's related to the morph function call.  I'm not a Mavis expert (@dbmurrell is the original author), but if you look at https://github.com/sparcians/mavis/blob/4f3fef891f9ddc5c371c27500d02596f21ea6fc8/test/main.cpp#L446 you can see an example of how you can morph an existing instruction into a fused one.   I think the process is:

Identify a pairing (within a decode group or across [that's tricky])
Morph the first instruction into the fused "new" operation
No-op the second (force it to go directly to the ROB)

maybe we can add those configure into small_core.yaml

I think that's reasonable, but you might run into limitations with YAML to properly identify pairings.  Dunno until there's a design in place for how you want to do it.  Suggestion: Might want to specify a different language (an XML derivative with a DOM) and reference that:
top.cpu.core0.extension.core_extensions:
    decode_fusions: "fusion_pairs.xml"

My suggestion for this entire effort: move this to a discussion and create a design document.  Start with a use case, specifically, which pairs will you initially be fusing?  For those pairs, what are the constraints?
For example, the first instruction must be an add followed by a branch AND the add's RD field must be the same as the branch's RS2 field... etc.
From there, you can help you determine the "language" you want to build to specify the pairings -- and how a generic fuser will convert that into runtime code...

So @jeffnye-gh has been looking at this.   Discussion: https://github.com/riscv-software-src/riscv-perf-model/discussions/121
as well as first PR: #135

I believe this can be closed now. Support for fusion is available through the FSL API and FusionDecoder.cpp


CPU Profiling: Unexpected end of JSON input

Type: Bug

Spin up a js process you can debug
Use console.profile()
Try open the .cpuprofile generated

Expected: I can see a window with the information I see here: https://code.visualstudio.com/docs/nodejs/profiling#_analyzing-a-profile
Actual: I get Unexpected end of JSON input
NOTES:
I can open the file ok using chrome
Using the Record button seems to work fine
Seems to be related to this: https://github.com/microsoft/vscode/issues/148956
VS Code version: Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:47:18.476Z)
OS version: Linux x64 5.15.0-56-generic snap
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 9 3900X 12-Core Processor (24 x 2200)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: disabled_off

Load (avg)
0, 0, 0

Memory (System)
31.27GB (22.26GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id f24231db-955a-4bb8-a229-d037dad599a4

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (38)

Extension
Author (truncated)
Version

cppincludeguard
aki
1.6.0

file-properties-viewer
bru
1.0.0

vscode-eslint
dba
2.2.6

gitlens
eam
13.1.1

prettier-vscode
esb
9.10.3

go
gol
0.36.0

cloudcode
goo
1.21.0

vscode-test-explorer
hbe
2.21.1

tabsanity
jed
0.0.11

cmake-language-support-vscode
jos
0.0.7

vscode-codemetrics
kis
1.24.0

vscode-catch2-test-adapter
mat
3.0.0

vscode-language-babel
mgm
0.0.36

git-graph
mhu
1.30.0

vscode-docker
ms-
1.23.2

vscode-dotnet-runtime
ms-
1.6.0

playwright
ms-
1.0.1

isort
ms-
2022.8.0

python
ms-
2022.20.1

vscode-pylance
ms-
2022.12.20

jupyter
ms-
2022.11.1003412109

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.12

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.266.1

cmake-tools
ms-
1.12.27

cpptools
ms-
1.13.7

test-adapter-converter
ms-
0.1.6

vscode-js-profile-flame
ms-
1.0.5

vscode-yaml
red
1.10.1

pdf
tom
1.2.1

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.6

vscodeintellicode
Vis
1.2.29

vscode-icons
vsc
12.0.1

volar
Vue
1.0.13

vscode-proto3
zxh
0.5.5

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627cf:30244335
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vscaat:30438848
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyonecf:30548226
pyindex848cf:30577861
nodejswelcome1:30587005
3biah626:30602489
gswce1:30612156
3d0df643:30613357
dbltrim-noruby:30604474
f6dab269:30613381
fim-prod:30623723

Can you share the resulting .cpuprofile file?

I got the same error but I think it's due to trying to open the profile via the diff editor. If I open it via the explorer it displays fine.
When I click on it via the Source Control Panel:

Clicking "Try Again":

Clicking Ok closes the view again to display the view from the 1st screenshot.
Selecting the file via the Explorer works fine:

The only reason why I tried to open it via the Source Control Panel was that I didn't know where it would put the profile and I didn't want to search it in the Explorer. Instead I went to the Source Control Panel, since it will prominently show up as it's untracked.

Yea, that's tracked in https://github.com/microsoft/vscode/issues/148956

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


[feature] Add chars count to comments [OSF-8870]

Purpose
Add (increasing) counter to comments
Changes

Update max length to 1000 chars
Generalize editableHTML custom binding
Add character count functionality

Ticket
OSF-8870
After

##with tooltip

@fabmiz Conflicts


Add pipeline selection in the customLLM script

I am still relatively new to the LLM world. I am trying to build a Q/A chatbot based on Vicuna's 13B 4-bit quantized model.
Link below from huggingface
eachadea/ggml-vicuna-13b-1.1
https://huggingface.co/eachadea/ggml-vicuna-13b-1.1/tree/main
Using llama_index, llama-cpp-python and also langchain module.
After following the example in the examples/high_level_api/langchain_custom_llm.py script, how do I add the ability to pipeline the LLM ?
In the llama_index documentation, there is a section where it mentions the ability to use a custom LLM Model with llama_index.
https://gpt-index.readthedocs.io/en/latest/how_to/customization/custom_llms.html
How do I incorporated this functionally  from llama_index to the following codeblock ?
   pipeline = pipeline("text-generation", model=model_name, device="cuda:0", model_kwargs={"torch_dtype":torch.bfloat16})
class LlamaLLM(LLM):
    model_path: str
    llm: Llama

    @property
    def _llm_type(self) -> str:
        return "llama-cpp-python"

    def __init__(self, model_path: str, **kwargs: Any):
        model_path = model_path
        llm = Llama(model_path=model_path)
        super().__init__(model_path=model_path, llm=llm, **kwargs)

    def _call(self, prompt: str, stop: Optional[List[str]] = None) -> str:
        response = self.llm(prompt, stop=stop or [])
        return response["choices"][0]["text"]

    @property
    def _identifying_params(self) -> Mapping[str, Any]:
        return {"model_path": self.model_path}

any progress???
@abetlen   really hope you could help out,thanks!!

@thomas101rcx @shengkaixuan I believe pipeline is specific to hugginface transformers which the Llama class is not. However if you just want to use this inside of llama index or through langchain it's officially supported here you don't need a CustomLLM implementation.
Hope this helps

@abetlen hi. I use llama-cpp-python in llama-index as follows:
from langchain.llms import LlamaCpp
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from llama_index import SimpleDirectoryReader, GPTListIndex, PromptHelper, load_index_from_storage, StorageContext
from llama_index import LLMPredictor, ServiceContext

# define prompt helper
max_input_size = 2048
# set number of output tokens
num_output = 256
# set maximum chunk overlap
max_chunk_overlap = 20
prompt_helper = PromptHelper(max_input_size, num_output, max_chunk_overlap)

# Callbacks support token-wise streaming
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
# Verbose is required to pass to the callback manager

# Make sure the model path is correct for your system!
llama = LlamaCpp(
    model_path="./ggml-model-q4_0.bin",
    callback_manager=callback_manager,
    verbose=False,
    max_tokens=256,
    n_ctx=1024,
    n_batch=256,
)

llm_predictor = LLMPredictor(llm=llama)
service_context = ServiceContext.from_defaults(llm_predictor=llm_predictor, prompt_helper=prompt_helper)

# Load the your data
documents = SimpleDirectoryReader('./docs').load_data()
index = GPTListIndex.from_documents(documents, service_context=service_context)
index.storage_context.persist(persist_dir="./index/")
# storage_context = StorageContext.from_defaults(persist_dir="./index/")
# index = load_index_from_storage(storage_context, service_context=service_context)

# Query and print response
query_engine = index.as_query_engine()
response = query_engine.query("<my_query>")
print(response)

But I have a problem with settings of llamacpp and llamaindex. I'm new to NLP, could you tell me which parameters are best configured for fast indexing of any files of any size and a quick response? Now the response is generated too slowly and ends with this: Llama.generate: prefix-match hit


Cross fade patterns

Need a way to blend between patterns -
Probably by blending between WLED patterns and external patterns

Implemented the ability to crossfade between the internal buffer and WLED's output. That's probably enough

Solved this by crossfading internal patterns with WLED patterns. WLED still can't blend with WLED, but that's okay - it just doesn't try to do that


In g1finder.sh, TARGET argument is useless in d-mode

I should rearrange the parsing of the arguments...

Solved by commit 11864aa726fc5a6f6867aea28a6c2ead62eb3350


Add public API to enable "debug" logs of Console handler

JIRA: EE-1343

Note that the code coverage is low because tests on withSpiedLogger lives in publisher-sdk module because it needs access to the ConsoleHandler which is internal. It is nitpicking, but I added EE-1370 to try to get the true coverage on test-utils module.


Update index.yml

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@tiburd Please  merge this PR. Thanks


Fluid pattern v2

New fluid pattern
https://carbondesignsystem-git-fork-aagonza-21ee91-carbon-design-system.vercel.app/patterns/fluid-variants/

Dev - How do I add this new page to the left nav? I always forget. And the name of the URL should now be fluid-styles but it hasn't seemed to update.

Dev - How do I add this new page to the left nav? I always forget. And the name of the URL should now be fluid-styles but it hasn't seemed to update.

@aagonzales I see the page in the sidenav and url, do you still need dev help with this?

@francinelucca oh nice! I guess it just hadn't come through in the preview yet.


mistake in first example

The regular expression pattern is the following:
(\w+)\s(\1)\W

There is no \W in the example.

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

ID: 5d124987-d837-b655-261e-e0871effcb7d
Version Independent ID: 492a3233-0049-0678-1a4e-aed850e14bf4
Content: Grouping Constructs in Regular Expressions
Content Source: docs/standard/base-types/grouping-constructs-in-regular-expressions.md
Product: dotnet-fundamentals
GitHub Login: @adegeo
Microsoft Alias: adegeo

Thank you for pointing that out, I'll touch up the doc real fast.


Improve support of WPF projects

Workaround for #404 till the dependent bugs we have open against NuGet are resolved.
This workaround is only complete with two xml snippets added to a WPF project:
Add this just under the opening <Project> tag:
  <Import Project="$(BaseIntermediateOutputPath)$(_TargetAssemblyProjectName)$(MSBuildProjectExtension).nuget.g.props"
          Condition=" '$(_TargetAssemblyProjectName)' != '' and '$(ImportProjectExtensionProps)' != 'false' and exists('$(BaseIntermediateOutputPath)$(_TargetAssemblyProjectName)$(MSBuildProjectExtension).nuget.g.props')" />

Add this just above the closing </Project> tag:
  <Import Project="$(BaseIntermediateOutputPath)$(_TargetAssemblyProjectName)$(MSBuildProjectExtension).nuget.g.targets"
          Condition=" '$(_TargetAssemblyProjectName)' != '' and '$(ImportProjectExtensionProps)' != 'false' and exists('$(BaseIntermediateOutputPath)$(_TargetAssemblyProjectName)$(MSBuildProjectExtension).nuget.g.targets')" />

This is tested to work both for .NET Framework WPF projects and .NET Core WPF projects.

/azp run


Relicense under dual MIT/Apache-2.0

Why?
The MIT license requires reproducing countless copies of the same copyright
header with different names in the copyright field, for every MIT library in
use. The Apache license does not have this drawback, and has protections from
patent trolls and an explicit contribution licensing clause. However, the
Apache license is incompatible with GPLv2. This is why Rust is dual-licensed as
MIT/Apache (the "primary" license being Apache, MIT only for GPLv2 compat), and
doing so would be wise for this project. This also makes this crate suitable
for inclusion in the Rust standard distribution and other project using dual
MIT/Apache.
How?
To do this, get explicit approval from each contributor of copyrightable work
(as not all contributions qualify for copyright) and then add the following to
your README:
## License

Licensed under either of
 * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you shall be dual licensed as above, without any
additional terms or conditions.

and in your license headers, use the following boilerplate (based on that used in Rust):
// Copyright (c) 2015 t developers
// Licensed under the Apache License, Version 2.0
// <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT
// license <LICENSE-MIT or http://opensource.org/licenses/MIT>,
// at your option. All files in the project carrying such
// notice may not be copied, modified, or distributed except
// according to those terms.

And don't forget to update the license metadata in your Cargo.toml!
Contributor checkoff

[ ] @shepmaster
[ ] @carols10cents
[ ] @flying-sheep
[ ] @Boddlnagg
[ ] @vky
[ ] @messense

I approve of my contributions being relicensed should you choose to do so.

You have my contributions, do with them as you wish. (<--- approval given)

+1
I approve.

i consent

I consent.

I approve.


Less restrictive parsing

Describe the feature
Would be great to have ability to parse some declarations in any context.

allowImportExportEverywhere: By default, import and export declarations can only appear at a program's top level. Setting this option to true allows them anywhere where a statement is allowed.
allowAwaitOutsideFunction: By default, await use is only allowed inside of an async function or, when the topLevelAwait plugin is enabled, in the top-level scope of modules. Set this to true to also accept it in the top-level scope of scripts. This option is discouraged in favor of topLevelAwait plugin.

allowReturnOutsideFunction: By default, a return statement at the top level raises an error. Set this to true to accept such code.

(c) Babel

Right now I see:
 × Return statement is not allowed here
   ╭────
 1 │ return undefined
   · ────────────────
   ╰────

Caused by:
    0: error was recoverable, but proceeding would result in wrong codegen
    1: Syntax Error
    at Compiler.parseSync (/Users/coderaiser/putout/node_modules/@swc/core/index.js:74:36)

Babel plugin or link to the feature description
https://babeljs.io/docs/en/babel-parser#docsNav
Additional context
This is very useful for 🐊Putout code transformer, since it uses pattern based search using 🦎PutoutScript.
Also I'm working on swc-to-babel which will help to use Babel tooling with AST received from SWC.

FYI, swc to bqbel is already implemented using rust code

@kdy1 could you please tell me how can I use it from JavaScript?

You would have to add an api to @swc/core or create a node binding

Let's add an api to @wsc/core, that would be awesome :)!

I'm curious about general usecase for this feature : do we know context when / why babel introduced this? Most of options sounds like edgy case handling that won't be needed in general parse processing.

My question for context is, historical context why babel have those options. I do understand this request itself's reasoning.
The reason I'm asking context is how common is this case for the parser that demands swc's core need to expose this as public interface, other than usecase of putout in the request.

Any AST processing, when you parse code to a node, not the whole file.

We don't have any immediate plan / priority to support this. If there's an update, we'll update issue otherwise it means there's no specific updates.

This appears to be in the latest version, can someone check and let us know?

@mattfysh I'll accept PRs

@kdy1 I mean the original question has been partially resolved, as allowReturnOutsideFunction appears to work now.
however i don't believe allowImportExportEverywhere or allowAwaitOutsideFunction are supported yet


Chapter 16 exercise 9

The program couldn't handle the input at the end of ( ), and result in breakpoint exception.

Sorry, I somehow never saw this issue. Where and when does this happen?

like this

@

Sorry, I somehow never saw this issue. Where and when does this happen?

like this


AudioRecorder expose requestRecordPermission

It would be nice if the AudioRecorder object found in Audio.ios.js would expose the native requestRecordPermission method so we can easily request microphone access on application load.
See this for more info on the native requestRecordPermission method:
https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVAudioSession_ClassReference/#//apple_ref/doc/uid/TP40008240-CH1-SW45
Thanks!

And possibly expose the recordPermission status method as well.

And possibly expose the recordPermission status method as well.

This sounds reasonable - could you work on a pull request for it?

Closing per email discussion about submitting a pull request.


Provide pre-compiled wheels for all dependencies for all platforms

[ ] pyrfr
[ ] ConfigSpace
[ ] pynisher ?
[ ] smac ?

I opened this issue because people have issues installing the pyrfr recently:

https://github.com/automl/random_forest_run/issues/67
https://github.com/automl/random_forest_run/issues/68

I don't think the python packages should be bundled in the wheel because pip should be able to handle them. Bundling them will just cause the package to be unnecessarily big.
The win installation error was caused by swig and most of my build failure had to do with swig as well. Though I don't think it's necessary to bundle either because the build failure mostly caused by badly written code on pyrfr, and the win installation error was because pyrfr could not find the installed swig. It should have with more standard installation method like through anaconda or visual studio build tools.


Progress tracking for misc tickets broken

Reported by texec on 3 Nov 2011 18:03 UTC
Tickets in the state misc->open and misc->inprogress both have the same progress - 16%. Looks like something is broken there.

Modified by texec on 3 Nov 2011 18:03 UTC

Comment by texec on 15 Nov 2011 00:02 UTC
The real problem was that these tickets didn't have a fahrplan_id, doesn't belong to corelib.


question for tokenization

Do you add the wordpiece tokenization in the process? In the example, your input data is already tokenized, so I am wondering about this.

Yes. Wordpiece tokenization should work fine.

Thanks!


Is it possible to enhance the indent for "UVM_INFO" like sentences?

Hi WeiChung,
Thanks for you SystemVerilog plugins, it helps me a lot in implenting verification environment.
I am writing to ask for one enhancement of this plugins for uvm_info sentences.
If we start one "if" block, the third lines will deindent automically if there is ':' in the seconde line. The example is as below:

I am very happy witht the implement now that the third line will deindent. However, if the sencond line is a uvm Macro, which has no ':', the third line will not deindent. Examples:

I wondering is it possible to add the support for such scenarios? The scenarios could be as following also:

I understand that process all the Macros without ':' could be very difficult as it may need verilog syntax compiler help. However, if we limit the macros of the second line to uvm_info/uvm_error/uvm_warning/uvm_fatal, is it possible to support the de-indent automically at third line?
Thanks & Regards
Yuhao

Hi Yuhao,
I am glad to know this plugin is helpful to you.
Your assumption is correct. The uvm_info is treated as a open statement that means is not completed one. Therefore the indent should be kept.
If you look into the indent file, you will find there are many rules to deal the exceptions. The rules are added one by one when I found an exception in the bench that may be from my colleagues.
I can try to fix it as your expectation in my leisure time. (I am busy in my full-time job now.)
So far, I will recommend use a begin-end pair the enclosed the "if" statement to keep indent correctly. It should be worked no matter the statement is open or not.
Thanks,
WeiChung

Hi WeiChung,
Yes, using "begin ... end" is a nice workaround for the moment.
I am vert happy to bring this reuqirement into your view, and thank you for considering of enhancing it as one choice. I do agree that it's a slight feature and should do with low priority.
By they way, since system-verilog has no IDE, vim with the vim-SystemVerilog seems one of the best solution for the moment, we really appriciate your work with this plugin.
Thanks & Regards
Yuhao


Consider converting the digit sequences in the database from strings to numbers for better performance and less memory usage

A quick research showed this would limit the maximum word length to 18, which is unacceptable.


Added translation to Brazil pt-br

Signed-off-by: Alessandro Barreto<EMAIL_ADDRESS>folder created values-pt, with the translation done

Thanks


Add Backplane Installation

Signed-off-by: Zachary Kayyali<EMAIL_ADDRESS>
Description of the change: Allows for standard installation of backplane-operator
Motivation for the change:  Allows for standard installation of backplane-operator

This seems to be localized to backplane operations, as I'm not a deploy repo expert.  /shrug
/lgtm


Create Bioconda Package for phantompeakqualtools

Related to https://github.com/nf-core/chipseq/issues/2

Isn't this one working fine too?
https://github.com/hms-dbmi/spp
or do we need this (modified version?):
https://github.com/kundajelab/phantompeakqualtools
The "run_SPP.R" script could also go to the bin folder and we could simply use the CRAN version of the package then?
@ewels @tiagochst What do you think?
Just wanted to clarify this before starting packaging work!

Ok cool, this is coming together...

SPP is already on bioconda: https://bioconda.github.io/recipes/r-spp/README.html

This is the same version that's already packaged in bioconda

Phantompeakqualtools is the second link you posted. This is totally stand-alone to SPP.

It's the latter that I thought that we would have to package on bioconda. Whilst it would arguably still be a nice thing to do for the community, I hadn't realised that it really is just a single R script. As you say, it would be trivial to just drop this into the pipeline bin directory. Maybe we should just stick with this.
The only thing that makes me nervous is the bit you mention on the phantompeakqualtools readme:

spp_1.14.tar.gz : modified SPP peak-caller package (The original SPP-peak caller package was written by Peter Kharchenko [2], https://github.com/hms-dbmi/spp)

The term modified worried me a bit. But I just downloaded it and it has the same md5 as the v1.14 release of SPP on your first link. So I don't think it actually is modified in the phantompeakqualtools repo.
In summary
Let's just stick run_SPP.R into the pipeline bin directory and describe what we did on the readme. We should probably pin the bioconda SPP version to 1.14 so that it ties in with the phantompeakqualtools release.
Now or another time we could package this script onto bioconda, but I don't think that it really adds anything for us here.

Exactly what worried me a bit too! But I'd also say we just place the run_SPP.R in bin of the pipeline and use the bioconda package that is already available and then just test if things work? That would be probably the cleanest thing?
Regarding the genomes for ngsplot, I'll work on this asap in #15.

This has been done on the bioconda branch. Closing this now :-)


Rename settings to config

Coverage remained the same at 100.0% when pulling 0d8aaa7b31b3958e77fcbf690f9a19aa0997fbdb on akkie:settings_to_config into d8c04da009f0ed0584d4c3c616d0776dab6a94ea on minutemen:master.

Coverage remained the same at 100.0% when pulling 0d8aaa7b31b3958e77fcbf690f9a19aa0997fbdb on akkie:settings_to_config into d8c04da009f0ed0584d4c3c616d0776dab6a94ea on minutemen:master.

Coverage remained the same at 100.0% when pulling 0d8aaa7b31b3958e77fcbf690f9a19aa0997fbdb on akkie:settings_to_config into d8c04da009f0ed0584d4c3c616d0776dab6a94ea on minutemen:master.


[FEAT] Enable creating additional contexts for submissions

As per the community meeting, it seems that if there are more than 5 contexts in a submission they will be taken into account, however if there are more than 3 QNA pairs per context, those will be ignored. As such we need to enable users to add more than 5 contexts.

Hello, I tried to solve the issue.
This is what I did:
Modified the KnowledgeForm component to allow users to add more than 5 seed examples (contexts). Added a button to add new seed examples and updated the validation logic to accommodate this change.
You can review changes in this commit: https://github.com/jjyutm4532/instructlab-ui-381/commit/fa409ea430f4592ecba5539a116b087a45ff87a2.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


Pylance reports "Illegal type annotation" error for dict with complex Literal types

When using complex Literal types to define the key-value types of a dictionary, Pylance reports an "Illegal type annotation" error if the Literal types are not defined as separate type aliases.
Environment data

Language Server version: Pylance language server 2023.4.20 (pyright 64a33975)
OS and version: macOS Monterey 12.6 (21G115)
Python version (& distribution if applicable, e.g. Anaconda): 3.11.2 (installed via homebrew)

Code Snippet

from typing import Literal

Foo, Bar = int, str
d: dict[Foo, Bar] = {1: "a", 2: "b"}

GoodFoo = Literal[1, 2]
GoodBar = Literal["a", "b"]
good_d: dict[GoodFoo, GoodBar] = {1: "a", 2: "b"}

SameFoo, SameBar = Literal[1, 2], Literal["a", "b"]
same_d: dict[SameFoo, SameBar] = {1: "a", 2: "b"}
# Illegal type annotation: variable not allowed unless it is a type alias Pylance reportGeneralTypeIssues

Repro Steps

I offer two options but there might be better ones:

use correct type definition instead of the last one in the file.
(compromise) report error when user reassigns a type definition

Expected behavior
No error on assigning multiple type definitions with tuple destructuring
Actual behavior
Pylance reported an error
Logs
log.txt (same as #4260)

This behavior is correct. You cannot use variables in type annotations. In your example, SameFoo and SameBar are variables.
You are allowed to use type aliases in type annotations. Python doesn't (yet) have a dedicated syntax for declaring type annotations, as most languages do. Traditionally, a type alias is defined using a simple assignment statement where the LHS is a simple name and the RHS is an expression that is a legal type annotation. An example is:
SameBar = Literal["a", "b"]

Note that tuple-based assignments are not legal type alias declarations, which is why the symbols SameFoo and SameBar in your code sample above are considered regular variables and not type aliases.
PEP 613 introduced the notion of an "explicit type alias" using the symbol typing.TypeAlias.
SameBar: TypeAlias = Literal["a", "b"]

PEP 695, which was just accepted by the Python Steering Council for inclusion in Python 3.12, introduces a dedicated syntax for declaring type aliases. It takes the form:
type SameBar = Literal["a", "b"]

Pylance already has support for PEP 695, but it is obviously not yet supported by the Python interpreter.


iflow-lodash: _.create declaration appears to be wrong

First off, I am no expert in inheritance, composition, OOP, not by a long way. However, I'm getting a persistent flow error using _.create() as follows:
type A = {
  a: number
}

type B = {
  getA: () => number
}

type Extended = A & B

const obj: A = {
  a: 5
}
const methods: B = {
  getA() {
    return this.a
  }
}

const final: Extended = _.create(methods, obj)

This is an attempted simplification of my case and the error I'm getting is the equivalent of:
call of method `create`. property `a`. Property not found in object type `methods`

The signature of _.create is:
create<T>(prototype: T, properties?: Object): $Supertype<T>

If I change this to the following, no errors are thrown:
create<T>(prototype: T, properties?: Object): $Subtype<T>

Again, I am no expert, but it makes sense to me that the return value of _.create is a subtype of prototype, not a supertype. Am I totally wrong?

lodash is now in flow-typed (https://github.com/flowtype/flow-typed)


Allow uninitialized let

Can we allow uninitialized let as long as it is used before definition?

Yes, it possible to do what you said. I suggest @sp1tz take a crack at this. It's a nice little program analysis problem.


Use vm.args for rebar eunit run

This helps to silent error_logger, but only when https://github.com/apache/couchdb-couch-log-lager/pull/1 will get merged as well.

+1


Generate values.yaml from values.schema.json

With https://github.com/giantswarm/roadmap/issues/1733 we want to add a lot more information to our values.schema.json files. Using helm schema-gen in its current state will overwrite/erase most schema information.
One solution to this worklow problem could be to turn it around: Generate values.yaml from values.schema.json. In theory, the schema could contain all information required.
Details:

The comment per property should be generated from the title and description key in schema. Challenge: find Golang library that allows marshalling of YAML including comments.
The property value should be taken from the default key.
Additional annotations like examples and regex patterns could be added to property comments.
values output should be normalized (stable sort order and stable white space)

Illustration
From
{
  "type": "object",
  "properties": {
    "myProperty": {
      "title": "Example property",
      "description": "Simply a string value.",
      "type": "string",
      "default": "default value"
    }
  }
}

make
# Example property
#
# Simply a string value.
myProperty: default value

I moved this from the Hackathon board to our board.
Notes from the meeting (marian & moritz):
In order to construct values.yaml we will traverse all properties in the values.schema.json.
We won't traverse into the items of arrays, as we expect arrays to declare default items directly at the level of the array.
Comments in the values.yaml are not the priority, therefore if that is hard to accomplish we will leave it out.
The use-case of generating a default payload from a JSON schema seems to be very general. Therefore, we will check whether such a tool already exists.

I found no library that generates a payload from the defaults in a JSON schema.
There is a python library "jsonschema-default", however, it generates a whole sample paylaod, not just the defaults.
rjsf implements the logic of getting defaults from a form.
As rjsf is intended for another purpose (or at least it has a much wider scope), I suggest to implement the default payload generation ourselves.

This is implemented in https://github.com/giantswarm/helm-values-gen.
Concerning the helm plugin part:
Currently, there is no need to provide helm-values-gen as a helm plugin rather than a simple go CLI.
Helm does not provide any possibilities to find "the"  helm charts in a repository, nor does not help to provide a better update experience.


live editor make browser(safari on macOS&iOS) not longer respond

https://knsv.github.io/mermaid/live_editor/
if I input these:
graph TD
A（[xx]

Fixed: https://mermaidjs.github.io/mermaid-live-editor/#/edit/Z3JhcGggVEQKQe-8iFt4eF0K/error/TGV4aWNhbCBlcnJvciBvbiBsaW5lIDIuIFVucmVjb2duaXplZCB0ZXh0LgpncmFwaCBUREHvvIhbeHhdCi0tLS0tLS0tLV4

maybe you should reopen this issue, regard '（、，' as simple text. so that I can write like this:
A[something(with explanation)]
A[something（with explanation）]

Yes you can. Just surround the text with double quotes:
https://mermaidjs.github.io/mermaid-live-editor/#/edit/Z3JhcGggVEQKQVsic29tZXRoaW5nKHdpdGggZXhwbGFuYXRpb24pIl0KQlsic29tZXRoaW5n77yId2l0aCBleHBsYW5hdGlvbu-8iSJdCg
Let me know if you still want to reopen this issue.


[terra-button-group] Updated tabIndex on button group for single select example

Summary
Previously, we are unable to tab (using tab key) between buttons on the button group in single select example. With this fix it has been resolved and we can move focus to the button even it is not selected on single select example.
What was changed:
Updated tabIndex on button group for single select example.
Why it was changed:
User unable to tab between buttons on button group.
Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-10171

Thank you for contributing to Terra.
@cerner/terra

Keyboard navigation for single select buttons should be similar to radio button fields ie: Tab should put focus on the first button and subsequent tabbbing should move the focus out of the group to the next focusable element. Only arrow keys should work inside the group for single select buttons.Removing the entire tabIndex logic means that functioanlity is breaking.

Keyboard navigation for single select buttons should be similar to radio button fields ie: Tab should put focus on the first button and subsequent tabbbing should move the focus out of the group to the next focusable element. Only arrow keys should work inside the group for single select buttons.Removing the entire tabIndex logic means that functioanlity is breaking.

Updated.

Focus should come onto the selected item (when present) initially but as per these changes, it will always come onto the first button.

Focus should come onto the selected item (when present) initially but as per these changes, it will always come onto the first button.

Updated

Please add a wdio test to verify that focus moves to the first button when no buttons are selected initially in a single select button group.

Please add a wdio test to verify that focus moves to the first button when no buttons are selected initially in a single select button group.

Added.

+1


Remove cert-manager dependency (webhooks)

Reasons why we need to remove cert-manager dependency:

Openshift doesn't use cert-manager. It has its own solution for certificates handling.
Cert-manager runtime dependency (another product) seems too heavy for etcd-operator.

Options to replace cert-manager

Use helm hook (risk with argocd where helm hooks do not work). Nginx-ingress controller did it this way.
Deploy empty secret with helm/kustomize, mount it to operator pods. Use k8s job to update k8s secret with CA and server tls certificate + patch webhook configuration with CA cert.
Use cert-controller provided by OPA project: https://github.com/open-policy-agent/cert-controller/tree/master. Example: https://github.com/open-policy-agent/gatekeeper/blob/982a31dbc7d04ef17ef5d6281307df8b55d05c4c/main.go#L269. They use it as a package in gatekeeper.
Implement own solution.

It was decided to use cert-manager. No final decision to remove the dependency


Enable functioning chaining for Relay.on

Simple change to enable common pattern with on methods.  Does not mandate chaining pattern, just supports it. Technically could be added to all methods for full coverage, but only added to Relay.on
RelayPool(relays)
	.on('open', relay => {
		relay.subscribe("subid", {limit: 2, kinds:[1], authors: [jb55]})
	})
	.on('eose', relay => {
		relay.close()
	})
	.on('event', (relay, sub_id, ev) => {
		console.log(ev)
	})

Will fix line endings.

thx!
pushed
To github.com:jb55/nostr-js
492ae39..c5bcb80  master -> master


feat(generator): add tRPC generator

Status
READY
Description
This PR introduces a generator for tRPC. tRPC is a library for creating type-safe APIs.
The generator will create a router for each Open API input, with routes for each GET, POST etc.
This includes changes to existing functions. They are to un-promise their response - the Promise didn't appear to be required:

src/core/getters/object.ts
src/core/getters/ref.ts
src/core/resolvers/ref.ts

Todos

[x] Tests
[x] Documentation
[ ] Changelog Entry (unreleased)

Hello @DaleWebb, thanks for the pull request. This new generator only use trpc as gateway to use another api?

Hello @DaleWebb, thanks for the pull request. This new generator only use trpc as gateway to use another api?

Hey @anymaniax - thanks for responding. Effectively, this implementation of tRPC will provide a typesafe API to endpoints in an OpenAPI spec

can be introduce with v7 #434 and with your own template then maybe

I will do some tests this week to see if we can merge it could be a good template. I add another idea about trpc since moment where instead of the mutator or the http call function we could add a sort of handler to have some business logic directly there. We currently could do it with the mutator but would be annoying to do.

Hello @DaleWebb, you can now check the new architecture and create your own client with the extracted core. The current version is<EMAIL_ADDRESS>If you do so I would be happy to add a section about your client in orval doc
You can now do something like this.
import query from '@orval/query';
import { defineConfig } from 'orval';

export default defineConfig({
  petstore: {
    output: {
       client: query() // query({type: 'svelte-query'}) for another query client,
     }
  }
});

so you could do exactly the same with your own client

No response from OP and PR is 2 years old


feat: add configurable ufw_incoming_traffic

Hello @konstruktoid !
I would like to add this ufw_incoming_traffic variable allows users to specify which incoming ports should be opened in UFW.
I have tried to add a few tests but I was not able to get the testing environment setup on my machine. May I request you to test this please? I am quite time-constraint lately and won't have time to debug the installation.

Thanks for the PR, but I believe that additional ports should be configured in the service roles, eg add port  80/443 openings in your webserver role.
Regarding  ssh it's configured at https://github.com/konstruktoid/ansible-role-hardening/blob/master/tasks/ufw.yml#L121-L128 and mentioned in the readme at https://github.com/konstruktoid/ansible-role-hardening/blob/master/README.md?plain=1#L116-L118

Alright, then this is outside the scope of this playbook. Also, true that ssh was already configured, my bad.
Closing the PR.


add the code related to OOP priciples

Please review the latest code updates related to OOP

Good Job, please see the comments.


npx create-react-app my-app -> NOT WORKING.

Describe the bug
Scrypt create-react-app is not working after latest update to 3.3.0. Suddenly it stopped working,
It gives this error after calling the command:
C:\Users\dimit\Projects\GitHub>npx create-react-app myapp
Creating a new React app in C:\Users\dimit\Projects\GitHub\myapp.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

<EMAIL_ADDRESS>postinstall C:\Users\dimit\Projects\GitHub\myapp\node_modules\babel-runtime\node_modules\core-js
node postinstall || echo "ignore"

<EMAIL_ADDRESS>postinstall C:\Users\dimit\Projects\GitHub\myapp\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS>postinstall C:\Users\dimit\Projects\GitHub\myapp\node_modules\core-js-pure
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>added 1530 packages from 744 contributors and audited 904892 packages in 389.453s <------- <<<<<<<>>>>>>>

19 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
A template was not provided. This is likely because you're using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported.
Then in my newly created dir I have only:
Package.json and
Node-Modules.
Did you try recovering your dependencies?

Yes! Totally!
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Environment

Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i3-2365M CPU @ 1.40GHz
Binaries:
Node: 13.3.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.13.2 - C:\Users\dimit\node_modules.bin\npm.CMD
Browsers:
Edge: 44.18362.449.0
Internet Explorer: 11.0.18362.1
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts:  3.2.0
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce

(Write your steps here:)

run npx create-react-app my-app

Expected behavior

expected a working app
Actual behavior

only an error saying
A template was not provided. This is likely because you're using an outdated version of create-react-app.
Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

You have react-scripts installed globally. Uninstall and it will work.

I have done it. But it is still not working.
This is my output:
PS C:\Users\dimit\Projects\GitHub> npx create-react-app myapp
Creating a new React app in C:\Users\dimit\Projects\GitHub\myapp.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

<EMAIL_ADDRESS>postinstall C:\Users\dimit\Projects\GitHub\myapp\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS>postinstall C:\Users\dimit\Projects\GitHub\myapp\node_modules\core-js-pure
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>added 1531 packages from 744 contributors and audited 904892 packages in 441.699s
<<<<>>>

19 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
A template was not provided. This is likely because you're using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported.
Now my npx create-react-app --info: (After unsuccessful install)
PS C:\Users\dimit\Projects\GitHub> npx create-react-app --info
Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i9-2365M CPU @ 3.40GHz
Binaries:
Node: 13.3.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.13.2 - C:\Users\dimit\node_modules.bin\npm.CMD
Browsers:
Edge: 44.18362.449.0
Internet Explorer: 11.0.18362.1
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
What else should we do?

It worked after deleting my user`s root node_module folder. Thanks! It is a case of multiple nodejs installations. Thanks!!


Fix kwarg mistake in example code

@lmazuel just a tiny fix. the example code doesn't work, but it was missing a kwarg..
Also, FWIW, the long module names make it quite tough to keep to PEP8

You are right, thank you for the update :)


Adding SAP Hana functionality to data sources

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
May I ask which version will add SAP Hana data source functionality in the future? Currently, a large portion of our company's data is stored in Hana. If this data source is missing, we will not be able to use Dolphinscheduler. I see that some developers have successfully added it themselves. Here is the link（ https://blog.csdn.net/m0_48830183/article/details/129897134 ）I hope the official can add it
请问下未来会在哪个版本添加SAP Hana数据源的功能，目前我们公司很大一部分数据是在Hana里面，如果缺失这个数据源将无法使用dolphinscheduler。我看到有开发者自己添加成功了，这是链接（https://blog.csdn.net/m0_48830183/article/details/129897134），希望官方能添加上
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This feature already exists @SbloodyS @anke5156


Tmp fix

Will move away from the ember-cli branch once it is merged  + released.

failures seem unrelated, if they turn out to be let me know i'll dig in further


Printing RawReceivePort prints ReceivePort

Consider the following example:
import 'dart:isolate';

void main() {
  final p = RawReceivePort();
  print(p);
  p.close();
}

Expected output:
RawReceivePort

Actual output:
ReceivePort

While printing p.runtimeType prints_RawReceivePortImpl.

Seems like an oversight.
It's not like the string "RawReceivePort" is very useful, but since we have chosen to implement toString at all, we might as well make it print something unique.


Question: How do I copy angular component html & scss to dist?

Going by this video https://www.youtube.com/watch?v=vE516nAUwFI
I'm following what he did and he says, "we'll add the scripts to index.html later",
but that later never comes.
And then I like having my component templates as separate files.
e.g.
import {Component} from '@angular/core';

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.scss']
})
export class AppComponent {
}

but when I run node fuse with the following content
https://github.com/fuse-box/angular2-example/blob/master/fuse.js
I'm getting
Unhandled Promise rejection: Failed to load app.component.html ; Zone: <root> ; Task: Promise.then ; Value: Failed to load app.component.html undefined

because in dist/ there is no app.component.html.
So how do I make those files being copied or even absorbed in the app.component.js?

@dalu Hi
I don't think you'll ever need to copy it there
You could try using this plugin https://github.com/alex-klock/ng2-fused
Or using this solution
@Component({
    selector: 'app-root',
    templateUrl: 'require("./app.component.html")',
    styleUrls: ["require('./app.component.scss')]
})
export class AppComponent {
}

Don't forget to add HTMLPlugin and RawPlugin on CSS

Mind blown, it actually works.
Do you mind if I keep this open for a while should I have further questions, or should I go to gitter or other places?
For people having the same problem this is my fuse.js
const {
    FuseBox,
    Sparky,
    WebIndexPlugin,
    HTMLPlugin,
    SassPlugin,
    JSONPlugin,
    CSSPlugin,
    QuantumPlugin,
    RawPlugin
} = require("fuse-box");
const {src, task, watch, context, fuse} = require("fuse-box/sparky");
const { Ng2TemplatePlugin } = require('ng2-fused');

context(class {
    getConfig() {
        return FuseBox.init({
            homeDir: "src",
            output: "dist/$name.js",
            target: "browser@es5",
            hash: this.isProduction,
            plugins: [
                Ng2TemplatePlugin(),
                ['*.component.html', RawPlugin()],
                ['*.component.scss', RawPlugin()],
                WebIndexPlugin({
                    title: 'FuseBox + Angular',
                    template: 'src/index.html',
                }), [
                    SassPlugin({
                        outputStyle: 'compressed',
                    }),
                    CSSPlugin(),
                ],
                JSONPlugin(),
                HTMLPlugin({
                    useDefault: false,
                }),
                this.isProduction && QuantumPlugin({
                    //bakeApiIntoBundle: "app",
                    uglify: true
                })
            ]
        })
    }

    createBundle(fuse) {
        const vendor = fuse.bundle("vendor").instructions("~ main.ts");
        if (!this.isProduction) {
            vendor.watch();
            vendor.hmr();
        }

        const app = fuse.bundle("app");
        if (!this.isProduction) {
            app.watch();
            app.hmr();
        }
        app.instructions(">[main.ts]");
        return app;
    }
});

task("clean", () => src("dist").clean("dist").exec())

task("default", ["clean"], async context => {
    const fuse = context.getConfig();
    fuse.dev();
    context.createBundle(fuse);
    await fuse.run();
});

task("dist", ["clean"], async context => {
    context.isProduction = true;
    const fuse = context.getConfig();
    fuse.dev(); // remove it later
    context.createBundle(fuse);
    await fuse.run();
});

there under task dist is fuse.dev(); // remove it later
why is that there?
and
//bakeApiIntoBundle: "app",
why is that commented out and what does it do?

@dalu yes join Gitter please

It's commented out because you don't need a dev server on your production builds
RawPlugin gives a string for angular when put into styles attribute
Yes it's possible, just make sure you have $bundles macro. Read up on WebIndexPlugin and check other examples, like react example of angular2 example

Thanks. I'll get back to this at another time.


WIP [prim] Add shadow register primitive

This PR adds a shadow register primitive according to @tjaychen's Shadow Register RFC:

If the content of the staged register and the value written to the committed register do not match, this causes an update error.
If the contents of committed and shadow registers differ, this causes a storage error.

Note: This PR only adds the RTL primitive, it does not yet integrate the primitive into the regtool. I thought should first the RTL.

Update: the PR also contains the first part of the regtool integration. The regtool can now instantiate the shadow register if specified in the hjson description. The error conditions are exported to the hardware through the reg2hw structs (unless the registers are also hwext). Like hwext the whole register needs to be declared as shadowed. multiregs are supported, the name is modified to keep a _shadowed suffix, i.e., multiregs REG_XYZ0 becomes REG_XYZ0_SHADOWED (not REG_XYZ_SHADOWED0).
What is missing:

Update errors are not automatically signaled via TL-UL. I am not sure if we want that as it could be used to "observe" accesses to write-only registers.
DV, FPV integration, I will need some help here and will get in touch with folks tomorrow.
Documentation

For the integration of the shadow register into DV, FPV: I am not sure how to do this. And it is also not fully clear to me what e.g. the CSR tests should do for shadow registers:

For sure DV should be aware that the register needs to be written twice with the same value for a write to take effect. How/where would I best implement this? I would probably also have to extend csr_utlils, right?
Should DV also try to write different values and check if the committed register updates? In case we decide to signal update errors over TL-UL (currently we don't) what is the behaviour of DV? It should be aware that this is an expected TL-UL error.

I would be interested to get some input from @weicaiyang and @cindychip . There are probably also other DV-related things I am not yet aware of. For reference, here is the original RFC.

Hi Pirmin,
Thank you for your questions and links :) We had a DV meeting to discuss, and below are our answers to your questions:

To ensure that in normal (non-error) cases, DV test sequence writes the correct value twice, we will need to update the dv_base_reg. We plan to add a tag to indicate it is a shadow register, and will write it again with the same value.

For error cases: yes DV will test both update_err and storage_err.
update_err we will have two tests: 1). write once, and check the readout value is NOT updated. 2). Write twice but second write using a different value, we will check the error bit is set, and the read out value is NOT updated.
storage_err requires us to force/backdoor the committed register or shadow_register. We plan to first work on backdoor CSR access, then investigate if we can use the backdoor method to change the related register values.

Hope that answers your question, and please let us know if you have any concerns.

Thanks @cindychip for the detailed answer. I will try to address the first point in this PR. For the second one (testing the error cases) we can maybe do a separate second PR.

I have just discussed with @cindychip : the DV team is already working on getting the DV part ready (thanks guys!). So I'll do the documentation part next.

For the integration of the shadow register into DV, FPV: I am not sure how to do this. And it is also not fully clear to me what e.g. the CSR tests should do for shadow registers:

For sure DV should be aware that the register needs to be written twice with the same value for a write to take effect. How/where would I best implement this? I would probably also have to extend csr_utlils, right?
Should DV also try to write different values and check if the committed register updates? In case we decide to signal update errors over TL-UL (currently we don't) what is the behaviour of DV? It should be aware that this is an expected TL-UL error.

Do you mean update_err triggering a TLUL error response (I am guessing on the second write)?  The RFC mentions update_err being routed to PLIC. Is this an alternative being planned / discussed as well? In any case, DV logic has to be updated to check for the right behavior (need to spec to be clear first). We will do that once the spec is solidified.

I would be interested to get some input from @weicaiyang and @cindychip . There are probably also other DV-related things I am not yet aware of. For reference, here is the original RFC.

Do you mean update_err triggering a TLUL error response (I am guessing on the second write)? The RFC mentions update_err being routed to PLIC. Is this an alternative being planned / discussed as well? In any case, DV logic has to be updated to check for the right behavior (need to spec to be clear first). We will do that once the spec is solidified.

Thanks for your input @sriyerg . I don't remember why I thought it should trigger a TLUL error response, checking again the RFC and GitHub issue, I can't find any previous mention of this. (But yes, if we were to generate one, it should be on the second write.) It seems that routing the update_err to the PLIC is the right thing to do.
I will wait with the documentation part until after the meeting of the Technical Committee.

thanks for implementing this @vogelpi

Update: I transferred the content of the RFC document to MarkDown and included that in the reggen documentation.

@mcy and @alphan, the regtool enforces that that shadow registers have a _SHADOWED suffix in their name. In addition, the shadowed key can be forwarded to the generator scripts (currently it is only used inside gen_rtl.py to actually select the correct primitive) . Do you think this is sufficient from a software perspective?

@mcy and @alphan, the regtool enforces that that shadow registers have a _SHADOWED suffix in their name. In addition, the shadowed key can be forwarded to the generator scripts (currently it is only used inside gen_rtl.py to actually select the correct primitive) . Do you think this is sufficient from a software perspective?

@vogelpi, yes I think this should be sufficient. (I also added a short comment in #2203, echoing here for visibility.)

@vogelpi, just to clarify: there is no timing requirement for the successive writes to a shadow register as long as they happen eventually, right?
Also, will these registers eventually require the second write to be the complement of this first or is this still being debated?

@vogelpi, just to clarify: there is no timing requirement for the successive writes to a shadow register as long as they happen eventually, right?

Correct, there is no timing requirement.

Also, will these registers eventually require the second write to be the complement of this first or is this still being debated?

Correct. For the write to become effective, a second write is always needed. The only other thing that can happen is a read after the first write. This will "abort" the update without changing the value of the committed register. I am currently implementing this change.

Thanks @vogelpi. My second question was actually about the following in the "Future Enhancements" section:

Ones' complement inversion in software:

The ones' complement inversion could be done in software.
This means software would first write the ones' complement of the data and only the second write would be the real data.
This may make following bus dumps easier because the data values will be different.

Apologies for the confusion.

Ups, sorry @alphan . I don't think we are really going to add this in the near future. But as it was mentioned in the RFC, I wanted to have in the doc as a possibility.

Update: Implemented and documented the phase tracker clearing as discussed. This PR is now ready for review.
I already got green light from security, software and DV. What is really needed now is the okay for the actual design + documentation.

I would suggest if @tjaychen and @eunchan are OK with the implementation, and @cdgori is OK with the security aspects, that should be sufficient for merging. SW (@gkelly et al) can weigh in too, but I imagine the SW impact will be vetted later as these things get used.

Thanks @sjgitty and @lenary for approving. I got an okay from @cdgori earlier . The only thing left is approval from an RTL design perspective. It would be great if @tjaychen could have a look such that we can move this forward.

o sorry i thought i already gave my approval.
LGTM, please go ahead.

Thanks @tjaychen . I rebased on top of master and will merge this once CI passes.


Do not display the correct Unicode chain

Basic Information
My code:
tesseract::TessBaseAPI* api = new tesseract::TessBaseAPI();     if (api->Init("./tessdata", "chi_sim")) {         fprintf(stderr, "Could not initialize tesseract.\n");         exit(1);     }     Pix* image = pixRead("./image/test.png");     api->SetImage(image);     char* outText = api->GetUTF8Text();     printf("OCR output:\n%s", outText);
Image:

Output: σæ¿ σ¢┤ τÜä τè» Σ║║ µùá Σ╕Ç Σ╕ì ΘÇÅ Θ£▓ τ¥Ç ΘÆª Σ╜⌐ τÜä τÑ₧ µâà
Instead of: 周 围 的 犯 人 无 一 不 透 露 着 钦 佩 的 神 情
Tesseract version: 5.3.0
I don't understand where I did it. please help me!
Operating System
Windows 11
Other Operating System
No response
uname -a
No response
Compiler
MSVS2022
Virtualization / Containers
No response
CPU
No response
Current Behavior
No response
Expected Behavior
No response
Suggested Fix
No response
Other Information
No response

Do you get a Chinese output when using the official command line tool?

https://learn.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-170

Do you get a Chinese output when using the official command line tool?
no, it's the characters below that can't be read, even if I add /utf-8 to Additional Options
σæ¿ σ¢┤ τÜä τè» Σ║║ µùá Σ╕Ç Σ╕ì ΘÇÅ Θ£▓ τ¥Ç ΘÆª Σ╜⌐ τÜä τÑ₧ µâà

make output to text file instead of console. IMO this is not tesseract problem but terminal problem.

Do you use the new terminal in Windows 11? It supports UTF-8 by default.
https://www.anoopcnair.com/windows-terminal-default-command-line-app/

thank you very much @amitdo  @zdenop


Add telemetry listener and configs

Purpose

Add telemetry listener and configs related to https://github.com/ballerina-platform/ballerina-lang/issues/29071

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Related PR https://github.com/ballerina-platform/ballerina-lang/pull/29118


Not working on Xcode 8.0 + macOS Sierra

Since I upgraded to macOS Sierra and Xcode 8.0 (8A218a) I get these errors when I try to run the demo project:

ProgressKit-master/InDeterminate/ShootingStars.swift:70:26: Method does not override any method from its superclass
ProgressKit-master/InDeterminate/ShootingStars.swift:65:34: Cannot assign value of type 'ShootingStars' to type 'CAAnimationDelegate?'
ProgressKit-master/InDeterminate/CircularSnail.swift:102:26: Method does not override any method from its superclass
ProgressKit-master/InDeterminate/CircularSnail.swift:79:35: Cannot assign value of type 'CircularSnail' to type 'CAAnimationDelegate?'

Also my existing projects that were using the "CircularProgressView" class are no longer rendering it. Their Custom Class->Designables property now displays "Error" (please see attached screenshot).

macOS 11.12
Xcode 8.0 (8A218a)
Converted project to Swift 2.3 using Xcode's built in conversion tool

This isn't relevant anymore, is it?
Project runs great with Swift 3 compiled using Xcode 8.2, running on Sierra.


api.ttlock.com is deprecated. Request for configurable domain name (and maybe change default to euapi.ttlock.com)

I got the message below. api.ttlock.com is deprecated and will no longer work next month. Could you please release a new version with an updated or configurable domain? Thanks!

Dear Developer,
In response to the legal requirements for better data security and privacy protection, we have assigned different domain names to users from China and other countries. Please be reminded to update the domain name if you are using any of our API. For software used in China, please call the China domain name. Otherwise, please call the domain name for users out of China. Following are the details：
Original domain name: api.ttlock.com 1
New domain name (China): cnapi.ttlock.com
New domain name (Out of China): euapi.ttlock.com 1
Original domain name: api.sciener.com 1
New domain name (China): cnapi.sciener.com
New domain name (Out of China): euapi.sciener.com
The original domain name will be deleted and no longer in service after Oct. 1st, 2022. Your speedy action is highly appreciated.
If you need any assistance, please feel free to contact us at<EMAIL_ADDRESS>Best Regards,
Sciener/TTLock Team

i update base url at this lib... i will start test and update ttlock2mqtt addon this weekend.

Thank you very much!

Lib update to 0.3.1


Adding respective icons to the navbar

The current navbar lacks icons, which impacts its visual appeal and usability. Users might find it less engaging and intuitive to navigate through the website without visual cues provided by icons
I propose adding respective icons to the navbar to enhance its visual appeal and improve user navigation experience. These icons will align with the theme of the website and provide users with clear visual cues for each navigation option
for example

Already assigned to another contributor
On Sat, May 11, 2024, 9:02 AM Harsh Mishra @.***> wrote:

The current navbar lacks icons, which impacts its visual appeal and
usability. Users might find it less engaging and intuitive to navigate
through the website without visual cues provided by icons
I propose adding respective icons to the navbar to enhance its visual
appeal and improve user navigation experience. These icons will align with
the theme of the website and provide users with clear visual cues for each
navigation option
for example
Screenshot.2024-05-11.080754.png (view on web)
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/assets/115486960/8379c688-3b03-4996-a4ef-2ce951f367dc
—
Reply to this email directly, view it on GitHub
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/issues/15,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A24XZ7OYOCP3HNLVBJPESUTZBWGLRAVCNFSM6AAAAABHRSB6B6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4TANRTGI4DAOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Unable to link GitHub account

I'm unable to link my GitHub account to FreeCodeCamp (http://www.freecodecamp.com/fccbd1cb0b2). It gives me the message: Your GitHub is already associated with another account. You may have accidentally created a duplicate account. No worries, though. We can fix this real quick. Please email us with your GitHub username<EMAIL_ADDRESS>I sent an email to<EMAIL_ADDRESS>last week and have not yet heard back.

You've already created an account with your Github account. I can delete the Github one, then you'll be able to link it to that account listed above or you can sign out and then signing with your Github account.

Yes if you could go ahead and delete the Github one so then I can relink it that would be cool. Many thanks.

Done. Happy Coding!

@BerkeleyTrue Hate to bring this back up, but still having issues...

How about now?

It works! Many thanks.

@BerkeleyTrue can you please do the same for me???

Sir I am in the same trouble.Could you help me too?

Haha hey man I started fresh by logging in with the GitHub account
On Feb 27, 2016 20:59, "Tausif Alam"<EMAIL_ADDRESS>wrote:

Sir I am in the same trouble.Could you help me too?
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/6429#issuecomment-189702754
.

I had the same issue.

I first signed in to freecodecamp using my GitHub account,
I signed out of freecodecamp,
I signed in to freecodecamp using my LinkedIn account.
I couldn't link my GitHub account to the freecodecamp account that was created using my LinkedIn account.

The reason was that my GitHub account was already linked to the freecodecamp account which was created using my GitHub account.
To resolve, I signed in to freecodecamp using my GitHub account, deleted this freecodecamp account, then signed in to freecodecamp using my LinkedIn account and now I was able to link my GitHub account to it.
Hope this deletion isn't too painful... fortunately for me I made all the progress on the LinkedIn account.

i got the same issue can somebody help me?

Can someone help me too!

So - is there a procedure for just saying "please delete the old freecodecamp account association with github"?
I found this site few months ago and played around with a login, which it associated with my github, then forgot about it.  I created a new account recently, went through a section, and then realized when I hit the link to Github that the old account was out there.
I want to keep my Github. I want to keep my NEW freecodecamp account. I thought perhaps unauthorizing it in Github would do it but looks like FreeCodeCamp is saving a ref to my Github on their server under the old account?

Answered my own question:

Log in to FreeCodeCamp via Github. This will be on the account you do NOT want, probably one without progress through lessons.
Delete the account (again double-checking it doesn't have progress you want to retain)
Now log in to FreeCodeCamp via email on the account you want to associate wth GitHub.
Click the link to Github (which now should work).
G'luck all!

I've seen the instructions from FreeCodeCamp about logging in with our GitHub accounts.  I've been trying this for some time, but I always get a message that says "Oops!  Something went wrong.  Please try again later."  I've tried it while logged into GitHub, and I've tried it while logged out.  Same thing happens.


Allow ByteTree deserialisation functions to throw

At the moment we fatalError if an error occurs while deserialising ByteTree (e.g. because of an unexpected syntax node kind or because incremental parsing failed. With this, we will throw and the client will be able to handle the error.

https://ci.swift.org/job/swift-PR-osx/7336/
https://ci.swift.org/job/swift-PR-Linux/7379/


Third type of dispatcher: Page, Api and Custom

Custom might be the wrong name here, but there ought to be somewhere that makes sense for responses that aren't pages or apis.
For example, if an image is dynamically generated in PHP, requested at /photos/user1234.jpg, where should this file go? Not /page, not /api, so maybe /custom? In this directory, whatever it is decided to be called, it would require a custom router, at least to set the accepts headers that are accepted.

Solved by using custom Router.


Avoid spurious error log on unset JSON access log format

No behavior change here expected aside from Istiod logging
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
9f6921a766fb8830c7912a655a4b13a9b97c7a77
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[Don't merge]Jenkins test 2

Coverage decreased (-7.9%) to 63.367% when pulling 294b3d804eb9a0dcb94539a8b93b9d272d7ce724 on yuan/jenkins-test into 636a80c573850a42f39a83a7dabfe9cf86c0d216 on master.


Deciding on our initial strategy for writing automated tests

I'm opening this issue to track the thought process of determining where we need an automated test best & feasible.
For this issue, I'm thinking about unit tests (tests that are targeted to testing one component/function).
Broadly speaking, we can write automated tests for two categories of source codes:

DB mutations, queries, and helper functions
UI components (and possibly, pages)

Relevant resources:

testing-library
Testing React Apps - Jest

I plan to close this issue once we determine the initial direction of our testing efforts.

In our sync before, we determined that it may be more fruitful to spend efforts on developing a test for a DB mutation. ✅
I'm closing this issue since we have a preliminary direction.


wasm: keep imports

What kind of change does this PR introduce?

Did you add tests for your changes?

Does this PR introduce a breaking change?

What needs to be documented once your changes are merged?

Thanks


Readme Update

Changes

Add Reconnect & Output Buttons.
Tweak Actions & updated image.
Added a tip on adjusting font size.  Note that it doesn't mention Cmd because I don't know if it works on a Mac.

Checklist

[x] have tested my change
[x] updated relevant documentation
[ ] Remove any/all console.logs I added
[ ] eslint is not complaining
[ ] have added myself to the contributors' list in the README
[ ] for feature PRs: PR only includes one feature enhancement.

@SJLennon Excellent as always. Thank you!


Question - web login

Hi,
if i submit the login web form and the App\Containers\Authentication\UI\WEB\Requests\LoginRequest fails I get the following response:
{"message":"Invalid Input.","errors":{"email":["The email field is required."],"password":["The password field is required."]},"status_code":422}
Shouldn't I get a  redirect response to send the user back to their previous location and errors flashed to session?
Can you please explain this feature?
Thanks

I think the error you are talking about is mentioned on #54

@mitjarobic if you could solve this and contribute back would be perfect, I believe Laravel 5.3 have something to deal with that by intercepting the request type...
(I personally never serve HTML from Hello API).
@nmrgt thanks for the reference.


add: Adding styled-components and @types/styled-components

Issue:
https://github.com/arvind0598/better-first-issues/issues/12

#12 was already assigned to Emma, so ideally you wouldn't be working on it - adding @types/styled-components should have been a comment on the issue rather than a full blown PR. However, seeing as you've already done it, we can probably let this one slide. Thanks for the contribution, I'll merge it as part of #18.


added contribution and modefied readme accordingly

here I resolved the issue #8
please check and merge

@Devesh-Daku plz dont change readme. instead add prerequisites, installation, coding guidelines, testing procedures, submitting changes, and code review processes.

Okay, got it

Your want me to add
prerequisites, installation, coding guidelines, testing procedures, submitting changes, and code review processes
To readme or contribution

add to contribution file dont change readme.


Protein Structure not found

Hi there,
I'm working on a project where we've generated tumours in mice and have sequenced it using WES. I'm attempting to visualize protein structure and mutations using lollipop plots. For example, one of the mutated genes I'm interested in is Braf.
When I use plotProtein for Braf there is no structure, but it does exist for BRAF. However, because my MAF file has mutations in Braf when I use lollipop plot for BRAF there are no mutations found. Is there any way to fix this?

Hi,
Maftools do not support the mouse genome, hence the error.


Add support for basic auth against Promtheus

I can be useful to support basic auth as not all prometheus support bearer token.
This PR add its support by using promconfig.BasicAuth

Awesome. Thank you! :100:


Testcase cleanup, cleanup identifiers and duplicates

fix identifiers
remove single threaded hello world

Codecov Report

Merging #9481 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9481   +/-   ##
=======================================
  Coverage   52.24%   52.24%
=======================================
  Files         212      212
  Lines       25921    25921
  Branches     5570     5570
=======================================
  Hits        13543    13543
  Misses      10118    10118
  Partials     2260     2260

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 36ef192...034f613. Read the comment docs.


Cannot resolve path alias defined in tsconfig.json

Here is my problem, I defined path alias as this in ./tsconfig.json
{
  "compilerOptions":{
    ...,
   "baseUrl": "./",
    "paths": {
      "@/*": [
        "./src/*"
      ]
    },
}
}

which works smoothly in VSCode, but I found neither tsserver nor this ts-tools can figure it out, as it gives errors like:

It seems like no one is caring my tsconfig, but my LspInfo shows:

It seems like it gets the correct root path, and thus should get the tsconfig.
I changed my lsp from tsserver to this, trying to fix it, but failed. It literally drives me crazy. If anyone could provide help, that would be of great help!

Can you share link to github repo for me to clone? Maybe I will try to figure something out

Absolutely, https://github.com/MusherM/GuiguMall.git
The master branch by the way, not main

Can you share link to github repo for me to clone? Maybe I will try to figure something out你能分享到 github repo 的链接让我克隆吗？也许我会试着弄清楚一些事情

Hey, have you figured out anything? I'm digging out the whole Internet and still found nothing similar to my issue

Ye. Just looked at it and there isn't a problem with path aliases, but in importing vue files. As you can see in your screenshot only .vue files are not visible by tsserver and if you would try to import regular .ts files with path alias it would work.
For me adding "@vue/typescript-plugin" to plugins in setting worked. You can try this
return {
  enabled = true,
  "pmizio/typescript-tools.nvim",
  event = "BufEnter",
  opts = {
    filetypes = {
      "javascript",
      "javascriptreact",
      "javascript.jsx",
      "typescript",
      "typescriptreact",
      "typescript.tsx",
      "vue",
    },
    settings = {
      tsserver_plugins = { "@vue/typescript-plugin" },
    },
  },
}

I've added this to my plugin settings, and ran pnpm install -g @vue/typescript-plugin to install the plugin, and nothing changes. And yeah, only vue files import fails, I guess it's not a problem with path alias, it's something about using typescript with Vue, I'll continue finding out solutions.


ws281x hardware revision is not supported

Hi
I have installed version 0.23 on a Raspberry Pi 4 (v1.5).
When running selfcheck.py I get the following error regarding the LED driver:
[INFO]: Image: version: v0.23
[INFO]: Board: Raspberry Pi 4 Model B Rev 1.5
[WARN]: clover.service: FATAL: ros.ws281x: [ws281x] native library init failed: Hardware revision is not supported
How can i fix this?

Hi, thanks for the report!
ws281x package should update underlaying rpi_ws281x library. I will do this in a couple of days.

@lylecp, hi, just released a new package version. Can you please test on your hardware?
You have to download here (http://packages.coex.tech/pool/main/r/ros-noetic-ws281x/ros-noetic-ws281x_0.0.13-0buster_armhf.deb) and copy it to you Raspberry Pi. Then install it like that:
sudo dpkg -i ros-noetic-ws281x_0.0.13-0buster_armhf.deb

Then restart Clover's services:
sudo systemctl restart clover

Thanks i will test it and let you know

Thanks yes you can close the issue.
On Thu, 23 June 2022, 7:34 am Oleg Kalachev, @.***>
wrote:

Can I close the issue?
—
Reply to this email directly, view it on GitHub
https://github.com/CopterExpress/clover/issues/445#issuecomment-1163628201,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKFSBAAMRII7KMDY52VRPKDVQOBHLANCNFSM5YTATOXQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


HIVE-24475: Generalize fixacidkeyindex utility

Change-Id: I6b9f501f2804aa5c71ee03cadcea3ec24fdd6005

What changes were proposed in this pull request?

There is a utility in hive which can validate/fix corrupted hive.acid.key.index.
hive --service fixacidkeyindex
Unfortunately it is only tailored for a specific problem (https://issues.apache.org/jira/browse/HIVE-18907), instead of generally validating and recovering the hive.acid.key.index from the stripe data itself.
The PR generalize the validation/recovery by checking/rebuilding the hive.acid.key.index from the data itself.
Why are the changes needed?

The name fixacidkeyindex suggests that this is a general validation/fixer tool for the index.
Does this PR introduce any user-facing change?

hiveconf params can now be specified to the tool, to minimize the diff in the recovered file. (E.g: --hiveconf hive.exec.orc.default.block.padding=false)
How was this patch tested?

Unit test and manual testing.

LGTM +1 (non-binding)

+1 LGTM

Merged into master. Thanks for the patch @asinkovits and for the review @pvargacl and @maheshk114 .


Add execute to run a command without a shell (and use it to u-opt git usage)

This adds a new utility function execute which executes a command without the assumption that there is a POSIX-like shell being used.  This functionality is needed to eventually solve #213.  However, it is still useful to perform some micro-optimizations of avoiding the shell when using git.

We should probably switch to @actions/exec "to execute tools in a cross platform way".

@ocean90 execute is actually using spawnSync rather than exec, which doesn't have the same exact semantics.


SelectionList with children

Closes #72

@VKobeliatsky Good to know! I think exactly the same way, and I'm working on a proposal making the case for a dedicated <Option> component. But right now it's not the part of the spec, and Jiri is on vacation, so this will have to wait.