HDFS High Availability

Does the module support HDFS High Availability?  I have a system that  uses primary and secondary namenodes, and when there is a failover it changes which one is the primary namenode.  Looking at the code, it appears to only support one connection or IP address.

I believe that as long as you have the secondary namenode configured in the hdfs-site.xml then libhdfs3 will failover to the secondary namenode. @wangzw probably can comment on this.

NAMENODE failover is handled on both server and client sides. For client side. libhdfs3 can switch to another namenode and retry if the current namenode fail to response the RPC call or declare itself as standby. But to make it work, you have to configure libhdfs3 correctly in hdfs-client.xml.
hdfs-client.xml is used by libhdfs3 on client side. The HA configuration is the same as in hdfs-site.xml on server side.

Hi @wangzw, does it mean that I should NOT specify host and port? Even when leaving them empty they default to (see https://github.com/dask/hdfs3/blob/master/hdfs3/core.py#L35)
u = urlparse(conf['fs.defaultFS'])  # pragma: no cover
conf['host'] = u.hostname  # pragma: no cover
conf['port'] = u.port  # pragma: no cover

where conf is set by parsing core-site.xml. In HA scenario's, fs.defaultFS is something like
<property>
  <name>fs.defaultFS</name>
  <value>hdfs://mycluster</value>
</property>

so host = 'mycluster' and port = None. These values are then used like so
o = _lib.hdfsNewBuilder()
_lib.hdfsBuilderSetNameNodePort(o, self.port)
 _lib.hdfsBuilderSetNameNode(o, ensure_bytes(self.host))

If I then look at the source for lib, I see that the  _lib.hdfsBuilderSetNameNode has a doc string containing the following:
You may specify a NameNode port in the usual way by

             passing a string of the format hdfs://<hostname>:<port>.

In this case mycluster (or whatever I'm using for HA) does not seem to be valid to me.
At this point I think libhdfs3 reads a hdfs-client.xml anyway. But wouldn't it be possible (and possibly better) to pass the two namenodes explicitly in the Python client code?
I'm asking as I'd love to have hdfs3 to be the HDFS library used by Airflow, but the presence of hdfs-client.xml can be difficult to require.

@gglanzani you can do the following:
host = "mycluster"
conf = {"dfs.nameservices": "mycluster",
              "dfs.ha.namenodes. mycluster": "nn1,nn2",
              "dfs.namenode.rpc-address. mycluster.nn1": "myhost1:port",
               "dfs.namenode.rpc-address. mycluster.nn2": "myhost2:port"}
fs = HDFileSystem(host=host, port=None, pars=conf)

To overcome port issue I just subclass HDFileSystem and remove line with _lib.hdfsBuilderSetNameNodePort(o, self.port). Not to specify any port (even valid) is very important, because libhdfs3 see the port and do not use HA mode at all (https://github.com/Pivotal-Data-Attic/pivotalrd-libhdfs3/blob/apache-rpc-9/src/client/FileSystemImpl.cpp#L161-L177)

Thank you, that's very nice - this should be documented and included (feel free to make a PR if I don't get to it soon).
On removing _lib.hdfsBuilderSetNameNodePort(o, self.port), what specific condition can I check for to make sure not to call this when HA is being configured?

Thanks @jettify, that's really helpful! I agree with @martindurant, this should be documented.

You can see my dirty changes that work for my project here (https://github.com/dask/hdfs3/compare/dd84c179f32350b23ab07402012db722b08aa700...jettify:be86947bfee9e1e140657e1b8d41cbfbb37e7afb).
Also we usehdfs3 with kerberos, tokens and proper user impersonation, but to have those fixed in hdfs3 this PRs should be merged first (https://github.com/Pivotal-Data-Attic/pivotalrd-libhdfs3/pull/45 https://github.com/Pivotal-Data-Attic/pivotalrd-libhdfs3/pull/28)

@jettify it would be very cool if you could contribute those upstream, especially with tests.  My guess is that a lot of people would benefit.

Not a lot of merging has been going on at pivotal, recently....

@martindurant @mrocklin Can we have https://github.com/jettify/hdfs3 merged in though? I don't think there's a need to wait for tokens and user impersonation from libhdfs3 (although they are nice additions).

I will try to find time to do clean PR tomorrow

Thank you @jettify !

@jettify do you know if your PRs will resolves this issue: https://github.com/Pivotal-Data-Attic/pivotalrd-libhdfs3/issues/53 ?

Sorry I do not know, that are PRs of my teammate, may be he knows more.

I suspect that it will not fix that linked issue. To resolve that issue, it would require building debug version of lib and using gdb to trace through the call to see where it goes wrong. I think integrity and privacy likely requires different options for gsasl or something. I suspect something related to GSASL_QOP_AUTH_INT as described here: https://www.gnu.org/software/gsasl/reference/gsasl-gsasl.html

Perhaps something like this:
sprintf(str, "%d", GSASL_QOP_AUTH_INT );
gsasl_property_set(session, GSASL_QOP, str);
conditionally in SaslClient::initKerberos. Not sure what needs doing for GSASL_QOPS property though - that may be only for the server to use. Or it might require something like this:
https://github.com/markpizz/gsasl/blob/bd1f4f5d9bcc2bfc4896ed0af4a4cdce7812441f/tests/digest-md5.c#L100-L116


[Round 2] Improved: D3D11 Adapter Creation Speed by Manually Selecting Hardware Type

This is a resubmission of

https://github.com/AvaloniaUI/Avalonia/pull/16035

As per comment in

https://github.com/AvaloniaUI/Avalonia/pull/16035#issuecomment-2178108248

With additional feedback addressed.
For more details, see the original PR.

Reminder to ensure that

https://github.com/AvaloniaUI/Avalonia/issues/16062

Can no longer be reproduced by @maxkatz6 after checking out this PR.

Is there anything else that I need to do for this PR?
It's been sitting stale for a month, and it's relatively simple, so I'm not really sure per-se.

@Sewer56 thank you for reminding.
With this PR it doesn't crash on my machine anymore, and instead fallback works properly.
But still, D3D11CreateDevice(D3D_DRIVER_TYPE_HARDWARE) returns E_INVALIDARG for me. I am pretty sure my machine with nvidia gpu should be in covered ~99% of use cases.
Do you have any hints how can I debug that to get more information about error?

@Sewer56 ok, enabled debug flag and used Visual Studio with native code debugging enabled (Rider didn't show any extra info for some reason).
Now I have this output in the logs:
DX ERROR: D3D11CreateDevice: When creating a device from an existing adapter (i.e. pAdapter is non-NULL), DriverType must be D3D_DRIVER_TYPE_UNKNOWN. [ INITIALIZATION ERROR #3146142: ]

If it's a good idea to rely on default adapter, we can skip creating IDXGIFactory1 and IDXGIAdapter1, unless we have Arm64 (older Adreno GPU didn't work well with avalonia).

FYI @kekekeks

I think the idea was to add adapter selection callback or options to Win32PlatformOptions. IIRC it was requested to make sure that chosen adapter matches pre-existing VkDevice for interop purposes.

Closing due to inactivity

I'm not inactive with regards to the thread.
I just wasn't sure what the further plan of action should be myself.

For instance; is the request to amend the code to rely on the default adapter?
I'm sure if the steps needed to proceed are/were reliant on myself or @kekekeks from the context here.


Is there a option to mount G: Drive

I am seeing this console output
Screenshot of the console output

So i wondered if it is possible to mount my game directory from windows to the G: Drive in Xemu with NevolutionX.
If it is possible how would i do that? If not could it be a considered as a request? 😃

So i wondered if it is possible to mount my game directory from windows to the G: Drive

That would be a feature of your Xbox, unrelated to NevolutionX.
G: drive in the information line refers to the (optional) extra partition seen in higher capacity hard drives used in order to alleviate some of the shortcomings of LBA48.


Added unit tests to cover Temporal.Sdk.Common

Summary
This PR adds unit tests for the converters and classes in Temporal.SDK.Common. It uncovered what I believe to be an issue with the VoidPayloadConverter. It was returning true in all cases, so that meant the CompositePayloadConverter would never go through all of its options.
Related Work Items
#13
What was changed
Changed the VoidPayloadConverter to return false when its preconditions fails
Why?
There are currently no tests within the project.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @mightyshazam,
Thanks a million for your contribution. It comes at a perfect time where we just finished the initial set of features, and are planning to focus on automating our existing validation and on adding more test coverage.
I would love to merge your PR. I noticed that it has some significant delta to files unchanged. It might be because of a difference in line endings (Win/Unix), in encoding or something similar. To reduce churn and to make reviews easier, I would like to address that first.
Let us work together on that. To make things simpler, perhaps we should have a brief zoom conversation and coordinate?
What time zone are you in and what times work best for you?


Code quality tools

It might be a good idea to validate code quality automatically by using an external tool. I used https://codeclimate.com/ in the past effectively.

Example for my fork of this repo:
https://codeclimate.com/github/anXieTyPB/twitch-bot


Bluetooth support

Pls implement Bluetooth support

Hi,
I would like to do that but unfortunately I don't have any ESC/POS bluetooth printer to test. So it's nearly impossible to implement it for the moment...

I can try to implement but I don't have the necessary knowledge yet, could you give me any tips? where to start

I think you could try to use this lib: https://pub.dev/packages/flutter_bluetooth_serial

I'm going to close this issue, feel free to reopen it if need

Hi @JunioJsv ,
Does the library work well for you?
I've created a list of printers tested with this library.
May I ask you to add your printer model into the table?
It will help me to maintain the library and others to choose the right printer!
Thank you!

is android platform channel ready to use?
or still only IOS is currently offered?


Propagate trust_remote_code flag throughout vLLM startup

What this PR does / why we need it:
This fix propagates the trust_remote_code flag throughout the vLLM runtime initialization to allow for custom config files, such as on models like microsoft/Phi-3-small-128k-instruct.
Which issue(s) this PR fixes:
The huggingfaceserver initialization hangs (and errors out) at the AutoConfig.from_pretrained calls for local config files that are not intrinsic to the transformers library, such as Phi3SmallConfig found on microsoft/Phi-3-small-128k-instruct. The trust_remote_code flag is included in the server initialization, but is not propagated to these calls correctly.
Type of changes
Please delete options that are not relevant.

[x] 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 not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

@calwoo Can you help sign-off the commit ?

/lgtm

@sivanantha321 should be signed now, thanks

/lgtm
optional: an enhancement is to follow this to group the parameters together.

@calwoo Seems like there are some lint erros

/rerun-all

/lgtm
/approve


Allow git commit hash to be passed at build time.

When building with nix, usually we don't fetch the git repository if it can be avoided (and instead use the source archive generated by GitHub). This PR allows the git commit revision to be passed at build time rather than be determined by running git, which makes the build play nicer with nix.

Looking at how the commit hash is used, it seems it's only used when running tigerbeetle version --verbose. Is the commit hash really required in this case? Usually it can be inferred through the version itself, so IMO it doesn't make much sense to include it.
As an alternative way of making tigerbeetle build nicer with nix, I'd propose to just drop the git commit hash thing entirely.

Thanks, this totally makes sense! I've actually already added the "pass hash externally" infrastructure to our release process for much the same reason, but looks like I've forgot to actually thread it all the way to the actual build process!
https://github.com/tigerbeetle/tigerbeetle/blob/main/.github/workflows/release.yml#L45
Thanks a bunch!

Forgot to actually write down why we don't want to drop the hash entirely --- having a hash in the binary is too damn convenient for debugging! It can be inferred from the version, but that's an easy to mess up step.


Selecting Python version in venv

I think this only works with the conda plugin but It would be nice to allow users to select the Python version in the venv too. @ak-gupta thoughts?

Digging into this a bit more it might not make sense to really do this. Whatever version you are using in your base env gets used by venv. Maybe just point to the conda plugin if ppl want to mix and match different envs? I think we can close this one @ak-gupta , what do you think?

Closing this in favour for the following note in this PR: https://github.com/capitalone/edgetest/pull/52/commits/e39d3766e58bc4a8f3ecbfa03980aa013176603b#diff-66e28562c85a1bb96f431f2dd52bbabab914359e4b06f58eb1e18eadc01f5c06R483-R485


New blog post - Viva Connections Toolkit VS Code extension

Category

[X] New article

Contents of the Pull Request
Adds a new article regarding the Viva Connections Toolkit VS Code extension

ok @LuiseFreese this one is ready (at least from my end 😜)


Added CONTRIBUTING.md

Fixes #27

Please add the label of gssoc and level1 on this pull request as well according to gssoc guidelines.

Please add the label of gssoc and level1 on this pull request as well according to gssoc guidelines.

Please add the label of gssoc and level1 on this pull request as well according to gssoc guidelines.


Daemon unable to open libstt.so

I've turned on daemon-enable and when checking the status with journalctl, I see the following error:
Aug 22 13:16:57 escapepod start.sh[4492]: ./chipper: error while loading shared libraries: libstt.so: cannot open shared object file: No such file or directory
Why would libstt.so be missing? I had to install golang 1.19 and manually set up some go related exports on the path in .profile. Aside from that, I'm just running the normal command of sudo ./setup.sh daemon-enable.

I found one hit for libstt.so in the filesystem:
pi@escapepod:~ $ sudo find / -name libstt.so /root/.coqui/libstt.so
Are we running into an issue where this line in setup.sh isn't pointing to the expected location?
https://github.com/kercre123/wire-pod/blob/7931da38e676dc6c943bddb04610ec744a925317/setup.sh#L638

I made some headway. I'm using Picovoice and it looks like the daemon doesn't build the Picovoice go file when STT_SERVICE is set to leopard.
https://github.com/kercre123/wire-pod/blob/7931da38e676dc6c943bddb04610ec744a925317/setup.sh#L639
I believe we would need a conditional check like so:
    ...
    echo "wire-pod.service created, building chipper..."
    cd chipper
+   if [[ ${STT_SERVICE} == "leopard" ]]; then
+     /usr/local/go/bin/go run cmd-leopard/main.go
+   else
      export CGO_LDFLAGS="-L$HOME/.coqui/"
      export CGO_CXXFLAGS="-I$HOME/.coqui/"
      export LD_LIBRARY_PATH="$HOME/.coqui/:$LD_LIBRARY_PATH"
      /usr/local/go/bin/go build cmd/main.go
+   fi
     mv main chipper
     ...

Happy to make a pull-request. Just let me know.

I made some headway. I'm using Picovoice and it looks like the daemon doesn't build the Picovoice go file when STT_SERVICE is set to leopard.

100%, I ran in to this yesterday as well.

I made some headway. I'm using Picovoice and it looks like the daemon doesn't build the Picovoice go file when STT_SERVICE is set to leopard.
https://github.com/kercre123/wire-pod/blob/7931da38e676dc6c943bddb04610ec744a925317/setup.sh#L639
I believe we would need a conditional check like so:
    ...
    echo "wire-pod.service created, building chipper..."
    cd chipper
+   if [[ ${STT_SERVICE} == "leopard" ]]; then
+     /usr/local/go/bin/go run cmd-leopard/main.go
+   else
      export CGO_LDFLAGS="-L$HOME/.coqui/"
      export CGO_CXXFLAGS="-I$HOME/.coqui/"
      export LD_LIBRARY_PATH="$HOME/.coqui/:$LD_LIBRARY_PATH"
      /usr/local/go/bin/go build cmd/main.go
+   fi
     mv main chipper
     ...

Happy to make a pull-request. Just let me know.

A pull request would be appreciated. Though make sure you are getting the variable from the source.sh file

I've made the changes and am testing them out before submitting a pull request. I see a few panics from Picovoice during operation though. Should I open a separate issue? Here is the output of journalctl -fe | grep start.sh while the daemon is running and I ask it a knowledge graph question.
Aug 26 19:46:32 escapepod start.sh[1153]: Initializing 3 Picovoice Instances...
Aug 26 19:46:32 escapepod start.sh[1153]: Initializing Picovoice Instance 0
Aug 26 19:46:33 escapepod start.sh[1153]: Initializing Picovoice Instance 1
Aug 26 19:46:35 escapepod start.sh[1153]: Initializing Picovoice Instance 2
Aug 26 19:46:36 escapepod start.sh[1153]: Houndify for knowledge graph initialized!
Aug 26 19:46:36 escapepod start.sh[1153]: Starting webserver at port 8080 (http://localhost:8080)
Aug 26 19:46:36 escapepod start.sh[1153]: {"function":"server.(*Server).Start","grpc-address":{"IP":"::","Port":443,"Zone":""},"http-address":null,"level":"info","msg":"server starting","source":"server.go:198","time":"2022-08-26 19:46:36"}
Aug 26 19:46:36 escapepod start.sh[1153]: Server started successfully!
Aug 26 19:46:49 escapepod start.sh[1153]: {"action":"recv_first_request","function":"server.(*Server).StreamingIntentGraph","level":"info","msg":"EOF","source":"intent_graph.go:20","status":"error","time":"2022-08-26 19:46:49"}
Aug 26 19:46:56 escapepod start.sh[1153]: {"action":"recv_first_request","function":"server.(*Server).StreamingIntentGraph","level":"info","msg":"EOF","source":"intent_graph.go:20","status":"error","time":"2022-08-26 19:46:56"}
Aug 26 19:47:04 escapepod start.sh[1153]: {"action":"recv_first_request","function":"server.(*Server).StreamingIntentGraph","level":"info","msg":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","source":"intent_graph.go:20","status":"error","time":"2022-08-26 19:47:04"}
Aug 26 19:47:46 escapepod start.sh[1153]: {"action":"recv_first_request","function":"server.(*Server).StreamingIntentGraph","level":"info","msg":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","source":"intent_graph.go:20","status":"error","time":"2022-08-26 19:47:46"}
Aug 26 19:52:52 escapepod start.sh[1153]: Bot 1 ESN: 00805f47
Aug 26 19:52:52 escapepod start.sh[1153]: Bot 1 Session: 74733199-4bd9-42
Aug 26 19:52:52 escapepod start.sh[1153]: Bot 1 Language: ENGLISH_US
Aug 26 19:52:52 escapepod start.sh[1153]: Stream 1 opened.
Aug 26 19:52:52 escapepod start.sh[1153]: Bot 1 Stream Type: Opus
Aug 26 19:52:52 escapepod start.sh[1153]: Processing...
Aug 26 19:52:53 escapepod start.sh[1153]: Speech completed in 0.25 seconds.
Aug 26 19:52:53 escapepod start.sh[1153]: panic: runtime error: invalid memory address or nil pointer dereference
Aug 26 19:52:53 escapepod start.sh[1153]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8915c4]
Aug 26 19:52:53 escapepod start.sh[1153]: goroutine 83 [running]:
Aug 26 19:52:53 escapepod start.sh[1153]: github.com/Picovoice/leopard/binding/go.(*nativeLeopardType).nativeProcess(0x22?, 0x89f328?, {0x40003f0000, 0x2d00, 0x2d00})
Aug 26 19:52:53 escapepod start.sh[1153]:         /root/go/pkg/mod/github.com/!picovoice/leopard/binding/go@v1.1.1/leopard_native.go:228 +0xa4
Aug 26 19:52:53 escapepod start.sh[1153]: github.com/Picovoice/leopard/binding/go.(*Leopard).Process(0x299db08?, {0x40003f0000?, 0x40000bb2b8?, 0x1?})
Aug 26 19:52:53 escapepod start.sh[1153]:         /root/go/pkg/mod/github.com/!picovoice/leopard/binding/go@v1.1.1/leopard.go:201 +0x48
Aug 26 19:52:53 escapepod start.sh[1153]: github.com/digital-dream-labs/chipper/pkg/voice_processors/wirepod-leopard.sttHandler({0x9834c0?, 0x4000165810?}, 0x0)
Aug 26 19:52:53 escapepod start.sh[1153]:         /home/ubuntu/wire-pod/chipper/pkg/voice_processors/wirepod-leopard/stthandler.go:281 +0x155c
Aug 26 19:52:53 escapepod start.sh[1153]: github.com/digital-dream-labs/chipper/pkg/voice_processors/wirepod-leopard.(*Server).ProcessIntentGraph(0x29a4a20?, 0x4000165810)
Aug 26 19:52:53 escapepod start.sh[1153]:         /home/ubuntu/wire-pod/chipper/pkg/voice_processors/wirepod-leopard/intent_graph.go:11 +0x30
Aug 26 19:52:53 escapepod start.sh[1153]: github.com/digital-dream-labs/chipper/pkg/server.(*Server).StreamingIntentGraph(0x4000079100, {0x29a3cc8, 0x4000033d50})
Aug 26 19:52:53 escapepod start.sh[1153]:         /home/ubuntu/wire-pod/chipper/pkg/server/intent_graph.go:25 +0x1c4
Aug 26 19:52:53 escapepod start.sh[1153]: github.com/digital-dream-labs/api/go/chipperpb._ChipperGrpc_StreamingIntentGraph_Handler({0xa0f5e0?, 0x4000079100}, {0x29a2bd0?, 0x40001472b0})
Aug 26 19:52:53 escapepod start.sh[1153]:         /root/go/pkg/mod/github.com/digital-dream-labs/api@v0.0.0-20210824232136-8cc90c1bb12c/go/chipperpb/chipperpb_grpc.pb.go:294 +0xa0
Aug 26 19:52:53 escapepod start.sh[1153]: google.golang.org/grpc.(*Server).processStreamingRPC(0x40000f2000, {0x29a4090, 0x400163a1a0}, 0x4000000360, 0x400013ffb0, 0x2d404e0, 0x0)
Aug 26 19:52:53 escapepod start.sh[1153]:         /root/go/pkg/mod/google.golang.org/grpc@v1.48.0/server.go:1558 +0xdd8
Aug 26 19:52:53 escapepod start.sh[1153]: google.golang.org/grpc.(*Server).handleStream(0x40000f2000, {0x29a4090, 0x400163a1a0}, 0x4000000360, 0x0)
Aug 26 19:52:53 escapepod start.sh[1153]:         /root/go/pkg/mod/google.golang.org/grpc@v1.48.0/server.go:1640 +0x828
Aug 26 19:52:53 escapepod start.sh[1153]: google.golang.org/grpc.(*Server).serveStreams.func1.2()
Aug 26 19:52:53 escapepod start.sh[1153]:         /root/go/pkg/mod/google.golang.org/grpc@v1.48.0/server.go:932 +0x88
Aug 26 19:52:53 escapepod start.sh[1153]: created by google.golang.org/grpc.(*Server).serveStreams.func1
Aug 26 19:52:53 escapepod start.sh[1153]:         /root/go/pkg/mod/google.golang.org/grpc@v1.48.0/server.go:930 +0x29c

When I get lucky and Pinovoice does not panic during a knowledge graph question, I receive this parsing error. This happens for every knowledge graph request. Again, should this be a separate issue?
Aug 26 20:02:56 escapepod start.sh[1385]: Initializing 3 Picovoice Instances...
Aug 26 20:02:56 escapepod start.sh[1385]: Initializing Picovoice Instance 0
Aug 26 20:02:57 escapepod start.sh[1385]: Initializing Picovoice Instance 1
Aug 26 20:02:58 escapepod start.sh[1385]: Initializing Picovoice Instance 2
Aug 26 20:03:00 escapepod start.sh[1385]: Houndify for knowledge graph initialized!
Aug 26 20:03:00 escapepod start.sh[1385]: {"function":"server.(*Server).Start","grpc-address":{"IP":"::","Port":443,"Zone":""},"http-address":null,"level":"info","msg":"server starting","source":"server.go:198","time":"2022-08-26 20:03:00"}
Aug 26 20:03:00 escapepod start.sh[1385]: Server started successfully!
Aug 26 20:03:00 escapepod start.sh[1385]: Starting webserver at port 8080 (http://localhost:8080)
Aug 26 20:03:18 escapepod start.sh[1385]: Bot 1 ESN: 00805f47
Aug 26 20:03:18 escapepod start.sh[1385]: Bot 1 Session: 2de3f648-b524-43
Aug 26 20:03:18 escapepod start.sh[1385]: Bot 1 Language: ENGLISH_US
Aug 26 20:03:18 escapepod start.sh[1385]: Stream 1 opened.
Aug 26 20:03:18 escapepod start.sh[1385]: Bot 1 Stream Type: Opus
Aug 26 20:03:18 escapepod start.sh[1385]: Processing...
Aug 26 20:03:19 escapepod start.sh[1385]: Speech completed in 0.78 seconds.
Aug 26 20:03:19 escapepod start.sh[1385]: Bot 1 Transcribed text: i have a question
Aug 26 20:03:19 escapepod start.sh[1385]: Bot 1 request served.
Aug 26 20:03:19 escapepod start.sh[1385]: Bot 1 Intent Sent: intent_knowledge_promptquestion
Aug 26 20:03:19 escapepod start.sh[1385]: No Parameters Sent
Aug 26 20:03:19 escapepod start.sh[1385]: Bot 1 request served.
Aug 26 20:03:22 escapepod start.sh[1385]: Bot 1 ESN: 00805f47
Aug 26 20:03:22 escapepod start.sh[1385]: Bot 1 Session: e4e9063b-481a-4f
Aug 26 20:03:22 escapepod start.sh[1385]: Bot 1 Language: ENGLISH_US
Aug 26 20:03:22 escapepod start.sh[1385]: KG Stream 1 opened.
Aug 26 20:03:22 escapepod start.sh[1385]: Bot 1 Stream Type: Opus
Aug 26 20:03:22 escapepod start.sh[1385]: Processing...
Aug 26 20:03:23 escapepod start.sh[1385]: Speech completed in 1.38 seconds.
Aug 26 20:03:23 escapepod start.sh[1385]: Sending requst to Houndify...
Aug 26 20:03:23 escapepod start.sh[1385]: fail reading hound server message
Aug 26 20:03:23 escapepod start.sh[1385]: error response
Aug 26 20:03:23 escapepod start.sh[1385]: invalid character 'a' looking for beginning of value
Aug 26 20:03:23 escapepod start.sh[1385]: Transcribed text:
Aug 26 20:03:23 escapepod start.sh[1385]: Bot 1 request served.
Aug 26 20:03:23 escapepod start.sh[1385]: (KG) Bot 1 request served.

When I get lucky and Picovoice does not panic during a knowledge graph question, I receive this parsing error. This happens for every knowledge graph request. Again, should this be a separate issue?

The panics seem to be because Picovoice is not receiving a long enough audio stream to process. Does it happen while you are saying the command or after you are done saying it? As for houndify, it seems you may have bad API keys.

When I get lucky and Picovoice does not panic during a knowledge graph question, I receive this parsing error. This happens for every knowledge graph request. Again, should this be a separate issue?

The panics seem to be because Picovoice is not receiving a long enough audio stream to process. Does it happen while you are saying the command or after you are done saying it? As for houndify, it seems you may have bad API keys.

Ah, the two must be related. I had a zero which needed to be a capitol "o" in my Client Key. Once I corrected that, both issues went away. I'll go ahead and submit this pull request now. Thanks.


Illegal escape character on Windows path

Hi @LikeTheSalad (again 😄 ),
As a follow-up to my previous issue, I have been able to successfully add the plugin to my project.
However, when building my app, the plugin fails with the following error :
Caused by: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 4 ^C:\Users\MY_USERNAME\Projects\android-sample-project.+     ^ 	at kotlin.text.Regex.<init>(Regex.kt:89) 	at com.likethesalad.stem.locator.entrypoints.common.source.configuration.TemplateProvidersResourceSourceConfiguration.filterLocalJars(TemplateProvidersResourceSourceConfiguration.kt:91) 	at com.likethesalad.stem.locator.entrypoints.common.source.configuration.TemplateProvidersResourceSourceConfiguration.createTemplatesProviderPathStartPattern(TemplateProvidersResourceSourceConfiguration.kt:63) 	at com.likethesalad.stem.locator.entrypoints.common.source.configuration.TemplateProvidersResourceSourceConfiguration.filterTemplateProviderResDirs(TemplateProvidersResourceSourceConfiguration.kt:48) 	at com.likethesalad.stem.locator.entrypoints.common.source.configuration.TemplateProvidersResourceSourceConfiguration.getResDirs(TemplateProvidersResourceSourceConfiguration.kt:40) 	at com.likethesalad.tools.resource.locator.android.extension.configuration.source.base.ResDirResourceSourceConfiguration.doGetSourceProviders(ResDirResourceSourceConfiguration.kt:16) 	at com.likethesalad.tools.resource.locator.android.extension.configuration.source.ResourceSourceConfiguration.getSourceProviders(ResourceSourceConfiguration.kt:16) 	at com.likethesalad.tools.resource.locator.android.task.ResourceLocatorTask.addResourceSources(ResourceLocatorTask.kt:80)
I'm on a Windows computer (Windows 11, if that matters), and I guess that the \ path separator messes up with your plugin Regex mechanism...
Let me know if there is a way to bypass this, or if I should wait for a fix on your side.
Thanks again for your help, I appreciate it !

Hi @dodos90 !
No worries, this is a great opportunity for me because I didn't get the chance to check how this plugin works on a Windows machine before. I don't see a way for you to bypass it, but it seems like an easy fix so I think I should be able to provide a patch later today.

Hi @dodos90 , the new version 2.1.1 is now available :+1: you should no longer see this issue with it, though please feel free to reopen this ticket otherwise.
Cheers!

Thank you so much, everything works perfectly now ❤

That's great news @dodos90 ! glad to help, and many thanks for your support! :pray: :heart:


Download goes into minus

While  downloading the update ,download goes till 50% or 65% and then goes into minus like -65% and decreases to 0 again.

thanks for your issue, will look into it.

@MudassirMobi Did you just download the original library code and test it in the sample app?

@cyb3rko Let me do the same .

As per your suggestion I downloaded the demo project from GitHub and added
my apk url but issue still persists. I have attached the screenshot for
your reference.
It's showing positive value till 65 and then it decreases to 0 like -65
,-64.....-1,0.
On Tue, Dec 22, 2020, 4:53 AM Niko Diamadis<EMAIL_ADDRESS>wrote:

@MudassirMobi https://github.com/MudassirMobi Did you just download the
original library code and test it in the sample app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-749250965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZICD3PVFLO3FMGDMNTSV7KF5ANCNFSM4VEDWB3A
.

Hmm, weird.
Does the download fail or does it download?
I will have to try to implement the library in an own app because since now I just worked directly on the library code.

App was not working than  I have added this line of code in  Application tag in Manifest file
" android:requestLegacyExternalStorage="true" " ,for android 10 in your project. And then it works, It gets download, but  the progress bar showing nagative values as well ,which is my main concern.

Ah, so it was the problem with Android 10 okay.
Yeah, adding this line is the much easier way of installing apps on Android 10 or higher, but it's not good practice.
I have not tested it yet on Android 10, I will do it as well and see if I can solve that problem, thanks!

At some point we will add installer for Android 10.

Cool, I m also looking to  solutions  for  the same .Lets fix this problem.
On Tue, Dec 22, 2020, 3:09 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

At some point we will add installer for Android 10.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-749448987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZJICELHCQ7YUVHP7J3SWBSOJANCNFSM4VEDWB3A
.

I just added System.out.println(progress[0]); in ProgressUpdate of the AsyncTask and ran the app. It just prints out the numbers from 0 to 100.
For everything seems to work. You can do it too and see what gets printed.

Yes,but i m running your project and this is logcat while running
2020-12-22 17:34:17.321 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress63%
2020-12-22 17:34:17.335 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress63%
2020-12-22 17:34:17.486 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress63%
2020-12-22 17:34:17.487 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress64%
2020-12-22 17:34:17.756 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress64%
2020-12-22 17:34:17.757 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress65%
2020-12-22 17:34:18.107 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress65%
2020-12-22 17:34:18.107 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-65%
2020-12-22 17:34:18.390 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-65%
2020-12-22 17:34:18.454 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-65%
2020-12-22 17:34:18.540 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-65%
2020-12-22 17:34:18.541 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-64%
2020-12-22 17:34:19.021 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-64%
2020-12-22 17:34:19.021 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-63%
2020-12-22 17:34:19.461 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-63%
2020-12-22 17:34:19.461 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-62%
2020-12-22 17:34:20.107 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-62%
2020-12-22 17:34:20.107 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-61%
2020-12-22 17:34:20.363 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-61%
2020-12-22 17:34:21.621 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-61%
2020-12-22 17:34:21.639 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-61%
2020-12-22 17:34:21.639 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-60%
On Tue, Dec 22, 2020 at 4:40 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

I just added System.out.println(progress[0]); in ProgressUpdate of the
AsyncTask and ran the app. It just prints out the numbers from 0 to 100.
For me everything seems to work. You can do it too and see what gets
printed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-749487261,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZI7YKHCI43OA5K6OV3SWB5CPANCNFSM4VEDWB3A
.

Can u mail a zip file of project on which you are testing?
On Tue, Dec 22, 2020 at 5:38 PM Mudassir Shaikh<EMAIL_ADDRESS>wrote:

Yes,but i m running your project and this is logcat while running
2020-12-22 17:34:17.321 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress63%
2020-12-22 17:34:17.335 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress63%
2020-12-22 17:34:17.486 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress63%
2020-12-22 17:34:17.487 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress64%
2020-12-22 17:34:17.756 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress64%
2020-12-22 17:34:17.757 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress65%
2020-12-22 17:34:18.107 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress65%
2020-12-22 17:34:18.107 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-65%
2020-12-22 17:34:18.390 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-65%
2020-12-22 17:34:18.454 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-65%
2020-12-22 17:34:18.540 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-65%
2020-12-22 17:34:18.541 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-64%
2020-12-22 17:34:19.021 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-64%
2020-12-22 17:34:19.021 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-63%
2020-12-22 17:34:19.461 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-63%
2020-12-22 17:34:19.461 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-62%
2020-12-22 17:34:20.107 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-62%
2020-12-22 17:34:20.107 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-61%
2020-12-22 17:34:20.363 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-61%
2020-12-22 17:34:21.621 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-61%
2020-12-22 17:34:21.639 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-61%
2020-12-22 17:34:21.639 21849-21849/com.dcastalia.localapkupdatelibrary
E/Progress: Progress-60%
On Tue, Dec 22, 2020 at 4:40 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

I just added System.out.println(progress[0]); in ProgressUpdate of the
AsyncTask and ran the app. It just prints out the numbers from 0 to 100.
For me everything seems to work. You can do it too and see what gets
printed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-749487261,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZI7YKHCI43OA5K6OV3SWB5CPANCNFSM4VEDWB3A
.

That's very weird.
I'm just using the code from the master branch.
I also added a Kotlin version of this library (#10), this code also works.

Thanks, I'll check it out.
On Tue, Dec 22, 2020 at 5:42 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

That's very weird.
I'm just using the code from the master branch.
I also added a Kotlin version of this library (#10
https://github.com/Piashsarker/AndroidAppUpdateLibrary/pull/10), this
code also works.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-749510486,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZOJ2MEZFIVSRVXNIQTSWCEK7ANCNFSM4VEDWB3A
.

Does it try to install the app or does it not trigger the installation process?

It tries and it download also.
The link you provided for apk is from github or from server?

The problem why the installation fails is because the update is on the same version so you can't update it so I built a new apk:
https://cdn.cyb3rko.de/Apps/testUpdate.apk

It worked. This apk is already stored on server OR stored on github ? while
you provide apk link for downloading in app.
Can u tell me  please.
On Tue, Dec 22, 2020 at 8:14 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

The problem why the installation fails is because the update is on the
same version so you can't update it so I built a new apk:
https://cdn.cyb3rko.de/Apps/testUpdate.apk
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-749574611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZJJPWBYHD4HMJXO3TDSWCWFDANCNFSM4VEDWB3A
.

What worked? Was the progress shown or did the update succeed?
It's currently stored on my server.

Both worked. progress and  download as well,While i m using your apk link
in given sample app.
But when I provide my apk link in your sample app then download succeed but
progress bar not working properly.
On Tue, Dec 22, 2020 at 8:35 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

What worked? Was the progress shown or did the update succeed?
It's currently stored on my server.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-749586286,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZPASSB2ZMWRWN4WKQTSWCYVHANCNFSM4VEDWB3A
.

I think I will try using the DownloadManager and see if it works better. I'm gonna open a new branch in my forked repo.
I will notify you here if I did it.

Cool,Thanks .

Bro it worked ,progress bar showing all positive values till 100 by
changing this in your code
 // int total_size = c.getContentLength();//size of apk
            float total_size = c.getContentLength();//size of apk
            Log.e("apk length","total_size" + total_size);

            byte[] buffer = new byte[1024];

//                int len1 = 0;
//                int per = 0;
//                int downloaded=0;
int len1 = 0;
float per = 0;
float downloaded=0;
while ((len1 = is.read(buffer)) != -1) {
fos.write(buffer, 0, len1);
downloaded +=len1;
//                   per = (int) (downloaded * 100 / total_size);
per =  downloaded * 100 / total_size;
Log.e("publishprecess","Percent"+per);
int Percent = (int) (per) ;
//
publishProgress(Percent);
Log.e("publishprecess","Percent"+per);
Changing data types of calculating variables..
On Wed, Dec 23, 2020 at 3:15 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

I think I will try using the DownloadManager and see if it works better.
I'm gonna open a new branch in my forked repo.
I will notify you here if I did it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-750045204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZM5SKIJM5FFRH3APJ3SWG35FANCNFSM4VEDWB3A
.

Thanxx for your help.
On Thu, Dec 24, 2020 at 1:31 PM Mudassir Shaikh<EMAIL_ADDRESS>wrote:

Bro it worked ,progress bar showing all positive values till 100 by
changing this in your code
 // int total_size = c.getContentLength();//size of apk
            float total_size = c.getContentLength();//size of apk
            Log.e("apk length","total_size" + total_size);

            byte[] buffer = new byte[1024];

//                int len1 = 0;
//                int per = 0;
//                int downloaded=0;
int len1 = 0;
float per = 0;
float downloaded=0;
while ((len1 = is.read(buffer)) != -1) {
fos.write(buffer, 0, len1);
downloaded +=len1;
//                   per = (int) (downloaded * 100 / total_size);
per =  downloaded * 100 / total_size;
Log.e("publishprecess","Percent"+per);
int Percent = (int) (per) ;
//
publishProgress(Percent);
Log.e("publishprecess","Percent"+per);
Changing data types of calculating variables..
On Wed, Dec 23, 2020 at 3:15 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

I think I will try using the DownloadManager and see if it works better.
I'm gonna open a new branch in my forked repo.
I will notify you here if I did it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-750045204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZM5SKIJM5FFRH3APJ3SWG35FANCNFSM4VEDWB3A
.

Awesome. Then just open a pull request to fix it also for others.

@MudassirMobi Or should I do that?

Yes, you can do that,if u can .it's just small changes
On Fri, Dec 25, 2020, 9:44 PM Niko Diamadis<EMAIL_ADDRESS>wrote:

@MudassirMobi https://github.com/MudassirMobi Or should I do that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-751267597,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZKTNGIDXECY74LZCPTSWS24VANCNFSM4VEDWB3A
.

@MudassirMobi I hope my fix works (see #11)

Yes ,but  I will be available on Monday or Tuesday so than I can
On Sat, Dec 26, 2020, 4:20 AM Niko Diamadis<EMAIL_ADDRESS>wrote:

@MudassirMobi https://github.com/MudassirMobi I hope my fix works (see
#11 https://github.com/Piashsarker/AndroidAppUpdateLibrary/pull/11)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Piashsarker/AndroidAppUpdateLibrary/issues/9#issuecomment-751297276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASES3ZKFBGNZUTSA5A6CHRTSWUJK3ANCNFSM4VEDWB3A
.


Missing something...

I've been around and around on this for about a week now.  When I do this in VS 2019 on Win10, it wants to compile for "Any CPU".  I'm assuming this is wrong and it should be to ARM (but that option does not exist).  I was able to create code on the PI and compile it through command line, but I don't get the code syntax checking there.  I also was able to get the C++ version working (and ARM is a compile target there), however, I'd prefer sticking with the main language I've been working in for 20 years...

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

ID: d324d803-c39c-9d73-0fd7-5800406a2309
Version Independent ID: 8a4a5b84-de72-fe16-e78c-d402699282b1
Content: Blink an LED
Content Source: docs/iot/tutorials/blink-led.md
Product: dotnet
GitHub Login: @CamSoper
Microsoft Alias: casoper

"Any CPU" is correct. What are you experiencing, exactly?

"Any CPU" is correct. What are you experiencing, exactly?

It creates a .EXE file and if I try running that in the PI I get “cannot execute binary file: Exec format error”.
However, the native compiled versions of the app in PI don’t have the .exe extension and do run.
From: Cam Soper<EMAIL_ADDRESS>Sent: Sunday, January 31, 2021 1:03 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
"Any CPU" is correct. What are you experiencing, exactly?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-770432178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVPOBAZO5PL76GE6RMTS4WSQDANCNFSM4W3TXK6A.

It creates a .EXE file and if I try running that in the PI I get “cannot execute binary file: Exec format error”.
However, the native compiled versions of the app in PI don’t have the .exe extension and do run.
From: Cam Soper<EMAIL_ADDRESS>Sent: Sunday, January 31, 2021 1:03 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
"Any CPU" is correct. What are you experiencing, exactly?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-770432178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVPOBAZO5PL76GE6RMTS4WSQDANCNFSM4W3TXK6A.

@sej69 Have you followed these instructions?

@sej69 Have you followed these instructions?

Yes, it works if I compile it by hand but then again, I know it’s compiling at the ARM target.  I would like this to work in my development environment vs coding on the PI.
From: Youssef Victor<EMAIL_ADDRESS>Sent: Sunday, January 31, 2021 1:30 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
@sej69https://github.com/sej69 Have you followed these instructionshttps://docs.microsoft.com/en-us/dotnet/iot/deployment#deploying-a-self-contained-app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-770436705, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVMD3UEV7KU3USU276DS4WVTXANCNFSM4W3TXK6A.

Yes, it works if I compile it by hand but then again, I know it’s compiling at the ARM target.  I would like this to work in my development environment vs coding on the PI.
From: Youssef Victor<EMAIL_ADDRESS>Sent: Sunday, January 31, 2021 1:30 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
@sej69https://github.com/sej69 Have you followed these instructionshttps://docs.microsoft.com/en-us/dotnet/iot/deployment#deploying-a-self-contained-app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-770436705, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVMD3UEV7KU3USU276DS4WVTXANCNFSM4W3TXK6A.

I just tried this from the package manager console prompt and it did compile it correctly.  Do I have to compile through a console prompt or can I build / deploy through the VS 2019 “build” menu option?
From: Youssef Victor<EMAIL_ADDRESS>Sent: Sunday, January 31, 2021 1:30 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
@sej69https://github.com/sej69 Have you followed these instructionshttps://docs.microsoft.com/en-us/dotnet/iot/deployment#deploying-a-self-contained-app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-770436705, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVMD3UEV7KU3USU276DS4WVTXANCNFSM4W3TXK6A.

I just tried this from the package manager console prompt and it did compile it correctly.  Do I have to compile through a console prompt or can I build / deploy through the VS 2019 “build” menu option?
From: Youssef Victor<EMAIL_ADDRESS>Sent: Sunday, January 31, 2021 1:30 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
@sej69https://github.com/sej69 Have you followed these instructionshttps://docs.microsoft.com/en-us/dotnet/iot/deployment#deploying-a-self-contained-app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-770436705, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVMD3UEV7KU3USU276DS4WVTXANCNFSM4W3TXK6A.

@sej69
.NET automatically generates a native x64 executable based on your current OS. These executables (such as appfile.exe) invoke your appfile.dll. You can run this dll on other OS by calling dotnet appfile.dll.
You can publish to ARM and generate a native ARM Linux executable by using the dotnet publish -r linux-arm command from that the article @Youssef1313 linked to. You can do this from Windows, you don't need to be on the Pi to generate the executable.

So compiling this, I would need to do the dotnet publish -r linux-arm each time?  Or can I use the in visual studio menu option to “build”?  When I do that, I seem to not get an linux operational program?
From: Andy De George<EMAIL_ADDRESS>Sent: Tuesday, February 2, 2021 11:57 AM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
@sej69https://github.com/sej69
.NET automatically generates a native x64 executable based on your current OS. These executables (such as appfile.exe) invoke your appfile.dll. You can run this dll on other OS by calling dotnet appfile.dll.
You can publish to ARM and generate a native ARM Linux executable by using the dotnet publish -r linux-arm command from that the article @Youssef1313https://github.com/Youssef1313 linked to. You can do this from Windows, you don't need to be on the Pi to generate the executable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-771842109, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVMI7LPP2LHRO6KDYYDS5A4FPANCNFSM4W3TXK6A.

Ok, thanks, I’ll try that later today.
From: Andy De George<EMAIL_ADDRESS>Sent: Tuesday, February 2, 2021 12:00 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
@sej69https://github.com/sej69 One more thing, to target other OS in Visual Studio, you want to use the Build > Publish menu. You create a publish profile for the target, use folder output. Then after the profile is created, you can further tweak the settings for the specific platform you want to compile to.
[image]https://user-images.githubusercontent.com/67293991/106642552-577aad00-653d-11eb-84f5-b9dbe6e85167.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-771844876, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVLSUFFYDECVOOCWURLS5A4RTANCNFSM4W3TXK6A.

Yeah, no screenshots came through…
From: Andy De George<EMAIL_ADDRESS>Sent: Tuesday, February 2, 2021 12:03 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
Unsure if the screenshots come through email, but I did add some to these replies. If you want to just build directly for a target platform, you can edit your project settings too. See https://docs.microsoft.com/dotnet/core/project-sdk/msbuild-props#runtimeidentifier for reference and Deploying overviewhttps://docs.microsoft.com/dotnet/core/deploying/ (I need to update this article to list .NET 5 but it all still applies.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-771848436, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVOGROH2ITTQY7HSMOLS5A47BANCNFSM4W3TXK6A.

Do I have to compile on Win10 then deploy or can I compile directly to Linux (PI) through my Win10 VS2019?  I did find an article that was a little dated that referred to setting up remote debugging.  It’s hard to know what’s current and not now a days…
From: Andy De George<EMAIL_ADDRESS>Sent: Tuesday, February 2, 2021 12:03 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Scott Johnson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Missing something... (#22588)
Unsure if the screenshots come through email, but I did add some to these replies. If you want to just build directly for a target platform, you can edit your project settings too. See https://docs.microsoft.com/dotnet/core/project-sdk/msbuild-props#runtimeidentifier for reference and Deploying overviewhttps://docs.microsoft.com/dotnet/core/deploying/ (I need to update this article to list .NET 5 but it all still applies.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/22588#issuecomment-771848436, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2HLVOGROH2ITTQY7HSMOLS5A47BANCNFSM4W3TXK6A.

Yes, you can cross-compile, but you need to setup a debugger if you wanted to actually RUN/DEBUG in Visual Studio. The Target Runtime option in the publish window lets me select linux-arm. The build configurations of Release(or Debug) | Any CPU are the defaults. If you were to create a platform specific build config, it would appear in that drop down. They're just easy ways for you to have multiple build configurations based on mode (Debug or Release) and specific CPUs IF you wanted to.
If you don't have a custom build configuration settings. This is different from your publishing profiles you're configuring in the screenshots I provided. You don't really have to worry about Any CPU, it's fine the way it is.
I think your question is answered and I'm going to close this issue. If you want to target a different CPU though, the command line may be the easiest way to do that if Visual Studio doesn't provide you the options.
Cheers!


Update packages

This is going to become more important for GH actions to auto build the package. My current testing shows that it is really pedantic about matching package number versions in package.json and package lock files.

Good call. I had planned this but it just got lose in the shuffle! Given that even minor updates can sometimes introduce breaking changes I'll leave this one for a deeper review in the morning. If all is well I'll merge proper before moving forward with the other testing mentioned on Discord.

Ok, so I see this updates Svelte/Package to the v4 that we want to avoid. I'll hold off on merging this until you give the all clear. We're probably fine to launch with the current deps for the time being.

We'll test this instead:
https://github.com/Brain-Bones/skeleton/pull/263


[meshery/ui]: Added the sub-link for grafana/prometheus

Signed-off-by: Nikhil-Ladha<EMAIL_ADDRESS>
Description

This PR fixes #967
Notes to reviewers
Checklist

[x] Signed commits.
[x] PR title includes [<name of area>]:<description>

Hahaha!😅. Indeed!


Update circe-generic to 0.14.0-M6

Updates io.circe:circe-generic from 0.14.0-M1 to 0.14.0-M6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe", artifactId = "circe-generic" } ]

labels: library-update, semver-pre-release

Superseded by #50.


[Wildcard Variables] DDC Implementation

This issue tracks the work needed for the wildcard variables feature to be supported in DDC.
Spec: https://github.com/dart-lang/language/blob/main/working/wildcards/feature-specification.md
We may need to do some additional work to support multiple wildcard parameters in functions.
class A {
  int add(int a, int b) => 3;
}

class C implements A {
  int add(int _, int _) => 3;
}

cc. @sigmundch Feel free to tag or reassign as you see fit.
I'd also appreciate more details so we don't lose that context.

Thanks @kallentu

the work here depends a lot on what kind of lowering we end up doing in the CFE
the lowering will likely convert the wildcard variables into something, potentially a variable declaration that is never read.
if the lowering uses the existing representation of variable declarations and guarantees uniqueness of variable names like today parameters have, then the backend may not need to do anything special for it to generate valid JavaScript. However, if the variable is represented by a new kernel node or a node that breaks current invariants, we may need some relatively small amount of work to emit valid JavaScript function declarations. The work could be similar to what DDC already does for temporary variables in Let expressions.
Aside from implementing the feature, the debugger support may not need much work either. We need however to have consistent semantics in expression evaluation. If in the body of the method an expression to be evaluated uses _, we need to decide if it is rejected and, if not, what to generate in that case.

Depending on how the CFE lowers the wildcards, and how we want them to appear (or not appear) in the debugger there could likely be some collaboration needed between DDC and DWDS to get it working.
cc @bkonyi

If there's work for web debugging, I've created an issue to track that: https://github.com/dart-lang/sdk/issues/55752

I was under the assumption that the spec specified that wildcard variables won't be bound to a variable and that there will be no way to reference them. Is that not the case? Regardless, I don't think we want them to appear in the debugger, especially since we can have multiple wildcard variables in the same scope.

Correct - I think the nuance here is that in the code we emit in JavaScript we need to introduce a placeholder name to generate a valid function signature.
While our intent was to eventually make dwds model all of its state based on what we know from the dart program, there were cases in the past where it created its internal model based on the Chrome debugger's state of the application. If that is still the case today, we may need to do some work to ensure those synthetic variables are properly ignored/hidden.

@natebiggs @kallentu
This test is now causing a compiler crash.
language/wildcard_variables/multiple/local_declaration_catch_rethrow_async_test
log:
https://dart-ci.appspot.com/log/ddc-hostasserts-linux-d8/ddc-hostasserts-linux-d8/101/language/wildcard_variables/multiple/local_declaration_catch_rethrow_async_test
The error makes it appear that the wildcard variable isn't being given a unique name by the CFE but I'm not sure because it is also touching some of the newly added async logic. Could one of you investigate?

@natebiggs @kallentu
This test is now causing a compiler crash. language/wildcard_variables/multiple/local_declaration_catch_rethrow_async_test
log: https://dart-ci.appspot.com/log/ddc-hostasserts-linux-d8/ddc-hostasserts-linux-d8/101/language/wildcard_variables/multiple/local_declaration_catch_rethrow_async_test
The error makes it appear that the wildcard variable isn't being given a unique name by the CFE but I'm not sure because it is also touching some of the newly added async logic. Could one of you investigate?

I think the new async logic just changed the error produced. I haven't pushed the CL to make the names unique yet: https://dart-review.googlesource.com/c/sdk/+/373621
I'll submit it today though.

I've submitted it now. I'll take a look at test results once they come in.

Yes, I saw this before I submitted. This was a RuntimeError before, we didn't have anything in the compiler that checked the uniqueness of names within a scope. So the test would compile fine and then throw when the JS got parsed since there was code of the form: function (_, _) {...} which is illegal.
Since the new async transform does some funky stuff with scopes and variable declarations, I added an assertion that now catches illegal declarations like that. So now it's a compile time error with compiler assertions on.
Thanks for the fix Kallen!

https://github.com/dart-lang/sdk/commit/1d527619505dbce25a2822951f84294a14584b57 is submitted now. Seemed to land okay and the tests on DDC are now passing.
The CFE implementation is now done and if there's anything left for dart2js, ddc, you're free to run with it.

And with this issue, is there any more work that needs to be done in DDC? Can we close the issue or are we still evaluating?
@nshahan @biggs0125

Thanks Kallen! We should just verify the behavior of these wildcard variables in the debugger. I think the thing to do here is to hide them but I'm guessing that's not happening by default.
I know there is some subset of synthesized variables that the debugger is already hiding by prefixing the variable name with a specific string. We can probably just use a similar pattern here.

Correct, we're not hiding these variables in the debugger when connected to a web app:

It also looks like we're not hiding them with native apps either:

Thanks for checking Ben! Do we want to:

Add logic to the debugger to exclude variables prefixed with _#wc? It seems like DDC is ascii encoding the # so that might make it more tricky.
DDC (and I'm assuming the VM) already has logic to prefix synthetic variables so they get ignored by the debugger. We could do the same thing here.

I'm surprised that this regex isn't catching these but maybe I'm misunderstanding how it is used.
https://github.com/dart-lang/webdev/blob/main/dwds/lib/src/debugging/dart_scope.dart#L23

The VM actually marks these variables as invisible based on a flag provided in the kernel, so we don't rely on any sort of prefix to filter these variables out. However, I think we'll need to take the prefix approach for DWDS since we won't have access to the kernel.
As long as we don't send the variables in service protocol responses, the implementation details shouldn't matter too much.

I'm surprised that this regex isn't catching these but maybe I'm misunderstanding how it is used. https://github.com/dart-lang/webdev/blob/main/dwds/lib/src/debugging/dart_scope.dart#L23

I'm wondering if some of Kallen's changes hadn't rolled through to Flutter last time I tried this, but it looks like we're correctly omitting these variables for web applications now:

Thanks @bkonyi! I'm going to close this out as work complete with no more known work expected. Anything that comes up now should be considered a bug.


Remove package list from cloud config

High-level description
This PR shrinks cloud templates and prevents them from growing when new packages are added. This is accomplished by removing a cluster's full list of packages from its cloud config, and replacing it with a fixed-length ID which refers to an artifact containing the list of cluster packages. pkgpanda setup then retrieves this artifact when bootstrapping DC/OS on a cluster node.
branden@crateria ~$ curl -s https://downloads.dcos.io/dcos/testing/master/cloudformation/single-master.cloudformation.json | wc -c
   50222
branden@crateria ~$ curl -s https://downloads.dcos.io/dcos/testing/pull/2177/cloudformation/single-master.cloudformation.json | wc -c
   45932
branden@crateria ~$

This change introduces a new type of build artifact: a package list (example here). A package list artifact contains a JSON-encoded list of Pkgpanda package IDs, and is identified by the SHA1 hash of its contents.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-13824 Remove cluster-packages.json from cloud config and turn it into a build artifact

Checklist for all PRs

[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: Covered by existing tests
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label ready-for-review

@branden Do we need to bump-ee again before we can review this?

@adam-mesos https://github.com/mesosphere/dcos-enterprise/pull/1846 is up to date.

@branden Ok, but it's got a failed smoke test which blocks the enterprise/build-status/aggregate check here, and the EE PR still needs 2 approvals before we can put this one on a train.

@adam-mesos The failed check is a test flake. Do we have a process for PR authors identifying test flakes?
Do we review testing-only EE PRs? I've been scolded in the past for getting reviews and putting ship-it on an EE PR that was only needed for testing an upstream bump.

@branden With the new mergebot process we also review EE PRs that are bump-ee only, so that we can confirm a) that the EE tests pass as expected, and b) the OSS changes don't have any unexpected/unintended consequences in EE.
If you can name the new/existing JIRA that tracks the flaky/failing test, then a repo 'owner' can use mergebot's override-status command to make that check go green (with a comment/link to the JIRA).

@mesosphere-mergebot ship_it_label_status_check

@mesosphere-mergebot ship_it_label_status_check


Update README (Adjust wrong information)

Thank you for the fixes!!! :)
Sorry took me so long to get around to merging this!


Can not close the shader script, even after deleting the shaders it gets recreated

Godot version
v4.1.1 stable,  v4.2.dev (f9004b52f)
System information
Godot v4.2.dev (f9004b52f) - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050
Issue description
There is no option to close a shader script. I did open a shader and then removed it also deleted the script. But I can't close the script as there is no option to close it. When I restart the editor that shader file automatically gets created, An empty file. When we close the editor.
b&w.gdshader below

Steps to reproduce

Create a new shader script and then open it.
Detach the shader and close the editor
Delete that shader file from explorer
Open Godot see that shader file still open but blank
Now close the editor and open the same directory file will be there

Minimal reproduction project
Shader file Bug.zip

Thanks for the report. The deleted shader file reappearing issue has been fixed in master by https://github.com/godotengine/godot/pull/80705 and related PR's.
You can close shader files in the editor by middle mouse click or selecting "File -> Close File":

Closing, as the issue is fixed in current master.


ticker.info fails for stock RBREW.CO

When I try to retrieve info for the RBREW.CO stock I get the following traceback:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/kenneth/.local/lib/python3.6/site-packages/yfinance/ticker.py", line 138, in info
    return self.get_info()
  File "/home/kenneth/.local/lib/python3.6/site-packages/yfinance/base.py", line 415, in get_info
    self._get_fundamentals(proxy)
  File "/home/kenneth/.local/lib/python3.6/site-packages/yfinance/base.py", line 286, in _get_fundamentals
    self._institutional_holders = holders[1]
IndexError: list index out of range

The package works fine for other stock symbols. If you need any more information let me know.

Hey there, try applying the fixes described in PR #179.
Just be aware that that fix returns inconsistent data for non-US tickers.

@rodrigobercini well, this is for a stock on the danish stock exchange, so obviously it is a concern with inconsistent data. In any case the fix works and at least the bid price seems correct.


Help setting up first time

Hello!
Love the screenshot look and tried setting this up for a redis hosted on Heroku.
It's very hard because there are no error messages anywhere and the documentation seems incomplete.
How do I know if my credentials are correct?
How do I specify queues?
When it "fails" it just ends up pending forever and then fails with MaxRetries, is that intended?
After reading around this is what I ended up with
const { createQueues, UI } = require('bull-board');
const app = require('express')();

const redisConfig = {
  redis: {
    port: process.env.REDIS_PORT,
    host: process.env.REDIS_HOST,
    password: process.env.REDIS_PASSWORD,
  },
}

const queues = createQueues(redisConfig);

queues.add('posts');

app.use('/admin/queues', UI)

app.listen( 3000, () => {
    console.log( `Server up and running on port 3000` );
});

I'd gladly help with PRs but right now I don't even know where to start 💃

hey @kokarn thank's for the feedback regarding the screenshot and for being willing to try out the lib 😄

How do I know if my credentials are correct?
A successful connection would return the data you have in your redis instance such as all the queues, their jobs and some information about memory usage

How do I specify queues?
By doing:

queues.add('posts');

you successfully create a queue, but if you don' t return the instance for the created queue you won't be able to add jobs or add specify how the queue works.
So your code should look like:
const queues = createQueues(redisConfig);
const postQueue = queues.add('posts');

postQueue.process(async job => {
    // job being processed here
  })

postQueue.add({ testEvent: true }) // adds a job in the queue with the specified object

I ran some tests locally and if you have wrong credentials, Bull board will eventually throw with a timeout exception, the infinite loading state in the UI is definitely not the best way to handle it 😅
I do agree that bull-board's documentation can be improved! But keep in mind that when you're handling the queues itself and how their API works, accepted params etc you're dealing with Bull, so some of you doubts can be answered by reading their docs: https://github.com/OptimalBits/bull#quick-guide
let me know if you still encounter any problems!

I actually managed to get it working, so will probably submit some docs updates for what I needed :)
The queues.add part was not in the docs for just using the UI as one example.
Agreed that the silent throw was not the most optimal way.
Just try to very early make sure that you have all the credentials needed and maybe that you can connect?

yep! also maybe catching the creation of queues and provide an error state in the UI about what went wrong!
feel free to send the PR's! thanks for that ❤


HELP

How can we get the source code

The source code is available on the "code" section. If the system doesn't show you the code, please click the browse file.

The source code is available on the "code" section. If the system doesn't show you the code, please click the browse file.

Is there a way for me to bring it on to tampermonkey?

Is there a way for me to bring it on to tampermonkey?

Is there a way for me to bring it on to tampermonkey?

What do you mean?  this google forms clone is website based. (here's the link: https://google-forms-clone.herokuapp.com/). Tampermonkey is script plugin, isn't it?

Is there a way for me to bring it on to tampermonkey?

What do you mean?  this google forms clone is website based. (here's the link: https://google-forms-clone.herokuapp.com/). Tampermonkey is script plugin, isn't it?


html/template: deadlock if "dot" method is used to execute template from same set

The fix for #39807 has introduced a potential deadlock if a method of the "dot" value in an html/template is used to execute another template from the same template set.
This code, written in the form of a test, demonstrates the problem.  If the test is run, it hangs or dies with fatal error: all goroutines are asleep - deadlock!.
// recursiveInvoker is for TestRecursiveExecuteViaMethod.
type recursiveInvoker struct{
	t    *testing.T
	tmpl *Template
}

func (r *recursiveInvoker) Recur() (string, error) {
	var sb strings.Builder
	if err := r.tmpl.ExecuteTemplate(&sb, "subroutine", nil); err != nil {
		r.t.Fatal(err)
	}
	return sb.String(), nil
}

func TestRecursiveExecuteViaMethod(t *testing.T) {
	tmpl := New("")
	top, err := tmpl.New("x.html").Parse(`{{.Recur}}`)
	if err != nil {
		t.Fatal(err)
	}
	_, err = tmpl.New("subroutine").Parse(`<a href="/x?p={{"'a<b'"}}">`)
	if err != nil {
		t.Fatal(err)
	}
	r := &recursiveInvoker{
		t:    t,
		tmpl: tmpl,
	}
	if err := top.Execute(io.Discard, r); err != nil {
		t.Fatal(err)
	}
}

I don't see a way to fix this.  At least not without introducing some ugly connection between text/template and html/template, which we should not do at this stage of the release.
I think we have to roll back CLs 274450 and 279492, though perhaps we should keep the tests.

I don't see a way to fix this.  At least not without introducing some ugly connection between text/template and html/template, which we should not do at this stage of the release.
I think we have to roll back CLs 274450 and 279492, though perhaps we should keep the tests.


Left align when no thumbnail image.

The entries should be over to the left right now.

its working fine now, Please review it.


Fix support for absolute urls in sourceMappingURL

Previously, supportRelativeURL would return an invalid response if both file and url were absolute.
sourceMapSupport.supportRelativeURL(
    'http://<IP_ADDRESS>:1336/chunk/chunk.js',
    'http://<IP_ADDRESS>:1336/chunk/chunk.js.map'
);
// Returns 'http://<IP_ADDRESS>:1336/chunk/http:/<IP_ADDRESS>:1336/chunk/chunk.js.map'

As a result, retrieveSourceMap would do the wrong thing when used in the browser on source maps with absolute URLs. This adds support.
I added a test but it wasn't clear to me how to update the test environment to support this. Instead, I just exposed the method for testing. I am open to feedback on how this could be improved.

@pfhayes please consider to enable branch protection to improve security!


HELP!

Hello!
I want to try to start the flood using CMD on PC using this code: C:> go run /usr/local/go/src/github.com/unixpickle/kahoot-hack/kahoot-rand/main.go 1456785 nickname 200
Then I get this error message: GetFileAttributesEx /usr/local/go/src/github.com/unixpickle/kahoot-hack/kahoot-rand/main.go: The system cannot find the path specified.
Do I use wrong code? Or do I need to install or setup something first?
Thanks in advance!

C:>file /usr/local/go/src/github.com/unixpickle/kahoot-hack/kahoot-rand/main.go
'file' is not recognized as an internal or external command,
operable program or batch file.

I made it!
C:> go run go/src/github.com/unixpickle/kahoot-hack/kahoot-rand/main.go 6454562 user 20
But this enters bots much slower than if I open the program and do it there...

Do you know how to make it enter bots faster? When using the exe file, it works rapidly, but when using CMD they will be entered one by one very slow...

There should not be a difference in speed no matter how you run the program, as long as the exe and the source code are from the same version of kahoot-hack.

I see a big difference, even though everything is at is should. Also, my antivirus says that the exe files are trojans. Is that so?

I do not provide any EXE files. If you have downloaded them from somewhere, that is a third party with whom I am not associated.

I believe k375725 is referring to your .go files sent through "go -build" to create EXE files.
But no, they are not 'trojans', as you can see by reading the source.

I downloaded from the YouTube video below. So that is not what I should?
https://www.youtube.com/watch?v=gYDOu2ORUFs
https://mega.nz/#!okJykCIR

"I believe k375725 is referring to your .go files sent through "go -build" to create EXE files.
But no, they are not 'trojans', as you can see by reading the source."
How do I do this?

"I believe k375725 is referring to your .go files sent through "go -build" to create EXE files.
But no, they are not 'trojans', as you can see by reading the source."

How do I do this?

go build go/src/github.com/unixpickle/kahoot-hack/kahoot-rand/main.go

Where does this exe file appear?

current dir if i am correct

Nope, nothing there...

cd go/src/github.com/unixpickle/kahoot-hack/kahoot-rand/
go build main.go

That worked! What do I use the "main" exe file to then?

@k375725 those youtube videos you linked to are not associated with me in any way. I cannot endorse them. For all I know, the executables are viruses.

Ok, thanks for that, then I will not use them anymore.
What can I use "main.exe" to?


Can't pickle simple case class?

scala-pickling version 0.10.1 doesn't seem to be able to pickle a simple 3-member case class. So many unintelligible errors are produces that I figure it is "implementer only" stuff.  Note that I use the binary pickler below, but the same messages are received for the json pickler too.
I am trying this pretty much like this project's documentation shows.
Am I missing something obvious? Not supported with Scala 2.11.6?
[info] Starting scala interpreter...
[info]
Welcome to Scala version 2.11.6 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45).
Type in expressions to have them evaluated.
Type :help for more information.

scala> import scala.pickling.Defaults._, scala.pickling.binary._
import scala.pickling.Defaults._
import scala.pickling.binary._

scala> case class Foo(a: Long, b: String, c: Long)
defined class Foo

scala> val f = new Foo(1,"2",3)
f: Foo = Foo(1,2,3)

scala> val x = f.pickle
<console>:16: genPickler is not a valid implicit value for scala.pickling.Pickler[Foo] because:
hasMatchingSymbol reported error: stepping aside: repeating itself
       val x = f.pickle
                 ^
<console>:16: genPickler is not a valid implicit value for scala.pickling.Pickler[Foo] because:
hasMatchingSymbol reported error: stepping aside: repeating itself
       val x = f.pickle
                 ^
<console>:16: genPickler is not a valid implicit value for scala.pickling.Pickler[Long] because:
hasMatchingSymbol reported error: stepping aside: repeating itself
       val x = f.pickle
                 ^
<console>:16: genPickler is not a valid implicit value for scala.pickling.Pickler[Long] because:
hasMatchingSymbol reported error: stepping aside: there are other candidates
       val x = f.pickle
                 ^
<console>:16: genPickler is not a valid implicit value for scala.pickling.Pickler[String] because:
hasMatchingSymbol reported error: stepping aside: repeating itself
       val x = f.pickle
                 ^
<console>:16: genPickler is not a valid implicit value for scala.pickling.Pickler[String] because:
hasMatchingSymbol reported error: stepping aside: there are other candidates
       val x = f.pickle
                 ^
<console>:16: materializing requested reflect.runtime.universe.type.WeakTypeTag[Foo] using `package`.this.materializeWeakTypeTag[Foo](scala.reflect.runtime.`package`.universe)
       val x = f.pickle
                 ^
x: pickling.binary.pickleFormat.PickleType = BinaryPickle([0,0,0,40,36,108,105,110,101,52,46,36,114,101,97,100,46,36,105,119,46,36,105,119,46,36,105,119,46,36,105,119,46,36,105,119,46,36,105,119,46,70,111,111,0,0,0,0,0,0,0,1,0,0,0,1,50,0,0,0,0,0,0,0,3])

scala>

What you are seeing is output based on the -Xlog-implicits compiler option. These are not actual errors. They are only internal, intermediate errors occurring during type checking that a user does not see, unless -Xlog-implicits is enabled.
In fact, it looks like pickling completed successfully (x is a proper BinaryPickle). If you were to use the JSON pickle format you could more conveniently print the pickle.

Okay, that makes sense. I did turn on -Xlog-implicits to debug a similarly simple case class. I was wondering what that last line of output meant. Thanks for explaining.


Iss didresolver

This issue is aimed at creating a did resolver for the client side implementation of didcomm the following packages from npm were used

https://www.npmjs.com/package/didcomm-node

@Christiantyemele Could you add some description to this ticket as to what you are implementing Iss didresolver

Sure :+1:

By the way, did you drop your frontend app?


[BUG] - Pdf export of jupyter notebooks is broken

Describe the bug

Exporting to pdf as shown in the image doesn't work.
Attempting to do so results in a new browser tab opening with the following message.
500 : Internal Server Error
The error was:

nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so. Find further instructions at https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex.

As a workaround, I created a conda environment with jupyter and nbconvert-all and was able to convert via the command line with xvfb-run -a jupyter nbconvert ExampleExportNotebook.ipynb --to qtpdf after activating the environment.
Expected behavior
A pdf document generated and downloaded
OS and architecture in which you are running Nebari
Linux
How to Reproduce the problem?
See above
Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
As a workaround,

This needs xelatex in the jupyterlab environment. This isn't something we probably want to put in the base Nebari image. In the past, latex related files could balloon the docker image size. we would need to look into it.
with the jhub-apps launcher in Nebari 2024.1.1 we will potentially soon have the ability to have named-servers with custom jupyterlab versions running from different conda environments. This owuld make this more feasible.


This isn't an issue

I know this isn't an issue and it spams your issues thread but THANK YOU SO MUCH FOR THIS.

:smile:


[Autocomplete] Show loading text when there are no options

[x] I have followed (at least) the PR section of the contributing guide.

Closes #18559

Thanks


Add a feature that enables string output for debugging purposes

As noted by @cason, it would be nice to have string manipulation to produce debugging output:

Example: to debug a model I have a "lastAction" string field keeping track of... what its name says. I would really like to be able to do something like that:
state.with("lastAction", "addPeer ".concat(peer.ID))
where peer.ID in this case is already a string (to be honest, is a type alias to a string).

In general we would like to avoid hard-to-verify string manipulation expressions. Perhaps, we could introduce a special IO type that allows for string output and recognition, while not allowing it to be mixed in the specification itself.
This is also related to  #779.

What about a way to define "views" or "representations" that determine how a datatype is displayed, but are not available as input back into the model.
This is similar to the idea of an IO type for debugging, but I think is a bit more general in the sense that we could use these also for rendering the output in our pretty-printed traces, but more specific in that we could say each defined type may have at most 1 defined view.
This kind of functionality could exposed via something like:
type lastAction = {
  name: string,
  id: int
} with
  repr(a: lastAction) = "${a.name}${a.id}"

We would register the string interpolation recipe in a dictionary of functions, associating each type with itsrepr function (defaulting to its current representation). This could give users the ability to determine type-directed representation in all our pretty printed outputs. But we could avoid exposing the repr operators on the spec, so they cannot effect the computational complexity of the model.


[Feature request] ARM Docker images

Description
Build multi arch images for the official terrascan image to support arm64 systems.

Hi @rnsc, sounds like a good feature. Looking forward to your PR!

There are binaries for arm, but the docker image is still amd64 only:
1.18.1 shows:
68743ad84771    linux/amd64    ---   42.75 MB

and does not show any other architectures

see https://github.com/tenable/terrascan/pull/1568

see https://github.com/tenable/terrascan/pull/1568

Thank you!


Adding OpenAPI comments within the bankfeed api routes files

@ageddesi
I have implemented this with all my understanding please let me know for nay chnges or correction

Closed due to inactivity


[Windows] Use default expansion for _colcon_python_executable

It seems to be a regression after https://github.com/colcon/colcon-core/pull/209, where it removed enabledelayedexpansion for _colcon_run_ordered_commands but forgot to revert the delay expansion usage. As a result, whenever the generated local_setup.bat runs, it throws out error: unable to find python executable even the Python executable exists.

cc @dirk-thomas

Codecov Report

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

@@           Coverage Diff           @@
##           master     #222   +/-   ##
=======================================
  Coverage   77.42%   77.42%
=======================================
  Files          54       54
  Lines        3109     3109
  Branches      512      512
=======================================
  Hits         2407     2407
  Misses        675      675
  Partials       27       27

Continue to review full report at Codecov.

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

Thank you for the fix.


NavigationLayout doesn't shrink unless navigation drawer open

Description of the Bug
When using navigation layout with Navigation drawer. The screen will expanded but will not shrink unless the navigation drawer is open.
There is a video showing the issue in the attached zip file.
example.zip
Code and Logs
from kivy.lang import Builder
from kivy.uix.boxlayout import BoxLayout
from kivymd.app import MDApp
KV = '''
Screen:
NavigationLayout:

    ScreenManager:

        Screen:

            BoxLayout:
                orientation: 'vertical'

                MDToolbar:
                    title: "Navigation Drawer"
                    elevation: 10
                    left_action_items: [['menu', lambda x: nav_drawer.toggle_nav_drawer()]]
                    right_action_items: [['menu', lambda x: nav_drawer.toggle_nav_drawer()]]

                Widget:

    MDNavigationDrawer:

        id: nav_drawer

        ContentNavigationDrawer:

'''
class ContentNavigationDrawer(BoxLayout):
pass
class TestNavigationDrawer(MDApp):
def build(self):
return Builder.load_string(KV)
TestNavigationDrawer().run()
Versions

OS: Ubuntu 20.04
Python: Python 3.8.2
Kivy: 2.0.0rc3
KivyMD: Master

@dwmoffatt Yes, this is a bug. And, apparently it came with recent commits.

Sounds good. Look forward to having it fixed!

I have a fix for this issue. I am just trying to figure out how to download the environment so I can run the tests needed.

I have branched, run the code through Black and I have tested the functionality. When I go to push my commit to this repo I get this:
ERROR: Permission to kivymd/KivyMD.git denied to dwmoffatt.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Can someone give me permissions?

@dwmoffatt You don't need any special permissions to make a pull request.

@HeaTTheatR I am pushing my commit to the repo from my branch and I am getting the permission denied.
I have tried this to master as while and it is not working.

@HeaTTheatR Figured it out.

Fix https://github.com/kivymd/KivyMD/pull/508


can i able to do double press tap icon to scroll up ?? for both android and ios react native

Will close since this issue is more than a year, feel free to a open a new if this is still a issue.


Modify snapshot method

When a snapshot is needeed, it's overkill to create the image on the filesystem, then delete it, and then create the image on the filesystem again. With this feature we can avoid this scenario and actually persist the created image on disk.

@kyriakosio the new vesion has been publishe on [nuget]https://www.nuget.org/packages/FFMpegCore/1.0.6), it's in being validated right now.
Thanks for the PR 👍

Thank you @vladjerca . My pleasure :)


[TEVA-1950] Do not export audit_data table to BigQuery

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-1950

Review app deployed to https://teaching-vacancies-review-pr-2741.london.cloudapps.digital

Review app deployed to https://teaching-vacancies-review-pr-2741.london.cloudapps.digital


[LLVMExternalProjects] Drop the IREE LinalgTransformDialect

The LinalgTransformDialect has become a maintenance burden without any users. This drops the dialect and cleans up some surrounding linalg ext code that has since been upstreamed.

Transform ops equivalent to lower_to_llvm now exist upstream
The linalg ext variant of the TransformDialectInterpreter pass has since been moved to IREE core

take_first, emit_remark, and the matcher infra + ops are still load bearing and transitioning to upstream is left as TODO.

Adding some people who I think have worked on this in the past to see if there is anything removed here that wants to be upstreamed first.

Darn, I wanted to try and drop the interpreter pass in linalg-transform-ext, but it looks like it's needed to test some of the linalg-ext transform ops
 iree-dialects-opt: Unknown command line argument '--transform-dialect-interpreter'.  Try: '/work/build-asan/llvm-project/bin/iree-dialects-opt --help'
iree-dialects-opt: Did you mean '--transform-dialect-drop-schedule'?
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck /work/llvm-external-projects/iree-dialects/test/Dialect/iree_linalg_ext/foreach-thread-to-async.mlir

Thanks for the cleanup!

I'll land this tomorrow if there are no more comments.

As an FYI, I don't have a say in what IREE does:

emit_remark is available in the "test transform" extension upstream (but downstreams normally don't load test extensions); this may be moved into the "main" transform dialect IMO.
Matcher infra + ops should not be upstreamed; there is an arguably better alternative with matcher ops that do not require the awkward C++ interfacing. It is poorly documented, but there are tests https://github.com/llvm/llvm-project/tree/main/mlir/test/Integration/Dialect/Transform, and I committed enough matchers to replace all usage of the C++ matching as of ~May 2023. I didn't have the time to write a public design doc, but if there is interest in using this, I may be able to find the time or discuss with someone.
There shouldn't be a need to have more than one transform interpreter pass in the project unless passes somehow change the interpreter logic. The base interpreter works with any ops implementing transform interfaces as long as the dialect extensions providing those ops correctly register dependent and generated dialects.

As an FYI, I don't have a say in what IREE does:
* `emit_remark` is available in the "test transform" extension upstream (but downstreams normally don't load test extensions); this may be moved into the "main" transform dialect IMO.

* Matcher infra + ops should not be upstreamed; there is an arguably better alternative with matcher ops that do not require the awkward C++ interfacing. It is poorly documented, but there are tests https://github.com/llvm/llvm-project/tree/main/mlir/test/Integration/Dialect/Transform, and I committed enough matchers to replace all usage of the C++ matching as of ~May 2023. I didn't have the time to write a public design doc, but if there is interest in using this, I may be able to find the time or discuss with someone.

* There shouldn't be a need to have more than one transform interpreter pass in the project unless passes somehow change the interpreter logic. The base interpreter works with any ops implementing transform interfaces as long as the dialect extensions providing those ops correctly register dependent and generated dialects.

Thanks for the notes. For the matcher infra, I didn't specifically mean moving it upstream, but instead transitioning to use what was added upstream (and if needed upstream any missing pieces). Definitely was a bit unclear looking back at the wording. There has been some light discussion about how to transition that C++, so there is definitely interest in a discussion at some point. I was thinking of re-evaluating how we handle that matching after #14788 and related PRs land.
Because llvm-external-projects is built independently of IREE (and used to test some linalg-ext ops) I assumed the custom interpreter pass similar to what we have in codegen is required for testing, but if the upstream one works that would be great! I can try that in a follow up.

As an FYI, I don't have a say in what IREE does:

You absolutely do have a say in what IREE does. Any feedback/viewpoint that helps lead IREE to a better state are welcome!


'Third Party Notices' under Help menu is not localized

Storage Explorer Version: 1.10.1
Build: 20190926.4
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 18.04/macOS High Sierra
Architecture: ia32/x64
Language:  Chinese (zh-CN)/ Chinese (zh-TW)
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer using the command 'StorageExplorer.exe --lang=zh-CN'.
Click the localized menu 'Help' -> Check its dropdown list.

Expect Experience:
'Third Party Notices' is localized.
Actual Experience:
'Third Party Notices' is not localized.

Existing string translated, but forgot to swap out hard-coded string.


[Enhancement] Materialized view query rewrite support cross join

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #14451

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.huangfeng1993 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

[FE PR Coverage Check]
:heart_eyes: pass : 19 / 19 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
14
14
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java
5
5
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 18 / 18 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
13
13
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java
5
5
100.00%
[]

run starrocks_admit_test

@Mergifyio backport branch-2.5

[FE PR Coverage Check]
:disappointed: fail : 16 / 22 (72.73%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
6
12
50.00%
[641, 642, 643, 644, 645, 649]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java
10
10
100.00%
[]

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 13 / 13 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MvUtils.java
10
10
100.00%
[]

run starrocks_admit_test


TODO: use sqlite

https://github.com/kkharji/sqlite.lua

Really need?
This might be useful for people using very large dictionaries, but even in its current state, is there any problem other than initialization loading time?

done in 7583bfd8a21991bc778dcba8012de3510ee84b4a