Pubkey authentication fails on Ubuntu servers

I have 2 computers with Ubuntu 12.04 and OpenSSH pubkey-only authentication.
Both computer is accessible and both computer can connect to each other using public key authentication. Everything works fine.
However with ConnectBot I can't connect both of them. Public key was installed correctly, and I used it before with previous versions of ConnectBot.
Now I can connect to both computer from other devices, but ConnectBot fails at the pubkey authentication.
After the following message does not happening anything:

Connecting to 192.168.xxx.xxx:22 via ssh protocol
Identified 'EC' computer key: ...
Key exchange algorithm: ecdh-sha2-nistp256
Used algorithm: aes256-ctr hmac-sha2-256
Trying to authenticate
Trying 'pubkey' authentication, using any key in the memory

At this point seems that nothing happens. There is no error message, or anything.
After a few minute I got the following message:

Connection lost

This happening wit both of my computer.
The connection is lost at same point, however bot of my computer can connect each other, everything works perfectly.
In the server log I can see the following line only:

Received disconnect from 192.168.xxx.xxx: 11: Closed due to user request. [preauth]

The server permissions and the authorized_keys file does not seems like corrupt, and I can still connect from other devices, except ConnectBot.

Here is the logcat messages:

E/CB.SSH  ( 8215): Problem during handleAuthentication()
E/CB.SSH  ( 8215): java.lang.NullPointerException
E/CB.SSH  ( 8215): 	at org.connectbot.transport.SSH.promptForPubkeyUse(SSH.java:916)
E/CB.SSH  ( 8215): 	at org.connectbot.transport.SSH.authenticate(SSH.java:239)
E/CB.SSH  ( 8215): 	at org.connectbot.transport.SSH.connect(SSH.java:476)
E/CB.SSH  ( 8215): 	at org.connectbot.service.TerminalBridge$3.run(TerminalBridge.java:284)
E/CB.SSH  ( 8215): 	at java.lang.Thread.run(Thread.java:841)

Any more info you can give? Is this through a shortcut on the desktop? Over a 3G connection or WiFi?

I'm having the same problem.  I'm using 1.8.6 from google play.  Password based authentication works, but public key authentication does not.  (This problem seems specific ECDSA. For example, RSA 2432 works for me.)  I've tried with my phone on wifi and using my wireless carrier.  I've tried connecting to a couple of different hosts.  I've tried an ECDSA128 key and an ECDSA521 key.  As soon as I grant connectbot permission to use the key (or immediately if I configure connectbot to use the key without prompting for permission) the connection is disconnected, apparently by connectobot.  I used "sshd -ddd" and received the following output...
On the phone:
...
Key exchange algorithm: ecdh-sha2-nistp256
Using algorithm: aes256-ctr hmac-sha2-256
Trying to authenticate
Attempting 'publickey' authentication with a specific public key
Connection Lost
On the server:
...
debug1: attempt 0 failures 0 [preauth]
debug3: mm_getpwnamallow entering [preauth]
debug3: mm_request_send entering: type 8 [preauth]
debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM [preauth]
debug3: mm_request_receive_expect entering: type 9 [preauth]
debug3: mm_request_receive entering [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 8
debug3: mm_answer_pwnamallow
debug2: parse_server_config: config reprocess config len 487
debug3: auth_shadow_acctexpired: today 16847 sp_expire -1 days left
-16848
debug3: account expiration disabled
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 9
debug2: monitor_read: 8 used once, disabling now
debug2: input_userauth_request: setting up authctxt for truth [preauth]
debug3: mm_inform_authserv entering [preauth]
debug3: mm_request_send entering: type 4 [preauth]
debug2: input_userauth_request: try method none [preauth]
debug3: userauth_finish: failure partial=0 next
methods="publickey,password,keyboard-interactive" [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 4
debug3: mm_answer_authserv: service=ssh-connection, style=
debug2: monitor_read: 4 used once, disabling now
< at the point the server log pauses until the connectbot is allowed to use the key >
Connection closed by <IP_ADDRESS> [preauth]
debug1: do_cleanup [preauth]
debug1: monitor_read_log: child log fd closed
debug3: mm_request_receive entering
debug1: do_cleanup
debug1: Killing privsep child 31005
debug1: audit event euid 0 user truth event 12 (CONNECTION_ABANDON)
My phone is a Moto X running Android 5.1.  Kernel version is 3.4.42-gb476356.
BTW, overall connect bot is a fantastic tool.  Thanks!!!

I also experience this. I'm using a 521 bit EC key generated and used on connectbot 1.8.6 and android 6.0.1.
Here is the key it generated:
ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAEEC0Axp2hKU7BaB43bGSSLAjyzjrumnRJBbuEdQbCVkSULMBtrao23L2xgOowqyfZ/FWywF2csOZNRt4y+q/XBygC+6p9PPgHoSR8gVVnWdQD+nzeLUxO0DhgBylw06Zw73POIgUtiUa6cNYHdZadP53ckYJ/hoJjOhTv8gp5GB/i9TA== Phone public key
-----BEGIN PRIVATE KEY-----
MIHuAgEAMBAGByqGSM49AgEGBSuBBAAjBIHWMIHTAgEBBEIAB1SBjzq0scHoPLS
Cww2XkfgLEaLm8TESkLtlY41CTutK/mvRlVqXtbf0yYv0EiGHbkt1ql5Lf4HYYO
+I205q8aShgYkDgYYABAEEC0Axp2hKU7BaB43bGSSLAjyzjrumnRJBbuEdQbCVk
SULMBtrao23L2xgOowqyfZ/FWywF2csOZNRt4y+q/XBygC+6p9PPgHoSR8gVVnW
dQD+nzeLUxO0DhgBylw06Zw73POIgUtiUa6cNYHdZadP53ckYJ/hoJjOhTv8gp5
GB/i9TA==
-----END PRIVATE KEY-----
Hope this helps.

I'm not sure if I'm seeing the same issue, but I also cannot use key authentication with ConnectBot when connecting to Raspbian. Tried with the existing keys (used on a PC) or with the ConnectBot-generated keys but none worked. It does recognize the key (although on my existing keys it reports bit strength as unknown) and unlocks them after passphrase is entered. Unlike the original report, what I would get after Attempting 'publickey' authentication line is Authentication method 'publickey' with key 'name-of-the-key' failed and then a long loop of repeated Trying to authenticate followed by [Your host doesn't support 'password' or 'keyboard-interactive' authentication.] (which is correct as it's disabled on the host).
This works OK with the VX ConnectBot fork, but ConnectBot has been my SSH client of choice for years so I'd prefer if this was fixed. :)

Which type of keys are you using?

@kruton I'm not very faimiliar with the topic but here's what I could find: the main one I'm regularly using from PC and tried to use in CB is ssh-rsa 2048 bits. I no longer remember how it was generated but it's in openSSH format. The CB pubkey manager reports it as "RSA unknown-bit". The one I generated in CB is also ssh-rsa 2048, but CB correctly reports it as "RSA 2048-bit (encrypted)".
Both keys act the same within pubkey manager (both can be unlocked by typing in their passphrase). But neither works when connecting. While connecting, it states that key exchange algorithm is ecdh-sha2-nistp256 and then "using algorithm" aes256-ctr hmac-sha2-256.

I am currently getting this issue with a 2048 bit SSH-RSA key.  I get the same sequence of events as the original poster, I can see the session start to open, then my auth.log shows a

sshd[xxx]: Connection closed by {my android phone / CB} port xxxx [preauth]

and it says connection closed on CB.
Running a Nexus 6p, straight from Google, up to date with newest CB on PlayStore.

I'm using a Pixel XL, stock, connectbot from the play store (newest version).
RSA 2048 bits "just works" when I connect to an ubuntu 16.04 system.
The "EC" key, labeled ecdsa-sha2-nistp521 it does not work.

Using an openSSH generated 2048-bit RSA key, Connectbot loops trying to authenticate, Tried up to ConnectBot-git-v1.9.0-alpha2-9-g5bb7413.apk.
Importing the same key into VX Connectbot from the Play store works.
The Linux host openSSH server reports:
error: key_verify: invalid format
Failed publickey for xxxxxx from xxx.xxx.xxx.xxx port 44764 ssh2: RSA SHA256:tw/ChUzfaxbJuCMRypQio8GNh5nwSL7+QAQ4EQJUZ3w

Bump. Same bug.
I get "Authentification method 'publickey' failed" and "Authentification method 'password' failed" although I'm sure I'm using the right keys and password. Same bug in ConnectBot-git-v1.9.0-alpha2-9-g5bb7413.apk and an earlier version. I also can't connect using Android SSH clients Telnet or Juice.

Same here - public key based authentication does not work in connectbot.

I have since switched to JuiceSSH+mosh on Android.
On Thu, Jul 13, 2017 at 12:30 PM, Daniel M. Drucker <
<EMAIL_ADDRESS>wrote:

Same here - public key based authentication does not work in connectbot.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/connectbot/connectbot/issues/359#issuecomment-315113623,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMgNT1yGNOOvYuwwiM7HFC_D9r-a_P6rks5sNjf9gaJpZM4G7XWt
.

Not sure if it's the same issue, but I'm also getting

Authentiation method 'publickey' with key '...' failed

ConnectBot 1.9.8-oss on Android 12 (crDroid), Ubuntu 18.04.6 server. Tried ed25519, ECDA and RSA 2048 bit keys - same result.


ErrorHandler marked as final

ErrorHandler middleware was marked as final but introduces a new public method (attachListener) that was not declared in MiddlewareInterface. This makes ErrorHandler not mockable and hard to use in tests.
This is similar to #144 and requires removing final keyword or creating an interface for ErrorHandler.

Fixed in 3.1.0


linux - restore --no-sandbox for startup scripts

Partially reverts https://github.com/microsoft/vscode/commit/e2954beb4b0fccb7c034f1444e4b76c23fa6ae0b for those files that are related to startup for our users (not tests).
This PR fixes https://github.com/microsoft/vscode/issues/126027

what was the issue


Using a gun disables click-and-drag actions

How to reproduce:

Pick up any gun, I know this happens with the Cargo SMG.
Put the gun down or stow it.
You will no longer be able to loot people via clicking and dragging (right-click -> strip still works)
This also seems to apply to putting people in disposals or onto the meat spike.
This happens regardless of combat mode/disarm status, and occurs even if both are off.

Cant reproduce


Clarify when to use cargo-deny and when to use cargo-audit

In various CI/CD pipelines I am running both cargo-audit and cargo-deny. Recently I had to override a "unmaintained crate" warning and I was surprised to find I had to change both the cargo-deny and cargo-audit configuration. Then, the more I looked into things, the less I felt I understood what cargo-deny does that cargo-audit does, and vice-versa.
Also I want to work on some non-trivial enhancements to one tool or the other tool, but it isn't clear which tool I should add the enhancements to. Right now it looks like I'd need to propose the enhancements to both, and work on both in parallel.
I am subscribed to the now-closed issue #194 which was about, IIUC, merging cargo-audit and cargo-deny into one thing, but then something happened that I don't understand that caused that effort to stall out. It isn't clear to me to what extent the issues are technical vs. organizational.
My understanding from reading #194 is that cargo-audit does advisory checks in a way that reduces the number of advisories that one needs to worry about, relative to what cargo-deny does. Modulo that, is there any reason to use cargo-audit vs. cargo-deny now?
Conversely, if one is interested in the better advisory support in cargo-audit, then how would you recommend one configure cargo-deny so that it doesn't do any checks that are 100% redundant with what cargo-audit does?

/cc @tarcieri

In the past we’ve talked about phasing out cargo-audit in favor of cargo-deny.
I’m curious why you need to run both and the latter alone doesn’t meet your needs.

If you only care about advisories, you should just use cargo-audit IMO, since any features related to advisory checking (from the library crate rustsec) will likely appear there before they appear in cargo-deny simply because they are maintained by the same people.
If you care about checking licenses, duplicate/banned crates, and crate sources in addition to advisories, then cargo-deny would be more suited since it does all of them. However, you can just run them both in parallel if you like as well, and simply skip advisory checking with cargo-deny by specify which checks you want to run, eg cargo deny check bans licenses.
#194 was closed because of the direction that cargo-audit is going in with regards to actually inspecting the final binary artifacts to see if the symbols related to an advisory, eg. "function foobar in crate danger at version 1.0.3 has can cause a segfault", are actually still in the binary, or were stripped out by the linker since they are never actually called, meaning the advisory doesn't trigger since the specific problematic function isn't present. At least at this time, my intention was for cargo-deny checks to be purely based on crate metadata with a few exceptions when it comes to license files, simply so that it always runs in sub second time frames no matter how large the project is (provided cargo has fetched crates already). This may change in the future of course, but it's definitely something I don't plan on any time soon, but could be motivated if there were other checks that could be added to binary artifacts, for example, ensuring that new system dependencies are not accidentally added and the like.

At least at this time, my intention was for cargo-deny checks to be purely based on crate metadata with a few exceptions when it comes to license files, simply so that it always runs in sub second time frames no matter how large the project is (provided cargo has fetched crates already).

This is exactly the model I want to implement in my CI/CD, so it seems like I can use cargo-deny and stop using cargo-audit. Thanks!
I think it would be useful if this info were included in the documentation.


Potentially Disenfranchise Raspberry PI Zero and W AIY users

I added to a comment on an issue at the google/aiyprojects-raspbian repository yesterday  https://github.com/google/aiyprojects-raspbian/pull/64.
The AIY project are working on replacing their current version of the Google Assistant SDK that is based on armv6 with the new version that is armv7 based. I've pointed out that some AIY users are using Raspberry PI Zero's and W's that cannot run armv7 code.  At some stage in the near future those users will pull the AIY repository to receive n number of updates only to find that their AIY project no longer works because the armv7 google assistant SDK has been merged.
The response was that the issue belongs in this repository.
One point I would make is that RaspberryPi.Org in some of their materials state that the AIY can be used with the Zero and W.
Is it "good" enough to simply disenfranchise those users without providing them with advance knowledge of this and how to avoid it - either by never updating or some clever variation of running their own fork without the new SDK - regarding the later suggestion - some of the people involved will be newcomers who have no idea how to do that..

This has been resolved - the AIY project have catered for people using the Pi Zero and W by checking what version on arm is being used and only installing the new assistant sdk if is armv7


:robot: triggering CI on branch 'release-next' after synching from upstream/main

Codecov Report

Merging #619 (b091df5) into release-next (b091df5) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head b091df5 differs from pull request most recent head f526b2d. Consider uploading reports for the commit f526b2d to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@              Coverage Diff              @@
##           release-next     #619   +/-   ##
=============================================
  Coverage         49.40%   49.40%
=============================================
  Files                96       96
  Lines             13113    13113
=============================================
  Hits               6479     6479
  Misses             5991     5991
  Partials            643      643

OCF Webhook is merging this PR


Add chat streaming

Adds the streaming chat request mentioned in #19! The new code implements a client for the server-sent events mentioned in the OpenAI docs. If a callback function (that accepts a string) is passed to create_chat(...) via the streamcallback, a streaming request will be sent and the OpenAI server will send back a bunch of chunks that can be reassembled into the ChatGPT message response. Note: the response looks different in streaming mode, so code that calls create_chat with streaming will need to deal with that.
Open questions:

Should the callbacks be expected to accept a string, or JSON? Could go either way. Most of the time I bet the callback function will do JSON parsing, so maybe a good idea to save code and do the JSON parsing before calling the callback
Is there a cleaner way to write this? There are a few instances of if isnothing(streamcallback) that feel like they could be replaced with some type system stuff. I couldn't find a quick way to do that. The code here works well though.
Should tests be added? I haven't included any but is probably a good idea.

References

https://juliaweb.github.io/HTTP.jl/stable/client/
https://platform.openai.com/docs/api-reference/chat/create#chat/create-stream

I'll be able to fiddle with these changes after work tomorrow, but this seems solid from a glance. The testing question is an interesting one, I'll see if I can come up with a strategy if we need additional tests for this

I think a test for the positive !isnothing(streamcallback) condition is a good idea, could just copy a few of the existing test cases and add the flag.

Sounds good to me! I added streaming chat request test that works locally, along with the rest of the tests too. I guess it's hard to get an API key set up to run the tests as part of CI here, huh?

Sweet! I'll take a look later today. Yeah the way it's running now, anybody who forks would have to create a repo secret for the tests to work.


I need import .sounds chart

I can’t import :(

@Ultrapokefan664 What game is this for? The only games we plan on supporting are stepmania/etterna/o!m/quaver


New config

I have rewritten part of the program in order to read configurations variable from a YAML file instead of environmental variables (I used Viper library). All tests are passing on my local machine. I also fixed Dockerfile and various scripts to match the new configurations. Readme is also updated with new instructions. I open this pull requests if you want to merge my work.
Thank you

@samuelebistoletti I am going to close this PR in favor of #61 so that you can split off a PR for the BLPOP change which we are not comfortable merging into master yet.

it's ok. I have to reopen another PR for the BLPOP change or will you do that when you feel confortable to merge that change?

@jacobgreenleaf I don't understand why BLPOP has been reverted in favor of LPOP. BLPOP has been around for a long time (2.0) and proven very stable and is lighter on the CPU than the LPOP hammering and is almost a drop-in replacement for LPOP (plus the timeout parameters of course). That and it almost guarantee that what is pushed in the list is popped as soon as possibile, reducing latencies (not that redis is slow at all, but working at your scale I think that every millisecond shaved in the long run is really good). I'm really interested in what is the rationale on removing the BLPOP from this PR (not trying to be a dick, just trying to understand). Was is that the timeout is not in the config file?

@druzn3k the reason is that this PR was for the re-do of the config, changing logic like this (which in this case is a good thing) would get lost in the PR, it is cleaner to do a separate PR for it. Even you can do it ;)

Ah, ok! :+1: I thought that was for the command per-se, not for a logical separation of changes. My bad. :)


Comment Permlink Bug

Expected behavior

I want to make a comment with steem.formatter.commentPermlink and steem.broadcast.comment.
Actual behavior

My steemit name have '.' like 'abc.de'.
And commentPermlink function cannot erase '.' and steem.broadcast.comment function make a following error.
{ RPCError: Assert Exception:false: Invalid permlink character: .
    at new RPCError (/Users/sunny/steemit-translation-web/node_modules/steem/lib/api/transports/http.js:39:106)
    at /Users/sunny/steemit-translation-web/node_modules/steem/lib/api/transports/http.js:74:13
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
  cause:
   { RPCError: Assert Exception:false: Invalid permlink character: .
    at new RPCError (/Users/sunny/steemit-translation-web/node_modules/steem/lib/api/transports/http.js:39:106)
    at /Users/sunny/steemit-translation-web/node_modules/steem/lib/api/transports/http.js:74:13
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
     name: 'RPCError',
     code: -32000,
     data:
      { code: 10,
        name: 'assert_exception',
        message: 'Assert Exception',
        stack: [Array] } },
  isOperational: true,
  code: -32000,
  data:
   { code: 10,
     name: 'assert_exception',
     message: 'Assert Exception',
     stack: [ [Object], [Object], [Object], [Object], [Object] ] } }
POST /api/v1/trans/request 461 13259.178 ms - 57
/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/async.js:61
        fn = function () { throw arg; };
                           ^

Error: Can't set headers after they are sent.
    at validateHeader (_http_outgoing.js:491:11)
    at ServerResponse.setHeader (_http_outgoing.js:498:3)
    at ServerResponse.header (/Users/sunny/steemit-translation-web/node_modules/express/lib/response.js:730:10)
    at ServerResponse.send (/Users/sunny/steemit-translation-web/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/Users/sunny/steemit-translation-web/node_modules/express/lib/response.js:256:15)
    at /Users/sunny/steemit-translation-web/routes/api.js:48:9
    at /Users/sunny/steemit-translation-web/models/api.js:162:33
    at tryCatcher (/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/util.js:16:23)
    at Promise.errorAdapter (/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/nodeify.js:35:34)
    at Promise._settlePromise (/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/promise.js:566:21)
    at Promise._settlePromise0 (/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/promise.js:689:18)
    at Async._drainQueue (/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/sunny/steemit-translation-web/node_modules/bluebird/js/release/async.js:17:14)

How to reproduce

Environment information

Could you provide example of the code you are trying to execute? Just remember to cover your WIF.

I've checked on steemit.com, what they does this '.' problem and they just remove it from the username, example:

User:

smooth.witness.

Link, permlink
https://steemit.com/witness-category/<EMAIL_ADDRESS>
re-the-future-re-smoothwitness-32adbe-witness-update-20170131t205743100z
I will add such implementation to library then, however I am releasing it under name "steem-js-refactored" cause main fork is abandon.

I've solve this bug on version of steemJs I am releasing. I am making it, because there where more things I need to repair in past. If you want you can find your bug solved in library "steem-js-refactored" version 0.7.8.
Changes are on branch:
https://github.com/steemit/steem-js/issues/364

#366


pwscf with python3

Hi Togo,
it seems that pwscf parser is not working for python3 version:
Traceback (most recent call last):
  File "/usr/local/bin/phonopy", line 315, in <module>
    yaml_mode=settings.get_yaml_mode())
  File "/usr/local/lib/python3.5/dist-packages/phonopy/interface/__init__.py", line 73, in read_crystal_structure
    unitcell, pp_filenames = read_pwscf(unitcell_filename)
  File "/usr/local/lib/python3.5/dist-packages/phonopy/interface/pwscf.py", line 62, in read_pwscf
    pwscf_in = PwscfIn(open(filename).readlines())
  File "/usr/local/lib/python3.5/dist-packages/phonopy/interface/pwscf.py", line 191, in __init__
    self._collect(lines)
  File "/usr/local/lib/python3.5/dist-packages/phonopy/interface/pwscf.py", line 224, in _collect
    for tag, self._values in elements.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

You need to change dict.iteritems to dict.items.
Anyway thanks for such a nice package, I am using it for my PhD studies :).

Thanks for your report. I hope I could fix it at c978c37e5daf2c96160d0074dc53f0ca2983ffa0. This fix will be available at the next release.

Hi Togo,
Facing a similar issue in qe.py praser. Unable to use any functionality of QE with phonopy.

python make_born_q2r.py scf.in Ca3Sb2.fc > BORN

Traceback (most recent call last):
File "/home/smj/Systems/Ca3Sb2/New/make_born_q2r.py", line 10, in
cell, _ = read_pwscf(primcell_filename)
File "/home/smj/anaconda3/envs/phonopy/lib/python3.9/site-packages/phonopy/interface/qe.py", line 83, in read_pwscf
pwscf_in = PwscfIn(f.readlines())
File "/home/smj/anaconda3/envs/phonopy/lib/python3.9/site-packages/phonopy/interface/qe.py", line 211, in init
self._collect(lines)
File "/home/smj/anaconda3/envs/phonopy/lib/python3.9/site-packages/phonopy/interface/qe.py", line 254, in _collect
getattr(self, self._set_methods[tag_name])()
File "/home/smj/anaconda3/envs/phonopy/lib/python3.9/site-packages/phonopy/interface/qe.py", line 292, in _set_lattice
raise RuntimeError(
RuntimeError: As a unit, alat, angstrom, and bohr can be only used.

I can't see anything what is happening in detail. Please describe more detail.

Hi Togo,
Thanks a lot for your prompt response !!
I have raised this issue with more specific details with attached files and
links from which I followed the instructions of yours. Please help me to
resolve it!!
https://github.com/phonopy/phonopy/issues/153
https://github.com/phonopy/phonopy/tree/master/example/NaCl-QE-q2r
Regards
Shivam Jani
On Fri, Jul 23, 2021 at 10:06 AM Atsushi Togo @.***>
wrote:

I can't see anything what is happening in detail. Please describe more
detail.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/phonopy/phonopy/issues/21#issuecomment-885393427, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AU56UQ7SL74KP6FSMM44DILTZDWVRANCNFSM4CN4XPZA
.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25351

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/26138

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/26205

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28052

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28052

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/56609

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/56915

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/57419


feat(tutorial): add step 2 instructions

wip, but mostly done. Need to address some comments and then test it out.
Netlify url: https://deploy-preview-1601--carbon-website.netlify.com/tutorial/react-step-2/
(tutorial is not currently in sidebar nav)

Going to run through this today 👍

@tw15egan I still need to add some things, since we made some changes to what we built 👀 will hopefully be done by tomorrow morning (I have a few meetings the rest of the day)

👍 Sounds good! Just let me know when it's ready to be tested


Updates in dirtydrum.

In this update, i changed the blending algorithm and noise generation algorithm. In addition, i uncommented those gaussianblur related code since it is only applied to the noise mask, but not directly to the actual image, so it shouldn't causing any information lost.
I think the output looks better now, for example:
Actual image:

Augmented images:

I think these look much more realistic 👍


Dev change native tls to rustls

Changed native TLS to tokio rustls
Added env. variable with path to CGW certs
Read CGW certs in runtime instead of compilation time

@phwhite i've added you as a reviewer to this PR to specifically address few topics:

Are you OK with volume-approach certificate passage to the docker?
Are you OK with an  env var (security-wise, etc)?
We'd need this while OWLS-testing in particular as well, because the MAC+cert pair might not match when we receive the connections from the OWLS....


Flaky TestOnlyInorderLayersAreVerified

Description

Seen on 6b0f57075ad426e2885eee5bb5aa32d1b87d8025 (latest develop commit).
Sometimes TestOnlyInorderLayersAreVerified fails with the error:
=== RUN   TestOnlyInorderLayersAreVerified
    verifying_tortoise_test.go:3073:
        	Error Trace:	verifying_tortoise_test.go:3073
        	Error:      	Not equal:
        	            	expected: types.LayerID{Value:0x8}
        	            	actual  : types.LayerID{Value:0x7}

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,3 +1,3 @@
        	            	 (types.LayerID) {
        	            	- Value: (uint32) 8
        	            	+ Value: (uint32) 7
        	            	 }
        	Test:       	TestOnlyInorderLayersAreVerified
--- FAIL: TestOnlyInorderLayersAreVerified (0.02s)

Expected :types.LayerID{Value:0x8}
Actual   :types.LayerID{Value:0x7}
<Click to see difference>

The flakieness was definitely addressed by removing random seed for eachtest. So i am closing this for now.


genome size

I use genomescope2.0 to estimate my diploid genome, and I use NGS_cleandata as input.It's Illumina sequence.
It is my results:

It shows Genome Haploid Length : 247M ，should I double it as my final genome size ?

GenomeScope reports the haploid genome size - so if you ran it on a human
data set, the reported haploid genome size would be about 3 Gbp, but a
typical diploid cell has about 6Gbp of DNA.
Good luck!
Mike
On Mon, May 31, 2021 at 5:21 AM 123123456abc @.***>
wrote:

I use genomescope2.0 to estimate my diploid genome, and I use
NGS_cleandata as input.It's Illumina sequence.
It is my results:
[image: 微信截图_20210531172006]
https://user-images.githubusercontent.com/73271841/120171295-7d3a6900-c234-11eb-80b9-d63d01c8f8ee.png
It shows Genome Haploid Length : 247M ，should I double it as my final
genome size ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/schatzlab/genomescope/issues/58, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABP34YKGONAUGWDGFFHGADTQNILHANCNFSM452QORGQ
.


Url::to function duplication in yii\web\Controlle->redirect() function

What steps will reproduce the problem?
yii\web\Controller.php
public function redirect($url, $statusCode = 302)
    {
        return Yii::$app->getResponse()->redirect(Url::to($url), $statusCode);
    }

$url has been Url::to() at ...->redirect(****)
but at yii\web\Response.php
public function redirect($url, $statusCode = 302, $checkAjax = true)
    {
        if (is_array($url) && isset($url[0])) {
            // ensure the route is absolute
            $url[0] = '/' . ltrim($url[0], '/');
        }
        $url = Url::to($url);
          .........
}

$url been Url::to()again
What is the expected result?
none
What do you get instead?
yii\web\Controller.php
public function redirect($url, $statusCode = 302)
    {
        return Yii::$app->getResponse()->redirect(Url::to($url), $statusCode);
    }

change
public function redirect($url, $statusCode = 302)
    {
        return Yii::$app->getResponse()->redirect($url, $statusCode);
    }

Additional info

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.0

Operating system
win10+iis

there is a reason why it is there: https://github.com/yiisoft/yii2/issues/13430#issuecomment-274536432
do you have any issue with the current code? anything not working?


Restrictive flags needed for running Devnet in an untrusted environment

When Devnet is used e.g. as-a-service or in CTF competitions, it would be good to prevent it from being loadable or restartable via endpoints (if somebody thinks of other misuses, please mention them in this issue). Instead of having one flag to turn off each of these individual functionalities, I would introduce one that blocks them all, e.g.:
$ starknet-devnet --as-a-service

This flag would also incorporate the --disable-account-impersonation flag (perhaps one is enough?)

I suggest the flag to be --disable-devnet-endpoints or --restrictive

minting have to be forbidden

I suggest the flag to be --disable-devnet-endpoints or --restrictive

Makes sense. Once we migrate to having only JSON-RPC API, implementing this would be as simple as blocking devnet_ methods. Unless there are some that would be useful (devnet_getConfig? devnet_getAccountBalance?)

Or maybe a cli argument that can accept a string of comma separated methods. It will override the default ones.


perhaps missing tables when declaring tables in dart file and meanwhile not mentioning it in .moor file

Here I declare three tables in the base.dart and mention two of them (except units) in .moor file. But the generated .g.dart file only contains two tables (no units table).
If I add a SQL in .moor file to add an index on some column --- a way to mention it in .moor file --- in the units table, then the generated base.g.dart contains this table.
base.dart
import 'package:moor_flutter/moor_flutter.dart';

part 'base.g.dart';

class Events extends Table {
  IntColumn get id => integer().autoIncrement()();

  RealColumn get sumVal => real().withDefault(Constant(0))();
}

class Records extends Table {
  IntColumn get id => integer().autoIncrement()();

  IntColumn get eventId => integer()();

  RealColumn get value => real().nullable()();
}

class Units extends Table {
  IntColumn get id => integer().autoIncrement()();
}

@UseMoor(include: {'customizedSQL.moor'})
class AppDatabase extends _$AppDatabase {
  AppDatabase()
      : super(FlutterQueryExecutor.inDatabaseFolder(
            path: "db.sqlite", logStatements: true));
}

customizedSQL.moor
import 'base.dart';

create trigger addVal after insert on records when id = NEW.event_id BEGIN update events set sum_val = sum_val + NEW.value; END;

overview of the .g.dart file:

Thanks for the report and the reproducible example! This actually only happens if the tables are defined in the same file as the database, everything else should be fine.
I've fixed in this in 51d5ada5c93a890da920b5c6bc10ed2be3e802ef, which will be part of the next moor release.


microsoft_provider - Move assets ti Style lib

As a developer I should keep all the assets in the style lib.
Acceptance criteria
1 - All the local style definitions and assets should be changed to Style lib.

updating for TikiStyle

#34


Bump packages

Coverage remained the same at 91.693% when pulling 6e34b64575750db82cf084cdcd61d90462279af8 on upgrade-packages into bd3df05ae2d0dbe35c3e6434da8efe69c0bc6943 on master.


Sanitize dns config

try to automate dns config error #320

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 9 (33.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 63.844%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/client/model/model-functions.go
0
6
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
1229

Relevant Lines:
1925

💛  - Coveralls


⚠ Tada Website has degraded performance

In 5fa3323, Tada Website ($WEBSITE_URL) experienced degraded performance:

HTTP code: 200
Response time: 7406 ms

Resolved: Tada Website performance has improved in e4d2768.


Run the UI in process and replace (some) sh with Python

Running the UI in-process guarantees that a UI crash will stop the flow
of video information.  A UI crash that did not stop streaming would be a
security risk.  Python code is both more flexible and easier to secure
than shell scripts.

My main concern is proper installation. Python code usually lives under /usr/lib/python/site-packages instead of /usr/share.

Yes, that's certainly a good idea! It's just that we haven't had much Python code up until now so I figured how it was at the time was alright for now.
@DemiMarie I want to add you to the list of maintainers in the README. I just need to know what PGP key fingerprint you want to be put there. It should be the same key you use for code signing in this repo, however, the one you used is "unverified" and upon searching you up on keys.gnupg.net there are many keys in your possession.

Hi Demi, thanks for waiting for on me to getting around to work on this! Amazing job on this code, it is bordering on immaculate! I just did some more cleanups, organizing some functionality into functions tending to some pylint messages, making things more uniform and whatnot.
I also changed the way in which the webcam.py and screenshare.py services start and interact with the main service.py to create an instance of the Webcam and ScreenShare classes in order to create the service. I'm not sure how what you had was working for you but it wasn't for me because it seemed like you were trying to run functions from a class without first creating and instance of it which of course isn't possible.
Next, I changed a few things in the video sender component to make it compatible with the software in Qubes R4.0 dom0 (Fedora 25). That as well as just one tiny change for the video receiving component for Qubes R4.0 that was necessary or it would cease to work. I did unfortunately have to remove a bit of the optimization and function annotations you added to make this happen but we can add them straight back once Qubes R4.1 is released and R4.0 is deprecated. We could also create a branch for R4.0 compatibility if you want. It's important to note that the vast majority of Qubes users still run R4.0 (including myself) as it is the stable build so it's important that we continue to provide support for it. Personally, I've been thinking about switching to R4.1 but I'm unsure as to how stable it is as I do use Qubes OS daily for everything I do on the computer so it needs to be completely stable.
Then, I updated (and improved) the Makefile and the packages so they build successfully with all of our changes.
And lastly, I restructured the whole project to put the video sending components into the sender folder and the video receiving components into the receiver folder so the folder hierarchy makes a lot more sense now.

I removed the UserInterface and Notification classes as I considered them to be too small to justify classes of their own

I 100% agree. My plan was to (eventually) make this shell script here also use that Notification Python class instead of using notify-send thus making the class justifiable but I guess it's not a big deal.

Right now, the only piece of code that I would not consider production-quality is the Video4Linux2 format selection code in webcam.py. I have a slight preference for my code over yours for three reasons: mine does not impose any hard limits on resolution or frame rate, mine only supports the MJPG format supported by the GStreamer pipeline, and mine does not make any persistent changes to the webcam state itself. My code is also significantly shorter. Nevertheless, I would be fine with either. In any case, this code will be rewritten in C, so I consider it the least important.

Sounds good, you went for a different regex approach for your parser whereas I want with a line-by-line parser. I considered using regex but it seemed easier (at least for me) to do a line-by-line approach then trying to put together a big regex. I also knew that a line-by-line parser would be much more extensible (should that be necessary) and orders of magnitude faster because regex is generally very slow. However, it's still technically a micro-optimization so it's not worth worrying about. Let's just leave it as is because as you say, this will be rewritten in C with ioctlss so it's the least of our concerns.

I noticed in the Makefile you also also installed the /etc/qubes/rpc-config/qvc.* files into dom0 making them the only ones in there. This is opposed to the VMs which have other rpc-config files in that directory? Can you confirm this is correct?

I noticed in the Makefile you also also installed the /etc/qubes/rpc-config/qvc.* files into dom0 making them the only ones in there. This is opposed to the VMs which have other rpc-config files in that directory. Can you confirm this is correct?

It is not.

Ready to merge?

I also changed the way in which the webcam.py and screenshare.py services start and interact with the main service.py to create an instance of the Webcam and ScreenShare classes in order to create the service. I'm not sure how what you had was working for you but it wasn't for me because it seemed like you were trying to run functions from a class without first creating and instance of it which of course isn't possible.

I did test the code on my system, but it might very well have not worked on older versions of Python.

I did test the code on my system, but it might very well have not worked on older versions of Python.

I momentarily thought this also affected newer versions of Python but after further inspection it was just an oddity with how I had the kali AppVM I was using for testing set up that caused me to believe that.
However, those fixes are still definitely necessary the older version of Python in dom0.

I did test the code on my system, but it might very well have not worked on older versions of Python.

I momentarily thought this also affected newer versions of Python but after further inspection it was just an oddity with how I had the kali AppVM I was using for testing set up that caused me to believe that.
However, those fixes are still definitely necessary the older version of Python in dom0.

That definitely makes sense!  Time to go ahead and merge I guess.

(not sure if you should do it for code-signing reasons)

For review, would the standard merge commit method be best or a rebase merge?

For review, would the standard merge commit method be best or a rebase merge?


Easy access button is not working properly

Describe the bug
A clear and concise description of what the bug is.
Many times even when I click on the Pluto easy access button (floating on top of my app), it does not open the Pluto screen
Sometime, it get opened, but most of the time it does not open.
Screenshots
https://user-images.githubusercontent.com/34706326/130896315-f8531a15-0221-4f14-9e7f-21e125c48e79.mp4
Smartphone (please complete the following information):

Device: Samsung F41
OS: Android 11
Library Version 1.0.0

Debug logcat info could be usefull.
(minimally if activity is started after click on button)
Possible scenario is that Intent need to have flag reorder to front, a may be log is open under application, or your application is also in alert window mode.

@sonusourav made some improvement fixes around Easy access button
can you try this once on version 1.0.7

Hey looks like you have forced the minSDk to be 21. We have 19 as minSDK so won't be able to use this lib in that case. But we are planning to upgrade in the future. Just wanted to know, any strong reason to use 21 instead of 19

Btw, now some weird issue is coming. I could see multiple copies of button and those persists even after app exit.
Attached screenshots:

Hey looks like you have forced the minSDk to be 21. We have 19 as minSDK so won't be able to use this lib in that case. But we are planning to upgrade in the future. Just wanted to know, any strong reason to use 21 instead of 19

initially we were supporting minSdk=16, then we decided to upgraded to inorder to get rid of compat code, let me see if we can downgrade to 19 to keep supporting you.
for the multiple Easy Access button issue, can you share

Device model
Android OS version

Device model and Android OS version are same as mentioned in the issue description

@srtvprateek The issue can be reproduced as follows :
Open the app
Press back button and move out of the app
Open the app again


Cannot exclude compassView from VoiceOver (accessibility) when map is not north

MapLibre iOS Version
6.8.0
iOS Version
18.0
Device
iPhone 13
What happened?
Hey! as I'm not using the compassView I need to exclude it from being read from the iOS accessibility VoiceOver but I noticed even if I'm setting
        map.compassView.isAccessibilityElement = false
        map.compassView.accessibilityElementsHidden = true

is the map is not facing north, it's being read by screen reader. It's also visible in accessibility list elements (two fingers, three taps on screen).
If the map is not rotated there's no problem, screen reader is ignoring the compass view
extra info: rendering or hiding compass view is not changing things.
Some screens:

/
Map
List

Not North

North

Steps to reproduce

just show a simple map,
try disable compassView from accessibility (I'm doing it in updateUIView)
rotate the map to not face north

Relevant log output

Additional context
No response

Thanks for the report. I am not super aware how Voice Over works.
We have a developing guide if you want to try looking into this yourself.
https://github.com/maplibre/maplibre-native/blob/8b32c9a78309af3df8ffadf5fa4276a135212262/platform/ios/src/MLNCompassButton.mm#L4


TypeError: window.require.config is not a function when working with angular 8

I had the same error, I followed the readme on an angular 7 project and also on that same project updated to angular 8. Creating a new angular 8 project worked however... I tried this https://github.com/atularen/ngx-monaco-editor/issues/49 but it didn't work. Any ideas?

Same here when trying to add to https://github.com/maximegris/angular-electron
I tried #49 to no avail.

Update on a possible cause.
When including the BingMap api script, i.e.
seem to cause this error.
Possible solution
Step 1) Remove the bing map script from the index.html file
Step 2) Create a MonacoEditorLoader and load this in the app-root Angular component
Step 3) Create a BingMapsLoader and load this when the Map shows, i.e. after the MonacoEditorLoader has loaded.

For me what helped was

remove all ace editor scripts from angular.json
and fix the paths in app module and angular.json

app.module.ts
const monacoConfig: NgxMonacoEditorConfig = {
  baseUrl: '/assets',
};

imports : [
...
    MonacoEditorModule.forRoot(monacoConfig),
...
]

angular.json
            "assets": [
              {
                "glob": "**/*",
                "input": "node_modules/ngx-monaco-editor/assets/monaco",
                "output": "/assets/monaco"
              },
...
            ],

my package.json
  "dependencies": {
    "@angular/common": "^8.2.6",
    "@angular/compiler": "^8.2.6",
    "@angular/core": "^8.2.6",
    "@angular/forms": "^8.2.6",
    "@angular/http": "^7.2.15",
    "@angular/platform-browser": "^8.2.6",
    "@angular/platform-browser-dynamic": "^8.2.6",
    "@angular/pwa": "^0.13.9",
    "@angular/router": "^8.2.6",
    "@angular/service-worker": "^8.2.6",
...
  },

Try to load require.js

Is there any way to resolve this error without removing the ace editor?

any update regarding not removing the ace?


Fix broken link to aliases section

Link points to a page that does not exist. The change in this commit fixes the issue.

Thanks a lot!


Where is ImageService.Instance?

Description
I'm missing ImageService.Instance, so I can configure the HttpClient.

NVM I found it through dependency service injection.

got it. Thanks
#if IOS || MACCATALYST
services.AddSingleton<IImageService<UIKit.UIImage>, ImageService>();
#elif ANDROID
services.AddSingleton<IImageService<FFImageLoading.Drawables.SelfDisposingBitmapDrawable>, ImageService>();
#elif WINDOWS
services.AddSingleton<IImageService<Microsoft.UI.Xaml.Media.Imaging.BitmapSource>, ImageService>();
#endif

The service is registered automatically when you use the .UseFFImageLoading() method in you app startup.
When you need it, you request the following type: IImageService<TImageContainer>
For example in ViewModel constructor or in other ways.

Like this in viewmodel constructor then?
#if IOS
private readonly IImageService<UIKit.UIImage> _imageService;
#elif ANDROID
private readonly IImageService<FFImageLoading.Drawables.SelfDisposingBitmapDrawable> _imageService;
#endif
#if IOS
public CacheService(IBlobCache blobCache, IImageService<UIKit.UIImage> imageService)
#elif ANDROID
public CacheService(IBlobCache blobCache, IImageService<FFImageLoading.Drawables.SelfDisposingBitmapDrawable> imageService)
#endif
{
_blobCache = blobCache;
_imageService = imageService;
}

No, like this:
private readonly IImageService<TImageContainer> _imageService;
public CacheService(IBlobCache blobcache, IImageService<TImageContainer> imageService)
{
    _blobCache = blobCache;
    _imageService = imageService
}

Thanks, got it working by adding this GlobalUsings into the code. https://github.com/microspaze/FFImageLoading.Maui/blob/main/samples/Sample/GlobalUsings.cs

Ah yes, I missed that part.


Support Array of ParseFiles

fixes #35

Current coverage is 13.69% (diff: 4.28%)

Merging #65 into master will decrease coverage by 1.89%

@@             master        #65   diff @@
==========================================
  Files             4          4
  Lines           263        314    +51
  Methods          64         71     +7
  Messages          0          0
  Branches         77         95    +18
==========================================
+ Hits             41         43     +2
- Misses          222        271    +49
  Partials          0          0

Powered by Codecov. Last update 43726a4...14b325d

I doubt this will get merged but this works fine in case anyone needs to do some last minute migrations.
just two things to keep in mind:

make sure "transferTo": 's3' is set in config.js otherwise your files will not have url set
make sure parse-server-s3-adapter has directAccess: true otherwise the files uploaded will not have public access. (basically this should match your setting in parse-server.

@flovilmart Thanks for the review
I do not have access to Ilhasoft:only-string-and-array. I just found it fixing the issue so decided to open a PR for visibility. I don't have my own fork and thus cannot make the changes.
Maybe @teehamaral who owns that repo and wrote this code originally can swoop in?

Or you can fork on your repo from the Ilhasoft repo?

@codebreach I could make the changes, but I don't have available time now, maybe we can work together to fix it.


tridentctl install fails if behind a proxy

Hello,
I'm trying to install trident (with Netapp CVS on AWS as backend) on OpenShift 3.11, but the installer pod fails to connect to the API endpoint (timeout), because I need to connect via a proxy. I know that I can alter the deployment config of the main pod to pass a proxy env variable, but I can't find an option to pass a proxy to the installer pod.
Does anyone have any idea how to do this?

@ccdgrundhoefer  Try passing --in-cluster=false to the tridentctl install.

I tried to do this, but it still fails after:
INFO Starting storage driver.                      backend=/setup/backend.json
WARN Error communicating with AWS REST interface. Get https://cds-aws-bundles.netapp.com:8080/version: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
FATA Install failed; could not start the storage backend driver; problem initializing storage driver 'aws-cvs': error validating aws-cvs driver. failed to read version.  Resolve the issue; use 'tridentctl uninstall' to clean up; and try again.
However I can curl the URL from the host system, so there must be another component I'm missing?

@ccdgrundhoefer   Perhaps your proxy is interfering with communication between Trident's CVS driver and the AWS CVS API service.  We haven't tested that configuration, but you could experiment with setting an environment variable as indicated here before running with --in-cluster=false.  If that lets the installer succeed, then a similar tweak to the deployment YAML might get you going.

The environment variables are set correctly. I tried to hardcode the proxy into the cli/api/rest.go, but it didn't work.
I'm not a go programmer, so it might be that I made a mistake, this is what I changed (the proxy IP is obviously not the real one):
func InvokeRESTAPI(method string, reqURL string, requestBody []byte, debug bool) (*http.Response, []byte, error) {
var request *http.Request
var err error

if requestBody == nil {
    request, err = http.NewRequest(method, reqURL, nil)
} else {
    request, err = http.NewRequest(method, reqURL, bytes.NewBuffer(requestBody))
}
if err != nil {
    return nil, nil, err
}

request.Header.Set("Content-Type", "application/json")

if debug {
    LogHTTPRequest(request, requestBody)
}

proxyURL, err := url.Parse("https://<IP_ADDRESS>:8080")

if err != nil {
    panic("Can't parse URL!")
}

client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyURL)}, Timeout: HTTPTimeout}
response, err := client.Do(request)

responseBody := []byte{}
if err == nil {

    responseBody, err = ioutil.ReadAll(response.Body)
    response.Body.Close()

    if debug {
        LogHTTPResponse(response, responseBody)
    }
}

return response, responseBody, err

}

@ccdgrundhoefer  The file you modified is only used by tridentctl inside the Trident pod to communicate with Trident's REST interface, so that won't help.  The issue is the inability of Trident's AWS CVS driver to communicate with the external AWS CVS REST interface.  I would first try to do this without modifying code...you could use tridentctl install --generate-custom-yaml, modify the setup/trident-deployment.yaml file to add the HTTP_PROXY environment variable to the trident-main container, and install Trident using tridentctl install --use-custom-yaml.  If that doesn't work, you could work through NetApp support to have this added to the Trident roadmap.


[Forge] Netherite Trident Model Broken

The model of the netherite trident is completely broken, it barely shows up in your hand and in f3 it goes through your legs and is small.

I forgot to add im on forge 36.0.42 and netherite plus 1.4.0

I have the exact same problem

Forge breaks item rendering in a way that i don't understand why. It stays broken because forge breaks it


fix(apps/proc/jenkins): add node affinity

Close https://github.com/PingCAP-QE/ee-ops/issues/778
Add node affinity on cronjob clean-go-caches.

/hold
Wait for the next Jenkins restart operation to avoid unexpected restarts.

/unhold
it will not cause jenkins restart.


[CT-1627] [Spike] Identify requirements for structured logging in dbt-server

Describe the feature
The result of this spike should be a list of issues that we have to go do to support dbt-server using structured logging

@peterallenwebb Would you consider this one resolved, given the conversations we had with @racheldaniel and the flexible callback implementation added in #6291?

Yes, we've provided runtime with what they should need for 1.4, so I'll close this.


Create landing page design [easy] - Instance #10

Is your feature request related to a problem? Please describe.
Create a design of the landing page using the tool of your choice (it might be Pen/Pencil and Paper)
Describe the solution you'd like
Your design should be appealing to the user and must be related to the idea of the Water monitoring system. You should try to put relevant content as required at different places in the design itself but it's okay if you cannot think of some for certain parts of the website. We can refine this later on.
Compare and create the PR into the feature/frontend branch, and not the master.
Additional context
Please don't include tank divs here. This info is only for the admins.
Time Limit: 2 days
PS: Task will be assigned on an FCFS basis.

please assign this issue to me @amaaniqbal

Please assign this issue to me, i am interested in working on this.

@shreoshi-roy you can work on this issue!

Hey! Can i work on this issue ?

@FrozenGirl-spd you can, go ahead!

Thankyou!

@amaaniqbal  I have sent a PR. Can you please check it out!! :)

Can I work on this issue

Hi. Can I work on this issue ? thanks.


Azure SAS token for container throws 'invalid Signature Size' error

I am trying to list and download blobs from a container on Azure. It works perfectly fine when I try to do so using storage account access key. However, fails when  use a SAS token. I generated the SAS token the with the following PowerShell script:
    $storageContext = New-AzureStorageContext -StorageAccountName "myAccount" -StorageAccountKey "<account key>"
$permission = "rwdl"
$sasToken = New-AzureStorageContainerSASToken  -Name "myContainer" -Policy "testPolicy" -Context $storageContext >>sastoken.txt
"

I get the following result:
?sv=2017-04-17&sr=c&si=testPolicy&sig=dbS680%2FXgPp4o%2BQCCzpYzGZszCnDHVjCkdHZRf6KDeg%3D

I appended the sas token with resource URI to get:
https://myAccount.blob.core.windows.net/myContainer?sv=2017-04-17&sr=c&si=testPolicy&sig=dbS680%2FXgPp4o%2BQCCzpYzGZszCnDHVjCkdHZRf6KDeg%3D

and ran the following CLI command:
az storage blob list --container-name myContainer --account-name myAccount --auth-mode key --debug --sas-token "https://myAccount.blob.core.windows.net/myContainer?sv=2017-04-17&sr=c&si=testPolicy&sig=dbS680%2FXgPp4o%2BQCCzpYzGZszCnDHVjCkdHZRf6KDeg%3D" >> bloblist.txt

I get the following error:

azure.multiapi.storage.v2018_03_28.common.storageclient :
Client-Request-ID=0f7a 7762-3729-11e9-8b32-ffc4c9592d0a Retry policy
did not allow for a retry: Server- Timestamp=Sat, 23 Feb 2019 05:08:30
GMT, Server-Request-ID=21f07a6a-f01e-00e9-32 35-cb7d5c000000, HTTP
status code=403, Exception=Server failed to authenticate t he request.
Make sure the value of Authorization header is formed correctly incl
uding the signature. ErrorCode: AuthenticationFailedAuthenticationFailedServer failed to auth enticate the request. Make sure the value of
Authorization header is formed corr ectly including the
signature.RequestId:21f07a6a-f01e-00e9-3235-cb7d5c000000Time
:2019-02-23T05:08:30.7149353ZSignature
size  is invalid.

You do not have the required permissions needed to perform this operation.
Depending on your operation, you may need to be assigned one of the following ro
les:
"Storage Blob Data Contributor (Preview)"
"Storage Blob Data Reader (Preview)"
"Storage Queue Data Contributor (Preview)"
"Storage Queue Data Reader (Preview)"

If you want to use the old authentication method and allow querying for the righ
t account key, please use the "--auth-mode" parameter and "key" value.

Event: CommandInvoker.OnFilterResult [] 'CommandResultItem' object is
not iterable Traceback (most recent call last):   File
"C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-r8nye8gm\knack\knack\cl
i.py", line 212, in invoke   File
"C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-r8nye8gm\knack\knack\ou
tput.py", line 132, in out   File
"C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-r8nye8gm\knack\knack\ou
tput.py", line 38, in format_json TypeError: 'CommandResultItem'
object is not iterable telemetry.save : Save telemetry record of
length 2499 in cache

I have tried generating a storage account level SAS portal, but didnt find any luck.
Please help!

@pink95 Can you please provide us with the URL of the Azure Doc you are having issues with? We look forward to your reply.

@pink95 Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


Update README.md

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/retest

/test all

Codecov Report

Merging #7 (ffdd197) into master (09b2ee2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #7   +/-   ##
=======================================
  Coverage   53.31%   53.31%
=======================================
  Files         295      295
  Lines       21347    21347
=======================================
  Hits        11382    11382
  Misses       8738     8738
  Partials     1227     1227

:mega: We’re building smart automated test selection to slash your CI/CD build times.


fs Cache Engine

Title is self-explanatory. This is a discussion issue about the fs Cache Engine, which is yet to be completed.
Current plan is to essentially copy the filesystem cache used in the Official v2.x clients, with minor tweaks to match the existing ImageEntry datastructure (instead of serializing JSON bytes).

As it turns out, the sqlite implementation in Rust is not thread safe, so the plan to re-implement the Official client's implementation has gone down the drain. However, there is another solution: Using the cacache crate for caching.
It contains all of the elements we need: Thread-safe reading/writing, async, and a metadata system we can use for eviction.

Ok ok, new plan: Instead of using cacache for performance reasons (almost 100ms GETs), I write my own library for storing data. Sounds ridiculous right? Well, I already did it.
There are still some features that are yet to be implemented in the project, but once it is fully developed it will be the main fs cache engine.


Theme tabs

Summary
As an engineer, in order to theme the tabs component, I want a couple more css variables available
Additional Details
The specific new piece added is a before content in order to control the blue stripe at the top. Typically we do this with the background-image and set the size. However this doesn't work in our specific theme case because we need to be able to set the background image to a linear gradient thats transparent. Since we can't use it for both, the before content is an optional way to do it.
I left the existing way in there for passivity.
Thanks for contributing to Terra.
@cerner/terra

will add some wdio tests for new theme variables if this approach is fine

@bjankord I added some test cases. I also added in some more selectors and css to target hover for active tabs specifically. With the way terra-tabs css currently work the hover affect is applied to both active and non active


Patch top hits aggregation

https://github.com/ongr-io/ElasticsearchDSL/blob/master/docs/Aggregation/TopHits.md was not showing the "_source" field.
Added parameters to be included to the aggregation.

fixed in https://github.com/ongr-io/ElasticsearchDSL/commit/ac9a2d0ae66d99f5e3e847243427ac60c83494d1


Animation for tab selection doesn't trigger in right pane

Atom version 1.5.3
atom-material-ui version: 0.8.1

Split pane to the right.
Add multiple tabs to the right pane.
Click the tabs in the right pane (they do not show the animation), even though the left pane's tabs properly show the animation.

Nice catch. Thanks!


v1 cleanups and fixes

At the moment this plugin is alpha quality and mostly doesn't work. This PR cleans things up so it's ready for a v1 release.
Closes #1, #2 and #3

[x] Fix up Ruby and generalise the job file name pattern matching
[x] Ruby tests
[x] BATS tests for the command hook

Waiting for buildkite-plugins/buildkite-plugin-linter#2 to land before merging and releasing


not updating IRC channel topic when a user goes afk

When a user goes AFK, the channel topic does not update to include the AFK player

fixed in commit cac6d4be5c4f6a4207a96bb1bba6ceb2c6aa7012


(bug)

Observed behavior
I am trying to fetch a json flag, but the retriever is fetching the flag as a yaml and not a json.
error:
2022/11/01 20:50:40 error: impossible to update the cache of the flags: yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `` into float64`

Flag setup:
	err = ffclient.Init(ffclient.Config{
		PollingInterval: 3 * time.Second,
		Retriever: &httpretriever.Retriever{
			URL: "http://localhost:4100/feature_flags.json",
		},
	})

JSON at endpoint:
{
  "organizationSettings": {
    "default": "",
    "disable": false,
    "false": "",
    "percentage": 100,
    "rule": "",
    "trackEvents": false,
    "true": "",
    "version": ""
  },
  "publishCompanyUpserts": {
    "default": "",
    "disable": false,
    "false": "",
    "percentage": 100,
    "rule": "",
    "trackEvents": false,
    "true": "",
    "version": ""
  }
}

Expected Behavior
I expect the flag to be retrieved from the endpoint without an error.
Steps to reproduce
No response

Hello @OnigiriJack,
thanks for raising this issue, this is an expected behavior, if you don't specify the fileFormat in your Init it will use YAML as default.
You can check the field FileFormat in this doc: https://docs.gofeatureflag.org/docs/configuration#configuration-fields

Format of your configuration file. Available formats are yaml, toml and json, if you omit the field it will try to unmarshal the file as a yaml file.

In your case to make it work you should do it this way.
        err = ffclient.Init(ffclient.Config{
		PollingInterval: 3 * time.Second,
		Retriever: &httpretriever.Retriever{
			URL: "http://localhost:4100/feature_flags.json",
		},
		FileFormat: "json",
	})

I think we can do better than that in the future by detecting the extension, but this is not a behavior we support now.


:art: Add fade animation to cards

If applied will add a new animation to selected/hovered cards in the cesium.link website.

Following the much appreciated feedback the button animation was changed. Transitions are back to .15s and background color is back to white.
As suggested, border and text color are now orange to be more in line with the brand, the new animation makes the orange color slide through the button as the color changes, disappearing right after.


Fix module import issue on modules with the same name but from different orgs

Purpose
$title.
Fixes #19927
Approach

check org name before assigning version info.

Samples
n/a
Remarks
#19927
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #20261   +/-   ##
=======================================
  Coverage   15.21%   15.21%
=======================================
  Files          50       50
  Lines        1341     1341
  Branches      208      208
=======================================
  Hits          204      204
  Misses       1121     1121
  Partials       16       16

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 0f3026a...bb00fdc. Read the comment docs.


Research Issue: Is JSONPointer a subset of JSONPath?

Discussed in today's meeting: if there is significant implementer interest in using JSONPointer instead of JSONPath and making the latter an optional feature, interop would require all JSONPath implementations treating JSONPointer inputs the same way (i.e. having a deterministic translation, which might require slightly constrained usage to avoid ambiguities like this one or this one.

Discussed on today's meeting:

JSONPath uses "function extensions" (incl regex), which account for most of the security surface

remove "func ext" in the future and move all variability and expressivity to the JSON Schema filtering (via logical operators)? that might be a major-version/breaking change tho
"match" in JSON Schema might also be too insecure for some people... more likely to impact current implementations to remove it, tho
PSubm objects maybe don't need filtering in the meantime, because wallet/agent can express everything as an absolute path
implementation guide could warn people NOT to use them (can't ban them until next major version)

JSONPointer would work for PS but not PD (need to know paths in advance)

Niels will elaborate a bit here and then test-balloon these proposals with OIDC4VP implementers

Add Security section for the 2.1 with SHOULDs?


Add v_frameshift, j_frameshift and d_frame fields.

I received a request from @jianye00 (IgBLAST developer) to add a reversed field name for a boolean to specify whether the observed V segment contains an internal frameshift, due to indel mutations or alignment against a defective pseudogene. They plan to add this field to the IgBLAST V-(D)-J rearrangement summary table.
This differs from vj_in_frame, which considers whether the V and J are in the same frame, but not whether the query V segment is in frame with its germline reference sequence.
In the spirit of completeness, I also added a boolean for J frameshifts and a numerical field for the D reading frame. The additions are:
v_frameshift:
    type: boolean
    description: >
        True if the V gene in the query nucleotide sequence contains a translational
        frameshift relative to the frame of the V gene reference sequence.
j_frameshift:
    type: boolean
    description: >
        True if the J gene in the query nucleotide sequence contains a translational
        frameshift relative to the frame of the J gene reference sequence.
d_frame:
    type: integer
    description: >
        Numerical reading frame (1, 2, 3) of the first or only D gene in the query nucleotide sequence,
        where frame 1 is relative to the first codon of D gene reference sequence.
d2_frame:
    type: integer
    description: >
        Numerical reading frame (1, 2, 3) of the second D gene in the query nucleotide sequence,
        where frame 1 is relative to the first codon of D gene reference sequence.

Are there any concerns with adding these fields to v1.4 and/or problems with the definitions?

I am in general ok with adding these fields, however there are two things that should be clarified:

Is an "internal frameshift" only a frameshift that is maintained until the end of the segment (e.g. start in frame 1, end in frame 2) or would this also apply to shifts that are balanced again (e.g. start in frame 1, shift to frame 2, shift back to 1)?
Is the "1,2,3" numbering in line with other frame numberings we have? There are multiple ways to designate them so it should be consistent.

Good question about the balanced frameshift. I'm inclined to say this would apply. The use case seems to be another sort of "productivity" flag to identify sequences that may have a non-stop defect.
As I know, we don't have any frame specifications in the spec currently.  Is there something in the germline standard for this already? Do we want to establish a controlled vocabulary for this now?

Pinging @williamdlees.

The germline schema uses a 1,2,3 designation in a related manner. I think referring to the first, second and third bases of a codon is customary.
William
codon_frame:
type: [1,2,3]
description: Codon position of the first sequence symbol in the Coding Sequence. Mandatory for J genes. Not used for V or D genes. ('1' means the sequence is in-frame, '2' means that the first bp is missing from the first codon, '3' means that the first 2 bp are missing)
label: Codon Frame

You can definitely have an internal coding frame shift that is later restored to normal frame.  But it is difficult to define its effect on the Ig functionality depending on which part is affected and how long the shift length is.  What I have in mind, at least for igblast use case, is a simpler definition.  It will be labeled frame shift in V gene if the frame shift is still there at the end of FWR3.  This means the highly conserved Cys is not in the coding frame for almost all germlines which likely disrupts the Ig function.
Jian
On Monday, August 31, 2020, 11:15:25 AM EDT, Christian Busse<EMAIL_ADDRESS>wrote:
I am in general ok with adding these fields, however there are two things that should be clarified:
1. Is an "internal frameshift" only a frameshift that is maintained until the end of the segment (e.g. start in frame 1, end in frame 2) or would this also apply to shifts that are balanced again (e.g. start in frame 1, shift to frame 2, shift back to 1)?
    2. Is the "1,2,3" numbering in line with other frame numberings we have? There are multiple ways to designate them so it should be consistent.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe
.

From the call:

I added a Frameshifts sections the Definition Clarifications and propagated the fields into the OpenAPI V3 spec.
I think this is ready to go.


Removes bold text and line breaks

Fixes #1121
Removes bold text and line breaks from featured speakers section.
Screenshot :

Demo link :
https://geekyd.github.io/eventApplication/
@mariobehling @aayusharora @Princu7 Please review. Thanks :)

Codecov Report

Merging #1126 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           development   #1126   +/-   ##
===========================================
  Coverage         62.6%   62.6%
===========================================
  Files                8       8
  Lines             1353    1353
  Branches           210     210
===========================================
  Hits               847     847
  Misses             506     506

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 1af532e...afc8922. Read the comment docs.


dynamicBullets: fix for when user jumps to a more distant slide + fix for wrong offse…

…t when there are less bullets than the dynamicMainBullets
there is a bug when user moves to a slide that isn't next to the current slide,
because the active bullets will move only one step instead of the true distance between the slides
also if there are less bullets than the number configured for the dynamicMainBullets, the calculation of the offset will be wrong because it will be as if there are more bullets and so the bullets will look skewed

Thanks

sure :), it's my responsibility


Scheduled messages banner

This pull request addresses the linked issue https://github.com/zulip/zulip/issues/25584 of indicating scheduled messages in conversation view.
To implement this, a new function called 'show_scheduled_message_banner()' has been added, which filters through the scheduled_messages_data and checks both the stream id and the topic of each message. If the currently open stream and topic match the scheduled message stream and topic, the text 'You have N scheduled message(s) for this conversation.' will be displayed above the typing box.
The function is called when scheduled messages are added / deleted and so will update in real time with no need to refresh the page for this to update.
Screenshot:

Hey @shameondev, thank you!
I have manually fixed the linting issues as I get the following error when I tried to commit after setting up the pre-commit hooks: 'error: cannot spawn .git/hooks/pre-commit: No such file or directory'.
However, I still need to run prettier, which doesn't seem to be working for me either, I get the following: 'ModuleNotFoundError: No module named 'pwd''.
Any advice? Cheers!

@shameondev Hi!
I have got the linting working and all of the tests are now passing. Please let me know if you have any more comments.
Cheers

Thanks for updating the PR @MMak1599. Please clean up your commit history and post again to request a review. See here for guidelines.

Hi @sahil839. I believe the commit history is now sorted. Please let me know if there is anything else you need from me. Cheers.

@MMak1599 the screenshot does not match the description in the issue which mentions the text should be below the last messages in the view and not in the compose box as seen in the screenshot. You can post the screenshots in this chat.zulip.org thread for quicker feedback.

Thanks for the update @MMak1599. Please update the commit message to follow the guidelines. Specifically, the first sentence should add with a "." and it should use imperative verb, i.e. "Add" instead of "Added".

Thanks for the update @MMak1599. Please update the commit message to follow the guidelines. Specifically, the first sentence should add with a "." and it should use imperative verb, i.e. "Add" instead of "Added".

@sahil839 I have updated this now.

@MMak1599 are you still working on this? It looks like it needs a rebase; I also posted a few comments on the implementation.

@timabbott I can update this and see this through. Just didn't hear back so wasn't sure if you had abandoned the idea

@MMak1599 , it's been some time since, this PR has been updated, Are you still working on this, or do you want me to take over ?

Closing favor of https://github.com/zulip/zulip/pull/26873, which continues this work.


Add belongs to relation along with has many and has one

One product has many variants
one product has one image
we want to be able to populate product from variants / images.
Add @BelongsTo + using dataloader

https://github.com/dryerjs/dryerjs/pull/197


Align UdpSocket with std::net::UdpSocket

Remove the bind methods and change it into a constructor
Remove bound as this is replaced by bind
Add from_socket akin to TcpStream::connect_stream
Re-synchronize all methods for setsockopt with libstd, removing some old,
adding new ones, and adding accessors.

This doesn't yet currently add UdpSocket::{connect, send, recv} as that'll likely require some work on the Windows side which I didn't want to tackle just yet. Should be easy to add in the future though!

Ah and for reference all documentation was copied from libstd

On dev!


Add a mini Project -Drum kit using Sound Effect

Title and Issue number

Close #<issue_no>

Checklist:

[] I have mentioned the issue number in my Pull Request.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md

it's a mini Project Drum kits ,,,,which is made using CSS,Html and Js and with sound effect please check it and merge it , This is my first contribution ,,,,,,,,

This has been already done

Closing as part of Hacktoberfest 2022 and now outdated.


[SPARK-5929] Pyspark: Register a pip requirements file with spark_context

https://issues.apache.org/jira/browse/SPARK-5929
Register a pip requirements file with the spark_context which will ship all defined dependencies to the workers. Functions similarly to addPyFile.

Can one of the admins verify this patch?

Stumbled across this pull request. For future reference, it was superseded by #4897 in the same JIRA ticket. Looking forward to the requirements.txt integration.


Many-to-One relation

hi , how to implement many to one ? for example between book and author can i use something like this :
 class Book {
 }

class Author{
   .......
  List<Book> books;
}

I have the same question~

You can add a Author to a Book class, and use a method to retrieve all the Books of an Author
class Book {
    Author author;
}

class Author {
    List<Book> getBooks() {
         return Book.find(Book.class, "author = ?", new String{author.getId()})
    }
}

We still do not support List books syntax, you can provide a PR to handle this if you want to

@sibeliusseraphini
1 save Author and Book by ourself manual? save Book must before save Author?
2 I add Author in the Book as your doc,but look into the db file, the column author is null,why?
3 "author.getId()",how to get  Object "author"?use "this" replace?

@LarryLGHao , I've updated my comment above, it was wrong.

First, save Author,
Assign author to Book,
Save book

Then you will have a Book with a foreign key to Author, however we still do not apply foreign constraint yet (https://www.sqlite.org/foreignkeys.html)
You can check your database structure using this steps:

adb shell
run-as com.example (your package)
cat /data/database.db > /sdcard/database.db
adb pull /sdcard/database.db .

then you can use a tool like sqlitebrowser

@sibeliusseraphini Thanks a lot~

You're welcome


amount of qtum in conflicted transaction  is gone and never get back.

I sent 1 qtum to another address by qtum-cli. But It did not came.
So after around 2 month, I run qtum-qy and I could see below log.
It shows the transaction conflicted.
I wonder why the qtum that used for transaction did not came to me and anywhere else.
If the transaction conflict then, is it gone forever ????
How can I get back my qtum????
Status: conflicted with a transaction with 34901 confirmations
Date: 20. 9. 28. 15:41
To: QifeXnLFATei6m7w7kBAwVhHvMz8sXe17Z
Debit: -1.00000000 QTUM
Transaction fee: -0.00083454 QTUM
Net amount: -1.00083454 QTUM
Transaction ID: 694ce90025c4580eaca62d53c5a06c1363ed57582b13e94872bba74da1bf1cd4
Transaction total size: 191 bytes
Transaction virtual size: 191 bytes
Output index: 1

Hello munakaya,
Assuming you were using wallet version 0.19.1 on September 28, the blockchain doesn't show that transaction ID or a send transaction on that date.
Please try this. After making a good backup of your wallet, run the "zapwallettxes=2" command on startup. This blog shows the steps (for Windows, others available). Just do Recovery part 2, C, C2 for starting qtumd with the zapwallettxes command.
https://blog.qtum.org/hard-fork-special-windows-2c8febdbcd43
Does this work for you?

yes, it is fixed. thank you a lot.

Very good. Take care.

Closing as this seems to be answered


When Reopening a Project, no dynamic widgets available.

The GUI attaches the correct visualizations but no response from the backend of the evaluated json.

The simple workflow above works when being built but fails when reopened.

It looks like GUI is not sending executionContext/executeExpression request  on startup for the visualization in question. It is also not sending it afterwards. So this is a regression in GUI I think.

We do not send executionContext/executeExpression because we send attachVisualization instead.

@farmaazon My bad, sorry about that. We will continue looking into it.


Update array_right_rotation.cpp

Description of Change

Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

your contribution is quite a new type of implementation. Please rename and contribute as a new file according to the contribution guidelines. Ensure that all the checklist items are followed. Review the contribution guidelines as there is a lot of documentation provided for your convenience.


chore(s3): reduce false positive in s3 public check

Context
Fixes #4257
Not checking conditions in policy statements
Description
Add new policy function to check policy conditions and improve checks using this functions. Everything added have been tested properly.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Just tried it out, it works for some bucket policies but not others - this looks like it is due to the case of your no_public_conditions, as the value in policy is not case-sensitive, causing some that were manually created to fail.
Fail:
            "Condition": {                 "StringEquals": {                     "aws:sourcevpc": "vpc-12334"
Pass:
            "Condition": {                 "StringEquals": {                     "aws:SourceVpc": "vpc-12334"

Just tried it out, it works for some bucket policies but not others - this looks like it is due to the case of your no_public_conditions, as the value in policy is not case-sensitive, causing some that were manually created to fail. Fail:  "Condition": { "StringEquals": { "aws:sourcevpc": "vpc-12334" Pass:  "Condition": { "StringEquals": { "aws:SourceVpc": "vpc-12334"

Great catch, we need to do the match that way, please @puchy22 change it and add some tests to cover that.

@puchy22 where did you get the no_public_conditions from?


Update 2024-08-22-newcomers-meeting.md

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

@vishalvivekm @Ashparshp

🚀 Preview for commit b0b818ab1c264bd85463a1530facb555b146888a at: https://66c741a926803829a08e0c3d--meshery-docs-preview.netlify.app


Reuse the previous route instance

In my scenario, I have an index route that displays item list, and a detail route to show detail info for each item.
The content of the index route is rarely changed, but I have to pay a cost (~100ms) to make it visible. Each time I view the content of the detail route, then navigate back to the index route, the transition is not quite smooth. Looking at the performance timeline, I notice the index route instance is destroyed and reconstructed again for each roundtrip, so it's not effective, especially when that route contains a bunch of child components.
Is there any possible way to make the router be able to cache the prev route instance, and then reuse it again when user navigates back?

This is how preact worked in previous versions, but there are too many issues arising from caching DOM - most importantly, it's quite bad for memory management (images & videos never getting GC'd, etc).


Progress bar creates a crash on rich py lib

Hello :)
I tried the 2.2.2 (or 2.2.3) on W10 and py 3.10.5 and seems like progress bar crashes after the ffmpeg command:
Running the following commands:
ffmpeg -y -drc_scale 0 -i [input] -c:a:0 pcm_s24le -rf64 always [output] && dee -x [input]

Traceback (most recent call last):
  File "G:\Mon Drive\Encoding\Tools\deew\deew.py", line 766, in <module>
    main()
  File "G:\Mon Drive\Encoding\Tools\deew\deew.py", line 710, in main
    with pb:
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 1079, in __exit__
    self.stop()
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 1065, in stop
    self.live.stop()
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\live.py", line 142, in stop
    self.refresh()
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\live.py", line 213, in refresh
    self._live_render.set_renderable(self.renderable)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\live.py", line 195, in renderable
    renderable = self.get_renderable()
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\live.py", line 98, in get_renderable
    self._get_renderable()
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 1437, in get_renderable
    renderable = Group(*self.get_renderables())
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 1442, in get_renderables
    table = self.make_tasks_table(self.tasks)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 1466, in make_tasks_table
    table.add_row(
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 1471, in <genexpr>
    else column(task)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 518, in __call__
    renderable = self.render(task)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 654, in render
    total=max(0, task.total),
TypeError: '>' not supported between instances of 'NoneType' and 'int'

When I comment pb code parts it works great, without progress bar then ;)
I tried to fix with pip3 install rich[jupyter] but it doesn't do anything.
Regards.

try pip install rich --upgrade

try pip install rich --upgrade

I had rich-12.1.0 version.
Now on rich-12.5.1 it's working great.
Thanks for the reactivity I upgraded everything except rich lib :(
Thank you !


Unhandled method stops language server

I'm using lua-language-server together with Monaco editor in the browser via a websocket connection. Everything was working with some older binaries. Now I'm trying to use the latest binary for linux from the current release.
Monaco sends a workspace/configuration message which isn't known to  the language server.
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "workspace/configuration",
  "params": {
    "items": [
      {
        "section": "Lua"
      },
      {
        "section": "files.associations"
      },
      {
        "section": "files.exclude"
      },
      {
        "section": "editor.semanticHighlighting.enabled"
      },
      {
        "section": "editor.acceptSuggestionOnEnter"
      }
    ]
  }
}

In the previous version this error was only sent as a response to the browser, but the language server kept working (therefore I didn't even notice it).
{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32601,
    "message": "Unhandled method workspace/configuration"
  }
}

Now the language server crashes due to an assert in lua.
[14:28:40.953][error][#0:script/await.lua:35]: script/proto/proto.lua:56: assertion failed!
stack traceback:
	[C]: in function 'assert'
	script/proto/proto.lua:56: in function 'proto.proto.response'
	script/proto/proto.lua:179: in local 'f'
	script/utility.lua:436: in metamethod 'close'
	script/proto/proto.lua:186: in function <script/proto/proto.lua:159>
stack traceback:
	script/await.lua:35: in function 'await.checkResult'
	(...tail calls...)
	script/await.lua:213: in function 'await.step'
	script/service/service.lua:170: in local 'doSomething'
	script/service/service.lua:189: in function 'service.eventLoop'
	script/service/service.lua:274: in function 'service.start'
	...co-lua-example/server/lua-language-server/linux/main.lua:79: in main chunk
	...ua-example/server/lua-language-server/linux/bin/main.lua:85: in main chunk
	[C]: in ?

I'm not sure if I can configure monaco to not send the workspace/configuration message. Is there anyway to ignore undhandled methods without crashing the language server?

Ah I just realized that its the other way round, the language server is sending workspace/configuration and monaco throws the error. In the previews language server version I was using this error from monaco was ignored and now it is crashing. So I guess I have to define/mock the workspace/configuration in monaco.

This assert is used for rpc.
It means the client responsed with wrong rpc id, maybe it reponsed multi times.

Yes you're right, the error went away after I restarted everything.
I still can't get any completion working with new version. The language server just responds with "result": "null" to everything.
This is the complete log:
[15:16:58.988][info] [#0:/home/arno/dev/monaco-lua-example/server/lua-language-server/linux/main.lua:66]: Lua Lsp startup, root: 	/home/arno/dev/monaco-lua-example/server/lua-language-server/linux
[15:16:58.988][info] [#0:/home/arno/dev/monaco-lua-example/server/lua-language-server/linux/main.lua:67]: ROOT:	/home/arno/dev/monaco-lua-example/server/lua-language-server/linux
[15:16:58.989][info] [#0:/home/arno/dev/monaco-lua-example/server/lua-language-server/linux/main.lua:68]: LOGPATH:	/home/arno/dev/monaco-lua-example/server/lua-language-server/linux/log
[15:16:58.989][info] [#0:/home/arno/dev/monaco-lua-example/server/lua-language-server/linux/main.lua:69]: METAPATH:	/home/arno/dev/monaco-lua-example/server/lua-language-server/linux/meta
[15:16:58.989][info] [#0:/home/arno/dev/monaco-lua-example/server/lua-language-server/linux/main.lua:70]: VERSION:	3.6.4-dev
[15:16:59.118][info] [#0:script/service/service.lua:141]:
========= Medical Examination Report =========
    --------------- Memory ---------------
        Total: 1.562 MB
        # 00 : 1.562 MB
        # 01 : 0.000 MB
        # 02 : 0.000 MB
        # 03 : 0.000 MB
        # 04 : 0.000 MB
    --------------- Coroutine ---------------
        Total:     0
        Running:   0
        Suspended: 0
        Normal:    0
        Dead:      0
    --------------- Cache ---------------
        Total: 1
        Dead:  0
    ---------------  RPC  ---------------
        Holdon:   0
        Waiting:  0
==============================================
[15:16:59.132][info] [#0:script/language.lua:137]: VSC language: en-US
[15:16:59.132][info] [#0:script/language.lua:138]: LS  language: en-us
[15:16:59.340][warn] [#0:script/proto/proto.lua:104]: Response of [workspace/configuration] error [-32601]: Unhandled method workspace/configuration
[15:16:59.340][warn] [#0:script/config/loader.lua:116]: No config?	nil
[15:16:59.340][info] [#0:script/provider/provider.lua:56]: Load config from client	fallback
[15:16:59.340][info] [#0:script/provider/provider.lua:57]: nil
[15:16:59.340][info] [#0:script/library.lua:209]: Init builtin library at:	nil
[15:16:59.377][info] [#0:script/provider/completion.lua:43]: Enable completion.
[15:16:59.478][info] [#0:script/workspace/workspace.lua:304]: Preload start:	<fallback>
[15:16:59.480][info] [#0:script/workspace/workspace.lua:327]: Scan library at:	file:///home/arno/dev/monaco-lua-example/server/lua-language-server/linux/meta/Lua%205.4%20en-us%20utf8
[15:16:59.582][info] [#0:script/workspace/workspace.lua:347]: Found 11 files at:	<fallback>
[15:16:59.583][info] [#0:script/workspace/loading.lua:157]: Load files from disk:	<fallback>
[15:16:59.850][info] [#0:script/workspace/loading.lua:169]: Loaded files takes [0.071] sec: <fallback>
[15:16:59.851][info] [#0:script/workspace/loading.lua:178]: Compile files takes [0.001] sec: <fallback>
[15:16:59.851][info] [#0:script/workspace/loading.lua:179]: Loaded finish:	<fallback>
[15:16:59.851][info] [#0:script/workspace/workspace.lua:349]: Preload finish at:	<fallback>

This is propably not an issue with your library but with my setup, so feel free to close the issue if you don't have time to investigate this!

Should not crash due to wrong but recoverable RPC.


How are attachments submitted by users via the web checked for spam?

Users can submit attachments in two ways:

Email
Web

When they're using the web interface to attach files, is django-helpdesk checking for viruses or spam or malicious content? If not, is there some way to route this submission through the email? Because through email (We use Gmail for our emails), Gmail will scan the attachments

django-helpdesk on its own does not do any type of scanning. For spam, you can optionally enable akismet support for detecting spam, check the documentation for more details. I don't personally use it, so if you give it a try and find any problems let us know. That said, I believe akismet will only scan the text of comments. To my knowledge it still won't scan the actual attachments.
One option is to have your ticket mail sent to a Gmail account so Google does the spam/virus checking for you, and then setup django-helpdesk to use IMAP to pull email from the Gmail account.

Oh, yeah, askismet is already enabled. Cool, I'll route web submissions through gmail! Thanks!

Cool! I will close the ticket for tidyness, but please let me know if you run into trouble and I can try to help.

Will do, thank you for all the help!


Color issues

Colour information seems to be lost in the process
Example
import pcl
import numpy as np

points = np.array([[1,1,1, 10, 20, 30]] * 10)
pc = pcl.PointCloudXYZRGB(points.astype(np.float32))
pc[0]

Output
Out: (1.0, 1.0, 1.0, 33.0, 65.0, 224.0)

Expected
Out: (1.0, 1.0, 1.0, 10.0, 30.0, 30.0)

Fixed!