from ouimeaux.environment import Environment error

Installed pip-3.2 and installed ouimeaux using "sudo pip-3.2 install ouimeaux" and then again trying "sudo pip-3.2 install ouimeaux --target=/usr/local/lib/python3.2/dist-packages/"
Just tried to play with some of the tutorial commands in the shell and can't import the package.
$ python3 --version
Python 3.2.3
pi@raspberrypi ~/Projects $ python3
Python 3.2.3 (default, Mar  1 2013, 11:53:50)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ouimeaux.environment import Environment
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.2/dist-packages/ouimeaux/environment.py", line 4, in <module>
    import requests
  File "/usr/local/lib/python3.2/dist-packages/requests/__init__.py", line 52, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/usr/local/lib/python3.2/dist-packages/requests/packages/__init__.py", line 39, in <module>
    from . import idna
  File "/usr/local/lib/python3.2/dist-packages/requests/packages/idna/__init__.py", line 1, in <module>
    from .core import *
  File "/usr/local/lib/python3.2/dist-packages/requests/packages/idna/core.py", line 10
    _unicode_dots_re = re.compile(u'[\u002e\u3002\uff0e\uff61]')
                                                              ^
SyntaxError: invalid syntax
>>>

Any idea what I can do to resolve this?  Thanks.

Hmm, that looks like a problem with requests, not ouimeaux. But as it's the standard request library that seems pretty strange.
It seems to be the u at the beginning of the string literal. That syntax was removed in python 3 (because all strings are Unicode by default) but returned in python 3.3. Try using a more up to date python.
Crazy that requests would have an incompatibility python 3.2, though. Maybe try googling around for a specific bug with requests.
On Dec 5, 2016, 9:55 PM -0600, Taylor Andrews<EMAIL_ADDRESS>wrote:

Installed pip-3.2 and installed ouimeaux using "sudo pip-3.2 install ouimeaux" and then again trying "sudo pip-3.2 install ouimeaux --target=/usr/local/lib/python3.2/dist-packages/"
Just tried to play with some of the tutorial commands in the shell and can't import the package.
$ python3 --version Python 3.2.3 pi@raspberrypi ~/Projects $ python3 Python 3.2.3 (default, Mar 1 2013, 11:53:50) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from ouimeaux.environment import Environment Traceback (most recent call last): File "", line 1, in  File "/usr/local/lib/python3.2/dist-packages/ouimeaux/environment.py", line 4, in  import requests File "/usr/local/lib/python3.2/dist-packages/requests/init.py", line 52, in  from .packages.urllib3.contrib import pyopenssl File "/usr/local/lib/python3.2/dist-packages/requests/packages/init.py", line 39, in  from . import idna File "/usr/local/lib/python3.2/dist-packages/requests/packages/idna/init.py", line 1, in  from .core import * File "/usr/local/lib/python3.2/dist-packages/requests/packages/idna/core.py", line 10 _unicode_dots_re = re.compile(u'[\u002e\u3002\uff0e\uff61]') ^ SyntaxError: invalid syntax >>>
Any idea what I can do to resolve this? Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/iancmcc/ouimeaux/issues/145), or mute the thread (https://github.com/notifications/unsubscribe-auth/AADic-SrWVWVjhErODQ1MXr6W4scTG6Vks5rFNyngaJpZM4LE_3h).

Thanks so much for your help.  I used the ouimeaux python package last year on python 2.7 and loved it.
I used a guide (https://procrastinative.ninja/2014/07/20/install-python34-on-raspberry-pi/) to compile and install Python 3.4 in a virtual environment and installed ouimeaux using pip3.
I have a simple python script based on the documentation:
from ouimeaux.environment import Environment
import socket
def on_switch(switch):
print("Switch found!", switch.name)
def on_motion(motion):
print("Motion found!", motion.name)
env = Environment(on_switch, on_motion)
env.start()
But that results in a networking error from gevent.   Does ouimeaux / gevent require ipv6?

Traceback (most recent call last):
  File "test.py", line 12, in <module>
    env.start()
  File "/home/pi/.virtualenvs/python34/lib/python3.4/site-packages/ouimeaux/environment.py", line 86, in start
    self.registry.server.start()
  File "/home/pi/.virtualenvs/python34/lib/python3.4/site-packages/gevent/baseserver.py", line 304, in start
    self.init_socket()
  File "/home/pi/.virtualenvs/python34/lib/python3.4/site-packages/gevent/pywsgi.py", line 1451, in init_socket
    StreamServer.init_socket(self)
  File "/home/pi/.virtualenvs/python34/lib/python3.4/site-packages/gevent/server.py", line 127, in init_socket
    self.socket = self.get_listener(self.address, self.backlog, self.family)
  File "/home/pi/.virtualenvs/python34/lib/python3.4/site-packages/gevent/server.py", line 138, in get_listener
    return _tcp_listener(address, backlog=backlog, reuse_addr=cls.reuse_addr, family=family)
  File "/home/pi/.virtualenvs/python34/lib/python3.4/site-packages/gevent/server.py", line 224, in _tcp_listener
    sock = socket(family=family)
  File "/home/pi/.virtualenvs/python34/lib/python3.4/site-packages/gevent/_socket3.py", line 81, in __init__
    self._sock = self._gevent_sock_class(family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol

I have been googling and am wondering if this has to do with my /etc/hosts file?
$ cat /etc/hosts
<IP_ADDRESS>       localhost
::1             localhost ip6-localhost ip6-loopback
fe00::0         ip6-localnet
ff00::0         ip6-mcastprefix
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters

The following error appears when resolving 'localhost' but
$ host localhost
localhost has address <IP_ADDRESS>
Host localhost not found: 2(SERVFAIL)
Host localhost not found: 2(SERVFAIL)

I do not have a DNS server running.
This is also running on a Raspberry Pi flavor of Linux:
 $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.11 (wheezy)
Release:        7.11
Codename:       wheezy

I can't seem to find what this error from gevent means other than I'm guessing it can't resolve a hostname...?

I tried playing with ouimeaux on python 3.4.3 on Ubuntu 14.04 LTS VM and everything seems to work fine, so it just appears to be a problem with resolving the address on the RPI's.  Thanks so much for your help!


Feature/particles

This is amazing I love it! Very elegant, but simple! Very well documented! I've left some comments in the source, mostly what to beware of during the nextrelease merge conflict process.

This is so amazing. I'm going to have to study this!

Hey @kcsaff any notes on current status? Just curious. :smile:

Changes Unknown when pulling e2b032196c20269ad7e0a160b2d8436f9e90daba on feature/particles into ** on master**.

Changes Unknown when pulling 204349bc3ce534e7cfb1c63ab7fadcb1bf8f4c0a on feature/particles into ** on master**.

Changes Unknown when pulling 204349bc3ce534e7cfb1c63ab7fadcb1bf8f4c0a on feature/particles into ** on master**.

Changes Unknown when pulling dde153af62f06d7ccf7919ff5ccc48a0382a3796 on feature/particles into ** on master**.

Changes Unknown when pulling cc5bb5fd332e5b03480b8f1656801d81b91116b5 on feature/particles into ** on master**.

100% coverage! That's a wrap.  It's all yours now, @lily-seabreeze


Cannot purchase a service

I cannot purchase a service that doesn't belong to me. The service exists, the offer also exists.
The address has sufficient funds
➜  core git:(dev) ✗ mesg-core marketplace purchase marketplace
? Enter the account to use 0xfde8b69e8eee1c116bc678602a752c909189f955
? Enter passphrase *
? Enter the offer index to purchase 0
? Are you sure to purchase service "marketplace" for 1 MESG Tokens and for a duration of 36000 seconds? Yes
Returned error: gas required exceeds allowance or always failing transaction

I find the source of the problem: it's the function to estimate the gas needed.
As your account didn't allow the smart contract of the marketplace to spend token on its behalf, the transaction to buy will always failed...

let's force the maximum number of gas that these transactions can consume.
We need to test the maximum amount of gas the contract will need for the allowance and the purchase and then we can double it to make sure that we will always have enough.
nice catch


DEV-14396 Terraform module to generate Tamr config.

https://datatamr.atlassian.net/browse/DEV-14396
Initial attempt started as a submodule in terraform-aws-tamr-vm, but decided it was better to create a separate module.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


deps: bump google-auto-auth dependency

This change picks up fixes introduced in v0.7.1 of google-auto-auth, notably related to context loss.

Can we get this into a release?

Hi @lukesneeringer -- would you be able to make a new release sometime soon?


wrong html generated

Hi @DigitalFlow
Sometimes we experience strange HTML code being generated. The generated HTML code includes lots of NaN (not a number) expressions. Although the template is looking good in the WYSIWYG editor, in the inbox of the customer the email layout appears wrong. After re-creating the table layout (rows and columns) in the WYSIWYG editor, this NaN expressions disappear and the template looks fine again. Unfortunately this issue is not visible in the WYSIWYG editor.
Do you have any idea or could you provide us a hint where to look at?
This is one example:

Hi @CrmDev23,
this problem did not yet occur to me.
But as I do no parsing of the JSON or HTML myself, if the problem still occurs in the latest version, you might take a look at the unlayer editor bug tracker and even submit a bug yourself: https://unlayer.canny.io/bug-reports
Kind regards,
Florian

Thanks @DigitalFlow . I'm going to raise a ticket on the unlayer side.


avoiding zombie processes

when using goxhkd with things like bspwm, it left lots of zombie processes behind because it didn't wait for a command to finish.
fixed that behaviour by wrapping the command execution in a go routine and waiting for the process to finish

oh, sorry about that.
thank you!


My Money Calendar final changes to CFPB branch

Merging final iteration of raft-tech/cfgov-refresh: my-money-calendar into cfpb/consumerfinance.gov:my-money-calendar-tool.

@MissyM2 can you make this pull request to a new branch instead of an existing one? That way it won't include every chance since the last time this branch was updated

@ascott1 Yes, I can do that.

Closing in favor of PR #5998


lora

Once lora is used, something like this will appear ，There is no such thing without using lora

It is a log that also appears normal.
It does not indicate abnormality.
Don't worry about it.


Reducing requirements for initializing headers

In the 2020-May-04 LDWG meeting, issue https://github.com/p4lang/p4-spec/issues/846 and its associated PR https://github.com/p4lang/p4-spec/pull/848 were discussed, as well as the related issue https://github.com/p4lang/p4-spec/issues/845
It was decided that for version 1.2.1 of the language spec, for both out parameters and local variables, it would be made explicit that all headers, header unions, and header stacks that are in these places of a P4_16 program, or within a struct or tuple in one of these places, would be mandated to be initialized as invalid, as opposed to the main alternate proposal, which was allowing implementations to leave the valid bit of such headers to remain uninitialized and undefined, i.e. it would be unpredictable whether hdr.isValid() would return true or false for such headers.
It was also decided to create another issue for future discussion that in a future version of the language spec, these requirements should be eliminated, i.e., an implementation would be allowed to leave the valid bits of such headers undefined.  This is that issue.
A concern was raised that at least for out parameters, but perhaps also for local variables, writing the spec such that the valid bits could be undefined would be a backwards-incompatible change, requiring existing P4_16 programs that rely on such initialization to be changed in order to continue working as they did before.  If we were strict about following the rules of semantic versioning, it seems that such a change in the language spec should cause the language specification to increase the major version number, e.g. from 1.2.1. to 2.0.0.

With recent improvements to the specification, I think this can effectively be closed.


feat: Add LinkTarget to FileSystemInfo for .NET 6 targets

Overview
In .NET 6, additional symlinks support was added to FileSystemInfo. This PR adds at least one of those properties here, the LinkTarget property.
See https://github.com/TestableIO/System.IO.Abstractions/issues/789
We need to discuss the mock portion of this though as I'm not sure how this codebase expects that.

I think that this is probably a minor version bump, since it adds to the API without changing existing APIs? But I'm not sure.

Thank you! I'll try to update it all today

Note that this PR is pending #791 because of the enhancements that will add to MockFileInfo

@fgreinacher I accepted your review comments. Can't believe I didn't indent those things correctly. I think the conditional comments threw me off, which is silly.


Expose model's partial shape and related types

To be able to interrogate the shape of an arbitrary model's inputs and outputs at runtime, we need to wrap and expose the partial shape and related structs.

Thank you!


Test CTL template

For this issue: https://github.com/fullctl/ixctl/issues/41
Uses the Django template: https://github.com/20c/ctl-tmpl-django/pull/1

Codecov Report

Merging #42 (4d770cd) into master (d83894e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   77.71%   77.71%
=======================================
  Files          26       26
  Lines         987      987
=======================================
  Hits          767      767
  Misses        220      220

Continue to review full report at Codecov.

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


Enhancement: Only commit staged files if files have been staged.

Issue
I appreciate Aider's commit messages; they often surpass Copilot's, which seems to have declined recently.
In my workflow, I stage the files I intend to commit, create a commit message for them, and then proceed to stage the next set of files.
I'm considering using Aider's /commit feature for this process. However, Aider currently stages and commits all modified files.
This doesn't align with my method of working alongside Aider, where I prefer to commit only the staged files, not every changed file.
Additionally, I've observed that Aider overlooks new files during /commit. If /commit is designed to stage and commit all changes, excluding new files appears to be an oversight.
Finally, during refactors, I often end up with numerous uncommitted files. I need to segment these into several commits. Even if I wanted Aider to commit everything, I would encounter a "diff too large" error.
Version and model info
Aider v0.43.4
Models: openrouter/anthropic/claude-3.5-sonnet with diff edit format, weak model gpt-3.5-turbo
Git repo: .git with 505 files
Repo-map: using 1024 tokens
VSCode terminal detected, pretty output has been disabled.
Use /help  to ask for help, run with --help to see cmd line args

I want this too!


Reporting a vulnerability

Hello!
I hope you are doing well!
We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly.  GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.
Can you enable it, so that we can report it?
Thanks in advance!
PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository

Thank you for reaching out to us regarding your findings. SmartThings partners with Bugcrowd for responsible disclosure of bugs/risks. Please submit your report here: https://bugcrowd.com/smartthings


Add Dynamic 240 case system

This PR will fail until a new PSY release

bump @sourabhdalvi on this PR


Geos cycling tasks

Description
Major refactoring of GEOSgcm gcm_run.j within Swell and the addition of relevant tasks and utilities. Includes recent updates regarding configurations and task questions.
New suite forecast_geos allows running coupled GEOSgcm with 5 deg ocean horizontal resolution and PE12x72-CF atm. resolution. 0.66 and 0.25 degree tests were also simulated but they will require a few more modifications to run.
New suite 3dvar_cycle is capable of running coupled GEOSgcm with 5 deg ocean horizontal resolution and PE12x72-CF atm. resolution with 24 hour DA window. 2/3- and 1/4-degrees runs are also possible. Appropriate IC files need to be provided rest is handled by 3dvar_cycle
These changes allow hot starting 3DVar cycling GEOS from a previous run using configuration files created with gcm_setup. Swell assumes $HOMDIR and $EXPDIR are collocated (if not, only the RC folder needs to be moved from $EXPDIR to the $HOMDIR).
User needs to point to the $HOMDIR of the previous run (for hotstarting) as well as the *_rst files, MOM.res.nc (can be multiple), and tile.bin created by a previous GEOS simulation. Rest is handled by Swell tasks internally.
Capabilities

Parsing AGCM.rc, CAP.rc, and gcm_run.j into dictionaries to obtain grid, BC, and physics information. This allows modifications of BCs according to cycle time step similar to what's done in gcm_run.j.
Using dictionary or string replacement for modifying NUM_SGMT and JOB_SGMT entries in CAP.rc and 'n' to 'r' change in input.nml .
Creating cap_restart automatically.
Renaming *_checkpoint to *_rst.
Can handle optional restart output option in AGCM.rc called RECORD_FREQUENCY which will be useful for DA outputs.
Obtaing next cycle dir information using forecast duration (I will modify this to be previous or next cycle dir in the future).
Works with Skylab v4.
Works with Geos Krok
Time information for GEOS is obtained from the *_rst files. This could pose an issue between yaml setup and restart files so probably requires some time difference check in Swell. GEOSgcm handles this internally and quits if mismatch is too high.
Updating MOM.res.nc  with the ocn.analysis file from SOCA with PrepareAnalysis task. This task could easily be updated to handle ice, sfc, and bgc files using SOCA nomenclature.
GEOS model files are now confined in geosdir.

Some current issues

Only 6 x 1 processor layout is supported for now as that is hard coded in the AGCM.rc and MOM_override which is obtained by gcm_setup.
RunGeosExecutable does not allow repeating runs in the same folder if the model progressed some time steps during the first try and outputted history files. GEOS fails and exits if it sees those history files during next try.
MPI arguments from gcm_run.j were not included. mpirun automatically assumes MOM6 (LD_PRELOAD=$GEOSDIR/lib/libmom6.so was not necessary). These did not cause issues on my end but something to keep in mind.
RPLY works for 0.25 degree tests but only works for certain cycle start times, more relevant for cycling DA considerations.
-P1D in flow.cylc requires manual change for geos suites, -P1 does not work in UTC mode.
cycle_times need to be added to flow.cylc for 3dvar_cycle suite.
DA cycling works with restarts, gives NaN error with history files.
Storing restart and obs files outside of run directories.

Thanks for putting together this great and extensive piece of work. I haven't tested things yet but started adding a few minor comments.


Update main.py

ensure imageio.miwrite gets an np.array
I have plugged a styegan2 config model from stylegan3 and imageio.miwrite throws:
ValueError: Image must be a numpy array.

This still throws: ValueError: Image must be a numpy array.


feat: define pgame.identical pgame.memₗ pgame.memᵣ

This PR is the first step to remove PGame.Relabelling (which is only for implementing things in lean and not real identity) and define games with identity as Eq.
Zulip

[ ] depends on: #5888

(Was a mathlib3 PR)

This PR/issue depends on:

leanprover-community/mathlib4#5888
By Dependent Issues (🤖). Happy coding!

Thanks for the PR @negiizhao! I have been eagerly awaiting this cleanup in the Combinatorial Game Theory section of the library, and I appreciate you putting in the effort to get it done.
I volunteered to review this and #7162 on Zulip. I haven't gone through individual proofs yet, so I want to comment on the direction this takes the library in and the plan for these files.
I've just made a tracking issue for SetTheory/Game. This PR agrees with that roadmap, checking off the first box, so I agree with the direction this takes the library in. That said, I wonder where to draw the boundary of what goes inside one PR. It would be nice to remove Relabelling entirely and do so in the same PR that introduces its replacement -- Identical. I imagine that the reason Relabelling wasn't removed in #7162 was because Short still has lemmas which depend on it. Can we just delete those lemmas? The consensus seems to be that the current definition of Short is meaningless anyway.
Once we have the removal of Relabelling and its replacement by Identical in the same PR, it would be nice to minimize the diff so that the PR is effectively just updating the definition of Relabelling, fixing proofs, deleting statements which are no longer true because they never respected extensional equivalence, and renaming Relabelling -> Identical. To that end, I would request that we split out the main unrelated change that I'm seeing in the diff of #7162: adding @[nolint simpNF, simp] to a bunch of lemmas. If those are necessary dsimp lemmas, then can we remove @[simp] from the conflicting non-definitonal lemma? (Note that we will probably be able to remove all of this API for PGame, including this simp lemmas, once we have a foundational API for IGame that doesn't reference PGame at all)

Sorry for delay. I've been very busy these past few months. I'm not sure we can completely remove Relabelling now. Not only Mathlib.SetTheory.Game.Short, everything in Mathlib.SetTheory.Game.State depends on it too. cc @semorrison

Sorry, I don't have much time to look at this. @timotree3, it seems you have a coherent plan here, can you push it over the line? Ping me once all it needs to final approval and a merge. :-)


Integrate WhatsApp Apis in Employee portal

We need to integrate WhatsApp Apis so that we can interact with our applicants.

We will use Gupshup as a service provider.
We will take the OPT-INs from our resume form.
We will send the notifications to the applicants.

This will be a one-way communication for now.  I mean we will not see all the responses we will receive from the users.

@AkhileshNegi @pankaj-ag any plans on this?

@rathorevaibhav yes I have set up the service project.
https://github.com/coloredcow-admin/php-whatsappservice
Only the test cases are remaining for now.
I will integrate that package on the portal soon.


owncloud-client: 2.4.2 -> 2.4.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/owncloud-client/versions.
meta.description for owncloud-client is: '"Synchronise your ownCloud with your computer using this desktop client"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/4c8ryrqg0h9sl8j1gmv884w0qsybny47-owncloud-client-2.4.3/bin/owncloud had a zero exit code or showed the expected version
/nix/store/4c8ryrqg0h9sl8j1gmv884w0qsybny47-owncloud-client-2.4.3/bin/owncloudcmd passed the binary check.
1 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 2.4.3 with grep in /nix/store/4c8ryrqg0h9sl8j1gmv884w0qsybny47-owncloud-client-2.4.3
directory tree listing: https://gist.github.com/5c55dcf5eaa83aebec18fa059d95811f
du listing: https://gist.github.com/66fe013f6821dc55dc27604c5d0fff59

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 77a806dd4e5e6bbcae7ee4d5db315f76b7a6d52d && nix-shell --pure -I nixpkgs=. -p owncloud-client

cc @qknight for testing.

Success on x86_64-linux (full log)
Attempted: owncloud-client
Partial log (click to expand)
shrinking /nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3/lib64/owncloud/libocsync.so.2.4.3
shrinking /nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3/lib64/libowncloudsync.so.2.4.3
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3/lib64  /nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3/bin
patching script interpreter paths in /nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3
checking for references to /build in /nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3...
moving /nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3/lib64/* to /nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3/lib
postPatchMkspecs
postPatchMkspecs
/nix/store/5zd5ghjfhdniyzd5ipzhv76vdp2r918j-owncloud-client-2.4.3

Success on aarch64-linux (full log)
Attempted: owncloud-client
Partial log (click to expand)
shrinking /nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3/lib64/libowncloudsync.so.2.4.3
shrinking /nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3/lib64/owncloud/libocsync.so.2.4.3
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3/lib64  /nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3/bin
patching script interpreter paths in /nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3
checking for references to /build in /nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3...
moving /nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3/lib64/* to /nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3/lib
postPatchMkspecs
postPatchMkspecs
/nix/store/4hzkf81byfisw4wqvqvz023ldy6kb85y-owncloud-client-2.4.3

Failure on x86_64-darwin (full log)
Attempted: owncloud-client
Partial log (click to expand)
  Source/cmake/WebKitCommon.cmake:50 (include)
  CMakeLists.txt:137 (include)

-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-qtwebkit-5.212-alpha-01-26-2018.drv-0/source/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/nix-build-qtwebkit-5.212-alpha-01-26-2018.drv-0/source/build/CMakeFiles/CMakeError.log".
builder for '/nix/store/z6xdvpp1iz9ighsgcmxpzichyyw2xinq-qtwebkit-5.212-alpha-01-26-2018.drv' failed with exit code 1
cannot build derivation '/nix/store/40hq04lqaxz5700bac0r097kib6ks17c-owncloud-client-2.4.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/40hq04lqaxz5700bac0r097kib6ks17c-owncloud-client-2.4.3.drv' failed

Mainly bug fixes


Global subscription

Ask your Question

How to check is internet connected or not globally, instead of checking it on every page.

write a function component which subscribes to netinfo and write the online state to your app's state like this
    const dispatch = useDispatch();
    React.useEffect(
        () =>
            NetInfo.addEventListener(({ isInternetReachable }: NetInfoState) => {
                dispatch(setIsOnlineAction(isInternetReachable ?? false));
            }),
        []
    );


[scheduler] Check if a builder exists before triggering it

It's common for release branches to have builders that were removed, but the .ci.yaml indicates the builds should be triggered.
To avoid this, the scheduler should verify with LUCI if a builder is available. This will prevent issues where the builder has been removed upstream.

This is resolved.


Update schema to support custom filter conditions in properties

No changes required, can be done with existing schema


[Bug] Port 52637 binding error

Erorr message pop up when opening the app: 无法绑定端口 52637。你的设备将无法被发现。

Can you make sure that your system is running only 1 instance of LANDrop?

I'm not sure. This issue was gone after a system reboot.

The same problem. And I'm sure that the system is running only 1 instance of LANDrop. Moreover, I check the system ports and make sure that no other app ocuppied the port 52637.

The same problem. And I'm sure that the system is running only 1 instance of LANDrop. Moreover, I check the system ports and make sure that no other app ocuppied the port 52637.同样的问题。我确定系统只运行了一个LANDrop实例。此外，我检查了系统端口，并确保没有其他应用程序占用端口52637.

same


Asciidoctor 2.0.0

This PR upgrades Asciidoctor core to 2.0.0.
I also upgraded a few of the other gems after looking at the dependencies of Asciidoctor and what are the most current compatible versions.
For a release a new version of asciidoctor-diagram and asciidoctorj-diagram is required.
Once we have that I would like to release an AsciidoctorJ 1.7.0.
(I don't want to release a 2.0.0 yet given that there is still so much disagreement about how the API should look like in the future)

:tada:


Use a streaming iterator when parsing xlsx

Today the entire file is saved in memory. We can probably have a BufReader<ZipFile> wrapper like what is done in xlsb to be a bit more efficient.

Closing, this issue is on vba, not xlsx


Create chan for stderr and stdout

Use io.Pipe.

Writing to stdout and stderr is now wrapped with goroutine.

It will probably be refactored later.


[Latest Chrome] Select component sometimes open for fraction and closes itself automatically

Hi, vuesax select component is somehow broken. When I try to open options, it just opens for fraction of second and closes itself automatically. Sometimes it works.
You can test it on your docs.
I have a GIF for you.

After some debugging, I found that this is because of latest chrome release. This issue is related to latest chrome. In my old browser it worked.

Duplicate #501

Having the same issue.
I hope this will be fixed soon.
Thanks!

me too.
having the same issue
please update

Any update???

Also need this update!
Not working

i have getting same issue in windows os but not getting in linux os why??

We are affected as well. It's a total loss of functionality. our whole system is down. Can you please treat this as P1?

This seems to affect Chrome v73.0 and up on windows as well as macOS. As a temporary workaround, you can enable autocomplete which seems to make the glitch disappear.

Hey bois, I found the issue, focus is called twice
line 215-218 of vsSelect.vue
focus: (event) => {
  this.$emit('focus',event)
  // document.removeEventListener('click',this.clickBlur)
  this.focus(event)
}

If you get rid of line 218 this.focus(event) it seems to do the trick.
Funny enough on the other listeners only the $emit is used and are never called twice.
I'll test that more in the coming days for side effects and make a PR if everything seems in order.
Cheers

@ashleymoogle any updates??

the same problem using chrome Version 73.0.3683.103 (Official Build) (64-bit) - ubuntu

Thanks to @ashleymoogle's suggestion, I think I was able to fix it.  I have an open PR (#537) that I believe fixes it.

@jsinhSolanki @bci24 @yqgit @ziltonvasconcelos @chunilkim1 @thepepperone  Can you please check and verify if it is fixed?

Hello @Jacrys for taking time for this issue.
Your fix didn't solved your issue. I have tested it in Vuesax docs and also on my site. It didn't worked.
GIF of our docs:

Any updates ?

@ErenYatkin in latest commit by @luisDanielRoviraContreras this issue is transferred in select don't close sometimes.

Thanks for your efforts.

@jsinhSolanki I realized that if a v-select did not have v-model this occurs.

I think this issue is working fine on last version v3.8.75. It can be closed.

i'm using vuesax 3.11.13 and have the same issue.

Same problem on Edge Chromium (83.0.478.58) but not Firefox (77.0.1), Vuesax 3.11.17

This issue is still there on Vuesax 3.11.17, when clicking on a select it becomes readonly, completely broken...


Installing 1.4.4alpha4

Having difficulty in understanding how to install alpha4 after git checkout -b
INFO: pip is looking at multiple versions of comictagger[gui] to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'comictagger' requires a different Python: 3.8.10 not in '>=3.9'

Unsuccessfully $ pip3 install .[GUI] switching between 3.8, 3.9. 3.10 using sudo update-alternatives --config python
New to python so I realize it is a noob testing question.  Thanks!

you should be able to run pip3.9 install --user --pre 'comictagger[GUI]'


[build] publish commonjs module arround our Framework files.

Use gulp-wrap-common-js arround our files in order to clean the syntax for the broser build.

browserify has been used to rewrite modul dependency with a new gulp task gulp browserify


Fail to run the Infer binary

Hi, when I downloaded the latest infer binary from the releases and got the below errors. What should I do? Thanks
xxx@ubuntu:~/tools/infer-linux64-v1.1.0/bin$ ./infer
./infer: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./infer)
./infer: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/xxx/tools/infer-linux64-v1.1.0/lib/infer/infer/bin/../libso/libsqlite3.so.0)
./infer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/xxx/tools/infer-linux64-v1.1.0/lib/infer/infer/bin/../libso/libsqlite3.so.0)

How to deal with it please?

This problem remain active I'm on Ubuntu 18.04 and it seems that the machine where the binaries are built have some strange mix of libraries (mainly libm) because when I execute this command:
strings infer | grep "GLIBC_2\.29"
exp@@GLIBC_2.29
log@@GLIBC_2.29
pow@@GLIBC_2.29
GLIBC_2.29

But when I do the same on any other working binary that is working I get:
strings libsqlite3.so.0.8.6 | grep -E "(exp|log|pow)@@GLIBC_2"
exp@@GLIBC_2.2.5
pow@@GLIBC_2.2.5
log@@GLIBC_2.2.5

Only those functions are the ones requesting GLIBC_2.29.


Better error messages for mixins

TypeScript Version:  nightly (2.5.0-dev.20170727)
Issue #4890, "Allow class to extend from a generic type parameter", is marked solved. So let's try it out:
function f<T extends new() => any>(C: T) {
	return class extends C {}
}

Huh? We get src/a.ts(2,23): error TS2507: Type 'T' is not a constructor function type..
That's not too intuitive since it worked fine with C: new() => any.
We actually need:
function g<T extends new(...args: any[]) => any>(C: T) {
	return class extends C {}
}

Maybe the error message should mention something about needing ...args: any[]?

@andy-ms thank you! I didn't realize the signature had to be exactly new (...args: any[]) => something and was trying to use new (...args: {}[]) => any which currently fails with the not a constructor function type error.

@DanielRosenwasser recommendations?

Classes may only extend types bounded by constructors with a single rest parameter of type 'any[]' (e.g. 'new (...args: any[]) => {0}').

Related span:
Did you mean for '{0}' to be declared with type 'new (...args: any[]) => {1}'.

Correction: We actually actually need:
function g<T extends new(...args: any[]) => {}>(C: T) {
	return class extends C {}
}

Returning any is unsafe, see #26286

People have been getting this wrong for over a year. Maybe TypeScript should add a constructor<T> built-in type?


ConsoleReporter sends INFO to stdout

Fixes #16701
Tested only manually.
For example, with tailrec printer enabled,
scalac -Vprint:typer example.scala > x 2> y

puts tree output and tailrec trace in x, warnings & errors & summary count in y.
x is the output I asked for. This makes it easier to see trace and trees correctly interleaved, since > out 2>&1 does not guarantee it.
Tests may depend on how output is captured. Scala 2 partest captures stderr to log, for example.

The "42 warnings found" message was INFO (undesired) and now WARN, but override in test reporter as no-op, as it is not needed for testing. (There must be 42 "warn" annotations. We assume the reporter knows how to count.) (On scala 2, the summary message is in the check file.)


Cannot See Previous Evaluation History Intermittently

I don't know why, but sometimes I cannot see my previous evaluation history intermittently.
Once it goes away, it takes a few more evals before it becomes visible again.
Not sure where should I look into...

@sangwoo-joh are you still seeing this problem?

We can reopen this if we get repro instructions!


RDK-43221 SystemServices - Replace System Commands

RDK-43221 SystemServices - Replace System Commands
This is a subtask of RDK 42211
Reason for change: Trying to make RDK-E lean, as part of this gerrit, updating the touch and rm commands  in Rdkservices, System plugin
Test Procedure: Basic sanity and tested using curl commands.
Risks: Medium.
Priority: P0

Creating pull request for topic/simplification_rdkvs branch.


Use existing connection in X.H.DynamicBars

This is just the patch from https://code.google.com/p/xmonad/issues/detail?id=538, updated so it applies to the latest version of the file.
This fixes that issue for me using both the minimal xmonad.hs from the bug report and using my real configuration.

I was going to open a PR for just this patch. I use it as well, no problems.


Refactoring and Version Control

Summary

Add version control using semantic-release (need to add also Auto PR for saving time to write this lol)
Fixing tests which not worked cause of new version
Refactor important pieces in the code
Bump version.

NOTE: Sorry about the hour, I just want it to fully work today!
IMPORTANT!
DON'T DELETE THE next branch! is used for the versioning

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


From now, CICE will be using the air density calculated by HYCOM,

instead of a constant value. HYCOM calculates the air density accoring to the ideal gas law which depends on the air temeperature, sea level pressure and specific humidity.

The commit looks sane.
I assume that it has been tested. E.g output rho air from cice.
This will modify the drag coefficient and the heat exchance with the atmosphere

Plots looks fine


MODE-2589 Fixes the handling of empty binaries by the DatabaseBinaryStore in the case of Oracle

Looks good.


escape potential special characters in password

Avoids breaking the shell command with passwords that have special characters in them. Shouldn't really matter in practice anymore since app specific passwords are required.
But if anyone - like me - first tries with their actual password before they even get to that Apple message, at least they don't get stuck at that error.

Thanks for the update!


Car play show wrong caller id and also audio doesn't end on call end, required to force close the app

Before filing an issue please check that the issue is not already addressed by the following:

Github Issues
Changelog

Please ensure that you are not sharing any
Personally Identifiable Information(PII)
or sensitive account information (API keys, credentials, etc.) when reporting an issue.

Describe the bug
In continuation of this bug I found another issue related to car audio. I am using it with the voice sdk android for my voip calling app. When an incoming call came in, it shows binary number like 1000000 as caller id on car dashboard while on my mobile app it shows correct caller id. so my caller id is like phone number - name or some time name - team name(both strings). Also when call is ended from app it still ongoing on car bluetooth and it only ends when i force close the app. So any resolution on this?
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
It should end the call from car bluetooth without force closing app. Also it should show correct caller id instead of 100000 number.
Actual behavior
It shows wrong caller id with some binary number like 100000 and also call is not ended on car dashboard when ending from mobile app.
Application Logs

Logcat logs with logging enabled and AS/ logcat filter applied.

AudioSwitch Version

Version:1.1.8

Android Device (please complete the following information):

Device:Car audio/play bluetooth
API Version: 33/34

Screenshots

Additional context
Add any other context about the problem here.

Any updates on this? or workaround?

@softsan AudioSwitch currently does not support any custom bluetooth actions, we only trap connection and disconnection actions. At this point this is not on our timeline, but it's not to say that we could not add support for custom actions at later date.


Fix tsup arguments

This is caused by the change in https://github.com/kitsuyui/react-playground/pull/237

Codecov Report
All modified lines are covered by tests :white_check_mark:

Files
Coverage Δ

packages/clock/src/digital/digital.tsx
100.00% <100.00%> (ø)

packages/clock/src/index.ts
38.09% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.


Bump omnibus-software/ksubrama/ruby23

Force push last night took away the commit we were locked to

skipping travis and appveyor, since this change doesn't apply to them.


Done fires before updates are done

Hi MindDuster!
thanks for the plugin.
I noticed the Done callback can and will fire before the last Update callback is fired.
This was an issue for me when queuing additional jquery page animation during update and when done.
Thanks!.

it's not the intended behavior. thanks for the report.
unfortunately.. i'm currently under heavy load.
if someone wants to jump in: feel free to contribute.
else: it has to wait a little


support build dependencies features

I actually came here to ask for this. At least I think this is what I want. In nushell I'd like to tell what features were used during the build.

I'm try to do it.

ref: https://crates.io/crates/document-features


PathKit: port to Windows

Windows does not provide the Unix glob and fnmatch functions. Emulate these with the closes equivalences (FindFirstFileW and PathMatchSpecExW).  This should allow us to use this library on Windows.
This does not cover the tests which will need to be adjusted subsequently.

Turns out that this is woefully insufficient and the changes required to support this is too invasive.  I'm going to close this for now, feel free to use it as a base if you feel motivated to port the library.


Update ome-faq.yml

added list of supported files

@JohanFreelancer9

@KCCross Please merge this PR. Thanks

Docs Build status updates of commit caef4ac:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/ome-faq.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


User is redirected to "already logged in" page when she has restricted access to subdomain.

Use case:
Log in as harry and go to https://secret.test.local:8080/secret.html
You should see the "already logged in" page.

The issue was coming from the fact that /verify sent an error 401. Unfortunately, nginx redirected to authentication page when 401 is sent. And since the user was already authenticated, this page was rendered.
To fix the issue, /verify sends an error 403 for domain restriction and 401 when user is not authenticated.

Fixed with #63


How to get different outputs for the same prompt?

I used a gemma, it always returned  same outputs for same prompt.
How can I get different outputs? Is there any method or parameter for sampling? (I even doubt that top_p works.)

You can try using --seed 1234  for example.

I already try using seed, temperature, top-p, but it still returned same outputs for same prompt.

Not sure what is going on but this works as expected for me, could you provide some way to reproduce the issue? Fwiw here are my outputs.
$ cargo run --example gemma --release --features cuda -- --prompt "Hey there " --seed 123 -n 100 --temperature 0.5

Hey there 0141,

Thanks for coming to Apple Support Communities with your question about the songs you've purchased. We understand that some of your music is missing from your iPhone and we'd like to help.

If you are using iTunes on the same computer as your iPhone, this can be a common issue if your device has been wiped clean or reset in the past. You may want to try resetting your network settings:

1. Open Settings on your iPhone.
2. Tap
100 tokens generated (76.70 token/s)

$ cargo run --example gemma --release --features cuda -- --prompt "Hey there " --seed 124 -n 100 --temperature 0.5

Hey there <strong>@1234567890</strong>,

Thanks for reaching out to the Community regarding this. I'm sorry you're experiencing this issue with your account. I understand it can be quite frustrating when things aren't working as expected.

I'd like to take a moment and ask for some more details about what exactly is happening? Is this an error message or just something that isn't loading properly?

In the meantime, if you need further
100 tokens generated (77.00 token/s)

Thanks for your help, it was worth to me. I didn't give both the temperature and the seed value, but I was giving them one by one.


A story of Provision and Consume more Cloud Resources

Background
KubeVela can compose an appliction with cloud resource and K8s workload, currently the cloud resources supported in kubevela story is a bit less. KubeVela need cloud resources have a K8s controller to provision and it is now provided by crossplane alibaba-provider which only support mongodb.
According to the community feedback, we need to support more cloud resources working with kubevela.
The priority of cloud resources needed may be: SLS > OSS > VPC >Redis > SLB > RDS(mysql) > DRDS > MongoDB > ACR > SMS > EDAS > ACM >ECS > RoketMQ > SCHEDULER_X...

The first issue here is that we need to provision more types cloud resources.
Besides the resource provision, we also need a standard way to consume the cloud resources.

Provision more Cloud Resources
There are some optional solutions to provision cloud resources:

Write/Use a terraform K8s controller which run terraform cli inside the controller. We can write a controller from scratch or consider these candidates: https://github.com/rancher/terraform-controller https://github.com/isaaguilar/terraform-operator . If writing a new one, we need to implement at least these features:

Run a K8s job for every resource provision request and gather the results. We must not block the main reconcile logic.
Keep the terraform state of the cloud resources, store in configmap or somewhere reliable.
A terraform HCL contain full information should be embeded inside the terraform controller CRD, it needed to be clearly understood and see.
The lifecycle Management of Cloud resources should be supported align with the CR, once the CR deleted/updated, the resources should be deleted/updated.
Create a K8s secret after the cloud resources are provisioned.

Extend Crossplane Alibaba-provider, there are two options:

Write controller one by one.
Generate Controller from API/Code just like the https://github.com/crossplane/provider-aws

Consume the resources provided
To consume the resources in Application, we need to define the binding process from the data provider and the consumer.
For the data provider, let's add a context variable called outputSecretSchema(the name is open for discuss) in workloadDefinition. The outputSecretSchema defines the name of the secret that the underlying cloud resource provider will create.
Assuming we're using crossplane(it's the same for terraform controller if we implement), the workflow will be as follows.
Once the cloud resources created successfully, the crossplane will create a secret, assuming the data is:
apiVersion: v1
kind: Secret
metadata:
  name: secret-sample
type: <workload-type> // we can mark the type to `my-db` which point to the workloadDefinition name if the controller is implemented in OAM/KubeVela ecosystem.
data:
  dbName: "mydb"
  password: "my-password"

The workloadDefinition should define like this:
kind: WorkloadDefinition
metadata:
  name: rds
spec:
  schematic:
    cue:
       template: |
          parameter:
             region: string
             version: string
          outputs:
            apiVersion: database.aws.crossplane.io/v1beta1
            kind: RDSInstance
            spec:
              forProvider:
                region: parameter.region
                engine: postgres
                engineVersion: parameter.version
              writeConnectionSecretToRef:
                namespace: context.namespace
                name: context.outputSecretName

Along with the context.outputSecretSchema , we need to add a keyword outputSecretName implicitly into parameter.
Application can use the workload like this:
apiVersion: core.oam.dev/v1alpha2
kind: Application
metadata:
  name: data-provision
spec:
  components:
    - name: mydb
      type: rds
      settings:
        region: "us-east-1"
        version: "1.9.0"
        outputSecretName: "mydb-outputs"

The outputSecretName in component settings is not defined in template.parameters, it's a implicit parameter defined by kubevela system which will pass into the context.outputSecretName.
For the secret consumer, we need to define the schema it wants to consume, mostly for data validation.
kind: WorkloadDefinition
metadata:
  name: webserver
spec:
  schematic:
    cue:
       template: |
          parameter:
             image: string
             //+k8sSecretSchema=mydata
             mysecret: string
          mydata: {
             dbName:  string
             password: string
          }
          outputs:
            kind: MyWorkload
            spec:
              image: parameter.image
              password: context.mydata.password

The key point is the annotation //+k8sSecretSchema=mydata, then the KubeVela engine will know the parameter is a K8s secret which follows the schema mydata. The engine will read the secret and pass it into the context.
apiVersion: core.oam.dev/v1alpha2
kind: Application
metadata:
  name: data-consumer
spec:
  components:
    - name: myweb
      type: webserver
      settings:
        image: "nginx"
        mysecret: "mydb-outputs"

Dependency
This issue will not include the Dependency discussed here https://github.com/oam-dev/kubevela/issues/873.
I assume the cloud resource provider and consumer are two apps.

Hi, @wonderflow
In my point of view, to implement a terraform controller there be some tough problems to solve:

A controller is reconciling desire status and final status, but a terraform controller use  kubernetes job to avoid block the reconcile process. So how could terraform controller known the status of cloud resource? For example, if a RDS is down, how could the terraform controller know?
How could we get RDS or Redis resource use kubectl command?  For example, when we create a application with a component named test which type is webservice, we could use kubectl get webservice to get all webservice resources.

But if use the solution of extending Crossplane's Alibaba-provider, it's not general for other cloud provides. 😁

The lifecycle Management of Cloud resources should be supported align with the CR, once the CR deleted/updated, the resources should be deleted/updated.

We need to be careful about deleting resources, they can be shared between applications or even users (90% of the time)

But if use the solution of extending Crossplane's Alibaba-provider, it's not friendly for other cloud providers. 😁

I wonder why is the Crossplane's provider mechanism not friendly for other cloud providesr?

A controller is reconciling desire status and final status, but a terraform controller use  kubernetes job to avoid block the reconcile process. So how could terraform controller known the status of cloud resource? For example, if a RDS is down, how could the terraform controller know?

I think the Terraform controller will have to reconcile (by creating a job) periodically to check the state of the resources and store it in a configMap or a custom CR.

The key point is the annotation //+k8sSecretSchema=mydata, then the KubeVela engine will know the parameter is a K8s secret which follows the schema mydata. The engine will read the secret and pass it into the context.

I am not sure why the consuming workloadDefinition needs to declare the schema of the secret instead of the resource provider.  Isn't it the provider's responsibility to announce the secrete schema?

Isn't it the provider's responsibility to announce the secrete schema?

Yes, it is. But the consumer also need to declare the schema that they can consume.

But if use the solution of extending Crossplane's Alibaba-provider, it's not friendly for other cloud providers. 😁

I wonder why is the Crossplane's provider mechanism not friendly for other cloud providesr?

You lost the word Alibaba-provider.  I mean just extend Crossplane's Alibaba-provider is not meet the needs of other cloud providers to create resources.

apiVersion: core.oam.dev/v1alpha2
kind: Application
metadata:
name: data-consumer
spec:
components:
- name: myweb
type: webserver
settings:
image: "nginx"
mysecret:
secretName: "mydb-outputs"
keyMapping:
- username: user
password: password
It is a great idea to inject credentials into workloads by leveraging k8s secrets! And I think using this feature in traits is also a strong need. However, declaring the secret schema in workload definition make it not so generalized as I expected.
There are 3 roles in this use case:

The secret provider, e.g. crossplane
The secret consumer, e.g. workload definition/trait definition
The KubeVela Applicaiton

A secret provider would never know a consumer's idea about how to name each key, and it should never do it.
A generalized consumer should use a secret in a constantly way, no matter which provider it comes from.
A KubeVela Application should work as a shim to fit both secrets provider and consumer.
After a hard thinking, I think we might make it better if extend the original design a little more.
Assume we have a secret like this (no matter who creat it):
apiVersion: v1
kind: Secret
metadata:
  name: rds-secret-sample
type: Opaque
data:
  username: "mydbuser"
  password: "mypassword"

The consumer uses the secret in a way it likes:
kind: WorkloadDefinition
metadata:
  name: webserver
spec:
  schematic:
    cue:
      template: |
        parameter:
          image: string
          mysecret: {
            name:
            data: {
              dbUsername: {
                key: string
                value: string
              }
              dbPassword: {
                key: string
                value: string
              }
            }
          }
        outputs:
          kind: MyWorkload
          spec:
            image: parameter.image
            args:
            - password=context.mysecret.data.dbPassword.value
            env:
            - name: DB_USERNAME
              valueFrom:
                secretKeyRef:
                  name: mysecret.name
                  key: context.mysecret.data.dbUsername.key

We could map key names via settings of the component in Application like this:
apiVersion: core.oam.dev/v1alpha2
kind: Application
metadata:
  name: data-consumer
spec:
  components:
    - name: myweb
      type: webserver
      settings:
        image: "nginx"
        mysecret:
          name: "rds-secret-sample"
          data:
            dbUsername:
              key: username
            dbPassword:
              key: password

Well, this may not look like a perfect solution, but seems work nicer in this use case. Comments are welcome.

After discussed with @0902horn  offline, I have understand that we wants a way to do secret schema convert when the secret provider and consumer has the different schema.
So we can write a secret/configmap converter trait(with a CRD controller) to do the converting/mapping.
The converter trait will work for this case as long as the following rules exist:

secret provided by the cloud resources has immutable schema. If the schema changed, the application need to update.
secret was created outside from the application, so the secret is always ready when the application deployed. Currently, the application controller won't handle the complexity DAG for both provider and consumer in the same Application.
users can specify the new created secret name with the converter trait.

A working example could be:
apiVersion: core.oam.dev/v1alpha2
kind: Application
metadata:
  name: data-consumer
spec:
  components:
    - name: myweb
      type: webserver
      settings:
        image: "nginx"
        mysecret: "mydb-outputs-converted1"
      traits:
      - name: oss-trait
        settings:
          mysecret: "mydb-outputs-converted2"
      - name: key-mapping-trait
        settings:
        - secretName: "mydb-outputs"
          outputSecret: "mydb-outputs-converted1"
          keyMapping:
            ossUsername: username
            ossPassword: password
        - secretName: "mydb-outputs"
          outputSecret: "mydb-outputs-converted2"
          keyMapping:
            ossUsername: username1
            ossPassword: password2

We have supported design in this issue: https://kubevela.io/docs/platform-engineers/cloud-services .
As there're still many discussions here, I'll keep the issue open and leave it to the next milestone.

Here are some items we need to consider on improvising the current design of cloud resource provisioning and consuming https://kubevela.io/docs/platform-engineers/cloud-services in upcoming releases.
Limitations

The namespace of a cloud resource provisioning application has to be the same as that of the consuming one

KubeVela 1.0 doesn't support cross-namespace cloud resource secret consuming.

Users have to be careful not generate a same secret name by two same or different cloud resources

KubeVela 1.0 doesn't support validate whether two same secrets (namespace + name) are used all over the cluster.

When provisioning and consuming a cloud resource in a same application, using a secret value isn't supported.

KubeVela 1.0 doesn't support using a value of a secret's item due to the issue https://github.com/oam-dev/kubevela/issues/1350
Cloud resources provisioning
How to expose the secret and its items?

Crossplane: Expose the secret name and namespace in writeConnectionSecretToRef

apiVersion: "database.alibaba.crossplane.io/v1alpha1"
kind:       "RDSInstance"
spec: {
  writeConnectionSecretToRef: {
  namespace: context.namespace
  name:      context.outputSecretName
  }
  }

Terraform: Expose the key-value items in output

{
  "resource": {
    ...
  },
  "output": {
    "BUCKET_NAME": {
      "value": "${alicloud_oss_bucket.bucket-acl.bucket}.${alicloud_oss_bucket.bucket-acl.extranet_endpoint}"
    }
  },
  "variable": {
    ...
  }
}

KubeVela 1.0

Both of Crossplane and Terraform provided a unified way for cloud resrouce exposing.
Currently KubeVela expose the secret name in spec.*.properties.outputSecretName, but actually it's not an item of parameter of ComponentDefinition.
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: webapp
spec:
    - name: sample-db
      type: alibaba-rds
      properties:
        ...
        username: oamtest
        outputSecretName: db-conn

Platform team needs to use context.outputSecretName as the secret reference.
apiVersion: "database.alibaba.crossplane.io/v1alpha1"
kind:       "RDSInstance"
spec: {
  ...
  writeConnectionSecretToRef: {
  namespace: context.namespace
  name:      context.outputSecretName
  }
  ...
}

We are going to replace outputSecretName with a user-defined secret name like secretName, secret and so on. Then in ComponentDefinition, it's convenient to use parameter.secretName, parameter.secret can refer to the key. In this design, application developer has to be tell what's the secret name of the cloud resource or they won't know by secretName, secret, xxx which is not a fixed property.
schematic:
cue:
  template: |
    output: {
        apiVersion: "database.alibaba.crossplane.io/v1alpha1"
        kind:       "RDSInstance"
        spec: {
            forProvider: {
                engine:                parameter.engine
                engineVersion:         parameter.engineVersion
                dbInstanceClass:       parameter.instanceClass
                dbInstanceStorageInGB: 20
                securityIPList:        "<IP_ADDRESS>/0"
                masterUsername:        parameter.username
            }
            writeConnectionSecretToRef: {
                namespace: context.namespace
                name:      parameter.secretName
            }
            providerConfigRef: {
                name: "default"
            }
            deletionPolicy: "Delete"
        }
    }
    parameter: {
        engine:          *"mysql" | string
        engineVersion:   *"8.0" | string
        instanceClass:   *"rds.mysql.c1.large" | string
        username:        string
        secretName: string
    }

How to consume cloud resources?
Referebces

Service broker resource connection mapping

service binding spec

docker swarm

It assumes the number of environments, and all names of environments are the same as all items of a secret, which is ideal beyond the production experiences.
wordpress:
 depends_on:
   - db
 image: wordpress:latest
 ports:
   - "8000:80"
 environment:
   WORDPRESS_DB_HOST: db:3306
   WORDPRESS_DB_USER: wordpress
   WORDPRESS_DB_PASSWORD_FILE: /run/secrets/db_password
 secrets:
   - db_password

VMWare service bindings

azure-service-operator


feat: add vue2 support

#8
I still have to work on this, maybe vite-plugin-vue2 requires some changes too.

I got it :).
It now works with both vue2 and vue3 plugin, without even referencing any plugin name.
It should also be more performant : In current version, a markdown file is processed two times instead of once by the vue plugin on HMR.
The first invocation is caused by this instruction from md plugin :
https://github.com/antfu/vite-plugin-md/blob/b7fc74a63c1a3fdd7657a48f51a1cf008fabaa44/src/index.ts#L27-L32
But a second invocation is still performed by the vue plugin itself, because *.md is included in the vue plugin configuration.
// From README.md
export default {
  plugins: [
    Vue({
      include: [/\.vue$/, /\.md$/], // <--
    }),
    Markdown()
  ],
}

This second invocation can't work properly, as the file is processed with raw unconverted markdown content. @vue/template-sfc seems to be more lenient and doesn't fail, but vue-template-compiler used inside the vue2 plugin fails because of this.

Great, thansk!


Missing Abbreviation for Microsoft.Cdn/Profiles/AfdEndpoints/Routes

I am using fdr for the time being.

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

ID: 8c22eb33-2fde-55b4-021d-e229c857e51b
Version Independent ID: 1f767675-7d50-6ea5-b798-1323cd4a63a1
Content: Abbreviation examples for Azure resources - Cloud Adoption Framework
Content Source: docs/ready/azure-best-practices/resource-abbreviations.md
Service: cloud-adoption-framework
Sub-service: ready
GitHub Login: @stephen-sumner
Microsoft Alias: ssumner

@jacobspack - Thank you so much for the suggestion! Sorry for the delay getting back to you.
This is a good suggestion. I normally don't provide abbreviations for resources that embedded (3rd child resource). I'd recommend using a descriptive name as the documentation suggests: https://learn.microsoft.com/en-us/azure/frontdoor/create-front-door-bicep?tabs=CLI


Flow doesn't refine generic type

Not sure if this is even possible:
/**
 * @flow
 */

type X = {
  type: 'x';
  x: string;
};

type Y = {
  type: 'y';
  y: string;
};

type XY = X | Y;

type Cont<+T: XY = XY> = {
  value: T;
};

function RenderC({cont}: {cont: Cont<>}) {
  if (cont.value.type === 'x') {
    let contx: Cont<X> = cont;  <-- ERROR: property 'x' not found XY
    return <RenderX cont={contx} />;
  } else if (cont.value.type === 'y') {
    let conty: Cont<Y> = cont;   <-- ERROR: property 'y' not found XY
    return <RenderY cont={conty} />;
  }
}

function RenderX({cont}: {cont: Cont<X>}) {
  return
{cont.value.x}
;
}
function RenderY({cont}: {cont: Cont<Y>}) {
  return
{cont.value.y}
;
}

On TryFlow.

Perhaps related to https://flowtype.org/docs/dynamic-type-tests.html#caveats, this works
function RenderC({cont}: {cont: Cont<>}) {
  const value = cont.value // <= const binding
  if (value.type === 'x') {
    return <RenderX cont={{value}} />;
  } else if (cont.value.type === 'y') {
    return <RenderY cont={{value}} />;
  }
}

I think const binding ins't even needed there. I think Flow can't just refine that—there's no function call which could lead to refinement invalidation.
    return <RenderX cont={{value}} />;

Yeah, that works but that require me to reconstruct an object which is not really great as in my original code Cont has more than a single field.

Closing since this issue hasn’t seen a lot of activity. Sorry about that 😣
Please reopen with a reproduction on https://flow.org/try if you are still having issues!


Add in user login attempts into audit logs

Hi.
I just found out that there no information about user sign-in to rancher server in the audit logs. This is really important to keep track of successful and failed sign-in attempts.
Rancher Version: 1.0.0
Cheers.

@vincent99 isn't this an API call as well?

It is, but it's not currently logged because it's not a real resource being created/modified and there's no account to associate it with on failure.

+1 We rolled out a rancher instance, announced it, and now want to see who has at least tried logging in so we can follow up and encourage adoption.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.

Closing tickets just because some digits had changed is not the same as closing tickets when issue is resolved or become stale.
If you did some research on this topic and found that failed logging attempts are being logged in some way or there a workaround for this issues, then please tell us. If you put security features outside your scope, fine, but stand up and tell us.
The way you are managing tickets is frustrating and demotivating.


Double Vertical Slider

Hey @chicken-biryani @Ayushparikh-code
This PR will resolve => Double Vertical Slider #154
Please Review my PR

hey @chicken-biryani @harshita2216
Please Review my PR because every time I make a PR and Some other PR which was made after gets merged creates a conflict in my PR


Getting a git error

Hey,
Thanks for this great tool. I was trying to use it but it gave me an error as follows -
fatal: not a git repository (or any of the parent directories): .git
Then I simply tried to run cpdf -help and it still gave me a similar error.
I understand that this error implies that I am running some git command outside a git repository. But I was hoping that I could run this command in any directory. Could you please help me if I am missing something?
P.S. - I simply installed it using the following commands as per your suggestion in the readme file:
brew tap oncletom/brew
brew install cpdf

Thanks,
Naman

Which version of homebrew do you have?
brew tap oncletom/brew will clone https://github.com/oncletom/homebrew-brew, and then cpdf is installed from https://github.com/coherentgraphics/cpdf-binaries.
Can you try again with brew tap --debug --verbose oncletom/brew?

Hey @oncletom ,
Thanks for your quick response.
Homebrew version -
brew --version
Homebrew 3.2.12
Homebrew/homebrew-core (git revision b2688cffc49; last commit 2021-09-17)
Homebrew/homebrew-cask (git revision 7764ed4222; last commit 2021-09-17)

I thought to install the cpdf, I just need to run brew install cpdf. I did not make use of any binaries.

Can you try again with brew tap --debug --verbose oncletom/brew?

Here are the results -
brew tap --debug --verbose oncletom/brew
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 1 cask.

Never mind, it actually worked this time. May be it was conflicting was the function that I had created -
cpdf () {
	git stash -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile="$1" "${@:2}"
}

But now, it works. Thanks for your response.
Naman

Strange, but glad it works now 🙂


[Regression] Nothing but black screen on Android with GLES 2.0

Godot version:

3.1.dev 68676c774d4f3b7bfad8866a08546acf5a594cdf
OS/device including version:

Android 8.0 / Galaxy S8+
Issue description:

Everything works but nothing shows on screen but black with 0ef85b55e004f1b4a68aa57f9ae3a4a88ad1ee4c
it works fine if reverting it.
Steps to reproduce:
Minimal reproduction project:

Note that, it works fine on desktop but not on mobile.

Same behaviour on my end.
Godot v: v3.1.dev.calinou.1c17c2b
Android v: Android 7.1

Same here
Godot v3.1.dev
Commit: c93888ae71bcc2b633f335b407c75412a493012d
Android: Android 9


Update Page “home”

Automatically generated by Netlify CMS

Deploy preview for dds-mil ready!
Built with commit 43a0d1c566d8d73f371e07ad0675f9cf4ea76ef2
https://deploy-preview-171--dds-mil.netlify.app


:package: Feat: Add @tevm/common package

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1008  👈
#1007
#1006
#1005
#1004
#1003
#1002
#1001
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


want to do create preview image of pan viewers - get center portion of preview stuff

Hi Matthew Petroff,
I am using Pannellum library. it is very excellent and appreciate library usability.
I have one query for preview things. please check this url -
https://pannellum.org/documentation/examples/preview-image/
https://pannellum.org/images/tocopilla.jpg
https://pannellum.org/images/tocopilla-preview.jpg
here are two url one is for panviewer and another is static image so my question is -
How to i get center portion for preview image of Pan Viewers?
Suppose i have to create preview image for pan viewers, what to do on next step?
Regards
Sanny Soni

I don't understand your question. The preview image is just a static image that is displayed before loading the panorama. You can create it however you like.

suppose i am working on server side coding and upload pan viewer images, taking screen-shot for static image so how can i take exact portion of pan viewer which you mentioned on preview image of your example.
is there any way for taking exact portion like zoom-in and crop center portion of the functionality?

You could probably script something using Hugin or possibly Selenium, but it's out of Pannellum's scope.


[Feature request] Accented character input menu (like in macOS)

Description of the new feature / enhancement
Overview of feature:
A menu, to select character accents when typing, which can be selected using either the keyboard or mouse.
Options in the already present keyboard options menu. E.g. delay until menu appears (we want this to be configurable based on typing speed/key release speed), size/style of the menu that appears and perhaps whether or not the menu will appear next to the caret (when I mention the word caret, I’m referring to the text cursor not the symbol “^”) or the mouse cursor.
Example image below of the implementation in macOS

I also linked to their usage guide in the "supporting information" section below.
I’m not familiar with writing a spec, so I will be referring to points made in this stackoverflow blog post.
External components that the solution will interact with and that it will alter:
I will be interacting with the already present keyboard manager utility. Specifically, the functions listening for key presses already. This will hopefully reduce conflict, with already present features in powertoys, by integrating this change with the “keyboard manager”.
Dependencies of the current solution:
I might need a dependency to determine the location of the caret/mouse. The dependency needed for this is “Winuser.h” in the Win32 API. Additional information on its use
Pros and cons of the proposed solution:
Pros:
Easier to type in foreign languages without needing to use spell check. No need to learn alt codes for each accented character.
Aids people with disabilities in typing faster. There is no need to use sticky keys + alt codes.
There is no software currently available (afaik) that can do this on Windows.
Cons:
Inconsistent features – The Windows on screen keyboard would not have a feature for selecting accents. (We could look into this further to see if it is possible, if people think it is necessary).
Some applications might use their own caret, in which case the menu wouldn’t have a specific location. (It could default to the top or bottom of the screen).
I have only considered this feature for languages that use the Latin alphabet.
Note about development:
I would greatly appreciate feedback such as adjustments to the feature plan and how I can stay in contact with the development team to make sure the feature is implemented correctly.
Thank you for reading.
Scenario when this would be used?
This feature would be useful for people typing in a foreign language where accented characters are needed. It is much more intuitive than the option at the moment (memorizing alt codes and switching keyboard layouts).
Supporting information
This is the implementation in macOS. I would be developing a similar feature for powertoys.
API method used to get current caret position.
Example of how alt codes are used.
Alternative to alt codes. This is still less desirable to my proposed feature in terms of accessibility.
Please note, I'm planning on developing this feature myself not requesting someone else to do it. I was directed here from the contributor's guide.

Please note, I'm planning on developing this feature myself not requesting someone else to do it.

🥳
Actually this is a duplicate of #2668. @damienleroy is also working on this, so I would suggest you compare notes. Have you spoken with @crutkas too?

/dup #https://github.com/microsoft/PowerToys/issues/2668

/dup https://github.com/microsoft/PowerToys/issues/2668


API revamp

See the API section in the new README.
The APIs are being re-done to allow for sources to be sorted. This enables us to get faster initial queries and better support use cases where queries can change.
The APIs are also being re-done to allow Materialite to handle pagination for the user. The main driving factor for this is so that the output of Materialite can be plain JS Arrays ([]).
Why can't the output be plain arrays now?
Well it can but, for large result sets, that is expensive. The reason it is expensive is that inserting into a sorted array is, at worst, O(n).
Allowing windows of a view to be materialized, rather than the whole view, lets us keep this cost down for users that want plain old JS objects.
The astute reader may point out: you can keep the existing APIs and materialize the whole thing then take a slice of the view as an array.
This is true. Maybe I will 🤔. But we should still support sorted sources.

Everything is in place for:

efficient take
efficient & hoistable after

Take needs to understand:

Is source sorted or unsorted?

On unsorted sources, take is stagnant and will never allow new entries into the window. It will allow updates of old entries, however.
Note: take and removals... we need to ask the source for more data on a removal that leaves us with not enough data in the window? take and updates... we don't model "update" explicitly but rather model "delete" then "add"
EventMetadata should move to be a property of the multiset as the recomputation would be captured in a single multiset.
pull currently pulls all the things but can we pull a slice? Well pull with a hoisted after does this.
E.g., for window case: some way to go to source and ask for missing data in the case that room opened in the window.