[macCatalyst] Support generating macCatalyst object files

This implements the missing support for macCatalyst in the open source version of Swift. It seems that years ago, the minimal support for macCatalyst was included in #29017, but except some fixes over the years, the work seemed to be blocked there, waiting for LLVM/Clang support that had not landed by the time and the open source toolchain cannot target macCatalyst.

Implement code to access to _stdlib_isOSVersionAtLeastOrVariantVersionAtLeast from the stdlib.
Implement code to choose isOSVersionAtLeast or isOSVersionAtLeastOrVariantVersionAtLeast depending on the command line being provided a target variant.
When an availability statement need to be emitted, pass the target variant version range in order to generate the right stdlib call.
Implement isOSVersionAtLeastOrVariantVersionAtLeast using the variant version information and forwarding both checks to isOSVersionAtLeast.
Set the LLVM Module with the target variant information, so the code is generated correctly.
Similar code for when the Clang importer is used.
Modify a test that, when used precompiled modules from Xcode, uses code compiled for macCatalyst and uses the isOSVersionAtLeastOrVariantVersionAtLeast instead of the previously expected isOSVersionAtLeast. Another option is using prefer-parseable, which uses the "expected" stdlib function.
Modify a test that was checking for availability in a fixed order even when the parameters in the command line were flipped. This test was probably never run in open source CI because it requires maccatalyst_support, which was not possible without these changes.

@swift-ci please test

For the people at Apple: I am pretty sure this code exists internally because Xcode is quite capable to compile Swift macCatalyst. I will be happy to abandon this PR if the internal code is contributed to the open source implementation, since it will avoid internal classes if this code ever lands in the repository. These are the changes I needed to get things working as I think they should work when using --maccatalyst in the build-script, but there's probably some code internally that I am missing, or the implementation could be better. Happy to help to open source those bits in whatever I can.

This implements the missing support for macCatalyst in the open source version of Swift. It seems that years ago, the minimal support for macCatalyst was included in #29017, but except some fixes over the years, the work seemed to be blocked there, waiting for LLVM/Clang support that had not landed by the time and the open source toolchain cannot target macCatalyst.

I dug into this a bit and found that this is still blocked in general on several missing pieces in llvm/clang.

Implement isOSVersionAtLeastOrVariantVersionAtLeast using the variant version information and forwarding both checks to isOSVersionAtLeast.

In particular, this part of the PR doesn't produce correct behavior. isOSVersionAtLeastOrVariantVersionAtLeast needs to call a (currently unavailable) runtime function provided by compiler-rt that takes all 6 version arguments instead.
Finding a resolution to this will remain on my todo list but unfortunately it's going to nontrivial effort to get it to parity and I may need help on the clang side. @drodriguez which pieces of missing macCatalyst support are blocking you the most? Maybe we can fill in some of the simpler pieces to get you unblocked sooner, while not immediately supporting runtime availability checks correctly.

In particular, this part of the PR doesn't produce correct behavior. isOSVersionAtLeastOrVariantVersionAtLeast needs to call a (currently unavailable) runtime function provided by compiler-rt that takes all 6 version arguments instead.

I was quite sure that the implementation couldn't be that simple. I was just trying to reconstruct the function from the pieces that were already there. It is not the highest priority to have it in a working state, but obviously it would be great to have the actual implementation available.

@drodriguez which pieces of missing macCatalyst support are blocking you the most? Maybe we can fill in some of the simpler pieces to get you unblocked sooner, while not immediately supporting runtime availability checks correctly.

That would be great. I think the pieces in IRGen are the biggest missing pieces. Those are the ones I started with, but that led to a test breakage around isOSVersionAtLeastOrVariantVersionAtLeast, which I tried to fix, which led to the rest of the changes. If you can upstream those pieces in IRGen and maybe XFAIL the tests that relate to to the missing availability support, I think that would cover a lot.
I was looking at trying to implement what Egor ended up doing independently in #74994, and found out that the open source toolchain did not seem to support macCatalyst, so I was trying to fill the gaps. We have some interest in trying somethings out in macCatalyst, but without a working compiler we can target at macCatalyst it was not possible.

Here's a PR adding the majority of the missing support: https://github.com/swiftlang/swift/pull/75432

Thanks so much for all that work. I hope it at least reduces a little the internal patchset over at Apple.
Glad I was close in some cases and glad to see the actual code, because in many cases I would have break things so badly (funny that there actually was a _stdlib_isVariantOSVersionAtLeast and my laziness ended up using IsVariantOSVersionAtLeastDecl instead of the longer IsOSVersionAtLeastOrVariantVersionAtLeast).
Closing this one.


[New Doc 📑]:  create EDA architecture diagram for Docs Overview page

What Dev Docs changes are you proposing?
As part of the work towards the Docs issue of designing a NEW Docs /Overview landing page, we would like to include an EDA architecture diagram above the fold. (This proposal originally came from https://github.com/asyncapi/website/issues/503.)
While @mcturco has been amazing enough to confirm excitement in this proposal and in contributing towards the design part, we both agree we need a deeper engineering perspective from the broader community to determine what that diagram should include.
Tagging some more contributors we'd love to hear from for this: @fmvilas @smoya @derberg @jonaslagoni @boyney123

[ ] Collect community engineering feedback for EDA diagram
[ ] Team w/ design contributor(s)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey @alequetzalli ,
I like the idea 💯
What kind of diagram would you be looking for? EDA diagram with links to AsyncAPI on it, or just a general EDA diagram for now?
I assumed maybe a general EDA diagram for now considering where this will be in the docs (intro/welcome page), guess it's good to start at the high level before going into AsyncAPI etc etc....
Or maybe even a couple?

EDA general diagram
How AsyncAPI fits into the EDA general diagram

@boyney123 that's a great idea to have a "before AsyncAPI" diagram that explains EDAs in general and then to have a second diagram that is a "using AsyncAPI" visual on how the spec fits into that process 🎉   I think that could possibly squash a lot of the initial confusion of what AsyncAPI is and why it is better to use the spec in your EDA process. (This is just what I have digested over the past couple months of learning AsyncAPI, so correct me if I am wrong in my explanation 😄 )
What do you think @alequetzalli??
Would also love to get some feedback from more contributors anyways before we make a decision, but I think this is a great first bit of feedback 🙌

@mcturco @boyney123 Thank you dave for starting off the convo!! I really like your ideas and I feel like you really got it. I completely agree with you that it should be basic and not scare people away 🤣
Missy, I like the idea of showing what it's like to apply asyncAPI... tbh, I feel less confident in this area so I am hoping to hear more opinions and learn what others think about it. 🙃✌🏽 Question, I notice we seem to be talking about having to diagrams… Are you thinking about adding two diagrams to the overview page or how do you think it could be useful? 🤔

@alequetzalli Absolutely!! So I think we can get clever with the "2 diagrams" thing and it could maybe be a GIF animation or SVG animation if we make the visuals simple enough! But definitely would love to hear what others think first

Ooooh, an animated svg diagram! Daaaamn, that sounds both fancy and useful! I want to upvote this idea
😄👍🏽👍🏽👍🏽👍🏽👍🏽

Showing the two diagrams in one space gave me the idea of doing this: https://codesandbox.io/s/react-image-comparison-evpeu.

Copying this from slack so it can stay in our discussion :)
from: @boyney123
This is quite interesting (thanks @Fran Méndez sharing)
This diagram is quite interesting (although quite technical), but it actually helps me understand messages, channels, routing, and endpoints....
Wonder if this kind of diagram (simplified ofc) could help people understand AsyncAPI spec (our channels, messages etc etc).
cc: @Missy Turco
Diagram I'm talking about
https://www.enterpriseintegrationpatterns.com/patterns/messaging/

Copying this from slack so it can stay in our discussion :)
from: @boyney123 This is quite interesting (thanks @fran Méndez sharing) This diagram is quite interesting (although quite technical), but it actually helps me understand messages, channels, routing, and endpoints.... Wonder if this kind of diagram (simplified ofc) could help people understand AsyncAPI spec (our channels, messages etc etc).  https://www.enterpriseintegrationpatterns.com/patterns/messaging/

I love this!

/gfi docs


WIP Use site_url for route-based RedirectResponse

Description
base_url does not actually add the base path if the given URL is absolute (i.e., starts with a slash) and does not add the indexPage. Both is necessary for the redirect response to work correctly in case of routes. site_url handles this correctly.
Fixes #2119
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPdocs
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@lonnieezell I believe this was addressed by your URL function rework. Can you confirm?

@MGatner This was not fixed and i think the change makes sense here, as base_url would not include the settings of $indexPage, which it definitely should.

Great. I think this is good then but it breaks the default redirect response test because by default the index page is included (which is not reflected in the assertion). Easy fix if @yol is around.

Hey, sorry I kind of lost track. So the PR is still good? But the "default" redirect response is broken? Can you clarify what you mean by default?

Basically, in tests/system/HTTP/RedirectResponseTest.php around line 61, you should change the expected response from "http://example.com/exampleRoute" to "http://example.com/index.php/exampleRoute"
Ref. https://travis-ci.org/codeigniter4/CodeIgniter4/jobs/623289981#L586

Fixed in #2496


Diagram for the Events related user workflows

As reflected by the team, user workflow diagram would offer extra clarity in addition to or before we create detailed design in Figma.
AC:

[ ] Review the Events-related process maps and sync with Zoey
[ ] Create Events-related user workflow diagram
[ ] Gather and address feedback
[ ] Fine tune the design in Figma to align with the user workflow diagram

Hi @hannavovk (cc: @zoeyli-46) - This ticket is created as discussed. Feel free to review or refine as you see fit.


added CollectionOfZeroOrOne option

Added Dave Abraham's suggestion for a CollectionOfZeroOrOne struct

The base proposal has already been accepted.


Add files via upload

Description

Response always has a "Date" Header. Retrieve that Data if "Location" isn't available
Add Function to Download File from Appliance

Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[x] All tests pass for go 1.11 + gofmt checks.

[ ] New functionality has been documented in the README if applicable.

[ ] New functionality has been thoroughly documented in the examples (please include helpful comments).

[ ] Changes are documented in the CHANGELOG.

Hi PGHPE.,
Thanks for your contribution. We will take this up with our next release.

This is already fixed in master now.


/call endpoint

Fixes # .
Motivation

Solution

Open questions

If Heimdall is stuck, please click the following link: https://heimdall-public.cbhq.net/v1/pull_request/stuck?pr_number=55&repository=coinbase/rosetta-specifications


Improvement: Add method to IFlexible/AbstractFlexibleItem which is invoked by the adapter when RecyclerView.Adapter.onViewAttachedToWindow() is called

When RecyclerView.Adapter.onViewAttachedToWindow() is invoked, it's guaranteed that the view was actually attached to the Window and most likely shown to the user. And correspondingly when onViewDetachedFromWindow() we know for sure that the user can no longer see the View.
There are some cases where we want to take action for individual items when these events happen  - (e.g) stop playing GIFs/videos so that they don't continue playing unnecessarily while the View is offscreen (this happens when using Glide).
Could you please add some callbacks to IFlexible that are called when these adapter methods are called?

@sandeep-voxer, what's the difference with unbindViewHolder() already in IFlexible?

bind/unbind don't indicate that the View/Viewholder were scrolled in/out of
the RecyclerView - they are called when the view needs to be created and
bound. RecyclerView precreates and binds some adapter positions even if
they will not be shown.
On Dec 7, 2017 04:34, "Davide Steduto"<EMAIL_ADDRESS>wrote:

@sandeep-voxer https://github.com/sandeep-voxer, what's the difference
with unbindViewHolder() already in IFlexible?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/davideas/FlexibleAdapter/issues/506#issuecomment-349954499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcisBBSYHPOBQnJlXBnggsTuXr7wBsDmks5s99tYgaJpZM4Q4ad3
.

If I understood well, you will use this callbacks only for audio/video, so they can be stopped if not visible, for images, they can stay in the view until unbound.

Yes, audio/video/GIFs or any dynamic content whose state needs to be
changed based on when they are actually become visible/invisible to the
user.
On Dec 7, 2017 15:34, "Davide Steduto"<EMAIL_ADDRESS>wrote:

If I understood well, you will use this callbacks only for audio/video, so
they can be stopped if not visible, for images, they can stay in the view
until unbound.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/davideas/FlexibleAdapter/issues/506#issuecomment-350127712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcisBKVYy4NxvAabGp-Jh5u0K1uBdetnks5s-HYLgaJpZM4Q4ad3
.

Awesome, thank you!


Update Readme

What current issue(s) does this address, or what feature is it adding?
When I first tried to clone this repo I received this error:
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

So, I changed the command to match the command style in neo-python repository.
How did you solve this problem?
Trial and Error
How did you make sure your solution works?
Tests personally
Did you add any tests?
N/A
Did you run make lint and make coverage?
N/A
Are there any special changes in the code that we should be aware of?
No

Coverage remained the same at 96.516% when pulling ecaedbf2d2558e79b568577fa7804f1307b0da8a on jseagrave21:patch-1 into e7e463d8caf21720e244d33895d544b95905058d on CityOfZion:master.

👍


Changing portrait facing flips incorrectly

Reported on the forum

If anyone want to help, the problem occur when you have a character sprite looking the other direction, and when they talk for a fraction of time they flip for a instance, and they return to their normal self

Thanks for the extra info.

More info in this forum post


default port 80/443 can't be ignored for version4.2.4

https://www.google.com/api/xxx can't be used
but
https://www.google.com:443/api/xxx is ok.

Hi @YiuTerran  Thanks for your feedback. We have fixed in v4.2.5

Hi @YiuTerran  Thanks for your feedback. We have fixed in v4.2.5


allow for list of timerpercentiles

interesting way not to break the interface, however 1/ do we want to do that ? (be that loose with types) 2/ there's no docs

Looks good to me, but needs docs, spec tests and validation of $timerpercentile

Closing due to lack of activity. Please reopen when the feedback has been addressed


Dropper bug of Modifyworld can let player have restricted items

Modifyworld rule: When players craft a restricted item, this item will drop out the inventory.
So a griefer placed a dropper under his feet, then he crafted a restricted item, the item dropped out and into the dropper.
Next, he can TAKE OUT this item without the restrict of Modifyworld!
And he can to hold this item to interact any blocks at one time.
This bug is dangerous for many cauldron servers, I hope you can fix it in time.

Have you used the PEX debug mode to ensure all of the related permissions are correctly negated?

I prefer to use essentials and worldguard for protection, but Stormbow might be right.

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


Build error on arch(manjaro) (suspected bug)

I tried to install gdofuse using manjaro's package manager (pamac gui) and all dependencies are bigger or equal to the version number of gdofuse(0.7.27)
Build error log consists as below:
"
Building google-drive-ocamlfuse...
==> Making package: google-drive-ocamlfuse 0.7.27-1 (Paz 30 Oca 2022 18:01:04)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found google-drive-ocamlfuse-0.7.27.tar.gz
==> Validating source files with sha256sums...
google-drive-ocamlfuse-0.7.27.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting google-drive-ocamlfuse-0.7.27.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
File "src/drive.ml", line 478, characters 15-31:
478 |     match file.File.resourceKey with "" -> None | _ as s -> Some s
^^^^^^^^^^^^^^^^
Error: Unbound record field File.resourceKey
==> ERROR: A failure occurred in build().
Aborting...
"
Please note me that if i have to give any additional information.

@erdurano building via opam is working
$ yay google-drive
5 aur/google-drive-nativefier 1-2 (+0 0.00)
    Electron wrapper for the Google Drive web application
4 aur/google-drive-desktop 0.91-1 (+2 0.89)
    Google Drive web-app based on qtws
3 aur/google-drive-ocamlfuse-git r635.0543cb6-1 (+5 0.00)
    FUSE-based file system backed by Google Drive, written in OCaml
**2 aur/google-drive-ocamlfuse-opam** 0.7.22-1 (+7 0.96) (Installed: 0.7.27-1)
    FUSE-based file system backed by Google Drive, written in OCaml (installed from opam)
1 aur/google-drive-ocamlfuse 0.7.27-1 (+60 0.42)
    FUSE-based file system backed by Google Drive, written in OCaml
==> Packages to install (eg: 1 2 3, 1-3 or 4)

Will try as soon as I get my hands on my laptop. Thank you

@patrickjaja it is fail on my computer, do you have any solution
┌─ The following actions failed
│ λ build ocamlbuild 0.14.1
└─
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install base-bytes        base
│ ∗ install biniou            1.2.1
│ ∗ install camlidl           1.09
│ ∗ install conf-gmp          4
│ ∗ install conf-gmp-powm-sec 3
│ ∗ install conf-libcurl      1
│ ∗ install conf-libfuse      1
│ ∗ install conf-pkg-config   2
│ ∗ install conf-sqlite3      1
│ ∗ install conf-zlib         1
│ ∗ install cppo              1.6.8
│ ∗ install cryptokit         1.16.1
│ ∗ install csexp             1.5.1
│ ∗ install dune              3.0.2
│ ∗ install dune-configurator 3.0.2
│ ∗ install easy-format       1.3.2
│ ∗ install extlib            1.7.8
│ ∗ install ocamlfind         1.9.3
│ ∗ install ocamlfuse         2.7.1-cvs7
│ ∗ install ocurl             0.9.2
│ ∗ install sqlite3           5.1.0
│ ∗ install yojson            1.7.0
│ ∗ install zarith            1.12
└─
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/var/tmp/pamac-build-forted/google-drive-ocamlfuse-opam/src/_opam/.opam-switch/backup/state-20220220130739.export"
==> ERROR: A failure occurred in build().
    Aborting...


update license and notice with akka-see license/notice

relates to #250
http-tests module is not published as a jar, so no need to worry about getting a tailored LICENSE/NOTICE included in its jar

Do we have to change/add our license headers as well?

@hseeberger Ping~

@kerr this is discussed in https://github.com/apache/incubator-pekko-http/issues/250 -- Heiko is aware of it
People may not trust me and you can ignore what I say - changing a license header is going to be more complicated than the change I have in this PR.

I agree with @pjfanning here, changing an existing header is far more problematic


Support configurable scratch-directory other than /tmp

What would you like to be added: Allow configuration to determine the path used for temporary data storage during unpacking and analysis. This is useful for very large image analysis where things like /tmp may be memfs or similar that are not good candidates for very large data volumes.
Why is this needed: Config value to define where the tool should write temporary data.
Additional context:

Closing this for now. We can re-open if we come across a need for more granular control of scratch disk space than can be accomplished with the builtin TMPDIR mechanism.


The Intune configuration steps provided in "Configure and provision Windows Hello for Business - cloud Kerberos trust" are not available in the AAD user login scenario.

When we configure cloud Kerberos trust for "Account Protection" + Custom Policy. They will be under different registry paths on the device side and will not work. UseCloudTrustForOnPremAuth under PassportForWork - Device. If we are logged in device as an AAD user, the settings configured in the "Account Protection" policy always appear under the user SID path, which makes cloud Kerberos trust ineffective.
Same for multiple test tenants.

https://github.com/MicrosoftDocs/windows-itpro-docs/blob/public/windows/security/identity-protection/hello-for-business/hello-hybrid-cloud-kerberos-trust-provision.md
https://learn.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-hybrid-cloud-kerberos-trust-provision?tabs=intune
(admin edit - adding article metadata for proper linking)

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

ID: 046ca470-8477-5ff1-7021-ad34489ed592
Version Independent ID: 046ca470-8477-5ff1-7021-ad34489ed592
Content: Windows Hello for Business cloud Kerberos trust clients configuration and enrollment
Content Source: windows/security/identity-protection/hello-for-business/hello-hybrid-cloud-kerberos-trust-provision.md
Product: windows-client
Technology: itpro-security
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Hello @RayXiao-ops and thank you for the feedback. Can you please clarify if you are targeting both policies to the same security groups? Also, are you targeting device or user groups? The article needs an update regardless, now that the policy is available in Settings catalog, I'd recommend that route.

Hi @paolomatarazzo They deploy to the same group, I've tried device groups and user groups, both are the same for "Account Protection", the settings always appear under the user SID path.

Thank you for letting me know. I will test and update the article accordingly. In the meantime, I'd suggest using the settings catalog


(PDB-1268) Add validation for benchmark parameters

This adds validation that nummsgs or runinterval is used, and adds numhosts to
the list or required parameters.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/879/

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/880/

:+1:


Issue getting Prefix to work with Luckperms

Hello I am haveing a issue adding prefix to groups using the command /lp group admin meta addprefix "Admin" . it just returns some info on the consol:
12.02 23:04:39 [Server] pool-3-thread-1/INFO Command Usage - addprefix
12.02 23:04:39 [Server] pool-3-thread-1/INFO > Adds a prefix
12.02 23:04:39 [Server] pool-3-thread-1/INFO Arguments:
12.02 23:04:39 [Server] pool-3-thread-1/INFO -  -> the priority to add the prefix at
12.02 23:04:39 [Server] pool-3-thread-1/INFO -  -> the prefix string
12.02 23:04:39 [Server] pool-3-thread-1/INFO - [server] -> the server to add the prefix on
12.02 23:04:39 [Server] pool-3-thread-1/INFO - [world] -> the world to add the prefix on
We are using the latest beta build of sponge for 1.11.2 and the latest Luckperm release. Hopefully I am just missing something or a step.

You need to specify a priority too.
https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-usergroup-usergroup-meta-addprefix

Thanks Lucko but I am still not having success with prefix showing in chat. I tried this command /lp group admin meta addprefix 1 "Admin" global gentscraft . It says the prefix has been added to the group but it does not show the prefix in chat.

Which chat formatting plugin?

We are using UltimateChat [v.1.7.0] - API 5 & 6

You should seek support from the author of that plugin, or switch to using Nucleus. (since I know that works correctly)

I'm having similar issues using ultimate chat and a plethora of other chat formatting plugins...since I read this though I've been searching for Nucleus, but I don't seem to see it anywhere...or is it NucleasHub?


Storage feature prevents from deploying into a LXD container

$ juju version
2.9.42-ubuntu-amd64

$ juju deploy --series jammy ubuntu
Located charm "ubuntu" in charm-hub, revision 22
Deploying "ubuntu" from charm-hub charm "ubuntu", revision 22 in channel stable on jammy

$ juju add-unit ubuntu --to lxd:0
ERROR acquiring machine to host unit "ubuntu/1": cannot assign unit "ubuntu/1" to machine 0/lxd/0: adding storage to lxd container not supported (not supported)

Originally posted by @nobuto-m in https://github.com/juju-solutions/charm-ubuntu/issues/35#issuecomment-1508466278

a new charm is in latest/candidate but there are issues when upgrading from an existing latest/stable charm
❯ juju refresh ubuntu --channel=latest/candidate
Added charm-hub charm "ubuntu", revision 23 in channel latest/candidate, to the model
ERROR updating charm config: cannot upgrade application "ubuntu" to charm "ch:amd64/focal/ubuntu-23": existing storage "files" with location changed from single to multiple

Fresh installs however work just fine
❯ juju deploy ubuntu --channel=candidate ubuntu2
Located charm "ubuntu" in charm-hub, revision 23
Deploying "ubuntu2" from charm-hub charm "ubuntu", revision 23 in channel candidate on<EMAIL_ADDRESS>❯ juju add-unit ubuntu2 --to lxd:0

Addressing this concerns with https://github.com/juju-solutions/charm-ubuntu/pull/51


expose PhoneStateListener events

todo: http://developer.android.com/reference/android/telephony/PhoneStateListener.html

I have a PhoneListenter module that I think could really complement this module:
https://github.com/ulizama/phonelistener

@ulizama Thanks, I'll check this out.


Add to garden dropdown borked if you don't have any gardens

Maybe we should add: 'You haven't created any gardens yet, create one now!' in the area

Yep!
Also, note, that it takes some time for gardens to finish loading, which is also a bug.

Add something cute to it Emily!
~Ryan
On Wed, Apr 29, 2015 at 12:58 AM, Simon<EMAIL_ADDRESS>wrote:

Yep!
Also, note, that it takes some time for gardens to finish loading, which is also a bug.
Reply to this email directly or view it on GitHub:
https://github.com/openfarmcc/OpenFarm/issues/612#issuecomment-97338723

probably I'll just add this

This is now fixed in #661!


fixes #550: move torch tensors to cpu before to numpy array

As mentioned in #550, one remaining change from #750 is to first move the torch tensor to the CPU before passing it to a numpy array.
This is relevant for the Metal GPU case. While calling .cpu() is harmless on a torch tensor already in the CPU, in my observation directly moving the tensor from Metal to numpy returns an error, hence the need to move it first.

Another thing I would mention is that the instructions for macOS users could be updated to reflect that access to GPU requires setting another environment variable as follows:
import os
os.environ[“KERAS_BACKEND”] = “torch”
os.environ[“PYTORCH_ENABLE_MPS_FALLBACK”] = “1”
import keras_core as keras

I signed the CLA - I'm not sure if I should take another step to officially pass that check.


type Expression should include Identifier

The Expression type in nodes.ts does not include Identifier, but in parsePrimaryExpression in parse.ts the expr: Expression variable is set to an Identifier in many code paths. I think it makes sense to classify Identifier as an Expression because an ExpressionStatement's expression property can just be set to an Identifier.
The reason TypeScript doesn't complain is because Expression includes ThisExpression which only has a type property defined on it, making it a super-type of Identifier (as least as far as TypeScript's duck-typing is concerned).
Incidentally, this means TypeScript will consider any node a valid sub-type of Expression. One possible workaround (though ugly) could be to add some breaking property to ThisExpression like __isThisExpression__ = true. I'm not sure what trade-offs are right for Esprima... just pointing it out.

Thanks for the notice! This is indeed a good catch. I think we definitely ought to expand Expression to include Identifier.
I doubt that distinguishing ThisExpression vs Expression (e.g. breaking property workaround) is a necessity. We use the type information as additional guidance, not necessarily as the ultimate source of truth.

It looks like this change was undone in https://github.com/jquery/esprima/commit/38afd2f371cd37f280eef3dfbfbd388676e29ed2 . Bad merge?
Also, should UpdateExpression be an Expression?

I also think Literal should be a sub-type of Expression.

Oops, seems like indeed a bad merge. I'll try to rectify it.


[Bug] clone creating "view pointers" instead of "cloned tables" on 1.8 / "Keep on latest version"

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
On the latest dbt version ("Keep on latest version") in dbt Cloud - dbt clone is sometimes creating view pointers of the target table instead of actually creating a cloned table.
Internal thread: https://dbt-labs.slack.com/archives/C05FWBP9X1U/p1717992405960779
Expected Behavior
If the target table exist as a table - it should be cloned via create or replace table db.ci.foo clone db.prod.foo; instead of a view pointer create or replace view db.ci.foo as (select * from db.prod.foo);
Steps To Reproduce
Not able to repro yet.
Relevant log output
Internal thread above has a lot of logging.

Environment
- OS:
- Python:
- dbt: Keep on latest version

Which database adapter are you using with dbt?
snowflake
Additional Context
I believe this is a core thing as opposed to an adapter thing so filing this here.

Given this is not happening to exclusively 1.8 (keep on latest version in dbt Cloud) - there must be something else afoot.
The macro that controls whether the defer relation (prod object) is cloned into the CI schema as a "cloned table" or "pointer view" is the clone materialization here:

1.7: https://github.com/dbt-labs/dbt-core/blob/v1.7.17/core/dbt/include/global_project/macros/materializations/models/clone/clone.sql
1.8: https://github.com/dbt-labs/dbt-adapters/blob/e964302121f70bacc8f827683c329e06696216cf/dbt/include/global_project/macros/materializations/models/clone/clone.sql
The macros are identical for 1.7 and 1.8.

This line specifically has to evaluate to true if a relation will be "cloned table": https://github.com/dbt-labs/dbt-core/blob/62ea994a337f1b1529e4ec8db0a4c5376dfb1150/core/dbt/include/global_project/macros/materializations/models/clone/clone.sql#L26

I propose overriding the clone macro to do 2 additional things in the mean time:

Log out more information about the other_existing_relation / defer relation that is retrieved from the cache.
Do a double take and check the information schema AGAIN for the type of the defer relation.

In order to do that - add the following macro to your dbt project:
-- macros/clone_override.sql
{%- materialization clone, default -%}

  {%- set relations = {'relations': []} -%}

  {%- if not defer_relation -%}
      -- nothing to do
      {{ log("No relation found in state manifest for " ~ model.unique_id, info=True) }}
      {{ return(relations) }}
  {%- endif -%}

  {%- set existing_relation = load_cached_relation(this) -%}

  {%- if existing_relation and not flags.FULL_REFRESH -%}
      -- noop!
      {{ log("Relation " ~ existing_relation ~ " already exists", info=True) }}
      {{ return(relations) }}
  {%- endif -%}

  {%- set other_existing_relation = load_cached_relation(defer_relation) -%}

  {#/* See https://github.com/dbt-labs/dbt-core/issues/10296 */-#}
  {{ log('CLONE DEBUG: ' ~ other_existing_relation ~ ' type is ' ~ other_existing_relation.type) }}

  {% set check_type_query -%}
    select case when table_type = 'BASE TABLE' then 'table' else table_type end as table_type
      from {{ defer_relation.database }}.information_schema.tables
     where lower(table_schema) =  lower('{{ defer_relation.schema }}')
       and lower(table_name) = lower('{{ defer_relation.identifier}}')
  {%- endset %}
  {% set recheck = run_query(check_type_query) %}
  {% set defer_rel_type_recheck = recheck.columns['TABLE_TYPE'].values()[0] %}
  {{ log('CLONE DEBUG (recheck type): defer relation type is ' ~ defer_rel_type_recheck) }}

  -- If this is a database that can do zero-copy cloning of tables, and the other relation is a table, then this will be a table
  -- Otherwise, this will be a view

  {% set can_clone_table = can_clone_table() %}

  {%- if other_existing_relation and (other_existing_relation.type == 'table' or defer_rel_type_recheck == 'table') and can_clone_table -%}

      {%- set target_relation = this.incorporate(type='table') -%}
      {% if existing_relation is not none and not existing_relation.is_table %}
        {{ log("Dropping relation " ~ existing_relation ~ " because it is of type " ~ existing_relation.type) }}
        {{ drop_relation_if_exists(existing_relation) }}
      {% endif %}

      -- as a general rule, data platforms that can clone tables can also do atomic 'create or replace'
      {% call statement('main') %}
          {% if target_relation and defer_relation and target_relation == defer_relation %}
              {{ log("Target relation and defer relation are the same, skipping clone for relation: " ~ target_relation) }}
          {% else %}
              {{ create_or_replace_clone(target_relation, defer_relation) }}
          {% endif %}

      {% endcall %}

      {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}
      {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}
      {% do persist_docs(target_relation, model) %}

      {{ return({'relations': [target_relation]}) }}

  {%- else -%}

      {%- set target_relation = this.incorporate(type='view') -%}

      -- reuse the view materialization
      -- TODO: support actual dispatch for materialization macros
      -- Tracking ticket: https://github.com/dbt-labs/dbt-core/issues/7799
      {% set search_name = "materialization_view_" ~ adapter.type() %}
      {% if not search_name in context %}
          {% set search_name = "materialization_view_default" %}
      {% endif %}
      {% set materialization_macro = context[search_name] %}
      {% set relations = materialization_macro() %}
      {{ return(relations) }}

  {%- endif -%}

{%- endmaterialization -%}

Caveats: Snowflake only. You must not have mixed cased objects in your Snowflake db - i.e. both table "FOO" and "foo" exist - there can every be only one foo table. Check the way we're querying the information_schema in the query above.

With a clone override like above and a table and view model like so:
-- models/foo.sql
{{ config(materialized='table') }}
select 2 id

-- models/bar.sql
{{ config(materialized='view') }}
select * from {{ ref('foo') }}

We get additional logging information in the debug logs:
$ dbt --debug cllone -s state:modified+ --defer --state target_old --target dev
10:33:16  Began running node model.my_dbt_project.foo
10:33:16  Re-using an available connection from the pool (formerly list_development_jyeo_dbt_jyeo, now model.my_dbt_project.foo)
10:33:16  Began compiling node model.my_dbt_project.foo
10:33:16  Began executing node model.my_dbt_project.foo
10:33:16  On "model.my_dbt_project.foo": cache miss for schema "prod_jyeo.dbt_jyeo", this is inefficient
10:33:17  Using snowflake connection "model.my_dbt_project.foo"
10:33:17  On model.my_dbt_project.foo: /* {"app": "dbt", "dbt_version": "1.8.2", "profile_name": "sf", "target_name": "dev", "node_id": "model.my_dbt_project.foo"} */
show objects in prod_jyeo.dbt_jyeo limit 10000
10:33:17  Opening a new connection, currently in state closed
10:33:18  SQL status: SUCCESS 4 in 2.0 seconds
10:33:18  While listing relations in database=prod_jyeo, schema=dbt_jyeo, found: ABC, BAR, BAZ, FOO
10:33:18  CLONE DEBUG: "PROD_JYEO"."DBT_JYEO"."FOO" type is table
10:33:18  Using snowflake connection "model.my_dbt_project.foo"
10:33:18  On model.my_dbt_project.foo: /* {"app": "dbt", "dbt_version": "1.8.2", "profile_name": "sf", "target_name": "dev", "node_id": "model.my_dbt_project.foo"} */
select case when table_type = 'BASE TABLE' then 'table' else table_type end as table_type
      from prod_jyeo.information_schema.tables
     where lower(table_schema) =  lower('dbt_jyeo')
       and lower(table_name) = lower('foo')
10:33:20  SQL status: SUCCESS 1 in 1.0 seconds
10:33:20  CLONE DEBUG (recheck type): defer relation type is table
10:33:20  Writing runtime sql for node "model.my_dbt_project.foo"
10:33:20  Using snowflake connection "model.my_dbt_project.foo"
10:33:20  On model.my_dbt_project.foo: /* {"app": "dbt", "dbt_version": "1.8.2", "profile_name": "sf", "target_name": "dev", "node_id": "model.my_dbt_project.foo"} */
create or replace
      transient
      table development_jyeo.dbt_jyeo.foo
      clone prod_jyeo.dbt_jyeo.foo
10:33:21  SQL status: SUCCESS 1 in 1.0 seconds
10:33:21  On model.my_dbt_project.foo: Close
10:33:22  Finished running node model.my_dbt_project.foo
10:33:22  Began running node model.my_dbt_project.bar
10:33:22  Re-using an available connection from the pool (formerly model.my_dbt_project.foo, now model.my_dbt_project.bar)
10:33:22  Began compiling node model.my_dbt_project.bar
10:33:22  Began executing node model.my_dbt_project.bar
10:33:22  CLONE DEBUG: "PROD_JYEO"."DBT_JYEO"."BAR" type is view
10:33:22  Using snowflake connection "model.my_dbt_project.bar"
10:33:22  On model.my_dbt_project.bar: /* {"app": "dbt", "dbt_version": "1.8.2", "profile_name": "sf", "target_name": "dev", "node_id": "model.my_dbt_project.bar"} */
select case when table_type = 'BASE TABLE' then 'table' else table_type end as table_type
      from prod_jyeo.information_schema.tables
     where lower(table_schema) =  lower('dbt_jyeo')
       and lower(table_name) = lower('bar')
10:33:22  Opening a new connection, currently in state closed
10:33:24  SQL status: SUCCESS 1 in 2.0 seconds
10:33:24  CLONE DEBUG (recheck type): defer relation type is VIEW
10:33:24  Writing runtime sql for node "model.my_dbt_project.bar"
10:33:24  Using snowflake connection "model.my_dbt_project.bar"
10:33:24  On model.my_dbt_project.bar: /* {"app": "dbt", "dbt_version": "1.8.2", "profile_name": "sf", "target_name": "dev", "node_id": "model.my_dbt_project.bar"} */
create or replace   view development_jyeo.dbt_jyeo.bar

   as (
    select * from prod_jyeo.dbt_jyeo.bar
  );
10:33:25  SQL status: SUCCESS 1 in 1.0 seconds
10:33:25  On model.my_dbt_project.bar: Close
10:33:25  Finished running node model.my_dbt_project.bar

Prior to cloning the prod object - the debug logs will tell us:

What was the type of the prod object (table or view) as stored in the cache generated at the start of the run.
What was the type of the prod object (table or view) again, as retrieved directly from the information_schema the second time just prior to doing the clone operation.

It would be useful to know if (1) and (2) both line up - this means 100% certainty that Snowflake is returning the fact that the prod object is a confirmed view - rightly or wrongly - that's what Snowflake returns so perhaps there's some external processes that is converting the prod object to a view when users think that it is actually a table.
If (1) and (2) don't line up - it is also useful I think?

I haven't done the logging but we use query tags extensively.. so I can see that yes indeed dbt is doing this for us as well.
What's weird is that our command explicity does not select views:
"invocation_command": "dbt clone --exclude config.materialized:view config.materialized:dynamic_table config.target_database:dbt_snapshots --full-refresh --state artifacts --profiles-dir transform/dbt/prod --project-dir transform/dbt/prod", "node_refs": [], "materialized": "incremental", "raw_code_hash": "xxxxxxxxxxxxxxxxxx"} */

so it finds the incremental tables and drops them, then creates the view:
drop table if exists a.b.c;
create or replace view a.b.c....

Anyone looking into this?

Noticed about this issue too.
dbt Cloud: Keep latest version

dbt clone is sometimes creating view pointers of the target table instead of actually creating a cloned table.
Confirm intermittent behavior as well.

Observations made on our dbt jobs, and logs:

Only happens when models are materialized=incremental. Models with materialized=table do get cloned normally
Only happens on the leaves of the lineage: if model B (incremental) depends on model A (incremental),  models B gets cloned as view instead of table,   but model A gets cloned properly.

This is particularly troublesome when affected models contain pre_hooks with DELETE statement, since it breaks the dbt jobs in the clone step.


CA Certificates for Docker containers

I think it might be worth added the 'certificates' if-condition to all of the collectors' property-builder scripts so that someone doesn't have to go in and manually add that block and the env variable in the Dockerfile. Will create a PR when I get a chance to.

Any update @daniel-ng ?

I developed one not very pretty. I hope it helps you.
share a volume:
./cert:/hygieia/cert
ENV HYGIEIA_CERTS
`#!/bin/bash
if [ ! -z "$JAVA_HOME" ]; then
if [ -e "$JAVA_HOME/jre/lib/security/cacerts" ]; then
CACERTS="$JAVA_HOME/jre/lib/security/cacerts"
elif [ -e "$JAVA_HOME/lib/security/cacerts" ]; then
CACERTS="$JAVA_HOME/lib/security/cacerts"
fi
fi
if [ -z "$CACERTS" ]; then
echo "Could not locate cacerts. Is JAVA_HOME set?"
exit -1;
fi
if [ "$HYGIEIA_HOME" == "" ]; then
env
echo "ERROR: HYGIEIA_HOME not defined"
exit 1
fi
if [ "$HYGIEIA_CERTS" == "" ]; then
env
echo "ERROR: HYGIEIA_CERTS not defined"
exit 1
fi
cd $HYGIEIA_CERTS
for file in *; do
if [[ "${file}" == *.cer ]]; then
status=$(keytool -list -keystore $CACERTS -alias "$file" -deststorepass changeit | grep "keytool error")
if [ "$status" != "" ]; then
echo "Importing $file..."
keytool -import -alias "$file" -keystore $CACERTS
-file $HYGIEIA_CERTS/$file -deststorepass changeit -noprompt
else
echo "ya existe certificado $file"
fi
elif [[ "${file}" == *.pem ]]; then
status=$(keytool -list -keystore $CACERTS -alias "$file" -deststorepass changeit | grep "keytool error")
if [ "$status" != "" ]; then
echo "Importing $file..."
openssl x509 -outform der -in "$file" -out $HYGIEIA_CERTS/$file.der
keytool -import -alias "$file" -keystore $CACERTS
-file $HYGIEIA_CERTS/$file.der -deststorepass changeit -noprompt
else
echo "ya existe certificado $file"
fi
fi
done
cd $HYGIEIA_HOME`


python3Packages.xarray: 0.20.1 -> 0.20.2

Motivation for this change
https://github.com/pydata/xarray/releases/tag/v0.20.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 152606 run on x86_64-linux 1

5 packages marked as broken and skipped:

python38Packages.arviz
python38Packages.pymc3
python39Packages.arviz
python39Packages.basemap
python39Packages.pymc3

26 packages built:

mapproxy
python38Packages.basemap
python38Packages.cartopy
python38Packages.datashader
python38Packages.geopandas
python38Packages.ipydatawidgets
python38Packages.osmnx
python38Packages.osmpythontools
python38Packages.owslib
python38Packages.pygmt
python38Packages.pyproj
python38Packages.traittypes
python38Packages.wrf-python
python38Packages.xarray
python39Packages.cartopy
python39Packages.datashader
python39Packages.geopandas
python39Packages.ipydatawidgets
python39Packages.osmnx
python39Packages.osmpythontools
python39Packages.owslib
python39Packages.pygmt
python39Packages.pyproj
python39Packages.traittypes
python39Packages.wrf-python
python39Packages.xarray


Assembly Service enhancements

In this release, we will enable assembly of genomes sequenced using PacBio technology. Both raw m5 read files and filtered FASTQ files from PacBio sequencing will be accepted as input.

10/14 update: On target for November, per Fangfang

10/28: Ron check with Fangfang.

11/18: Ron check with Fangfang

I've redeployed the assembly service with experimental pacbio/nanopore support.
@aswarren Can you please update the help text for the Parameters section?
auto
For short reads:

Runs BayesHammer on reads
Assembles with Velvet, IDBA and SPAdes
Sorts assemblies by ALE score

For long reads (PacBio or Nanopore):
Assembles with MiniASM
smart
For short reads:

Runs BayesHammer on reads, Kmergenie to choose hash-length for Velvet
Assembles with Velvet, IDBA and SPAdes
Sorts assemblies by ALE score
Merges the two best assemblies with GAM-NGS

For long reads (PacBio or Nanopore):
Assembles with MiniASM
I could generate a pull request. I see multiple GenomeAssemblyHelp.html files, and I'm not sure which ones are auto generated.

Also plx.h5 and bax.h5 pacbio raw read files are now supported. FASTA and FASTQ files are automatically checked to see if they contain long reads.

Created pull request: https://github.com/dmachi/p3-web/pull/44
Andrew is going to deploy this on both prod and beta.

Deployed

Service and UI are deployed, doing some testing.


Add actuator endpoint to force leadership shuffle

When deploying a new release of Genie, it is sometimes desirable to have one the nodes running the latest version become leader.
The old nodes may have long-running jobs and be around for a while.
The new RejoinLeaderElection actuator addresses this problem by forcing a restart of the leader election service.
In the current (zookeeper based implementation), leadership is awarded in order of arrival.
Therefore any node that receive this command will re-enqueue last, and newly added nodes will be ahead in the queue to become leader.

Coverage decreased (-0.002%) to 92.696% when pulling<PHONE_NUMBER>496110973d3b67c3a2d29e2671fa36 on mprimi:GENIE-457-rejoin-leader-election into 9412a0bd3091d374a3819e8d6c5c465f1b73626e on Netflix:master.


Is that correct? "Pin-Zuordnung: Unbekannter Pin"

I am currently testing the new beta 2.4.0 with the Ulanzi.
Works great so far it also works all buttons.
I noticed in the log when booting, however, that he announces an unknown pin assignment.
Is that correct and are the pins that are not further defined, or is that an "error" in the pre-assignmentof the pins for the Ulanzi?
[2023-10-08T22:31:33] SaveConfig: Saved
Mounting file system...
Mounted file system.
[1970-00-00T00:00:00] LoadConfig: Loaded
[BH1750] ERROR: received NACK on transmit of address
[1970-00-00T00:00:00] Setup: SHT31 Trying
[1970-00-00T00:00:00] Setup: SHT31 started
Framebuffer_GFX::begin Width: 32 Height: 8 Num Pixels: 256
[1970-00-00T00:00:00] Pin Assignment: Unknown Pin
[1970-00-00T00:00:00] Pin Assignment: Unknown Pin
[1970-00-00T00:00:00] Setup: Software Serial started
parsed json
*wm:AutoConnect
*wm:Connecting to SAVED AP: x.x
*wm:connectTimeout not set, ESP waitForConnectResult...
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: 10.10.x.x
[1970-01-01T00:00:04] Setup: Wifi connected...yeey :)
[1970-01-01T00:00:04] Setup: Local IP
[1970-01-01T00:00:04] Setup: 10.10.x.x
[1970-01-01T00:00:04] Setup: 10.10.x.x
[1970-01-01T00:00:04] Setup: <IP_ADDRESS>
[1970-01-01T00:00:04] Setup: Starting UDP
[1970-01-01T00:00:04] Setup: Web server started
[1970-01-01T00:00:04] DFPlayer: DFPlayer started

Further, I noticed that during the boot process 100% charge is displayed, but in the dashboard 83%. How are the gradations for the display here?

#316

This is quite easy to reproduce without a physical device. Just upload a binary built against the ulanzi target to this Wokwi sketch:
https://wokwi.com/projects/378474114936175617
It won't be able to mount the FS but will display the log messages and initial bootup screen

After upgrading my Ulanzi to 2.4.3 I see the log full of these messages:
[2023-10-24T00:21:14] Pin assignment - unknown pin: Pin_D6
[2023-10-24T00:21:14] Pin assignment - unknown pin: Pin_D5
[2023-10-24T00:21:14] Pin assignment - unknown pin: Pin_D4

Fixed with #316


update syslog-ng.conf

syslog-ng.conf file isn't in sync with the installed version. This update synchronizes the version and fixes a warning.

Oh, haven't seen this in my test. Thanks!


Intellisense and JavaScript

Issue Type: Bug
Try to import a core module, like fs. There won't be any autocompletion on the imported module. It worked till now.
VS Code version: Code 1.32.1 (05f146c7a8f7f78e80261aa3b2a2e642586f9eb3, 2019-03-08T00:46:10.898Z)
OS version: Linux x64 4.18.0-16-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4570R CPU @ 2.70GHz (4 x 3028)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: enabled_onvideo_decode: unavailable_offwebgl: enabledwebgl2: enabled

Load (avg)
5, 5, 4

Memory (System)
7.73GB (2.37GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

rainbow-brackets
2gu
0.0.6

vscode-standardjs
che
1.2.3

jshint
dba
0.10.20

vscode-eslint
dba
1.8.2

prettier-vscode
esb
1.8.1

auto-rename-tag
for
0.0.15

node-module-intellisense
lei
1.5.0

LiveServer
rit
5.5.1

javascript-typescript
sou
0.0.7

JavaScriptSnippets
xab
1.7.2

(1 theme extensions excluded)

Please provide more information about your project and what you are trying to do. How are you trying to trigger imports for example
Also, oes this reproduce in the latest VS Code insiders build with all extensions disabled?

It doesn't concern a particular project, but I've noticed that it still works on my old projects initialised with create-react-app
Packages are imported using the require function. I've also tried disabling all extensions, and using the last version of VS Code but it still doesn't work.

I suspect that typing acquisition is not downloading that data for node. Can you please try collecting the TS Server log:

Set "typescript.tsserver.log": "verbose",
Restart VS Code and reproduce the problem
In VS Code, run the TypeScript: Open TS Server log command
This should open a folder with a ti-xxx.log file in it

If you can share the log, I can take a look to see if anything stands out

Closing as more information is needed to investigate


removing ParameterizedProperties doc, updating NonApplicationJson

Related to https://github.com/Azure/azure-openapi-validator/issues/39.
Once code change is approved, we need to update the documentation.

No modification for AutorestCI/azure-sdk-for-ruby

No modification for AutorestCI/azure-sdk-for-python

No modification for AutorestCI/azure-sdk-for-node


Minor hardware detail tweaks

This will need a rebase and we should merge #11 first.

Merged #11, so now this one needs a rebase

Rebased

From a discussion with @andybraren
What a GiB is: https://searchstorage.techtarget.com/definition/gibibyte-GiB
Ubuntu’s Units Policy: https://wiki.ubuntu.com/UnitsPolicy
Windows vs Ubuntu reporting: https://www.hecticgeek.com/2012/10/for-the-same-file-why-windows-and-ubuntu-show-different-sizes/
Kubernetes supports both units: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory
Cockpit discussion: https://github.com/cockpit-project/cockpit/issues/704
Cockpit conclusion: https://github.com/cockpit-project/cockpit/pull/3944#issuecomment-194724919


desktop PWA updates for Chrome 73

What's changed, or what was fixed?

available on all desktop platforms
minor tweaks

Target Live Date: 2019-03-12

[ ] This has been reviewed and approved by (NAME)
[X] I have run npm test locally and all tests pass.
[X] I have added the appropriate type-something label.
[X] I've staged the site and manually verified that my content displays correctly.

CC: @slightlyoff

Whoops!
There were 3 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/progressive-web-apps/desktop.md#L156 - Common typo found: 'Homescreen' Should it be 'home screen'? See: https://developers.google.com/style/word-list#home-screen
src/content/en/progressive-web-apps/desktop.md#L181 - Common typo found: 'Omnibox' Should it be 'address bar'? See: https://developers.google.com/style/word-list#omnibox
src/content/en/progressive-web-apps/desktop.md#L44 - Line must be at most 100 characters

:tada: This has been pushed live to https://developers.google.com/web/


hvplot of geo data gives inconsistent results

ALL software version info
bokeh: 2.0.0
holovies: 1.13.1
geoviews: 1.8.1
hvplot: 0.5.2
Description of expected behavior and the observed behavior

plot is not centered using the bounding box of points
map is not loaded
hover tools formatting does not match data

Complete, minimal, self-contained example code that reproduces the issue
pd.DataFrame([(11.621, 48.135), ((11.721, 48.235))], columns=["x", "y"]).hvplot.points(geo=True, tiles="ESRI", width=400, height=300)

Screenshots or screencasts of the bug in action

After some zooming out:

What if you specify a projection=ccrs.GOOGLE_MERCATOR (but hover is indeed strange)

Those hover tool values are really bizarre. I have also noticed that the map won't load when you're zoomed in all the way.  I think we need to update the default span in that case.

For me setting projection explicitly did not help.

I installed all packages using conda-forge, except bokeh-2.0.1 which was only available throug pip for me.

Can I provide anything else for you?

Very bizarre! As Bokeh 2.2 should be out very shortly (today!) maybe it would be worth seeing if you can still reproduce this problem using that version.

With bokeh 2.2.0rc3:

I seem to remember that this is related to a geoviews issue with hover that I believe was addressed recently. I would need to track it down.

I can't reproduce this on main. I guess it was probably fixed by the issue that Jean-Luc is referring to.


Let mypy enforce type annotations only in bring_api module

Don't check for type annotations in tests

Yes, too much hassle. Would be quite some work to fix this but it isn't a priority for now. When I have the time and patience to work on it, I will reactivate it again.


K6n10 dsp

Added a blackbox DSP model for K6N10f

@mkurc-ant I created a new PR with single commit, https://github.com/SymbiFlow/yosys-symbiflow-plugins/pull/159


What's this "?string"?

I loaded with my own loader module and I receive this:
PHP Parse error:  syntax error, unexpected '?', expecting variable (T_VARIABLE) in /home/test/server/Monolog/Registry.php on line 55

The line is this one:
public static function addLogger(Logger $logger, ?string $name = null, bool $overwrite = false)

Am I missing sth here?

That's PHP 7.1+ code. That's a nullable typehint.

Ok,
php -v
PHP 7.0.32-0ubuntu<IP_ADDRESS> (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.32-0ubuntu<IP_ADDRESS>, Copyright (c) 1999-2017, by Zend Technologies

still don't get it!

@centurianii You need to have at least PHP 7.1 to run this code. See http://php.net/manual/en/migration71.new-features.php Latest Monolog requires PHP 7.1+.

Are there any older versions without superfluous php 7.1?

All Monolog 1.x releases support PHP 5.3 to 7.0 too.

Thank you I'll have a look.


python311Packages.python-kasa: <IP_ADDRESS> -> 0.6.1

Diff: https://github.com/python-kasa/python-kasa/compare/refs/tags/<IP_ADDRESS>...0.6.1
Changelog: https://github.com/python-kasa/python-kasa/blob/0.6.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 283838 run on x86_64-linux 1

2 packages built:

python311Packages.python-kasa
python311Packages.python-kasa.dist


App Not installed

Hello,
We have used this library in two apps. one app Already installed in mobile and when I try to install second app  getting an error saying "APP NOT INSTALLED". Any Solution please let me know. Very Urgent.

They both have the same provider authority("com.scanlibrary.provider"). Keep it different and you will be able to install multiple apps with the library in them.


Annotate nullable reference types

This annotates nullable reference types with a ? and enables nullable reference type checks in all projects.
Open issues:

[x] Key.PublicKey property

https://github.com/ektrah/nsec/blob/40535bb0eba626e2e515c1e5aca34d95f28d20ea/src/Cryptography/Key.cs#L15
https://github.com/ektrah/nsec/blob/40535bb0eba626e2e515c1e5aca34d95f28d20ea/src/Cryptography/Key.cs#L84

[x] KeyAgreementAlgorithm.Agree method

https://github.com/ektrah/nsec/blob/40535bb0eba626e2e515c1e5aca34d95f28d20ea/src/Cryptography/KeyAgreementAlgorithm.cs#L63
https://github.com/ektrah/nsec/blob/40535bb0eba626e2e515c1e5aca34d95f28d20ea/src/Cryptography/KeyAgreementAlgorithm.cs#L93

The two issues are resolved as follows:

Key.PublicKey throws an InvalidOperationException instead of returning null if the key is symmetric.
KeyAgreementAlgorithm.Agree returns a SharedSecret or null, as before.


support ^ behavior in sed

it is often useful to match on the beginning of a line. i have found the bellow solution best for myself
this relatively small, and simple for me to have in my project, so perhaps it does not belong in turtle, but i believe the expected behavior and what for me is desirable is to have some way to match beginnings of lines at all
sed' pattern s = maybe "" snd . Text.uncons <$> do
    txt    <- s
    txt':_ <- return (match pattern' (Text.cons '\n' txt))
    return txt'
    where
    pattern' = fmap Text.concat
        (many (pattern <|> fmap Text.singleton anyChar))

i would prefer a better sentinel value than '\n', but i think the idea is communicated

I think a more general solution would be to provide a variation on prefix named begins:
{-| Match the entire string if it begins with the given pattern

    This returns the entire string, not just the matched prefix

>>> match (begins  "A"             ) "ABC"
["ABC"]
>>> match (begins ("A" *> pure "1")) "ABC"
["1BC"]
-}
begins :: Pattern Text -> Pattern Text
begins pattern = pattern <> chars

If you use begins instead of prefix, then sed does the right thing:
>>> -- s/^ABC/123/
>>> view (sed (begins ("ABC" *> pure "123")) "ABCDEF")
"123DEF"

There would be a similar variation on suffix named ends:
ends :: Pattern Text -> Pattern Text
ends pattern = chars <> pattern

yes, this is quite nice. i think this raises the concern that sed is maybe not documented enough to immediately know these kinds of semantics until you look at the code. i know that it kind of does "the most obvious thing" it could do given the types, but that might not be the first thing that comes to each users mind. "Replace all occurrences of a Pattern with its Text result" read to me at first as though i was substring-replacing over the underlying file contents as a whole, not as isolated lines

Yeah, I can also clarify that the substitution is line-based


feat: server.htmlEntryPoint config option

Description
Adds a server.htmlEntryPoint config option
Additional context
SvelteKit right now runs in middleware mode and has to provide its own set of server options. As a result, people get confused between SvelteKit's server options and Vite's server options. It also means a lot of duplicate functionality like https certificate handling. This change would allow SvelteKit to run a Vite server from the SvelteKit CLI. SvelteKit's middleware is then injected using a plugin with the configureServer hook.
Proof-of-concept PR is pending on the SvelteKit side that could be cleaned up and checked in after this PR is released: https://github.com/sveltejs/kit/pull/2232. It will need to have server.htmlEntryPoint: false set in order to work
This idea was originally suggested by @axe-me: https://github.com/vitejs/vite/discussions/4230#discussioncomment-1162698

What is the purpose of this pull request?

[ ] Bug fix
[X] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the Commit Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Instead of having a specific config option to disable HTML middleware, would it be better to have an option to disable a list of middleware? This way, users could have more flexibility to config the server builtin middleware. something like:
// config
server: {
  disabledMiddlewares: ['html', 'fallback']
}

```js
// server/index.ts
if (!serverConfig.disabledMiddlewares.includes('html')) {
  middlewares.use(indexHtmlMiddleware(server))
}

Maybe not a bad idea if middlewares had names, but we'd basically be having to create a string for each ourselves used just for this purpose. I also think it'd be harder to use. E.g. in this case you'd have to disable three different middlewares and the only way you'd know which to disable would be to open up the Vite source code vs just setting a single documented option.

Hi @benhalpern, I read the vite server source code again today, I just realized you don't really need to worry about the HTML middleware if your middleware ends the request early.
https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/index.ts#L529 from here you can see user middleware gets handle the request before the html middleware.
I just checked your svelteKit PR, looks like your middleware does end the request in all cases, and never call the next() function. https://github.com/sveltejs/kit/pull/2232/files#diff-ed48923f0655f935bee505cdcbf40212129ff49a89c2c9d752bd63aa1e6282c4R497
Therefore, this PR prob not needed for sveltekit 1.0

I think you tagged the wrong Ben :smile: But this actually is needed because the SvelteKit middleware must be added after the Vite middleware. Vite must be first because it handles the static assets. Then for requests that aren't for static assets it can fallthrough to the SvelteKit middleware. If I put SvelteKit first then no static asset would ever be served because SvelteKit never calls next() as you point out

Hi @benmccann , the static assets middleware is actually pushed to the stack before user configured middlewares from the code I saw. Please give it a try, let me know if that doesn't work for you.

I did try it. It doesn't work

@benmccann sorry, my bad, looks like the spa fallback middleware should be installed after post hooks. Let me see if I can find the reason why it's before post hook.

@benmccann I just tested at my local. If I move the spa fallback middleware after the postHooks calls, everything works as expected.
I also checked the git history, seems the posthooks always run after the fallback middleware. This actually does not make sense to me, since this is also part of vite html serve logic which should go after post hooks? @yyx990803 sorry to ping you, but do you remember the reason behind this? is it OK for us to move the spa-fallback middleware after post hooks?

good catch. closing in favor of https://github.com/vitejs/vite/pull/4670

that did not work (https://github.com/vitejs/vite/pull/4670#issuecomment-907748589), so reopening this PR instead

@benmccann we discussed this today. In principle, this is a valid request. But it is not yet clear if adding a single boolean option is the best here. In case it is boolean, it could be named server.serveHtml but it may be more flexible to allow disabling groups or individual middleware with something like server.middlewares: { html: false }. A review of current SSR playgrounds could help to better identify what is best, as the servers could be potentially simplified with this option.
Another option could be to identify and remove this middleware from the array. The internal middlewares are currently named function https://github.com/vitejs/vite/blob/13d41d864219bcc0e952f42f69adb97147e15520/packages/vite/src/node/server/middlewares/indexHtml.ts#L153
Although seems like the connect one for the SPA fallback is unnamed https://github.com/bripkens/connect-history-api-fallback/blob/48e170c92c53e6f2bdb8755175bc52e0bc8b838a/lib/index.js#L9
This may not be a good option as it would expose a lot more internals of what we want. I think some integrations are already removing some middlewares in this way though.

Thanks for taking a look at this @patak-js. I really appreciate you driving all these PRs to completion
The other alternative for implementing this that you mentioned is actually one we'd considered above. I tend to think it's not the best way to do it for the reasons mentioned in this comment: https://github.com/vitejs/vite/pull/4640#issuecomment-902057379. I'm happy to reconsider if you all have other thoughts about it


[5.5] Autowire migrations

This PR makes use of the container to autowire the migrations instances.

is there any immediate benefit from this? or is it more for consistency?

We've had migrations that weren't resolved from the container for several years now, why do we need it now? When do you need to resolve services to modify your database schema?

I know it's almost irrelevant, but this brings a performance impact as the Reflector will be used to instantiated migration classes. The reason I bring this up is that if there is no upside at all for this, we can see a tiny downside.
Also, tests are failing.

For consistency yes, and because we use MondoDB as our primary data storage and for some reasons we need services from the container. I think the performance impact is so tiny it shouldn't be a problem. I'm going to fix the tests.

Let's talk about breaking changes. What are we talking about here? In which scenarios will things blow up? Can third party packages be compatible with the current Migrator class and these new changes at the same time?

I agree. Talk about performance is pointless if there is a visible improvement. I only brought it up because we cannot see the improvement here. It would be nice to know how you're setting up MongoDB with migrations and how this solve that.
@sisve I don't think there's any breaking changes here. If we assume that nobody is binding the migration classes into the container, this will auto-wire the class regularly.
If somebody is binding it to the container, the container will just resolve the bound one, which seems the intended behavior. The reason I think nobody is binding it is because the migrator was not resolving it anyway.

Actually our own use case is related to MongoDB services, but I can imagine it's far from being the only one. I just don't see what's the benefit of NOT having these class autowired ?
BC layer should not be a problem as the class were constructed without any arguments (ie. an exception would be thrown). Except for default parameters I guess, but the container is taking care of them.

@deleugpn @abellion You're changing a method signature (Migrator::__construct). How would anyone that has derived from the class and implemented their own constructor be compatible with current and next version of the Migrator if there are two different parent::__construct to call?

@taylorotwell @GrahamCampbell Can you explain why it has been closed ?

all we currently see in this PR is change for change's sake.  can you explain your use case, and what the benefit of this would actually be?

We are using an internal tool do deal with MongoDB, that needs to be autowired.
Today we use the app() function to get the services, but it feels weird and inconsistant.

Actually our own use case is related to MongoDB services, but I can imagine it's far from being the only one. I just don't see what's the benefit of NOT having these class autowired ?

We are using an internal tool do deal with MongoDB, that needs to be autowired.
Today we use the app() function to get the services, but it feels weird and inconsistant.

Actually our own use case is related to MongoDB services, but I can imagine it's far from being the only one. I just don't see what's the benefit of NOT having these class autowired ?


attrs: Must contain the property specified by idAttribute!

I' have a json like so:
    {
       "idenyek" : [
       {
        "faj"   : "Gímszarvas",
        "id"    : "1",
        "type"  : "nagyvad",
        "group" : "bika",
        "dates" : [{"starts": "09.01.", "ends": "01.31."}]},

     ....

     }

And a resource:
.factory('Seasons', function(DS) {
  var Seasons = DS.defineResource({
    name: 'idenyek',
    maxAge: 900000,
    deleteOnExpire: 'aggressive',
    storageMode: 'localStorage',
  });
  return Seasons;
});

And an error message:
Error: DS.inject(idenyek, attrs): attrs: Must contain the property specified by idAttribute!
I tried to add idAttribute to the definition, tried to do some beforeInject debugging without luck... what am I missing?

I attempted the example above:
{
"faj"   : "Gímszarvas",
"id"    : "1",
"type"  : "nagyvad",
"group" : "bika",
"dates" : [{"starts": "09.01.", "ends": "01.31."}]}
}
and received an error:  Unexpected token }
any clues?

You have an extra bracket here:
"ends": "01.31."}]}
Should be: "ends": "01.31" }]
Thanks,
Daniel Mullins
On Feb 8, 2015, at 11:54, YossiH <notifications<EMAIL_ADDRESS>wrote:
I attempted the example above:
{
"faj" : "Gímszarvas",
"id" : "1",
"type" : "nagyvad",
"group" : "bika",
"dates" : [{"starts": "09.01.", "ends": "01.31."}]}
}
and received an error: Unexpected token }
any clues?
—
Reply to this email directly or view it on GitHubhttps://github.com/js-data/js-data-angular/issues/157#issuecomment-73422300.

This message is for the designated recipient only and may contain privileged, proprietary
or otherwise private information. If you have received it in error, please notify the sender
immediately and delete the original. Any other use of the email by you is prohibited.
Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Chinese
Svenska: www.cardinalhealth.com/legal/email

Never mind.. it was the extra curly after the dates array. This worked ok:
[
{
"faj" : "Gímszarvas",
"id" : "1",
"type" : "nagyvad",
"group" : "bika",
"dates" : [{"starts": "09.01.", "ends": "01.31."}]
},
{
"faj" : "Gímszarvas",
"id" : "2",
"type" : "nagyvad",
"group" : "bika",
"dates" : [{"starts": "09.01.", "ends": "01.31."}]
}
]


Slow and Ugly font in Ubuntu 18.10

After upgrade to Ubuntu 18.10, vscode run very slowly and default font is not look like 18.04.

Please see https://github.com/Microsoft/vscode/wiki/Performance-Issues for creating actionable performance issues

I recently upgraded to Ubuntu 18.10 and had the same issues. The solutions are the following:
For the slow startup
If you installed Code from Ubuntu Software Center, uninstall it and install the deb package from the Code website. The one in the Software Center is a snap package and there are many performance issues reported on snaps.
For the ugly font
The default value for editor font family is 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'. It seems that Droid Sans Mono has been removed in this version of Ubuntu, but Droid Sans Fallback is still present. You can change this value to:
'Droid Sans Fallback', 'monospace', monospace
or in my case, switch to DejaVu Sans Mono:
'DejaVu Sans Mono','monospace', monospace

Snap issues: https://github.com/Microsoft/vscode/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Asnap


Android app - eldest called on user with existing eldest KID

This may be a duplicate of #6962
Steps:

Fresh install/new user (account created via web, no other devices used)
Log it, get to the paper key screen
Lock the screen
Unlock

Now you're back at the main screen and the paper key gone. I was expecting that since there is a switch to confirm that I wrote down the key all will be fine.

Revoke the paper key
Revoke the device
Log in: "eldest called on user with existing eldest KID"

Removing app data does not help, neither does reinstalling.

Yes, this is my experience too (#6962), and neither the app nor the CLI is clear about how to unbreak it.

Thanks for the report, we'll look right into it.

If either of you can send feedback through the app, that would be very useful too. Thanks!

BTW, have you guys reset your accounts recently?

I cannot log it so I don't see an option to send feedback. I've created the account yesterday or so and the above were the only actions I took outside of the web interface (not much there as well).

 Cc: @patrickxb on that issue.

@notameadow  I reset your account since all of your keys were revoked.  But there are still a few issues you must have hit to wind up there.
Cc: @chrisnojima  --- what's the status of sending logs if people are all the way logged out?

Reset as in delete and create again? So.. is it like I can destroy my account by revoking all keys/devices?
What about the problem with phone locking before I can find a pen? (I know it's a bit silly but still an issue).

OK I can try to break it again if you like.

Yes, once you revoke all of your keys, your data is lost, as it should be.  The only way it wouldn't be lost is if we held onto a plaintext copy, which we obviously don't!
We need better seatbelts around revoking your last device, it's a known issue.
We're aware of the other problem about not having a pen.
  We're aware of that issue too, we'll hopefully be fixing that one first, since it's the most deadly..

it might be worth a try or you can wait for the next version -- up to you...

I like living dangerously, it worked but those were nervous moments preventing the phone from locking and typing!
Thanks for that.

I have no idea whether my account is reset or not.
-Logging into Keybase.app (macos) tells me "has been revoked, please log in again".
-Trying to log in to Keybase on iPhone 4s, the Login button is obscured (screen layout on 4s is bad), so I press Enter and it returns to the create-or-login screen and says "Your device has been revoked".
-At macos CLI, "keybase login" works but then "keybase device list" tells me I can provision it from either paper (which I don't have; see original issue description) or from the phone (where Keybase is not letting me in).
So, it's a riddle, wrapped in a mystery, inside an enigma.
Is it reset ? Is it revoked ? Hmm, I can't create a NEW account with the same username...

Let me reset your account, is that OK?  haven't done so yet, been busy this morning

BTW I did try earlier today to use macos to provision the phone (or was it the other way around) ?
macos CLI keybase produced a cool QR code but when i ointed the phone's Keybase at it, it crashed :-(

Sure thing. Reset away !

iPhone 4s app layout does need work. Cheers!

We intend any path to work, but it might be smoother to start with the better tested desktop app. UI or CLI doesn't matter...

Keybase.app got me back in OK.
Then tried to add the iPhone 4s.
Scanning QR code displayed on mac did not work - phone app showed the QR code in the camera "viewfinder" but it would not focus on the code.
Tried the text code instead - it seemed to accept the code, but then nothing happened.
Then trying to log in to the phone, but again, the Login button does not fit on an iPhone 4, and it will not switch to landscape mode, and hitting Enter bunced me back to the create-or-login screen.
So, the 4s has stymied me.

@maxtaco Could you reset my account, too? I have the same issue.

Hey @Luki110998 @fbaube @notameadow I'm curious why you're revoking all your devices. Is there some flow you're trying to achieve or are you just checking out how the software works?

Basically just checking it out. I'm still stymied by the GUI layout on the iPhone 4s.

@maxtaco Could you please reset my account, too? I created it earlier to check it out and now I get the error message which led me here:
There was an error provisioning
Unkown error: eldest called on user with existing eldest KID
It's the same message on MacOS X and Android. Apparently I removed my device (Mac) before the Android device was set up and I didn't know that in that case I can't set up a new one from the web.
Thank you very much!

I've revoked my device in order to rename it and faced the same issue, could I possibly ask you to reset my account as well?

@gorgaar and @hryamzik, I reset your accounts

Ahhh. "I've revoked my device in order to rename it and faced the same issue, could I possibly ask you to reset my account as well?" exact same issue here.

@bnschmdt  what is your keybase ID?

"Benjamins"
Sent from my iPhone
On Jun 7, 2017, at 12:43, Maxwell Krohn <notifications<EMAIL_ADDRESS>wrote:
@bnschmdthttps://github.com/bnschmdt what is your keybase ID?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/keybase/client/issues/6963#issuecomment-306854022, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AB5AI_8F-4bf_PPtKDXxw7yaOQNncf4Cks5sBtMwgaJpZM4NY4Ek.

ok, @bnschmdt, you are reset

Hi,
I cannot log in on any of my devices. I get this error:

Can anyone help?

ok @esunly all set to try again

@maxtaco I hate to jump on this train, but I got antsy (revoked all devices) and now I have the same problem as above.  Can a homie get a reset? Keybase ID "c_lips".

I need a reset as well.  Maybe I missed the spot in the ToS or the sign-up e-mail where if you remove your keys, you can't even login.  I was going to login to set up a different key because my web account wasn't recognizing that I had a cell phone key on my app and it kept asking me to scan the QR code.  I figured I'd remove the current key and just re-add a new one but now I can't even get into the account.  I can private message the Keybase ID.


Update to cmake 3.21

Fixes some issues related to some CMake updates elsewhere in the LBANN stack.
It also fixes some warnings that were showing up in the build on Pascal.

This built for me, as did LBANN with LBANN_WITH_DISTCONV=ON.

I am still getting this error through Spack when building lbann with distconv enabled.
  85       Target "test_tensor" links to target "CUDA::" but the target was not found.
  86       Perhaps a find_package() call is missing for an IMPORTED target, or an
  87       ALIAS target is missing


Accessibility with NavigationCardStack speaks accessibilityLabels of previous pages's views on iOS

Issue Description
Let's say we have two pages in our app: Page A and Page B. NavigatorExperimental is used to navigate between them.
Page A's accessibility is working great. But when moving two Page B, VoiceOver still recognises and speaks Page A's accessible elements, even though they are now hidden.
Steps to Reproduce / Code Snippets
Create 2 pages: Page A and Page B, and use NavigationExperimental to navigate between them. Both pages should contain some accessible elements.
Turn on VoiceOver on the iOS device and start the app. Navigate to Page B and try VoiceOver.
Expected Results
Page A's accessible elements should not appear in Page B.
Additional Information

React Native version: 0.32.0
Platform(s) (iOS, Android, or both?): iOS
Operating System (macOS, Linux, or Windows?): macOS

@alongubkin this is happening to me as well. Did you find any workarounds?

@danieladias Not really a solution, but I found out that if I use NavigationStateUtils.reset instead of NavigationStateUtils.push it doesn't happen

@alongubkin thanks for your reply. Yes in that case we loose the navigation animation right?

@danieladias and history, yes.
As of v0.35.0-rc.0 this is still not fixed 😢

@alongubkin thank you.

I can reproduce this on Android using v0.35.0 as well.  Prior to seeing this issue I had asked the question on stack overflow.  I'm also unaware of any workarounds short of making the current scene the only rendered one.

We have the same problem and while the necessary Native APIs for Android is available to fix this issue in user application, for iOS the accessibilityElementsHidden property needs to be exported by UIViewManager .
I have created a pull request to expose said property and relevant changes for NavigationCardStack to fix this issue.

On Android, Navigator doesn't have this problem because Navigator will set the alpha of the covered/outside view to zero.  Navigation Experimental should set the alpha of the covered/outside view to zero instead of 0.3

@lightboys22 The reason it works in Android is because the default value of importantForAccessibility is auto which does some magic to detect what elements are not important, for example when opacity is 0, when the element is more than one layer deep, and I think when height and/or width is 0, and so forth.

@alongubkin Can you check if #10918 address your problem too?

I believe I'm seeing the same issue when using react-navigation.  However, I did notice an interesting result and would be curious if others can reproduce this in their own examples:

Reproduce the above described issue on IOS.
Press the home button to place the app in the background.
reopen the app.
verify whether the hidden screen is still visible with VoiceOver.

If others are seeing this, and not just me, then I wonder if firing a UIAccessibilityScreenChangeNotification would make a difference?

Is anyone using the accessibility inspector for this, or strictly using VoiceOver & TalkBack to identify the overlap? I have not created a sample, but it goes three layers deep for me. As in you can see page A & B elements when on page C with the AI. Will try integrating native language into the code base and see what happens.

@cannona I am seeing this in react-navigation and @jeffbum I am seeing the same behavior as you.  While there may be several solutions I have one approach working in my project.  First I need something like #11788 merged into react-native to expose iOS's accessibilityElementsHidden property.  While waiting on that PR I've been maintaining my own fork.  Then I fork react-navigation and set importantForAccessibility to no-hide-descendants on all but the active view (what the user sees) in react-navigation's Card on this view.

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

@jonolock91 not yet - it's a real shame this ones been closed @hramos even more so as it's preventing us from having an accessible app right now.

@lprhodes we've talked about this before. Please see my issue closing message for more information on next steps.

@hramos It shouldn't need extra information to open this back up, this should be a pre-requisite to react-navigation and should surely remain open until it's resolved.


Login broken in Python3

When attempting to login with REST API:
[2021-04-07 11:05:35,396] ERROR in app: Exception on /api/v0.1/login [POST]
Traceback (most recent call last):
  File "/export/home/hysdsops/sciflo/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/export/home/hysdsops/sciflo/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/export/home/hysdsops/sciflo/lib/python3.8/site-packages/flask_restx/api.py", line 375, in wrapper
    resp = resource(*args, **kwargs)
  File "/export/home/hysdsops/sciflo/lib/python3.8/site-packages/flask_limiter/extension.py", line 702, in __inner
    return obj(*a, **k)
  File "/export/home/hysdsops/sciflo/lib/python3.8/site-packages/flask/views.py", line 89, in view
    return self.dispatch_request(*args, **kwargs)
  File "/export/home/hysdsops/sciflo/lib/python3.8/site-packages/flask_restx/resource.py", line 44, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/export/home/hysdsops/sciflo/lib/python3.8/site-packages/flask_httpauth.py", line 164, in decorated
    return f(*args, **kwargs)
  File "/export/home/hysdsops/sciflo/lib/python3.8/site-packages/flask_restx/marshalling.py", line 248, in wrapper
    resp = f(*args, **kwargs)
  File "/export/home/hysdsops/sciflo/ops/pele/pele/controllers/api_v01/default.py", line 139, in post
    'token': token.decode('UTF-8')
AttributeError: 'str' object has no attribute 'decode'

This is due to Python3's unicode-default strings.
Suggested fix: Remove the .decode() call or try
token': token if type(token) is str else token.decode('UTF-8')

if Python2 compatiblity is required

looks like its related to PyJWT
https://stackoverflow.com/a/65484529
according to the changelog, in v2.0.0+

Return tokens as string not bytes (#513) by @jpadilla

we'll version lock it to PyJWT==1.7.1 for now and can properly address it later


remove lag checks

Turns out that checking for the lag will always miss cases whenever tamer gets killed in the middle of a transactions.
This is because it will generate an indefinite amount of aborted transactions (one per failures in a row).

For this reason checking lags alone becomes excessively ambiguous, for example a lag of 5 might mean everything is ok and we are going to skip a failed transaction, but it might also mean that an old version of tamer had incosistent data and needs to be fast-forwarded.
Transactions guarantee that, whatever the lag is, there is exactly one message (as in exactly-once delivery) pending for consumption.
The only caveats are that:

Upgrades from old tamer must be done on well behaving topics (lag=1)
There is only one replica writing to the state topic

Tested and working


Compatibility Issue With EvilCraft

I am not crashing of this moment, but however, upon installing BETA16 of Thaumcraft, EvilCraft's Vengeance Focus, an item that pushes defeated mobs' ghosts in to a Box of Eternal Closure. The version of EvilCraft is not the problem as I have had it prior to installing Thaumcraft and it worked as intended.
I have Thaumic JEI, Thaumic Periphery, and Thaumcraft Inventory Scanning installed as well. I am also using the most recent forge version, 2707.

I have no idea how TC would be able to influence the EC item at all. You might want to report it to whoever codes Thaumcraft Inventory Scanning however.

I did here.
https://github.com/CyclopsMC/EvilCraft/issues/701

I will do so and come back with the link.

If the conflict is confirmed to be on their side, please close this issue. Thanks!


Access raw websocket data within middleware

Hi there, I'm new with Adonis and it's
websocket library & I need to access sent raw data(packet) & headers from the client in middlewares and channel controllers.
Is there any way to access all of that and modify some headers & add data to packet structure in response?!
Note: channel/topic name is not accessible via middlewares too. Is this a lack?! I need to do some stuff before grant access to channel's controller(without creating named specific middleware for each channel).
I've nothing found in the v4.1 documentation for now. Poorest documentation for such framework I've ever seen, don't hide us things 😁

Will be nice, if you can share some code on what exactly you have tried so far. All theory can lead to the XY problem

thanks for your rapid response.
here is my middleware(outputs are commented):
`'use strict'
class AuthCustomMiddleWare {
// for HTTP
async handle (ctx, next) {
}
// for WebSocket
async wsHandle (ctx, next) {
    console.log('custom Middle Ware was dispatched');//this is working fine
    console.log(ctx.socket.id);//chat#ck07wexgk0000zgv4e3k3cvtr is on the console log
    console.log(ctx.socket.channel);//is null --why?!
}

}
module.exports = AuthCustomMiddleWare`

in this custom middleware i wanna do some checks for myself by accessing channel.name & request headers then grant access or refuse connection before reaching the channel controller.
if raw packet object(in this exact form) is accessible, how can i touch it in the middleware or controller?

let me be honest, i wanna access low level data for reading(fields out of message object) or adding some fields, such as my auth keys, hidden data, etc. to the packet structure & modify response headers in some cases too. can you help me find the handlers?
thanks for your attention & time

as i found, you have no interest to answer this question anymore. such as this link.
we need it Mr Virk! can you help us or not? clear this please.

are you dead?!

No having dinner

Enjoy your meal


getiing error with SQLTracker in dialect

Description of Problem:
I am trying to connect my psql db with rasa using this https://rasa.com/docs/rasa/api/tracker-stores/
have some blocker with
type: what it should be for psql
dialect "what is correct formate for psql
url :"is it necessary if yes tell me the correct url format "
db: database_name with table?
driver: it should be as it is or different
Blockers (if relevant):

This is not an enhancement request, but rather a usage question -- please ask it in our forum.


Nix search package

refactors search package into the chat package in prep for index syncing.
a bunch of stuff is chat package specific NewBlockingSender, NewBoxer, NewConversation etc, seems easier to do this than hit import nightmare. separated so the diff is easier when we do the syncing

true but i think it will be easier to have all the logic in a single place


R159

R159 has been released:
https://github.com/mrdoob/three.js/releases
May I please get a new release of this fine build?

It is done.


More Beauty card-footer on card-outline

More Beauty card-footer (suggestion)
When the card set to outline-color*. the card footer become ugly.
so we can add card-outline-color support for the card-footer.

Header and footer styles are basic for purpose of custom theming.

I'm with @rafalp. I definitely do not want more styling added to bootstrap. Simplicity is something I would like to begin pushing for.

We won't be making changes to support theming of the inner components. One thing I might do is make those background-colors rgba so they can blend easier with parent backgrounds, but that's about it.

I agree with @SuperWangCC that it would have been nice to have the header and footer take on the same colour scheme as the outline class applied.
However, adding "bg-*** text-white" to the card-header or card-footer produces a good result.
For example:

Header

        Content

`


added phpdoc to ProcessRunnter->run()

Q
A

Bug fix?
No

New feature?
No

BC breaks?
No

Deprecations?
No

Fixed tickets
N/A

just adding docs, escpecially for the Exception case which you might want to handle on invalid run() commands.
intentionally without a CHANGELOG.md as it seems not required.

ping @antonmedv ... should be a no-brainer.


New to python

Which api and topics do i have know about to understand your code?

Numpy and stacks.
On Wed, Apr 8, 2020, 5:11 PM Aankik Koshti<EMAIL_ADDRESS>wrote:

Which api and topics do i have know about to understand your code?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SaiTeja69/Digital_Text_To_Handwriting/issues/3, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBSTMB4YX3AIK76AIW3KG3RLRPIDANCNFSM4MD3QVGQ
.

After adding more than 4 line pycharm shows this error

same error

Check my repo i have made it in java

Great 🔥 i have been busy lately and couldn't check it ! I will fix it soon