FastlaneCore::Interface::FastlaneCrash: [!] Could not retrieve response as fastlane runs in non-interactive mode

New Issue Checklist

[ ✅ ] Updated fastlane to the latest version
[ ✅ ] I read the Contribution Guidelines
[ ✅ ] I read docs.fastlane.tools
[ ✅ ] I searched for existing GitHub issues

Issue Description

Getting Following fastlane error when running the build on CircleCI
Command executed

Complete output when running fastlane, including the stack trace and command used

Fastlane version = 2.164.0
Ruby version = 2.7.0
fastlane-plugin-appcenter version = 1.9.0
Xcode version = 12.0.1
Stack

Key
Value

OS
10.15.7

Ruby
2.5.5

Bundler?
false

Git
git version 2.23.0

Installation Source
~/.rvm/gems/ruby-2.5.5/bin/fastlane

Host
Mac OS X 10.15.7 (19H2)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.5.5/lib

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
12.0.1

fastlane gems

Gem
Version
Update-Status

fastlane
2.164.0
✅ Up-To-Date

Loaded gems

Gem
Version

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

CFPropertyList
3.0.2

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-cursor
0.7.1

tty-spinner
0.9.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

ruby2_keywords
0.0.2

faraday
1.1.0

faraday_middleware
1.0.0

gh_inspector
1.1.3

mini_magick
4.10.1

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

bundler
2.1.4

naturally
2.2.0

simctl
1.6.8

uber
0.1.0

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

httpclient
2.8.3

google-api-client
0.38.0

jmespath
1.4.0

aws-partitions
1.384.0

aws-sdk-core
3.109.1

aws-sdk-kms
1.39.0

aws-sdk-s3
1.83.1

nanaimo
0.3.0

colored2
3.1.2

claide
1.0.3

atomos
0.1.3

xcodeproj
1.19.0

public_suffix
4.0.6

tty-screen
0.8.1

babosa
1.0.4

excon
0.78.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

fastimage
2.2.0

json
2.3.1

dotenv
2.7.6

declarative
0.0.20

multi_json
1.15.0

signet
0.14.0

os
1.1.1

memoist
0.16.2

googleauth
0.14.0

rake
13.0.1

digest-crc
0.6.1

google-cloud-errors
1.0.1

google-cloud-env
1.4.0

google-cloud-core
1.5.0

google-cloud-storage
1.29.1

emoji_regex
3.0.0

Can someone please help me, I'm also facing the same issue.

Does your Apple ID have 2 factor authentication active? Looks like Fastlane wants you to provide the sms code, which is not working in non-interactive modes. If possible switch to an Apple ID without 2factor/step authentication or use the App Store Connect API key where possible.

Hey @max-ott thanx for the response we have resolve this issue, it is because of we are not able to upload build to app centre through the CI, Which makes total sense for the error that we are getting from the fastlane "Could not retrieve response as fastlane runs in non-interactive mode". now it has been resolve thanks.

Hey @max-ott thanx for the response we have resolve this issue, it is because of we are not able to upload build to app centre through the CI, Which makes total sense for the error that we are getting from the fastlane "Could not retrieve response as fastlane runs in non-interactive mode". now it has been resolve thanks.

Hi. Could you describe how have you solved it and what was the root cause ?

Running a 2FA enabled Apple ID with CI/CD. As the name says it's a non interactive session. Either use an API key for authentication or an (old) Apple ID without 2FA enabled.

Running a 2FA enabled Apple ID with CI/CD. As the name says it's a non interactive session. Either use an API key for authentication or an (old) Apple ID without 2FA enabled.

but we're building android app and tying to upload it to app center only, without running any ios lanes. Moreover same pipeline locally works fine without any interactive

@oleg-lola Please open a new issue. This seems to be a different issue.

I'm also facing the same issue.

@FunnyFzl Please refrain from "me too" comments. Please post your full stack trace and steps to reproduce the issue as it's otherwise not very helpful.

@FunnyFzl
the reason why fastlane  appcenter upload step may fail  is wrong credentials to appcenter.
install appcenter-cli and  log in with appcenter login before the actual fastlane run


Production optimization for process.env.NODE_ENV

We currently apply process.env.NODE_ENV production optimizations for minification of CommonJS.
It would be worth moving this code removal process to run before picking up CommonJS dependencies. That would allow require statements within this wrapper to be removed from the tree, allowing a smaller code footprint at the end.

Is there a reason for only checking process.env.NODE_ENV in CommonJS modules? This would be useful in ESM to do debugging stuff without having separate entry points.

Detection and handling of these code paths can be done via pre-processing rather.


Add CuratorTestingServerExtension

Add JUnit Jupiter extension for testing with a ZooKeeper server
using Apache Curator's TestingServer
Add CuratorTestingServerException (thrown by the extension)
Add logback.xml config file to log all kiwi test code at TRACE level
when running the tests (and delete the now unnecessary .keep file)

Fixes #25
Fixes #26

I inadvertently said this fixes #25 as well as #26 -- that is not true. The #25 should have been #27


Create a secure home connection using a Pi-hole and Docker

Proposed title of article
create a secure home connection using a Pi-hole and docker
Introduction paragraph (2-3 paragraphs):
Threats have also increased with an increase in internet use. Digital safety has become an important issue. Our screens always contain insensible ads, pop-ups, notifications, banner ads, and so on, which you might not know about harmful malware. It also can threaten the digital safety and health of an individual. It also leads to poor browsing. Fortunately, some tweaks can fix the bug and problems and one such foolproof way is to program a low-cost computer for Pi-hole. It will block anything irrelevant that emerges on your display, check all incoming data from your preferred blacklists, and decide whether the packets should be passed on to your device.
Docker is a containerized technology tool. It's used with a variety of applications such as a web server, a DNS, and many others.
Key takeaways:
By the end of this article, the reader will understand :

what docker and Pi-hole are.
the installation of pi-hole software
how to set up Pi-hole and docker.
how to use Pi-hole as the DNS.

References:
N/A

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.  @neshmacharia

@neshmacharia
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved


length() on strings

This operator returns the byte length of the string (rather than the number of Unicode runes, which would be the Java way). Please clarify it in the Specification.

Indeed, the best behaviour would be to count grapheme clusters, but this behaviour is notoriously inconsistent between languages. So the best solution in our case is to use the utf8-encoded bytes length, to ensure consistency between all implementations.
You're welcome to open a PR to clarify this with the consistency rationale, else I'll do it in the upcoming days.

https://github.com/biscuit-auth/biscuit/pull/159


Unable to get disque running on separate docker containers to establish a cluster

I put together a docker container building disque https://registry.hub.docker.com/u/jobflow/disque/
I am able to deploy and run a single service. I can expose a port and connect to it from a disque client running on the same container or a different container.
But when connect to one instance and send the cluster meet with the ip and port of the other container it will attempt to cluster the instance but eventually fail.
I can link two containers and they will cluster fine, but you can not link a container to more than one. So building a cluster of 3+ isn't working.
I can run multiple disque service in a single container and they will cluster ok. It's just cross container communication that fails.
I wonder if this issue is similar to this one: Sentinel: Fix initial Hello source address
For more details see:
http://stackoverflow.com/questions/30904033/unable-to-get-docker-containers-running-disque-to-establish-a-cluster

@jmontemayor any progress since we talked yesterday?

I replied into the SO question. Thanks.

Thanks, exposing both 7711 and 17711 fixes this.


sv-plugin: Strip the node name using parent name instead of "."

Considering the fact that the name can consist of escaped characters, including dot, we need to change the way of stripping the name of a node - instead of a dot, we now use the ancestor name.
Added test: https://github.com/chipsalliance/UHDM-integration-tests/pull/730 (It fails formal verification because of sv2v being unable to handle escaped characters, but is useful as a parsing test.)
Test yosys-systemverilog CI run: https://github.com/antmicro/yosys-systemverilog/actions/runs/4916684728.

We've had an offline discussion about the vpi_handles and the other API of UHDM that allows dealing with objects, that we could consider here. I think using the UHDM::BaseClass -based stuff could also help us keep the code cleaner.

New yosys-systemverilog run: https://github.com/antmicro/yosys-systemverilog/actions/runs/5134240233.

Latest yosys-systemverilog run passed, only formal verification failed for some unexpected passes: https://github.com/antmicro/yosys-systemverilog/actions/runs/5134720743/jobs/9239550297.
When the PR is approved, I'll squash the commits with fixes and merge it.


Update to Google benchmark 1.7.0

This is a first step towards getting FreeBSD back on the same version as our other supported operating systems.

@kulibali can you look into the Windows failure?

Looking


Add Multiplication Table

There needs to be a button to pull up an overlay featuring a multiplication table.

added multiplication table


fix splitFileBySize - removed validation

Removed wrong validation.

Thanks, I'll put a new version on NPM soon.


add test for pandas argument and encoding

Issue #, if available:
add unit test for #271
Description of changes:
Add a unit test for testing pandas argument and encoding and newline argument for the fs.open command(https://github.com/awslabs/aws-data-wrangler/blob/b57e2b7245e999191918022341943884e49b2e4e/awswrangler/s3.py#L1654)
p.s. Because pandas.read_csv is in the pandas.concat section, a TypeError will raise when concat get a mock object returned from pandas.read_csv. So I used a try catch block to aviod the exception.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks a lot @bryanyang0528!
You can ignore the failed check above, it's my fault, I will fix it.

Thanks!

@igorborgest  yes, you are right. I forgot this way.
This is the output if I don't catch the exception, but it shout be caught by pytest.raises :

@bryanyang0528 this error is weird. Seems that the mocking are not working as expected.
Btw, what is the purpose of mocking these function? Why not let it simply run against moto as usual?

@igorborgest  I saw that you parsed parameters like encoding and newline from parameters which will pass to pandas and used them in fs.open. The logic here is a little complex for me. So I would like to use mock functions to make sure these parameters will be sent to both functions in the correct way.

@bryanyang0528 Oh I see. And are you expecting this error raised from pandas.concat? it seems a little bit weird to me. But if you are OK with that I will move on and merge it. :)

@igorborgest  This exception is intentional for me.

pd.read_csv will be called in this function . https://github.com/awslabs/aws-data-wrangler/blob/b57e2b7245e999191918022341943884e49b2e4e/awswrangler/s3.py#L1641

And the result of _read_text_full will be a part of pd.concat here https://github.com/awslabs/aws-data-wrangler/blob/b57e2b7245e999191918022341943884e49b2e4e/awswrangler/s3.py#L1606

So when I mock read_csv function.  _read_text_full will return a mocked object to pd.concat, and a TypeError will raise because of mocked object is not Series and DataFrame object.

@bryanyang0528 Understood. Thanks for the extended explanation!


Add GIDDataFetcher protocol and implementation

Extract a GIDDataFetcher protocol out of GIDSignIn. GIDSignIn uses this class to fetch user info. GIDProfileDataFetcher uses this to fetch profile data.. We need this protocol to encapsulate GTMAppAuthFetcherAuthorization and GTMSessionFetcher so other classes don't need to mock these low level classes. This can be considered as the pre PR for GIDProfileDataFetcher.
Details in this PR:

Add GIDDataFetcher protocol, implementation and fake.
Add GIDDataFetcherTest.
Use GIDFakeDataFetcher in GIDSignInTest.
Remove GIDFakeFetcher and GIDFakeFetcherService. Replace them in tests by GTMSessionFetcherTestBlock. This makes GSI more compact and easier to maintain.

Can you add some context in the PR description for the need of GIDDataFetcher, which does not seem to be part of your plan?

Can you add some context in the PR description for the need of GIDDataFetcher, which does not seem to be part of your plan?

I think I accidentally deleted the description. Added it back.

Can you add some context in the PR description for the need of GIDDataFetcher, which does not seem to be part of your plan?

I think I accidentally deleted the description. Added it back.

If we're adding another class, let's update the design to reflect this as well.

A few housekeeping items:

Update the PR description to address the GIDDataFetcher use case confusion.
Some of your new files here are being treated as moves.

Hi


Ideation added Sinistar

Issue #317
@TusharAMD pls check and merge

https://www.wikiwand.com/en/Sinistar

@TusharAMD for writing ideation of game, how can one classify as plagiarized. When I am referring to the internet for details of the game and am trying to provide all necessary details in the readme for anyone who wants to work on it. Since I am obviously not the creator of the game, how will it be considered plagiarism?
Also the link you provided showcases with the gameplay of the game which I used in the readme. Again the point of the readme is to provide all details to anyone who wants to work on the game,instead of searching details on internet.


Catalyst <-> Studio integration for Short form videos

After a sync with @emranemran , some work is needed to be done on Studio Task Runner and Catalyst for short form videos, specifically:

add AutoMP4s: bool in api/vod in both the request studio & the catalyst-api struct
Add Mp4Outputs to TranscodeStatusMessage from Catalyst to Studio
Potentially, before populating the struct of TranscodeStatusMessage check on the storage if the mp4 is there (may require more time)
api/transcode endpoint need to recognize the AutoMP4s

api/transcode endpoint need to recognize the AutoMP4s

Do you mean the POST /api/transcode API from Studio?
If so, I don't think we should add MP4 outputs to that.
This is a playback optimization feature, and we don't handle playback on that API, instead just writing files to the user-provided object store. So we should also not start creating files that weren't explicitly requested for, or it can lead to additional storage usage for the users that never really requested for it (the contract today is only to request an HLS playlist).
When we do implement the Studio API support for example to override the generation of MP4s for assets, then I think it could make sense to add the support on the Transcode API as well (like the interfaces you proposed in the tech design).
WDYT?


instead of 4 separate workflows, one workflow that runs all 4 tests

Then the tests always start stones as part of setup-superDoit ... simplifies things for issue #25 as well ...

with f55bc3c, mission accomplished


Adding SAM config file (standardizes serverless resource deployment p…

…arameters).
Created by default via sam deploy --guided. Reference.

 Scope and create an AWS infrastructure PoC for automated ingestion.


Is it possible to return object(int, List...) after executing query

I want to get a list of Ids after executing query. Is it possible?

Yes, it's possible with database-views
Here is a sample for fetching messages from the task table. You can follow this approach to get a list of Ids.

Close as a duplicate of #528


Is there a way to use a dropdown component inside of the smart-table?

Hello Andrea!
I wanna use dropdown component (like this for example https://github.com/JosephusPaye/Keen-UI/blob/master/src/UiMenu.vue it gets an array for options) inside of the table for each entry. And option might be 'View', 'Delete' etc. Its works fine when you need just static option, but in my case I need unique id for each entry in the table.
<smart-table
    body="dataTable"
    >
   <ui-menu :list="$parent.dataTable.dropdown"></ui-menu>
  </smart-table>

        var dataTable = [
                {
                    img: '',
                    name: '',
                    region: '',
                    dropdown: [
                        {
                            id: '',
                            text: '',
                            url: ''
                        }
                    ]
                },
            {% endfor %}
        ];

So it doesn't works. Only works if I type something like <ui-menu :list="$parent.dataTable[0].dropdown"></ui-menu> but of course it isn't solution because the id will the same for all entries. But I want to itterate them.
Please, provide some example of can I do that maybe with another dropdown component or even with basic select. Thanks you so much!

It's now clear what you want to achieve here. If you want to iterate the dropdown objects of the dataTable object you should create a new array with the array you really want to iterate and then pass it as a prop in the list.
let dataTableDropdowns = [].concat(...dataTable.map(d => d.dropdown))

Is that right?
        var dataTable = [
            {% for item in item_list %}
                {
                    img: '',
                    name: '',
                    region: '',
                    dropdown: []
                },
            {% endfor %}
        ];
        let dataTableDropdowns = [
           {% for item in item_list %}
              {
                    id: "{{ forloop.id }}",
                    text: "",
                    url: "{% url 'item_url' item.id %}"
              },
           {% endfor %}
        ].concat(...dataTable.map(d => d.dropdown));

Nope, [] is an empty array

        :list="$parent.dataTableDropdowns"

        var dataTable = [
            {% for item in item_list %}
                {
                    img: '',
                    name: '',
                    region: '',
                    dropdown: [
                           {
                                id: "{{ forloop.id }}",
                                text: "text",
                                url: "{% url 'item_url' item.id %}"
                           }
                    ]
                },
            {% endfor %}
        ];
        let dataTableDropdowns = [].concat(...dataTable.map(d => d.dropdown));

I got two option in dropdown from two entries. I mean I got two entries id: 1 and id: 2 so I expect to see one option in the dropdown for the first entry with id: 1 and for the second id: 2 but I have both option in each dropdown. What's wrong ?

Oh ok, I know what you mean. So you don't need dataTableDropdowns, just create something like
<ui-menu :list="$parent.dataTable[i].dropdown" v-for="(v, i) in $parent.dataTable"></ui-menu>

What is v in (v, i)?
Got this error
$parent.dataTable[i].dropdown": TypeError: Cannot read property 'undefined' of undefined

Sorry I was conflating with Vue2.0: use v in $parent.dataTable and
v.dropdown
пн, 3 окт. 2016 г. в 16:57, lavezzi1<EMAIL_ADDRESS>
What is v in (v, i)?
Got this error
$parent.dataTable[i].dropdown": TypeError: Cannot read property 'undefined' of undefined
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/gurghet/vue-smart-table/issues/23#issuecomment-251145978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZrf4Y5qzMCRcRzaJeqIbuLrIXPHLa5ks5qwSXUgaJpZM4KMqPq
.

Can you completely write this line?

I'm on the go, will write later
пн, 3 окт. 2016 г. в 17:02, lavezzi1<EMAIL_ADDRESS>
Can you completely write this line?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/gurghet/vue-smart-table/issues/23#issuecomment-251147425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZrf3I2UZ7Sat_xb4F7zz2BR2RnF9zrks5qwScGgaJpZM4KMqPq
.

Ok thanks.

How will it look like? I tried all :/

@gurghet Andrea, please, write this line

No way to get answer? Please 🙏🏿

I'll answer tomorrow
On Tue, 4 Oct 2016 at 6:04 PM, lavezzi1<EMAIL_ADDRESS>wrote:

No way to get answer? Please 🙏🏿
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gurghet/vue-smart-table/issues/23#issuecomment-251449413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZrfxJEV-PwhD9Or5JyIJb7p4a_MBrgks5qwocsgaJpZM4KMqPq
.

@gurghet I tested it and seems like it works but I don't see actual dropdown, just text '
[object Object]'
If I do dataTable[0].dropdown
I got id text and url which is absolutely correct. But why I get text?


Local preview doesn't work correctly

What happened:
With the shift to docforge some folders were removed from documentation because they are fetched by docforge. Consequently when doing make serve for local preview they are missing form the website because the step with docforge build has not been executed. The only way round that is to use docforge, before doing local preview, similar to what we do in the automated central build. That unfortunately, makes it difficult to support live changes, but is still a way to preview before submitting.
What you expected to happen:
Supply the documentation manifest for which we want to see preview and have it built and shown for us.
/priority critical

cc @swilen-iwanow

/invite @Kristian-ZH

I do not see easy solution to address this issue. As the docforge works with Manifest, the changes should be pushed somewhere and the Manifest should be linking them before executing the docforge command. I will close this issue for now, but we will keep in our mind this case as a further improvement, where we can spend some more time


clients unable to connect to hosted services after hosting channel is reconnected

I've been seeing this often when trying to connect a service after my dev box wakes up from sleep:
Client

[        0.027]    INFO cmake-build-debug/_deps/ziti-sdk-c-src/library/ziti.c:226 ziti_init_async() ztx[0] Ziti C SDK version 0.20.12 @a48c51a(HEAD) starting at (2021-02-19T15:52:04.236)

[   104030.564]    INFO cmake-build-debug/_deps/ziti-sdk-c-src/library/channel.c:627 hello_reply_cb() ch[0] connected. EdgeRouter version: v0.0.0|local|2020-01-01 01:01:01|amd64|darwin
[   104033.418]    INFO cmake-build-debug/_deps/ziti-sdk-c-src/library/channel.c:627 hello_reply_cb() ch[1] connected. EdgeRouter version: v0.0.0|local|2020-01-01 01:01:01|amd64|linux
[   230158.461]    INFO lib/tunnel_tcp.c:93 new_tcp_pcb() snd_wnd: 65535, snd_snd_max: 65535, mss: 32768
[   230158.461]    INFO lib/tunnel_tcp.c:368 recv_tcp() intercepted address[tcp:<IP_ADDRESS>:21169] client[tcp:<IP_ADDRESS>:54614] service[netcat-v2]
[   230163.690]    WARN cmake-build-debug/_deps/ziti-sdk-c-src/library/connect.c:841 connect_reply_cb() conn[0.9] session for service[netcat-v2] became invalid
[   230163.834]   ERROR cmake-build-debug/_deps/ziti-sdk-c-src/library/connect.c:863 connect_reply_cb() conn[0.9] failed to connect, reason=service PLEbGXrSx has no terminators
[   230163.834]   ERROR lib/ziti_tunnel_cbs.c:29 on_ziti_connect() ziti dial failed: connection is closed
[   230163.834]    INFO lib/ziti_tunnel.c:384 ziti_tunneler_close() closing connection: service=netcat-v2, client=tcp:<IP_ADDRESS>:54614

Host

[        0.136]    INFO cmake-build-debug/_deps/ziti-sdk-c-src/library/ziti.c:224 ziti_init_async() ztx[0] Ziti C SDK version 0.20.12 @a48c51a(HEAD) starting at (2021-02-19T19:10:10.173)

[   211173.630]   ERROR cmake-build-debug/_deps/uv-mbed-src/src/tls_link.c:113 TLS read -104(connection reset by peer)
[   211173.630]    INFO cmake-build-debug/_deps/ziti-sdk-c-src/library/channel.c:790 on_channel_data() ch[0] channel was closed [-104/connection reset by peer]
[   211173.630]    INFO cmake-build-debug/_deps/ziti-sdk-c-src/library/channel.c:717 reconnect_channel() ch[0] reconnecting in 9411 ms (attempt = 1)
[   211183.363]    INFO cmake-build-debug/_deps/ziti-sdk-c-src/library/channel.c:627 hello_reply_cb() ch[0] connected. EdgeRouter version: v0.0.0|local|2020-01-01 01:01:01|amd64|darwin

Connections succeed after the hosting tunneler is restarted.

haven't seen this in a while now


[GOBBLIN-222] Fix silent failure for loading incompatible state-store

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-222] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-222

Description

[x] Here are some details about my PR, including screenshots (if applicable):

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Travis is failing, please check.

@abti have you reviewed this?

@ibuenros yes, LGTM


Readme question - how is it possible to use async/await in nodejs?

I did not get through readme here, how do you use async () => {} await etc., when it's if I'm not mistaken impossible to write yet in node?

AVA has Babel built-in, which allows writing tests using latest JS language features without any configuration on your side. In other words, you just create a test.js (for example), write tests in ES6/7 and simply $ ava test.js. Try it on practice, it's easier to understand it that way ;)


Branch2

@DsArmor Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Permission denied when run goapplication2run

Hi, I using this project as temaplate for OpenShift Origin but don't work it. The OpenShift report an error with the message:
---> Run apllication
---> /usr/libexec/s2i/run: line 13: /opt/app-root/bin/goapplication2run: Permission denied

I think open an PR to fix it, what do you think?

Hi @guiferpa
I see you have closed the issue.
Why?

Hi @amsokol, thanks by your attention. I closed this issue because I was wearing the image wrong. When to compile the package I was using wrong package. hahahahah'


Is Parrallel Decoding Possible?

Since the decoder keeps track of some time stamp information, the event msg should be decoded one by one. However, when the number of events is huge (like 180+MB/s), or the CPU is not strong (such as the one in an edge device), a single decoder thread can not satisfy real-time decoding and multi-thread parallel decoding is needed. I have tried initializing the decoder factory, Accumulator (copied from event_camera_py) and decoder in a new thread whenever a new event_camera_msg comes, but of course it gives the wrong event and trigger time stamps. I wonder is there any way to do parallel decoding? Maybe some code modification of the decoder is necessary? (I use EVK4 camera so I guess I need to modify the evt3 encoder)

I thought about it a bit but it will be hard work to parallelize the decoder.
Obviously the EVT3 format is not under our control since it comes like that raw from the camera (I saw that metavision 5 introduced EVT4 but I have not looked into that yet). So what options do we have?
As you pointed out the issue is with the incremental time stamps, and in particular the rollover of the TIME_HIGH field about every 16 seconds. But I'm not sure it ends there. What about the vector updates? Are we guaranteed that the SDK will deliver the VECT_BASE_X update and the subsequent VECT_12 update in the same packet? The ROS driver will not split them since it preserves SDK packet boundaries.
One could deal with the time stamps by having a single thread decode enough to determine the correct time of the first event of a packet, then dispatch the packet to a different pool of threads for complete decoding.
To find the correct starting time, one would have to decode backwards, starting at the tail of the previous packet, until a valid (TIME_HIGH/TIME_LOW) pair is found, then handle any potential TIME_HIGH rollovers (assuming that TIME_HIGH rolls over at most once inside a packet, which is reasonable). So it's doable, but will take a while to get right, and even longer to really see a good speedup.
And there is another reason why I haven't worked on this yet: on my 3-year old AMD laptop I get north of 100MeV/s decoding. Any subsequent algorithm I write bogs down well before then, making it mood to optimize the decoder. What application do you have that can handle such large event rates?

Just checked again: I'm also just getting 50-60 Mev/s on my laptop. Not sure what the problem is because I remember much higher numbers...

Thanks for the detailed reply. 180+MB/s happens in extreme situations, such as under flickering 50-60Hz indoor lights. I use a Core-i9 13900K CPU and single thread works well around 70MB/s but not at 180+MB/s. I got these bandwidths using the metavision_driver node (the unit is MB/s instead of Mev/s). For a CPU like I9, I plan to achieve real-time decoding for arbitrary event rates. This can avoid a stuck ROS2 node when, for example, someone turns on a flickering light. More importantly, after testing on i9, I plan to migrate the ROS2 nodes to edge devices like NVIDIA Jetson. I guess Jetson can not do real-time decoding even on 50-60M  with its single 1.7GHz Arm core.
Since you mentioned that AMD laptop can do 100MeV/s decoding (which is much higher than 180MB/s considering one ev=few bytes), I suspect the issue comes from the ROS2 node I write. I have a subscription to the EventPacket msg, and in the callback function, I decode the msg and save events. Maybe I should just save the msg and decode them with another thread?
Based on the analysis you provided, it seems to be very complex to implement multi-thread decoding. I'll just accept the fact and try updating my code and using some event filters to reduce the event rate. Thanks for the help.

The rate is around 150Mev/s (which I think it should be real-time on i9). Would a composable node save memory access time?  Currently I build a standalone node and run it, some pieces of code are listed below. I have limited experiments with ROS2, so it would be nice if this is just a coding issue and can be solved on my side.
Below is my callback function for the EventPacket subscriber:
   //only recieve, no decode
    void listener_callback(const event_camera_codecs::EventPacketConstSharedPtr & msg) {
      event_msg_list.push_back(std::make_shared<EventPacket>(*msg));
      return;
    }

And below is the function to decode them, which is a timer callback (runs with 0ms duration):
    void decoder_timer_callback()
    {
      event_camera_codecs::EventPacketConstSharedPtr msg;
      msg = event_msg_list.front();  // here the msg is already in the memory of this node
      event_msg_list.pop_front();
      std::cout<< "msg_list size" << event_msg_list.size() << std::endl;
      //return; // if we return here and not decode at all, msg_list size will always be 0
      DecodeEventMsg(msg); // would a composable node help?
      return;  // return here and the msg_list size will consistently increasing
     // rest codes are omitted
    }

This is the DecodeEventMsg function:
    void DecodeEventMsg(const event_camera_codecs::EventPacketConstSharedPtr & msg) {
      // will create a new decoder on first call, from then on returns existing one
      std::string encoding = msg->encoding;
      uint64_t timeBase = msg->time_base;
      auto decoder = decoderFactory.getInstance(*msg);
      if (!decoder) { // msg->encoding was invalid
        return;
      }
      decoder->setTimeMultiplier(1);
      decoder->setTimeBase(timeBase);
      // the decode() will trigger callbacks to processor
      processor.setHasSensorTimeSinceEpoch(decoder->hasSensorTimeSinceEpoch());
      processor.reset_stored_events();
      decoder->decode(*msg, &processor);
    }

The question is what your processor class does in its event handling method. Does it perform any heavy memory access?
Writing a composable ROS2 node is not hard, and it will avoid a copy of the undecoded event packet from the driver to your node.  Reducing memory traffic is what it's all about, and it makes performance debugging hard. Accessing memory in one node will all of a sudden slow down your code in another node. Or just subscribing to a topic will slow down another subscriber, because now there are two memory copies necessary. It can be very confusing.
For instance I have found that having a thread to decode the events, and then another thread to process them is slower than processing them single threaded (unless you have a very heavy processing step). This is because the decoded event packets are bloated (to e.g. 8 bytes/event), and the memory copies invalidate the processor cache, causing everything else to slow down. This could be better with a large processor cache, but for my AMD with its 4MB L2 / 8MB L3 cache this was a real issue.
This is also why event_camera_codecs does not offer a full-packet decode: just copying around the decoded packet incurs a big performance hit. Better to do the work right when the event is decoded.

I appreciate the detailed suggestion! The processor is an Accumulator object, which I copied from event_camera_py/accumulator.h. I just removed the pybind11 related parts for usage in c++. The code is pasted below.
Looks like it is not easy to find a quick answer. I will try implementing a composable ROS2 node and also try other solutions, especially on reducing memory traffic. If anything works, I will report here for reference. Thanks again for all the detailed explanations :)
class Accumulator : public event_camera_codecs::EventProcessor
{
public:
  // inherited from EventProcessor
  void eventCD(uint64_t sensor_time, uint16_t ex, uint16_t ey, uint8_t polarity) override
  {
    cdEvents_->push_back(EventCD(ex, ey, polarity, shorten_time(sensor_time)));
    maxSizeCD_ = std::max(cdEvents_->size(), maxSizeCD_);
    numCDEvents_[std::min(polarity, uint8_t(1))]++;
  }

  void eventExtTrigger(uint64_t sensor_time, uint8_t edge, uint8_t id) override
  {
    extTrigEvents_->push_back(EventExtTrig(
      static_cast<int16_t>(edge), static_cast<int64_t>(sensor_time), static_cast<int16_t>(id)));
    maxSizeExtTrig_ = std::max(extTrigEvents_->size(), maxSizeExtTrig_);
    numExtTrigEvents_[std::min(edge, uint8_t(1))]++;
  }

  void finished() override {}
  void rawData(const char *, size_t) override {}

  // own methods
  void reset_stored_events()
  {
    delete cdEvents_;  // in case events have not been picked up
    cdEvents_ = new std::vector<EventCD>();
    delete extTrigEvents_;  // in case events have not been picked up
    extTrigEvents_ = new std::vector<EventExtTrig>();
    // TODO(Bernd): use hack here to avoid initializing the memory
    cdEvents_->reserve(maxSizeCD_);
    extTrigEvents_->reserve(maxSizeExtTrig_);
  }
  uint64_t get_start_time() const { return (startTime_); }

std::vector<EventCD> * get_cd_events()
  {
    if (cdEvents_) {
      auto p = cdEvents_;
      return p;
    }
    return 0;
  }
 std::vector<EventExtTrig>* get_ext_trig_events()
  {
    if (extTrigEvents_) {
      auto p = extTrigEvents_;
      return p;
    }
    return 0;
  }
  ~Accumulator()
  {
    delete cdEvents_;
    delete extTrigEvents_;
  }
  size_t get_num_cd_off() const { return (numCDEvents_[0]); }
  size_t get_num_cd_on() const { return (numCDEvents_[1]); }
  size_t get_num_trigger_rising() const { return (numExtTrigEvents_[0]); }
  size_t get_num_trigger_falling() const { return (numExtTrigEvents_[1]); }
  void initialize(uint32_t, uint32_t) {}
  void setHasSensorTimeSinceEpoch(bool b) { hasSensorTimeSinceEpoch_ = b; }
  int32_t shorten_time(uint64_t t)
  {
    if (hasSensorTimeSinceEpoch_) {
      if (!hasStartTime_) {
        startTime_ = t;
        hasStartTime_ = true;
      }
      return (static_cast<int32_t>(t - startTime_));
    }
    return (static_cast<int32_t>(t - startTime_));
  }

private:
  // ------------ variables
  bool hasStartTime_{false};
  bool hasSensorTimeSinceEpoch_{false};
  uint64_t startTime_{0};
  size_t numCDEvents_[2] = {0, 0};
  size_t numExtTrigEvents_[2] = {0, 0};
  std::vector<EventCD> * cdEvents_{0};
  std::vector<EventExtTrig> * extTrigEvents_{0};
  size_t maxSizeCD_{0};
  size_t maxSizeExtTrig_{0};
};

My latest test shows that, even if I do nothing and immediately return in the eventCD(uint64_t sensor_time, uint16_t ex, uint16_t ey, uint8_t polarity) override function in Accumulator (processor), there are still lags. That is to say, under the heavy event rate, simply passing through all events with each event triggers a callback function call, have already been slower than real-time. I will check out why this is the case.

Thanks for the feedback.
Removing the memory copies in the accumulator should have definitely improved the situation. However, the EVK4 sensor will be able

I have tried a few methods here and there. I still can not get a concrete answer, but here are some facts:

Under flickering light and rapid movement, perf.cpp gives me the following:

number of events read: 1506.71 Mev in 14.9633 seconds
event rate: 100.694 Mevs

This means real-time decoding is impossible. I have also tried  metavision's standalone EVT3 decoder. If I save events to a fixed size vector (with idx % vec.size() to avoid overflow), that decoder gives the following:
Decoded '/home/gmy/tmp/test.raw' in 9.8052 s
Decoded events:<PHONE_NUMBER>
Decoding Rates:  153.665 Mevs

Which is about real-time. I believe the event_camera_codecs sacrificed decoding speed in exchange for its generalization ability to many types of event encodings. But even this explicit EVT3 decoder is still not fast enough since I need to do not only saving but event processing. There is yet another decoder here, I have not tested it since it has been integrated in metavision HAL sdk. BUT it is worth trying, since I use metavision studio to record test.raw, and it can display the event frames in real-time without lag even on my old slow PC. To get the event frame one has to decode the events, right? So I think metavision SDK can do event decoding really efficiently.
BTW: perf.cpp needs a few modifications. First, it needs a
decoder->setGeometry(1280, 720);, otherwise the events are not accessed. Second, sizeof(buffer) in Line 125 is the size of the vector object, which is only 24 Bytes.

Speak of memory optimization, I found using a static global event buffer in the callback function is faster than creating a temporal vector inside it:

std::vector<EventCD> cdEventsVec(1000000);
uint32_t counter = 0;
class Accumulator : public event_camera_codecs::EventProcessor
{
public:
  // inherited from EventProcessor
  void eventCD(uint64_t sensor_time, uint16_t ex, uint16_t ey, uint8_t polarity) override
  {
    if (counter >= cdEventsVec.size()) {
      RCLCPP_INFO(rclcpp::get_logger("Accumulator"), "Resize cdEventsVec");
      cdEventsVec.resize(cdEventsVec.size() + 100000);
    }
    cdEventsVec[counter].x = ex;
    cdEventsVec[counter].y = ey;
    cdEventsVec[counter].p = polarity;
    cdEventsVec[counter++].t = static_cast<int32_t>(sensor_time);
  }

This may be caused by the increased cache hit rate.
Anyway, what I want to achieve is decoding and storing the events, then publishing them with ROS. I use another node to receive these events and convert them to voxels. I would like these operations to be real-timed. Based on our conversation, I feel this might be an impossible task, unless ERC is applied. My best practice now supports only 50Mev/s (100 MB/s), and strange lag can still happen once the nodes runs for a few seconds.


Code cleaning

@ocots @BaptisteCbl Would be nice to use @match for this kind of sequence (there are quite a few in the code 🥲)

Write instead sth like (matching on type of value, not value of types)
@match ocp begin
    ::OptimalControlModel{Autonomous, Fixed} => ...
    ::OptimalControlModel{Autonomous, NonFixed} => ...
    ::OptimalControlModel{NonAutonomous, Fixed} => ...
    _ => ...
end

Done!

@BaptisteCbl @ocots thank you guys! Progress 👍🏽


DMP-2627 set-up no-op ApplyRetentionCaseAssociatedObjects task

https://tools.hmcts.net/jira/browse/DMP-2627
initial PR for DMP-2627 where I setup a new 'ApplyRetentionCaseAssociatedObjects ' automated task. Full implementation of the task in a separate PR to reduce PR size

Closing this one since Sonar complains about AutomatedTaskServiceImpl code coverage on existing code being too low (50%) so I can't merge this


Support for Template Constructor / Members / Functions

Do you plan to add support for templates when adding constructor, members or functions to a ClassMetatable ?
It works when you specify the type but could it be possible to leave the type empty and let Lua use any type ?

I'm sorry, i dont understand.
Can you write example code?

For example if we have a simple function which add two things :
template<typename V> V addStuff(V a, V b) {     return a + b; }
That I can use like the following :
int a = addStuff(3, 3);     std::string b = addStuff((std::string)"foo", (std::string)"bar");     std::cout << a << std::endl; //Display 6     std::cout << b << std::endl; //Display foobar
I can't do that in kaguya :
kaguya::function(addStuff);
I can do this :
kaguya::function(addStuff<int>);
But I'll have to specify each type I want to use, is it possible to pass the entire function and use all the possible types in Lua ?
Either by using kaguya::templatedFunction (or something like this), or some overloading of kaguya::function (Same for addMember, addMemberFunction etc..).
I don't know if C++ allows to do this.

Can not it. Instantiate of C++ template is compile time only.
When you invoke function from Lua, type determine runtime.
That you can is below only.
kaguya::overload(
//List the type that might be used
    addStuff<int>,
    addStuff<std::string>,
    addStuff<my_class>,
    addStuff<my_other_class>);

I understand :) Thanks anyway !


Update EffectService.ts

Not sure why the names reverted back

Description

Related Issues
Fixes #
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

jest coverage report 🧪
Total coverage

Status
Category
Percentage
Covered / Total

🟢
Statements
89.68%
400/446

🔴
Branches
53.56%
233/435

🟢
Functions
85.71%
96/112

🟢
Lines
89.61%
397/443

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold


[experiment] Use yarn instead of npm

Trying to prove if https://github.com/natemcmaster/yarn.msbuild is actually useful. It seems like it will provide better perf. Need to still test on Windows.
Comparison
On macOS:
npm
./build.sh /t:RestoreNpm /clp:PerformanceSummary

RestoreNpm - cold cache
Ran "npm cache clean" once.
Ran "rm -rf client-ts/node_modules/" between each iteration
Run 1 : 40044 ms
Run 2 : 18277 ms
Run 3 : 15932 ms
RestoreNpm - warm cache
node_modules folder exists, no changes to package.json, cache warmed up
Run 1 : 1982 ms
Run 2 : 1975 ms
Run 3 : 1996 ms
yarn
./build.sh /t:RestoreYarn /clp:PerformanceSummary

RestoreYarn - cold cache
Ran "yarn cache clean" once.
Ran "rm -rf client-ts/node_modules/" between each iteration
Run 1 : 46541 ms
Run 2 : 4730 ms
Run 3 : 5320 ms
RestoreYarn - warm cache
node_modules folder exists, no changes to package.json, cache warmed up
Run 1 : 856 ms
Run 2 : 859 ms
Run 3 : 859 ms

@natemcmaster,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Yarn.MSBuild needs more work. Still has issues.


Added a destination space check, it is set to off by default. If enab…

Added a destination space check, it is set to off by default.
If enabled it checks that more space is available at the destination than what is set in REMOTE_FREE_SPACE (in the config) before performing a sync.
This is useful on for example a raspberry pi that has a big external mounted filesystem (zfs or sshfs), in this case if one can set REMOTE_FREE_SPACE larger than the raspberry pis local filesystem (sd-card) if the test passes one can surmise the external mount is available . This will avoids writes to the mounting point directory if the external mount is unavailable.
I fiddled a bit with reading /proc/mounts before I settled on this way of doing it. Reading /proc/mounts turned out to be more difficult than a simple size check on mounts that can have many similar roots such as ZFS. Also available free space is simple to reason around and solves my problem. (which is similar to #67 ).
But in this case this is harmless and extendable; one could overwrite the REMOTE_FREE_SPACE with something from a dry-run rsync and thereafter the check_free_space function checks that the process will not fail due to space issues. I found a dry-run takes a lot of time and it did not seem worth the performance cost for me; but if someone wants this in the future this is a building block towards that.

I implemented a remote file system mount check in #67 which I think embodies the spirit and issue addressed in your pulll request. I've merged it into the develop branch.


Unify bool and value expression return types in parser

@sougou thoughts on this?
I think this will be a step towards making it easier to properly handle boolean values in expressions and columns as booleans, per the MySQL language spec.  One problem is that they all return incompatible types (ValExpr vs BoolExpr vs Expr). The other harder one is that there are inevitable yacc conflicts to contend with. This gets the former out of the way at least.

This is good stuff. I'm guessing this should still have some grammar conflicts. But I'm predicting that they'll be resolved if you consolidated value and bool expressions into one expression. You may also have to move TRUE and FALSE under value.

@sougou thanks for the review. There are no conflicts here, though I agree with the next steps. I was hoping to get this part out of the way since it was easy -- the consolidation of value_expression and boolean_expression is the really hard part that introduces many conflicts to deal with.
(vitess)➜  vitess git:(unify_expr_returns) ✗ go tool yacc  -o ./go/vt/sqlparser/sql.go ./go/vt/sqlparser/sql.y
(vitess)➜  vitess git:(unify_expr_returns) ✗ make build
Mon Jan 23 06:07:36 EST 2017: Building source tree

Closing this in favor of https://github.com/youtube/vitess/pull/2505 which does the same thing but including grammar changes


Enable H&M in cluster

We should enable H&M using Modin with unidist on MPI in cluster.

unidist 0.4.1 contains all required fixes so closing this issue.


Is there a need for let before assignment?

Currently, we're using let because it's easier to parse assignments as we can check whether our first token is let.
But it feels like it adds some clutter to the language.
let a: int := 1
would change to
a: int := 1
and
mut let b: int := 1
would change to
mut b: int := 1
it's rather a major change so I'm just gonna let it sit here as an issue.

no, theres no need. e96dcee changed syntax


ERROR: Cannot index string with string "path"

Hi
I encounter below error
 ./hugging-dl.sh https://huggingface.co/stabilityai/stable-diffusion-xl-base-0.9
/usr/bin/jq
ℹ Huggingface API URL: [https://huggingface.co/api/models/stabilityai/stable-diffusion-xl-base-0.9/tree/main]
ℹ Huggingface Model Path: [stabilityai/stable-diffusion-xl-base-0.9]
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    41  100    41    0     0     91      0 --:--:-- --:--:-- --:--:--    91
jq: error (at <stdin>:0): Cannot index string with string "path"

Could you take a look.
Thanks

Nevermind.
This model requires login. So adding --user username:password after curl fixed the issue.
Great tool. Thanks

Ok. It seems that I need to enter a username and password based on the returned error message. Thank you for the feedback.


(maint) Correctly pass embedded instances

When a MOF Schema references an EmbeddedInstance it will typically
be a String[], but can also be a String.
In the case where the EmbeddedInstance is just a String, the
PowerShell code should be passing a singular CimInstance instead
of a CimInstance[].
An example of where this occurs is in the MSFT_xWebsite MOF, which
has definitions for 2 EmbeddedInstance types, one of which is an
array (which currently works), and one which is not:
[Write, EmbeddedInstance("MSFT_xWebBindingInformation")] String BindingInfo[];
[write, EmbeddedInstance("MSFT_xWebAuthenticationInformation"))] String AuthenticationInfo;
Without this change, a value cannot be set for AuthenticationInfo
as desired.  It currently passes to PowerShell Invoke-DscResource:
authenticationinfo = [CimInstance[]]@((New-CimInstance -ClassName 'MSFT_xWebAuthenticationInformation' -ClientOnly -Property @{'Anonymous' = $true}))
Which generates the error:
Error: /Stage[main]/Main/Dsc_xwebsite[NewWebsite]: Could not evaluate: Convert property 'authenticationinfo' value from type 'INSTANCE[]' to type 'INSTANCE' failed

This change produces the correct PS code for Invoke-DscResource:
authenticationinfo = [CimInstance](New-CimInstance -ClassName 'MSFT_xWebAuthenticationInformation' -ClientOnly -Property @{'Anonymous' = $true})

@jpogran / @ferventcoder wondering if one of you can finish this off (with tests? maybe not necessary?) for me.
We should probably create a ticket too, but in the effort of time I've skipped that at the moment.
Discovered while building DSC demos for PuppetConf
/cc @puppetlabs/windows


Improved style for TextField, CheckBox and ComboBox

I have improved the style of the dialog inputs, so that it is the same as that of buttons. I hope you like this, this is my first pull request to other repos.

Wow! That is awesome man! Thank you very much! It looks really great!
I will merge it as soon as I am done with translations PRs

Once again, thank you for your contribution, it means a world to me!


Caching

At this point in time, I'm thinking I won't add response caching to this lib, but what would it look like if I did?

new dedupe option, fetchPolicy. This determines how it interacts with the cache
it would somehow need to communicate that it is a cached response that is being returned. I don't think Promises are powerful enough to support that without modifying the response. I guess I could do res.fromCache = true. That's not much worse than the res.data that I'm already doing.

Update 1: This approach works fine for requests that deal with 1 operation, but it doesn't work when a request can contain multiple operations, like GraphQL queries. I could make a system that supports multiple operations, and it would be a superset of functionality of the system described above, but that would certainly be a weird additional to a "thin wrapper around fetch."

Update 2: The above is correct in two regards:

the described system of caching does not support GraphQL
it doesn't feel as much like a thin wrapper around fetch

However, the current request dedupe also isn't sophisticated enough for GraphQL (or really, any system where one request can contain multiple operations). This library simply will never be powerful for any sophisticated handling of GraphQL (or, say, a JSON API bulk operations extension).
So this library could have caching in there as well. There should just be a separate lib for bulk ops fetch features.

u-u-uu-uu-uupdate:
I'm going to add "basic" caching to this lib at the basic level, and then evaluate the code changes necessary to support an array alternative. If it's too much I'll make a separate lib

Resolved in #28. Will be released as 3.0


Provide an option to strip binaries before packaging

As noted in this blog post, Rust doesn't strip debug info from stdlib even when building in release mode; this bloats the size of the final executable unnecessarily. There's a nightly change to cargo to strip debug executables, but it's not available to us yet. In the meantime, we could consider a debug option to call strip on all binaries from a build before they're packaged up. In testing, aarch64-apple-darwin, this removes about 3MB from the cargo-dist executable.
If we add this, should we make it opt-in or opt-out? I lean opt-in for safety, but I can see an argument for making it the default.
Once cargo itself performs this in release builds, we can transition from having our option shell out to strip to controlling cargo's behaviour instead.

Looks like this is now the default in Rust 1.77: https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html


trademark

... instead of archiving the projects which violate the bigbluebutton trademark, I suggest instead just rename them and, especially, consider renaming your website name and changing the logo.
The trademark faq is quite clear on how you can use the bigbluebutton name and what is not okay.
I'd suggest you to just rename your projects to bbb-js and bbb-infra, as "bbb" is not part of the trademark registration as far as I know.

These especially make it look for other people like your project docs supposedly being the official docs of the bigbluebutton project, which they are not.

just renaming the project and the logo and all the references and the npm package name should be enough, so others can continue using the project and contribute to it.

i think i will just archive this project too. thank you


Please HELP

Hello,
I only have the address of the wallet. I had the wallet on my PC via Multidog, unfortunately before I could make a backup, my PC burned up. Is there any other way to get into the wallet?
Thanks R.K.

if you mean the public address than sorry, it is not possible.
you can go to a data recovery specialist with the burned harddisk

I had a "multi dog" wallet downloaded on my PC. My PC was restored but
unfortunately I didn't have a backup. All I have left is the address of the
wallet.
---------- Původní e-mail ----------
Od: giammin @.>
Komu: langerhans/multidoge @.>
Datum: 12. 5. 2021 17:33:24
Předmět: Re: [langerhans/multidoge] Please HELP (#99)
"
if you mean the public address than sorry, it is not possible.
you can go to a data recovery specialist with the burned harddisk
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
(https://github.com/langerhans/multidoge/issues/99#issuecomment-839869608),
or unsubscribe
(https://github.com/notifications/unsubscribe-auth/AUBAUV6VSXCX62VGPHWIBHDTNKNTZANCNFSM44VIOEXA)
.
"

Short answer, no. There isn't any other way.
@patricklodder @rnicoll @michilumin Close this one.


Enable the default route for cloudflare workers

Current Terraform and Cloudflare provider version
Cloudflare provider: v4.4.0
Description
When I create a worker using cloudflare_worker_script, the default route created at {name}.{org}.workers.dev is not enabled.
And there's no way of enabling that default route in terraform.
Use cases
Would like to use that default route after enabling it. But there's no way of doing through terraform
Potential Terraform configuration
resource "cloudflare_worker_script" "my_script" {
  account_id = "f037e56e89293a057740de681ac9abbe"
  name       = "script_1"
  content    = file("script.js")
}

References
No response

This issue has been closed as we are now tracking this internally with service teams directly. If you would like an update or to be notified when/if the product ships with this change, please reach out to Cloudflare Support or your account team who can watch the internal feature request for you.

This issue has been closed as we are now tracking this internally with service teams directly.

What do you mean? I thought this was a terraform issue?


ABW-2553 - Just one behaviour (SUPPLY_FLEXIBLE) is shown for xrd.

Description
For XRD we add only one behaviour (SUPPLY_FLEXIBLE) to match what it is on iOS.
How to test

Go to XRD resource and verify there is only one behaviour (SUPPLY_FLEXIBLE)
For all other tokens behaviours remain the same

Screenshot

PR submission checklist

[x] I have checked xrd details view to see if behaviours are correct
[x] I have written unit tests

@raf-rdx I needed to do some modifications to the PR #625. The problem is that the behaviours property here always returns a set of behaviours either the resource has fetched them or not. So in case a resource has not fetched the details (like supply, divisibility and behaviours). We should treat this property as null because there is a new property isDetailsAvailable which checks if those 3 properties exist in a resource so as the client to know that everything is available and does not have to request resource details.
So in order to make the new repository work with the current Resource object, I had to modify the resource's behaviour property. Can you check in main now and tell me if it does what is expected to do and in the end we may not need to merge this PR?

@raf-rdx I needed to do some modifications to the PR #625. The problem is that the behaviours property here always returns a set of behaviours either the resource has fetched them or not. So there is a case (in the new repository) where a resource has not fetched the details (like supply, divisibility and behaviours). We should treat this property as null because there is a new property isDetailsAvailable which checks if those 3 properties exist in a resource so as the client to know that everything is available and does not have to request resource details. In the old EntityRepository all resources fetch the details eagerly so this property will not be null at runtime.
So in order to make the new repository work with the current Resource object, I had to modify the resource's behaviour property. Can you check in main now and tell me if it does what is expected to do and in the end we may not need to merge this PR?

@micbakos-rdx Yes sounds like it is covered there but one question. Why do you check against assetsBehaviour nullability instead of just if resource is xrd  ?
if (assetBehaviours != null && isXrd)
Should it not say the following? :
val behaviours: AssetBehaviours? = if (isXrd) {             setOf(AssetBehaviour.SUPPLY_FLEXIBLE)         } else {             assetBehaviours         }

@raf-rdx I needed to do some modifications to the PR #625. The problem is that the behaviours property here always returns a set of behaviours either the resource has fetched them or not. So there is a case (in the new repository) where a resource has not fetched the details (like supply, divisibility and behaviours). We should treat this property as null because there is a new property isDetailsAvailable which checks if those 3 properties exist in a resource so as the client to know that everything is available and does not have to request resource details. In the old EntityRepository all resources fetch the details eagerly so this property will not be null at runtime.
So in order to make the new repository work with the current Resource object, I had to modify the resource's behaviour property. Can you check in main now and tell me if it does what is expected to do and in the end we may not need to merge this PR?

@micbakos-rdx Yes sounds like it is covered there but one question. Why do you check against assetsBehaviour nullability instead of just if resource is xrd ? if (assetBehaviours != null && isXrd)
Should it not say the following? : val behaviours: AssetBehaviours? = if (isXrd) { setOf(AssetBehaviour.SUPPLY_FLEXIBLE) } else { assetBehaviours }

Answered in a meeting.


MissingPluginException on Android after flutter build, but it works fine on flutter run --release

We are about to release a plugin for Pusher Chatkit.  Everything works fine with flutter run, no matter --debug, --profile or --release in both Android and iOS.
However, when building with flutter build apk, the plugin fails to locate our native code.
After flutter build apk and launching the resulting app, adb logcat shows the following message:

02-07 13:07:29.484  7769  7769 E DartMessenger:         at com.pusher.chatkit.D.a(:15)
02-07 13:07:29.484  7769  7769 E DartMessenger:         at com.pusher.chatkit.h.b.a(:4)
02-07 13:07:29.484  7769  7769 E DartMessenger:         at com.pusher.chatkit.e.c.b(:9)
02-07 13:07:29.484  7769  7769 E DartMessenger:         at com.pusher.chatkit.e.c.(:3)
02-07 13:07:29.484  7769  7769 E DartMessenger:         at com.pusher.chatkit.P.(:24)
02-07 13:07:29.484  7769  7769 E DartMessenger:         at com.pusher.chatkit.j.(:2)
02-07 13:07:29.489  7769  7832 I flutter : Error: MissingPluginException(No implementation found for method connect on channel flutter_chatkit)

So, com.pusher:chatkit-android:1.8.2 is being loaded, but our method connect is not available.
I believe this may be caused by R8 removing references to method FlutterChatkitPlugin.onMethodCall().
Building example app with flutter build apk --no-shrink seems to do the trick, but as this is a plugin, I do not want all the applications using it should disable R8 on Android :)
Source code is Kotlin. On Java you can annotate the class with the @Keep annotation to prevent from being removed by R8, but it doesn't seem to be available on Kotlin.
How can I prevent this class to be removed by optimizer?

@matthew-carroll Any ideas?

Hello @jmagman . Any clues for this?

Hello! Do you have any ideas for this?
Thank you!

Hello @jmagman  and @matthew-carroll ,
Could you give us some light on this please? 🙏

This may be something for @blasten to look at on the build side.

Does the issue reproduce if you run flutter build apk --no-shrink? If not, the problem is an improperly configured pro-guard removing your application code

@snadal @Keep is available in Kotlin:
https://developer.android.com/reference/kotlin/androidx/annotation/Keep
What issue did you see? was it a compile or runtime time error?

I have the same problem. For me, I created a plugin package accessing a third party .aar library. When to do a build release, I have to do flutter build apk --no-shrink to make it works.

Hi, I have also been having the same problem with the shared_preferences plugin. Thanks though, the work around offered by @snadal has stopped the exception from being thrown and I am now able to use the plugin so long as I use the --no-shrink flag in my build...

Had the same problem with image_picker and permission_handler.
Using the --no-shrink flag with flutter build seems to fix the issue.

This seems to be a Proguard file not configured properly and does not seems to be anything that should be fixed by Flutter.


Docker container running on a single thread? Web app too slow...

This issue is a copy of this previously opened discussion.

Hey guys,
First of all, thanks a lot for building this out as FOSS and being an open startup, this is great 💪
After we managed to successfully integrate our self-hosted Cal.com docker instance with Google Calendar, we're running into some CPU issues...
Whenever the web app needs to check our calendar for events (like, when visiting a booking page), one of the cores goes to 100% and stays like that for 1-5 minutes, which completely halts the web app and Nginx starts delivering 400-500 timeout errors to anyone else visiting the cal web page(s).
We believe this may be related to the integration with Google Calendar.
Our VM has 12 vCPU's, 48GB of RAM (~5GB being used), and ~1TB of NVMe storage (low usage across the board as well).
Thanks in advance for any suggestions or help!

@krumware may have some more insights on this

This shouldn't be docker specific unless the environment is limiting cpu. Do you by chance have any metrics on memory usage at the time of this issue as well?

closing for inactivity


Getting Sprockets::CircularDependencyError in 1.2.0.rc1

I seem to be getting these errors a lot in my compiled JavaScript files from CoffeeScript
throw Error("Sprockets::CircularDependencyError: .../foobar.js.coffee has already been required")

and every time I get them, I have to shutdown jasmine and restart. I haven't really pinpointed the source of this error but it seems to happen whenever there are errors when compiling from CoffeeScript to JavaScript such as bad syntax, etc.

@ruprict Cool thanks for the heads up. I'll close this issue then.


add anita to website

I also thought about this some days ago. what exactly is the job description we should use?
and which image?
should we link to social media profiles or a personal website?

job title: Project Manager

@anita-steiner, please send an image to @lehnerchristian. your name should be on the website soon.

@anita-steiner , please send it to @sluger

moved


Apply new styles for docusaurus

Motivation
Make it easier for people to navigate through frontside's website
Approach
Applied the same theme from interactors by copy+pasting the relevant files.
Screenshot

Arrows are fixed, and I have a PR for each of the three sites to have the new styles. We can merge them all together so the navigation is smoother.


iModelHub integration test cleanup

This PR cleans up the iModels.test.ts test file by moving the test iModel creation from beforeEach() to before() to reduce the count of iModels created.

/azp run


Fix misleading use of bpf_ntohl

local_port in struct bpf_sock_ops and struct sk_msg_md is stored in host byte order. The use of bpf_ntohl is kind of misleading.
Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

/test

I don't think this has any practical impact, the implementations would equally either byteswap or do nothing depending on the underlying architecture. However I agree that it's confusing to take a HBO field and "convert from network to host".


Add Weather App

add weather add card, it uses open weather api to fetch the weather data of the entered city.

@Priyanshi662 please assign this to me under JWOC'24


[OPTIMIZER] Alternative implementation of flash attention hangs

tried to repro https://github.com/openai/triton/issues/638 and ran into a hang in the optimizer. I'll address that during further refactors of the layout simplification passes

we are seeing a similar issue - any idea if there is a workaround?

I think the workaround for now is to run 06-fused-attention.py as-is


concat() removes audio

I have two mkv files and I'm trying to concatenate them. Running the following:
in1 = ffmpeg.input('1.mkv')
in2 = ffmpeg.input('2.mkv')
ffmpeg.concat(in1, in2).output('out.mp4').run()

results in the correct video but with no audio information (ffmpeg reports audio=0kB even).
Running this:
ffmpeg.input('1.mkv').output('out.mp4').run()

successfully converts 1.mkv to an mp4 file while preserving the audio

ffmpeg audio processing is actually a bit annoying in general. When using ffmpeg filtering, it requires the audio/video streams to be processed independently and then joined together at the end.
The "concat filter" section of the Concatenate - FFmpeg document talks about this issue, where the audio/video streams have to be explicitly specified in order for ffmpeg to keep the audio.
Take a look at the Process audio and video simultaneously example to see how to do this with ffmpeg-python.

Also note that it's possible to do the concat protocol approach described in that Concatenate - FFmpeg document as well (but only for certain file formats and no filtering allowed, etc):
ffmpeg.input('concat:in1.ts|in2.ts|in3.ts').output('out.ts', c='copy').run()

I'd like to get to the point where ffmpeg-python sees the snippets you posted and knows that you really mean for ffmpeg to hold onto the audio streams, and just do the right thing. I think it's theoretically possible, but there are likely lots of edge cases. So for now, ffmpeg-python just wraps ffmpeg as closely as possible without a lot of magic.

@seanbow Did you get a chance to see if this works for you? Let me know if I should keep this open, otherwise I'll close it in the next day or two.

@kkroening I tried running this:
ffmpeg.input('concat:in1.mp4|in2.mp4!in3.mp4').output('out.mp4', c='copy').run()
And the resulting video only contains the first file. So, concat protocol does not support mp4?
I tried running this instead to concat videos and I'm getting an error:
import ffmpeg

try:
    in1 = ffmpeg.input("0000835.mp4")
    in2 = ffmpeg.input("0000836.mp4")
    in3 = ffmpeg.input("0000837.mp4")
    joined = ffmpeg.concat(
        in1['v'], in1['a'], in2['v'], in2['a'], in3['v'], in3['a'], v=1,
        a=1, unsafe=True).node
    out = ffmpeg.output(joined[0], joined[1], "output.mp4")
    out.run()
except ffmpeg.Error as e:
    print("ffmpeg error")
    print(e)

concat protocol does not support mp4?

Correct. See my earlier comment about how it only supports certain file formats.

I tried running this instead to concat videos and I'm getting an error

Please paste the error so we can see what you're experiencing.


Release version 4.5.0 of govuk schemas

This adds general support for schemas in publishing api, rather than a separate repo.
None of the changes are breaking, although it will mean that developers need an up-to-date version of publishing api locally (rather than govuk-content-schemas)
Trello

Good shout @brucebolt - have updated all references I could find to govuk-content-schemas now


Not a valid partitioner class: io.confluent.connect.hdfs.partitioner.DefaultPartitioner

Hi
I am getting below issue while submitting job. Could you please help me on this issue?
{"error_code":400,"message":"Connector configuration is invalid and contains the following 5 error(s):\nNot a valid partitioner class: io.confluent.connect.hdfs.partitioner.DefaultPartitioner\nNot a valid partitioner class: io.confluent.connect.hdfs.partitioner.DefaultPartitioner\nNot a valid partitioner class: io.confluent.connect.hdfs.partitioner.DefaultPartitioner\nNot a valid partitioner class: io.confluent.connect.hdfs.partitioner.DefaultPartitioner\nNot a valid partitioner class: io.confluent.connect.hdfs.partitioner.DefaultPartitioner\nYou can also find the above list of errors at the endpoint /{connectorType}/config/validate"}
My properties looks like below
{
"name": "s3-streamx-test",
"config": {
"connector.class": "com.qubole.streamx.s3.S3SinkConnector",
"tasks.max": "4",
"topics": "event",
"s3.url": "s3://bucket",
"flush.size": "2",
"format.class": "io.confluent.connect.hdfs.parquet.ParquetFormat",
"hadoop.conf.dir": "/opt/streamx/hadoop-conf/",
"name": "s3-streamx-test"
}
}
and hdfs-site.xml
<configuration>  <property>     <name>fs.s3.impl</name>     <value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value>   </property> <property>     <name>fs.s3.awsAccessKeyId</name>     <value>mykey</value> <property>     <name>fs.s3.awsSecretAccessKey</name> value>mysecretkey</value> </property> </configuration>
Regards
Anand.

Hello @anandreddyakidi
I was facing the same issue. Confluent team has already fix the issue in kafka-connect-hdfs, https://github.com/confluentinc/kafka-connect-hdfs/pull/150
You can rebuild the package with above fix to make it work.
Hope it helps you :)

I am using confluent-5.0.1 and still having this issue, Any idea on how to resolve it ?


check email before using it

we need to check the email before registering it.
we can use this library -> https://github.com/egulias/EmailValidator and usee all the available validation methods -> RFCValidation, DNSCheckValidation, SpoofCheckValidation

@selul not sure if this can be re-used across different services we have ( free theme downloads or admin dashboard subscribe )


Adding a to do app

Have you read the Contributing Guidelines ?
I have read the contributing guidelines specified by the repo
Description
A basic to do web app using the Django framework.
keeps assignments and their due dates.
Checklist

[ X] I've read the contribution guidelines.
[ X] I've checked the issue list before deciding what to submit.
[ X] I've edited the README.md and link to my code.

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

Hey, I updated the readme with a gif, feel free to update me if any changes are needed @Kushal997-das

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?
let me know, thanks!

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?
let me know, thanks!

You should push from local to origin .

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?

let me know, thanks!

You should push from local to origin .

I have pushed to origin under jordibranch, the terminal says that everything is up to date with the main branch, anything else that needs to be done?
@Kushal997-das

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?

let me know, thanks!

You should push from local to origin .

I have pushed to origin under jordibranch, the terminal says that everything is up to date with the main branch, anything else that needs to be done?
@Kushal997-das

Everything is up to date in your local not origin try this command git push origin master

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?

let me know, thanks!

You should push from local to origin .

I have pushed to origin under jordibranch, the terminal says that everything is up to date with the main branch, anything else that needs to be done?
@Kushal997-das

Everything is up to date in your local not origin try this command git push origin master

oohhh ok I saw my mistake.
had to run the command git push origin HEAD:main to get it to work but its updated now

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?

let me know, thanks!

You should push from local to origin .

I have pushed to origin under jordibranch, the terminal says that everything is up to date with the main branch, anything else that needs to be done?
@Kushal997-das

Everything is up to date in your local not origin try this command git push origin master

oohhh ok I saw my mistake.
had to run the command git push origin HEAD:main to get it to work but its updated now

You still 7 commits behind the original repo @Jordistyd

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?

let me know, thanks!

You should push from local to origin .

I have pushed to origin under jordibranch, the terminal says that everything is up to date with the main branch, anything else that needs to be done?

@Kushal997-das

Everything is up to date in your local not origin try this command git push origin master

oohhh ok I saw my mistake.

had to run the command git push origin HEAD:main to get it to work but its updated now

You still 7 commits behind the original repo @Jordistyd

Hey, am I still behind? I just updated

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?

let me know, thanks!

You should push from local to origin .

I have pushed to origin under jordibranch, the terminal says that everything is up to date with the main branch, anything else that needs to be done?

@Kushal997-das

Everything is up to date in your local not origin try this command git push origin master

oohhh ok I saw my mistake.

had to run the command git push origin HEAD:main to get it to work but its updated now

You still 7 commits behind the original repo @Jordistyd

Hey, am I still behind? I just updated

Yes

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?

let me know, thanks!

You should push from local to origin .

I have pushed to origin under jordibranch, the terminal says that everything is up to date with the main branch, anything else that needs to be done?

@Kushal997-das

Everything is up to date in your local not origin try this command git push origin master

oohhh ok I saw my mistake.

had to run the command git push origin HEAD:main to get it to work but its updated now

You still 7 commits behind the original repo @Jordistyd

Hey, am I still behind? I just updated

Yes

Hi, Sorry for all of the inconvinience, I fetched everything from main and merged it, should be fine now
please let me know and thank you!

Of course! Just to be clear, a gif of my app? And in which readme? Mine or the repo's main one? @Kushal997-das

On this file @Jordistyd

@Kushal997-das I updated the readme file :)

Your gif is not working fine please check @Jordistyd

The gif is working fine now I just needed to upload it to the project, thank you! @Kushal997-das

Please fetch this repo first then i gonna merge Thanks @Jordistyd

Hey I fetched the repo on to my machine, do I need to commit to see the changes?

let me know, thanks!

You should push from local to origin .

I have pushed to origin under jordibranch, the terminal says that everything is up to date with the main branch, anything else that needs to be done?

@Kushal997-das

Everything is up to date in your local not origin try this command git push origin master

oohhh ok I saw my mistake.

had to run the command git push origin HEAD:main to get it to work but its updated now

You still 7 commits behind the original repo @Jordistyd

Hey, am I still behind? I just updated

Yes

Hi, Sorry for all of the inconvinience, I fetched everything from main and merged it, should be fine now
please let me know and thank you!

Now it's fine @Jordistyd


Ensure that const and pure function attributes are used properly

Some functions were incorrectly marked as const but were pure only
(or not even pure). Some functions were marked as pure but
qualified as const. Some functions were not attributed at all but
qualified either as pure or const. Some functions had attributes
at definition but not at declaration. This commit fixes these
inconsistencies.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

Interestingly, neither binary size nor runtime stats (heap peak, stack peak, max RSS, running time) changed compared to master. However, I still think that getting the attributes right is important, as it has turned out recently that an unfit attribute might cause misguided optimisation and incorrect runtime behaviour (#1695).


Clone response before reading body in err hook

As per https://github.com/sindresorhus/ky/issues/479 the response object
should be cloned before it's read in the error hook.
This may fix #4 but needs to be verified.

Unfortunately this did not work. First request works. Edit the prompt and save file, all subsequent requests fail. HMR must be reusing something and it barfs.
You're probably on the right track given Next.js 13 extends fetch with their own caching logic.
wait  - compiling...
event - compiled client and server successfully in 166 ms (563 modules)
TypeError: Cannot construct a Request with a Request object that has already been used.
    at Object.fetch (node:internal/deps/undici/undici:11118:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async fn (webpack-internal:///(sc_server)/./node_modules/.pnpm/github.com+rileytomasek+openai-fetch@b990990506908db7036f7bd88f730037e1a88d6d/node_modules/openai-fetch/dist/index.cjs.js:276:28)
    at async result.<computed> [as json] (webpack-internal:///(sc_server)/./node_modules/.pnpm/github.com+rileytomasek+openai-fetch@b990990506908db7036f7bd88f730037e1a88d6d/node_modules/openai-fetch/dist/index.cjs.js:307:39)
    at async OpenAIClient.createCompletion (webpack-internal:///(sc_server)/./node_modules/.pnpm/github.com+rileytomasek+openai-fetch@b990990506908db7036f7bd88f730037e1a88d6d/node_modules/openai-fetch/dist/index.cjs.js:4270:26)
    at async getPlantList (webpack-internal:///(sc_server)/./app/plants-ai/[zone]/page.tsx:18:22)
    at async PlantsAI (webpack-internal:///(sc_server)/./app/plants-ai/[zone]/page.tsx:30:20)


Integrated cmd prompt & minimize to tray

Would it be possible to have the command window be integrated into the application and possibly a minimize to tray feature?
I edited the layout to try and Show what I mean

Unfortunately this prevents proper shutdown of the server. I've experimented with it already but it's not possible to "gracefully" shutdown the server without the window, as there is no way to shut it down without clicking the 'X' or 'Ctrl+C'.
Neither of those work without without the window being visible. If there is no window I have to kill the process which could lead to bad things, e.g. corrupted saves.
I'll have another look at it, though. It's been a while since I tried. I'll let you know what I find out.
Thank you

That was the conclusion I ended up with, but I have very limit knowledge, so figured I would pitch it here to see if it was possible. Thank you for explaining why it couldn't be done.

There is actually an easy way to do this but it requires you to redirect Input & Output stream of the window when you launch the Process from .net, you can select where the window output goes & where does it get its input. By controlling that stream, you get the console output as a stream to wherever you'd prefer to display it & you can write to input stream to control the process as if you typed it using keyboard.
Here's the relevant link with an example in there: Process.StandardInput Property
I'm well experienced in the .net world, and happy to help discuss and help along. Thank you for making this project as your first c# project!

If you're referring to redirecting the standard output of the process in C# it's unfortunately very inconsistent, see here: https://github.com/ValveSoftware/Source-1-Games/issues/1684
I've given it a few tries and after a few nights I decided it just wasn't worth it. If you find an easy way to work around it I'd be happy to take a look at it.
Thanks 😊

If you're referring to redirecting the standard output of the process in C# it's unfortunately very inconsistent, see here: ValveSoftware/Source-1-Games#1684

I'm unsure of what that issue is talking about, but I've done this personally without an issue. Their issue description is implying a problem with steamcmd's output specifically. I've not browsed your code much, but are you going through steamcmd to launch? Also considering the issue is from 2014, do you have any documentation about what problems you ran into with the flakey behavior? Perhaps we can connect on discord and have a go together.
I unfortunately couldn't get it to start myself as the only error i got was it couldn't find server exe (I sort of expected this) but i found no obvious way to tell the program where to look or which files to copy over to \Server folder.

Yeah, it's with SteamCMD specifically and (from what I've read) how it flushes it's buffer, so the output is really inconsistent and sometimes never even outputs anything. It's very sporadic and rarely worked for me.
Any other process I've tried with works flawlessly, I did use the output of the server for a bit to make a live log reader but dropped the idea. Although you've definitely made me want to try again 😁And sure; my Discord is lacyway.
Regarding the server exe, it should be the entire installation of the dedicated server in that folder. E.g. this is what mine looks like that I use for testing. It should install it when clicking "Update Server".

Here's a direct link: https://github.com/Lacyway/V-Rising-Server-Manager/blob/74a8a89ab84e8349d55097320d543828c86302e4/VSM/MainWindow.xaml.cs#L205
It uses the "Server" object here: https://github.com/Lacyway/V-Rising-Server-Manager/blob/74a8a89ab84e8349d55097320d543828c86302e4/VSM/MainSettings.cs#L66


Error message on startup

Upon startup I get a dialog box saying:
"An error has occured. See the log file ..../.archi4/.metadata/.log"
I have attached the log file.
Version of Archi, Operating System
I am running Ubuntu 18.04.2. The error message appears both on Archi 4.3 and Archi 4.4.0
Expected Behaviour
The application should start
Actual Behaviour
An error dialog appears, and then the application stops
log.LOG

Archi 4.4 doesn't support Java 11. If you can install Java 8 that would do it.
From the download page:
"Requires Java 8 or 10 (64-bit) installed."
(We will support later versions of Java at some point, but this requires building Archi on later versions of Eclipse which bring in a new set of problems)

Ah, that explains it. Java 8 is already installed in my system, so it was only a matter of preferring this version:
sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

You can edit Archi-Ubuntu.sh to change Java version to 8 before starting Archi and set it back to 11 afterwards:
#!/bin/bash
echo "Setting Java Version to 8"
sudo update-java-alternatives -s java-8-oracle
echo "Starting Archi"
export UBUNTU_MENUPROXY=0
dir=$(dirname $(readlink -m $0))
$dir/Archi
echo "Setting Java Version to 11"
sudo update-java-alternatives -s java-1.11.0-openjdk-amd64

To get Java-names, use sudo update-java-alternatives -l

Next build of Archi 64-bit will include a bundled Java 8.


feat(authService): optional callback for isAuthenticated

ref https://github.com/SpoonX/aurelia-authentication/issues/288

@bas080 @VMBindraban
@nexbit i left the status refreshing out for now. would have to make sure it's on all the right places

@RWOverdijk Review please.

@doktordirk Why isn't this a promise instead? Either way I can live with the solution provided 👍

@RWOverdijk you.ve a bad memory. i.ve made it a promise once (per option) and you rejected it. anyways, to be BC

@doktordirk I don't have bad memory, I have tons of stuff flying by daily. I can't keep track of every tiny thing.
But good argument for a callback. :) 👍


Tip message to be on top of preview

This change also requires to move the bottom tip button near the user profile (which itself requires a redesign)


single apostrophes get changed into quote marks

to replicate:

post a tweet with the text Hello's World.
reply to the tweet with @buildMeAVideo
A video gets posted with the text Hello"s World

The problem is in https://github.com/shotstack-samples/build-me-a-video-twitter-bot/blob/main/handlers/process/lib/render.js, line 13:
  newString = string.replace(/'/g, '"');
This should instead be:
  newString = string.replace(/'/g, ''');
It's a really easy fix, but I'd be happy to submit a PR for this if you like.

Good pickup. Didn't think of that one.
Yeah feel free submit a PR and I'll merge and deploy.

I'm getting a 403 on my end when I try git push origin apostrophe-fix; maybe you have to add me to the repo as a contributor?

Good pickup. Didn't think of that one.
Yeah feel free submit a PR and I'll merge and deploy.

PR submitted.

Sweet thanks. Have merged and deployed. Changes are now live!


[FLINK-8110][dist] Relocate jackson services in flink-dist

What is the purpose of the change
This PR introduces a com.fasterxml.jackson relocation to flink-dist in order to relocate the jackson services contained in flink-shaded-jackson. The flink-shaded project still uses shade-plugin 2.4.1 which doesn't relocate services.
Since flink also doesn't use 3.0.0 yet we have to manually bump the version in flink-dist.
Brief change log

bump maven-shade-plugin version in flink-dist to 3.0.0
add com.fasterxml.jackson relocation

Verifying this change

build flink-dist and check the contents of META-INF/services

it should contain the following files:
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonFactory and    org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.ObjectCodec
the contents of these files should also be relocated

wait for travis end-to-end tests to verify general functionality

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

We'll have a first indication whether this works properly in ~10 minutes: https://travis-ci.org/zentol/flink/builds/304724493

LGTM once travis is green! 👍

merging.