Autosubmit GUI - Mismatch between the information displayed in user portal and Autosubmit GUI

In GitLab by @ jberlin on Apr 15, 2021, 17:39
After checking some metrics on the release testing suite for <IP_ADDRESS> release (1326), we found out some inconsistencies between the information displayed when the user click summary on the concerned experiment and also when user checks the same information in the user portal.
User portal

Autosubmit GUI:

@mcastril @dbeltrankyl

In GitLab by @ jberlin on Apr 15, 2021, 18:07
Hi @mcastril
Here is the information of the jobs mentioned in the release testing suite:
for t0k5_19930501_fc00_CLEAN_MEMBER
-rw-r--r-- 1 bsc32044 Earth    22 abr  7 13:21 t0k5_19930501_fc00_CLEAN_MEMBER_STAT
bsc32044@dtransfer2:/gpfs/archive/bsc32/esarchive/exp/ecearth/t0k5/original_files/logfiles/log_as> cat t0k5_19930501_fc00_CLEAN_MEMBER_STAT
1617794227
1617794460

for t0k6_REMOTE_SETUP
-rw-r--r-- 1 bsc32044 Earth     22 abr  6 22:15 t0k6_REMOTE_SETUP_STAT
bsc32044@dtransfer2:/gpfs/archive/bsc32/esarchive/exp/ecearth/t0k6/original_files/logfiles/log_as> cat t0k6_REMOTE_SETUP_STAT
1617740122
1617740129

for t0k7_19900101_fc01_INI
-rw-r--r-- 1 bsc32044 Earth     22 abr  6 17:47 log_as/t0k7_19900101_fc01_INI_STAT
bsc32044@dtransfer2:/gpfs/archive/bsc32/esarchive/exp/ecearth/t0k7/original_files/logfiles> cat  log_as/t0k7_19900101_fc01_INI_STAT
1617723986
1617724022

In GitLab by @mcastril on Apr 15, 2021, 18:27
Thanks @ jberlin. For t0k6_REMOTE_SETUP it seems that the date is the same that the date for the job ending in the userportal.
But there are only two values in TOTAL_STATS, while there should be 3 if I remember well, so that could be the reason.
@wuruchi I thought that the information was not being shown if TOTAL_STATS was malformed, but maybe I don't remember well, I cannot recall if you implemented a correction method.

In GitLab by @mcastril on Apr 15, 2021, 17:52
@ jberlin please check the entries written in the TOTAL_STATS file as we discussed in the MWT meeting. It would be useful to also know the time that the TOTAL_STATS file was modified (locally and remotely).

In GitLab by @ jberlin on Apr 15, 2021, 17:40
mentioned in issue auto-ecearth3#1329

In GitLab by @wuruchi on Apr 15, 2021, 19:20
Hello @mcastril @ jberlin

But there are only two values in TOTAL_STATS, while there should be 3 if I remember well, so that could be the reason.

The TOTAL_STATS file was correctly saved in the experiment folder. The problem was that the database module was taking the current date time when the job was reported as COMPLETED while Autosubmit was not running, instead of taking the finish time provided by the job module. This bug has been fixed in autosubmit!261.
The data in the GUI has been fixed by comparing the historical database data (which is not correct for t0k6_REMOTE_SETUP) to the data from the TOTAL_STATS file, so the lower value prevails. This change has been implemented. It will effectively correct the mismatch reported in this issue; however, the data in the historical database is still wrong. I will look for a way to correct it in all experiments that could have been affected in the last week.

In GitLab by @wuruchi on Apr 15, 2021, 19:01
mentioned in commit autosubmit@6880527fbef60a51e5e8aee76a011bcb613d8a26

In GitLab by @wuruchi on Apr 15, 2021, 18:59
mentioned in merge request autosubmit!261

In GitLab by @mcastril on Apr 16, 2021, 10:58

The problem was that the database module was taking the current date time when the job was reported as COMPLETED while Autosubmit was not running, instead of taking the finish time provided by the job module.

Sorry I don't understand this. How the time was retrieved if Autosubmit was not running? Do you take it from sacct? I guess no because sacct should report the correct time too.

But there are only two values in TOTAL_STATS, while there should be 3 if I remember well, so that could be the reason.

Yes, I was confused here, I asked to show the TOTAL_STATS which afaik should have 3 values. @ jberlin showed the STAT because we don't save the tmp/ but the LOG folder with the experiment's data.

In GitLab by @wuruchi on May 31, 2021, 12:20
After some weeks of testing, we haven't seen this happen again. I will close this issue.

In GitLab by @wuruchi on Apr 15, 2021, 18:57
mentioned in commit autosubmit@597880c4ef2c308461fbbb8b0efa701022fec724

In GitLab by @mcastril on Apr 16, 2021, 16:00
Thank you Wilmer

In GitLab by @mcastril on Apr 15, 2021, 17:39
moved from autosubmit#683

In GitLab by @wuruchi on Apr 16, 2021, 12:18
Hello @mcastril

Sorry I don't understand this. How the time was retrieved if Autosubmit was not running? Do you take it from sacct? I guess no because sacct should report the correct time too.

When the user restarted Autosubmit and it started to check for COMPLETED jobs, the current time was written to the finish field instead of the time retrieved from the remote platform. That was the bug.

Yes, I was confused here, I asked to show the TOTAL_STATS which afaik should have 3 values. @ jberlin showed the STAT because we don't save the tmp/ but the LOG folder with the experiment's data.

I looked at the TOTAL_STATS files in /esarchive/autosubmit/expid/tmp and the values seemed OK. The format is submit start finish status, so it should be 4 values.


[Feature] Dockerize linksHub

Description
I want to create docker file for linksHub
Screenshots
No response
Checklist

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

i guess its a nice idea, @CBID2 @ujjawaltyagii and @k-deepak04 what do you think?

i guess its a nice idea, @CBID2 @ujjawaltyagii and @k-deepak04 what do you think?

I'm not familiar with Dockers so I want to know more about their benefits

i guess its a nice idea, @CBID2 @ujjawaltyagii and @k-deepak04 what do you think?

yes we can go for that

i guess its a nice idea, @CBID2 @ujjawaltyagii and @k-deepak04 what do you think?

I'm not familiar with Dockers so I want to know more about their benefits

@CBID2 in simple terms, we can make our app portable,scalable and isolate to run in a proper container , scalability means if the app becomes famous or traffic is growing than we don't have to write all the things like load balancing and all, we can easily do that.

i guess its a nice idea, @CBID2 @ujjawaltyagii and @k-deepak04 what do you think?

I'm not familiar with Dockers so I want to know more about their benefits

@CBID2 in simple terms, we can make our app portable,scalable and isolate to run in a proper container , scalability means if the app becomes famous or traffic is growing than we don't have to write all the things like load balancing and all, we can easily do that.

So in simple terms, dockerizing would lighten the work load for us?

this issue is duplicate of #1159


⚠ ClamAV has degraded performance

In 70d5834, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 470 ms

Resolved: ClamAV performance has improved in 67eba05.


feat(rime_api): get candidate list from index

based on https://github.com/rime/librime/pull/252/files, rebased to rime/librime@master and edited rime_api.* to resolve review comments.

well done.


the --language flag does not work with the azureopenai backend

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've included steps to reproduce the behavior

Affected Components

[X] K8sGPT (CLI)
[ ] K8sGPT Operator

K8sGPT Version
k8sgpt: 0.3.26 (Homebrew), built at: 2024-01-14T20:28:11Z
Kubernetes Version
v1.27.7
Host OS and its Version
MacOS
Steps to reproduce
I have configured 2 backend
ai:
    providers:
        - name: azureopenai
          model: gpt-4
          password: xxxxxx
          baseurl: https://xxxxx.openai.azure.com/
          engine: gpt-4
          temperature: 0.7
          topp: 0.5
          maxtokens: 2048
        - name: openai
          model: gpt-3.5-turbo
          password: sk-xxxxx
          temperature: 0.7
          topp: 0.5
          maxtokens: 2048
    defaultprovider: ""
kubeconfig: ""
kubecontext: ""

When i try this :
k8sgpt analyze -b azureopenai --language "French"  --explain --with-doc --no-cache
AI Provider: azureopenai

0 cluster-api-provider-vcluster-system/cluster-api-provider-vcluster-metrics-service(cluster-api-provider-vcluster-metrics-service)
- Error: Service has no endpoints, expected label control-plane=controller-manager
Error: The Service is looking for Pods with the label control-plane=controller-manager but none are found, so it has no endpoints to route traffic to.

Solution:
1. Verify Pod labels with `kubectl get pods --show-labels`.
2. If missing, label Pods using `kubectl label pods <pod-name> control-plane=controller-manager`.
3. Check Service selector matches Pod labels with `kubectl describe service <service-name>`.

But i get this with openai :
k8sgpt analyze -b openai --language "French"  --explain --with-doc
AI Provider: openai

0 cluster-api-provider-vcluster-system/cluster-api-provider-vcluster-metrics-service(cluster-api-provider-vcluster-metrics-service)
- Error: Service has no endpoints, expected label control-plane=controller-manager
Error: Le service n'a pas de points de terminaison, l'étiquette control-plane=controller-manager est attendue.
Solution:
1. Vérifiez si le label "control-plane=controller-manager" est correctement appliqué au contrôleur de gestion.
2. Assurez-vous que le contrôleur de gestion est en cours d'exécution et accessible.
3. Vérifiez si les points de terminaison du service sont correctement configurés et qu'ils correspondent au label attendu.
4. Redémarrez le service ou le contrôleur de gestion si nécessaire.

is it related to the prompt formating ?
Expected behaviour
French output when using azureopenai
Actual behaviour
English output when using azureopenai even i specify --language flag
Additional Information
No response

The following code is used to generate the response for OpenAI backend:
	resp, err := c.client.CreateChatCompletion(ctx, openai.ChatCompletionRequest{
		Model: c.model,
		Messages: []openai.ChatCompletionMessage{
			{
				Role:    "user",
				Content: prompt,
			},
		},
		Temperature:      c.temperature,
		MaxTokens:        maxToken,
		PresencePenalty:  presencePenalty,
		FrequencyPenalty: frequencyPenalty,
		TopP:             topP,
	})

For AzureOpenAI, it is the same code but with fewer parameters:
	resp, err := c.client.CreateChatCompletion(ctx, openai.ChatCompletionRequest{
		Model: c.model,
		Messages: []openai.ChatCompletionMessage{
			{
				Role:    openai.ChatMessageRoleUser,
				Content: prompt,
			},
		},
		Temperature: c.temperature,
	})

I wonder if that's what making the difference in the response.

After learning exploring more on this, I think that the TopP parameter being used by the OpenAI client is making the difference. Setting TopP to 1 means the model will select the token with the highest probability for each step of text generation. This results in completions that are highly deterministic and predictable.

After learning exploring more on this, I think that the TopP parameter being used by the OpenAI client is making the difference. Setting TopP to 1 means the model will select the token with the highest probability for each step of text generation. This results in completions that are highly deterministic and predictable.

@arbreezy any thoughts on this?

Caching will also retrieve based on the analysis message the possible solution, in whichever was logged first


Do it support auto layout?

It seems like IHKeyboardAvoiding doesn't support auto layout, it only moves KeyboardAvoiding.avoidingView up and down, which could potentially overlaps other views.
Here's what in my storyboard

each text field has same distance from its top's, the first one is in the centre of screen. If I click text field 3, it becomes like this

Is there any way that I could achieve this?

Is TextField3 Anchored to its superview bottom?
if TextField3 is being moved correctly, why are your other constraints being broken? Are you getting any layout errors in you console?

@fraserscottmorrison now I got it, after setting bottom constraint, it works well. Does it mean that when using IHKeyboardAvoiding, it must have bottom constraint?

It needs either a bottom or top constraint. If to have a top constrain it will reduce it to move the view up. So if you want all 3 text views to move up, with a top constraint, just put them all in a container view and register the container view with IHKeyboardAvoiding

On 9/06/2017, at 11:30 AM, alex-payer<EMAIL_ADDRESS>wrote:
@fraserscottmorrison now I got it, after setting bottom constraint, it works well. Does it mean that when using IHKeyboardAvoiding, it must have bottom constraint?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Improve edit task command

Context

Editing task based on index now edits the task referenced by the index correctly
Problem was highlighted by TK
Added an additional test to check if edited task is a duplicate against an existing task (this test was previously ignored)

Links
Here you should add links that are related to this Pull Request. For example:

Part of #41
Solves problem highlighted by TK in #61

Reviewers
@CS2103AUG2016-F09-C4/developers

I've corrected the Test case that @githubxxcc  and @TiankaiChen  has highlighted, which I previously ignored owing to some bugs. Decided to redesign the test case. Details are written in the Context above.
Ready for review

Yeah, so are changes still necessary?
On 18 Oct 2016, at 9:00 AM, TiankaiChen <notifications<EMAIL_ADDRESS>wrote:
@TiankaiChen commented on this pull request.

In src/test/java/seedu/task/logic/EditCommandTest.javahttps://github.com/CS2103AUG2016-F09-C4/Main/pull/64:

     // execute command and verify result

   assertEditTaskCommandBehavior(helper.generateAddTaskCommand(toBeAdded),helper.generateListTaskCommand(),

           helper.generateEditTaskCommand(toBeEdited),

   assertEditTaskCommandBehavior(helper.generateAddFloatTaskCommand(toBeAdded), helper.generateAddFloatTaskCommand(toBeAdded2),helper.generateListTaskCommand(),

           helper.generateEditTaskCommand(toBeEdited,1),
           String.format(EditTaskCommand.MESSAGE_DUPLICATE_TASK, toBeEdited),
           expectedAB,
           expectedAB.getTaskList());

Ok for number 1, it won't be passed by reference as the helper class will only take the data (name, description, etc) and create a new task to be added. Using addTasksToTaskbook will pass by reference.

You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/CS2103AUG2016-F09-C4/Main/pull/64, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUNXyKqpy7XG76MqO944HuDu1nW1XV0Lks5q1BohgaJpZM4KYQa_.

LGTM!


get host attach from scbe instead of database

This change is

Coverage decreased (-0.7%) to 52.295% when pulling 721f304555e1ac49eb0cd110ee3c118e71293fcb on host_attach_liort into 23d1a1c5d9ebfc2eb2f5dc4a09e6c88118de45dd on dev.

But lets merge it to DEV after fixing the ICP issues we have with hostname.

Review status: 0 of 8 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Allow third-party apps in Teams

[Enter feedback here]
Allow third-party apps in Teams - This heading under Org-wide app settings should rather be "Allow third-party apps". Remove "in Teams" as that's not displayed in the system

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

ID: fbbcabee-fa96-2878-e983-3c966f84ee15
Version Independent ID: 02fa4fd8-77e0-5cb2-a4af-576cbb68322f
Content: Manage your apps in the Microsoft Teams admin center - Microsoft Teams
Content Source: Teams/manage-apps.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@vaibhavagarwaljss Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@vaibhavagarwaljss Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Error with PostgreSqlContainer

Hello, im trying to use testcontainer in my aplication using postgres and i am recive this error:
error: the database system is starting up

I've done some research but to no avail...
I also cloned this repository and tried to run postgresql-container.test but I get the same error
Can someone help me?

Hi @Duarte007, could you share some repro, are you using a GenericContainer or the PostgreSqlContainer? ..

Hi @Duarte007, could you share some repro, what version of tc-node, are you using a GenericContainer or the PostgreSqlContainer? ..

Hello @cristianrgreco
I'm using PostgreSqlContainer and "testcontainers": "^8.2.0"
Here ir my code
beforeAll(async () => {
        configService = new ConfigService()
        const postegresConfig = configService._config.postgres

        container = await new MySqlContainer('mysql')
            .withName('test_mysql')
            .withExposedPorts(5432)
            .withUsername(postegresConfig.username)
            .withUserPassword(postegresConfig.password)
            .withDatabase(postegresConfig.database)
            .start()

        const pgConfig = {
            host: container.getHost(),
            port: container.getPort(),
            database: container.getDatabase(),
            user: container.getUsername(),
            password: container.getUserPassword(),
        }

        client = new Client(pgConfig)

        await client
            .connect()
            .then(() => console.log('connected'))
            .catch((err) => console.error('connection error', err.stack))

        const moduleRef = await Test.createTestingModule({
            imports: [PurchaseTokenModule],
        }).compile()

        app = moduleRef.createNestApplication()
        await app.init()
    })

The error ocurrs in this snippet
await client
            .connect()
            .then(() => console.log('connected'))
            .catch((err) => console.error('connection error', err.stack))

Always falls in the catch

@cristianrgreco
I added a promise that waits for 10 seconds before trying to connect and it connected correctly
But I started getting authentication error
error: password authentication failed for user "dev"
And I'm certainly trying to connect with the same username and password that I passed in the parameters for creating the container, because I'm getting it from a configuration file.


sws-160: version group side panel with live data

partial SWS-160... shows live data except spark graph. we need to unmock that

do not merge yet. still have to do the spark graphs

Working with @jshaughn on this - this is going to be merged and then we are going to work on getting it into his PR so avoid wasting time on conflicts and integration. The group side panel is done except for sparklines. We'll work on that next.


Attempt at fixing the integration tests

This is an attempt at fixing the tests in FData.
Basically, we need to make sure that no observers linger after the test execution ends.
This is not for submission.

Fixed in a new PR: #206. Closing the PR, feel free to reopen if necessary.


disable tm java build; enable tm golang

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-whatchanged/39/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/170/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/131/


chore: update v4-core:latest

edit: 2/12 -- drafting since lots of merges happenin' on core 🥳
Related Issue
Updating the repository to the latest v4-core changes
Description of changes

[x] Updated hook contracts to use the new liquidity hook functions
[x] Pinned 0.8.24, removed justfile / custom solc references
[x] Renamed BaseHook.getHooksCalls to getHookPermissions

Closes #90

note: quoter tests are failing because token2 is deployed without a salt -- this leads to a non-deterministic token order in its respective pools.
will be fixed in https://github.com/Uniswap/v4-periphery/pull/93


Cancel Stop-Computer

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I have a program on my system called stopwatch.exe, so sometimes I will have PowerShell open, and I will enter the command. However I also use tab completion, so I will usually enter:
stopw TAB

then press enter. However if on accident I enter:
stop TAB

Then I instead get Stop-Computer, which shuts down the computer. I have done this on accident now at least twice, and its very annoying.
Expected behavior
Does anyone has a solution for this problem? I know with the old shutdown.exe, you could enter shutdown /a to cancel it, but I dont know if anything like that is available with PowerShell.
Actual behavior
https://docs.microsoft.com/powershell/module/microsoft.powershell.management/stop-computer
Error details
No response
Environment data
PSVersion                      6.2.0
PSEdition                      Core
GitCommitId                    6.2.0
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

You can put new alias in your profile and redefine stop behavior.

As a workaround, I edited this file:
C:\PowerShell\Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1

Just comment out this line, or remove it:
"Stop-Computer",

You wont be able to shut down with PowerShell, but I dont think I have ever wanted or needed to do that. You can just push the power button on your computer, or shut down from the Start Menu.

You can just push the power button on your computer, or shut down from the Start Menu.

Script can not to push the power button :-)

The simplest way is to assign an alias to stopwatch.exe in $profile.
For example:
Set-Alias -Name sw -Value stopwatch.exe                   # If stopwatch.exe in $env:Path
Set-Alias -Name sw -Value "C:\Path\To\.\stopwatch.exe"    # if stopwatch.exe is not in $env:Path

Instead of editing the file to remove Stop-Computer you can override it with a function or Alias that either does nothing, or executes stopwatch.exe. Functions and aliases have a higher precedence so if you create a dummy function like this: function Stop-Computer {} it should get executed instead of the Stop-Computer cmdlet.
You would define this function inside your $profile file so it works in every session.


Error while Launching activity

Hello
I'm build wallet it show error
By the way how to translate and add new language add Fiat currency  ?
Thank you!
adb shell am start -n "com.alphawallet.app/com.alphawallet.app.ui.SplashActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Error while executing: am start -n "com.alphawallet.app/com.alphawallet.app.ui.SplashActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.alphawallet.app/.ui.SplashActivity }
Error type 3
Error: Activity class {com.alphawallet.app/com.alphawallet.app.ui.SplashActivity} does not exist.
Error while Launching activity

Hi @trustwalletvn, can you try building and running with AndroidStudio? I suspect you have an error in your starting line; adb probably doesn't work in this way as the .apk file knows the entry point.
To add a new language and currency:
Currency:

Add the SVG flag to drawable (so that it's called eg ic_flags_vietnam.xml).
Add the currency eg like this: new CurrencyItem("VND", "Vietnamese đồng", "₫", R.drawable.ic_flags_vietnam), in CurrencyRepository.

Language:

See these two commits which added French: https://github.com/AlphaWallet/alpha-wallet-android/commit/d89363c96499c11b4d1c7fdc40b7a7bd1798858d and https://github.com/AlphaWallet/alpha-wallet-android/commit/1e37c0b14dbce2e2195a8e3ee9c75ba3733f656b

The default language of the app is determined by the phone; so if you added Vietnamese language and the installer's phone is set to Vietnam locale, then the app defaults to Vietnamese.
To force currency default change the relevant parts of these lines:
class TickerService
...

    private void initCurrency()
    {
        SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(context);
        currentCurrencySymbolTxt = pref.getString("currency_locale", "USD");
        currentCurrencySymbol = pref.getString("currency_symbol", "$");
    }

class C
...
   public static final String DEFAULT_CURRENCY_CODE = "USD";

If you add Vietnamese language would you be able to share it with us :) submitting a PR to our repo we would be really grateful.
PS here is a sample SVG for Vietnam flag from our implementation database, in the expected format:
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <title>38B61D99-CA86-4F91-ADE2-6F1FCC4046C5</title>
    <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="Icons/Flags/vietnam" fill-rule="nonzero">
            <g id="vietnam">
                <circle id="Oval" fill="#D80027" cx="20" cy="20" r="20"></circle>
                <polygon id="Path" fill="#FFDA44" points="20 10.4347656 22.1584375 17.0776563 29.1432031 17.0776563 23.4923437 21.183125 25.6507813 27.8260938 20 23.7205469 14.3492188 27.8260938 16.5076563 21.183125 10.856875 17.0776563 17.8415625 17.0776563"></polygon>
            </g>
        </g>
    </g>
</svg>

I can translate to Vietnamese
Copy this file from
https://github.com/AlphaWallet/alpha-wallet-android/blob/master/app/src/main/res/values/strings.xml
and create new folder "values-vi" put file strings.xml
translate it and submit commits?
is it true?

I can translate to Vietnamese
Copy this file from
https://github.com/AlphaWallet/alpha-wallet-android/blob/master/app/src/main/res/values/strings.xml
and create new folder "values-vi" put file strings.xml
translate it and submit commits?
is it true?

Yes, that's it. The Android SDK will do the rest (including fetching the localised names for each language in the class SelectLocaleActivity). Don't forget to add 'vi' to the LOCALES list in LocaleRepository.

Thank you.
Take a few day to completed translate

Looking good so far - just need to add a flag, the currency entry for VND and the LOCALE entry.

Hi @trustwalletvn I collected your PR's into one big PR and merged it. The Vietnamese support will be in the next release. Can you do a pull on your wallet fork to get the latest work?

Hi @trustwalletvn the new localisation is live in the PlayStore and on the direct download on our site.
Thank you again for creating this localisation. We'll try to maintain it, but we don't have any Vietnamese speakers in our team, so we'll try using Google Translate to create the new text.
Feel free to ping us if you have any new ideas/collaborations. Remember to keep your fork up to date, we just had a big update which is working well and there's a new UI overhaul coming soon which is another big improvement.


[Global css] Different css files for the same node module are ignored

Hi.
This is my global css setting in nuxt.config.js:
{
 head...,
 css: [
    'mint-ui/lib/loadmore/style.css',
    'mint-ui/lib/datetime-picker/style.css',
    'mint-ui/lib/popup/style.css',
    'mint-ui/lib/picker/style.css',
    'mint-ui/lib/search/style.css',
    '~/assets/main.css',
  ],
 build...
}

After run build && run start, open the page in the browser, then, I found that in addition to the first css, the other is not injected.
// Unpackaged css files
'mint-ui/lib/datetime-picker/style.css',
'mint-ui/lib/popup/style.css',
'mint-ui/lib/picker/style.css',
'mint-ui/lib/search/style.css',

This is my first time using nuxt.js, do I omit some settings?
"mint-ui": "^2.2.13",
"nuxt": "^1.0.0-rc11",

This question is available on Nuxt.js community (#c2169)

Because this bug report seems to be inactive for quite some time, I'll close it now. If you feel like it deserves some attention because it's not fixed, feel free to ping me and I'll reopen it.


Failed to fetch from [refs/remotes/origin/] to [refs/heads/]

Hello,
I have setup my collector as a docker container, and have a separate docker container running bitbucket, hosting my repository, with the hook correctly configured.
When I push a change to my protected branch, the collector gets invoked and creates a new branch with my changes. However my connected Jenkins job is never executed, and my push request fails in this manner:
root@myserver:/repo/arashtest# git push
warning: push.default is unset; its implicit value has changed in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the traditional behavior, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.

Since Git 2.0, Git defaults to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

Counting objects: 2, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 274 bytes | 0 bytes/s, done.
Total 2 (delta 0), reused 0 (delta 0)
remote: In etcprofile, JAVA_HOME: /usr/lib/jvm/java-7-openjdk-amd64/jre
remote: /bin/bash: /root/.bash_profile: Permission denied
remote: daemon
remote: Script name: /var/atlassian/application-data/bitbucket/bin/git-hooks/sample-hook.sh
remote: JAVA_HOME: /usr/lib/jvm/java-7-openjdk-amd64/jre
remote: VG_HOOK: /var/atlassian/application-data/bitbucket/verigreen
remote: Oldrev: bab7e146d705a659a6604467af38963d8d5f0ffd Newrev: 864f11279a2d392b100f0ba3fd2a2b2125bc79cb Ref: refs/heads/master
remote: =======================================
remote:
remote:
remote: Submitted for verification by Verigreen
remote:
remote:
remote: =======================================
remote:
remote:
remote: Verigreen returned: 1
remote: /var/atlassian/application-data/bitbucket/bin/git-hooks/sample-hook.sh: line 30: /root/.bash_logout: Permission denied
To ssh://git@<IP_ADDRESS>:7999/evd/arashtest.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@<IP_ADDRESS>:7999/evd/arashtest.git'

I'm using this script to setup my collector (showing relevant parts):
SERVICE_NAME="verigreen" # the service name (case sensitive, of course!). Should be the same as this script name

# All parameters below are for the docker HOST machine, not the container!
VG_NAME="myvg"
REPO_NAME="myrepo"

REPO_DIR="/DATA/gitrepo/$REPO_NAME" # may need to manually clone to this location
SSH_DIR="/root/.ssh" # SSH keys to authenticate git operations within the repository
CONFIG_DIR="/DATA/VG" # config.properties and run.yml files are placed here
DOCKER_IMAGE="verigreen/vg-collector"
PORT=8085
# Limit container logs (via json-file log file) to 10k.  Do not change the jobName parameter while there are commits being verified in the system!
jenkins.jobName=verigreendemo
jenkins.branchParamName=SCM_BRANCH
#The maximum number of seconds Verigreen waits for a verification build to complete.
jenkins.timeoutInSeconds=3600

# Git configuration
git.repositoryLocation=/repo
##############Changes in this field will be effected after save (no restart is needed)################
git.protectedBranches=refs/heads/master
##############Changes in this field will be effected after save (no restart is needed)################
git.permittedUsers=

#JGitOperator configuration
#These sets Verigreen's user.name and user.email git configuration parameters.
commited.by.collector=VeriGreen
<EMAIL_ADDRESS>
# Mail Configuration
#The SMTP server Verigreen will use to send its emails.
#SMTP authentication is not currently supported.
mail.server=<IP_ADDRESS>

#Collector Display Name
collectors=My VeriGreen
#The URL of the Verigreen collector.
#This is the address that need be configured in the Verigreen git-hook configuration file, hook.properties.
# Add /<warName> after the port number, if deployed as war.
#This parameter is required for Verigreen to work.
#forexamplecollector.address=<CollectorHost>:<CollectorPort>/rest
collector.address=<IP_ADDRESS>:8085/rest

And finally my /DATA/VG/run.yml file looks like this:
repository:
# please provide the git remote repository url used in git clone (e.g. ssh://<user>@<domain>:<port>/path/to/repo.git)
remote_url: "ssh://git@<IP_ADDRESS>:7999/evd/arashtest.git"

As you can see, branches are automatically created in my bitbucket:

And jobs are started, but fail with GIT_FAILURE on the collector's UI:

Here is the exception in the collector's logs:
19/11/16 04:51:04:004 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.jobs.CallJenkinsJob::calllingJenkinsForCancel (tid: 24) *** There are [0] not canceled items...
 *** END ***
19/11/16 04:51:04:004 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.decision.decisionmaker.ProtectedBranchesDecisionMaker::decide (tid: 23) *** There are 1 not done item(s)
 *** END ***
19/11/16 04:51:04:004 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.decision.DecisionExecuter::doExecute (tid: 23) *** Going to run decision (Decision [_commitItemId=0825882e-baff-4664-aac6-140d54bbed0d, _handler=class com.verigreen.collector.decision.CheckinDecisionHandler])
 *** END ***
19/11/16 04:51:04:004 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.decision.CheckinDecisionHandler::doUpdateBranch (tid: 23) *** Going to merge branch with latest changes... (vg_6dfa167_Veri_Green)
 *** END ***
19/11/16 04:51:04:004 ERROR [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.decision.CheckinDecisionHandler::updateBranch (tid: 23) *** Failed updating branch [vg_6dfa167_Veri_Green] *** END ***
java.lang.RuntimeException: Failed to fetch from [refs/remotes/origin/*] to [refs/heads/*]
        at com.verigreen.jgit.JGitOperator.fetch(JGitOperator.java:152) ~[verigreen-collector-api-2.5.6.jar:?]
        at com.verigreen.jgit.JGitOperator.fetch(JGitOperator.java:167) ~[verigreen-collector-api-2.5.6.jar:?]
        at com.verigreen.collector.decision.CheckinDecisionHandler.updateProtectedBranch(CheckinDecisionHandler.java:134) ~[verigreen-collector-impl-2.5.6.jar:?]
        at com.verigreen.collector.decision.CheckinDecisionHandler.createMergedBranch(CheckinDecisionHandler.java:96) ~[verigreen-collector-impl-2.5.6.jar:?]
        at com.verigreen.collector.decision.CheckinDecisionHandler.doUpdateBranch(CheckinDecisionHandler.java:80) ~[verigreen-collector-impl-2.5.6.jar:?]
        at com.verigreen.collector.decision.CheckinDecisionHandler.updateBranch(CheckinDecisionHandler.java:57) [verigreen-collector-impl-2.5.6.jar:?]
        at com.verigreen.collector.decision.CheckinDecisionHandler.doHandle(CheckinDecisionHandler.java:39) [verigreen-collector-impl-2.5.6.jar:?]
        at com.verigreen.collector.decision.DecisionHandler.handle(DecisionHandler.java:29) [verigreen-collector-impl-2.5.6.jar:?]
        at com.verigreen.collector.decision.DecisionExecuter.doExecute(DecisionExecuter.java:40) [verigreen-collector-impl-2.5.6.jar:?]
        at com.verigreen.collector.decision.DecisionExecuter.execute(DecisionExecuter.java:27) [verigreen-collector-impl-2.5.6.jar:?]
        at com.verigreen.collector.jobs.ConsumerJob.execute(ConsumerJob.java:29) [verigreen-collector-impl-2.5.6.jar:?]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.1.jar:?]
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.2.1.jar:?]
Caused by: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:134) ~[org.eclipse.jgit-<IP_ADDRESS>306101825-r.jar:<IP_ADDRESS>306101825-r]
        at com.verigreen.jgit.JGitOperator.fetch(JGitOperator.java:150) ~[verigreen-collector-api-2.5.6.jar:?]
        ... 12 more
Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: origin: not found.
        at org.eclipse.jgit.transport.TransportLocal$1.open(TransportLocal.java:130) ~[org.eclipse.jgit-<IP_ADDRESS>306101825-r.jar:<IP_ADDRESS>306101825-r]
        at org.eclipse.jgit.transport.TransportBundleFile$1.open(TransportBundleFile.java:105) ~[org.eclipse.jgit-<IP_ADDRESS>306101825-r.jar:<IP_ADDRESS>306101825-r]
        at org.eclipse.jgit.transport.Transport.open(Transport.java:554) ~[org.eclipse.jgit-<IP_ADDRESS>306101825-r.jar:<IP_ADDRESS>306101825-r]
        at org.eclipse.jgit.transport.Transport.open(Transport.java:314) ~[org.eclipse.jgit-<IP_ADDRESS>306101825-r.jar:<IP_ADDRESS>306101825-r]
        at org.eclipse.jgit.transport.Transport.open(Transport.java:285) ~[org.eclipse.jgit-<IP_ADDRESS>306101825-r.jar:<IP_ADDRESS>306101825-r]
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:118) ~[org.eclipse.jgit-<IP_ADDRESS>306101825-r.jar:<IP_ADDRESS>306101825-r]
        at com.verigreen.jgit.JGitOperator.fetch(JGitOperator.java:150) ~[verigreen-collector-api-2.5.6.jar:?]
        ... 12 more
19/11/16 04:51:14:014 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.jobs.CallJenkinsJob::calllingJenkinsForUpdate (tid: 25) *** Jenkins called for update on [0] not updated items...
 *** END ***
19/11/16 04:51:14:014 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.jobs.CallJenkinsJob::calllingJenkinsForCreate (tid: 25) *** There are [0] not triggered items...
 *** END ***
19/11/16 04:51:14:014 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.jobs.CallJenkinsJob::calllingJenkinsForCancel (tid: 25) *** There are [0] not canceled items...
 *** END ***
19/11/16 04:51:14:014 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.decision.decisionmaker.ProtectedBranchesDecisionMaker::decide (tid: 17) *** There are 1 not done item(s)
 *** END ***
19/11/16 04:51:14:014 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.decision.DecisionExecuter::doExecute (tid: 17) *** Going to run decision (Decision [_commitItemId=0825882e-baff-4664-aac6-140d54bbed0d, _handler=class com.verigreen.collector.decision.OnFailureHandler])
 *** END ***
19/11/16 04:51:14:014 INFO  [com.verigreen.collector.common.log4j.VerigreenLogger] *** com.verigreen.collector.decision.OnFailureHandler::doHandle (tid: 17) *** Commit (vg_6dfa167_Veri_Green) verification completed with failure (Failed due to git failure, could be a techincal issue)
 *** END ***

From within my collector, showing the repo and git config:
root@myvg:/app# cd /repo
root@myvg:/repo# git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
root@myvg:/repo# git remote -v
origin  ssh://git@<IP_ADDRESS>:7999/evd/arashtest.git (fetch)
origin  ssh://git@<IP_ADDRESS>:7999/evd/arashtest.git (push)
root@myvg:/repo# git config -l
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=ssh://git@<IP_ADDRESS>:7999/evd/arashtest.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
root@myvg:/repo# cat .git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = ssh://git@<IP_ADDRESS>:7999/evd/arashtest.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master
root@myvg:/repo#

If, from within /repo on my collector I try to perform a git checkout <X> where <X> is the branch the controller automatically created, I get the following error:
root@myvg:/repo# git checkout vg_6dfa167_Veri_Green
error: pathspec 'vg_6dfa167_Veri_Green' did not match any file(s) known to git.
root@myvg:/repo#

However the same command runs just fine after I perform a git fetch:
root@myvg:/repo# git fetch
remote: warning: unable to access '/root/.config/git/attributes': Permission denied
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From ssh://<IP_ADDRESS>:7999/evd/arashtest
 * [new branch]      vg_6dfa167_Veri_Green -> origin/vg_6dfa167_Veri_Green
 * [new branch]      vg_864f112_Veri_Green -> origin/vg_864f112_Veri_Green
root@myvg:/repo# git checkout vg_6dfa167_Veri_Green
Branch vg_6dfa167_Veri_Green set up to track remote branch vg_6dfa167_Veri_Green from origin.
Switched to a new branch 'vg_6dfa167_Veri_Green'
root@myvg:/repo# git status
On branch vg_6dfa167_Veri_Green
Your branch is up-to-date with 'origin/vg_6dfa167_Veri_Green'.
nothing to commit, working directory clean
root@myvg:/repo#

What am I missing here? Any help is greatly appreciated.

Please check in the config properties file, the location for the git repo is incorrect, should end with /example/path/.git
Try to add /.git to your path.
Let me know if its help.

Hi @soninob, thanks for the help. Adding .git did resolve my issue, but only after I made sure to move my repo to /repo on my docker HOST. Otherwise I'd get an error when trying to start up the collector that my paths don't match the VG_REPO environment variable (which I don't set, nor can I find a reference to in the repository code).
Now the jenkins job isn't starting correctly, but that's another problem :)
Thanks again!

closing this one.


docs(error/nobase): Added trailing slash for base path

Trailing slash seems to be necessary, otherwise $routeProvider does not match routes correctly. Following is not matched:
URL: http://www.example.com/b/foo/1234
<base href="/b/foo">

$routeProvider.when('/:id', {
   templateUrl: '/view/path.html',
   controller: 'MyCtrl',
   reloadOnSearch: false
});

Singed CLA

landed as 034fade3e8b6448231b640948995960db75d8605


About md-well

As I want a collection with md-waves attribute but when applying this attribute, the element display type changes to inline block. This leaves me 2 options which are inline CSS or set additional class.
I saw in demo you have nice <md-well> component but i don't see the documentation about it anywhere. Does that mean it's not encouraged to use it ?

<md-well> is not included in the original Materialize distribution. We focused on these first.
Also it's a bit limited, it only work with a bound router.
I can add documentation, though.
It's used like this:
<md-well router.bind="router"></md-well>

It's easy to create an own well which responds to anything. This is the complete code of <md-well>:
<template bindable="router">

          ${row.title}

</template>

Hi, thanks for that.
I decided to used inline style to keep things simple.
I'll close this.


[core] Ship modern bundle

The targets of the default bundle are not final. They will be locked on release of<EMAIL_ADDRESS>from npx browserslist --mobile-to-desktop "> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11, maintained node versions"
new Supported Platforms documentation
new "minimizing bundle size" guide
We now ship 4 bundles:

stable (default, formerly esm) which targets a snapshot (on release) of > 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11"
modern (formerly es) which targets the last 1 version of evergreen browsers and active node (currently that is 14. We can't use current node since that would include odd-numbered version which is not intended for production code)
node (formerly default) which targets a snapshot (on release) of maintained node versions
legacy which is stable + IE11

/icons only ships node and stable since the other two bundles don't do anything for size but would double the install size which can be problematic (though I haven't been able to reproduce these issues).
I'm not implementing exports and ES modules for node yet. That would require considerably more effort (since we need to import with file extensions) and ES modules are still considered experimental on node (though I think they're planned to be stable in a couple of weeks I seem to recall).
Closes #15496
Closes #18447
/cc @mui-org/core-team For input on the targets (see .browserslistrc).
Future work:

[ ] Remove internal polyfills required for IE 11 and document it

@material-ui/utils: parsed: +11.22% , gzip: +7.54%

Only due to missing module concatenation. Stat size is now at 14.58 kB (down from 15.94 kB)

Next.js's preview still work in IE 11 white_check_mark

Yeah, I was under the impression they already implemented modules/nomodules pattern but it's still an open RFC.
Though I think we can already leverage that once we start using new ES6+  built-ins (e.g. Object.values()) for polyfills.

@eps1lon Should we sleep on it during the weekend, to give an opportunity for the community to provide feedback an aim to merge next Monday?

Should we sleep on it during the weekend, to give an opportunity for the community to provide feedback an aim to merge next Monday?

That was the plan. I'm not so sure about the edge 18 and ios_safari change (just had a discussion with friends about how they're annoyed with apps that no longer function on their perfectly fine iPhones). In the end we probably get feedback once it's used in prod (and I expect people to use the alpha in prod :smile: ).

I'm not so sure about the [...] and ios_safari change

Me neither. That was unintentional...

@mbrookes What do you mean? Only supporting iOS 13 was intentional.

I have seen the following error in development mode coming from the changes (none of the docs pages are working in dev)

I haven't figured out why yet.

@mbrookes What do you mean? Only supporting iOS >=13 was intentional.

Sure but it's not clear whether this is viable. The benefit of dropping iOS < 13 is that we can use PointerEvent as well.

Does it going to ship ES6+ syntax or later? Want to see that happen

Does it going to ship ES6+ syntax or later? Want to see that happen

The /modern bundle targets the latest 1 versions of major browsers so this should have the least amount of transpilation.
The default bundle should have a lot less transpilation as well.
What is so specific about ES6 syntax that you'd want to see?

Cool, thanks

@oliviertassinari
I repent for using this PR to ask a question, but it's a small one:
Why does MUI distribution includes CommonJS? Won't all React components be bundled anyhow by a bundler that support esm?
What's the use case for a cjs build where a React component will be imported using require?

What's the use case for a cjs build where a React component will be imported using require?

SSR maybe

The ecosystem isn't ready for ES modules. For example, next.js requires CommonJS.

For example, next.js requires CommonJS.

Is it? NextJS is using webpack, which will prioritise module over main.
I've got a library of React components and I'm transpiling it with esm only and NextJS is reading it no problem.
I'm asking this question because to the best of my knowledge pretty much all React components are bundled using webpack (for the consuming app at least, not libraries) and webpack has been supporting esm for quite some time.

Is it?

Yes: https://github.com/vercel/next.js/issues/9607

NextJS is using webpack, which will prioritise module over main.

module and main are only part of native ES modules.

I've got a library of React components and I'm transpiling it with esm only and NextJS is reading it no problem.

Are you sure you're using native ES modules and not some loose interpretation that bundles used to use? For example, relative file imports do need a file extension. Once you have e.g. import Component from './Component' you no longer have native ES modules.

Are you sure you're using native ES modules

OK, probably my wrong (am I confusing between esm and es?) I'm not talking about native ES modules (the mjs stuff).
But, if I'm not wrong, the babel config I'm using is borrowed from how MUI used to build the esm folder a year or so ago:
  env: {
    esm: {
      presets: [
        [
          '@babel/preset-env',
          {
            // Do not transform modules - keep as esm
            modules: false,
            targets: {
              node: '6.10',
            },
          },
        ],
      ],
      plugins: [['@babel/plugin-transform-runtime', { useESModules: true }]],
    },
  },

You're probably shipping something that is only understood by bundlers. With commonJS at least node understands it. With proper ES modules node, browsers and bundlers will understand the code.

You're probably shipping something that is only understood by bundlers.

Indeed.
What' I'm after is a case where a script with a React component won't go through a bundler?
As I mentioned, this is how MUI built the esm distribution in the past, for example see  4.1.2 babel config.

With commonJS at least node understands it.

Why would node need to understand a module that has a React component? You never execute these on node, or import them without some bundler being involved?
Am I missing something big time here? Surely I am.

You never execute these on node, or import them without some bundler being involved?

You do when doing server-side rendering.

You do when doing server-side rendering.

But this is done via webpack, which goes to the "module" field in package.json and reads files distributed per the 4.1.2 config above alright.
NextJS uses webpack.
createReactApp uses webpack.
Is anybody out there builds React apps not via webpack or some other bundler that understand that sort of esm export like in 4.1.2?

OK. I think I see what I'm missing. I've been with NextJS for too long probably...
Some people (as in some React examples) do SSR where the server simply requires the React Component (no webpack involved). These people are unlikely to write cjs style - most likely they write es6 and have some transpiler for the code, but not for node_modules.
So I guess the answer is - for people who do SSR without a bundler.

Yes, the most simple SSR is to use react-dom/server package to render the JSX directly. That requires the code to be able to run in NodeJS directly.


⚠ Bofrost.hr has degraded performance

In 25eda0f, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 4898 ms

Resolved: Bofrost.hr performance has improved in bc395c6 after 303 days, 17 hours, 32 minutes.


simplify new xpath detection without rerun/debug of the test(s)

From time to time due to the changes on UI we faced with several ways to determine the same element and some of them are invisible.
Currently carina generate error message, screenshot and tries to click via javascript.
So let's think howto improve resolution of the use-case without ability to rerun or debug scenario.

Capture as usual element not interactable problem
Generate dump (visible(?) screenshot and page source)
Attach dump archive as test artifact
do not generate full size failure screenshot automatically, i.e. ignore such kind of exceptions in isCaptured

Actual scenario still TBD and need brainstorming to finalize steps...
element not interactable
  (Session info: chrome=89.0.4389.72)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ip-10-199-2-48', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-1029-aws', java.version: '<IP_ADDRESS>'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 89.0.4389.72, chrome: {chromedriverVersion: 89.0.4389.23 (61b08ee2c5002..., userDataDir: /tmp/.com.google.Chrome.IWiQxF}, goog:chromeOptions: {debuggerAddress: localhost:46243}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: eager, platform: LINUX, platformName: LINUX, proxy: Proxy(manual, http=10.199.2..., setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: 1d185865091d82f1e99f0d2d055d7e27

let's review in Q3


Profile for Firedrake

Here's a profile which adds Firedrake (http://firedrakeproject.org) to the comparison.

Thank you!


Custom block will unmount when you type Chinese, but not when you type English

Do you want to request a feature or report a bug?
bug
What is the current behavior?
Custom block will unmount when you type Chinese, but not when you type English, Is this normal?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
reproduce in this fiddle: https://jsfiddle.net/shenenkaka/5oqgbpc4/18/
What is the expected behavior?
Custom block should not unmount when you type language that DraftJs support
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Draft.js version: 0.11.7
browser: Chrome v87,macOS Big Sur
It is also not work in previous version.

I'm having a similar issue when typing brazilian portuguese. We have some letters that use accents e.g., é, ê, ã, etc. Typing any of these triggers an unmount on all our custom components. It can be really troublesome if we have a custom component that does a request or some async code, as it keeps redoing it every time we type any of those letters. I made some tests and this behavior started happening on v0.11.0.
It can also be reproduced in the example @Shenenkaka made.

I'm having a similar issue when typing brazilian portuguese. We have some letters that use accents e.g., é, ê, ã, etc. Typing any of these triggers an unmount on all our custom components. It can be really troublesome if we have a custom component that does a request or some async code, as it keeps redoing it every time we type any of those letters. I made some tests and this behavior started happening on v0.11.0.
It can also be reproduced in the example @Shenenkaka made.

After further investigation, I found the commit responsible. This behavior started happening on this PR: https://github.com/facebook/draft-js/pull/2035
It solved major issues related to Android input and word composition. The issue seems to be directly tied to the alterations made to the DraftEditorCompositionHandler.js file. Apparently after any kind of composition, it runs a function called restoreEditorDOM, which is described as "a complete re-render of the DraftEditorContents based on the current

EditorState". Before the PR, this function was only called when certain conditions were met, now it seems to happen everytime a composition is completed.

After further investigation, I found the commit responsible. This behavior started happening on this PR: https://github.com/facebook/draft-js/pull/2035
It solved major issues related to Android input and word composition. The issue seems to be directly tied to the alterations made to the DraftEditorCompositionHandler.js file. Apparently after any kind of composition, it runs a function called restoreEditorDOM, which is described as "a complete re-render of the DraftEditorContents based on the current

EditorState". Before the PR, this function was only called when certain conditions were met, now it seems to happen everytime a composition is completed.

Hey guys! Some updates. I made a solution and tried to return the composition behavior to what is was before v0.11.0 version without losing the fixes made for Android. I brought back the mustReset flag and with that I expect the re-render of the DraftEditor to happen only on certain conditions. So, a composition on the start of a new text block will still cause the unmount on atomic blocks, this unmount is still necessary for draft-js to work properly, as stated in some comments in the code:
We also re-render when the composition occurs at the beginning of a leaf, to ensure that if the browser has created a new text node for the composition, we will discard it.
I made a code sandbox with a version that has my fix and the CustomBlock @Shenenkaka made, if the CustomBlock is unmounted it will show up on the Console. I'll link it here so anybody can test and please, give me some feedback if you run into any kind of problems.
https://codesandbox.io/s/draftjs-basic-example-forked-5rr3j

Hey! Some updates. I tried to return the composition behavior to what is was before v0.11.0 version without losing the fixes made for Android. I brought back the mustReset flag and with that I expect the re-render of the DraftEditor to happen only on certain conditions. So, a composition on the start of a new text block will still cause the unmount on atomic blocks, this unmount is still necessary for draft-js to work properly, as stated in some comments in the code:
We also re-render when the composition occurs at the beginning of a leaf, to ensure that if the browser has created a new text node for the composition, we will discard it.
I made a code sandbox with a version that has my fix and the CustomBlock @Shenenkaka made, if the CustomBlock is unmounted it will show up on the Console. I'll link it here so anybody can test and please, give me some feedback if you run into any kind of problems.
https://codesandbox.io/s/draftjs-basic-example-forked-5rr3j

Hey! Some updates. I've made a solution and tried to return the composition behavior to what is was before v0.11.0 version without losing the fixes made for Android. I brought back the mustReset flag and with that I expect the re-render of the DraftEditor to happen only on certain conditions. So, a composition on the start of a new text block will still cause the unmount on atomic blocks, this unmount is still necessary for draft-js to work properly, as stated in some comments in the code:
We also re-render when the composition occurs at the beginning of a leaf, to ensure that if the browser has created a new text node for the composition, we will discard it.
I made a code sandbox with a version that has my fix and the CustomBlock @Shenenkaka made, if the CustomBlock is unmounted it will show up on the Console. I'll link it here so anybody can test and please, give me some feedback if you run into any kind of problems.
https://codesandbox.io/s/draftjs-basic-example-forked-5rr3j
The sandbox uses the package draft-js-composition-fix, version 0.0.1.

It still unmount at the first time typing @lousander

Hey! Some updates. I've made a solution and tried to return the composition behavior to what is was before v0.11.0 version without losing the fixes made for Android. I brought back the mustReset flag and with that I expect the re-render of the DraftEditor to happen only on certain conditions. So, a composition on the start of a new text block will still cause the unmount on atomic blocks, this unmount is still necessary for draft-js to work properly, as stated in some comments in the code:
We also re-render when the composition occurs at the beginning of a leaf, to ensure that if the browser has created a new text node for the composition, we will discard it.
I made a code sandbox with a version that has my fix and the CustomBlock @Shenenkaka made, if the CustomBlock is unmounted it will show up on the Console. I'll link it here so anybody can test and please, give me some feedback if you run into any kind of problems.
https://codesandbox.io/s/draftjs-basic-example-forked-5rr3j
The sandbox uses the package draft-js-composition-fix, version 0.0.1.

Nice fix, but it still unmount at the first time typing. @lousander

Hey! Some updates. I've made a solution and tried to return the composition behavior to what is was before v0.11.0 version without losing the fixes made for Android. I brought back the mustReset flag and with that I expect the re-render of the DraftEditor to happen only on certain conditions. So, a composition on the start of a new text block will still cause the unmount on atomic blocks, this unmount is still necessary for draft-js to work properly, as stated in some comments in the code:
We also re-render when the composition occurs at the beginning of a leaf, to ensure that if the browser has created a new text node for the composition, we will discard it.
I made a code sandbox with a version that has my fix and the CustomBlock @Shenenkaka made, if the CustomBlock is unmounted it will show up on the Console. I'll link it here so anybody can test and please, give me some feedback if you run into any kind of problems.
https://codesandbox.io/s/draftjs-basic-example-forked-5rr3j
The sandbox uses the package draft-js-composition-fix, version 0.0.1.

Nice fix, but it still unmount at the first time typing. @lousander

解决了吗 @Shenenkaka


Shortcut Guide should add Snip shortcut (Win + Shift + S)

The new Snip functionality is really useful.  Win+Shift+S activates it.  I couldn't remember and hoped Shortcut Guide would tell me.  It didn't. Finally found it elsewhere.

Adding to .15

It would be better to do this after https://github.com/microsoft/PowerToys/issues/156

Tracking this shortcut in the larger list of #179


chore: fix automerge script

:tada: This PR is included in version 4.21.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v4.21.6

Your semantic-release bot :package::rocket:


Ros install with cloud-config from https is not working

**RancherOS Version: 1.5.3
**Where are you running RancherOS? vmware
Steps to reproduce:

Clone master
copy os-config.tpl.yml from gist https://gist.github.com/axi92/30600d411d9ffe156cc9864fe843da3d#file-os-config-tpl-yml only 1 line added L87
make vmware
boot a vm with the new rancher.iso
vm boot up with autologin and nothing else happens

Expected output:
5. Boot from iso run the cloud config script with ros install and reboot
And it works when I change the cloud-config url in os-config.tpl.yml to a http url.

I cannot reproduce, a https datasource can work on my setup. Here are the logs from /var/log/boot/cloud-init-save.log
time="2019-08-14T13:51:11Z" level=info msg="datasources that will be considered: []string{"url:https://releases.rancher.com/os/test/****.yaml"}"
time="2019-08-14T13:51:11Z" level=info msg="cloud-init: Checking availability of "url""
time="2019-08-14T13:51:11Z" level=info msg="cloud-init: Datasource available: url: https://releases.rancher.com/os/test/****.yaml (lastError: <nil>)"
time="2019-08-14T13:51:11Z" level=info msg="Fetching user-data from datasource url: https://releases.rancher.com/os/test/****.yaml (lastError: <nil>)"
time="2019-08-14T13:51:11Z" level=info msg="Fetching meta-data from datasource of type url"
time="2019-08-14T13:51:11Z" level=info msg="Wrote to /var/lib/rancher/conf/cloud-config.d/boot.yml"
time="2019-08-14T13:51:11Z" level=info msg="Wrote to /var/lib/rancher/conf/metadata"
time="2019-08-14T13:51:11Z" level=info msg="not writing /var/lib/rancher/conf/cloud-config.d/network.yml: its all defaults."
time="2019-08-14T13:51:11Z" level=info msg="Cloud-init datasource that was used: url: https://releases.rancher.com/os/test/****.yaml (lastError: <nil>)"

Oh, you are running on VMware, that may be different.
The datasource will be considered with vmware, if you want to use a remote http source, you may use cloud-init.config.url from guestinfo. https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/cloud/vmware-esxi/
You can paste the logs from /var/log/boot/cloud-init-save.log, so I can get something useful.

This is the log:
https://gist.github.com/axi92/30600d411d9ffe156cc9864fe843da3d#file-failed-cloud-init-save-log
But how do you explain that it works with HTTP?

The strange thing is it loads the file but it won't execute it.
time="2019-08-16T07:57:05Z" level=info msg="cloud-init: Datasource available: VMWare:  (lastError: <nil>)"
time="2019-08-16T07:57:05Z" level=info msg="Read from "cloud-init.config.url": "https://pastebin.com/raw/S5yQLG5Z"

I found a solution, this is working.
I still have one question: Why does rancher os not trust Lets Encrypt?
#cloud-config
rancher:
write_files:
  - path: /etc/rc.local
    permissions: "0755"
    owner: root
    content: |
      #!/bin/bash
      wait-for-docker
      if ! blkid | grep -q "RANCHER_STATE"; then
      sudo ros install -d /dev/sda -c https://pastebin.com/raw/Gq7k309q -f --debug --no-reboot --append "rancher.autologin=tty1";
      sudo reboot --kexec;
      fi


mandelbulber: 2.20 -> 2.21

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://github.com/buddhi1980/mandelbulber2/releases.
meta.description for mandelbulber is: "A 3D fractal rendering engine"
meta.homepage for mandelbulber is: "https://mandelbulber.com"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.21 with grep in /nix/store/4507i3savcsvcx0jw6pkk7kkqibfma99-mandelbulber-2.21

directory tree listing: https://gist.github.com/82aec6f00cce2ffabdccd9ed88071585

du listing: https://gist.github.com/bf4749ec81136741ab025ad536df2928

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
mandelbulber

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4507i3savcsvcx0jw6pkk7kkqibfma99-mandelbulber-2.21 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mandelbulber https://github.com/r-ryantm/nixpkgs/archive/375c42c3a1bf161d147c449e91e6230fb638da99.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4507i3savcsvcx0jw6pkk7kkqibfma99-mandelbulber-2.21
ls -la /nix/store/4507i3savcsvcx0jw6pkk7kkqibfma99-mandelbulber-2.21/bin

cc @kovirobi for testing.

(Tested, seems to work)


Add contents in Readme.md

Add contents for installation and running on the local host.
here's the step

clone
install mdbook in the system
"mdbook serve --open" this is the command to run on terminal to serve the application on localhost

Refer other readme.md file and make according to that

Hi @rohansx, i would like to contribute to this.

Hey @rohansx , i would also like to contribute to this

Hey @rohansx here is your readme.md
https://technobromo.com/index.php/s/r9xTDN688NESrJP
I am really glad to help and contribute to this project

You use this google drive link if the above dosen't work
https://drive.google.com/file/d/1ke3Gg6F8Rc05UDHtunJo7f9wSQ25WI_l/view?usp=sharing

@johnweslee check the readme file again it has been added, but there is no brief description about it and also add the repository link, feel free to modify it according to you

@SyedTathahir  @Technobromo  thank you for asking, you can check the project and add your issue according to you i'll assign you that task

Thanks @johnweslee


Option to set custom color in color selector

After recent update to version 2.0 in the new UI I can not select white color for tray icon text.

It would be even better if we could be able to choose a color from color picker. I personally prefer bright colors to make it more appealing on the bottom panel.

I am also having this issue and I use this app daily. I need the white coloring for my visibility and poor eyesight.
I do not really need different notification colors, so I would just appreciate the ability set them all to white to match the rest of my system tray. Most of my UI is red, so the colors all clash and it's frustrating. I tried to turn the levels off, and still the colors remained. So please add white to the selection or add a color wheel so everyone can pick their own aesthetic.

@koreycabra I've added black and white colours in version 2.0.9. This version will be available in Microsoft Store soon.
There is no good colour picker that fits a modern fluent UI style. I'm planning to create one myself, but I can't give any concrete estimates on when this will be available.

White or black to match the Windows theme is sufficient. Thanks!


Encoding Issue with Polish Characters in Request Payload

I am experiencing an encoding issue with Polish characters when sending requests. Before sending the request, I verified the value of my string variable by logging it to the console using console.log, and it displayed correctly as "Błonie". However, in the request payload, the variable value is incorrectly encoded as "BBonie". This issue persists with other words containing Polish characters. I am unable to determine the cause of this encoding error.
I have encountered this issue while using TypeScript Client Generator versions v1.8.0-preview.202310260001 and v1.7.0. Any assistance in resolving this encoding issue would be greatly appreciated.

Hi @illunix ,
Thanks for using kiota and for reaching out.
Is typescript the only language you're using? If not, are you experiencing the issue in other languages?
Where are those strings? In query parameters? Path parameters? Request bodies?

I use only typescript, and this strings are in request body json @baywet

Thanks for the additional information.
I had edited my reply, probably as you were typing yours.

Can you share the open API description for the endpoint and point out to which part of containing the characters?
Are you doing browser or node development?

@baywet
"requestBody": {           "content": {             "application/json": {               "schema": {                 "$ref": "#/components/schemas/TestProject.Core.Commands.Customers.CreateCustomerCommand"               }             }           }         }


Feature: Adapter trait with optional async

Make a version of the adapter trait async. This will allow remote adapter implementation (e.g redis adapter, mongodb adapter).

does the maybe_async crate cut it?

Yes, it is a good idea, but it implies to also apply maybe_async on Operators and Socket structs to maybe return futures from the adapter.

This would be awesome to have! Really enjoy the work you are doing on this

I think there may be scenes that require both async and sync.

Sure, the compatibility with previous sync code and the possibility to use both are my main blocking points to move on on this feature.
Currently one of the approaches I considered is using Operators to express multi-node async code and keep sync operations on emit/room/ns by default.
socket.emit("test", ()); // default sync behavior that will emit only from this node.
socket.async().emit("test", ()).await; // async behavior shared between nodes.

Other possibilities are:

to use feature flags to transform all sync function to async when enabling the async feature on but it would break the default sync feature and features should always be additive for these reasons.
To remove sync possibilities on emit/rooms/ns functions and to have everything async by default.

The PR #395 solves the async adapter issues. However before merging this to the main branch I want to be sure that we have a stable trait for all the adapter implementations.
Therefore the PR #395 will be merged on the feat-adapter-rework branch. And the adapter implementions should be worked on this branch. I would like to have at least 2 implementations (maybe redis and mongo before merging everything to main and making a release).
Currently the Adapter trait is in the socketioxide crate, but I would like to put it in the socketioxide-core crate so that custom adapter implementations only depends on the core crate. Also the implementations should live in this repository in the crates folder.
@torto once PR #395 is merged, would you still like to work on a Mongo adapter (See issue #361). I will personnally try to work on a Redis adapter.

Hello @Totodore, Yes I can work on MongoDB adapter for sure, today I will start it!

Hello @Totodore  I can work on that adpter for sure, I will start today have a look.


[41_navy_captain]_typos_spaces

Hi @jstac , this PR does two tasks in lecture navy_captain:

deletes some extra   (spaces)
corrects following typos:

The present lecture uses Python to generate simulations that evaluate expected losses under **frequentist** and **Bayesian** decision rules for a instance of the Navy Captain's decision problem.  -->> The present lecture uses Python to generate simulations that evaluate expected losses under **frequentist** and **Bayesian** decision rules for an instance of the Navy Captain's decision problem.
bayesian -->> Bayesian
soley -->> solely
For our parameter settings, we can compute it’s value: -->> For our parameter settings, we can compute its value:
frequentist rule’sfixed :math:`t`. -->> frequentist rule’s fixed :math:`t`.

Nice catches @shlff .
All of the changes are good but would you mind to resolve the merge conflicts?

Nice catches @shlff .
All of the changes are good but would you mind to resolve the merge conflicts?

Nice catches @shlff .
All of the changes are good but would you mind to resolve the merge conflicts?

Thanks @jstac , now the merge conflicts have been solved and the PR is ready to be merged.

Nice catches @shlff .
All of the changes are good but would you mind to resolve the merge conflicts?

Thanks @jstac , now the merge conflicts have been solved and the PR is ready to be merged.

thanks @shlff and @jstac


[Communication-Chat] Download documents for teams interop

Is your feature request related to a problem? Please describe.
https://github.com/Azure/communication-ui-library/issues/2809
Feature request from the Web UI chat composite.
Get access to file uploaded to via MSTeams
Describe the solution you'd like
Return a url that can allow developers to download the file
Describe alternatives you've considered
No alternatives cause file is behind service not exposed at the moment.

Hi, has there been any progress on this issue?

Hi, @bluemeanie76 we have created a feature request and have added it to our backlog. We will let you know when the feature is released for public beta.

Closing this git issue as the SDK changes have been introduced!


No way to alter number of SNP's

For use in alternate reference (.ini) files, there needs be a way to change the number of SNP's that SNPSniffer looks for. Right now, the 387 SNPs are not variable, and are hard-coded into the way 2D arrays are created.

new code from Sal seems to fix the issue


In production we have two gfa_pickup with PT

Can we remove the one of the two https://bibdata.princeton.edu/locations/delivery_locations so that the alma locations script takes the desired unique gfa_pickup location? @kevinreiss

I deleted the duplicate.

Thank you @kevinreiss


4.0.0-rc1.0

Release

Hey @sanderpick just a quick 👍 to get this merged and released. I've marked it an rc release because we want to do some more breaking changes before the official 4.x release.


Python Interpreter: Allow code completion to be started from anywhere in the input string

There is a small problem in the completion insertion functionality. The demonstration's in the gif below.

Bug Gif (in Ghidra 10.1.5)

In addition I managed to exacerbate it in my last PR. Now the completions can not only insert text in inappropriate places but also inappropriately delete important text, which is rather frustrating without Ctrl+Z.

Bug Gif (after my PR)

It happens because there is a certain discrepancy between the completion generation and insertion. We generate completions relative to the end of the input (I assume that because we don't give implementations any information about the name we're completing). But the completion insertion, on the other hand, happens at the caret's position, which actually may be anywhere in the input string, and can even move after we update them (with an accidental mouse click, for example).
The solution is to either always insert completions at the end or generate them at the caret's position. Clearly, the latter is the only sane approach. I had to add a new default method getCompletions to the interface to pass the caret position. I marked the old method as deprecated, because if the clients continue to use it, we will return to the error described above.
The Python completion process is quite trivial, just one line of code. We simply cut off a part of the text to the right of the caret. Everything else will work itself out automagically. Sure, this is an extremely naive method, as in that case the completion window can pop up inside a string literal and maybe some other inappropriate places. But I think that's fine, since the window cannot annoyingly appear by itself, without pressing Ctrl+Space or Tab.
I also sort of fixed the autocomplete for method parameters. Some years ago Jython's devs renamed the "data" property to "method".

how the parameter completion looks like

I am getting the following stack trace on both your first change and this new PR:

I type currentAddr, place the cursor in between the t and the A, press tab, and then select currentAddress.

Hmmm, i switched back to your branch and now I'm not seeing the issue. I guess I was in an inconsistent state.


AVL Data Structure Balancing Inconsistency

In certain cases, the AVL tree becomes unbalanced but is treated as balance by the game state

We need more unit tests. More specific tests, and Django test implementation like we have done for API and database.


Kitchen Media Wall Cost Calculator

Describe the bug
Just crashes on opening
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-agys4p?utm_campaign=stackblitz-on-page&utm_source=web-app&utm_medium=nav-button
Steps to reproduce
Not sure what to write ✍
It just doesn’t start
Expected behavior
1st time I’ve used so don’t know how it will look
Screen Recording / Screenshot
N/a
Platform
Browser name = Safari
Full version = 17.6
Major version = 17
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15
performance.memory = undefined
Username = VoilaCava
Chat ID = b02dfdfd0cd4

Additional context
None

Hi @VoilaCava,
Bolt works best in Chrome and Firefox. Can you try opening this project in one of those browsers? Also, are you receiving any specific error messages in the Bolt console? Thanks!

Thanks Endo
I’ll try in Chrome

No error messages in Bolt


feat: update package

Thank you for submitting your PR.
The plugin currently maintains this very subtle code structure and is not currently intended to install any additional npm packages.


Fixed typo in firmware-md5 check

@wcdgit spotted this typo. See #272

Maybe it can help if there would be two different kinds of exiting:

An error occurred while downloading the md5-file. Mainly because it doesn't exist.
The checksums are different. This one feels more fatal than the first.


Error when running metaplex upload

after running megaplex upload (metaplex upload ./nfts --env devnet --keypair ~/.config/solana/devnet.json) I get an error like that (it is only 1 nft, basically a 1.png and 1.json file inside this folder):
File uploaded: arweurl
setting cache for  1
Writing indices 1-1
Transaction simulation failed: Error processing Instruction 0: custom program error: 0x12f
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]
    Program log: Custom program error: 0x12f
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 6519 of 200000 compute units
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0x12f
Translating error SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x12f
    at Connection.sendEncodedTransaction (/snapshot/js/node_modules/@solana/web3.js/lib/index.cjs.js:4863:13)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Connection.sendRawTransaction (/snapshot/js/node_modules/@solana/web3.js/lib/index.cjs.js:4822:20)
    at async Object.sendAndConfirmRawTransaction (/snapshot/js/node_modules/@solana/web3.js/lib/index.cjs.js:6649:21)
    at async Provider.send (/snapshot/js/node_modules/@project-serum/anchor/dist/cjs/provider.js:84:22)
    at async Object.rpc [as addConfigLines] (/snapshot/js/node_modules/@project-serum/anchor/dist/cjs/program/namespace/rpc.js:11:31) {
  logs: [
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]',
    'Program log: Custom program error: 0x12f',
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 6519 of 200000 compute units',
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0x12f'
  ]
}
saving config line 1-1 failed ProgramError
    at Function.parse (/snapshot/js/node_modules/@project-serum/anchor/dist/cjs/error.js:31:20)
    at Object.rpc [as addConfigLines] (/snapshot/js/node_modules/@project-serum/anchor/dist/cjs/program/namespace/rpc.js:16:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  code: 303,
  msg: 'Index greater than length!'
}
Done. Successful = false. If 'false' - rerun

you should rename them like 0.json and 0.png , 1.json , 1.png it works like that.

that was it, thank you!

that was it, thank you!

how do you install metaplex cli? when running metaplex upload i get this error
bash: metaplex: command not found

Please explain in more detail.
I have same issue.
Thanks.


Analyzer >= 0.26.1+15 breaks source_gen

See https://github.com/dart-lang/source_gen/issues/67

Reflectable too, see https://github.com/dart-lang/code_transformers/issues/29, and Polymer, see https://github.com/dart-lang/sdk/issues/24735.

@bwilkerson Any updates on this?
I have a work-around – should that be what @eernstg is using, too?

I'm confused. Does this bug still manifest after moving to analyzer version 0.27.0? I thought that fixed the problem.

@bwilkerson See this branch of source_gen
https://github.com/dart-lang/source_gen/tree/brian_weird_fix
Removed the work around – many tests start to fail

Hi,
I've made several attempts to use a newer version of the analyzer (the
newest one that I could get pub to select without overrides was 0.26.4, but
I guess version 0.3.something-really-fresh will allow me to try out
0.27.*), and I do not see the infinite loop that made us insert the
'<=0.26.1+14' constraint a while ago. So there's a lot of hope! On the
other hand, I keep getting null in a number of situations where we didn't
get them before; it's possible that a hint from Brian that I just noticed
in my inbox will help with that. I'll experiment some more with this
tomorrow.
On Thu, Dec 10, 2015 at 10:23 PM, Kevin Moore<EMAIL_ADDRESS>wrote:

@bwilkerson https://github.com/bwilkerson See this branch of source_gen
https://github.com/dart-lang/source_gen/tree/brian_weird_fix
Removed the work around – many tests start to fail
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/sdk/issues/24890#issuecomment-163753395.

--
Erik Ernst  -  Google Danmark ApS
Skt Petri Passage 5, 2 sal, 1165 København K, Denmark
CVR no. 28866984

https://codereview.chromium.org/1486663003/

I've validated the fix with 0.27.1 in source_gen – can close as fixed?

In support of this: 0.27.1 works with reflectable version 0.5.0 as well.

I've been having problems in dogma_codegen with 0.27.1+1 where evaluationResult is null.
https://github.com/dogma-dart/dogma-codegen/blob/features/refactor-library-metadata/lib/src/analyzer/annotation.dart#L58
Putting the pubspec at 0.27.1 works but 0.27.1+1 fails.

Yes, 0.27.1+1 also breaks reflectable (the nulls from evaluationResult are indeed the main problem, again). We have notified the analyzer folks.

source_gen tests pass with the latest analyzer – perhaps my tests don't push the API in the same way.

@eernstg is there a separate bug? Seemed similar to this issue.

The issue https://github.com/dart-lang/reflectable/issues/54 tracks the evaluationResult == null analyzer issue as seen from reflectable. We just published 0.5.1 today which insists on analyzer 0.27.1 (because 0.27.0 and 0.27.1+1 both have this null issue).

Yes, https://github.com/dart-lang/reflectable/issues/54 tracks the evaluationResult == null issue as seen from reflectable.

@donny-dont @eernstg have you tried analyzer 0.27.1+2 +

Hi,
yes, we tried that, and it has the same issue (constants not resolved,
reported as null). 'Messages' in https://codereview.chromium.org/1531393002/
contains more details about how it fails.
On Wed, Jan 13, 2016 at 11:59 PM, Kevin Moore<EMAIL_ADDRESS>wrote:

@donny-dont https://github.com/donny-dont @eernstg
https://github.com/eernstg have you tried analyzer 0.27.1+2 +
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/sdk/issues/24890#issuecomment-171464807.

--
Erik Ernst  -  Google Danmark ApS
Skt Petri Passage 5, 2 sal, 1165 København K, Denmark
CVR no. 28866984

Updated the title to "reflect" reflectable

@bwilkerson this is tagged P1 but I don't see any updates for more than a month. What is the status here!?

To be precise the title should indicate that there is one recent version that does not break reflectable, namely 0.27.1 (which is the one that we have been using ). E.g., 'Analyzer >0.27.1 breaks reflectable' might do. But I'm not sure it makes sense to change the title of an existing issue several times (it's difficult to understand the history when it does not match the title any more). There is also the issue https://github.com/dart-lang/reflectable/issues/54 which is directly concerned with the situation as seen from reflectable.
I just confirmed that we still get null when evaluating many constants. The symptom as of today is that we get a message in the following format for every entry point being transformed:
Ignoring entry point <my-entry-point> that does not include the class Reflectable.```

Given that resolution is no longer completed on the `LibraryElement`s we obtain from the analyzer via `code_transformers`, we need APIs that will allow us to reliably detect when a `null` valued constant is unresolved, and to request the resolution of that unresolved constant.

The changes could affect code_transformers and/or analyzer. Reflectable has no access to the relevant AnalysisContext so in reflectable we cannot directly make calls like context.computeLibraryElement(source), but code_transformer presumably has no access to Source values for libraries which are not given as assets (and neither does reflectable), so there is a need for getting those source values out of the analyzer, or being able to ask the analyzer to complete the resolution of any given LibraryElement.

Actually, every element knows the context in which it was created, so, given the classElement that has the annotation you're interested in, you could write:
classElement.context.computeLibraryElement(classElement.library.definingCompilationUnit.source);

Clearing out 1.15 milestone as the last full push to dev has happened. If any changes are required before 1.15 is shipped, please file a merge request

Wow, I've got something that works now!  \o//
Testing, double-checking, etc.

https://codereview.chromium.org/1761423002/ uses lazy and fine-grained constant resolution based on Resolver.computeLibraryElement, and allows reflectable to depend on 'analyzer' ^0.27.2 rather than the single version 0.27.1. When landed, that should resolve this issue.

Addressed by https://github.com/dart-lang/reflectable/commit/543ad76b62681b9cb2a49c163cbefa34d4b521bd.


DDC runtime has unnecessary checks

Our runtime is largely written in Dart.   In places where we're not careful with types (and some places where we are are) unnecessary runtime checks are creeping in to potentially performance important code.  We should audit the generated code for our runtime and keep an eye on this.  Examples:
FunctionType._process has a dsend.
Dart.Typedef has a check on the return of the functionType getter.  This shouldn't be needed at all, and should at most be done once when _functionType is set.
dart.getFunctionType has a check on args
_dartSymbol has a check
_canonicalMember has a check
checks and dsends in debugger and formatter code
Lots of checks in JSArray (some may be necessary, but not all)

Some checks removed:
https://codereview.chromium.org/2927763004/

_dartSymbol is fixed in https://codereview.chromium.org/2934623003/

CL out shortly to fix all of these, except debugger stuff which I split out: https://github.com/dart-lang/sdk/issues/29834

https://codereview.chromium.org/2932043003


fix: github workflow vulnerable to script injection

Hi! I'm Diogo from Google's Open Source Security Team(GOSST) and I'm dropping by to suggest this small change that will enhance the security of your repository by preventing script injection attacks through your GitHub workflows.
In the piece of code I changed, you were directly using the value of a variable that comes from a user's input, so a malicious user could exploit that input and use it to run arbitrary code. By using an intermediate environment variable, the value of the expression is stored in memory, used as a variable and doesn't interact with the script generation process. This mitigates the script injection risks and also keeps your workflow running exactly as before.
You can find more information about this on this github documentation or in this gitguardian blogpost.
Cheers!

Hey @rahul2393, seems like the auto merge didn't happen because one of the test failed. Should I do anything about it?


Large calldata in eth_sendRawTransaction  causes a timeout exceeded error

Description
Making calls to eth_sendRawTransaction with large calldata (i.e. 12+ kB) return the following error:

Error invoking RPC: timeout exceeded

There are several internal calls to /transactions/... leading up to this error that result in code 404
Followed by this error message:

Failed to successfully submit sendRawTransaction for transaction .....

However, the same calls to /transactions/... succeed when tried again several minutes later
Steps to reproduce
make a call to the sendRawTransaction endpoint with a large transaction
curl my-rpc-endpoint -X POST -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0x[LARGE_TRANSACTION]"],"id":1}'

Additional context
Logs - newest to oldest

--------

[2024-10-24 10:12:14.069] ERROR (rpc-server/89 on mainnet-json-rpc-relay-797979dc48-8m8sq):
[Request ID] Error invoking RPC: timeout exceeded
}
"validNetworkError": false
},
"_code": 21
"status": {
at rejected (/home/node/app/packages/relay/dist/lib/clients/sdkClient.js:25:65)
at Generator.throw (<anonymous>)
at SDKClient.<anonymous> (/home/node/app/packages/relay/dist/lib/clients/sdkClient.js:447:40)

--------

Error: timeout exceeded
"stack":
"message": "timeout exceeded",
"type": "SDKClientError",
err: {
[2024-10-24 10:12:13.069] ERROR (relay-eth/89 on mainnet-json-rpc-relay-797979dc48-8m8sq):
[Request ID] Failed to successfully submit sendRawTransaction for transaction XXX...YYY...ZZZ
}
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at rejected (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:25:65)
at Generator.throw (<anonymous>)
at MirrorNodeClient.<anonymous> (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:213:22)
at MirrorNodeClient.handleError (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:246:31)

--------

Error: Request failed with status code 404
"stack":
"message": "Request failed with status code 404",
"type": "Error",
err: {
[2024-10-24 10:12:12.069] ERROR (mirror-node/89 on mainnet-json-rpc-relay-797979dc48-8m8sq):
[Request ID] [GET] transactions/0.0.XXX-YYY-ZZZ?nonce=0 404 status
}
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at rejected (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:25:65)
at Generator.throw (<anonymous>)
at MirrorNodeClient.<anonymous> (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:213:22)
at MirrorNodeClient.handleError (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:246:31)

--------

Error: Request failed with status code 404
"stack":
"message": "Request failed with status code 404",
"type": "Error",
err: {
[2024-10-24 10:12:11.069] ERROR (mirror-node/89 on mainnet-json-rpc-relay-797979dc48-8m8sq):
[Request ID] [GET] transactions/0.0.XXX-YYY-ZZZ?nonce=0 404 status
}
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at rejected (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:25:65)
at Generator.throw (<anonymous>)
at MirrorNodeClient.<anonymous> (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:213:22)
at MirrorNodeClient.handleError (/home/node/app/packages/relay/dist/lib/clients/mirrorNodeClient.js:246:31)

--------

Error: Request failed with status code 404
"stack":
"message": "Request failed with status code 404",
"type": "Error",
err: {

[2024-10-24 10:12:10.069] ERROR (mirror-node/89 on mainnet-json-rpc-relay-797979dc48-8m8sq):
[Request ID] [GET] transactions/0.0.XXX-YYY-ZZZ?nonce=0 404 status

Hedera network
mainnet
Version
v0.56.0
Operating system
Linux

Thanks @thusaras-vc , we're actively looking into this and will update on a direction to improve the experience here

Heyy @thusaras-vc trhank you for taking the time to report this! This appears to be a known issue, for which we recently pushed a fix (PR#3161). Occasionally, transactions encounter "SDK timeout exceeded" (and sometimes "Connection Dropped") errors from the SDK but still potentially reach the consensus level. The fix in PR#3161 implemented filtering for these specific errors and continuing to poll the mirror node to confirm whether the transaction indeed failed or still made it to the EVM.
Just for a POC, I submitted a transaction with a calldata length of 12.3 KB on the Hedera testnet and things were working as expected. The transaction can be viewed on Hashscan here.
A few questions for clarification:

Did you find this issue occurs consistently or intermittently?
Could you please provide an example of large calldata to help with testing?
Which Relay are you using for submission? Was it your own Relay or the Hashio Relay?
Finally, could you please kindly run this test with the large calldata again with the latest Relay and confirm if the issue still happens?
Appreciate the time and effort!

Additionally, regarding the 404 errors, these are expected as the mirror node sometimes requires extra time for records to fully populate. These errors may result from polling requests made by the Relay to the MN to check for records.

Reported in and tracked by https://github.com/hashgraph/hedera-sdk-js/issues/2614


Trim tailing slash in Headscale URL field

Minor issue: if Headscale URL is filled to include a trailing /, this causes the requests to Headscale to be of the form https://server//api/... which returns 404s.
Options:

Assuming that headscale-ui is indeed served from /web/ and heascale's API is at /, this could be auto-configured;
The UI should hint that trailing /s are probably unnecessary, or
The trailing / should be trimmed automatically

Thanks!

I'm not actually getting this issue. I can configure the app to remove the trailing slash regardless (probably not a terrible idea), but I can't recreate the problem either.


What is this all about?!

Is this really a MarkerWithLabel library? Is it maintained at all? Is it working? Why does the description say The library creates and manages per-zoom-level clusters for large amounts of markers. which is the description of a MarkerClusterer lib?
If it's not working/not maintained, I'd suggest you simply delete this repo as people seem confused. And in case you still maintain it, then please provide an appropriate description. Thanks.

Thanks for reporting, but please don't be so hostile.


changes

Docs Build status updates of commit 609c7c2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

README.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


respond with failure message if request is not successfully committed

given
saga is up & running and receives a request
when
any transaction in the request fails to commit
then
respond with failure status code

https://github.com/ServiceComb/ServiceComb-Saga/pull/26