x/crypto/ssh: Session.Run() returns error EOF

Hi,
I'm trying to run commands on a router through SSH. The program works fine if I run it against an OpenSSH server, but against the router with its own proprietary implementation of ssh, Session.Run() returns the error EOF. I'm running Go 1.6.2 and tried executing this program on Linux amd64, Windows amd64, Windows i386. Is this a bug and is there a work around?
package main

import(
        "log"
        "bytes"
        "golang.org/x/crypto/ssh"
)

func main() {
        config := &ssh.ClientConfig{
                User: "admin",
                Auth: []ssh.AuthMethod{ssh.Password("admin")},
                Config: ssh.Config{
                        Ciphers: []string{"aes128-cbc"},
                },
        }

        client, err := ssh.Dial("tcp", "<IP_ADDRESS>:22", config)
        if err != nil {
                log.Fatalln("Unable to connect: " + err.Error())
        }

        defer client.Close()

        session, err := client.NewSession()
        if err != nil {
                log.Fatalln("Unable to open session: " + err.Error())
        }

        var b bytes.Buffer
        session.Stdout = &b

        err = session.Run("show Device")
        if err != nil {
                log.Fatalln("Unable to run command: " + err.Error())
        }

        log.Println(b.String())
}

The program returns the following:
Unable to run command: EOF.

CC @agl @hanwen

There is a debugMux variable that you could set which will print what goes over the wire. That might explain in more detail what is going on. WIthout further info, I'd assume the remote device is picky about how the command is formatted, and closes the connection on any problem.

@hanwen Thank you for answering. I do know that whenever I exit, the server returns status code -1. Could that be causing the problem?
2016/06/28 19:44:50 send global(1): ssh.channelOpenMsg{ChanType:"session", PeersId:0x1, PeersWindow:0x200000, MaxPacketSize:0x8000, TypeSpecificData:[]uint8(nil)}
2016/06/28 19:44:50 decoding(1): 91 &ssh.channelOpenConfirmMsg{PeersId:0x1, MyId:0x11c0b511, MyWindow:0x0, MaxPacketSize:0x88b8, TypeSpecificData:[]uint8{}} - 17 bytes
2016/06/28 19:44:50 send(1): ssh.channelRequestMsg{PeersId:0x11c0b511, Request:"exec", WantReply:true, RequestSpecificData:[]uint8{0x0, 0x0, 0x0, 0xb, 0x73, 0x68, 0x6f, 0x77, 0x20, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65}}
2016/06/28 19:44:50 decoding(1): data packet - 11 bytes
2016/06/28 19:44:50 decoding(1): data packet - 11 bytes
2016/06/28 19:44:50 decoding(1): data packet - 923 bytes
2016/06/28 19:44:50 decoding(1): data packet - 11 bytes
2016/06/28 19:44:50 decoding(1): 97 &ssh.channelCloseMsg{PeersId:0x1} - 5 bytes
2016/06/28 19:44:50 send(1): ssh.channelCloseMsg{PeersId:0x11c0b511}
2016/06/28 19:44:50 decoding(1): 93 &ssh.windowAdjustMsg{PeersId:0x1, AdditionalBytes:0x2800} - 9 bytes
2016/06/28 19:44:50 Unable to run command: EOF

Our library is waiting for the exit-status or exit-signal message, which isn't coming. According to RFC 4254, those are optional, so we should probably do something intelligent in case the remote end doesn't send a status message.

I'm happy you found the possible solution, do you know how long it will take before this gets fixed?

I'd need to set aside some time, which I am short of.  I may be able to get to it next week.
If you like challenges, you could try to setup a server inside the unittests that mimicks this failure mode. That would make it easier to see how to fix it.
(I think we should return a special error that signals that the exit code wasn't returned).

You can actually download the real OS and run it in VMWare/KVM.
If you register an (free) account on clavister.com, then you can download the image of cOS Core.
It will go into lockdown mode after 2 hours, but then you can simply reboot it.

I mean: we'll need a unittest written in Go that demonstrates the problematic behavior before we attempt a fix. The debug log is enough information to write such a test.

I have made a CL that handles lack of exit-status more specifically, see https://go-review.googlesource.com/#/c/24727/1
However, this isn't the real problem (turns out we had a test for this all along.) The real problem is here:
2016/06/28 19:44:50 decoding(1): 97 &ssh.channelCloseMsg{PeersId:0x1} - 5 bytes
2016/06/28 19:44:50 send(1): ssh.channelCloseMsg{PeersId:0x11c0b511}
2016/06/28 19:44:50 decoding(1): 93 &ssh.windowAdjustMsg{PeersId:0x1, AdditionalBytes:0x2800} - 9 bytes
after receiving the channel close message, we send a close message too. At this point, channel ID 0x01 is unused. However, the remote side then sends windowAdjustMsg erroneously, to a non-existent channel 0x01, which I would expect to trigger this error path
https://github.com/golang/crypto/blob/master/ssh/mux.go#L243
I don't understand why you see EOF though. If you could insert some debug prints and see which error path triggers it, that would be helpful.

I'm not sure how to debug this? How do I find the function that returns this error?

see
https://play.golang.org/p/GBpKnBRL2N
you'd change all error returns to use withLN.

Your solution didn't work, but I used grep to find any line containing EOF in the library and found where the EOF error gets returned.
It's in channel.go at line 591.

oh. your device's SSH is screwed up.
2016/06/28 19:44:50 send(1): ssh.channelRequestMsg{PeersId:0x11c0b511, Request:"exec", WantReply:true, RequestSpecificData:[]uint8{0x0, 0x0, 0x0, 0xb, 0x73, 0x68, 0x6f, 0x77, 0x20, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65}}
it's asking for a  reply to the "exec" message, which never comes.
I think your best bet is to reimplement 'exec' support from session.go for this device, but changing WantReply to false.


[Azure Load Test] Secret instructions not quite correct

[Enter feedback here]
I have just been experimenting with the section on using a secret in a script:
https://learn.microsoft.com/en-us/azure/load-testing/how-to-test-secured-endpoints?tabs=portal#retrieve-and-use-the-secret-value-in-the-jmeter-script
In my testing, the instructions/screenshots shown result in the secret being put into the URI as a parameter, not an Authorization header as the text implies. To get it into the header (which I suspect will be most commonly wanted), you need to add an "HTTP Header Manager" to the "HTTP Request" in JMeter, although the settings show on the docs page do then work.
I know that strictly speaking this is an issue configuring JMeter, rather than Azure Load Test, but it would be helpful if the screenshots resulted in the 'Auth header' behaviour described.

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

ID: f1d0dc38-d758-c941-5ec2-e13ba48650bf
Version Independent ID: 651c8038-8d84-18a4-765e-270d3e44d4a3
Content: Load test authenticated endpoints
Content Source: articles/load-testing/how-to-test-secured-endpoints.md
Service: load-testing
GitHub Login: @ntrogh
Microsoft Alias: nicktrog

@riedgar-ms
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@riedgar-ms Thanks for your feedback. The sample should indeed be using an HTTP Header Manager. I'll update the article accordingly.

@riedgar-ms The documentation updates are ready to be published and should be live later this week. Thanks for the feedback!

#please-close


 This is likely one of those!
See #584, up to 87ea87f8a1a906306668ca1a3e29098c91346bf6
Sporadically, some of the "Extension scripts" jobs fail with this:
2024-06-30 23:16:20.247 UTC [29589] LOG:  omni_httpd: Established listener on 8080
2024-06-30 23:16:20.253 UTC [29575] LOG:  received smart shutdown request
waiting for server to shut down....2024-06-30 23:16:20.255 UTC [29589] LOG:  Terminated omni_httpd
2024-06-30 23:16:20.256 UTC [29575] LOG:  background worker "logical replication launcher" (PID 29583) exited with exit code 1
pg_ctl: server does not shut down
........................................................... failed
HINT: The "-m fast" option immediately disconnects sessions rather than

Where omni_httpd extension is created and then promptly shut down.
Some of the omni_httpd workers seemingly don't get shut down. I've spent some time on this and couldn't pinpoint it exactly.
One of the subtle observations I had is that, seemingly, postmaster was sending the termination signals to one of the processes twice and skipping one of the processes. This is my biggest clue so far.
P.S. omni_httpd, one of the oldest extensions, is not a shining example of code quality. It was very much experimental and is due to be replaced by generalized workers (omni_workers) – but for the time being, it'd be cool to solve the edge cases it has!

Bounty size: $250
Read more about bounties

For extra info, this occurred on https://github.com/omnigres/omnigres/actions/runs/9830277033/job/27136953727

Observing this much more rarely.


ftp Connect: "PASV: Operation not permitted" when on mobile connection

Hi,
I have no issues connecting to my webspace (ftp, no secure connection) when I´m connected via Wifi - everything works fine.
But as soon as I´m outside and try to connect via mobile connection, I always get the error "PASV: Operation not permitted".
This is NOT an issue with the connection itself or with my provider limiting some kind of data transmission: I have the very same LTE connection on both my tablet and my phone (both Android 11), and when I connect my tablet via Wifi hotspot of my phone, everything works great again on the tablet. Same thing the other way round. So, what´s the problem here?

Thanks for reporting this issue, let me regenerate this issue and fix it.


[3pts] - Display list of cab on the main page

In this milestone, I was able to add the following features;

[x] Create a cab model to represent cab items.
[x] Define the necessary attributes such as name, description, and any other relevant details. Establish a relationship between the cab model and the User model, if needed, to track ownership or reservations.
[x] Implement the main page to display a list of cabs, fetching the necessary data from the database.
[x] Implement controller actions(index,create,destroy,show)

Hello @AbdimulhinYussuf3675 , Great work so far.
You should not have added that you implemented the destroy and show method for the cab controller, because these methods are not in your work yet.


README crate badge sends to "Page removed"

When clicked on button for pypi it redirected me to non existing website.
Sorry, the page you requested has been permanently removed.

I would submit the change by myself, but I'm not sure where it should be pointing to.

to the pypi then

Changed url to pypi.


Add TS definitions

What:
Added TypeScript definitions
Why:
To help users of TypeScript to integrate the react-toggled in their projects
How:
Followed the way types are implemented in Downshift library. Added typings folder, specified types location in package.json. Additionally created basic test file and added test:ts to validate command (same as on in Downshift case)
Checklist:

[x] Documentation
[x] Tests
[x] Ready to be merged
[x] Added myself to contributors table

I totally understand that you won't maintain these types. I actually integrated react-toggled at work after watching your egghead course (Advanced React Component Patterns - awesome course by the way!). We are using Typescript, so naturally, I have to maintain types for React-Toggled, I thought I might as well maintain them here.
So yes, I am prepared to take care of these types, if you introduce any changes.
By the way, I tried to run the script for adding contributors npm run add-contributor however, I get error: Error: Cannot find module 'all-contributors-cli/cli'

Thanks so much for your help! I've added you as a collaborator on the project. Please make sure that you review the other/MAINTAINING.md and CONTRIBUTING.md files (specifically the bit about the commit messages and the git hooks) and familiarize yourself with the code of conduct (we're using the contributor covenant). You might also want to watch the repo to be notified when someone files an issue/PR. Please continue to make PRs as you feel the need (you can make your branches directly on the repo rather than your fork if you want). Thanks! And welcome to the team :)


Feature Request: Support dynamic custom base URLs

I've read the documentation here: https://laravel.com/docs/9.x/vite#custom-base-urls
But it looks like this is all or nothing?
Currently when using Laravel Mix with the spatie/browsershot package, in order to render views behind authentication we need to pass the rendered HTML rather than the URL to it like so:
Browsershot::html(
    view("myview")->render()
)->pdf();

In the layout file of that particular view, instead of normally using {{ asset(mix('css/app.css')) }} we use {{ public_path(mix('css/app.css')) }}.
Unfortunately with Laravel Vite, it's prepending the ASSET_URL to everything making it impossible to use the public_path() instead.
Is there a way around this behaviour or the ability to simply return the relative compiled file without the URL like Laravel Mix default behaviour? If not, can we add something like {{ Vite::AssetWithoutURL('resources/sass/app.scss') }} or something similar?
Thanks.
Edit: My current workaround is the following:
public_path(
    Str::replace(
        config('app.url'),
        '',
        Vite::asset('resources/sass/app.scss')
    )
);

Hey guys, I'm starting to think this is just a loopback networking issue on my dev environment (WSL2). I'm looking into it more as there is no reason my static assets shouldn't be available to Puppeteer I'm thinking.
Though, I still do believe it would be beneficial to have some function or way to retrieve the compiled asset relative path similar to what the mix() function did.
Will update again when I figure out this loopback issue in WSL2.


commitChanges async api

Hi John,
Please review. I am testing SET commands and just did basic testing now. This might not be ready to merge yet until I validate the changes but please provide your review comments. Thanks

Attaching logs file for deadlock issues observed.
448_endWriteBatch_async_crash.txt
logs_2.txt

@paulmchen @JohnSully Hi John, here is the PR for the async commit which we went over last Friday.  Please help review when you get a chance.  @AnkitaSuman07 For the issue you are facing today,  please share more details in this PR with John.

@paulmchen @JohnSully Hi John, here is the PR for the async commit which we went over last Friday. Please help review when you get a chance. @AnkitaSuman07 For the issue you are facing today, please share more details in this PR with John.

Hi John,  I observed the AePostFunction callback function is not processed and waits forever. There was no keydb crash observed but there is this never ending wait in the task queue.
23639:23872:M 31 Oct 2023 02:51:33.952 # redisDbPersistentData::processStorageToken
23639:23872:M 31 Oct 2023 02:51:33.952 # RocksEncoderStorageProvider::beginWriteBatch
23639:23872:M 31 Oct 2023 02:51:33.952 # RocksEncoderStorageProvider::begin_endWriteBatch
23639:23873:M 31 Oct 2023 02:51:33.952 # redisDbPersistentData::processStorageToken
23639:23872:M 31 Oct 2023 02:51:33.952 # Populating token objects
23639:23873:M 31 Oct 2023 02:51:33.953 # RocksEncoderStorageProvider::beginWriteBatch
23639:23873:M 31 Oct 2023 02:51:33.953 # RocksEncoderStorageProvider::begin_endWriteBatch
23639:23873:M 31 Oct 2023 02:51:33.953 # Populating token objects
23639:23874:M 31 Oct 2023 02:51:33.990 # redisDbPersistentData::processStorageToken
23639:23874:M 31 Oct 2023 02:51:33.991 # redisDbPersistentData::processStorageToken
23639:23874:M 31 Oct 2023 02:51:33.991 # RocksEncoderStorageProvider::beginWriteBatch
23639:23874:M 31 Oct 2023 02:51:33.991 # RocksEncoderStorageProvider::begin_endWriteBatch
23639:23874:M 31 Oct 2023 02:51:33.991 # Populating token objects
23639:23871:M 31 Oct 2023 02:51:33.991 # redisDbPersistentData::processStorageToken
23639:23871:M 31 Oct 2023 02:51:33.992 # RocksEncoderStorageProvider::beginWriteBatch
23639:23871:M 31 Oct 2023 02:51:33.992 # RocksEncoderStorageProvider::begin_endWriteBatch
23639:23871:M 31 Oct 2023 02:51:33.992 # Populating token objects
23639:23873:M 31 Oct 2023 02:51:34.081 # redisDbPersistentData::processStorageToken
23639:23873:M 31 Oct 2023 02:51:34.081 # RocksEncoderStorageProvider::beginWriteBatch
23639:23873:M 31 Oct 2023 02:51:34.081 # RocksEncoderStorageProvider::begin_endWriteBatch
23639:23873:M 31 Oct 2023 02:51:34.081 # Populating token objects

Please let me know if you can see anything is not correct

@JohnSully John, could you please take a look at this PR and see if the change makes sense. Thank you.

What problem i have when applying this commit
memtier got stuck in the middle, and it seems threads are hanging somewhere in the code logic so that either building a new redis-cli command or run a redis cli command is not possible, redis cli commands just got stuck

How i can reproduce it
When running the following memtiers on client machine, the memtier process may get stuck at a couple of percent or more and please note that this issue is not reproducible consistently because sometimes the same memtier script was able to finish the whole run.
./memtier_benchmark -s <IP_ADDRESS> -p 8000 -t 8 -c 50 -n allkeys -d 32 --random-data --randomize --key-minimum=1 --key-maximum=6000000 --ratio 1:0 --key-pattern=P:P --hide-histogram --cluster-mode
./memtier_benchmark -s <IP_ADDRESS>  -p 8000 -c 2500 -t 4 -n 15000 --random-data --randomize --distinct-client-seed -d 32 --key-maximum=150000000 --key-minimum=1 --ratio=1:0 --key-pattern=P:P --show-config --cluster-mode

What i am thinking could be, please check which part of change that i made
The happy flow should be aePostFunction makes the callback to processStorageToken, and eventually invokes complete_endWriteBatch
However, sometimes, occasionally, processStorageToken callback was not being invoked, neither the complete_endWriteBatch. And both keydb logs and memtier command just stuck there.
We may suspect some locking things or maybe how writebatch used , may contribute to some complication which occasionally contributes to this threads hanging scenario.
Really appreciate it if you can take a look at our implementation and see anything looks a bit suspcious.
We have put a log entry in beginWriteBatch, processStorageToken, complete_endWriteBatch for tracking when the functions are executed.

the following is subset of log since we log everytime when those functions are invoked and the whole log is huge. The problem is not consistent reproducible so we had to let the memtier run a bit while, eventually it stuck at beginwritebatch.

keydb-subset.log
@paulmchen @JohnSully

@JohnSully Could you please check the issue mentioned in the previous message by @yzhao244?  We think the problem could be listed in 3, but we would like to hear your thoughts. Thank you.

@JohnSully Also, we would like to ask your opinion how to block clients in commitChanges.
void redisDbPersistentData::commitChanges(const redisDbPersistentDataSnapshot **psnapshotFree)
{

    std::unordered_set<client *> setcBlocked; //How to block clients in commitChanges
    if (m_pdbSnapshotStorageFlush)
    {
        dictIterator *di = dictGetIterator(m_dictChangedStorageFlush);
        dictEntry *de;
        while ((de = dictNext(di)) != nullptr)
        {
            serializeAndStoreChange(m_spstorage.get(), (redisDbPersistentData*)m_pdbSnapshotStorageFlush, (const char*)dictGetKey(de), (bool)dictGetVal(de));
        }
        dictReleaseIterator(di);
        dictRelease(m_dictChangedStorageFlush);
        m_dictChangedStorageFlush = nullptr;
        *psnapshotFree = m_pdbSnapshotStorageFlush;
        m_pdbSnapshotStorageFlush = nullptr;
    }

    if (m_spstorage != nullptr)
    {
        auto *tok = m_spstorage->begin_endWriteBatch(serverTL->el, storageLoadCallback);
        if (tok != nullptr)
        {
            for (client *c : setcBlocked) //need to check how to push client to blocked list
            {
                if (!(c->flags & CLIENT_BLOCKED))
                    blockClient(c, BLOCKED_STORAGE);
            }
           // tok->setc = std::move(setcBlocked);
            tok->db = this;
            tok->type = StorageToken::TokenType::BatchWrite;
        }
    }
}

@JohnSully a quick update. Ankita has resolved code review comments. :)


5.8.0 - More UI enhancements

Mostly markdown related

would be a good time to add a top-level tab that shows markdown for the original config + schema + maybe some render-time metadata

not worth it I don't think, could easily just look at config source etc


CREATE TABLE with UNIQUE columns

From issue https://github.com/meteor-stream/meteor-postgres/issues/239

In Todo List example, when i am creating table using the data types and options below. The $unique give me the above error. Any ideas why $unique is not working?
var usersTable = {
    id: ['$number'],
    name: ['$string', '$notnull','$unique']
  };
  username.createTable(usersTable);

The problem with UNIQUE keyword in the column. TO be checked.

I added UNIQUE keyword in the list of column constraints, but the feature is not supported yet. I estimate that it takes about a month to add this functionality.
The minor syntax fix is available in develop branch or will be included in version 0.1.4 on May 11, 2015.

Solved. WIll be available in version 0.1.4.


*: support parsing BACKUP and RESTORE statements

What problem does this PR solve?
Added the BACKUP, RESTORE and SHOW BACKUP/RESTORE statements to parser.
BACKUP DATABASE * TO 'local:///tmp/archive01/';
BACKUP DATABASE `a` TO 'local:///tmp/archive02/';
BACKUP TALBE `a`.`b` TO 'local:///tmp/archive03/';
RESTORE DATABASE * FROM 'local:///tmp/archive01/';
RESTORE DATABASE `a` FROM 'local:///tmp/archive02/';
RESTORE TALBE `a`.`b` FROM 'local:///tmp/archive03/';
BACKUP DATABASE * FULL TO 'local:///tmp/archive04/';
BACKUP DATABASE * INCREMENTAL UNTIL TIMESTAMP '2020-02-02 14:15:16' TO 'local:///tmp/archive05/';
BACKUP DATABASE * INCREMENTAL UNTIL TIMESTAMP_ORACLE<PHONE_NUMBER> TO 'local:///tmp/archive06/';

BACKUP DATABASE * TO 's3://my_bucket/path'
    RATE_LIMIT = 100 MB/SECOND
    SNAPSHOT = 2 HOUR AGO
    CONCURRENCY = 32
    S3_REGION = 'us-west-1'
    S3_USE_ACCELERATE_ENDPOINT = 1;

SHOW BACKUP;
SHOW RESTORE;
SHOW BACKUP LIKE 'b01234';
SHOW BACKUP WHERE status <> 'running';

These are needed for integrating BR into TiDB (PR will come later).
(Note: because the new unresolved keyword S3_USE_ACCELERATE_ENDPOINT is longer than all existing tokens, forcing gofmt to replace the entire token map, I've taken advantage of this to sort the entire tokenMap)
What is changed and how it works?
↑
Check List
Tests

Unit test

Code changes
Side effects
Related changes

Need to update the documentation
Need to be included in the release note

LGTM
With this feature implemented,  preparing some test cases can be much faster.

@kennytm please resolve conflicts, it seems to be merged soon

PTAL again @tangenta @tiancaiamao thanks.

LGTM


matchers.go:335:19: undefined: matchers.HaveExactElementsMatcher

cp from go-redis:
../../../go/pkg/mod/github.com/bsm/gomega@v1.27.7/matchers.go:335:19: undefined: matchers.HaveExactElementsMatcher

@dim

Ooops, solved in https://github.com/bsm/gomega/releases/tag/v<IP_ADDRESS>


React native webview make app crash on ios 13.7

Bug description:
React native webview is seemed to be the cause of crashing app on ios 13.7.
Please note that i am working on M1 mac mini so i need to run arch -x86_64 pod install instead of npx pod-install when installing package.
To Reproduce:

npx react-native init test
cd test && yarn add react-native-webview && cd ios && arch -x86_64 pod install
Change code inside App.js:

import React, { useState } from 'react'
import { SafeAreaView, TouchableOpacity, Text, View } from 'react-native'
import WebView from 'react-native-webview'

export default function App() {
  const [load, setLoad] = useState(false)

  return (
    <SafeAreaView style={{
      flex: 1
    }}>
      <TouchableOpacity style={{
        flex: 1
      }}
        onPress={() => setLoad(!load)}
      >
        <Text>Open</Text>
      </TouchableOpacity>
      <View style={{
        flex: 1
      }}>
        {load && <WebView
          source={{
            uri: 'https://reactnative.dev'
          }}
        />}
      </View>
    </SafeAreaView>
  )
}

Open test.xcworkspace, choose the target is iPhone 11 Pro Max (14.5) then press Run to make sure every works fine.
Stop building, switch target to iPhone 11 Pro Max (13.7) then press Run and this bug occurs.
Expected behavior:
react-native-webview should not break the app.
Screenshots/Videos:
(step 4):

(step 5):

Environment:

OS: MacOS
OS version: MacOS BigSur 11.2
react-native version: 0.64.2
react-native-webview version: 11.6.2

I'm facing the same issue, @thainquet have you resolved it?

not yet @jorgeruvalcaba ....


Zoom direction is Flipped

Hi,
You can invert the wheel zoom direction by inverting the wheel delta in NCeticNpp\Forms\Viewform.cs
glControl.MouseWheel += new MouseEventHandler((s, ea) =>             {                 view.WheelZoom(ea.X, ea.Y, -ea.Delta);             });


CLI ng build --prod command

OS?
Windows 7
Versions.
angular-cli: 1.0.0-beta.18
node: 6.9.1
os: win32 x64
Repro steps.
Create command:
ng build --prod
It was an app wich is made with ng , but some classes created by hand, I worked on Heroes Details Routing tutorial part.
The log given by the failure.
C:\Users\iminar\Dev\angular\modules@angular\compiler-cli\src\codegen.ts:1......
What I found weird, is that it is mentionning the  Igor Minar's Dev path (I think).

Are you able to push a test repo or more specific repro steps please?
Something that others can repeat to see the error, you know.
Also, would be awesome if you could try with latest / current version. That is beta.19-3 at the time of writing.

Hi, I am sorry I was wrong in fact when I use this command this will happen:
ng build --aot
Config :
angular-cli: 1.0.0-beta.18
node: 6.9.1
os: win32 x64
and this is the error log (C:\Users\Dell\angular-work\my-site\ is my path but it is weird when we see the path of Igor Minar):
this.compiler.analyzeModules is not a function
TypeError: this.compiler.analyzeModules is not a function
at CodeGenerator.codegen (**C:\Users\iminar\Dev\angular**modules@angular\compiler-cli\src\codegen.ts:125:45)
at AotPlugin._make (C:\Users\Dell\angular-work\my-site\node_modules@ngtools\webpack\src\plugin.js:186:43)
at Compiler. (C:\Users\Dell\angular-work\my-site\node_modules@ngtools\webpack\src\plugin.js:151:75)
at Compiler.applyPluginsParallel (C:\Users\Dell\angular-work\my-site\node_modules\tapable\lib\Tapable.js:156:14)
at Compiler. (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\Compiler.js:463:8)
at Compiler.applyPluginsAsync (C:\Users\Dell\angular-work\my-site\node_modules\tapable\lib\Tapable.js:73:70)
at Compiler.compile (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\Compiler.js:456:7)
at Compiler. (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\Compiler.js:219:10)
at Compiler.readRecords (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\Compiler.js:367:10)
at Compiler. (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\Compiler.js:216:9)
at next (C:\Users\Dell\angular-work\my-site\node_modules\tapable\lib\Tapable.js:81:11)
at Compiler. (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\CachePlugin.js:34:58)
at Compiler.applyPluginsAsync (C:\Users\Dell\angular-work\my-site\node_modules\tapable\lib\Tapable.js:85:13)
at Compiler. (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\Compiler.js:213:8)
at next (C:\Users\Dell\angular-work\my-site\node_modules\tapable\lib\Tapable.js:81:11)
at Compiler. (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\node\NodeEnvironmentPlugin.js:23:3)
at Compiler.applyPluginsAsync (C:\Users\Dell\angular-work\my-site\node_modules\tapable\lib\Tapable.js:85:13)
at Compiler.run (C:\Users\Dell\angular-work\my-site\node_modules\webpack\lib\Compiler.js:210:7)
at C:\Users\Dell\angular-work\my-site\node_modules\angular-cli\tasks\build-webpack.js:26:29
at Class.run (C:\Users\Dell\angular-work\my-site\node_modules\angular-cli\tasks\build-webpack.js:25:16)
at Class.run (C:\Users\Dell\angular-work\my-site\node_modules\angular-cli\commands\build.js:50:26)
at Class. (C:\Users\Dell\angular-work\my-site\node_modules\angular-cli\lib\models\command.js:152:17)
at tryCatch (C:\Users\Dell\angular-work\my-site\node_modules\rsvp\dist\lib\rsvp-internal.js:215:12)
at invokeCallback (C:\Users\Dell\angular-work\my-site\node_modules\rsvp\dist\lib\rsvp-internal.js:230:13)
at C:\Users\Dell\angular-work\my-site\node_modules\rsvp\dist\lib\rsvp\then.js:29:16
at flush (C:\Users\Dell\angular-work\my-site\node_modules\rsvp\dist\lib\rsvp\asap.js:85:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

@MaherSoua it is indeed weird that you get that path. If I had to bet, this is related to a certain combination of versions of angular packages.
Can you try updating your CLI version, making a branch new project, and copying your source files into src/app? This should clear up any versioning problems.

Closing as fixed.


Update provider version to 5.38

Submission Checklist
Please take the following actions before submitting this pull request.

Fork your PR branch from the Toolkit "develop" branch (not main)
Test all changes with pre-commit in a local branch #
Confirm that "make tests" passes all tests
Add or modify unit tests to cover code changes
Ensure that unit test coverage remains above 80%
Update all applicable documentation
Follow Cloud HPC Toolkit Contribution guidelines #

/gcbrun

Let's run integration tests.

Ran the integration tests and all pass


refactor(description): added a detailed description about the package

Added the description to increase the PUB POINTS ( Follow Dart file conventions section )

@sonikro , Please consider my PR if it is useful


Add dual of mpl mathtext syntax for latex drawer labels

Summary
This commit adds a new feature to the latex drawer that adds support for
a similar syntax to matplotlib's mathtext to labels on the latex drawer.
In matplotlib if you specify a string between two dollar signs (for
example $\gamma$) that string will be parsed with mpl's native TeX
expression parser and that will be used to layout and render the string
per the TeX syntax. This uses the same syntax as mathtext, and enables
users to write raw latex syntax as gate labels between a pair of dollar
signs. All characters outside of the dollar signs are treated as utf8
and get encoded by pylatexenc to create valid latex, however all text
inside the dollar signs get passed verbatim to the output latex. This
enables users to mix and match having their unicode encoded for them and
manually passing latex
Details and comments
Fixes #3171

Just for everyone's reference taking the example the release notes and running it locally will yield:


sg3 bz1805468

Changes for sg2
Use best bridge args from testing
Updated CSV and container values for new SG
Updated core image name & scorecard
fixed "replaced" line in csv
Adjust template to support ceilometer metrics too
Update description in CSV (#53)

I'm actually going to close this PR and let @csibbitt open one when he is ready (after merging CI work).


Specify that a state machine should be generated with events in an event queue

Originally reported on Google Code with ID 260
Owned by msstraightway

Add a keyword 'queued' before a state machine that would change how events work. Events
would be queued. This would generate slightly more complex code but would make the
code work in a multi-threaded environment.
See also issue 232

Reported by @umple on 2012-01-27 19:39:43

This was completed long ago


feat: [evmos] upgrade evmos to v10.0.0 and proposals parsing to correctly parse gov v1 module proposals

Description
Closes: #XXXX
BDU-731

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[x] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[x] targeted the correct branch
[x] provided a link to the relevant issue or specification
[x] added a changelog entry to CHANGELOG.md
[x] included comments for documenting Go code
[x] updated the relevant documentation or specification
[x] reviewed "Files changed" and left comments if necessary
[x] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

@MonikaCat Can you fix the linting please?

Codecov Report

:exclamation: No coverage uploaded for pull request base (chains/evmos/mainnet@ef47f0e). Click here to learn what that means.
The diff coverage is n/a.

@@                   Coverage Diff                   @@
##             chains/evmos/mainnet     #519   +/-   ##
=======================================================
  Coverage                        ?   54.80%
=======================================================
  Files                           ?       20
  Lines                           ?     1518
  Branches                        ?        0
=======================================================
  Hits                            ?      832
  Misses                          ?      582
  Partials                        ?      104


Native export does nothing on Windows 10 when launched from cmd-line

Native export using export native doesn't produce anything and gives no messages. When trying to execute and pressing  it also doesn't do a proper carriage return.

does it reproduce on every cartridge or only specific?

Update: Applies to all carts - but in this case I was launching tic.exe manually through command line. When I launched it from the itch client it worked OK. I think I have found the problem:

Suggested fixes:

Handle error more gracefully
Create directory if missing

fixed in .40


implemented splash screen

closes #11

Any updates on this, @metzgaria? Btw: you only need to clean up your PR, I will handle merging the changes from master.

Oh sorry, I will be back tomorrow and start again then.

No problem, take your time. Just wanted to check if you ran into any problems.


"Call to a member function relationLoaded() on null"

Laravel Version: 7.6.#
Voyager Version:1.1.#
PHP Version: 7.1

private function loadPermissionsRelations()
{
$this->loadRolesRelations();
    if (!$this->role->relationLoaded('permissions')) {
        $this->role->load('permissions');
        $this->load('roles.permissions');
    }
}

Please search before opening a new issue.
Duplicate of https://github.com/the-control-group/voyager/issues/2451


Can a title get 48 likes?

.......

It's crazy, a title can get so many likes by deceiving people


feat: add option strict that throws an error if the input is not valid JSON

As discussed in https://github.com/unjs/h3/pull/201.

Thanks!


[FEAT] Decks that share flashcards

I don't know if this could be a thing or not, or even if other people would find this is useful, but I was wondering if you can add the possibility of having decks which share flashcards:
Example:
In your space repetition plugin option menu set as flashcard tags both tag1 tag2.
Then you create a noteA with both tag1 and tag2 and define some flashcards in it.
Now all the flashcards in the noteA should appear in both decks.
I think that decks could share the same  so if you review q (a flashcard that deck_tag1 has in common with deck_tag2) in deck_tag1 there is no need to review q again in deck_tag2.
I don't know if I'm the only one, but I think this could be so useful.
Hope I was clear enough.
Thanks

@MePando Just add #flashcard (or whatever) as your flashcards note tag (in the settings) and use #flashcard/tag1 and #flashcard/tag2 in the notes. You will get two sub-decks 'tag1' and 'tag2' under the 'flashcard' deck. The sub-decks can also share cards: if a note contains both nested tags (e.g., #flashcard/tag1 #flashcard/tag2 ), cards from it will be present in both sub-decks. At least it is how it seems to work for me.

I guess the "problem" here is related to #495

@putzwasser I have retested it just now and can confirm that the behavior is the same as in your case on Windows.
It may be just my lousy attention, but I was sure I have the same card under tag1 and tag2 at the time of initial posting.

Duplicate of #495
Will be tracking this issue there


[3.9] oozie coordinator concurrency and throttle value can not save

Hi~
I discovery that if you create a coordinator job and do not change the settings Concurrency and Throttle value. Let them to be default value. Then save it and submit the job.
Next, you modify the same coordinator settings Concurrency and Throttle value to be other value (like 1 ,2 , 3, ... ). Save it and submit the job.
You will find the Concurrency and Throttle value is still in default value.  the save will be failed.
is it a bug?
Only the first time is default value is wrong.
If the first time you sent the job, you modify the Concurrency and Throttle value to be real integer. Next time the two value can be modified again. It is normal.
thanks.

I have the same issue on Hue 3.10.0-amzn-0
Note that I'm running EMR's Hue.

This was fixed recently - https://issues.cloudera.org/browse/HUE-4738
and is targeted for 3.12


[GUI] Groups: page internationalization (Modal Window "Remove Group")

Modal window to confirm "Remove Group" has not been translated into Portuguese.

Affected Version: 0.3.0-nightly_20181227

Test NOK.
"Group" has not been translated into Portuguese.

Test OK.

Tested on Version: 62.3-20190603


Update ruletester to be multi-goroutined.

A bunch of goroutines are starved waiting on channels- but the program should end immediately after, so it shouldn't matter.
So LGTM

LGTM


Migrate to new Cache realization

Rename property Db\Table::$table to Db\Table::$name

Coverage decreased (-0.2%) to 64.924% when pulling b062061db5c25ff229f1111af6325ab147731bf6 on AntonShevchuk:master into e080ab033e3915af7ff0a4376345c5895225a9b6 on bluzphp:master.

Coverage decreased (-0.2%) to 64.924% when pulling b062061db5c25ff229f1111af6325ab147731bf6 on AntonShevchuk:master into e080ab033e3915af7ff0a4376345c5895225a9b6 on bluzphp:master.

Coverage decreased (-0.2%) to 64.924% when pulling bd1dadeed129dba931b2d9b247a28bbfdf2a888c on AntonShevchuk:master into e080ab033e3915af7ff0a4376345c5895225a9b6 on bluzphp:master.

Coverage decreased (-0.2%) to 64.924% when pulling bd1dadeed129dba931b2d9b247a28bbfdf2a888c on AntonShevchuk:master into e080ab033e3915af7ff0a4376345c5895225a9b6 on bluzphp:master.


Notify executing pipeline on resource termination by timeout

In case the resource is destroyed by timeout - pipeline sometimes just sitting there and waits for the agent to come back. Plugin need to monitor that and abort the pipeline by timeout if Application was deallocated. It's possible to get the Application state from the description.
Expected Behaviour
If Application state is changed from Allocated to something else - notify the workload about that.

Found that there is a logical error I've made:
https://github.com/adobe/aquarium-net-jenkins/blob/v0.5.0/src/main/java/com/adobe/ci/aquarium/net/AquariumChannelListener.java#L51-L56
Another thing I found during testing - that it aborts the entire pipeline, not just the thread executed on this computer, so need to rethink how to trigger that.


Allow superusers to access all projects

Steps to test/reproduce
As a superuser visit the Project list and you should now be able to access all projects even if you don't have access to the associated repository.

 As a Django superuser, I want to see all Metecho Projects (even if I don't have access to the GH repo).


RFC: Add std::process::exit

Add a new function to the std::process module to exit the process immediately
with a specified exit code.
Rendered

I'm sympathetic to the idea that we should let main() be optionally typed as fn() -> i32, but even if we decided to do that, we'd still have a use for std::process::exit().

:+1:, although I find it mildly odd to put this in std::process, because everything else in that module is for dealing with child processes, not for dealing with the current process. That said, std::env::exit() would also be slightly odd, and I can't think of any other better place, so I guess std::process is fine.

but even if we decided to do that, we'd still have a use for std::process::exit()

This is a good point, and I feel the same way! I'll add some text related to this in the RFC.

I find it mildly odd to put this in std::process, because everything else in that module is for dealing with child processes, not for dealing with the current process.

Our plan is to expand the module to also allow inspection of remote processes, sending signals, etc. In that sense it may not always be specifically about child processes. I also consider process::exit along the lines of thread::sleep where the top level functions are affecting the current process or current thread.

yes please

Since we’re adding a function for this (yay), we should also guarantee at_exit-registered functions are executed.

@nagisa yeah I'm not quite sure how to word the documentation given that rt::at_exit is #[unstable] right now. For now I don't think we buy much providing a hard guarantee that those closures are run (due to it not mattering to otherwise-stable code). I do think, however, that this should definitely play into the stabilization of std::rt::at_exit1

Hmm, there's another major motivation for this that I can think of, which is ending the process without risking unwinding across an FFI boundary, e.g. in a Rust function that has been passed to a C library as a callback.
IIRC, unwinding past an FFI boundary is undefined behavior, but we don't have a very solid recommendation for what you should actually do if you need to terminate the process and a foreign function is (or may be) on the stack. About the only thing that you can do to prevent this right now is either call the libc::exit, or maybe try to stop the unwinding by triggering a double panic in a destructor in code nearest to the FFI?

This was discussed at today's meeting which echoed the support found on this RFC thread. This API is clearly important to provide in some form, and there's little question as to its API. Landing it now will make it possible to yield an exit code without having to stabilize the problematic set_exit_code.
Tracking issue


ENH topomap validation and bad channels

When using mne to plot topomaps computed with some external methods, it highlights a channel that appears to be "bad", in the sense that the topomap is discontinuous:

Here is a snippet reproducing this topomap with files from numpy_files.zip:
import numpy as np
import mne

pos = np.load("pos.npy")
u_hat = np.load("spatial_map.npy")

mne.viz.plot_topomap(u_hat, pos)

I would be interested in having a utility function returning the spatial regularity of a topomap and the potential bad channels. And I think it would be better in mne as you need to correctly parse the position of each sensor to compute the spatial differential.

is this a plotting bug or you really have a bad channel channel in this smooth topo? one way to quantify smoothness would be the look at spectrum (spatial). You could compute the eigenvectors of the laplacian of the graph of sensors .... an alternative would be to look at dipolarity with a forward operator.

I don't think it is a plotting issue as I have not seen that with experiments on somato. But it might be a bug in the sensor mapping from mne-hcp.
I would avoid dipolarity for that as we might have maps with non-dipolar patterns, e.g. topomaps of auditory evoked responses.
Do you have something in mind to compute the graph of sensors? Or do you mean the complete graph? Or just some nearest neighbor graph?
I was thinking of interpolating each sensors based on all other and compare the value. Then you could see if some sensors are way off compared to the other.

I don't think it is a plotting issue as I have not seen that with experiments on somato. But it might be a bug in the sensor mapping from mne-hcp.

can we check? I would be surprised though

I would avoid dipolarity for that as we might have maps with non-dipolar patterns, e.g. topomaps of auditory evoked responses.

ok

Do you have something in mind to compute the graph of sensors? Or do you mean the complete graph? Or just some nearest neighbor graph?

graph of neighbors
see for example :
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0121741

I was thinking of interpolating each sensors based on all other and compare the value. Then you could see if some sensors are way off compared to the other.

that's another option.


[Not merge] Let other threads work in RxQueryTest

Part of #826

Codecov Report

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

@@           Coverage Diff           @@
##           master     #827   +/-   ##
=======================================
  Coverage   97.39%   97.39%
=======================================
  Files          89       89
  Lines        2692     2692
  Branches      302      302
=======================================
  Hits         2622     2622
  Misses         38       38
  Partials       32       32

Continue to review full report at Codecov.

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

Just in case there is "Raw log" button on Travis, then just search for "Failed" :)
// Regular Travis log UI freezes my computer lol

Yes, I knew. It was very critical when log took 4Mb =)

Almost hour of reading source code (damn I love how we wrote StorIO, so readable), changes and debugging — facepalm.jpg
parallelWritesWithoutTransaction is incorrect :D
DefaultPutResolver does put in transaction, which means that StorIO has all rights to merge notifications occurred during transaction, @nikitin-da your super useful logs (not joking) clearly show that StorIO delivers notifications, but less than test expect, also you can see that StorIO detects notification emission during transaction in the logs and simply merges them.
Haven't looked into second test that fails, but so far I'm thinking either about deleting parallelWritesWithoutTransaction test or renaming and fixing assertion.
I'll continue tonight and post separate PR with fixes, again, @nikitin-da thank you for great logs!

this one can be closed, right?

@geralt-encore sure!
Fixed via #829


Add @Nullable and @NonNull annotations to OnItemBind methods and elsewhere

Adding annotations to specify what can and cannot be null will allow proper null-checking in Kotlin.  Right now, for example, we have code like this:
OnItemBind<MyItem> { itemBinding, _, item ->
        itemBinding!!.set(BR.item, item!!.layout).bindExtra(BR.vm, this)

I am making the assumption that itemBinding cannot be null, but perhaps there might be times when it is... ?   If so, this will crash.

In this case, itemBinding cannot be null. But yeah I'll add annotations.

https://github.com/evant/binding-collection-adapter/pull/139 Added a bindingcollectonadapter-ktx module as well to make item binding a bit nicer. Ex: your example would be:
val binding = itemBindingOf<MyItem> { itemBinding, _, item ->
    itemBinding.set(BR.item, item.layout)
}.bindExtra(BR.vm, this)


Module parse failed: Unexpected token

Describe the bug
`./node_modules/react-square-web-payments-sdk/dist/components/divider/divider.es.js 10:13
Module parse failed: Unexpected token (10:13)
File was processed with these loaders:

./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| }) => /* @PURE /React.createElement(Line, { ...props
| }, / @PURE */React.createElement(SpanText, { ...spanProps

}, children ?? "or"));
|
| export { Divider as default };
`

Your Example Website or App
test.com
Steps to Reproduce the Bug or Issue
I moved from "react-square-web-payments-sdk": "^2.2.3" to "react-square-web-payments-sdk": "^3.2.1"
Upon doing a yarn start I get the following error after converting everything specified
https://react-square-payments.weareseeed.com/docs/migrating-from-v2-to-v3
Here is my package.json
{   "name": "example",   "version": "0.1.0",   "private": true,   "dependencies": {     "@bugsnag/js": "^7.16.2",     "@bugsnag/plugin-react": "^7.16.4",     "@date-io/moment": "^2.11.0",     "@emotion/react": "^11.4.1",     "@emotion/styled": "^11.3.0",     "@mui/icons-material": "^5.5.1",     "@mui/material": "^5.0.0",     "@mui/styled-engine-sc": "^5.0.0",     "@testing-library/jest-dom": "^5.11.4",     "@testing-library/react": "^11.1.0",     "@testing-library/user-event": "^12.1.10",     "axios": "^0.19.2",     "babel-plugin-import": "^1.13.5",     "connected-react-router": "^6.6.1",     "customize-cra": "^0.9.1",     "date-fns": "^2.24.0",     "eslint": "^6.8.0",     "eslint-config-react-app": "^5.2.0",     "eslint-plugin-cypress": "^2.9.0",     "eslint-plugin-flowtype": "3",     "eslint-plugin-import": "^2.20.1",     "eslint-plugin-jsx-a11y": "^6.2.3",     "eslint-plugin-react": "^7.18.3",     "eslint-plugin-react-hooks": "1",     "global": "^4.4.0",     "globalize": "^0.1.1",     "history": "^4.10.1",     "jwt-decode": "^2.2.0",     "less": "^3.10.3",     "less-loader": "^5.0.0",     "moment": "^2.29.1",     "prop-types": "^15.7.2",     "react": "^18.2.0",     "react-acceptjs": "^0.2.0",     "react-app-rewired": "^2.1.8",     "react-authorize-net": "^0.5.7",     "react-device-detect": "^2.2.2",     "react-dom": "^18.2.0",     "react-images-uploading": "^3.1.3",     "react-intl-redux": "^2.2.0",     "react-medium-image-zoom": "^4.3.5",     "react-quill": "^1.3.3",     "react-redux": "^7.1.3",     "react-router": "^5.1.2",     "react-router-dom": "^5.1.2",     "react-scripts": "^4.0.0",     "react-square-web-payments-sdk": "^3.2.0",     "redux": "^4.0.5",     "redux-persist": "^6.0.0",     "redux-saga": "^1.1.3",     "styled-components": "^5.3.1",     "styled-normalize": "^8.0.6",     "sweetalert2": "^11.2.1",     "tsconfig-paths-webpack-plugin": "^3.5.1",     "tsdx": "^0.14.1",     "tslib": "^2.3.1",     "web-vitals": "^1.0.1"   },   "scripts": {     "start": "react-app-rewired --max-old-space-size=4096 start",     "build": "react-app-rewired --max-old-space-size=4096 build",     "test": "react-app-rewired --max-old-space-size=4096 test",     "eject": "react-scripts eject",   },   "devDependencies": {     "@mui/lab": "^5.0.0-alpha.47",     "eslint-config-prettier": "8.3.0",     "eslint-plugin-prettier": "3.4.0",     "gulp": "4.0.2",     "gulp-append-prepend": "1.0.9",     "prettier": "^1.19.1",     "start-server-and-test": "^1.10.8"   },   "optionalDependencies": {     "@babel/runtime": "7.13.8",     "typescript": "4.2.4"   },   "eslintConfig": {     "extends": [       "react-app",       "react-app/jest"     ]   },   "browserslist": {     "production": [       ">0.2%",       "not dead",       "not op_mini all"     ],     "development": [       "last 1 chrome version",       "last 1 firefox version",       "last 1 safari version"     ]   } }
Expected behavior
I would assume it working would be the expected behavior
Screenshots or Videos

Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

For anyone that runs into this. I updated the following:
1- "@testing-library/jest-dom"
2- "@testing-library/react"
3- "@testing-library/user-event"
4- "web-vitals"
And then installed:
yarn add @babel/plugin-syntax-import-assertions
yarn install


[RAC] --volume racstorage:/oradata hangs up container process on creation.

CMAN and RACStorage server has been created and launched successfully. The volume for NFS storage has also been created using the following command -
docker volume create --driver local \
--opt type=nfs \
--opt   o=addr=<IP_ADDRESS>,rw,bg,hard,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 \
--opt device=:/oradata \
racstorage

as specified in the README.
 The container is created correctly, but starting it up does nothing
[root@e2e ~]# docker start racnode1

I can't even seem to remove the container with docker rm racnode1 after I ctrl+c back into the shell -- the command does nothing there too. Running any command related to racnode1 does nothing. All other docker commands seem to work fine though.
However, removing the line --volume racstorage:/oradata from the container creation and then starting it up does properly startup the container properly -- obviously not successfully, since there is no volume for ASM storage then.
What could be the issue?

@ishammahajan
Please send me the output of of following:
docker logs -f racnode1 rpm -qa |  grep docker cat /etc/oracle-release uname -r docker info

@ishammahajan
I have one more question.  What was the sequence to delete the container? Did you delete first racstorage container or volume and then racnode container?
Also, login inside the container docker exec -i -t racnode1 /bin/bas and see if /tmp/orod.log is there? if yes, paste the contents.

@psaini79
docker logs -f racnode1: blank response -- no logs, I'm assuming
rpm -qa | grep docker:
docker-ce-19.03.8-3.el7.x86_64
docker-ce-cli-19.03.8-3.el7.x86_64

cat /etc/oracle-release: file doesn't exist on my file system. If you meant log into the container, I don't think the container has actually started with docker start. That's because docker ps doesn't return with the container's details.
uname -r: 3.10.0-957.12.1.el7.x86_64
docker info:
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 2
  Paused: 0
  Stopped: 1
 Images: 37
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 3.10.0-957.12.1.el7.x86_64
 Operating System: CentOS Linux 7 (Core)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 28.6GiB
 Name: e2e-66-149
 ID: 7JBE:XLCN:UWUK:3JNM:TLGJ:4KZQ:ON7H:W7LF:J34G:BJGJ:7ZIR:Q6SJ
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

docker exec -i -t racnode1 /bin/bash doesn't return anything because as mentioned above I don't think the container actually started up.

Sequence of deleting the container would be just docker rm racnode1 because again it doesn't seem like the container is running. (although docker stop racnode1 doesn't do anything as well -- just hangs up the terminal)

@ishammahajan
You are on UEK 3 but you must be on UEK 4 or UEK 5. I would prefer UEK 5 and OL 7. Also, use Oracle docker engine on OL and it should work without any issue.
For Oracle container runtime, please use following link:
https://docs.oracle.com/en/operating-systems/oracle-linux/docker/docker-install.html

Thanks! Would you please also let me know why this would affect the container not starting up?

 I would prefer UEK 5 and OL 7. Also, use Oracle docker engine on OL and it should work without any issue.

Just to clarify: this is the CentOS kernel or RHCK equivalent. Not the UEK.

@Djelibeybi thanks for clarifying! Unfortunately I don't know what step I should take. Since I don't have the UEK, what should I upgrade my CentOS kernel to -- which version?

CentOS (and RHEL)'s kernels tend to be too old for some of the requirements for RAC. I would encourage you to install Oracle Linux 7 Update 8 instead of CentOS, using the ISOs from here: https://yum.oracle.com/oracle-linux-isos.html
Like CentOS, Oracle Linux is free to download, distribute and use and all our errata are freely available too via yum.oracle.com.

Thanks @Djelibeybi  for the clarification.
@ishammahajan , We tested RAC with kernel version 4.1.x and 4.14 and actually RAC on Docker doesn't work with kernel version 3.x.  Please use the link @Djelibeybi  provided  to download and install OL and keep me posted if you see any issue for RAC on Docker setup.

@Djelibeybi unfortunately the server provider I use doesn't allow for OL as an OS. Is it possible that I run an OL container and within it run RAC?
Thanks for the info @psaini79 ! Make's my understanding much clearer.

@ishammahajan you can't nest containers. Perhaps you should consider running RAC via Vagrant/VirtualBox instead of Docker, so you can do it on your desktop: https://github.com/oracle/vagrant-boxes/tree/master/OracleRAC

So I installed the latest kernel. 5.6.4-1.el7.elrepo.x86_64 is the output of uname -r now. Remade all images and containers and ran them. Same issue. Can there be any other reason for the issue?

@ishammahajan
Seems there is some confusion as I clearly mentioned to try RAC on Docker  on UEKR5 which is based on 4.14 kernelline or UEKR which is based on 4.1 kernel main line on Oracle Linux with Oracle Container runtime not on kernel 5.6.
To understand UEKR5, you can see following blog:
https://blogs.oracle.com/wim/unbreakable-enterprise-kernel-release-5-for-oracle-linux-7
Also, you have not configured the docker host system as per the suggestion https://docs.oracle.com/en/operating-systems/oracle-linux/docker/docker-install.html i.e. overlay2 (storage driver) with xfs file system (backing file system).
I can see following in the output you have pasted me previously:
Server Version: 19.03.8
Storage Driver: overlay2
Backing Filesystem:
Once you configure it correctly, I am sure it should work without any issue. Though RAC on docker will not work on this machine as it is not configured correctly, let me understand the container startup issue correctly.

you started racstorage container
Note: Dd you check it started successfully?
Please paste output of docker logs -f racstorage
You mentioned if you remove /oradata then racnode1 comes up.
Paste me the logs of racnode1
nfs package detail
rpm -qa |  grep nfs-utils

@ishammahajan
Any update on this?

Ah, I forgot to respond. I haven't tried this yet, due to a lack of appropriate resources. I'll close this for now. Thanks for all the help! :)


docs(website): updated the telemetry page

📑 Description
Updated the telemetry page which just has a placeholder section until now
✅ Checks

[ ] My code requires changes to the documentation
[x] I have updated the documentation as required

ℹ Additional Information


20221217 dapi name bytes32

@dcroote Firebase fails. I updated VitePress to #32 which now uses Vite 4x. My last PR went thru (with #32) but this one gets the memory issue. I had updated NODE_OPTIONS: "--max_old_space_size=8192" as you see. A little scared at the memory needs to run the build. My local builds run fine.

The reemergence of the memory issue is troubling. We likely will have to take a different tack - GitHub Action Linux VMs have only 7GB of RAM, which also explains why you bumping max_old_space_size didn't work.


Error in logs

Hi.
Found your code and wanted to test it out on my appdaemon, but I get the following error:
2022-07-09 18:53:52.199027 WARNING nettleie_elvia: ------------------------------------------------------------
--
2022-07-09 18:53:52.198939 WARNING nettleie_elvia: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/appdaemon/threading.py", line 904, in worker funcref(self.AD.sched.sanitize_timer_kwargs(app, args["kwargs"])) File "/conf/apps/nettleie_elvia.py", line 22, in hourly_call self.set_states() File "/conf/apps/nettleie_elvia.py", line 91, in set_states self.priceInfo = self.maler_response["gridTariffCollections"][0]["gridTariff"]["tariffPrice"] TypeError: 'NoneType' object is not subscriptable
2022-07-09 18:53:52.198676 WARNING nettleie_elvia: ------------------------------------------------------------
2022-07-09 18:53:52.198496 WARNING nettleie_elvia: Worker Ags: {'id': '2cb9a4e24afa49339338e2c09b1c2af1', 'name': 'nettleie_elvia', 'objectid': '80efcaa027e447caa22fd0b3c3076cee', 'type': 'scheduler', 'function': <bound method NettleieElvia.hourly_call of <nettleie_elvia.NettleieElvia object at 0x14c33ba11be0>>, 'pin_app': True, 'pin_thread': 0, 'kwargs': {'__thread_id': 'thread-0'}}
2022-07-09 18:53:52.198343 WARNING nettleie_elvia: Unexpected error in worker for App nettleie_elvia:

Hi,
Thank you for reporting!
Are these the Home Assistant logs? If so, could you also post the logs from the AppDaemon add-in?
Further, have you tested the API on https://elvia.portal.azure-api.net/docs/services/gridtariffapi/operations/post-digin-api-v-tariffquery-meteringpointsgridtariffs? to check that you have the right X-API-Key and meteringPointId?

Hi.
These are from appdaemon actually and is reported as soon as appdamoen loads. No sensors are showing in HA.
I will check the IDs to make sure they are correct.
//UlfThomas

On 10 Jul 2022, at 09:09, Tom @.***> wrote:

Hi,
Thank you for reporting!
Are these the Home Assistant logs? If so, could you also post the logs from the AppDaemon add-in?
Further, have you tested the API on https://elvia.portal.azure-api.net/docs/services/gridtariffapi/operations/post-digin-api-v-tariffquery-meteringpointsgridtariffs? to check that you have the right X-API-Key and meteringPointId?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Verified - and changed the meter id - and now a different error message is reported:
2022-07-10 11:42:59.263869 WARNING nettleie_elvia: ------------------------------------------------------------
--
2022-07-10 11:42:59.263373 WARNING nettleie_elvia: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/appdaemon/threading.py", line 904, in worker funcref(self.AD.sched.sanitize_timer_kwargs(app, args["kwargs"])) File "/conf/apps/nettleie_elvia.py", line 22, in hourly_call self.set_states() File "/conf/apps/nettleie_elvia.py", line 91, in set_states self.priceInfo = self.maler_response["gridTariffCollections"][0]["gridTariff"]["tariffPrice"] KeyError: 'gridTariffCollections'
2022-07-10 11:42:59.261606 WARNING nettleie_elvia: ------------------------------------------------------------
2022-07-10 11:42:59.261282 WARNING nettleie_elvia: Worker Ags: {'id': '722de9619d0b4b4084790120904151b0', 'name': 'nettleie_elvia', 'objectid': 'ab0fec321de54d5786d2d1bab29d20ad', 'type': 'scheduler', 'function': <bound method NettleieElvia.hourly_call of <nettleie_elvia.NettleieElvia object at 0x150c783ad730>>, 'pin_app': True, 'pin_thread': 0, 'kwargs': {'__thread_id': 'thread-0'}}
2022-07-10 11:42:59.260977 WARNING nettleie_elvia: Unexpected error in worker for App nettleie_elvia:
2022-07-10 11:42:59.260636 WARNING nettleie_elvia: ------------------------------------------------------------

And as always the error is on the user.
I had not declared the api and målerid as string. When doing so everything reports correctly.
Thank you for the effort and troubleshooting assistance.

Sorry for taking time to respond; vacation time 😃
I'm glad to hear you solved it! I should perhaps make a note in the README that the key and meterid should be strings.


win10 10.0.19045.2251 need supporting

Duplicate of https://github.com/stascorp/rdpwrap/issues/1992


[SPARK-42138][UI] Handle null string values in JobData/TaskDataWrapper/ExecutorStageSummaryWrapper

What changes were proposed in this pull request?

Similar to https://github.com/apache/spark/pull/39666, this PR handles null string values in JobData/TaskDataWrapper/ExecutorStageSummaryWrapper
Why are the changes needed?

Properly handles null string values in the protobuf serializer.
Does this PR introduce any user-facing change?

No
How was this patch tested?

New UTs

cc @LuciferYang @panbingkun @techaddict

@gengliangwang @dongjoon-hyun I add some new tasks and will start work later, @panbingkun @techaddict feel free to take anyone from the them and leave a comment that you are working on it:

SPARK-42139: Handle null string values in SQLExecutionUIData/SQLPlanMetric
SPARK-42140: Handle null string values in ApplicationEnvironmentInfo/RuntimeInfo/PairStrings/ExecutorResourceRequest/TaskResourceRequest
SPARK-42141: Handle null string values in ApplicationInfo/ApplicationAttemptInfo
SPARK-42142: Handle null string values in CachedQuantile/ExecutorSummary/PoolData
SPARK-42143: Handle null string values in RDDStorageInfo/RDDDataDistribution/RDDPartitionInfo
SPARK-42144: Handle null string values in StageData/StreamBlockData/StreamingQueryData
SPARK-42145: Handle null string values in SparkPlanGraphNode/SparkPlanGraphClusterWrapper

Some may be further consolidated into one task
And I re-open SPARK-41677

@dongjoon-hyun @LuciferYang Thanks for the review. Merging to master


chore: make sure to exit run script on interrupt

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix

What is the current behavior? (You can also link to an open issue here)

When creating the piece_group_control it has classes provided from the caller. This array is being reused across all the groups in the part, resulting in them using the same array reference.
When onTimelineGenerate modifies this property, it gets applied to every piece in the part

What is the new behavior (if this is a feature change)?

Clone the classes array before using it

Other information:

One of the timelineObjects I found. I was testing a lot of rapid camera cuts.
{
        "id" : "piece_group_control_kSk7b8NmS96qmHZREy_kckQ02DQ__KFnLAQcCicZr8xhYw_4PCDeCegxyTeSnSqk",
        "objectType" : "rundown",
        "enable" : {
            "start" : 138790.0,
            "duration" : 5000.0
        },
        "layer" : "studio0_graphics_super",
        "priority" : 5.0,
        "content" : {
            "deviceType" : 0.0,
            "type" : "callback",
            "callBack" : "piecePlaybackStarted",
            "callBackData" : {
                "rundownPlaylistId" : "ye8T_Hpg5nrN_zXHO2RwRtecqdg_",
                "partInstanceId" : "kSk7b8NmS96qmHZREy_kckQ02DQ__KFnLAQcCicZr8xhYw",
                "pieceInstanceId" : "kSk7b8NmS96qmHZREy_kckQ02DQ__KFnLAQcCicZr8xhYw_4PCDeCegxyTeSnSqk",
                "dynamicallyInserted" : true
            },
            "callBackStopped" : "piecePlaybackStopped"
        },
        "classes" : [
            "current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_camera0_current_part",
            "studio0_live_transition0_current_part",
            "audio_trigger_value_current_part",
            "studio0_graphics_super_current_part",
            "studio0_graphics_super_current_part"
        ],
        "inGroup" : "part_group_kSk7b8NmS96qmHZREy_kckQ02DQ__KFnLAQcCicZr8xhYw",
        "metaData" : {
            "isPieceTimeline" : true,
            "triggerPieceInstanceId" : "kSk7b8NmS96qmHZREy_kckQ02DQ__KFnLAQcCicZr8xhYw_4PCDeCegxyTeSnSqk"
        }
    },

Status

[ ] Code documentation for the relevant parts in the code have been added/updated by the PR author
[x] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report
Patch coverage has no change and project coverage change: +20.94 :tada:

Comparison is base (17399a6) 68.05% compared to head (e728aad) 89.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff               @@
##           release47     #909       +/-   ##
==============================================
+ Coverage      68.05%   89.00%   +20.94%
==============================================
  Files            280       11      -269
  Lines          34985     2400    -32585
  Branches        4676      306     -4370
==============================================
- Hits           23810     2136    -21674
+ Misses         10722      263    -10459
+ Partials         453        1      -452

see 269 files with indirect coverage changes

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


Migrate KSQL to RQ. Get rid of redux reducer

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)

Refactoring of KSQL DB Section
Get rid of redux for KSQL

Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[x] Manually (please, describe, if necessary)
[ ] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

@armenuikafka it is confirmed with @Haarolean. Am I right @Haarolean?

@armenuikafka @workshur yep that's alright, we'll update the design

thanks, I would like to highlight 2 things:

If "Execute KSQL Request”, opens the form, then the button keeps in a page without functionality
"Clear results" button I think should not be active if there are no results after execution

thanks, I would like to highlight 2 things:

If "Execute KSQL Request”, opens the form, then the button keeps in a page without functionality
"Clear results" button I think should not be active if there are no results after execution

FIXED
AS MENTIONED WILLL BE DONE IN A OTHER TICKET


v1.0.1

Fixed minor mistakes and AWS testing!
PR checklist

[x] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/marsseq branch on the nf-core/test-datasets repository.
[x] Make sure your code lints (nf-core lint).
[x] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[x] CHANGELOG.md is updated.
[x] README.md is updated (including new tool citations and authors/contributors).

TODO before merge:

bump-version to 1.0.1
update CHANGELOG date


GDScript parser sets error when _init() receive any arguments

see: https://github.com/godotengine/godot/issues/37907#issuecomment-614336557

The constructor should be allowed to have optional arguments. This is a common pattern for Object-derived classes, but it can also be used for Node-derived classes to set some properties immediately (this is even done in the C++ code for nodes like Label).

the _init() method never return any value and receive any arguments, and its being skipped to check function signature for virtual method override (may be for constructor can't be overridden)
https://github.com/godotengine/godot/blob/30ab5c9baae1cad3e157d906395a4eb8cef77e42/core/object.cpp#L1755
https://github.com/godotengine/godot/blob/30ab5c9baae1cad3e157d906395a4eb8cef77e42/modules/gdscript/gdscript_parser.cpp#L7908
in gdscript_parser.cpp every new method calls _init(a simplified code below) and if it's a native class (Label) it creates GDScriptNativeClass instance which then initialize the native class by allocating memory and initialize properties _post_initialize() which never needs the constructor argument
			bool is_initializer = callee_name == "new";
			...
			if (is_initializer && original_type.is_meta_type) {
			...
				callee_name = "_init";
			...
			}

from the above code trying to call new with argument is similar to calling _init with argument and  calling new with argument is invalid with error message Too many arguments for "_init" call. for every single node.
@Calinou

closing after https://github.com/godotengine/godot/pull/37923#pullrequestreview-397350075


Preserve functions in the bundle

When using with webpack, functions closeButtonPressed(),  openDeepLink(), copyClipboard() get removed from the bundle and/or functions names get mangled since windget is injected as a string.
This PR makes them available in window scope so they don't disappear from the bundle.

Merged to master branch


Adding FWB - Friends With Benefits Pro

Adding our new token

https://fwb.help/
https://medium.com/friends-with-benefits/introducing-fwb-pro-313d62183678
FWB Pro: https://etherscan.io/address/0x35bd01fc9d6d5d81ca9e055db88dc49aa2c699a8

Hi @hospitaltapes  - I would like to merge this request but there is a new requirement that the logo has to be in SVG format. Can I ask you to add it as a replacement for the PNG one? Thanks

Hi @hospitaltapes - I would like to merge this request but there is a new requirement that the logo has to be in SVG format. Can I ask you to add it as a replacement for the PNG one? Thanks

Done! Thanks!

Hi @hospitaltapes - I would like to merge this request but there is a new requirement that the logo has to be in SVG format. Can I ask you to add it as a replacement for the PNG one? Thanks

Any updates here?


Conversion not working for different type backing field.

I'm trying to bind data to getter property with Conversion but EF Core throws excpetion.
https://github.com/aspnet/EntityFrameworkCore/blob/d3335aa094b661c8c856b6a4d6391c2c713baf8d/src/EFCore/Storage/ValueConversion/ValueConverter`.cs#L53 lines cause exception when changing type.
If provided custom change type strategy over https://github.com/aspnet/EntityFrameworkCore/blob/dev/src/EFCore/Storage/ValueConversion/ConverterMappingHints.cs, it can be useful and will resolve the problem.
Exception message: Object must implement IConvertible.
Stack trace:    at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
   at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.Sanitize[T](Object value)
   at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.<>c__DisplayClass3_0`2.<SanitizeConverter>b__0(Object v)
   at Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.CreateParameter(DbCommand command, String name, Object value, Nullable`1 nullable)
   at Microsoft.EntityFrameworkCore.Storage.Internal.TypeMappedRelationalParameter.AddDbParameter(DbCommand command, Object value)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalParameterBase.AddDbParameter(DbCommand command, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.CreateCommand(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)

Steps to reproduce
public class Project
{
	private ISet<Member> _members = new HashSet<Member>();

	public string Id {get;protected set;}

	public IEnumerable<Member> Members => _members;
}

public class Member
{
	public string Id {get;protected set;}
	public string Name {get;protected set;}
}

// Mapping:
var converter = new ValueConverter<IEnumerable<Member>, string>(
    v => JsonConvert.SerializeObject(v),
    v => JsonConvert.DeserializeObject<IEnumerable<Member>>(v));

b.Property(x => x.Members)
.HasConversion(converter);

Further technical details
EF Core version: 2.1.0-preview2-final
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 Pro (x64)
IDE:  Visual Studio 2017 15.6.6

// Mapping:
var converter = new ValueConverter<IEnumerable<Member>, string>(
v => JsonConvert.SerializeObject(v),
v => JsonConvert.DeserializeObject<HashSet<Member>>(v));

@tangdf its not working, same error

Mapping:
   modelBuilder.Entity<Project>(
       b =>
       {
           var converter = new ValueConverter<HashSet<Member>, string>(
               v => JsonConvert.SerializeObject(v),
               v => JsonConvert.DeserializeObject<HashSet<Member>>(v));

           b.Property(x => x.Members)
               .HasConversion(converter);
       });

Enitty:
   public class Project
   {
       private HashSet<Member> _members = new HashSet<Member>();

       public string Id { get; protected set; }

       public HashSet<Member> Members => _members;
   }

this works but does not meet my expectations. I need to expose 'Members' property as readonly. I don't want to modify collections from the outside of model.

This is a duplicate of #11501--I tried with the current code base and it works correctly.
You may be able to test with the nightly builds of 2.1.


Issue #60

Teeny tiny baby HTML/CSS stuff

What on earth did I do to the CSS file to make it think I replaced everything


Wanted: What SDK language and function do you want?

Background
We have support SDK generating framework in the #5431. But only Golang SDK generation is actually provided and the function is limited. This issue is raised to collect the requirements of SDK.
What language of SDK do you want do use? What is your situation? And what function do you want SDK to provide? This requirement will influence the priority of #5365.
Reply templates
Here is a reply template, they are not required. Only answer to one of them is also welcomed.
### What language do you want to use?

### What function do you want SDK to provide?

### Other suggestions about SDK

What language do you want to use?
Java.
Other suggestions about SDK
Reading API on the stoplight has been very painful for me, especially when there's not enough documentation about it. Hope there's more demos and documentation.

Python

Typescript could also be another good option/


Handle inputRules on Enter

I'm creating an inputRule for links const inputRegexExact = /(https?:\/\/[\w\d./?=#]+)[\s\n]$/; that will create my link at the end of a line when the user hit enter. I didn't reach it but it will be perfect that the Enter trigger the inputRules and go to the line but only for marks
https://user-images.githubusercontent.com/20707343/128224623-c794fe97-8cc5-404e-a677-c096e30dcff9.mov
It work for Heading and block to
https://user-images.githubusercontent.com/20707343/128225481-37324416-6cb3-4636-902a-81d9fc1c4558.mov

I don't like how this blurs the meaning of the matched strings (that "\n" isn't actually in the document), and it seems like this would be really hard to use correctly, since you have to somehow duplicate all the complexities of the enter key's effect inside your input rule handler, alongside the text-changing effect it has.
A better approach might be a regular enter key handler that scans for the text itself, creates the link, and then call through to the default enter handlers.


Skywalking 3.x is compatible with JDK 1.6?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[√] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

Skywalking 3.x is compatible with JDK 1.6?

Yes. All agents in 3.x and 5.x should be JDK 1.6 compatible.


Wiki long term TODOS

[ ] - Standardize markdown code in all the articles. Some articles highlight some things which are not highlighted in other articles.
[ ] - Change the language of "in discussion draft" to the official names: Living Standard, Working Draft, Candidate Recommendation, Proposed Recommendation, ...
[ ] - Discuss if ToCs are useful
[ ] - Change Browser Intrinsic to No-Opt
[ ] - Check if adding a footnote or small explanation is relevant in articles mentioning (if strict) in defense table.
[ ] - These examples should be consistent across all articles (Case Scenarios)
[x] - Create experiments section
[ ] - Add a nice things section to mention stuff like same-site cookies default rollout, same-site cookies bypasses, and other interesting stuff related to XS-Leaks, CTF challenges with XS-Leaks
[ ] - Change Experiments section weight, so the section stays in the bottom.
[ ] - Change Why is this a problem? and Case Scenarios Titles
[ ] -  Uniform levels in markdown titles. Check all the articles
[ ] - Add a LICENSE
[ ] - Add contributors guide
[ ] - Document weight and hugo-book used stuff
[ ] - Swipe through the defense articles and add all the presented attack vectors.
[ ] - Remove xsleaks.github.io repo and point the domain directly to the wiki repo

Follow up with Mozilla regarding protections already implemented against Cache Probing attacks bug#1536058


REQUEST: New membership for @ksivamuthu

GitHub Username
Sivamuthu Kumar - @ksivamuthu
Requirements

[x] I have reviewed the community membership guidelines (https://github.com/dapr/community/blob/master/community-membership.md)
[x] I have enabled 2FA on my GitHub account. See https://github.com/settings/security
[x] I have subscribed to the Dapr community Gitter channel
[x] I am contributing (any of the following apply: issues, discussions, PRs, reviews) to 1 or more Dapr repositories

List of contributions to the Dapr project

PRs reviewed / authored
Issues responded to

Sponsors
@yaron2 @msfussell

I support this request.

Your membership has been approved, looks out for a GitHub invite to join the members team on the Dapr org.

Added


1.10.2 Crash on startup alongside with WTF's Expedition mod

Forge:  1.10.2-forge1.10.2-<IP_ADDRESS>4 (latest version crashes too)
DV/MW version: Latest 0003
WTF's Expedition: WTF-Expedition_1.10.2_v1.1
( http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2703761-wtfs-expedition-cavebiomes-ores-trees-and-more )
Crash report:
http://pastebin.com/gDMXr47s
My uneducated guess would be that either the ore replacment feature or the stalagmites are the culprits.

@WhiskyTangoFox From what I see on your repo this exception should be caught.
Nothing I can do from my end to my knowledge.


Fix typo (plain -> train) in the stable_diffusion notebook

This is my first open source contribution so if I am going about this the wrong way let me know, but I noticed this typo and thought I would open up a PR for it.

Thank you, and congrats on your first PR :)


intelamt provider interface

@jacobweinstock In a recent commit I broke a intelamt test https://github.com/bmc-toolbox/bmclib/actions/runs/3856309968/jobs/6572367721#step:4:403
To fix this, Im considering extending the amtProvider interface to include a IsNil() method.
Then the Compatible() method can check if the instance is IsNil(), and will enable  a mock instance to be passed in like you have here https://github.com/bmc-toolbox/bmclib/blob/main/providers/intelamt/intelamt.go#L110.
What are your thoughts on this?

Apologies, i ran through this PR too fast. Why is this needed amtclient, ok := c.client.(*amt.Client)? Couldn't a direct check of c.client == nil be used?

The nil check fails to match on the nil interface, and so it needs to be type asserted and checked

Hey Joel, sorry for the delayed response. I don't know if i following here. This code snippet below shows that a nil check on a nil interface does indeed work. Maybe I don't understand what you're saying, sorry.
https://goplay.tools/snippet/xQou00yUQfZ

https://goplay.tools/snippet/xQou00yUQfZ
Interfaces have a pointer to another construct, that construct could also be a pointer. The i == nil check only validates the internal interface pointer is not nil. If the internal interface pointer points to another pointer, that is nil, and tries to use it, it could result in a panic dependent on what the data structure is.

I took a deeper look at the code and I'm curious if we need 2 ways to initialize intelamt.Conn: via New and via Open having constructed the object. I'm guessing Open satisfies some interface? Can we drop Open as it would remove the need for .client == nil checks?
If Open is required, the only check that's needed is .client == nil return "connection uninitialized; Open() must be called Conn can be used". While my previous comment is true, its only relevant if some external entity can manipulate the .client field. This might be where Jacob was coming form with his previous comment.
In either case, the intelamt package doesn't expose .client as a field to be modified so the intelamt package is responsible for ensuring its safely initialized before use. Unit tests will panic if its not, which is fine because they're catching a programmer error which is their job.

Thanks for the feedback here, @jacobweinstock fix in #303 seems to work and so I'll close this issue.


Add support for javadocs

Hi,
I noticed that the :doc-jars tag was not supported by the maven plugin, so I added a quick and dirty fix.
Please not that the plugin does not download the javadocs automatically.
So before running the plugin please download the javadoc jars with:
mvn dependency:resolve -Dclassifier=javadoc
Hope this helps someone
Roll

For the note, this change and the new scalariform options have been released as part of version 0.0.5

Wow, that was very quick!
Thx!
If there is something else I can do, let me know.


Calling Problem

Hallo,
I have little problem.
Right now, I can register with my account after that I would like call only all my Project who I am register.
In the last step, I can pick one of the project and call all issuse what are include in that project.
Is that possible ?
I am thanks full for every solution.
regards Maarek

It is possible. You have tot call for a specific project GetTotalObjectList<Issue>(null) and you will get all the issues. If you need to filter the issues you can pass your filter instead of null.


Allow filtering on a Json[] of JSON objects in Postgres with has using json_array_elements

Problem
I have a JSON[] field in Postgres containing JSON objects.  I am unable to filter on the values of the objects in the array using the has filters.

Suggested solution
Postgres provides a solution for this in the form of the json_array_elements function. Prisma should allow us to filter on
// GIVEN:
// id = 1, jsonColumn = [{ field: 'abc' },{ field: 'def' },{ field: 'ghi' }]
// id = 2, jsonColumn = [{ field: 'abc' },{ field: '123' },{ field: '456' }]
// id = 3, jsonColumn = [{ field: 'abc' },{ field: '789' },{ field: 'XXX' }]

SELECT t.id, array_to_json(array_agg(j))
FROM your_table t, json_array_elements(t.jsonColumn) j
WHERE j->>'field' = 'abc'
GROUP BY id;

I would like to query this data with
const results = products.findMany({
  where: {
      validations: {
        has: {
          path: ['field'],
          equals: '123',
        },
      },
    }
}); // => { id = 2, jsonColumn = [{ field: 'abc' },{ field: '123' },{ field: '456' }] }

The prisma schema for this:
model product {
  id             Int      @id @default(autoincrement())
  validations    Json[]   @default([])
}

It's indeed what I need in my use case!


[vtk] add metadata and avoid display in attributes

From a bug found by @mjuhoor  and @paulineMig, metadata were shown in attributes of a vtk in the Settings.
This PR allows to add metadata in a VTK file.
:m:

Do we have an example file for testing that one ?
Thanks

There you go, just a left atrium surface mesh
atria_coarse.vtk.zip

I really believe that 'Field data' should not be available to be displayed in the 'Attributes' combo box of mesh interactors.
The 'Attributes' combo box changes the active (displayed) scalar field on the mesh defined at every point in the case of Point Data, or every cell for Cell Data.
Field data is supposed to hold data that is neither on points nor on cells. Therefore, it makes no sense to show Field Data in the combo box.

There is a parallel discussion related to this PR on a mail thread so to clarify things I'll recall what was said: In MUSIC we need to include the metadata inside the VTK and MHA files so that it can be retrieved when we export the files to another MUSIC installation. Without that, the reimported files have empty metadata. As a result of that functionality, the modified VTKs display the bug described by @mjuhoor, where the metadata tags appear in the attributes combo box.
This PR does not fix that bug. It introduces the code that writes the metadata in the VTK files (which causes the bug to appear). It should not be a problem for VTK files to have field data like this, so I agree with @mjuhoor that the bug should be fixed at the level of what is displayed in the attributes combo box.
On the other hand if you do not want the metadata to be exported as is done in this PR, we will make these changes on our fork since we need them anyways as @juliencastelneau pointed out by mail.

Ok,
Then, after yours precious responses of Mehdi, Julien, Maxime and Florent.C, I think it's better to wait until after holidays to do something good for all.
I move this PR to milestone 3.1.1, if a quick solution is find during the begin of January we can re-plan to 3.1.0

The attributes bug is fixed in https://github.com/medInria/medInria-public/pull/526. Note that this fix is still needed for MUSIC, even if the metadata export code presented here is not merged, because our database is full of files that already contain the metadata.

@fcollot can i close this PR?

We need this functionality, either here or on our fork, so if this isn't going to be merged here it has to be posted on our core.


Dungium golem

Task description
In addition to #171 another golem variant should be added, for the dungium metal tier.
This would be a recolour of the base iron golem, looking more like the dungium ore rocks.
References/notes
Dungium ore rocks:

Acceptance criteria
Code

A config for DungiumGolem should be added to the Mobs.yml config file.

Visual

3 animation frames for each direction (up, down, left, right (left but flipped)), to be played in the basic humanoid animation pattern used by other entities: 1 (standing), 2 (right step), 1 (standing), 3 (left step), repeating.
Expected files:
dungium-golem-up-1.png
dungium-golem-up-2.png
dungium-golem-up-3.png
dungium-golem-down-1.png
dungium-golem-down-2.png
dungium-golem-down-3.png
dungium-golem-left-1.png
dungium-golem-left-2.png
dungium-golem-left-3.png
dungium-golem-right-1.png
dungium-golem-right-2.png
dungium-golem-right-3.png

Can be started now.
Base iron golem sprites: https://github.com/Arcanorum/dungeonz/blob/master/client/src/assets/images/entities/characters/iron_golem


CSS mirroring does not work for inline stylesheets

Version:
1.4.1
OS:
Windows 11
Stack :
Error: cannot open file:///c%3A/Users/pabrosse/dev/edge-demos/detached-elements. Detail: Unable to read file 'c:\Users\pabrosse\dev\edge-demos\detached-elements' (Error: Unable to read file 'c:\Users\pabrosse\dev\edge-demos\detached-elements' that is actually a directory)
Additional context:

I think the problem is coming from the fact that my styles are in an inline <style> tag in the HTML file. Not in a separate stylesheet.

Interesting, will investigate.


Use existing or create new run with custome name

Why was this closed?

Submitting the PR was in error.


Please add a License

You're code is awesome! I'd love to use it in my projects in the future, but I'd like to ask for permission first.
I've heard good things about Apache 2.0

I thought I had uploaded the licence in the first commit. Problem corrected now


Add a way for users to clear their own cache

In anticipation of caching problems. Not sure if there's a nicer way to reload. We need to do a full page load though, otherwise the store will just get synced back into the cache again and nothing will have changed.

Perfectly fine for a beta and good to have.


Mumbai network is not defined

Describe the bug
The mumbai network is not defined as described in the readme for the Matic NFT tutorial
To Reproduce
Steps to reproduce the behavior:

Checkout matic-nft-tutorial and yarn install
Switch defaultNetwork to mumbai (It's not currently defined)
Run yarn generate

Expected behavior
The mnemonic to be generated as described in the readme
Screenshots

Looks like the issue is only with the matic-nft-tutorial branch, which is being linked to by the Polygon documentation