Updated the reseed documentation

The doc currently says in 2008 R2 and earlier the next insert is new_reseed_value + current increment. This is not correct. Tested in 2014, 2016, 2017, the increment is applied in those versions. I do not have 2008R2 or 2008 to test the validity of the "or earlier" statement. It is possible this should be (or later).
 The author, @uc-msft, has been notified to review your proposed change.

Thank you @way0utwest apologies for the delay.  Based on emails with @uc-msft he thought the changes looked good.  #sign-off

@craigg-msft: I'm sorry - only the author of this article, @uc-msft, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Typo in grub-bhyve command when os=debian

Just needed a space after $wire_memory.

Nice catch, thank you!!!


No internet/ping with WireGuard, only local access

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[-] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
A clear and concise description of what the bug is, including last known working version (if any).
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:

Setup WG according to this guide: https://docs.opnsense.org/manual/how-tos/wireguard-client.html (No Hybrid Outbound, Only IPv4, perform 4A with a dedicated (virtual) Interface, no gateway etc)
Restart Umbound
Restart WG
See error

Expected behavior
I should be able to ping <IP_ADDRESS> or browser internet while on the WG connection.
Describe alternatives you considered
I've tried everything I can think of. Adding Hybrid Outbound, opening all ports, using public DNS, adding a separate Gateway and so on...
Screenshots
Tba, on mobile phone now.
Relevant log files
Tba, on mobile phone now
Additional context
Internet dies for the whole firewall the instant I activate WireGuard. I can't even use the diagnostics (Interface menu) and ping. All my other VPS dies and looses internet connection until I disable WireGuard - then it instantly works again.
I've tried deleting the whole setup with the latest FW yesterday and redone it again to get the latest tweaks, but it doesn't work.
I use Unbound, and have tried setting both <IP_ADDRESS> (Firewall) and <IP_ADDRESS> (WG interface) for DNS, but it fails anyway.
I know there have been a lot of posts similar to this, but at least those guys had internet, I can't even ping anything.
Looking at the Unbound logs, I can see that it successfuly negotiates DNS and resolves it, but I doesn't come through the Firewall to the client. I can also see that the Firewall logs lights up green, and it seems like the sites I visit are allowed and working, but again, nothing happens on the client, and internet is dead on the whole firewall!
Been on this for at least 6 hours now.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1.6 (amd64).
Supermicro 1U server (new 2020)

perhaps config error? I try to enable wireguard on opnsense. Initially, I had the same issue.
After troubleshoot a bit, enable wireguard itself doesn't cause issue, it was the peer config that allowed <IP_ADDRESS>/0 causing issue. Check out https://homenetworkguy.com/how-to/configure-wireguard-opnsense/#optional-add-firewall-rules-to-access-internal-networksdevices and official docs for more guidance.

@chaijunkin Thanks, but I can't find anything on that subject in the post you linked. Do you mean this?

Because I actually do want to route all traffic trough WG, as I want to use my own Unbound DNS with DoT and so on.
So I'm using <IP_ADDRESS>/24 for Tunnel (on the instance), and that's a single VLAN that doesn't collides with any ither VLAN. And I'm using <IP_ADDRESS>/0 on the client side for above reasons. Is that wrong?

I have the exact same setup with Unbound DoT.
Try to disable the peer, instance, wireguard one by one. and see your network is working or not.
For client (mobile device or others), <IP_ADDRESS>/0 is fine. It will allow all traffic.
if you put <IP_ADDRESS>/0 in peer allowed ip's (should put client IP), you might get some issue on routing.

Whuut, it works. Don't know what I've done differently now, but it finally works!
For someone else coming here looking for answers, this is my laptop setup
[Interface]
PrivateKey = XYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX=
Address = <IP_ADDRESS>/32
DNS = <IP_ADDRESS>

[Peer]
PublicKey = XYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX=
PresharedKey = XYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX=
Endpoint = ddns.dedyn.io:51820
AllowedIPs = <IP_ADDRESS>/0


Assertion `s>=0' failed

Been using this with no problem for several weeks until today, no longer loads any graphic and i get this as output:

chia@clr-19~/chiaharvestgraph (main) $ ./chiaharvestgraph ~/.chia/mainnet/log
Monitoring directory /home/chia/.chia/mainnet/log
read 117219 lines from log.
read 117272 lines from log.
read 118317 lines from log.
read 120000 lines from log.
read 116329 lines from log.
read 119337 lines from log.
chiaharvestgraph: chiaharvestgraph.c:133: add_entry: Assertion `s>=0' failed.
Aborted (core dumped)

Any idea whats going on here?

This bug is already fixed, I think.
You need to grab latest.
$ git pull
$ make
...should do it.
On Tue, Jun 1, 2021 at 8:23 AM LeviathanBaphomet @.***>
wrote:

Been using this with no problem for several weeks until today, no longer
loads any graphic and i get this as output:
@.***~/chiaharvestgraph (main) $ ./chiaharvestgraph
~/.chia/mainnet/log
Monitoring directory /home/chia/.chia/mainnet/log
read 117219 lines from log.
read 117272 lines from log.
read 118317 lines from log.
read 120000 lines from log.
read 116329 lines from log.
read 119337 lines from log.
chiaharvestgraph: chiaharvestgraph.c:133: add_entry: Assertion `s>=0'
failed.
Aborted (core dumped)
Any idea whats going on here?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stolk/chiaharvestgraph/issues/32, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPE4EPR4QMAHBYYXPSTE3TQT3QJANCNFSM45445R2A
.

--
Owner/Director of Game Studio Abraham Stolk Inc.
Vancouver BC, Canada
@.***

Thanks i guess it was pretty lazy i didn't even try that!


Updated Russian localization directory and added docs/ru/docs/tutorial/bigger-applications.md

Was updated next files with corrected spelling mistakes:

async.md
contributing.md
index.md
features.md
index.md
python-types.md
background-tasks.md

Removed js, css and img directories, that was added by accident -_-^.
Added russian localized bigger-applications.md file.

Thanks @Artemius10111! :nerd_face:
Please create a separate PR for bigger-applications.md, another for the updates, and if there are code changes needed, please put those in another PR too. Having different PRs for each thing makes it easier to review them, and there's a better chance of them getting merged, as changes needed in one area don't affect the others.


Bug: Overlay Tint keeps moving after the its dragged on figma website

Steps to reproduced

Open the figma website
Enable the overlay
Move the overlay
The moving does not stop after the mouse up

Expected behaviour
The moving of the overlay should stop on mouse up

was fixed with refactor of the line focus code


Add documentation about single row writes and compression

I was using the GenericWriter and writing one row at a time as I read in the data, thinking that compression would happen after calling close. What actually happened was that when writing the same html data 1,000 times, one row at a time, ended with a 192 MB file. Writing all the rows at once resulted in a 7 MB file, while also using 70% less RAM.
I'm not saying that this is a bug, but it would be helpful to have in the documentation. Maybe using GenericBuffer would have worked. I don't feel like I understand well enough what happened to add it to the readme. It feels like compression is applied for each Write call separately, but the output file said I had 1 row group, so I thought meant the full row group was compressed together.
Thanks for a great library.

Hello @derekperkins, thanks for reaching out!
The problem you describe sounds more like a bug than a feature, the number of calls to WriteRows shouldn't influence how the writer creates and compress column pages.
Would you be able to submit a test that highlights the issue?

Maybe the fact that it was chained with a GCS writer did something, I don't know. Here's some example code showing how we're doing it in case that's helpful, sorry I can't be more helpful by adding a test.
type parquetRow struct {
	SERPID      int64     `parquet:"serp_id"`
	KeywordID   int64     `parquet:"keyword_id"`
	RetrievedAt time.Time `parquet:"retrieved_at"`
	HTML        []byte    `parquet:"html"`
}

good compression example
func (a *App) writeParquetFile(c context.Context, batchID int64, rows []parquetRow, minRetrievedAt, maxRetrievedAt time.Time) (attrs *storage.ObjectAttrs, err error) {
	// if the parquet write fails, the cancelFunc is how we stop the GCS file from saving
	c, cancelFunc := context.WithCancel(c)

	// set up the combined destination parquet file and write it out
	filename := fmt.Sprintf("%s/batch_id_%d.parquet",
		time.Now().Format("2006/01"),
		batchID,
	)
	parquetFile := a.parquetBucket.Object(filename)

	gcsWriter := parquetFile.NewWriter(c)
	gcsWriter.ContentType = "application/parquet"

	// nest the parquet writer
	w := parquet.NewGenericWriter[parquetRow](gcsWriter, parquet.SchemaOf(&parquetRow{}), parquet.Compression(&zstd.Codec{Level: zstd.SpeedBestCompression}))
	defer func() {
		// set the named return var
		err = w.Close()
		if err != nil {
			cancelFunc() // cancel the GCS write
			return
		}

		err = gcsWriter.Close()
		if err != nil {
			return
		}

		// this is only set after the gcsWriter is closed
		attrs = gcsWriter.Attrs()
	}()

	// batch write operation
	_, err = w.Write(rows)
	if err != nil {
		return nil, err
	}

	// either attrs or err is set in the deferred function
	return nil, nil
}

bad compression example
func (a *App) writeParquetFile(c context.Context, batchID int64, rows []parquetRow, minRetrievedAt, maxRetrievedAt time.Time) (attrs *storage.ObjectAttrs, err error) {
	// if the parquet write fails, the cancelFunc is how we stop the GCS file from saving
	c, cancelFunc := context.WithCancel(c)

	// set up the combined destination parquet file and write it out
	filename := fmt.Sprintf("%s/batch_id_%d.parquet",
		time.Now().Format("2006/01"),
		batchID,
	)
	parquetFile := a.parquetBucket.Object(filename)

	gcsWriter := parquetFile.NewWriter(c)
	gcsWriter.ContentType = "application/parquet"

	// nest the parquet writer
	w := parquet.NewGenericWriter[parquetRow](gcsWriter, parquet.SchemaOf(&parquetRow{}), parquet.Compression(&zstd.Codec{Level: zstd.SpeedBestCompression}))
	defer func() {
		// set the named return var
		err = w.Close()
		if err != nil {
			cancelFunc() // cancel the GCS write
			return
		}

		err = gcsWriter.Close()
		if err != nil {
			return
		}

		// this is only set after the gcsWriter is closed
		attrs = gcsWriter.Attrs()
	}()

	// write rows 1 at a time
	for {
		row, ok := getRow() // takes ~500 ms
		if !ok {
			break
		}

		_, err = w.Write(row)
		if err != nil {
			return nil, err
		}
	}

	// either attrs or err is set in the deferred function
	return nil, nil
}


Ability to add reviewers outside of Organization in UI

Feature Description
I'm not certain if this is a bug, a feature request or a UI issue.
I would like to add a review that is not a collaborator or member of organization. In the UI, I cannot seem to be able to add them. For example, to
https://demo.gitea.com/test2/repo/pulls/1
I can't add a user "gnuman". But programatically via API this works.
curl -X 'POST'   'https://demo.gitea.com/api/v1/repos/test2/repo/pulls/1/requested_reviewers' ....
Would it be possible to add explicit users to reviews outside of the teams/org? For example, typing a username in the UI should allow that user to be added even if we do not auto-complete users outside of the organizations.
Screenshots

IIRC it is by design ..... the reviewers could only be chosen from the candidate list.
The candidate list is constructed by GetReviewers and GetReviewerTeams (with various permission checks)
So if you'd like to relax the check, that would be a new design.

I can't add a user "gnuman". But programatically via API this works.
curl -X 'POST' 'https://demo.gitea.com/api/v1/repos/test2/repo/pulls/1/requested_reviewers' ....

Maybe there are some inconsistent logics between the API and Web UI (well, it happened a lot ......)

I've just tried this on github, and I also cannot add individual outside of the target organization.. So, yes, I think this can be re-classified as a bug in API then.


CI & Lint

Remove usage of deprecated golint tool
GHA runs golangci-lint and go tests
Makefile is cleaned up and runs golangci-lint
Tests pass when run by GHA or by Makefile
Resolve golangci-lint's complaints
Migrate from ioutil to os

Whoops accidentally deleted this by deleting my branch


Document replaces_state

Confusion reigns over whether there should be a replaces_state or a prev_state, and when it should be there. We should clean up the mess

Dup #684


Update 03-demo.adoc

problems installing python and ansible on MAC OS to run the playbook -- maybe put this in a troubleshooting section

Thanks for the comment (I am responding too late) but this is very helpful. I am going to pull this out into a common troubleshooting area and link to that page.


Extend changelog back to 1.0.0

We should especially add all contributors that are not currently mentioned in the changelog. 🐦

5 years into the project I think we can accept these shortcomings in the changelog. It's all there in git anyawy.


[Deserialization] Weakened DeclContext asssertion in maybeReadGenericParams.

Explanation: An over-eager assertion in ModuleFile::maybeReadGenericParams() rejected
deserialization into the context of a generic subscript for a generic
parameter within one of its accessors. Weaken the assertion; the
DeclContext of the generic parameter will be overwritten with the
correct context later.
Scope: Rare crash-on-valid involving deserialization of @_inlineable subscripts.
Risk: Very low; we're fixing an over-eager assertions.
Testing: Regression tests; built the project triggering the assertion.
Reviewer: @jrose-apple
SR / Radar: rdar://problem/37408205

@swift-ci please test

@swift-ci please nominate


add_dependencies Cannot add target-level dependencies to INTERFACE library   target

If this is a build issue, please fill out the template below.
System information

Operating system:ubuntu14.04
Compiler version:
CMake version:3.2
CMake arguments:
Relevant libraries/versions (e.g. CUDA):8.0

CMake summary output
******** Summary ********
<please paste summary output here>

-- Could NOT find pybind11 (missing:  pybind11_INCLUDE_DIR)
CMake Error at cmake/public/utils.cmake:4 (add_dependencies):
add_dependencies Cannot add target-level dependencies to INTERFACE library
target "onnx_library".
Call Stack (most recent call first):
cmake/Dependencies.cmake:584 (caffe2_interface_library)
CMakeLists.txt:103 (include)
-- GCC 5.4.1: Adding gcc and gcc_s libs to link line
-- Include NCCL operators
-- Including image processing operators
-- Excluding video processing operators due to no opencv
-- Excluding mkl operators as we are not using mkl
-- Include Observer library
CMake Error at cmake/public/utils.cmake:4 (add_dependencies):
add_dependencies Cannot add target-level dependencies to INTERFACE library
target "caffe2_library".
Call Stack (most recent call first):
caffe2/CMakeLists.txt:125 (caffe2_interface_library)
CMake Error at cmake/public/utils.cmake:4 (add_dependencies):
add_dependencies Cannot add target-level dependencies to INTERFACE library
target "caffe2_gpu_library".
Call Stack (most recent call first):
caffe2/CMakeLists.txt:147 (caffe2_interface_library)
-- Using lib/python2.7/dist-packages as python relative installation path
-- Automatically generating missing init.py files.
CMake Error at cmake/public/utils.cmake:4 (add_dependencies):
add_dependencies Cannot add target-level dependencies to INTERFACE library
target "caffe2_observers_library".

I also met this problem


can't install

pip -vv install py-mysql-elasticsearch-sync
You are using pip version 7.1.0, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting py-mysql-elasticsearch-sync
Getting page http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/
Starting new HTTP connection (1): mirrors.aliyun.com
"GET /pypi/simple/py-mysql-elasticsearch-sync/ HTTP/1.1" 200 None
1 location(s) to search for versions of py-mysql-elasticsearch-sync:

http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/
Getting page http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/
"GET /pypi/simple/py-mysql-elasticsearch-sync/ HTTP/1.1" 200 None
Analyzing links from page http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/
Found link http://mirrors.aliyun.com/pypi/packages/2.7/p/py-mysql-elasticsearch-sync/py_mysql_elasticsearch_sync-0.3.0-py2.py3-none-any.whl#md5=4c77aa1fcdcd6d4a570e58d65b6ed0b1 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: 0.3.0
Found link http://mirrors.aliyun.com/pypi/packages/2.7/p/py-mysql-elasticsearch-sync/py_mysql_elasticsearch_sync-0.3.2-py2.py3-none-any.whl#md5=faf144d93d3f82c8bd087386a2dfea85 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: 0.3.2
Found link http://mirrors.aliyun.com/pypi/packages/2.7/p/py-mysql-elasticsearch-sync/py_mysql_elasticsearch_sync-<IP_ADDRESS>-py2.py3-none-any.whl#md5=0b88f54799e02ec0875b7708ef816455 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: <IP_ADDRESS>
Found link http://mirrors.aliyun.com/pypi/packages/2.7/p/py-mysql-elasticsearch-sync/py_mysql_elasticsearch_sync-<IP_ADDRESS>-py2.py3-none-any.whl#md5=a8b4f98c128a20f427764b33dd35bfb2 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: <IP_ADDRESS>
Skipping link http://mirrors.aliyun.com/pypi/packages/3.5/p/py-mysql-elasticsearch-sync/py_mysql_elasticsearch_sync-0.2.1-py3-none-any.whl#md5=ebe524a047e5437892f8506e1815e9b3 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/); it is not compatible with this Python
Found link http://mirrors.aliyun.com/pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-0.2.1.tar.gz#md5=58d4f4b7905ba6b6a8cd6f25a5dbb1d6 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: 0.2.1
Found link http://mirrors.aliyun.com/pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-0.3.0.tar.gz#md5=2ac412df604fdfa7a7904e31636afe5b (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: 0.3.0
Found link http://mirrors.aliyun.com/pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-0.3.2.tar.gz#md5=8e0d6126adadad61b5a0618533971a56 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: 0.3.2
Found link http://mirrors.aliyun.com/pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-<IP_ADDRESS>.tar.gz#md5=91ac5d579ec7c9c56e7a49b310529bde (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: <IP_ADDRESS>
Found link http://mirrors.aliyun.com/pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-<IP_ADDRESS>.tar.gz#md5=a3e12f3d88167db51e8eed30ef9af485 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: <IP_ADDRESS>
Found link http://mirrors.aliyun.com/pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-<IP_ADDRESS>.tar.gz#md5=3c3d78a4d5f1826114031ec5deab74b7 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/), version: <IP_ADDRESS>
Using version <IP_ADDRESS> (newest of versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, 0.3.2, 0.3.2, 0.3.0, 0.3.0, 0.2.1)
"GET /pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-<IP_ADDRESS>.tar.gz HTTP/1.1" 200 11443
Downloading http://mirrors.aliyun.com/pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-<IP_ADDRESS>.tar.gz
Downloading from URL http://mirrors.aliyun.com/pypi/packages/source/p/py-mysql-elasticsearch-sync/py-mysql-elasticsearch-sync-<IP_ADDRESS>.tar.gz#md5=3c3d78a4d5f1826114031ec5deab74b7 (from http://mirrors.aliyun.com/pypi/simple/py-mysql-elasticsearch-sync/)
Running setup.py (path:/tmp/pip-build-0mVEJh/py-mysql-elasticsearch-sync/setup.py) egg_info for package py-mysql-elasticsearch-sync
Running command python setup.py egg_info
Traceback (most recent call last):
File "", line 20, in
File "/tmp/pip-build-0mVEJh/py-mysql-elasticsearch-sync/setup.py", line 2, in
import es_sync
File "es_sync/init.py", line 2, in
from future.builtins import str, range
ImportError: No module named future.builtins
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 20, in
File "/tmp/pip-build-0mVEJh/py-mysql-elasticsearch-sync/setup.py", line 2, in
import es_sync
File "es_sync/init.py", line 2, in
from future.builtins import str, range
ImportError: No module named future.builtins

Cleaning up...
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0mVEJh/py-mysql-elasticsearch-sync
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 223, in main
status = self.run(options, args)
File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 290, in run
requirement_set.prepare_files(finder)
File "/usr/lib/python2.6/site-packages/pip/req/req_set.py", line 334, in prepare_files
functools.partial(self._prepare_file, finder))
File "/usr/lib/python2.6/site-packages/pip/req/req_set.py", line 321, in _walk_req_to_install
more_reqs = handler(req_to_install)
File "/usr/lib/python2.6/site-packages/pip/req/req_set.py", line 505, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/lib/python2.6/site-packages/pip/req/req_set.py", line 123, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/lib/python2.6/site-packages/pip/req/req_install.py", line 407, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/lib/python2.6/site-packages/pip/utils/init.py", line 732, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0mVEJh/py-mysql-elasticsearch-sync

I have also the same problem with you !!
Collecting py-mysql-elasticsearch-sync
Using cached py-mysql-elasticsearch-sync-<IP_ADDRESS>.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-iGRbYP/py-mysql-elasticsearch-sync/setup.py", line 2, in
import es_sync
File "/tmp/pip-build-iGRbYP/py-mysql-elasticsearch-sync/es_sync/init.py", line 2, in
from future.builtins import str, range
ImportError: No module named future.builtins

sorry for late reply.
Can you check where the package future is installed or not? It should be required.

hi :
what’s your python version,try to upgrade 3.x i have been solve that
原始邮件
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>发送时间:2016年7月12日(周二) 20:10
主题:Re: [zhongbiaodev/py-mysql-elasticsearch-sync] can't install (#9)
I have also the same problem with you !!
Collecting py-mysql-elasticsearch-sync
Using cached py-mysql-elasticsearch-sync-<IP_ADDRESS>.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-iGRbYP/py-mysql-elasticsearch-sync/setup.py", line 2, in
import es_sync
File "/tmp/pip-build-iGRbYP/py-mysql-elasticsearch-sync/es_sync/init.py", line 2, in
from future.builtins import str, range
ImportError: No module named future.builtins
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


MBC6: Fix description of flash commands

I found some mistakes in the flash commands description:

Erase sector size is actually 128 KiB, not 8 kB.
The address of the last byte in the command sequence for "erase sector"
must be an address within the erased sector.
There is really only one "exit mode" command that works for all modes.
The data being written to the final address in programming mode doesn't
have to be 0. It can be anything but $F0.
$F0 doesn't have to be written to the final address. It can be written
to any address.

I experimented with the Nintendo Power GB Memory cartridges and with Net
de Get. I wrote a documentation here:
http://iceboy.a-singer.de/doc/np_gb_memory.html
There are things not documented in Pan Docs:

The flash in Net de Get also has a hidden 256 byte region that can be read
and programmed.
It has commands for protecting and "unprotecting" sector 0.

I don't know, if you want to add them. Maybe those things are not used by
Net de Get. I can't tell, because all my Net de Get cartridges came with an
empty flash.

Thanks @msinger ! I'd say we may also want to add http://iceboy.a-singer.de/doc/np_gb_memory.html to the references, somewhere?

I found some mistakes in the flash commands description:

Thank you for taking the time to correct them!

I don't know, if you want to add them. Maybe those things are not used by Net de Get. I can't tell, because all my Net de Get cartridges came with an empty flash.

This is fine to add regardless, as we aim to document as much of the console as possible so that homebrew devs can make use of them. Thank you!

Should I add the link to the External links section at the bottom?

Yes please!

I also noticed that there are kB units in the first paragraph. CONTRIBUTING.md says that binary prefixes should be used. I wasn't sure if it is okay to change them to KiB with this PR, even if I don't touch anything else in that region. If you like I make it unified.

If you feel like improving the document's format, then yes please. Ideally make it a separate commit, but it's no big deal if we end up with a few “drive-by” fixes.

I added the flash commands and the reference. My spellchecker tells me that "unprotect" is not a real word. I'm not a native speaker, so I don't know if this is true. The flash datasheets use this word for this operation. I googled it and it is also used for "unprotecting" Excel sheets and stuff. So it seems to be commonly used. Let me know if you want to use another word instead.

Neither Antonio nor I are native speakers either, and regardless, we accept neologisms here. This is not a Merriam-Webster office ;)

There we to! Thank you again ^^


ng add @ng-toolkit/universal "Module file (/src/app/app.module.ts) not found"

I'm submitting a...

[ ] Bug report

In package

[ ] @ng-toolkit/universal

Current behavior
Looks like The angular.json is being ignored regarding the entry-point for Universal setup and expects/requires a ~/src/ folder to exist. It looks like this, if I am not doing something wrong, is caused by the underlying CLI and possibly not the tooling as it's the same error message:
C:...>ng generate universal --client-project clientside //<--default project name
Module file (/src/app/app.module.ts) not found
C:...>ng generate universal --client-project clientapp //<-- actual project root
Universal requires a project type of "application".
Expected behavior
I am  new to Angular, but I would expect my configuration to be used. Here it is:
"projects": {
"clientside": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
}
},
"root": "",
"sourceRoot": "ClientApp",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "wwwroot/clientapp",
"index": "",
"main": "ClientApp/main.ts",
"polyfills": "ClientApp/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"ClientApp/assets"
],
"styles": [],
"scripts": []
},...
[structure of ASP.net Core 3 solution]
+---Other ASP.Net Core 3 Folders
+---ClientApp (Angular Folder, No '~/src/')
|   +---app
|   |   +---contact
|   |   +---deals
|   |   +---gallery
|   |   +---models
|   |   +---services
|   |   *--app.module.ts
|   +---assets
|   ---environments
Minimal reproduction of the problem with instructions
Install @ng-toolkit/universal onto an Angular project that does not have a ~/src/ folder.
I don't think you require a full repro of the defect as I suspect I am not having something configured correctly or there might be a CLI command I just don't know about.

I changed the dir structure and its still generating error:
~\ClientApp\src>ng add @ng-toolkit/universal
Installing packages for tooling via npm.
Installed packages for tooling via npm.
[bugsnag] Loaded!
ERROR: Module file (/src/app/app.module.ts) not found
+---ClientApp
|   ---src
|       +---app
|       |   +---contact
|       |   +---deals
|       |   +---gallery
|       |   +---models
|       |   +---services
|       |   *--app.module.ts
|       +---assets
|       ---environments

I am going with Angular v9 & Universal so will close this. Seems like new CLI will help.


(PUP-735) Fail when cannot apply complete catalog

Cherry-pick from master.

Yeah, I'm +1 on a backport to 3.x. We are just about to tag 3.8.2 so I'll hold off for a day or two and then merge.
Thanks for bringing this up!!

Thanks for the contribution @scenek! So in the 3.x line, this will be out in 3.8.3.

Also, I pushed the complementary acceptance fix at: https://github.com/puppetlabs/puppet/commit/2667053d0438d650c909158c79ce85cfaee8019a


Add Python 3.10 to CI

Add Python 3.10 to the CI matrix.
Resolves #160

For some reason, the windows CI is broken and it is canceling the other executions (the same is happening in #159).
I will try to bump the actions versions and do minor refactoring on the workloads.

Even though it looks green, there is something wrong with the Windows build. I will try again tomorrow.


Sync Staging with Master

Summary of changes

This PR is for syncing between the staging branch with the master branch

Conflicts here @AtelyPham


Add NYC 311 data.

Adds script / modifies data collection routines to collect 311 data from NYC API in tandem with Boston/San Francisco.
@AlexMerritt does this look good to you? I did some testing locally and it seemed to function properly.
Resolves #39

@aelawson Ya this looks good. I am in the process of getting the mapping working. The only thing that needs to be changed is in the query statement. If you look in either of boston or sanfran you can see in the query I use $date when comparing against the date in the db. When the scheduler see this it will replace this keyword and replace it with the last time the data was checked. If you could make this change in the query statement for nyc that would be very helpful

Oh yeah I forgot to change that. I just set the date temporarily because no data was coming back to test with - I'll set it to the $date variable that you mentioned.

So I changed how the 311 objects are created. I removed both SF311.js and Boston311.js. I created a new factory that makes the queries objects from a json file. If you want I can convert the NYC311.js to the new format unless you want to take a shot at it. The file is back-end/endpoints.json and all that would needed to be done is copied a previous entry and change the values.

Sure, I'll do the conversion for the NYC one so I can get acquainted with it.


plugin upgrade fails

Module version: 5.2.0
Puppet version: 4.10.0

Bug description
instead of removing the old plugin (com.floragunn:search-guard-5:5.4.0-12), puppet tries to remove the new plugin (which is not even installed yet): (com.floragunn:search-guard-5:5.4.3-12),
the plugin that should be removed/upgraded is "search-guard-5".
Debug: Elasticsearch_plugin[com.floragunn:search-guard-5:5.4.3-12](provider=elasticsearch_plugin): Got com.floragunn:search-guard-5:5.4.0-12/false Expected com.floragunn:search-guard-5:5.4.3-12/false. Removing for reinstall
Debug: Executing: '/usr/share/elasticsearch/bin/elasticsearch-plugin remove com.floragunn:search-guard-5:5.4.3-12'
Error: /Stage[main]/Searchguard/Elasticsearch::Plugin[com.floragunn:search-guard-5:5.4.3-12]/Elasticsearch_plugin[com.floragunn:search-guard-5:5.4.3-12]: Could not evaluate: Execution of '/usr/share/elasticsearch/bin/elasticsearch-plugin remove com.floragunn:search-guard-5:5.4.3-12' returned 78: -> removing [com.floragunn:search-guard-5:5.4.3-12]...
ERROR: plugin [com.floragunn:search-guard-5:5.4.3-12] not found; run 'elasticsearch-plugin list' to get list of installed plugins

@hex2a can you provide two example manifests (one before the upgrade, one that performs the upgrade) so I can try and reproduce the issue?

$_elasticsearch_major_version = split($facts['es_version'], '\.')[0]
$searchguard_version = '14'
$searchguard_release = "com.floragunn:search-guard-${_elasticsearch_major_version}:${facts['es_version']}-${searchguard_version}"
$sg_plugin_name = "search-guard-${_elasticsearch_major_version}"

elasticsearch::plugin { $searchguard_release :
  instances => $instance_name,
  module_dir => $sg_plugin_name,
}

the es_version fact contains the version of the currently installed elasticsearch package. (5.4.0 before the upgrade, 5.4.3 or 5.5.0 after the upgrade)

@hex2a this looks like the plugin provider is confused because the format of the plugin (vendor:name:version) differs from the way plugins are normally indicated (vendor/name/version). However it is a supported format to install maven plugins, so I'll put together a solution and push out a bugfix release for this.
Thank you for your report!

Should be fixed in #857, will go out in the next release.


New command 'entra app permission remove' - Remove an app-only or delegated permissions from an App Registration

We currently have the following commands that cover removing permissions from an app:

aad approleassignment remove but that only removes app-only permissions from service principals, not from App Registrations.
aad oauth2grant remove but that only removes delegated permissions from service principals, not from App Registrations.

So it would be useful if we add another command to be able to easily remove permissions from App Registrations just using options.
Usage
m365 entra app permission remove [options]
Description
Removes the specified application and/or delegated permissions from a specified Entra app
Options

Option
Description

-i, --appId [appId]
Client ID of the Entra app to remove the API permissions from. Specify either appId, appName or appObjectId.

--appObjectId [appObjectId]
Object ID of the Entra app to remove the API permissions from. Specify either appId, appName or appObjectId.

-n, --appName [appName]
Display name of the Entra app to remove the API permissions from. Specify either appId, appName or appObjectId.

-a, --applicationPermissions [applicationPermissions]
Space-separated list of application permissions to remove. Specify at least applicationPermissions or delegatedPermissions.

-d, --delegatedPermissions [delegatedPermissions]
Space-separated list of delegated permissions to remove.  Specify at least applicationPermissions or delegatedPermissions.

--revokeAdminConsent
When specified, revokes the admin consent for the specified permissions as well.

-f, --force
Don't prompt for confirmation to remove the permissions.

Remarks
Removing permissions on App Registrations does not immediately remove consent given by an administrator. Explicitly instruct the CLI to revoke consent by using the --revokeAdminConsent flag.
Examples
Remove multiple delegated API permissions from an Entra app registration
m365 entra app permission remove --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690' --delegatedPermissions 'https://management.azure.com/user_impersonation https://service.flow.microsoft.com/Flows.Read.All https://graph.microsoft.com/Agreement.Read.All'

Remove multiple app-only permissions from an Entra app registration and revoke admin consent
m365 entra app permission remove --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690' --applicationPermissions 'https://graph.microsoft.com/Sites.FullControl.All https://microsoft.sharepoint-df.com/Sites.FullControl.All' --revokeAdminConsent

Additional information
If multiple apps with the same name exist, the CLI should show a disambiguation prompt to let the user choose.

Since it's a remove command, let's add --force to suppress the confirmation prompt.
Shall we include app name for convenience?

Can I work on this one?


Issues in 2.2.0

[ ] There was a breakage in the Autographa 2.2.0 as soon as I clicked the new project button (only on ubuntu, only once it occurred)

[ ] Unable to see the first line in the editor after changing the chapter

[ ] New book is not loading sometimes (waited long enough to confirm)

[ ] OBS resources are not loading at all.

Loading Issues

[ ] While project creation, when we create text translation project is taking more time than the audio translation and OBS.

[ ] After deletion of the take 1, after the re-recording, still it plays the deleted takes.

[ ] Bible resource collection: after selecting or download a project, always have to close the pane and reopen to reflect it in the Bible resource collection pane.

[ ] After recording the verse, have to click on the verse on editor pane to refreshing the audio which is recoded

[ ] Language Combo box selection not working some times ( obs resource collection )
[ ] Obs meta creation issue only on beta tester system (always ingredients instead of path name in yaml (content/ingredients))


Small: separate SolvingMicroDSOPs into new folder

SolvingMicroDSOPs.py (and related files) should be split off into their own folder, in the style of cstwMPC.  The ConsumptionSaving folder is sort of cluttered with files that aren't strictly about consumption-saving models, but rather a particular application of one of these models.
Even more confusing, SetupConsumerParameters.py contains both parameters necessary to specify a ConsumerType and a bunch of parameters for the SolvingMicroDSOPs estimation.  These should be split into two separate files (that live in separate directories), so that newcomers open up the consumption-saving parameters file and see only parameters needed to solve those models.

Done in latest commit to comments-and-cleanup, along with cleaner examples.


Cache domain

Codecov Report

Merging #127 (486b094) into int (ce71709) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              int     #127      +/-   ##
==========================================
+ Coverage   68.34%   68.36%   +0.02%
==========================================
  Files          14       14
  Lines        1314     1315       +1
==========================================
+ Hits          898      899       +1
  Misses        319      319
  Partials       97       97

Impacted Files
Coverage Δ

agent.go
77.56% <100.00%> (+0.10%)
:arrow_up:

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 ce71709...486b094. Read the comment docs.


Opening fullScreen video causes bottomPadding to disappear on iphoneX devices

I have a problem with safe-area-view when I have the device in landscape and then presentFullscreenPlayer. When exiting the fullscreen player paddingBottom provided by safe-area-view is set to 0. Before entering fullscreen the padding was 34.
I think I have seen this also when using Modal from react-native.
if you open this screen implementation with the iphone x device in landscape you will see the padding is gone. I wrapped the presentFullscreenPlayer in a timeout so I could see the difference before the video is presented.
`import React, { Component } from "react";
import { StyleSheet, Platform, TouchableOpacity, View, Image } from "react-native";
import { SafeAreaView } from "react-navigation";
import { WINDOW_WIDTH, WINDOW_HEIGHT } from "services/constants";
import { Video } from "expo";
export interface TestScreenProps {}
export interface TestScreenState {
selectedVideo: string | null;
}
interface FullscreenUpdateEvent {
fullscreenUpdate: number;
}
class TestScreen extends Component<TestScreenProps, TestScreenState> {
videoPlayer: Video | null;
state = {
selectedVideo:
"https://s3-eu-central-1.amazonaws.com/xps-ger/6156376847515164452/chatfiles/-7196241898081865239.m4v"
};
static navigationOptions = {
header: null,
gesturesEnabled: false,
tabBarVisible: false
};
renderVideo = () => {
if (this.state.selectedVideo) {
return (
<Video
ref={ref => (this.videoPlayer = ref)}
source={{ uri: this.state.selectedVideo }}
shouldPlay={true}
resizeMode={Video.RESIZE_MODE_CONTAIN}
onFullscreenUpdate={(fs: FullscreenUpdateEvent) => this.onFullscreenUpdate(fs)}
useNativeControls={true}
onLoad={ns => this.onVideoLoad(ns)}
/>
);
}
};
onFullscreenUpdate(fs: FullscreenUpdateEvent) {
if (fs.fullscreenUpdate == 3) {
this.setState({ selectedVideo: null });
}
}
async onVideoLoad(ns) {
setTimeout(async () => {
  if (this.videoPlayer) {
    await this.videoPlayer.presentFullscreenPlayer();

    console.log("FULL SCREEEN !");
  }
}, 20000);

}
render() {
return (

{this.state.selectedVideo && this.renderVideo()}
<View style={{ flex: 1 }}>
<TouchableOpacity
onPress={() => {
this.setState({ selectedVideo: "https://www4.sidelinesports.com/thumbs/1100571932817616089.png" });
}}
>
<Image
source={{ uri: "https://www4.sidelinesports.com/thumbs/1100571932817616089.png" }}
style={styles.image}
resizeMode="cover"
/>

);
}
}
const styles = StyleSheet.create({
container: {
alignItems: "stretch",
backgroundColor: "white",
flex: 1,
flexDirection: "column"
},
safeArea: {
flex: 1,
backgroundColor: "white",
paddingTop: Platform.OS === "android" ? 25 : 0
},
activityIndicator: {
width: WINDOW_WIDTH,
height: WINDOW_HEIGHT
},
gallery: {
width: "100%",
height: "100%"
},
image: {
width: 150,
height: 100,
margin: 10,
justifyContent: "center",
alignItems: "center"
}
});
export default TestScreen;`

this should be resolved in version 1.0 which was released today, thanks for reporting!


initial forum channel support

https://github.com/discord/discord-api-docs/pull/4761

this should be tested first before merging

there are some new good changes on forum thread creation https://github.com/discord/discord-api-docs/pull/4850


Feature/single player

added local play an set up gui to also work with bot

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 78 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

src/main/java/GUI/Utilities/Slider.java
0.00%
46 Missing :warning:

src/main/java/GUI/ChessPanels/LocalChessPanel.java
0.00%
11 Missing :warning:

...rc/main/java/GUI/ChessPanels/RemoteChessPanel.java
0.00%
9 Missing :warning:

src/main/java/GUI/SubPanels/LocalPanel.java
0.00%
9 Missing :warning:

src/main/java/Client/Client.java
0.00%
1 Missing :warning:

src/main/java/GUI/SubPanels/OptionPanel.java
0.00%
1 Missing :warning:

src/main/java/GUI/SubPanels/ServerPanel.java
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag
Coverage Δ
Complexity Δ

unittests
44.83% <0.00%> (-2.95%)
251.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


missing api section

In the prior tutorial it gave a build of the gui & api, and the docker compose put them together.  In this one it gave only the gui & kuberneties wrapper for it.  It would be much more helpful to show how to do the same thing as was done with the docker-compose file in the prior example, specifically how to use Kubernetes to include both the API & web interface in the dev/deployment pipeline with Kubernetes.
Also it would be nice to show how to debug with Kuberneties on non azure devops platform as I haven't seen that anywhere but that's for a separate page.

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

ID: 25b96907-35cf-ff1f-d7ad-a231aa78418b
Version Independent ID: 620e59a0-5658-9a05-c177-8d0687656e2a
Content: Kubernetes tools tutorial - Visual Studio
Content Source: docs/containers/tutorial-kubernetes-tools.md
Product: visual-studio-windows
Technology: vs-azure
GitHub Login: @ghogen
Microsoft Alias: ghogen

Have you looked at the Dev Spaces quickstart?
https://docs.microsoft.com/en-us/azure/dev-spaces/quickstart-netcore-visualstudio
This covers Kubernetes development in VS with two projects, API and "webfrontend."


kubemci does not work with GCP Shared VPC (XPN)

Thanks for filing the issue @normanjoyner
Is this something that is blocking you from trying out kubemci? If yes, can you explain your use case? What errors are you running into?

no problem @nikhiljindal. This is not something I am specifically running into. I happened to notice 3 issues enumerated within a single issue (#56), and figured I would separate them for easier management. If you'd like to keep that issue open, feel free to close this one.

oh ok. thanks @normanjoyner


[system/process] add support for mutlierr

What does this PR do?

Previously, we weren't passing errors to the caller while monitoring set of processes.

With the recent introduction of the status reporter for metricsets, it is impossible to change the status to degraded if such errors are not passed to the caller.

Fix this by passing errors to the caller. We also populate the process related information to our best-effort.

Checklist

[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added an entry in CHANGELOG.md

Manual testing and general information

See https://github.com/elastic/beats/pull/40400 for testing it on metricbeat
NOTE:

Only applicable if you're using system/process module
Non-fatal errors are only received when you have insufficient privileges.

Steps:

While receiving any error, test for nature of error
call errors.Is(err, NonFatalErr{})) on received error

If true, error is non-fatal and you can proceed further (metrics will be partially available, most probably insufficient privileges).
Else, log the error and stop execution (metrics will be empty)

Genreal info related to the changes in this PR:

While getting process related information, you might also receive a non-nil error.

Such errors come in two flavours:

Fatal errors:

This indicates that the error was fatal (for eg. no process found,)
Caller should stop further execution if they receive fatal errors

Non-fatal errors:

This indicates that the error was fatal (for eg. not enough privileges)
It means that metrics are partially filled.
Further execution can be continued if non-fatal errors are encountered

Closes https://github.com/elastic/elastic-agent-system-metrics/issues/164

@rdner I've added the beats PR link in description


Setup Unit Tests CI

For this task we need to make sure the unit tests are generating proper tests reports,
and that the CI is configured to run the unit tests and publish the reports.
If it is already, please ignore this issue (but we want to keep track on OSP backlog queue for review).

Good to close, we do have unit tests and codecov, and the only portion missing is publishing the reports, which will be covered by #284


add option to write tslint output to file

Hi,
we need the tslint results in a file on our build server.
Instead of using the example in test/gulpfile.js I enhanced the report options with a filename in property out.
Tobias

Hi,
I figured out that this doesn't work when checking multiple source files. I need to dig a bit deeper into the gulp stream logic to get this right.
Tobias


Refactor the dependencies for spec-gen-sdk

Here are the goals:

reduce the unnecessary dependencies
replace the dependencies which haven't been GAed or are inactively maintained

These are the candidates:

commonmark
difflib

For commonmark, necessary to write manully

For difflib, use another popular repo e.g. diff to replace it


Commit should be pushed before creating tag

First of all, thank you for creating this! I love the idea of bundling all of this boilerplate activity into an easy-to-use action.
My expectation is that the version bump in package.json and generated release notes should be included in the released version. However, it doesn't appear to be working that way. For example, in the last release of this project:
https://github.com/undergroundwires/bump-everywhere/compare/1.3.1...1.4.0
You can see that it includes the release notes and version bump from the previous release, rather than from 1.4.0. Looking at the code, I can see this is because the tag is created and pushed before the commit is made. I see two options:

Move the logic that creates and pushes the tag to after the commit is pushed or
Retag the tag after the commit is pushed to point to the hash of the commit

I prefer option 1 because it means that if the action ever fails to push the commit, there is no need to clean up the tags. Happy to submit a PR for this if this proposal is accepted.

Agreed with @sdankel this is the only thing preventing us to adopt this into @calcom


npm run dist error

I want to let the GridItem trigger a event in the amounted, so I modified the GridItem.vue,and run npm install, when I run npm run dist,i see the error info bellow:
ERROR in ./src/utils.js
Module parse failed: Unexpected token (2:7)
You may need an appropriate loader to handle this file type.
| // @flow
| export type LayoutItemRequired = {w: number, h: number, x: number, y: number, i: string};
| export type LayoutItem = LayoutItemRequired &
|                          {minW?: number, minH?: number, maxW?: number, maxH?: number,
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/GridItem.vue 5:13-31
@ ./src/GridItem.vue
@ ./src/index.js
ERROR in ./src/responsiveUtils.js
Module parse failed: Unexpected token (5:12)
You may need an appropriate loader to handle this file type.
| import {cloneLayout, compact, correctBounds} from './utils';
|
| import type {Layout} from './utils';
| export type ResponsiveLayout = {lg?: Layout, md?: Layout, sm?: Layout, xs?: Layout, xxs?: Layout};
| type Breakpoint = string;
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/ResponsiveGridLayout.vue 7:23-51
@ ./src/ResponsiveGridLayout.vue
@ ./src/index.js
I try to modify the bug, and I run npm install --save-dev flow-bin,but still can work.

work fine here


Occlusion label preparation code for the HO3D dataset

Thank you for providing such a good work!
I am very interested in the occlusion label preparation. May I ask do you plan to update the occlusion label preparation code for HO3D dataset?
It seems that code would be similar to DEX_YCB dataset?

Hi,
Thanks for your focus! Actually, they should be similar only with a little modification. You can write the code for HO3D based on the current DexYCB version. Or, you can wait for me to release the remaining code in November. Hope you can understand.

Thank you very much for your reply!


various improvements

exception handling, logging, modularization, list comprehension, etc...

Thanks @improbably-you for your suggestions, I'm going to apply them soon in addition to some edits regarding OPSEC.

Glad to be of any help :) feel free to remove whatever you don't like.


[Bug] Cosmos operator hanging to run dbt command and eventually timing out

Astronomer Cosmos Version
Other Astronomer Cosmos version (please specify below)
If "Other Astronomer Cosmos version" selected, which one?
1.4.3
dbt-core version
Any
Versions of dbt adapters
Any
LoadMode
AUTOMATIC
ExecutionMode
LOCAL
InvocationMode
None
airflow version
Any
Operating System
N/A
If a you think it's an UI issue, what browsers are you seeing the problem on?
No response
Deployment
Other
Deployment details
No response
What happened?
Issue reported in the #airflow-dbt Slack by Sebastian Vargas:

Hi,
I have a dbt macro, when I execute dbt run-operation macro_name in terminal the process takes 2 minutes, but when I use DbtRunOperationOperator in airflow using cosmos, the process never ends. Someone knows how to fix that? I'm missing something? The version that i'm using is astronomer-cosmos[dbt.all]==1.4.2 . Thanks!

Relevant log output
The logs:

[2024-07-09, 18:20:01 UTC] {subprocess.py:73} INFO - Running command: ['/usr/local/bin/dbt', 'run-operation', 'update_user_permissions', '--project-dir', '/tmp/tmp1ooz7acr', '--profiles-dir', '/tmp/tmp4lp5n493', '--profile', 'redshift_profile', '--target', 'dev']
[2024-07-09, 18:20:01 UTC] {subprocess.py:84} INFO - Command output:
[2024-07-09, 18:20:04 UTC] {subprocess.py:94} INFO - [0m18:20:04  Running with dbt=1.8.3
[2024-07-09, 18:20:05 UTC] {subprocess.py:94} INFO - [0m18:20:05  Registered adapter: redshift=1.8.1
[2024-07-09, 18:20:05 UTC] {subprocess.py:94} INFO - [0m18:20:05  Unable to do partial parsing because saved manifest not found. Starting full parse.
[2024-07-09, 18:20:16 UTC] {subprocess.py:94} INFO - [0m18:20:16  Found 289 models, 3 operations, 36 data tests, 204 sources, 1243 macros
[2024-07-09, 18:45:01 UTC] {timeout.py:68} ERROR - Process timed out, PID: 16326
[2024-07-09, 18:45:01 UTC] {subprocess.py:111} INFO - Sending SIGINT signal to process group
[2024-07-09, 18:45:01 UTC] {taskinstance.py:1937} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/base.py", line 264, in execute
    self.build_and_run_cmd(context=context, cmd_flags=self.add_cmd_flags())
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/local.py", line 487, in build_and_run_cmd
    result = self.run_command(cmd=dbt_cmd, env=env, context=context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/local.py", line 333, in run_command
    result = self.invoke_dbt(
             ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/local.py", line 246, in run_subprocess
    subprocess_result: FullOutputSubprocessResult = self.subprocess_hook.run_command(
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/cosmos/hooks/subprocess.py", line 90, in run_command
    for raw_line in iter(self.sub_process.stdout.readline, b""):
  File "/usr/local/lib/python3.11/site-packages/airflow/utils/timeout.py", line 69, in handle_timeout
    raise AirflowTaskTimeout(self.error_message)
airflow.exceptions.AirflowTaskTimeout: Timeout, PID: 16326
[2024-07-09, 18:45:01 UTC] {taskinstance.py:1400} INFO - Marking task as UP_FOR_RETRY. dag_id=redshift_set_user_permissions, task_id=set_redshift_permissions, execution_date=20240709T122000, start_date=20240709T182001, end_date=20240709T184501
[2024-07-09, 18:45:01 UTC] {standard_task_runner.py:104} ERROR - Failed to execute job 536820 for task set_redshift_permissions (Timeout, PID: 16326; 16326)
[2024-07-09, 18:45:01 UTC] {local_task_job_runner.py:228} INFO - Task exited with return code 1
[2024-07-09, 18:45:01 UTC] {taskinstance.py:2778} INFO - 0 downstream tasks scheduled from follow-on schedule check

The user reported:

the process is ended by timeout (after 30 mins) but in dbt terminal this takes only 2 minutes

I advised the user to confirm if the issue still happens if you use InvocationMode.DBT_RUNNER:
https://astronomer.github.io/astronomer-cosmos/getting_started/execution-modes.html#invocation-modes
I believe he may be having this issue due to a deadlock: https://docs.python.org/2/library/subprocess.html#subprocess.Popen.wait
We could try setting close_fds=True in the code or switching to use Popen.communicate - which is probably the safest given Python's docs:

Warning Use communicate() rather than .stdin.write, .stdout.read or .stderr.read to avoid deadlocks due to any of the other OS pipe buffers filling up and blocking the child process.

Ideally we'd reproduce this issue, but if we're unable, I believe we should create an early alpha release and check with the reporter of the issue if the bug is solved.

Updates from Sebastian Vargas:

I tried with the latest version of cosmos (1.5) but the problem persists. I'm using dbt inside airflow like this configuration https://astronomer.github.io/astronomer-cosmos/getting_started/astro.html

The astro version that I'm using is FROM quay.io/astronomer/astro-runtime:9.7.0 , dbt version is dbt-redshift==1.8.1

Also I tried with InvocationMode.DBT_RUNNER  and still having same issue

reviewing the logs what I am seeing is that the process is executing a block of queries (grant) one by one instead of doing it in block and that is why it is taking so long compared to executing it from terminal

I fixed adding "BEGIN" and "COMMIT" in the SQL to avoid cosmos execute sql one by one but that's weird because in terminal without that the macro runs in 2 minutes

BEGIN;
-- SQL#1
-- SQL#1
...
-- SQL#n
COMMIT;

The fact that the issue was the same with InvocationMode.DBT_RUNNER shows that it is not a  Python subprocess problem since we're invoking the dbt commands using dbt as a library without the overhead of creating a new process.
I asked the bug reporter the following:

Without this change to the SQL that fixed the problem, what happens if you try to run the same dbt query in Airflow with the BashOperator?


UnsupportedWheel: tensorflow-0.11.0rc2-cp27-cp27mu-linux_x86_64.whl

Hi all,
I'm updating my tensorflow from r0.10 to r0.11 or the master, but after I run the cmd:
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg

I just got a tensorflow-0.11.0rc2-cp27-cp27mu-linux_x86_64.whl instead of tensorflow-0.11.0rc2-py2-none-any.whl. And this file always caused an UnsupportedWheel error when I run pip install.
This is the pip.log:
------------------------------------------------------------
/usr/bin/pip run on Sat Nov  5 16:59:34 2016
tensorflow-0.11.0rc2-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 257, in run
    InstallRequirement.from_line(name, None))
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 168, in from_line
    raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename)
UnsupportedWheel: tensorflow-0.11.0rc2-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.

Operating system: Ubuntu 14.04
Kernel release: 4.4.0-45-generic
Cuda toolkit: 8.0.44
cuDNN: 5.1.5
GPU: GTX 1080
bazel version: 0.4.0
gcc and g++: 4.8.5
python: 2.7.6
I wonder what  cp27-cp27mu means and why I can't get an supported .whl file?

Same problem with the downloadable on page: https://www.tensorflow.org/versions/r0.11/get_started/os_setup.html
Ubuntu 16.04, kernel 4.4.0-45, CUDA 8.0.44, gcc 5.4.0, python 2.7.12 :
$ sudo -H pip install --upgrade tensorflow-0.11.0rc2-cp27-none-linux_x86_64.whl
tensorflow-0.11.0rc2-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
$
But "parallel" python 3.5 file works in my python3 setup:
$ sudo -H pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc2-cp35-cp35m-linux_x86_64.whl
...
Successfully installed numpy-1.11.2 protobuf-3.0.0 setuptools-28.8.0 tensorflow-0.11.0rc2
$

Renaming the wheel to tensorflow-0.11.0rc2-cp27-none-linux_x86_64.whl should address the problem.
Can you give it a try?

@aselle What's with the tag fight?

@caisq yup that fixes it for me

The tag fight was due to a bug in github that marked the "awaiting response" as coming from the original poster rather than the person that did it (me).

I'm closing this issue for now. For future reference:
There is a script that takes care of the pip wheel renaming automatically:
E.g.,
tensorflow/tools/ci_build/ci_build.sh CPU tensorflow/tools/ci_build/builds/pip.sh CPU
tensorflow/tools/ci_build/ci_build.sh GPU tensorflow/tools/ci_build/builds/pip.sh GPU
For more details see:
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build


Multi instance on a port

Excuse  me, my question is not relative to mtproto proxy but use it in project.
How can multi instance mtprotoproxy run a port?

You can just run it several times


[Tool] More explicit prompts should be given when thirdparty library build is triggered

Signed-off-by: Tao Li<EMAIL_ADDRESS>What type of PR is this：

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

Problem Summary(Required) ：
More explicit prompts should be given when thirdparty library build is triggered. Otherwise the user doesn't know what the reason is and needs to debug it.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


[MS Teams] User ids are inconsistent for the teams channel

I am seeing that the user ids returned by the bot framework keep changing every few days.
This prevents us from identifying individual users since their ids are no more the same.
The problem is observed for the Teams channel. There are no changes made on the Teams admin side, so we are not sure why the framework is returning different ids. I presume the user ids are encrypted, is it expected that clients decrypt this content or use it as-is?
We are using Node js and the latest SDK ^3.8.2.

Are you referring to the from.id your bot receives?  In general, the user id should be unique and consistent for a given user for a given bot.  It is an encrypted value based on, among other things, your bot guid, and again should not change.  Please provide more information so we can investigate.

Yes @RichMoeMSFT. This is the "address.user.id" component returned by the node SDK.
"address":{"id":"1498022462221","channelId":"msteams","user":{"id":"29:1iJ.....","name":"John Doe"}

Previously the user's id was 29:1IivS... and now 29:1iJ3y... is returned (sorry, this may not be useful without the full id).
I am happy to share the bot id/tenant id/user id privately if it helps narrow the issue down. Please let me know.

We haven't heard any other issues about this, and in fact we have multiple partners caching user information around this ID which would badly break their experience.  I'd like to investigate further, please reach out to me directly.

please reopen this issue if needed


Failed to load resource: the server responded with a status of 404 (Not Found)

Describe the bug
Has a  .wasm file in project.

yarn tauri dev   or    yarn tauri  build,  got error:

What to do with .wasm files and load it ?
Reproduction
No response
Expected behavior
No response
Platform and versions
Operating System - Mac OS, version 12.3.1 X64

Node.js environment
  Node.js - 14.19.3
  @tauri-apps/cli - 1.0.0-rc.4
  @tauri-apps/api - 1.0.0-beta.8

Global packages
  npm - 6.14.17
  pnpm - Not installed
  yarn - 1.22.18

Rust environment
  rustup - 1.24.3
  rustc - 1.61.0
  cargo - 1.61.0
  toolchain - stable-x86_64-apple-darwin

App directory structure
/dist
/node_modules
/public
/src-tauri
/.git
/.vscode
/src

App
  tauri - 1.0.0-beta.8
  tauri-build - 1.0.0-beta.4
  tao - 0.5.2
  wry - 0.12.2
  build-type - bundle
  CSP - default-src https: tauri: 'self'; img-src: 'self'; script-src 'wasm-unsafe-eval' 'unsafe-eval' 'self'
  distDir - ../dist
  devPath - http://localhost:3000/
  framework - Vue.js
  bundler - Rollup

Stack trace
No response
Additional context
No response

Hmm, this does look like an issue with your wasm file 🤷
Shouldn't be a tauri specific problem (you should see the same error in your browser or at least in safari)).
Also your tauri dependencies are really old and we don't support them anymore.
Closing this for now.


Could not build by Carthage and Xcode 10.2b1 ~ b4.

Goals
buildable by carthage with Xcode 10.2b1 ~ b4.
Expected Results
buildable by carthage with Xcode 10.2b1 ~ b4.
Actual Results
Build failed.
Steps to Reproduce
$ carthage bootstrap --platform iOS realm-cocoa
*** Checking out realm-cocoa at "v3.13.1"
*** xcodebuild output can be found in /var/folders/hr/43qhs4_16hx73mq7cl47xg4w0000gn/T/carthage-xcodebuild.v5eWl0.log
*** Invalid cache found for realm-cocoa, rebuilding with all downstream dependencies
*** Downloading realm-cocoa.framework binary at "v3.13.1"
***  Skipped installing realm-cocoa.framework binary due to the error:
	"Incompatible Swift version - framework was built with 4.2.1 (swiftlang-1000.11.42 clang-1<IP_ADDRESS>) and the local version is 5.0 (swiftlang-1<IP_ADDRESS> clang-1<IP_ADDRESS>)."

    Falling back to building from the source
*** Building scheme "Realm" in Realm.xcworkspace
*** Building scheme "RealmSwift" in Realm.xcworkspace
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -workspace /Users/taiki/clone/test/Carthage/Checkouts/realm-cocoa/Carthage/Realm.xcworkspace -scheme RealmSwift -configuration Release -derivedDataPath /Users/taiki/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2_10P82s/realm-cocoa/v3.13.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/hr/43qhs4_16hx73mq7cl47xg4w0000gn/T/realm-cocoa SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/taiki/clone/test/Carthage/Checkouts/realm-cocoa)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/hr/43qhs4_16hx73mq7cl47xg4w0000gn/T/carthage-xcodebuild.v5eWl0.log

in log file, failied in archive phase.
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'RealmSwift')

Build system information
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'RealmSwift')

Build system information
warning: Swift 3 mode has been deprecated and will be removed in a later version of Xcode. Please migrate "RealmSwift" to Swift 4.2 using "Convert > To Current Swift Syntax…" in the Edit menu. (in target 'RealmSwift')

Build system information
warning: Swift 3 mode has been deprecated and will be removed in a later version of Xcode. Please migrate "RealmSwift" to Swift 4.2 using "Convert > To Current Swift Syntax…" in the Edit menu. (in target 'RealmSwift')

** ARCHIVE FAILED **

Version of Realm and Tooling
Realm framework version: 3.13.1
Xcode version: 10.2b1  ~ b4
Dependency manager + version: Carthage 0.32.0

Seems to be fixed in #6076, which you can use via github "realm/realm-cocoa" "tg/xcode-10.2" until it is merged

Closing this issue with no recent activity. I assume this issue has been resolved since XCode 10.2 GM was released in March, 2019.


Update testing for Python 3.11 and 3.12

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

Project coverage is 78.50%. Comparing base (e01682d) to head (2b9be63).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   78.50%   78.50%
=======================================
  Files          13       13
  Lines        1070     1070
=======================================
  Hits          840      840
  Misses        230      230

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


LSP rename errors, when using dressing.nvim vim.ui.input

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.cursorword mini.indentscope
Description
In combation with vim.ui.input from dressing.nvim LSP renaming issues, see attached logs and gif

bug.log
Neovim version
v0.8.0-dev+6-gae325e627
Steps to reproduce
Unfortunately, I am not sure if it is a issue with some mini module or with dressing.nvim (or related to vim/matchparen.vim). In order to reproduce, do a LSP rename more than once in an open buffer, with dressing.nvim, mini.indentscope and mini.cursorword enabled
Expected behavior
I should be able to do a LSP rename more than once, with dressing.nvim enabled.
Actual behavior
I can only do a LSP rename once with with dressing.nvim enabled.

I briefly had some issues with 'dressing.nvim' in my full setup, but it worked with minimal setup (only 'dressing.nvim' and some 'mini.nvim' module set up).
Could you, please, try to narrow it down to a minimal config that at least somehow indicates that the problem is indeed in some of 'mini.nvim' modules? Something like "Before adding the module it works, but not after"?

Sure, I will try to narrow it down. In addition, thanks for this awesome plugin collection!

Thanks. If not, I think I'll have some time tomorrow to try and find whether it is a 'mini.nvim' issue.
By the way, congratulations on your first Github issue! This helps a lot!

So I found the culprit, it is related to mini.completion, reproducable with the following config
vim.call('plug#begin', plugged_path)
Plug('echasnovski/mini.nvim')
Plug('neovim/nvim-lspconfig')
Plug('stevearc/dressing.nvim')
vim.call('plug#end')

require('mini.completion').setup()

local on_attach = function(client, bufnr)
end

require('lspconfig').clangd.setup({
  on_attach = on_attach,
})

now move to a symbol which you want rename and call
:lua vim.lsp.buf.rename()

twice to rename the symbol. It will fail on the second try. If you remove the line
require('mini.completion').setup()

from the config everything works as intended.

Thanks.
I think I'll have some time tomorrow to try and find whether it is a 'mini.nvim' issue.
By the way, congratulations on your first Github issue! This helps a lot!

Yay loooong time lurker 😄

So I found the culprit, it is related to mini.completion, reproducable with the following config

Great, thanks! That helped a lot.
I seems like autocompletion from 'mini.completion' doesn't play nice with 'dressing.nvim'. I think it might be due to somewhat complex handling of completion in 'dressing.nvim', but will investigate further.
If you can live without completion in the input, try adding this line to your config:
vim.cmd('au FileType DressingInput lua vim.b.minicompletion_disable = true')

It disables completion altogether in these popups. Meanwhile, I'll try to find a possibly better solution.

Nice, I am completely fine with this workaround.

I looked through 'dressing.nvim' code and it seems that disabling an external completion is the preferred solution at the moment. Opened an issue there to clarify.
Thanks again for tracking this down!


'v8.h' file not found

Hello 👋 First of all, thank you for building this library!
I was trying to use this package with my project and received the following error after running dep ensure:
# <>/<>/<>/forms-api/vendor/rogchap.com/v8go
v8go.cc:3:10: fatal error: 'v8.h' file not found

Am I missing any steps ? This is how my vendor directory looks after running ensure:

dep version output:
dep:
 version     : v0.5.0
 build date  : 2018-08-16
 git hash    : 224a564
 go version  : go1.10.3
 go compiler : gc
 platform    : darwin/amd64
 features    : ImportDuringSolve=false

Do I need to compile the v8 build or something ? https://github.com/augustoroman/v8#using-a-pre-compiled-v8 ?
Apologies for not understanding any obvious steps here :/

I've run go mod vendor, and I get a very similar result.  It doesn't seem to clone the 'deps' folder in the repository.  It keeps all of the C++ header files in the main directory, but not in the subdirectories where the the binaries are.
I'm was using go1.14.4, but upgraded to go1.14.7

Please provide a reproducible failing case here. Without that, the issue should be probably just be closed.

@tmc This is pretty easy to reproduce, as, as the repo exists in its current state, there are no .go files in the deps directory.
As for reproducing it with a test:

Create main.go with the following contents

package main

import "rogchap.com/v8go"

func main() {
	if _, err := v8go.NewIsolate(); err != nil {
		panic(err)
	}
}

go mod init
go mod vendor
Check for the presence of vendor/rogchap.com/v8go/deps.

It won't exist, but the entire repo will be present at $GOPATH/pkg/mod/rogchap.com/v8go. I mentioned the fix (creating dummy .go files in all subdirectories) at the end of #53


Making the background blur instead of solid

Just how the title says, is there a way for making the background transparent? I can manually change the colors for the widgets, but I don't understand how to go about the background.

Hi,
In line 13, you can change background: @main-bg to background: transparent to achieve that. You will also need to update the background colors of the arrows. Starting from line 114, the CSS elements, from top to bottom, correspond to the position of Waybar elements from left to right for easier editing.
If you only want to change the inner background, try adjusting lines 13 and 19.
Hope this helps :)
Best,
Jesse

Lines 10 to 22:
/* === Main Background === */

window#waybar {
  background: @main-bg;
}

/* === Drop Shadow === */

window#waybar > box {
  background-color: transparent;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 1);
  margin: 2px;
}

Can you tell me which exact files to edit? I have 0 clue what im doing.
Love.

Oh, I forgot to mention—you only need to edit style.css for that. :)

Okay, thanks.
Great project btw. :))


feat: Add a Market Manipulations Widget

Information about how this chart is implemented so that it is dynamic:
1 - Cryptographic Market Health Crypto Dictionary:
Use Crypto Market Health's own API to get a list of tradable products.
With the API response, we filter to only get the base_currency of the products. This gives us a list of Altcoins available on Crypto Market Health.
After filtering the Altcoins, they are added to a drop-down menu (selection element) in the frontend so that the user can choose the desired Altcoin.
2 - Filtering by Data:
On the frontend, I provide the user with the ability to select a start date and an end date. This defines the time range he wants to view the data.
When configuring the data range and choosing an Altcoin, make a request to the crypto-market-health.p.rapidapi.com API to obtain wash_trading information for the selected Altcoin and data range.
3 – Visualizing data on the graph:
With the data returned from the API, map and specific extra information to be displayed in the graphs.
washTradingData is mapped to show the expression of volume volatility.
frontRunningData is mapped to show the buy/sell count ratio.
The dates for each data point are extracted and formatted to be displayed on the X-axis of the chart.
4 - Interaction with the Mouse Cursor:
When the user hovers the mouse cursor over a specific point in the graphs:
A tooltip appears.
The tooltip shows the month corresponding to that data point on the X-axis.
Additionally, it also shows the exact data point value (i.e. volume volatility expression or buy/sell count ratio) for the selected Altcoin.
Below is a screenshot of what the chart looks like.
Test with BTC

Test with ETH:

Let me upload a fix of this, I think I know what happened.

Now go, take the test again @evgenydmitriev


Feature/import from git basic authentication

Checklist

[X] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[X] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[X] I see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)
[X] I've read the Contribution Guidelines
[X] I've updated the documentation if necessary.
[X] I've added or updated relevant unit tests.

Motivation and Context

See motivation and discussions here:
https://github.com/fastlane/fastlane/discussions/22125
Description

See above mentioned discussion.

@oct0f1sh thanks for fixing the CircleCI checks! How do I rerun the checks for my PR so my PR it appears "green"?

Nevermind, I found the "Sync fork" button in my PR which retriggered the CI checks 👍

@joshdholtz it looks like @oct0f1sh has become inactive on GitHub. Maybe you or some other maintainer can give this PR a quick look?
Thanks in advance.

Hi @lucgrabowski
Do you or some other maintainer have time to take a look at this?

I will try to take a look over this one in the near future 🤞🏻

Hi @revolter
Did you have a chance to look at this PR? 🙏

Hey @jenskuhrjorgensen, thanks for the reminder ❤
I actually just finished #26525 this weekend, and was planning to tackle this one next, some time this week after work.

I took a look at match, and I saw that it could, technically, support passing 2 different headers to git:
https://github.com/fastlane/fastlane/blob/c5f10c2986c6f89cb9836e855e30e0a265f02561/match/lib/match/storage/git_storage.rb#L91-L92
Although enabling 2 different authorization types doesn't make any sense, for this case, it would mean that one could specify both an authorization and a caching instruction.
As such, to avoid future breaking changes, I would actually change this new option to an array of headers.
To not bother you any more with this, I would be more than happy to make the necessary changes myself. What do you say?

I took a look at match, and I saw that it could, technically, support passing 2 different headers to git:
https://github.com/fastlane/fastlane/blob/c5f10c2986c6f89cb9836e855e30e0a265f02561/match/lib/match/storage/git_storage.rb#L91-L92
Although enabling 2 different authorization types doesn't make any sense, for this case, it would mean that one could specify both an authorization and a caching instruction.
As such, to avoid future breaking changes, I would actually change this new option to an array of headers.
To not bother you any more with this, I would be more than happy to make the necessary changes myself. What do you say?

@revolter you are more than welcome to make the changes yourself! 🙏

@revolter thanks for all the great improvements to this PR (and sorry for doing such a horrible job at refactoring the parameter name 🤦)!
I just tested it out and it works like a charm for what I needed it for (setting a git authorization header).
However, it looks like the two new tests are failing with a Too many arguments error. I cannot reproduce it locally so I'm not completely sure what is going on there.

thanks for all the great improvements to this PR

Kudos to you for the initiative and the great initial work 💪🏻

and sorry for doing such a horrible job at refactoring the parameter name 🤦

Don't beat yourself up! It was definitely not horrible, you just missed an instance, and mistakes like this happen more often than you'd think with interpreted languages.

I just tested it out and it works like a charm for what I needed it for (setting a git authorization header).

Perfect, thank you! ❤

However, it looks like the two new tests are failing with a Too many arguments error. I cannot reproduce it locally so I'm not completely sure what is going on there.

Yeah, my hunch is that the new code would have failed before my changes as well, due to how Windows interprets arguments, but since there was no test to execute it, we didn't know.
I made a change that I'm hoping will solve it, and if it does, I'll have to ask you to test again, assuming you're using macOS or Linux, and not Windows 🙏🏻

Perfect, I saw you just made the changes I (/chatGPT) was about to propose 🤞

Yeah, I used ChatGPT as well. I first tried with single quotes, and now with double quotes. But I don't have many hopes of it working :(

chatGPT turned out to be our friend and saviour after all 😄
I just tested it out and it still works on macOS 👍
LGTM! 🚢

@AliSoftware, I added the requested changes ✅

Thanks 👍 LGTM now! :shipit:

@jenskuhrjorgensen, would you mind testing this one last time, for good measure? 🙏🏻

Still works 🎉
Thanks for all the help, @revolter and @AliSoftware 🙏


Error load dinamically slide

I have a function that load slides dinamically, like that
Reveal.addEventListener( 'slidechanged', function( event ) {
    //var idPrevSlide =  event.previousSlide.id;
    //var prevSlide = $("#"+idPrevSlide);
    //prevSlide.html("");

    var idSlide = event.currentSlide.id;
    var slide = $("#"+idSlide);
    var settings = slide.data("settings");

    var data = jQuery.parseJSON(settings);

    if(data.tipo == 'texto'){
        slide.load("slides/texto/"+idSlide+".html");
    }

} );

But when I add menu.js to reveal, load don't works.
Also I had to change my function, because 'slide.data("settings")' return an string not an object (so I change to jQuery.parseJSON(settings)), but it only happens when I add menu.js.

Reveal menu doesn't support changes to the slides after initialisation. An interim solution was implemented to delay the menu initialisation until explicitly called (see #37). Also, jquery didn't play nicely with the menu plugin as the ender library used overwrite the $ variable - this has now been fixed in dev (see #30).
I'm closing this for now as I expect you issue is covered in the others linked above. If you still have an issue feel free to reopen it.


Add functional test package

Description
This pull request creates the functional-tests package for managing all the test that hit services. We modified the NPM script which runs the functional tests, and modified the build pipeline with these changes.
Specific Changes

Move botframework-connector/auth.test.js to functional-test folder.
Rename the tests folder inside functional-tests as botframework.
Modify the NPM script that runs the functional tests.
Remove hardcoded appId and appPassword from code and configure them Azure Pipelines variables.

Configuration
These changes require some small new configuration in the Azure Pipeline build.
Azure Pipelines uses the build pipelines variables as environment variables for the project if the name matches. This does not work with encrypted variables, so in order to use them encrypted we need to configure a Powershell Task to assign them.
The following guides show how to configure it using either the encrypted password or the decrypted one.
With AppSecret encrypted
Add two variables called authAppId and authAppPasswordEncripted, and set their corresponding value.

Add a PowerShell script and configure it as follows:

With AppSecret unencrypted
Add two variables named authAppId and authAppPassword, and assign their corresponding value.

Testing

the NPM script which runs  -> the NPM script that runs
Rename the tests folder inside functional-tests as botframework -> Rename the tests folder inside functional-tests to botframework
The rest LGTM


"Socket operation on non-socket" when mixing pyzmq + aiohttp + ProcessPoolExecutor

libzmq-4.1.5
pyzmq-15.3.0.dev
Python-3.5.1 (default, Apr  2 2016, 08:57:12)
I see that there was a similar issue before (https://github.com/zeromq/pyzmq/issues/507) so I'm opening this before I find a way to make a test-case outside my application.
I've built an aiohttp server that has an endpoint, which uses a bound ZMQ PULL socket.  In a ProcessPoolExecutor process I use a PUSH socket to send results to the PULL socket.  If I keep on bumping up the concurrency I eventually start seeing "Socket operation on non-socket" failures which brings down the main loop which takes down the whole aiohttp server :(
The other thing I noticed is that the zmq.sugar.poll.Poller.poll loop seems to be missing an InterruptedError case like the BaseSelector does.  See Selectors.SelectSelector.select.
My understanding is that this error means that somehow an invalid socket made it into the poll loop (which should be impossible from a user;s application).
Thanks!

ok, I have a testcase:
import zmq.asyncio
import zmq
import asyncio
import os
import pickle
import concurrent.futures
import time
import logging
import aiohttp
import aiohttp.web
import tempfile
import multiprocessing
import traceback

class Terminator:
    pass

class SocketCtx:
    def __init__(self, socket_type, high_water_mark: int, socket_name: str, connect_method_name: str, zmq_ctx: zmq.asyncio.Context = None):
        self._zmq_ctx = zmq_ctx
        self._socket = None
        self._socket_type = socket_type
        self._socket_name = socket_name
        self._high_water_mark = high_water_mark
        self._connect_method_name = connect_method_name
        self._pending_terminator = None
        self._our_ctx = zmq_ctx is None

    async def __aenter__(self):
        assert not self._socket

        if self._our_ctx:
            self._zmq_ctx = zmq.asyncio.Context()

        self._socket = self._zmq_ctx.socket(self._socket_type)
        self._socket.RCVHWM = self._socket.SNDHWM = self._high_water_mark
        self._socket.LINGER = 20  # if the receiver dies/closes, we don't want to hang on socket.close
        self._socket.SNDTIMEO = 20  # if the receiver dies/closes, we don't want to hang on socket.send

        getattr(self._socket, self._connect_method_name)(self._socket_name)

        return self

    async def __aexit__(self, exc_type, exc_val, exc_tb):

        if self._socket and self._socket_type == zmq.PULL:
            # pull everything from our in_queue so we don't hang on socket.close()
            try:
                while True:
                    await self.recv_pyobj_noblock()
            except:
                pass

        if self._our_ctx:
            self._zmq_ctx.destroy()  # will close all sockets associated with context and linger until all data sent
            self._zmq_ctx = None
            self._socket = None
        elif self._socket:
            self._socket.close()
            self._socket = None

    async def send_terminator(self):
        return await self.send_pyobj(Terminator())

    async def recv(self, *args, **kwargs):
        result = await self._socket.recv(*args, **kwargs)
        return result

    async def recv_pyobj_noblock(self):
        # If self._pending_terminator is set, will send all pending messages in the socket's in-queue and
        # then send the terminator last.  Otherwise will raise zmq.error.Again if there are no more pending messages.
        try:
            data = await self.recv(zmq.NOBLOCK)
            pyobj = pickle.loads(data)
            return pyobj
        except zmq.error.Again:
            if self._pending_terminator:
                pyobj = self._pending_terminator
                self._pending_terminator = None
                return pyobj
            raise

    async def recv_pyobj(self, *args, **kwargs):
        if self._pending_terminator:
            return await self.recv_pyobj_noblock()

        data = await self.recv(*args, **kwargs)
        pyobj = pickle.loads(data)
        if pyobj.__class__ is Terminator:
            self._pending_terminator = pyobj
            return await self.recv_pyobj_noblock()

        return pyobj

    async def send(self, data):
        return await self._socket.send(data)

    async def send_pyobj(self, obj):
        pyobj = pickle.dumps(obj)
        return await self._socket.send(pyobj)

def sender(socket_name):
    loop = zmq.asyncio.ZMQEventLoop()
    asyncio.set_event_loop(loop)

    async def doit():
        async with SocketCtx(zmq.PUSH, 2, socket_name, 'connect') as zmq_socket:
            # we send 20,000 values at a time
            data = {y: {x: 140 for x in range(100)} for y in range(200)}

            total_sent = 0
            try:
                for i in range(25):
                    await zmq_socket.send_pyobj(data)
                    total_sent += len(data)
            except Exception as e:
                print(e)

            print("total sent:", total_sent)
            return total_sent

    result = loop.run_until_complete(doit())
    return result

async def receiver(connected_event: asyncio.Event, socket_name):
    async with SocketCtx(zmq.PULL, 100, socket_name, 'bind') as zmq_socket:
        connected_event.set()

        total_received = 0

        while True:
            try:
                pyobj = await zmq_socket.recv_pyobj()
                if isinstance(pyobj, Terminator):
                    break

                await asyncio.sleep(0.1)
                total_received += len(pyobj)
            except:
                traceback.print_exc()

    print("total received:", total_received)
    return total_received

async def ooo_test(loop):
    with tempfile.TemporaryDirectory() as temp_dir:
        socket_name = "ipc://" + temp_dir + "/foobar"
        connected_event = asyncio.Event()
        recvr_task = asyncio.ensure_future(receiver(connected_event, socket_name))
        await connected_event.wait()

        executor = concurrent.futures.ProcessPoolExecutor(1)
        total_sent = await loop.run_in_executor(executor, sender, socket_name)
        executor.shutdown()
        print("total sent:", total_sent)

        async with SocketCtx(zmq.PUSH, 1, socket_name, 'connect') as zmq_socket:
            await zmq_socket.send_pyobj(Terminator())

        await recvr_task

async def get_method(request: aiohttp.web.Request):
    app = request.app

    with tempfile.TemporaryDirectory() as temp_dir:
        socket_name = "ipc://" + temp_dir + "/foobar"
        sender_task = receiver_task = None
        try:
            connected_event = asyncio.Event()
            receiver_task = asyncio.ensure_future(receiver(connected_event, socket_name), loop=app['loop'])
            await connected_event.wait()

            sender_task = app['loop'].run_in_executor(app['executor'], sender, socket_name)
            await sender_task
            sender_task = None

            async with SocketCtx(zmq.PUSH, 1, socket_name, 'connect') as zmq_socket:
                await zmq_socket.send_pyobj(Terminator())

            await receiver_task
            receiver_task = None
        except:
            traceback.print_exc()

            try:
                if sender_task:
                    sender_task.cancel()
                    await sender_task
            finally:
                if receiver_task:
                    receiver_task.cancel()
                    await receiver_task

    return aiohttp.web.json_response(dict())

async def do_shutdown(request: aiohttp.web.Request):
    # this is here for unittests
    request.app.loop.stop()
    return aiohttp.web.json_response(dict())

def http_server():
    logging.basicConfig()

    loop = zmq.asyncio.ZMQEventLoop()
    asyncio.set_event_loop(loop)

    app = aiohttp.web.Application(loop=loop)
    app['executor'] = concurrent.futures.ProcessPoolExecutor(6)
    app['loop'] = loop

    app.router.add_route('GET', '/', get_method)
    app.router.add_route('GET', '/shutdown', do_shutdown)

    with app['executor']:
        aiohttp.web.run_app(app)

async def aiohttp_test(loop):
    server = multiprocessing.Process(target=http_server)
    server.start()

    await asyncio.sleep(2)

    session = aiohttp.ClientSession()
    await asyncio.gather(*[session.get('http://localhost:8080') for i in range(500)])
    await session.get('http://localhost:8080/shutdown')
    print('done')

if __name__ == '__main__':
    _loop = zmq.asyncio.ZMQEventLoop()
    asyncio.set_event_loop(_loop)

    #_loop.run_until_complete(ooo_test(_loop))
    _loop.run_until_complete(aiohttp_test(_loop))

another interesting fact is that when I stress our application I'm seeing what appears to be LINGER not working again even with the latest LINGER fix from libzmq :(

btw I noticed in a new implementation of mine I seemingly randomly ran into "Socket operation on non-socket" errors if sub-processes inherited the ZMQ contexts/sockets of the parent.

another thing I noticed, per: http://zguide.zeromq.org/page:all#Getting-the-Context-Right it says zmq_ctx_new() should only be called once per process, however looking at https://github.com/zeromq/pyzmq/blob/master/zmq/backend/cython/context.pyx it seems to create one each time the Context class is instantiated.  Shouldn't then the Context class then act more like a ref-counted singleton?  If not, it should probably assert if you try to instantiate more than one in a given process.

ok, after doing more experiments I was able to get around this issue by ensuring my subprocesses weren't implicitly inheriting ZMQ contents, each process only used one context, and the context lifetimes were correct.  Since I have a work-around I'm closing this issue.


Unexpected data type

Hi RStudio,
When I copy data from R to Spark I am getting the following error:

iris_tbl <- copy_to(sc, iris)
Any Ideas? The data is loaded, but it is not visible in the Spark GUI.

src_tbls(sc)
[1] "iris"

Regards,
Longhow
Some information on my environment:
sparklyr version <IP_ADDRESS>04
dplyr version <IP_ADDRESS>01
Spark 2.1.0
R version

platform       x86_64-redhat-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          3
minor          3.2
year           2016
month          10
day            31
svn rev        71607
language       R
version.string R version 3.3.2 (2016-10-31)
nickname       Sincere Pumpkin Patch

$master
[1] "yarn-client"

$method
[1] "shell"
$app_name
[1] "sparklyr"
$config
$config$sparklyr.cores.local
[1] 16
$config$spark.sql.shuffle.partitions.local
[1] 16
$config$spark.env.SPARK_LOCAL_IP.local
[1] "<IP_ADDRESS>"
$config$sparklyr.csv.embedded
[1] "^1.*"
$config$sparklyr.shell.driver-class-path
[1] ""
attr(,"config")
[1] "default"
attr(,"file")
[1] "/home/hadoop/R/x86_64-redhat-linux-gnu-library/3.3/sparklyr/conf/config-template.yml"
$spark_home
[1] "/usr/lib/spark"
$backend
description               class                mode                text              opened
"->localhost:45698"          "sockconn"                "wb"            "binary"            "opened"
can read           can write
"yes"               "yes"
$monitor
description              class               mode               text             opened           can read
"->localhost:8880"         "sockconn"               "rb"           "binary"           "opened"              "yes"
can write
"yes"
$output_file
[1] "/tmp/Rtmp1sMLdd/file639f1b35e079_spark.log"
$spark_context
<jobj[4]>
class org.apache.spark.SparkContext
org.apache.spark.SparkContext@2975650c
$java_context
<jobj[5]>
class org.apache.spark.api.java.JavaSparkContext
org.apache.spark.api.java.JavaSparkContext@7fdf326f
attr(,"class")
[1] "spark_connection"       "spark_shell_connection" "DBIConnection"

Hey,
I had this issue. Try installing non-developer version of sparklyr followed by dplyr. Then spark_install version 1.6.2.

We have an existing spark 2.1.0 cluster, the non developer sparklyr 0.5.3 does not support spark 2.1.0

That's correct

The table shows up in storage tab on Spark UI

@javierluraschi / @kevinushey - I was just able to recreate this issue in colorado.rstudio.com.  It looks like the error is returned by the Spark tab inside the IDE. I can refer to the table with no problem, it just doesn't show up in the UI

The table won't show up in the RStudio IDE Spark tab but it should show up when you click the Spark UI tab and then click the Storage tab in the browser.

Is there any way to suppress the pop up? Perhaps by disabling the Spark tab in the IDE somehow?

I believe the latest PR fixed the issue, please reinstall sparklyr and try again

Thanks. I'll test right after I get past https://github.com/hadley/rlang/issues/96

It works, Thanks Rstudio!!!

Fixed now. Thanks much.

Looks like this one has been resolved, thanks all for this investigation.


fix: fix "make dist" failing on latest version of Ubuntu

This PR installs the wheel package which is necessary for running python setup.py bdist_wheel (make dist) on latest version of Ubuntu. It also adds new steps to the CI workflow to test the the build.

@behnazh I just realized that we should’ve also updated pull-request.yaml 🤦🏻♂

I am very tempted to undo the last two commit to main.

ok


m_ailab speech dataset's website

I couldn't open the m_ailab's website, could you please check it?
Thanks

The website disappeared some months ago. There is a mirror at https://www.caito.de/2019/01/the-m-ailabs-speech-dataset/

The website disappeared some months ago. There is a mirror at https://www.caito.de/2019/01/the-m-ailabs-speech-dataset/

Thanks! Got it


feat: arrow improvements

https://github.com/Clariity/react-chessboard/assets/42891870/9a1d9bd4-8219-47fe-9c74-d5c6b5b851b2

This looks amazing!
My only request is can the arrows finish just before the centre of the square they point to, rather than past the centre / near the end of the square?
This way multiple arrows can point towards the same square without massively overlapping

My only request is can the arrows finish just before the centre of the square they point to, rather than past the centre / near the end of the square?

Hi, please check demo here, I've made them shorter already, screen recording in the video demo is not actual now

Amazing
2 slight changes to make this perfect:

can the arrow head be moved ever so slightly further into the square as it looks a bit weird with the base of the arrow head being directly in line with the square edge itself
There is a very slight gap between the the arrow head and the arrow body that needs fixing, maybe only 1 or 2 pixels