cannot using CTRL+c as copy

Issue Type: Bug
cannot using ctrl+c as copy as usual, no idea of what's going on
VS Code version: Code 1.23.0 (7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45, 2018-05-03T16:44:10.813Z)
OS version: Windows_NT ia32 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 x 2592)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.86GB (9.86GB free)

Process Argv
D:\tools\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

vscode-language-pack-zh-hans
MS-
1.23.4

python
ms-
2018.4.0

cpptools
ms-
0.17.0

solved this problem by changing all copy's keyboard shortcuts to ctrl+c

@whoisleehom is this within the editor?

Yes, within the editor. But I solved it by changing all COPY to CTRL+C. This situation never happened before.
发送自 Windows 10 版邮件应用
发件人: Daniel Imms
发送时间: 2018年5月11日 23:51
收件人: Microsoft/vscode
抄送: whoisleehom; Mention
主题: Re: [Microsoft/vscode] cannot using CTRL+c as copy (#49533)
@whoisleehom is this within the editor?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@whoisleehom Can you please provide any reproducible steps?

I'm also having the same issue.
Even when I uninstalled and re-installed still issue is there. Basically whenever the editor opens, the cursor just blinks like as if insert key is on.

@sagarpatil232 The OP claims Ctrl+C does not work. How exactly do you have the same issue if the cursor "just blinks like as if insert key is on". Have you disabled all extensions before reproducing ?

Thanks. Disabling vim extension worked for me.

Yes, it is within the editor.
发送自 Windows 10 版邮件应用
发件人: Daniel Imms
发送时间: 2018年5月11日 23:51
收件人: Microsoft/vscode
抄送: whoisleehom; Mention
主题: Re: [Microsoft/vscode] cannot using CTRL+c as copy (#49533)
@whoisleehom is this within the editor?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@whoisleehom Can you please provide any reproducible steps?


add CNAMES for wis2box

As discussed, setup CNAMEs for:

wis2box.wmo.int -> for now, point to https://community.wmo.int/activity-areas/wis/wis2-implementation
docs.wis2box.wmo.int -> CNAME should point to readthedocs.io (I will complete domain configuration on RTD once CNAME is there).

We need to agree with Enrico which URL's we are OK to use for wis2box

@maaikelimper: as discussed with @efucile, let's start with:

demo.wis2box.wmo.int: point to IP of physical box
docs.wis2box.wmo.int -> CNAME should point to readthedocs.io (I will complete domain configuration on RTD once the CNAME is there)

@tomkralidis we generally try to avoid creating subdomains for the purpose of creating URL shortcuts. wis2box.readthedocs.io (or similar) are good enough to stand on their own (and should be recognized by the community better than a wmo subdomain).
Along the same lines, subdomains are generally not created as shortcuts of (admittedly long) URLs of the community pages.

Timo proposed to use wis2box-demo.wis.wmo.int to point to the IP of physical box . Any objections to this ?

If I am being a bit pedantic, sorry, the subdomain is wis2box.wmo.int and demo, docs are hosts in that subdomain.
I guess one day we will have www.wis2box.wmo.int as a shiny web portal to explain what is wis2 in a box. So, grouping all sites docs, demo, www... under a unique (sub)domain is part of a typical setup for a web presence.
So, creating those CNAME would be a good thing for me...

@maaikelimper I posted while you put your own comment. I would (strongly) prefer having all sites within the same (sub)domain.

Updated URLs:

demo.wis2box.wis.wmo.int

docs.wis2box.wis.wmo.int

www will be done at a later date (needs content/marketing)

We've discussed the request with the communications team and they are happy. DNS changes underneath wis2box.wis.wmo.int will be implemented next week.
Will have to work together about ssl certificates. From our side we need one for docs. Is the box ssl capable? Could think about a * certificate for box

Docs is now live: https://docs.wis2box.wis.wmo.int

demo


feat(builder-shared): supports opening specified browser through environment variable

Summary

🤖 Generated by Copilot at ab949e1
This pull request adds a new feature to the @modern-js/builder-shared package that allows users to open a specified browser through an environment variable BROWSER when running the modern.js framework. It also updates the documentation and tests for this feature in both English and Chinese.
Details

🤖 Generated by Copilot at ab949e1

Add the ability to open a specified browser through an environment variable BROWSER for the @modern-js/builder-shared package (link)
Implement a new function getTargetBrowser that returns the browser name based on the environment variable or the running Chromium browsers (link)
Use getTargetBrowser in the existing function openBrowser that tries to open a browser with a given URL (link)
Fix a missing return false statement in openBrowser (link)
Add tests for openBrowser with different values of BROWSER using vitest (link)
Update the documentation for the modern.js framework to explain how to use the BROWSER environment variable on MacOS (link, link)

Add a new section Open the specified browser to the English file startUrl.md in the builder-doc package (link)
Add a translated section 打开指定浏览器 to the Chinese file startUrl.md in the same package (link)

Checklist

[x] I have added changeset via pnpm run change.
[x] I have updated the documentation.
[x] I have added tests to cover my changes.

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

👍🏻 LGTM

The test case is failed in Windows, please check it

The test case is failed in Windows, please check it

Fixed


Test assertion in data generators

Found while playing around with #327:
#include "unit-testing"

Function/WAVE Gen()

	CHECK(0)

	Make/FREE/N=1 wv
	return wv
End

/// UTF_TD_GENERATOR Gen
Function MyTest([variable var])

	PASS()
End

gives
•runtest("procedure")
  0: is false. Assertion "CHECK(0)" failed in Gen (Procedure, line 8)
  Start of test "Unnamed"
  Entering test suite "Procedure"
  Entering test case "MyTest:0"
  Leaving test case "MyTest:0"
  Finished with no errors
  Leaving test suite "Procedure"
  Test finished with no errors
  End of test "Unnamed"

which is unexpected as the failed assertion is not taken into account into the end result. Now knowing the UTF code a bit this is not too suprising. And I actually think it is nice to be able to use assertions in data generators. Or what do you think?
Same result in main, f69bf5d1 (Merge pull request #352 from byte-physics/bugfix/wave-pointer-printing, 2022-12-20), or mb/refactor/316-data-storage 7f659630 (Docs: Add developer section, 2022-12-13).
Ways to solve that:

[ ] Disallow assertions in inopportune times, like data generators, hook into EvaluateResults maybe
[ ] Treat each data generator as testcase, and group those into a pre-setup suite. Don't enforce assertions in data generators though. Don't start the test run at all if that pre-setup test suite has assertion errors. Needs to output proper JUNIT/TAP. These special test cases also ignore all test case hooks.
[ ] Collect assertion failures in data generators and attribute them to the respective test cases. This is a 1:N mapping as multiple testcase can have the same generator.

Some thoughts about this:
The first option is the easiest way. We need to track if the UTF is currently in testing mode and fail if an assertion is called when it's not expected (e.g. inside data generators, hooks, or even outside RunTests). If a data generator fails (RTE, assertions, ...) we can bail out the test run right away.
The second option is a bit tricky and involves more code. As far as I understand this we don't have to create the pre-setup suite in TestRunData. We only need one for the output (see #316). This means we have to inject the corresponding output functions when the normal test suite is prepared for execution and the data generators are called. But here are some questions:

Do we want to have a pre-setup test case for each real test case or only for ones that have data generators?
We will always have two test suites in the output for each real test suite. Is this desired for all cases (e.g. if the setup test suite is empty)?
Do we want to prefix or suffix the name of the pre-setup test suite? Do we want to restrict the names of normal test suites to don't have this prefix or suffix?

The third option doesn't seem to be a solution for me.

We do solution 2 (fake test suites, fake test cases).

This issue depends on PR #381 which contains some groundwork to solve this issue.

There are some difficulties while adding the fake test suites and test cases to collect the errors. The function GetGeneratorWave call each data generator and caches the result for later executions. This seems to be a good position to start and end the fake test cases.
The problem here is, that GetGeneratorWave is called by CheckDGenOutput which is executed for each test case that has a data generator assigned. CheckDGenOutput also performs all checks and emits errors for each test case with an invalid data generator. This function can output the same errors for the same data generator multiple times when used for different test functions.
But this behavior is problematic as such as it is difficult to inject errors to the fake test cases long after they are executed.
I would change the logic of the checks in such a way that these checks are executed only once and for each data generator. These errors are no longer connected to the dependend test cases! Doing this I can implement the logic with the fake test without any problems.
@t-b @MichaelHuth What do you think about this?

Thomas and I talked about that.
At the moment when the test run setup is created the data generators are called and immediately checked against the test case signatures if the data generators wave properties fit.
The approach would be to split that tight coupling of get and check:

In the test run setup creation only determine dgenlist without further checking
Then run the test suite that calls the data generators as part of TCs and collect there the generator waves, no extra checking of the waves
After the test suite finishes do the checks between the data generator waves and the test case signatures. Same logic as already now, abort if something is setup wrongly.
(We don't check that again when the MD/MMD TC is called later)

Currently, when CheckDGenOutput is called it is not part of any test case, it is part of the test run setup. Thus, if the Abort is hit in ReportErrorAndAbort it is not caught and the execution stops for good. This also means it stops for the first failed condition and will not collect multiple errors.
Maybe it is confusing if the same function is used inside TCs and outside TCs?
If you need more input just ping me for a chat.

I created a new diagram which helped me to understand the control flow and your suggestion. I will add this to the documentation later.

Thanks for your help. ;)

@Garados007 Nice diagram again! You do know that doxygen can also create caller/callee graphs?

It's kind of hilarious that the text goes out of the box considering how much they charge for the software.

You do know that doxygen can also create caller/callee graphs?

No. I didn't know doxygen has this ability at all. And if I haven't excepted that this will be supported for Igor Pro. I will have to take a look in it.

It's kind of hilarious that the text goes out of the box considering how much they charge for the software.

Don't know which box. And I have resized all of them by hand (I forgot that there is a built-in function 😅).

And I have resized all of them by hand

Ah okay.

No. I didn't know doxygen has this ability at all. And if I haven't excepted that this will be supported for Igor Pro. I will have to take a look in it.

Yes it is supported with IP thanks to https://github.com/byte-physics/doxygen-filter-ipf. The doxygen setting is called: CALL_GRAPH/CALLER_GRAPH.


Update stack fuse

Update stack FS to be runable to understand underlying Fuse components

alluxio-bot, merge this please

alluxio-bot, merge this please
alluxio-bot, merge this please


Nye update

Covers a few FRs:
#225 -- "instrumentation.name": "ping"
#218
Will error like:
service Run() error: Error testing https://insights-collector.eu01.nr-data.net/v1/accounts/2822422/events: There was an error when communicating to New Relic One: 403.

when one of the NR urls is wrong.
#216
Adds a flag  -snmp_poll_now=mabel which forces 1 snmp poll and then exits. Example use might be:
docker run -ti --name ktranslate-poll-now --rm --net=host \
--user `id -u`:`id -g` \
-v `pwd`/snmp-base.yaml:/snmp-base.yaml \
kentik/ktranslate:v2 \
    -snmp /snmp-base.yaml \
    -snmp_poll_now="router123.domain" \
    -format=new_relic_metric

@i3149 - looks good; what kind of output can be expected for -snmp_poll_now=mabel? Container log, STDOUT, something else?

@i3149 - looks good; what kind of output can be expected for -snmp_poll_now=mabel? Container log, STDOUT, something else?

Right now, this just works for container log:
2022-01-03T11:41:45.815 ktranslate(575374) [Info] KTranslate do sendToKTranslate Starting
2022-01-03T11:41:45.815 ktranslate(575374) [Info] KTranslate monitorMetricsInput Starting
2022-01-03T11:41:45.815 ktranslate(575374) [Info] KTranslate Setting up HTTP system on <IP_ADDRESS>:8081/chf
[{"metrics":[{"name":"kentik.snmp.ifHCOutMulticastPkts","type":"count","value":0,"attributes":{"objectIdentifier":".<IP_ADDRESS>.<IP_ADDRESS>.1.1.12","mib-name":"IF-MIB","if_Index":"11","if_Address":"<IP_ADDRESS>","if_AdminStatus":"up","provider":"kentik-net-snmp","tags.test":"one","if_PhysAddress":"00:11:32:ee:8f:2c","if_Speed":0,"if_Type":"ethernetCsmacd","if_interface_name":"ovs_eth3","instrumentation.name":"disk_station","mib-table":"if","if_Netmask":"<IP_ADDRESS>","eventType":"KSnmpInterfaceMetric","if_OperStatus":"down","device_name":"mabel"}},{"name":"kentik.snmp.ifOutDiscards","type":"count","value":0,"attributes":{"mib-table":"if","provider":"kentik-net-snmp","if_Address":"<IP_ADDRESS>","if_AdminStatus":"up","if_PhysAddress":"00:11:32:ee:8f:2c","if_Speed":0,"instrumentation.name":"disk_station","if_Index":"11","tags.test":"one","objectIdentifier":".<IP_ADDRESS>.<IP_ADDRESS>.1.19","device_name":"mabel","eventType":"KSnmpInterfaceMetric","mib-name":"IF-MIB","if_Type":"ethernetCsmacd","if_interface_name":"ovs_eth3","if_Netmask":"<IP_ADDRESS>","if_OperStatus":"down"}},{"name":"kentik.snmp.ifInErrors","type":"count","value":0,"attributes":{"if_Netmask":"<IP_ADDRESS>","if_Speed":0,"tags.test":"one","eventType":"KSnmpInterfaceMetric","objectIdentifier":".<IP_ADDRESS>.<IP_ADDRESS>.1.14","mib-name":"IF-MIB","if_PhysAddress":"00:11:32:ee:8f:2c","if_interface_name":"ovs_eth3","poll_duration_sec":60,"if_Index":"11","if_Type":"ethernetCsmacd","provider":"kentik-net-snmp","if_OperStatus":"down","if_AdminStatus":"up","if_Address":"<IP_ADDRESS>","device_name":"mabel","instrumentation.name":"disk_station","mib-table":"if"}},{"name":"kentik.snmp.ifOutErrors","type":"count","value":0,"attributes":{"eventType":"KSnmpInterfaceMetric","device_name":"mabel","if_Index":"11","if_Netmask":"<IP_ADDRESS>","tags.test":"one","instrumentation.name":"disk_station","provider":"kentik-net-snmp","if_AdminStatus":"up","if_Speed":0,"if_interface_name":"ovs_eth3","mib-table":"if","if_Address":"<IP_ADDRESS>","mib-name":"IF-MIB","poll_duration_sec":60,"if_OperStatus":"down","if_Type":"ethernetCsmacd","if_PhysAddress":"00:11:32:ee:8f:2c","objectIdentifier":".<IP_ADDRESS>.<IP_ADDRESS>.1.20"}},{"name":"kentik.snmp.ifHCOutUcastPkts","type":"count","value":0,"attributes":{"device_name":"mabel","if_interface_name":"ovs_eth3","if_Netmask":"<IP_ADDRESS>","tags.test":"one","if_Speed":0,"mib-name":"IF-MIB","instrumentation.name":"disk_station","if_OperStatus":"down","if_Type":"ethernetCsmacd","if_Index":"11","if_Address":"<IP_ADDRESS>","if_AdminStatus":"up","if_PhysAddress":"00:11:32:ee:8f:2c","objectIdentifier":".<IP_ADDRESS>.<IP_ADDRESS>.1.1.11","eventType":"KSnmpInterfaceMetric","mib-table":"if","provider":"kentik-net-snmp"}},{"name":"kentik.snmp.ifHCInUcastPkts","type":"count","value":0,
...

Output is json format, in the log.

awesome, would tee_logs work with this container as well then (if someone wanted to use that feature in addition to this new one)

awesome, would tee_logs work with this container as well then? (if someone wanted to use that feature in addition to this new one)

Yes, 100%. just be sure to put in all the right credentials.


Downloading very large files

When using the extension on a web page that links to very large files, it sometimes crashes.
At any rate, why does the extensions have to download the files entirely? Why not just make at HTTP HEAD request to avoid downloading the entire file?

There is a setting on the options page to change between making HEAD requests and GET requests: https://github.com/ocodia/Check-My-Links/blob/master/options.html#L156

My bad! Sorry for not checking there, first.


Comments: FAQ?

Quick questions that I could not find the answer to:

Where is v2 code?
Would it be possible to rewrite the client code in python as well? (perhaps using paramiko or twisted)
Does localtunnel support https?
How hard is it to run it on my own webserver? Perhaps make it configurable.

Perhaps add a FAQ to the source code that can be read by everyone?

Just tried https port forwarding -- didnt work.

Just tried https port forwarding -- didnt work.

v2 code is in the v2 branch:
https://github.com/progrium/localtunnel/tree/v2
The client is written in Python, although currently using gevent. It might be worth trying to make it work with fewer dependencies.
It doesn't support HTTPS, but it can pretty easily now.
Not sure what you mean by configurable, but v2 server is definitely more self contained and doesn't rely on sshd, so you could much more easily run it yourself.
That answer the questions? I should definitely put together an FAQ.

Yeah, so you mean use a custom domain? v2 has that as a functional requirement.


Add dotnet tools to PATH

Hello @themagiccog ... This shouldn't be necessary. The SDK installer takes care of it. If you can repro it not behaving, please open an issue here with the steps so that they can investigate the problem with you ...
https://github.com/dotnet/sdk/issues

You can reproduce the issue by simply working thru the steps in the document.

It has nothing to do with the document.
How did you install .NET on your system?

I followed this:
https://dotnet.microsoft.com/en-us/download

Good, that's the correct approach if one isn't using VS to receive .NET.
You can try uninstalling .NET, confirming that the PATH entry is removed (or remove it manually), and re-installing from the SDK installer as an admin to see if that successfully updates the PATH. That's the only thing that leaps to mind. If it still doesn't make the PATH entry, then you'll need to open an issue for the team that works on the SDK at ...
https://github.com/dotnet/sdk/issues
... which is (for the most part) a different team than the ASP.NET Core product unit. They'll investigate with you why the PATH isn't being set properly.


Editor endpoints write performance improvements

After https://github.com/CartoDB/cartodb/issues/5085, when we have one or two days of data, start researching improvements on hot spots

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


[BUG] importing picamera2 0.3.9

Describe the bug
I've installed a fresh raspberry image from raspberry site.
Picamera installed is:
pi@raspberrypi:~/camera_server $ pip list
picamera2                        0.3.9
v4l2-python3                     0.3.1
....
Importing picamera2 there is an issue on missing V4L2_CID_MPEG_VIDEO_H264_MAX_QP
To Reproduce
pi@raspberrypi:~/camera_server $ python
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.

from picamera2 import Picamera2
Traceback (most recent call last):
File "", line 1, in
File "/home/qem/.local/lib/python3.9/site-packages/picamera2/init.py", line 7, in
from .picamera2 import Picamera2, Preview
File "/home/qem/.local/lib/python3.9/site-packages/picamera2/picamera2.py", line 23, in
from picamera2.encoders import Encoder, H264Encoder, MJPEGEncoder, Quality
File "/home/qem/.local/lib/python3.9/site-packages/picamera2/encoders/init.py", line 2, in
from .h264_encoder import H264Encoder
File "/home/qem/.local/lib/python3.9/site-packages/picamera2/encoders/h264_encoder.py", line 5, in
from v4l2 import (V4L2_CID_MPEG_VIDEO_H264_I_PERIOD,
ImportError: cannot import name 'V4L2_CID_MPEG_VIDEO_H264_MAX_QP' from 'v4l2' (/usr/lib/python3/dist-packages/v4l2.py)

Hardware :
Raspberry Pi 4

Just a day after post raspberry update solved issue with a 0.3.2-1 version of v4l2:
Log started: 2023-03-04  08:09:34
(Reading database ... 97794 files and directories currently installed.)
Preparing to unpack .../0-libcamera0_0~git20230302+923f5d70-1_arm64.deb ...
Unpacking libcamera0:arm64 (0~git20230302+923f5d70-1) over (0~git20230124+9b860a66-1) ...
Preparing to unpack .../1-libcamera-apps_0~git20230301+54a781d-1_arm64.deb ...
Unpacking libcamera-apps (0~git20230301+54a781d-1) over (0~git20230125+9f08463-1) ...
Preparing to unpack .../2-libcamera-tools_0~git20230302+923f5d70-1_arm64.deb ...
Unpacking libcamera-tools (0~git20230302+923f5d70-1) over (0~git20230124+9b860a66-1) ...
Preparing to unpack .../3-python3-libcamera_0~git20230302+923f5d70-1_arm64.deb ...
Unpacking python3-libcamera (0~git20230302+923f5d70-1) over (0~git20230124+9b860a66-1) ...
Preparing to unpack .../4-python3-v4l2_0.3.2-1_all.deb ...
Unpacking python3-v4l2 (0.3.2-1) over (0.3.1-1) ...
Preparing to unpack .../5-python3-picamera2_0.3.9-1_all.deb ...
Unpacking python3-picamera2 (0.3.9-1) over (0.3.8-1) ...
Setting up python3-v4l2 (0.3.2-1) ...
Setting up libcamera0:arm64 (0~git20230302+923f5d70-1) ...
Setting up libcamera-tools (0~git20230302+923f5d70-1) ...
Setting up libcamera-apps (0~git20230301+54a781d-1) ...
Setting up python3-libcamera (0~git20230302+923f5d70-1) ...
Setting up python3-picamera2 (0.3.9-1) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
Log ended: 2023-03-04  08:09:40


Update to Djs.14

:zap: Describe the New Feature
DIscord.js 14 has already been released, this library needs to be updated to support it.

Done in #70.


Stable/liberty

Hi!
Netapp drivers lack of https authorization handling. I added this functionality and NetApp storage worked fine after that. Please, see the patch for "cinder/cinder/volume/drivers/netapp/dataontap/client/api.py".
Thanks.
Here is the patch:
netapp_https_patch.txt
I had an error, which states the message below, but diving into exception handling it was message with unabling to handling https request.

084dab17b576 - - - - -] Failed to initialize driver.
ast):
te-packages/cinder/volume/manager.py", line 367, in init_host
)
te-packages/osprofiler/profiler.py", line 105, in wrapper
te-packages/cinder/volume/drivers/netapp/dataontap/iscsi_cmode.py",
line 43, in do_setup
text)
te-packages/cinder/utils.py", line 872, in trace_method_logging_wrapper
te-packages/cinder/utils.py", line 872, in trace_method_logging_wrapper
te-packages/cinder/volume/drivers/netapp/dataontap/block_cmode.py",
line 72, in do_setup
te-packages/cinder/utils.py", line 872, in trace_method_logging_wrapper
te-packages/cinder/utils.py", line 872, in trace_method_logging_wrapper
te-
packages/cinder/volume/drivers/netapp/dataontap/client/client_cmode.py"
, line 46, in init
_ontapi_version(cached=False)
te-packages/cinder/utils.py", line 872, in trace_method_logging_wrapper
te-
packages/cinder/volume/drivers/netapp/dataontap/client/client_base.py",
line 58, in get_ontapi_version
oke_successfully(ontapi_version, False)
te-packages/cinder/volume/drivers/netapp/dataontap/client/api.py", line
233, in invoke_successfully
(na_element, enable_tunneling)
te-packages/cinder/volume/drivers/netapp/dataontap/client/api.py", line
218, in invoke_elem
ted error')
. Reason - Unexpected error:unknown

Thank you for contributing to openstack/cinder!
openstack/cinder uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.

Thank you for contributing to openstack/cinder!
openstack/cinder uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Explore moving xochitl off of root partition

Since we have limited space on the root partition at this point, we should explore moving it off of root. Likely as part of install we should move it to /home/root and symlink to it. The ddvk-hacks package will also need to be updated to handle the new location.
@matteodelabre @raisjn @LinusCDE thoughts?

Is there no other way around moving stuff? Should we consider repartitioning?
In any case I would probably move libicudata first:
$ find / -type f -exec du {} \; | grep -v home | grep -v opt | sort -n | tail
3703	/usr/lib/libQt5Quick.so.5.15.1
4043	/usr/lib/libQt5Qml.so.5.15.1
4876	/usr/lib/libQt5Gui.so.5.15.1
5136	/dev/shm/swtfb.01
5267	/boot/zImage
5569	/usr/lib/libQt5Core.so.5.15.1
5682	/usr/share/misc/magic.mgc
5774	/usr/bin/xochitl
8243	/etc/udev/hwdb.bin
27380	/usr/lib/libicudata.so.66.1

These are interesting ideas, but moving the xochitl binary could prove to be a bit fragile and we will need to think about all corner cases and interactions. I’m not saying this isn’t doable, since as you pointed out we already do something similar with the ddvk-hacks package.
Another idea which could be more robust would be to provide our own Toltec root filesystem (without Xochitl), and to provide Xochitl as a separate package. This is no trivial task, but the main pieces are almost there, thanks to @alistair23 and @Etn40ff’s excellent work on kernel packaging, and we could investigate using OpenWrt to make a basic image.

I do like the second item medium to long term. I think we have an immediate need though as the latest OS has an extreme space problem again, and this might give us a quick win to hold us over for a little bit. That and bind mounting /var/log to the home partition.

We could also consider compressing binaries with upx. For some libraries the compression doesn't work or executing the binary fails. But compress a lot of things like built-in wget, vim, nano etc. might work and save some space.
I would not recommend this for xochitl, as this makes finding memory regions and patching for ddvk likely impossible. Also if the binary gets to complex for fails, it could soft-brick the device / ui.

Do we know if the binaries have been stripped or not?

Do we know if the binaries have been stripped or not?

According to file, at least vim.vim, xochitl, sync and minidump_stackwalk are stripped (those seem to be the biggest binaries).
Not sure. But xz can usually compress binaries pretty heavily (getting about a third of the original size is common) I think the main problems of upx making a binary unusable where with newer rust builds. Other binaries should be find and the project is pretty mature in general.
Not entirely sure but I think upx sometimes strips the binaries anyway.
Using the latest arm release of upx on the vim.vim and sync binary seem already pretty promising. Giving us about 1,8 MB extra space. Both binaries seem to continue working fine.

If simply compressing the biggest binaries (minidump_stackwalk, strace, sync and vim.vim) we get from a size of 4,4 MiB to 1.7 MiB => saves 2.7 MiB. With brute we get down to 1.3 MiB, but I doubt the extra time is worth the ~400 KiB saved.
Xochitl is the biggest binary and would save us 3.7 MiB alone, but then it would likely break ddvk-hacks as already mentioned.
If we wanted to use this, we could pretty easily package up the upx release as a toltec package and compress specific binaries if not compressed already as part of bootstrap or similar.

Considering that (if I understood it right) most (if not all) of the additional writing done onto root partition is done because of logging, I feel like @Eeems' idea of

bind mounting /var/log to the home partition

is a logical conclusion that I assume would have a much lower risk of breakage compared to moving xochitl or libraries, and would allow to buy some time to work on other solutions.
The only problem I see with this is the transition to a /var/log bind mount, and depending on future solutions, perhaps the transition away from that bind mount.
(Also, it's been about a month since the last reply... so I assume it might not be that time critical? Or maybe it's because 2.13 support wasn't that big of a deal because of the lack of rm2fb and ddvk-hacks support at the time.)


Node sass fails to install (io.js 3.0.0 / osx)

node-sass seems to throw a bunch or node-gyp errors while installing on io.js 3.0.0 on osx.
I see multiple errors like:
/Users/teel/.node-gyp/3.0.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
4 warnings and 10 errors generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/teel/Projects/redacted/node_modules/node-sass/node_modules/pangyp/lib/build.js:271:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.4.0
gyp ERR! command "/usr/local/bin/iojs" "/Users/teel/Projects/redacted/node_modules/node-sass/node_modules/pangyp/bin/node-gyp" "rebuild" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/teel/Projects/redacted/node_modules/node-sass
gyp ERR! node -v v3.0.0
gyp ERR! pangyp -v v2.3.0
gyp ERR! not ok
Build failed
npm ERR! Darwin 14.4.0
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "install" "sass-loader"
npm ERR! node v3.0.0
npm ERR! npm  v2.13.5
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node scripts/build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/teel/Projects/redacted/npm-debug.log

I have the same issue

Same error. Ubuntu 15.04, io.js 3.1.0
https://gist.github.com/chncdcksn/f72d62d7ad13a400312a

Ditto. OS X 10.10; io.js 3.1.0; node-gyp 3.1.0

This is #1053, currently fixed in git master and under testing for a release.

Same problem in PostCSS benchmark.

Same problem in PostCSS benchmark.

See #1053 and #1054.

@saper latest node-sass still falls :)

@saper latest node-sass still falls :)

Try git master.

It still appears to be failing:
npm install<EMAIL_ADDRESS>Cannot download "https://github.com/sass/node-sass/releases/download/v3.2.0/linux-x64-45_binding.node": HTTP error 404 Not Found

This is because #1054 is not released yet.

Is there an ETA on that release?

This will likely ship in the AM AEST (approx 14hrs.).

+1 to get updates. thanks

@xzyfer thanks for the update, I look forward to the release :+1:

v3.3.0 has been released

Reopening this because we've had to pull the v3.3.x release due a segfault issue when used with fsevent (https://github.com/sass/node-sass/issues/1107).

If you desperately need iojs v3 support you can use the beta tag, but we caution against this.
npm install node-sass@beta

@xzyfer commented on Aug 26, 2015, 9:58 AM EDT:

If you desperately need iojs v3 support you can use the beta tag, but we caution against this.
npm install node-sass@beta

So far, I haven't run into any issues; but I'll be sure to report them (I'm using this via broccoli).

@xzyfer any info when 3.3.1+ will be available in npm as stable (not as node-sass@beta)?

We need to check why https://github.com/strongloop/fsevents/issues/82 occurs in conjunction with node-sass 3.3.0

@puzrin there's not estimate yet. We're having an incompatiblity with fsevents which is widely used and core to projects like gulp and webpack. Until this is resolved we cannot ship iojs v3 compatibility.
Subscribe to https://github.com/sass/node-sass/issues/1107 and strongloop/fsevents#82 for updates on the situation.

No prob. I have broken travis tests in mincer and wished to understand, should i disable iojs env or wait a bit. If fsevent is the only blocker, there are a good probability of improvement in near future.

Yes, we're purely blocked on fsevents at the moment.
You can enable iojs for specific versions in travis like do https://github.com/sass/node-sass/blob/master/.travis.yml#L7-L13
Just remove iojs-v3 and you should be fine to use Node Sass.

Please note that installing @beta will throw segfault even in node v0.12.7, happened to me after switching from v3.0.0 (also segfaulted). It happened in a project where I was using sass-loader.

Fixed in v3.3.2.

update gcc(4.6+).


JPEG and PNG export glitches on message flow markers

Describe the bug
Message flow markers miss part. Notice it applies both to the start and the end.

Steps to reproduce

Create a collaboration diagram with message flow
Export as PNG or JPEG
now this happens

Expected behavior
No glitches
Environment

OS: MacOS
Camunda Modeler Version: 5.8.0-rc.0
Execution Platform: [e.g. Camunda Platform, Camunda Cloud]
Installed plug-ins: [...]

Additional context
No response

Likely related to https://github.com/bpmn-io/bpmn-js/commit/eb4b54f7ffdb55e340aac291c33a5f4d66e246b3.


KeyError: "The name 'input:0' refers to a Tensor which does not exist. The operation, 'input', does not exist in the graph."

This template is for miscellaneous issues not covered by the other issue categories.
For questions on how to work with TensorFlow, or support for problems that are not verified bugs in TensorFlow, please go to StackOverflow.
If you are reporting a vulnerability, please use the dedicated reporting process.
For high-level discussions about TensorFlow, please post to<EMAIL_ADDRESS>for questions about the development or internal workings of TensorFlow, or if you would like to know how to contribute to TensorFlow, please post to<EMAIL_ADDRESS>

@sumit1212 I noticed this as a duplicate issue as you posted it on original "tf-face-recognition" Repo and that is correct place for this issue. Closing this issue here. Thanks!


Add BitBucket hook support

^ Title explains everything. Same as for GitLab and GitHub.
Some Links:

General Explanation
Documentation
Demo Listener Project

@ApfelUser I'll implement it but it might take a few days for me to have the chance to add it. However, if you feel like contributing it, feel free.

This is done, right? #7?

Yeah.
On 25 Sep 2015 12:18 am, "Matt Holt"<EMAIL_ADDRESS>wrote:

This is done, right? #7 https://github.com/abiosoft/caddy-git/pull/7?
—
Reply to this email directly or view it on GitHub
https://github.com/abiosoft/caddy-git/issues/5#issuecomment-143075896.


Document deploy process

Add a README.md documenting the current deploy process

this is not finished

i have a README sitting in my working tree i need to finish. should we move this to sprint 2 then?


feat: Search indexing APIs

This PR allows users to create and use standalone (where tigris collection is not a data source) search index.

Could you update the description to include an example of defining index model, creating it, and doing writes and searches on it.

Could you update the description to include an example of defining index model, creating it, and doing writes and searches on it.

Done

Codecov Report
Base: 92.05% // Head: 90.89% // Decreases project coverage by -1.17% :warning:

Coverage data is based on head (d0af86a) compared to base (4dc09cd).
Patch coverage: 90.38% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
- Coverage   92.05%   90.89%   -1.17%
==========================================
  Files          21       27       +6
  Lines        4531     5073     +542
  Branches      552      629      +77
==========================================
+ Hits         4171     4611     +440
- Misses        358      459     +101
- Partials        2        3       +1

Impacted Files
Coverage Δ

src/decorators/tigris-index.ts
0.00% <0.00%> (ø)

src/index.ts
0.00% <0.00%> (ø)

src/search/search-index.ts
72.93% <72.93%> (ø)

src/tigris.ts
66.41% <90.00%> (+0.60%)
:arrow_up:

src/search/types.ts
92.94% <94.64%> (-7.06%)
:arrow_down:

src/search/search.ts
96.73% <96.73%> (ø)

src/collection.ts
97.25% <100.00%> (+<0.01%)
:arrow_up:

src/consumables/search-iterator.ts
100.00% <100.00%> (ø)

src/search/index.ts
100.00% <100.00%> (ø)

src/search/query.ts
100.00% <100.00%> (ø)

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


SimpleXMLElement accessor always returns a single SimpleXMLElement object

Even when several nodes with the same name exist in the document, the first element is returned when using the magic accessor.
$data = <<<EOF
<feed>
 <products>
  <product>1</product>
  <product>2</product>
  <product>3</product>
 </products>
</feed>
EOF;

$data = simplexml_load_string($data);

echo get_class($data->products->product); // SimpleXMLElement
echo $data->products->product; // 1

Therefore the return type of __get() should be SimpleXMLElement, not SimpleXMLElement[].

It's a little more complex than that, as discussed on https://youtrack.jetbrains.com/issue/WI-15760
If you mark it as returning a single element, you'll just get an error reported for the opposite case: $data->products[0] should also be analysed as an instance of SimpleXMLElement, but with this patch will be flagged as an error.
I think a better approach is to mark the class as implementing ArrayAccess, allowing both types of access to be analysed successfully, which is what I have here: https://github.com/JetBrains/phpstorm-stubs/pull/245

Indeed, your approach seems to be the best compromise for both use cases.
Closing in favour of #245.


Triggering an update of the cached edges in OWLGraphWrapper

From<EMAIL_ADDRESS>on February 06, 2013 06:13:25
Additions/removal of OWLSubClassOfAxiom in an ontology are not seen by the OWLGraphWrapper container. Might be nice to add a method to trigger an update of the cached edges.
Example:
OWLSubClassOfAxiom ax = factory.getOWLSubClassOfAxiom(myOWLClass1, myOWLClass2);
AddAxiom addAx = new AddAxiom(myWrapper.getSourceOntology(), ax);
myWrapper.getManager().applyChange(addAx);
for (OWLGraphEdge edge: myWrapper.getCompleteEdgesBetween(myClass, myClass2)) {
System.out.println(edge);//no edges found here
}
//force an update, but throw checked Exceptions, and looks like a hack.
myWrapper = new OWLGraphWrapper(myWrapper.getSourceOntology());
for (OWLGraphEdge edge: myWrapper.getCompleteEdgesBetween(myClass, myClass2)) {
System.out.println(edge);//the edge is correctly displayed
}
Original issue: http://code.google.com/p/owltools/issues/detail?id=49

From<EMAIL_ADDRESS>on February 06, 2013 06:17:34
Of note, cacheEdges() does not trigger an update of the cached edges.

From<EMAIL_ADDRESS>on February 07, 2013 09:09:19
There is now a new method clearCachedEdges() in OWLGraphWrapper, see r1122 .
Please, can you verify that this is sufficient for your tasks.
Are there any other caches you want to be able to clear?
Status: Started

From<EMAIL_ADDRESS>on February 07, 2013 15:16:45
It does not seem to work :/
Of note, my previous sample code was incorrect, to reproduce the problem, getEdgesBetween must have been called before the creation of a new relation.
So, by introducing the new clearCachedEdges() method, the sample code becomes:
myWrapper.getEdgesBetween(myClass, myClass2);//just to trigger the cache
OWLSubClassOfAxiom ax = factory.getOWLSubClassOfAxiom(myClass, myClass2);
AddAxiom addAx = new AddAxiom(myWrapper.getSourceOntology(), ax);
myWrapper.getManager().applyChange(addAx);
for (OWLGraphEdge edge: myWrapper.getEdgesBetween(myClass, myClass2)) {
System.out.println(edge);//no edges found here
}
myWrapper.clearCachedEdges();//test the new methd
for (OWLGraphEdge edge: myWrapper.getEdgesBetween(myClass, myClass2)) {
System.out.println(edge);//still nothing :(
}
//force an update, but throw checked Exceptions, and looks like a hack.
myWrapper = new OWLGraphWrapper(myWrapper.getSourceOntology());
for (OWLGraphEdge edge: myWrapper.getEdgesBetween(myClass, myClass2)) {
System.out.println(edge);//the edge is correctly displayed
}

From<EMAIL_ADDRESS>on February 07, 2013 16:11:11
Thank you for testing.
I have updated the method to clear all caches and added a test case.
Please, see revision r1131 .

From<EMAIL_ADDRESS>on February 07, 2013 16:21:13
Now it works, thank you.
(not a priority, but an option to disable the caching would be handy, when you build/modify an ontology)

From<EMAIL_ADDRESS>on February 07, 2013 16:27:43
Hello,
there is the Config object for OWLGraphWrapper#getConfig()
It has the boolean field: isCacheClosure You could set that to false.
BUT at the moment this is not used in all of the caching methods. This needs to be changed soon.

From<EMAIL_ADDRESS>on February 07, 2013 16:30:02
Oh OK, thank you for the info. I guess I will use clearCachedEdges() until then.


Adding 2d option for find_closest_area function

Is your feature request related to a problem? Please describe.
Currently building a dashboard that takes user input to define player locations. The input is taken from a 2d map and therefore doesn't have z-axis information. This makes it impossible to select some areas.
Describe the solution you'd like
Add an option to ignore the z-axis. Therefore only computing the euclidian distance wrt. x and y.

I do not really think that that is possible to be honest.
How would you resolve the ambiguity on maps like nuke? It is probably best to leave this up to the user how they want to handle it.
On flat maps you could just use any z-value and should get the correct result and on multi-level maps you would have to decide this for yourself.

Currently if I pick z=0 on dust2 all parts of lower dark would not be returned, since they are further away from the top of stairs.
I understand very vertical maps wouldn't be aligned with the solution i propose.

Ah, yeah. If the horizontal distance is smaller than the horizontal one it returns the wrong value.
This is a pretty simple change. If you can you could just make a PR for this. Otherwise I'll make one tomorrow.


Update .npmignore

See #205
This removes the need for an .npmignore altogether, as it is inclusive, rather than exclusive.

Yeah, it all depends on what one prefers: whitelisting or blacklisting :) There are pros and cons for both.

@pkuczynski Ultimately, for bundling, whitelisting is the way to go. If you had to package someone's order for delivery in a warehouse, would you be given a list of things they haven't ordered or a list of things they have? I appreciate the sentiment, though :)

What problem does this address?

@alexei It is unnecessary now, due to my PR. However, if you wish to investigate this too, that's fine.


System class

Modest new System class to provide platform dependent features.
There's also a new Folder class to query the filing system.

It looks like the varg changes are also in here.
If you sync with no fast forward that should go away

git checkout dev
git pull
git checkout system
git merge --no-ff dev

(https://wikis.uit.tufts.edu/confluence/x/2JS3C)

Looks like a field in the DIR structure is causing problems. I'll investigate [could be something that's not strictly POSIX compliant!]


Move Dynamic Module Excercises from Training to a separate Markdown

The Hands-On 3 files were created from content in the Training. The Hands-On 3 is not finished, but that will be captured in another issue.


Evaluate own Dataset

Hello,
this repo works very good for me and I already build my own dataset in Kitti format and the labels. So where do I put my labels so I can see the score for test.py. I need to see the score between my labels and the predicted labels.

@josy43 how you make labels and that files in Kitti format?

Have you created infos for you own dataset?

Have you created infos for you own dataset?

Yes that was the point.
So now I try to get a score for my evaluation dataset, but I just got zeros everywhere.
My Label looks like this:
Car 0 0 0 0 0 0 0 1.7759236998670875 1.8197457766280374 4.122105387415043 6.6118077507298025 2.1935728923376425 20.66966086726571 1.5385849784507857
and the predicted label like this:
Car -1 -1 -5.0051 801.8121 169.6522 904.2530 228.0073 1.4932 1.6120 4.0451 6.7107 1.4110 20.5002 -4.69365
I dont have any information about the 7 values after the type value. I just need to know the info about the bounding box.
So how can I get th escore for my data.
Info about Kitti File Format :  https://github.com/bostondiditeam/kitti/blob/master/resources/devkit_object/readme.txt

#198


move from font-awesome to fork-awesome

Hi everyone,
just saw #22 and was also playing around with this so i prepared a short PR.
I updated the icons.js list with this gist for the hidden @icon@ feature.
I also included the less & scss files similar to the previous FontAwesome integration and added the Licenses and Readme file from the ForkAwesome repo.
Cheers

Thank you very much, @Sta7e. This is lovely 👍🏻 💯 .


Read More links are not working

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Read more links must be corrected and show more information
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assigned!


x86 support

Compiled this on x86 and tried it on Genymotion just for fun - pread() seems to fail - Any idea how to fix?
root@vbox86p:/data/local/tmp # uname -a
Linux localhost 3.10.0-genymotion-g1d178ae-dirty #1 SMP PREEMPT Mon Apr 27 11:57:12 CEST 2015 i686 GNU/Linux
root@vbox86p:/data/local/tmp # ./kisskiss com.android.mms
[] Android Dalvik Unpacker/Unprotector -<EMAIL_ADDRESS>[+] Hunting for com.android.mms
[+] 6589 is service pid
[+] 6998 is clone pid
[+] Attempting to detect packer/protector...
[] Nothing special found, assuming Bangcle...
[+] Unpacked odex found in memory!
[+] Attempting to dump memory region 0xb7745000 to 0xb7746000
[!] pread seems to have failed!
[!] An issue occured trying to dump the memory to a file!

An md5 or sha1 of the sample might be helpful :D

Mmm yes an identifier on the app would be useful, can you also give more information about your Genymotion emulator build? Potentially a getprop dump of it? I'm not 100% versed in all their emulator builds - though they might have restrictions on things or even SELinux enabled in odd ways.

I fired up a general Genymotion emulator, it appeared to have SELinux enabled, which would cause this to fail. You either need to disable SELinux or use a device with it not enabled already.
I did just test this on a x86 emulator and it worked fine.


error executing dbeaver zipped version in windows 10

System information:

windows 10
DBeaver version 7.3 (zip)

Describe the problem you're observing:
Dialog error:

Steps to reproduce, if exist:

Uncompressed dbeaver zip version
double click dbeaver.exe
error dialog

Tried to locate 32 bits version just in case....to no avail

Based on the path C:\Progam Files (x86)\ I assume you have a 32 bit Java installed.

Could you install a 64 bit Java version to see if this would solve your issue.

Which Java version do you have installed?

Based on https://www.oracle.com/java/technologies/javase/javase9-archive-downloads.html the last 32 bit Java version from Oracle seems to be < Java 9. To run dbeaver you would need Java >= 11.

I have no privileges to install any software on this machine. I hoped I could use portable dbeaver. Java Version is 12

@SubOptimal was right. DBeaver doesn't support 32-bit Java


When Version is a Floating Point Number, it is Not Quoted

Brief description of your issue
If package version is a floating point number, it doesn't get quoted
https://repology.org/log/1208825
Steps to reproduce
Use a package version like 6.81
Expected behavior
PackageVersion: "6.81"
Actual behavior
PackageVersion: 6.81
# Created using wingetcreate <IP_ADDRESS>
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.4.0.schema.json

PackageIdentifier: Cockos.REAPER
PackageVersion: 6.81
Platform:
- Windows.Desktop

Environment
.

Looked into this a bit, and there is a pull request waiting to be merged for the YAML library winget-create uses. I believe we can update the dependency version once that makes into a release
Probably depends on

https://github.com/aaubry/YamlDotNet/issues/714

Agree with @mdanish-kh. (Thanks for the investigation!)
We could probably come up with some hacky way to add quotes to the package version, but since everything flows through the YAML library for serialization when outputting the yaml file, it would be best to let them handle that conversion which should be resolved once this PR get checked in: https://github.com/aaubry/YamlDotNet/pull/827


added documentation for successful installing apiai in a clean fresh python environment

I could not install apiai without installing python dependencies that you did not mention in your documentation. it was easy enough to read the error messages for an experienced user but I guess most people will benefit from mentioning the depencies in the readme right away

Thanks, @renepickhardt!


Prioritize credhelpers block in docker config.json

This might hold true for all registries.
But at least for gcr.io this is the preferred option. Since old expired credentials generated by gcloud docker can result in unexpected auth failures.

At least we've been cognitive about our explicit choice of the current priority.
/**
 * Retrieves registry credentials from the Docker config.
 *
 *
The credentials are searched in the following order (stopping when credentials are found):
 *
 *

 *
If there is an {@code auth} defined for a registry.
 *
Using the {@code credsStore} credential helper, if available.
 *
Using the credential helper from {@code credHelpers}, if available.
 *

 *
 * @see https://docs.docker.com/engine/reference/commandline/login/
 */

If we're willing to take the hit for a round-trip, we could check if it's a token with
$ curl -H 'Authorization: Bearer ya29.GdfB_ZO5vdfdxcxx2xtB06JWxTRtXSd3q9WyGWIaui_Z-UNjbwCSy_8u2HH0sIYVmf9YBLov1UMCsdsBibq4Aaie9nn2772Pvzdf7izsWY' 'https://www.googleapis.com/oauth2/v3/userinfo'
{
  "sub": "11119632463064014179",
  "picture": "https://lh3.googleusercontent.com/-sA42z01UTb8/AAAAAAAAAAI/AAAAAAAAAAQ/2oqVvbVbooU/photo.jpg",
  "email"<EMAIL_ADDRESS>  "email_verified": true,
  "hd": "google.com"
}

As discussed, maybe the solution is to try any available auth for a server until we either succeed or exhaust the list.


TimberSite class missing

Could it be that TimberSite is missing?
There is only lib/Site.

Short answer: No.
In Timber 1.0.0-rc3, namespaced classes were introduced. Site sits in the namespace Timber, so that you can do
<?php

use Timber\Site;

$site = new Site();

instead of
$site = new TimberSite();

For backwards compatibility, TimberSite acts as an alias for the Site class. See the backwards_compatibility method, which adds aliases for all other classes, too: https://github.com/timber/timber/blob/master/lib/Timber.php#L83.

Thank you!
I was not aware of that change.


openrsync on uLinux

Hi,
I've successfully built openrsync for for uLinux. Here is how:
# pwd
/root/openrsync
# ls -lah
total 24K
drwxr-xr-x    2 root     root        4.0K Apr 19 07:08 .
drwxr-xr-x   11 root     root        4.0K Apr 19 06:51 ..
-rw-r--r--    1 root     root         193 Apr 19 07:03 .checksum
-rw-r--r--    1 root     root         156 Apr 19 07:08 .manifest
-rw-r--r--    1 root     root         635 Apr 19 07:06 Pkgfile
-rw-r--r--    1 root     root         674 Apr 19 07:08 configure.patch
# cat *
#!/bin/sh
# shellcheck disable=SC2034

# Description: Utility for incremental file transfers over networks
# URL:         https://rsync.samba.org
# Maintainer:  James Mills, prologic at shortcircuit dot net dot au

name=openrsync
version=20200330
gitver=8b612161bd6c251485725af08d352ae1a7d82eca
release=1
source="https://github.com/kristapsdz/openrsync/archive/$gitver.zip
configure.patch"

build () {
  cd $name-$gitver || exit 1

  patch -i "$SRC"/configure.patch

  ./configure \
    PREFIX=/usr \
    DESTDIR="$PKG"

  make -j "$(nproc)"
  make DESTDIR="$PKG" install

  ln -s $name "$PKG"/usr/bin/rsync

  rm -rf "$PKG"/usr/man
}
--- configure.orig
+++ configure
@@ -89,21 +89,7 @@
 # It does have gcc, so try that instead.
 # Prefer clang, though.

-which ${CC} 2>/dev/null 1>&2 || {
-	echo "${CC} not found: trying clang" 1>&2
-	echo "${CC} not found: trying clang" 1>&3
-	CC=clang
-	which ${CC} 2>/dev/null 1>&2 || {
-		echo "${CC} not found: trying gcc" 1>&2
-		echo "${CC} not found: trying gcc" 1>&3
-		CC=gcc
-		which ${CC} 2>/dev/null 1>&2 || {
-			echo "gcc not found: giving up" 1>&2
-			echo "gcc not found: giving up" 1>&3
-			exit 1
-		}
-	}
-}
+CC=tcc

 #----------------------------------------------------------------------
 # Allow certain variables to be overriden on the command line.
#

Unfortunately I run into some problems "client-side" when doing an rsync from my macOS host to the target server running uLinux with openrsync:
prologic@Jamess-iMac
Sun Apr 19 17:06:35
~/Projects/ulinux.org
 12
$ rsync -avz --delete public/ root@<IP_ADDRESS>:/var/www/
rsync: -z not supported yet
building file list ... done
404.html
about/index.html
assets/fonts/1506293e.woff
downloader.c:465: error: realloc: Out of memory
receiver.c:424: error: rsync_downloader
server.c:151: error: rsync_receiver
rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (68 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54/rsync/io.c(453) [sender=2.6.9]

Any ideas what's going on here? is this a problem with rsync on my macOS client or openrsync on the server?
So far I've had to comment out the entire block of code in the ./configure script that tries to detect a CC because it just doesn't work. The CC on uLinux is TinyCC (tcc).
Secondly I run into the following compilation issues:
# make CC=tcc
tcc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter   -c -o blocks.o blocks.c
In file included from blocks.c:17:
config.h:119: warning: #warning No suitable endian.h could be found.
In file included from blocks.c:17:
config.h:120: warning: #warning Please e-mail the maintainers with your OS.
tcc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter   -c -o client.o client.c
In file included from client.c:17:
config.h:119: warning: #warning No suitable endian.h could be found.
In file included from client.c:17:
config.h:120: warning: #warning Please e-mail the maintainers with your OS.
tcc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter   -c -o compats.o compats.c
In file included from compats.c:1:
config.h:119: warning: #warning No suitable endian.h could be found.
In file included from compats.c:1:
config.h:120: warning: #warning Please e-mail the maintainers with your OS.
compats.c:1568: error: #error No getprogname available.
make: *** [<builtin>: compats.o] Error 1
#

And so I'm contact you as it asks :)
Here is the Pkgfile (so far):

Note I had to patch our the whole CC detection because it simply does not work on uLinux for me which ships with a TinyC (tcc) C compiler.

For the compiler part, you can probably set:
CC=tcc ./configure

However, it's probably better to patch the configure script to check for tcc as well.  Is there any way I can have access to the ulinux box to create a working patch and simplify the port for you?

And great for the realloc find!  I'm always happy to find situations where the software bombs.  Let me see if I can find a way to reproduce it here.

Best way to get a uLInx system is to go grab the iso from the releases page over at https://github.com/prologic/ulinux
I recommend the 1.0.2 version as I refactored the entire build/packaging and broke a few things in 1.2 and rapidly trying to fix them and cut several or more hot-fixes :)


[Update] Add toggles to Snap geometry edits

Description
This PR adds "Geometry Guides" and "Feature Snapping" toggles to Snap geometry edits corresponding to the updated design.
Linked Issue(s)

swift/issues/6031

How To Test

Ensure the new toggles work as expected. (See the video in the design for an example if needed).

Screenshots

Before
After

Thank you!


Add px and py rules to padding rules.

A px rule is a padding rule that only affects left and right padding(horizontals hence the x) and is written like so:
.px {
  padding-left: auto.
  padding-right auto.
}

A py rule is a padding rule that only affects top and bottom padding(verticals hence the y) and is written like so:
.py {
  padding-top: auto.
  padding-bottom auto.
}

I'd like to take this on

Yes of  course. Go ahead  :)

@hasanrashid Hello it's been a week. When do you think you can have this? :)

@manuel12 On its way tonight

Closing as done.


per_image_standardization Breaks Keras Model Loading

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu: 20.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: None
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): v2.3.0-54-gfcc4b966f1 2.3.1
Python version: 3.8.5
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
Here is a small example script that demonstrates the issue:
import tensorflow as tf
from tensorflow.keras import layers

inputs = tf.keras.Input(shape=(100, 100, 3))
normalized = layers.Lambda(tf.image.per_image_standardization)(inputs)
dense1 = layers.Dense(100, activation="relu")(normalized)
dense2 = layers.Dense(10, activation="softmax")(dense1)
model = tf.keras.Model(inputs=inputs, outputs=dense2)

model.save("my_model.hd5", save_format="h5")

new_model = tf.keras.models.load_model("my_model.hd5")  # <-- Error here

To my knowledge, this should work. However, when I run it, I get an error on the last line:
Traceback (most recent call last):
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 201, in wrapper
    return target(*args, **kwargs)
TypeError: 'str' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "min_loading_bug_example.py", line 13, in <module>
    new_model = tf.keras.models.load_model("my_model.hd5")
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/saving/save.py", line 182, in load_model
    return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/saving/hdf5_format.py", line 177, in load_model_from_hdf5
    model = model_config_lib.model_from_config(model_config,
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/saving/model_config.py", line 55, in model_from_config
    return deserialize(config, custom_objects=custom_objects)
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/layers/serialization.py", line 171, in deserialize
    return generic_utils.deserialize_keras_object(
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/utils/generic_utils.py", line 354, in deserialize_keras_object
    return cls.from_config(
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 616, in from_config
    input_tensors, output_tensors, created_layers = reconstruct_from_config(
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 1214, in reconstruct_from_config
    process_node(layer, node_data)
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 1162, in process_node
    output_tensors = layer(input_tensors, **kwargs)
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 925, in __call__
    return self._functional_construction_call(inputs, args, kwargs,
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1117, in _functional_construction_call
    outputs = call_fn(cast_inputs, *args, **kwargs)
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py", line 903, in call
    result = self.function(inputs, **kwargs)
  File "/home/daniel/git/cotton_counter/.venv/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 205, in wrapper
    result = dispatch(wrapper, args, kwargs)
TypeError: 'module' object is not callable

Describe the expected behavior
I expect this to load the model without issue.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Poking around in the debugger, the issue seems to be with this code in python/util/dispatch.py. Specifically, it looks like the dispatch variable is being set to the dispatch module instead of the dispatch function inside that module. I'm not an expert on the idiosyncrasies of Tensorflow or Python closures, but it seems likely that something weird is going on with scoping here. For some reason, it seems like it's using the global definition of dispatch from image_ops_impl (which would be active when the add_dispatch_support decorator is applied) instead of the dispatch function.

I have tried in colab with TF version 2.3.1 and nightly version(2.5.0-dev20201029) and was able to reproduce the issue. Please, find the gist here. Thanks!

When creating functional models, you do not need to add Lambda around TensorFlow functions -- just this is fine:
normalized = tf.image.per_image_standardization(inputs)
Give this a try, and if you are still getting an error please reopen this bug. It passes with TF-nightly


Planning guide/to-do templates

Make a template so it's easy to have a ready-to-go to do list to start each call with. No more starting from scratch! 🌻

[x] .md file
[x] issue template

i look forward to your feelings after the first commnity call.

For reference, I use this tutorial to make a PR template.
Closed by 1c7ca7f.


librespot: init at 0.1.1

Motivation for this change
Add a package for the librespot application.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Builds & runs on nixos:
$ nix shell github:bennofs/nixpkgs/init-librespot#librespot -c librespot -n test
[2020-06-18T22:26:38Z INFO  librespot] librespot  (). Built on 2020-06-18. Build ID: XQymNwSs

I don't have a spotify subscription, so can't test further.


[feature request] how about add PWA support

just add a manifest.json declearation,
so that page can be add to desktop,
and  be run without browser address bar (fullscreen like a APP)
like the github does
https://github.com/manifest.json

run preview:

add to home screen:

manifest.json //144 size icon seems required

{
  "name": "cloud_clip",
  "short_name": "cloud_clip",
  "start_url": "./",
  "display": "standalone",
  "icons": [
    {
      "sizes": "32x32",
      "src": "./favicon.ico"
    },
    {
      "src": "./favicon_144.png",
      "type": "image/png",
      "sizes": "144x144"
    },
    {
      "src": "./favicon.svg",
      "type": "image/svg",
      "sizes": "150x150"
    }
  ]
}

index.html //theme not required

<!--
    <meta name="theme-color" content="#1e2327">
    <meta name="color-scheme" content="light dark" />
 -->
    <link rel="manifest" href="[manifest.json](https://clip.jios.top/manifest.json)">

Just added manifest.json, no offline caching for PWA ...


ayatana-indicator-session: init at 23.10.3

Description of changes
Working towards https://github.com/NixOS/nixpkgs/issues/99090.
ayatana-indicator-session, an indicator interface for session information & control.
In Lomiri this is used to provide quick information & links about the current distro, link into the Lomiri System Settings app for configuration, and offer the only graphical way of ending the session (that I'm aware of).
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 283543 run on aarch64-linux 1

1 package built:

ayatana-indicator-session


Add schedule feature

[x] Schedule model
[x] Schedule parser
[x] Update Model and ModelManager
[x] Create UniqueScheduleList
[x] Update AddressBook and ReadonlyAddressbook
[x] Add saving and loading for schedules
[x] Add UI to display schedules
[x] Add add schedule logic
[x] Add list schedule logic
[x] Add delete schedule logic

LGTM!


Unable to use csc task in simple project

I'd like to be able to use the x-plat msbuild installed with the cli to compile simple programs while controlling arguments to csc, but this doesn't seem to work. Is this a supported scenario?
Repro steps
build.csproj:
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" >
  <Target Name="Build">
    <Csc Sources="test.cs" />
  </Target>
</Project>

test.cs:
using System;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

dotnet msbuild /v:n
Output
Microsoft (R) Build Engine version 15.1.548.43366
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/23/17 3:11:59 PM.
     1>Project "/home/sven/csctest/build.csproj" on node 1 (default targets).
     1>Building with tools version "15.0".
       Project file contains ToolsVersion="". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="15.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=293424.
     1>Target "Build" in project "/home/sven/csctest/build.csproj" (entry point):
       Using "Csc" task from assembly "/home/sven/bin/sdk/1.0.0-rc4-004842/Roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll".
       Task "Csc"
         /home/sven/bin/sdk/1.0.0-rc4-004842/Roslyn/csc.exe /out:test.exe test.cs
     1>/home/sven/csctest/build.csproj(3,5): error MSB6003: The specified task executable "csc.exe" could not be run. Permission denied
       Done executing task "Csc" -- FAILED.
     1>Done building target "Build" in project "build.csproj" -- FAILED.
     1>Done Building Project "/home/sven/csctest/build.csproj" (default targets) -- FAILED.

Build FAILED.

       "/home/sven/csctest/build.csproj" (default target) (1) ->
       (Build target) ->
         /home/sven/csctest/build.csproj(3,5): error MSB6003: The specified task executable "csc.exe" could not be run. Permission denied

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.08

This is more complicated than it seems at first, due to a combination of factors:

The Roslyn Csc task defaults to attempting to run csc.exe (which works great on Windows/full framework, but not so well on platforms where you need to specify a host)
dotnet CLI sets a property when invoking MSBuild named CscToolExe that points to a wrapper script (RunCsc.cmd or a .sh equivalent) that will invoke csc under the right host
But you have to pass that override to the task explicitly because of MSBuild's task isolation model. I could get your project to invoke the compiler by adding ToolExe="$(CscToolExe)" to the <Csc> invocation
But that's not enough for .NET Core scenarios, because there's no longer an ambient reference to core CLR assemblies . . . so even when the compiler runs it immediately fails with, e.g., error CS0246: The type or namespace name 'System' could not be found
The .NET Core SDK depends fairly deeply on NuGet package references to do the reference assembly resolution needed to explicitly get everything passed to the compiler

It's certainly possible to plumb everything through yourself, but you're likely to be swimming upstream.

Thanks @rainersigwald for the clear response.
I was aware of some of these behaviors, but not others. I'll try to avoid having to do this, but now I have a good starting point if I ever need to work around this.


No main manifest attribute

I'm attempting to get an example Avro schema to generate some code. When I execute it I get the following error:
INFO: Analyzed 12 targets (0 packages loaded, 0 targets configured).
INFO: Found 9 targets and 3 test targets...
ERROR: /Users/steve/code/thingdoer/server/schema/BUILD:6:1: error executing shell command: '/bin/bash -c mkdir -p bazel-out/darwin-fastbuild/bin/server/schema/defaults_srcjar_codegen.srcjar-tmp && external/local_jdk/bin/java -jar bazel-out/host/bin/external/avro/v1/http/central.maven.org/...' failed (Exit 1) sandbox-exec failed: error executing command
  (cd /private/var/tmp/_bazel_steve/16c9976c50f2293f012e78f9de59eefc/sandbox/darwin-sandbox/361/execroot/__main__ && \
  exec env - \
    TMPDIR=/var/folders/9c/rp6xzjv15xdbsrk981cjpvb40000gn/T/ \
  /usr/bin/sandbox-exec -f /private/var/tmp/_bazel_steve/16c9976c50f2293f012e78f9de59eefc/sandbox/darwin-sandbox/361/sandbox.sb /var/tmp/_bazel_steve/install/b27b1c54ec3d5c56d18c5ea7ce8deafa/process-wrapper '--timeout=0' '--kill_delay=15' /bin/bash -c 'mkdir -p bazel-out/darwin-fastbuild/bin/server/schema/defaults_srcjar_codegen.srcjar-tmp && external/local_jdk/bin/java -jar bazel-out/host/bin/external/avro/v1/http/central.maven.org/maven2/org/apache/avro/avro-tools/1.9.1/stamped_avro-tools-1.9.1.jar compile  schema server/schema/src/main/java/com/starlingbank/thingdoer/server/api bazel-out/darwin-fastbuild/bin/server/schema/defaults_srcjar_codegen.srcjar-tmp && find bazel-out/darwin-fastbuild/bin/server/schema/defaults_srcjar_codegen.srcjar-tmp -exec touch -t<PHONE_NUMBER>00 {} \; && external/local_jdk/bin/jar cMf bazel-out/darwin-fastbuild/bin/server/schema/defaults_srcjar_codegen.srcjar -C bazel-out/darwin-fastbuild/bin/server/schema/defaults_srcjar_codegen.srcjar-tmp .')
no main manifest attribute, in bazel-out/host/bin/external/avro/v1/http/central.maven.org/maven2/org/apache/avro/avro-tools/1.9.1/stamped_avro-tools-1.9.1.jar
INFO: Elapsed time: 0.337s, Critical Path: 0.21s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

Comparing the cached stamped_avro-tools-1.9.1jar to the avro-tools in maven results in differences. I'm not sure which version I am getting in this build but it certainly does not match the one in Maven Central. I've tried cleaning. I'm pointing at maven central (not a private repo). I've pretty much run out of ideas.
WORKSPACE has this in it:
RULES_AVRO_VERSION = "208e2c2c5858a2a6fad5e25e3ff401825d65bc50"

git_repository(
    name = "io_bazel_rules_avro",
    commit = RULES_AVRO_VERSION,
    remote = "git@github.com:meetup/rules_avro.git",
    shallow_since = "1575761280 -0500",
)

load("@io_bazel_rules_avro//avro:avro.bzl", "avro_repositories")

avro_repositories()

BUILD has this in it:
load("@io_bazel_rules_avro//avro:avro.bzl", "avro_gen", "avro_java_library")

package(default_visibility = ["//visibility:public"])

avro_java_library(
    name = "defaults",
    srcs = glob(
        ["src/**/*.avsc"],
    ),
)

Upacking the stamped_avro-tools-1.9.1.jar shows that the MANIFEST.MF just contains:
Manifest-Version: 1.0
Created-By: singlejar
Target-Label: @avro//:org_apache_avro_avro_tools

Any ideas where I'm going wrong?

Incidentally, checking out this repo and building/testing works fine.

This appears to be caused by 3.0 of the rules_jvm_external project:
https://github.com/bazelbuild/rules_jvm_external/issues/292
Rolling back to 2.7 of that project appears to fix this.

Last working version is 2.9


Adding Testing JavaScript link

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[x] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description

Related Tickets & Documents

Fixes #37
Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[✅ ] 🙅 no, because they aren't needed
[ ✅] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Hello, awesome to see you contribute, as you are in the docs repo I will assume you read most of it, let me help with some small bits and pieces:

the way markdown checkboxes work: - [ ] for unchecked and - [x] for checked
the title is adding a new feature so prefixing the PR with feat:  will do the job like feat: add testing course javascript link


Licence?

Any chance this can get some kind of licence as would like to use it!

Thanks for pointing this out. just added a LICENSE file (MIT)


Invalid csrf token.

hi,
I just installed gogs (<IP_ADDRESS>0 Beta) and tried to create a new repository, but when I submit the form all I get is this message:
Invalid csrf token.

any idea what's going wrong here?

just faced the problem, but there was no restart of gogs server since i opened chrome. so it might be a caching problem that is probably not coming from the create repo page (reload there didnt helped). reload of start page and after that reload of create repo page solved the problem.

@ahoehne thanks for the tip!
Did you made sure all dependencies are up-to-date?

yep, sure - system was up2date and gogs/needed resources where installed just before.
but this issue seems to be very uncommon, didn't saw it again (wasn't able to reproduce it also)
btw i reloaded the page via strg+f5, so i forced my browser to reload cached resources.
maybe thats the reason why it didn't worked for @freder (new tab should "force" the browser also to load some scripts/ resources again)

@ahoehne I see, thanks again!

Close discussion for now.

I've seen this issue like 2 or 3 times a day. I know how to solve it, but I don't know why it's happening.
For one time I noticed that there's two csrf related cookies there, one is for / and the other for /projects (my Gogs server is behind nginx, and rewrited to /projects/ path). I'll report if I find any other clues.

@JokerQyou Thanks!
From what I found, if I switch between two Gogs instances, this error can occur, but haven't had an idea about why this happens.

Happens several time a day while creating repositories or updating issues.
The work around is to close and re-open the page. I didn't restart the server in between.
I'm on Version: <IP_ADDRESS>6 Beta

I think these are the exact steps to reproduce:

Open an issues queue in a tab.
Leave it for a certain number of hours (I'm not sure if it's, say 2, or lots more like 8).
Afterwards, go back to that tab, and click the 'create new' issue or open an issue
Either create a new issue, or add a new comment
Invalid csrf

I just had the same error message ("Invalid csrf token.") while uploading an avatar (valid .jpg) for a new organization.
Reopening gogs in a private session solved the problem (but no luck by just refreshing the page).
(under Opera 35.0.2066.68 / Windows 8.1)

isn't this a dupe of #1891 ?

i had this issue today, creating a test organisation @ try.gogs.io.
after changing the name to something random (zzz) it worked:
some ideas about CSRF security:
http://stackoverflow.com/questions/23455780/the-csrf-token-is-invalid-please-try-to-resubmit-the-form

@neolit123 thanks for the tip but this is an old issue, please comment on the latest one #1891


169: library version pinning

added new technique to close issue per @netfl0

[ ] This needs reference.

@deedayal thanks for the contribution! A few thoughts:

Minor syntax stuff, but the class name should not include underscores and therefore should be LibraryVersionPinning
Are there any references that you can add which support the use of this as a countermeasure?
Related to the above question, I found the following on Python dependencies: https://docs.google.com/document/d/1x_VrNtXCup75qA3glDd2fQOB2TakldwjKZ6pXaAjAfg/edit?tab=t.0. It says that there are negative security aspects to library pinning, as it means that an application could be running older versions of a library when there are newer versions available that may have fixed vulnerabilities: Second, pinning dependencies means that versions will stagnate to some extent, that users will have to persist in the use of outdated distributions even after updated versions that address, for example, security vulnerabilities are released. If a project pins dependencies, then it must be prepared to issue a new release every time there is an important release of anything the project depends on directly or indirectly, all the way down the dependency chain.

OBE and forthcoming source code hardening taxonomy.


Two harmless changes for test and perf tuning.

Increase upper limit of  routerScalingUnitMaxConnectionsPerPortSsl in config.
A fix that can potentially fix #1063.

Codecov Report

Merging #1102 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1102      +/-   ##
============================================
- Coverage      68.4%   68.37%   -0.03%
+ Complexity     4958     4957       -1
============================================
  Files           389      389
  Lines         31241    31241
  Branches       3999     3999
============================================
- Hits          21371    21362       -9
- Misses         8792     8796       +4
- Partials       1078     1083       +5

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com.github.ambry/config/RouterConfig.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

.../main/java/com.github.ambry.router/DecryptJob.java
91.66% <0%> (-5.56%)
4% <0%> (-1%)

...java/com.github.ambry.store/CompactionManager.java
86.75% <0%> (-2.65%)
19% <0%> (ø)

...github.ambry.rest/AsyncRequestResponseHandler.java
88.59% <0%> (-2.29%)
23% <0%> (ø)

.../java/com.github.ambry.router/DeleteOperation.java
92.19% <0%> (-1.42%)
47% <0%> (-1%)

...ain/java/com.github.ambry.router/PutOperation.java
90.68% <0%> (-0.18%)
107% <0%> (-1%)

...in/java/com.github.ambry.store/BlobStoreStats.java
70.56% <0%> (ø)
101% <0%> (+1%)
:arrow_up:

...b.ambry.network/BlockingChannelConnectionPool.java
65.65% <0%> (+3.04%)
8% <0%> (+1%)
: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 c3c1b0f...35a9b10. Read the comment docs.


Kanban Board - Recipe App RoR Capstone Group Project

Hi there, we are sending the link to our project, for you to review our Kanban and tasks division. Thanks in advance for your time!
For this project, we are a group of two members:
@alexmedinasf (Alex Medina) && @HFG43 (Hernán Güemes)
https://github.com/users/alexmedinasf/projects/5/views/1

Hello @HFG43  and @alexmedinasf        👋
CHANGES REQUIRED ♻
Impressive work on the project so far👏
You've done extremely well so far in this project,  However, there are some adjustments you need to make to move to the next project. 💯

Highlights

Good use of GitHub features ✔
Nice work with the Kaban features ✔
Good job assigning cards  ✔

- Required Changes  🌵

[x] Please make sure all cards have detailed descriptions just as you have in the project requirements. I noticed a lot of cards are empty with no description. A sample of such cards is snapped below:

View:

[ ] Kindly add a card for solving  N+1 queries.

Requirements;

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing really improves your application.
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


searching detailled doc like how to make one unit attack

Hello,
I'm starting to work on building an starcraft2 IA using pysc2.
I followed the tutorial https://itnext.io/build-a-zerg-bot-with-pysc2-2-0-295375d2f58e.
It's clear but it doesn't answer some important questions.
Is there detailled information somewhere available?
What I want to do is to separate my army in several parts and send them to different locations.
Idem for the drones.
The provided code in the tutorial select the whole army
return actions.FUNCTIONS.Attack_minimap("now",self.attack_coordinates)
if self.can_do(obs, actions.FUNCTIONS.select_army.id):
return actions.FUNCTIONS.select_army("select")
Yours sincerely
Loïc Midy

You could always select units in a rectangle using select_rect or just select each unit individually. I've never used the select_rect function before so I can't tell you how to use, but it should be the answer you're looking for.
As for a detailed document, the only thing I can tell you is to look into the actual pysc2 code (specifically actions.py) and try to search for the answers that way.


Simd for find straight

Right now this fails to compile because simd is behind a feature flag in beta and stable. Not sure if dropping support for non-nightly compilers is worth the win. However it is a pretty big perf win.


#3 Create Contributing.md

What
This pull request adds a contributing guideline file. It explains how others may contribute to the project.
Why
It provides the contributors with a short guide to how they can help with the project. It has greatly contributed to the success of other open-source projects by increasing the number of successful contributors.
Covers

#3

Checklist

[X] Are the issues being addressed linked to this PR?
[X] Do all commit messages start with the issue number?

By prefixing the commit with a pound sign and a number eg. "#3 Create ...", Github automatically makes the number clickable and redirects you to the issue when you click it. So I think it's good to do this for all commits.

This looks good to me in it's current form 👀
Will triple check to see if anything needs adding but initially looks really good!

Happy for this to be a base for our contributing from initial perspective so merging for now.


Scrollbar starts outside of element at first

As you can see on my image, the scrollbar seems to be appearing outside of the element they're supposed to be in. They are hovering blocks, in the center of the website.
I pretty much only gave them the ss-container class and a "height:300px" css rule. Also, these elements all have box-sizing on "border-box".
So, for an accurate description;
1 ) reload page
2 ) hover over scrollable block
3 ) see scrollbar next to scrollable block
4 ) Hover out and back in again; it fixed itself.
alternate 4 ) Scroll, it'll fix itself as well.

Have same issue

@tottello  oh, I just switched to simplebar now. It works kind of the same, but... well, better haha.

Removing ss-hidden seems to solve the issue.
.ss-hidden {
  display: none;
}


[Codegen] Fix CUDA codegen for int64 Ramp

CUDA codegen fails to generate T.ramp(T.int64(0), T.int64(1), 2)] correctly.
This is a legal IR that appears after a recent commit to simplify cast and ramp. Fixed https://github.com/apache/tvm/issues/13379.
cc @comaniac @junrushao

Should fix #13379

Thanks @vinx13 @junrushao


Installation fails on Ubuntu Server

VSCode Version:
Latest one from the download page

OS Version:
Ubuntu Server

Steps to Reproduce:
I actually followed the steps from here --> https://code.visualstudio.com/docs/setup/linux

Download DEB package from https://code.visualstudio.com/Download
2 Executed:  sudo dpkg -i <file>.deb (This one throws already errors)
3  Then sudo apt-get install -f # Install dependencies

(Triend the above in Bash and in PowerShell, and through the GUI (Double click on the .Deb file.)
This is the output I have :

Using the sudo apt-get installto install the dependencies results in the following:

Of course, If I select Y, it removes the tool, which is not what we want of course.
 If so, please excuse me in advance.
Also, I was a bit surprised (Disapointed?) that it was directly available using sudo apt-get install code
Cheers

I believe running the sudo apt-get install -f on the setup page should install code and the deps: https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions
The issue is that dpkg only installs the single package and not the dependencies, you need to invoke apt-get to install the deps.

Also, I was a bit surprised (Disapointed?) that it was directly available using sudo apt-get install code

We install the repo and key when you install the deb package, like several other programs. This is to try help keep you updated.

Hi @Tyriar You probably didn't read the screen shot of my second prompt well enough.
This is exactly what I did, and that  didn't fixed my problem.
Could you please re-open the ticket? This problem is not resolved.

@Stephanevg yes I didn't 😅, if the repo is installed does installing it through there work? sudo apt install code

I actually did that before as well:
(I followed the steps from here -> https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions )

I used the following code: ```bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Then I used the following code: ```bash
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code

Here are is a screen shot of the results:

Also @Tyriar  The label 'install update' that is set on this ticket, is probably wrong, as I never isntalled vscode before on this linux machine before. This is just a fresh installation that refuses to get installed.
It would be great to have this one fixed, as it is blocking me to debug some urgent failing pester tests.

Hi @Tyriar
Can you tell me what more info you need to work on this one? I don,t really see how more detailed I could get. (Or perhaps the label is wrong?)

@tyriar / @weinand it would be nice that this one doesn't fall into oblivion, as this one is really blocking me.
i don't know what more information i can provide to help u guys with this one.

@Tyriar / @weinand Is anyone looking at this?

@Stephanevg can you share your PATH?
$env:PATH

on my mac, code is installed in /usr/local/bin/code I would think that this would be added to the PATH but I'm curious

Thanks for looking into this @tylerl0706  👍 !
This is what I have in my PATH

I also tried to update apt list, but got the following message

It seems like I do have an issue with the filetype of that microsoft document.

That's odd... but also, can you supply the result of:
$env:PATH

I don't see it in your screenshots

It looks like that error is related to the .gpg file having bad contents: https://github.com/Debian/apt/blob/a18f38976d3544477f7450aa4265397db9b62cc6/cmdline/apt-key.in#L335
I just removed the key and repo on my computer and went through all the steps again and it worked fine. Could your internet connection somehow be manipulating the bits or something coming from https://packages.microsoft.com/keys/microsoft.asc ? Maybe try download it through another means and installing it?

Another option is to try to install using snap:
https://snapcraft.io/vscode

Hi, thanks for you attempts guys. I got help on twitter, and I was actually missing data in apt list.
It was basically containing only 3 lines.
After adding a bunch of them, I was able to download that missing pakage that we see in my very first screen shot (libg.conf2-4). Once I had that one on my machine, I could finally install vscode. :)
Cheers


Post button align to right on "Post Gigs"

The button its floating on the left. We need to align it to the right, below the text box.

Button aligned right now.


p2p : filter doc ids does not work

Environment
SG = 2.1.0-121
lite android version - 2.1.0-168
Steps to reproduce :

Create docs on client.
2. Start the server.
3. Start replication from client with 5  doc ids list with one shot and push_pull/push
4. Verify replication is completed.
5. Verify docs which are filtered got replicated on server

Result :
All docs got replicated
Expected :
Only 5 docs should get replicated

@sridevi-15 I have added units to test documentIDs filter with push, pull, and push-and-pull P2P replication but I couldn't reproduce the issue above. Could you please check if the tests?


Upgrade Stack + LTS

Can't use LTS 16 yet, because stack is unable to generate coverage reports: https://github.com/commercialhaskell/stack/issues/3997

Codecov Report

Merging #40 into master will increase coverage by 1.84%.
The diff coverage is 94.80%.

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   85.98%   87.83%   +1.84%
==========================================
  Files          10       11       +1
  Lines         421      411      -10
  Branches       31       27       -4
==========================================
- Hits          362      361       -1
+ Misses         49       40       -9
  Partials       10       10

Impacted Files
Coverage Δ

src/Data/Aeson/Schema/TH/Utils.hs
73.95% <0.00%> (-0.05%)
:arrow_down:

src/Data/Aeson/Schema/Utils/Sum.hs
75.00% <75.00%> (ø)

src/Data/Aeson/Schema/Internal.hs
94.66% <98.03%> (+10.14%)
:arrow_up:

src/Data/Aeson/Schema/Key.hs
100.00% <100.00%> (ø)

src/Data/Aeson/Schema/Show.hs
93.75% <100.00%> (-2.09%)
:arrow_down:

src/Data/Aeson/Schema/TH/Schema.hs
90.90% <100.00%> (+0.13%)
:arrow_up:

src/Data/Aeson/Schema/Utils/All.hs
100.00% <100.00%> (ø)

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 0c913fa...ecc8543. Read the comment docs.


Ffmpegaudiorenderer  not used?

Why is ffmpegaudiorenderer not used? Defaultrenderersfactory is used during initialization. When is ffmpeg associated with exo? Please answer my questions when you have time. Thank you

I generally understand that the following codes are the same. I can't find similar codes. It's strange and confusing
class FfmpegRenderersFactory extends DefaultRenderersFactory {
public FfmpegRenderersFactory(Context context) {
    super(context);
    setExtensionRendererMode(EXTENSION_RENDERER_MODE_PREFER);
}

@Override
protected void buildAudioRenderers(Context context, int extensionRendererMode, MediaCodecSelector mediaCodecSelector, boolean enableDecoderFallback, AudioSink audioSink, Handler eventHandler, AudioRendererEventListener eventListener, ArrayList<Renderer> out) {
    out.add(new FfmpegAudioRenderer());
    super.buildAudioRenderers(context, extensionRendererMode, mediaCodecSelector, enableDecoderFallback, audioSink, eventHandler, eventListener, out);

}

}
ExoPlayer.Builder(MyApp.instance.applicationContext,new FfmpegRenderersFactory())

Ffmpeg is used as unsupported audio codecs are decoded. See the 1st usage in https://github.com/google/ExoPlayer/tree/release-v2/extensions/ffmpeg#using-the-module

Do you mean that it will automatically reflect the implemented sub lines, as shown in the figure

OK, I seem to know their relevance, but this seems to be audio, not video. That is to say, ffmpeg only expands audio without video. HDR video is not supported, right? My core requirement now is to support HDR and Dolby, so I found your code base

Just Player doesn't really do much more than ExoPlayer which uses FFmpeg only for some audio codecs.


Documenting CSS vars usage in upcoming Customize docs section

WIP, but trying to capture some of the work @MartijnCuppens and @ffoodd are doing across multiple PRs. Fellas, please weigh in here on anything else we should be striving to mention. Some thoughts from me thus far mean we could include guidelines for how we decide what gets CSS vars, how to customize and utilize them, how we generate them with Sass, etc.

X-ref: #26596

LGTM. @MartijnCuppens?

support dynamic restyling and extending of Bootstrap components without recompiling Sass

I'm not sure about this. You can't just convert all Sass variables into custom properties.
For example, the buttons. They have :hover, :focus & :active states. These states use colors that are generated by Sass and if you change for example var(--primary), those colors won't change. Likewise, contrast colors won't automatically adjust.
As long as we don't have native CSS color functions, this idea won't work.

I'll fine-tune that copy and make sure I'm not implying something we cannot technically do.

Pulled back on the customization/extension bits... I think this is okay? Doesn't overpromise and clarifies some other pieces. Also removed buttons from the last line there.


Example of adding proxies and limits?

I am currently using
for post in instaloader.Hashtag.from_name(L.context, 'cat').get_posts():     # post is an instance of instaloader.Post     L.download_post(post, target='#cat')
How do I add a proxy to this? (could you please add example code and not just point at a post that "says", this is how you do it.. thanks you)
Also how can you limit the amount of downloads ?

Since Instaloader use request library, setting ENV like
export HTTP_PROXY=<IP_ADDRESS>:3128
export HTTPS_PROXY=<IP_ADDRESS>:1080
export FTP_PROXY=<IP_ADDRESS>:3128

https://stackoverflow.com/questions/8287628/proxies-with-python-requests-module
should be work

i need verify ssl false how can i do ?