Fix #393 error with default classes and max-func-body-length

Fixes #393

Awesome, thanks @GabrielCastro! Always nice to see a removal of an any.


Setting up RaspBerry Pi 1 as Slave/Server

Hi,
I have been trying for the last month to get my RaspBerry Pi 1 with Node Red to work as a slave/server in my Modbus TCP network with no success. My current network consists of an Wago PLC 8100-750 (Slave/Server), a robotic arm (Master) and the Raspberry Pi (Slave/Master). The idea is when the robot arm is done performing a given task, it will send a signal to the PLC, then the PLC will perform some calculations and send a signal to the Raspberry telling it to play a specific sound.
The communication between the robot and the PLC works. The Raspberry is set up like the contrib-modbus Wiki says.
The ideal setup would be to use Coils and Boolean values (as the robot also uses it).
I do believe it is a simple mistake, probably I have misunderstood how some of the nodes work. Any help setting this up would be much appreciated.

Dear Rollo,
This is out of package support. Please follow become a supporter and then we can give more support. Have a nice day! klaus
Sent with GitHawk

You can contact me via E-Mail and please attach the flow.


Add speech to text

Extend the library by adding speech to text capabilities.
Documentation

Speech to Text

WIP Branch: https://github.com/MacPaw/OpenAI/tree/whisper_api


[QuickAccent] Add Greek letters with accent

Description of the new feature / enhancement
Add Greek letters with accent like ά έ ή ί ό ύ ώ
Scenario when this would be used?
I want to write the words in the alphabet correctly with accents.
Supporting information
The original issue was #28174. The fix for that was committed when Quick Accent didn't have a separate Greek language option. Greek was added in v0.76.0, but letters with tonos weren't moved to Greek and they're only accessible with All Languages enabled. I suppose they should be moved to the Greek character set.

This has been worked on during the 0.77 Release sprint. Please update PowerToys to the latest release: https://github.com/microsoft/PowerToys/releases


Entering email address into box and clicking 'register' gives no indication of success

From @talumbau on July 21, 2015 18:14
The user should be taken to a 'check your email' page.
Copied from original issue: OpenSourcePolicyCenter/webapp#237

From @talumbau on July 24, 2015 18:6
LGTM. +1

From @talumbau on July 21, 2015 18:19
cc @mistakevin @amfarrell @zrisher

this is resolved with the new registration flow.


highlighting of badges is funky?

Issue Description
Type: bug report or feature request
Describe what happened (or what feature you want)

The badges use the special char but it's highlighted wrong.
Describe what you expected to happen
The badge should be properly highlighted (it seems Octo should tack on a default highlight group for this)
How to reproduce it (as minimally and precisely as possible)

Use Octo.nvim
Set colorscheme to Rose-pine or Everforest , seoul256, tokyonight (tested with those 4)
see it

Tell us your environment
unnecessary
Anything else we need to know?

Hi, probably those themes are missing the Octo highlight groups. What are your colours for:

OctoBubbleBlue
OctoBubbleDelimiterBlue
OctoBubbleYellow
OctoBubbleDelimiterYellow
OctoBubbleGreen
OctoBubbleDelimiterGreen
OctoBubbleRed
OctoBubbleDelimiterRed

Similar issue happening here, in my case it seems to be a bit more broken.

iTerm 3.4.22
Nvim v0.9.4
Octo 604fad12
These are my colors (my custom teme):

I also tried other colorschemes such as gruvbox and tried using kitty instead but same issue. I even installed 4 or 5 different NF fonts but no luck so far.
any idea?

Here a print screen w/ Kitty, Gruvbox, latest neovim nightly and a new NF:

For everyone in this thread, I've filed a PR (https://github.com/pwntester/octo.nvim/pull/456) to fix this, in case you want to verify.

Thank you .. gave it a try and its looking way better now, some fonts now can render it but I just noticed something, apparently many other nerd fonts seem to have problem with this rounded char (including the font that I most enjoy lol)
One example is Hack font showing this very tiny "space" between the rounded char and the string:

Some fonts like Victor Mono seems to render it properly.. it's time to look for a new font I guess, or patching mine

Thanks for the fix @kezhenxu94


.log files are sometimes not discovered

I have a python project that generates a .log file. I've noticed since a few days this file is not discovered anymore by Atom. If I change the file extension to .md, everything is fine. It seems to concern only .log files.
I tried making a minimal test folder with just the log file, but in this case it is discovered.
I added my gitignore file with it, but file is also discovered.
I will try other things to find out what is going on, if someone wants to test it also I can provide an archive of the project.
Otherwise if you have python 3.4 installed, it is also possible to download the project at this commit https://github.com/Overdrivr/DistantIO, install the required module and run the application.py file once. This will generate the log file.

Thanks for the report, @Overdrivr. Instead of us running your program, could you instead provide a ZIP file which contains everything that's created after the program is run? That way, we can just unzip and open the folder in Atom. Running random programs is a bit scary, as I'm sure you understand.
Also, can you please provide more information on the problem your seeing and your environment?
Which version of Atom are you using?
Which OS and version?
Can you reproduce the problem in safe mode?
Can you provide a GIF which clearly demonstrates the problem you described? I'm not sure i understand where exactly is Atom not discovering the file (in the tree view, in fuzzy finder, in search, ...)? A GIF would help us get a better understanding of that.
Also, you might want to check out the guidelines for submitting issues, in case you'll be opening more issues in the future. :v:

@Overdrivr You've got *.log in your .gitignore file: https://github.com/Overdrivr/DistantIO/blob/master/.gitignore#L84
Please check if the Hide VCS Ignored Files config option is checked

I'm sure that's the problem. If this is the problem, please re-open the issue and follow the guidance provided by @izuzak.

Dope, thanks for checking that gitignore file, @thomasjo -- should have done it myself before typing that book chapter above. :sweat_smile:

Hum I'm not sure to understand what this button is really doing then.
On my home computer, the button is checked

Yet I can see the .log file

Is it expected behavior ? Now I have the issue on my work computer, so I will check the settings and let you know.

Hum I'm not sure to understand what this button is really doing then.
On my home computer, the button is checked

Wrong settings page. Check my screenshot, it's for the tree-view package, not core settings.
Click Packages, then navigate to the tree-view and view its settings.

Sorry about that, that was it.
Thank you for the support guys, much appreciated
Regards


fix(api-client): move web hash router to a factory function

This took me way to long to debug but fixes #2791 and also the issue with sidebar items not highlighting when active.
@hanspagel I tested the app and everything seemed to be working fine still but if you want to confirm that wouldn't hurt 🙏

@hanspagel @amritk @marclave I wasn't sure if we should also switch the normal router to be a factory function since it seems like doing multiple calls to the router history functions may have weird side effects 🤔

Hey so we needed the factory function in the modal due to multiple specs on one page, just curious why it was required here?

Hey so we needed the factory function in the modal due to multiple specs on one page, just curious why it was required here?

See https://github.com/scalar/scalar/issues/2791#issuecomment-2272090188
Tl;dr; is calling createWebHashHistory has side effects

Wow, what a journey!


good project, I like it

Esp32 can control color lights through sound. It's really an interesting project,
I also like to expand the ability of esp32 by doing the following two small projects In my spare time:

https://github.com/lixy123/ESP32_Remote_MIC
Esp32 works as a remote microphone. It can listen to the voice directly with chrome or read the sound data with raspberry pie for displaying interesting lights or identifying words
https://github.com/lixy123/ESP32-AUDIO-REC
Esp32 receives the voice directly, uses the famous voice to text conversion service to recognize the words in the voice and controls the household appliances
Source code is not commercial software, just demo products, I hope someone like it.  It's enough to give others some creative inspiration

Awesome both projects look pretty cool! I wish the esp was a bit more powerful so we could do the FFT's on-chip and skip the computer entirely, but even the pi struggles with this, so I don't see it working for a while.

Hi, try https://github.com/zhujisheng/audio-reactive-led-strip, works great for me. I have a couple of ESP8266 as UDP receivers to received synchronized data from Scott's software on a Laptop for larger installations and some ESP32 with the standalone software for smaller settings.

Awesome both projects look pretty cool! I wish the esp was a bit more powerful so we could do the FFT's on-chip and skip the computer entirely, but even the pi struggles with this, so I don't see it working for a while.
In my experience a pi 4 headless doesn't break a sweat.  I don't do the GUI, but I can't make my PI go above 15-18% cpu even while running a flask server to enable rest based control.

Awesome both projects look pretty cool! I wish the esp was a bit more powerful so we could do the FFT's on-chip and skip the computer entirely, but even the pi struggles with this, so I don't see it working for a while.
https://github.com/squix78/esp32-mic-fft
Esp32 is enough for FFT. Here is about esp32 and FFT. I don't know if you are concerned

Awesome both projects look pretty cool! I wish the esp was a bit more powerful so we could do the FFT's on-chip and skip the computer entirely, but even the pi struggles with this, so I don't see it working for a while.

https://github.com/squix78/esp32-mic-fft
Esp32 is enough for FFT. Here is about esp32 and FFT. I don't know if you are concerned


Create RSpec custom matchers

closes #51
This commit also introduces documentation in the README file to explain how to use the custom matchers

No test?

:-)


systemd timers treat all timezones as UTC

Describe the bug
The OnCalendar field of systemd timer units is treated as UTC, even if a different timezone is specified.
To Reproduce

Declare a trivial service and make it start at midnight on some non-UTC timezone:

{
  systemd.services.foo = {
    script = "true";
    startAt = "00:00:00 Pacific/Auckland";
  };
}

Run systemctl status foo.timer and observe that the Trigger field says midnight UTC (in my case, Fri 2020-11-27 01:00:00 CET).

Expected behavior
In this case, the Trigger field should say Fri 2020-11-27 12:00:00 CET (or Fri 2020-11-27 11:00:00 UTC).
Additional context

I have tested this with two different non-UTC timezones.
systemd-analyze calendar "00:00:00 Pacific/Auckland" on the same machine gives the correct result, so this is linked to timer units.
I am using the systemd package from the NixOS 20.09 release, version 246.
I could not reproduce the issue on an Arch Linux server (systemd 246.4-1-arch), so it's (probably) a NixOS problem.

Notify maintainers
@edolstra @andir @flokli @Kloenk
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.64, NixOS, 20.09.20201125.7a7bae5 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20201118_79aa7d9`
 - channels(root): `"nixos-20.09.1721.896270d629e"`
 - channels(n): `"home-manager"`
 - nixpkgs: `/nix/store/c0ri3lxx3ymf3spqlhz7dkycmf8fwd3w-source`

Maybe our patch in 0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch (from https://github.com/NixOS/nixpkgs/issues/80038#issuecomment-699660256) isn't sufficient and this needs to be patched in another location, too?

Note that if I specify a timezone that doesn't exist, I get an error on activation. So presumably it can find the timezone info, it just doesn't respect it.

Can you reproduce on non-NixOS?

Nope, see the fourth bullet point under Additional context.

I was able to reproduce this on NixOS, and verified it works correctly on Archlinux.
I still don't understand why it behaves the way it does (it seems we did properly patch all occurences this might touch).
This might require some deeper digging into the codebase, and adding some logs along the way to see what's going on.

Not stale, but help welcome ;-)

I haven't had time to test this but a cursory reading of the systemd code shows that it uses tzset():
https://github.com/systemd/systemd/blob/main/src/shared/calendarspec.c#L1411
tzset uses TZDIR. On a normal nixos system I get this:
$ export | rg TZ
declare -x TZDIR="/etc/zoneinfo

but pid 1 doesn't set TZDIR:
$ cat /proc/1/environ | tr '\00' '\n'
LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive
PATH=/run/current-system/systemd/lib/systemd:/nix/store/5kp6328y6wgws17anpl2wvc8w6yny0wc-nfs-utils-2.5.1/bin:/nix/store/nva6mlbsb1gv6q60xblk4dbspyg2l51j-e2fsprogs-1.45.6-bin/bin:/nix/store/gf088si5zlfryb0pmw5mx8x6ymf16lq2-btrfs-progs-5.9/bin:/nix/store/9kfd3p0s56bzqwzcapzm5wqdyqy17v72-dosfstools-4.1/bin
PWD=/
HOME=/root
SHLVL=0

I confirmed TZDIR is the issue by applying the following patch. I think my fix is wrong but I couldn't figure out where in systemd pid 1 I should set env vars so I did id in a function that I know will be called.
diff --git a/src/shared/calendarspec.c b/src/shared/calendarspec.c
index bf24d8d5bb..2ae788f21e 100644
--- a/src/shared/calendarspec.c
+++ b/src/shared/calendarspec.c
@@ -901,6 +901,8 @@ int calendar_spec_from_string(const char *p, CalendarSpec **spec) {
                 const char *e = NULL;
                 int j;

+		setenv("TZDIR", "/etc/zoneinfo", 1);
+
                 tzset();

                 /* Check if the local timezone was specified? */

without patch:
NEXT                        LEFT       LAST PASSED UNIT                         ACTIVATES
Sun 2021-10-03 09:18:23 UTC 14min left n/a  n/a    systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Mon 2021-10-04 09:00:00 UTC 23h left   n/a  n/a    oncalendar-test.timer        oncalendar-test.service

with patch:
NEXT                        LEFT          LAST PASSED UNIT                         ACTIVATES
Sun 2021-10-03 09:18:48 UTC 14min left    n/a  n/a    systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Sun 2021-10-03 13:00:00 UTC 3h 56min left n/a  n/a    oncalendar-test.timer        oncalendar-test.service

unit used:
    systemd.services.oncalendar-test = {
      description = "xx";
      serviceConfig.Type = "oneshot";
      wantedBy = [ "default.target" ];
      startAt = "09:00 America/New_York";
      script = "touch $HOME/xx";
    };```

I wonder if this is related to #65415 and #89487

Yeah, this looks about right. Maybe we should see if we can steer glibc to look for zoneinfo in these two paths by default, instead of in the glibc output directly.


New Model Architectures - Implementation and Documentation Details

🚀 The feature
When adding a new model architecture there are some design/implementation details and documentation requirements that need to be taken into account. This issue intents to track such details in a dynamic manner, as it is possible to change over time.
Motivation, pitch
New Model Architectures - Implementation Details
Model development and training steps
When developing a new model there are some details not to be missed:

Implement a model factory function for each of the model variants

in the module constructor, pass layer constructor instead of instance for configurable layers like norm, activation, and log the api usage with _log_api_usage_once(self)

fuse layers together with existing common blocks if possible; For example consecutive conv, bn, activation layers could be replaced by ConvNormActication

define __all__ in the beginning of the model file to expose model factory functions; import model public APIs (e.g. factory methods) in torchvision/models/__init__.py

create the model builder using the new API and add it to the prototype area. Here is an example on how to do this. The new API requires adding more information about the weights such as the preprocessing transforms necessary for using the model, meta-data about the model, etc

Make sure you write tests for the model itself (see _check_input_backprop, _model_params and _model_params in test/test_models.py) and for any new operators/transforms or important functions that you introduce

the new model should be torch scriptable (using torch.jit.script)

Note that this list is not exhaustive and there are details here related to the code quality etc, but these are rules that apply in all PRs (see Contributing to TorchVision).
Once the model is implemented, you need to train the model using the reference scripts. For example, in order to train a classification resnet18 model you would:

go to references/classification

run the train command (for example torchrun --nproc_per_node=8 train.py --model resnet18)

After training the model, select the best checkpoint and estimate its accuracy with a batch size of 1 on a single GPU. This helps us get better measurements about the accuracy of the models and avoid variants introduced due to batch padding (read here for more details).
Finally, run the model test to generate expected model files for testing. Please include those generated files in the PR as well.:
EXPECTTEST_ACCEPT=1 pytest test/test_models.py -k {model_name}
Documentation and Pytorch Hub

docs/source/models.rst:

add the model to the corresponding section (classification/detection/video etc.)

describe how to construct the model variants (with and without pre-trained weights)

add model metrics and reference to the original paper

hubconf.py:

import the model factory functions

submit a PR to https://github.com/pytorch/hub with a model page (or update an existing one)

README.md under the reference script folder:

command(s) to train the model

Alternatives
No response
Additional context
No response

I've pinned the issue for now but we should consider making use of the Wiki pages, which are better suited for this kind of content. PyTorch core uses them extensively, so it might be worth aligning.

Are we expecting these guidelines to change often?
Otherwise we might also consider just having this as a .md file in the repo?

That is a good point, and has been discussed previously with @datumbox and also during this PR review. In short I think is fair so say that there are no strong feelings either way, but there were two main arguments to keep it in a ticket for now. First we didn't want to make the contribution guidelines too long, second the content can change. So I would still favour to keep it here for a while and if it seems stable enough we can move it to a .md file

Things will eventually become stable. I think the biggest changes on this documentation will come from the following:

The Multi-weight support API rollout
The Model documentation revamping
Potentially by the model testing revamping work

Once things stabilise we can move to md if you prefer.

Thanks for this great guide @jdsgomes. There is a small typo here: ConvNormActication
(should be Activation)


update EndlessRecyclerOnScrollListener

get layout manager from recycler view
add layout manager getter

@FabianTerhorst thank you so much. Looks good. Will merge as soon as the travis build run trough


twiperf "total datagrams" column always zero

The "total datagram" column seems always 0.
If it is not implemented, remove it. If it is implemented, then there is a bug.

This issue has been addressed in the following commit
https://github.com/twister2016/twister/commit/f0d311d98d3520656df8649dc43dc34ed880c45c

Verified, issue is resolved now


Implement Google's updated Manifest v3 rollout

Since Google has delated the deprecation of Manifest v3 to June 2023 and complete removal to January 2024, consider doing the same with Edge and its extension store.
Info at https://developer.chrome.com/blog/more-mv2-transition/

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

ID: 815c941b-4a07-481a-9bb5-f8ef3d6b1118
Version Independent ID: 815c941b-4a07-481a-9bb5-f8ef3d6b1118
Content: Overview and timelines for migrating to Manifest V3 - Microsoft Edge Development
Content Source: microsoft-edge/extensions-chromium/developer-guide/manifest-v3.md
Product: microsoft-edge
Technology: extensions
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks for the feedback. This GitHub repository is about tracking the documentation of extensions only, not their implementation or manifest version support. So, I'll close this issue for now.
The v2->v3 migration is something the team has in mind and I'm we'll communicate about it in due course.

Where would I give feedback on Microsoft Edge development?

I can suggest two ways to do this, depending on what you're looking for:

Using the feedback dialog directly in Edge itself. This is useful when you want to share something with the dev team, like a feature request or a bug report. Go to Settings and more (...) > Help and feedback > Send feedback.
Engaging in a conversation on the Microsoft Edge Insiders forum. This is useful when you want to start a conversation with the rest of the community. Go to: https://techcommunity.microsoft.com/t5/microsoft-edge-insider/ct-p/MicrosoftEdgeInsider


Print logs to stderr

This PR is to make printer print logs to stderr instead of stdout. Only resources will the printed to stdout.

lgtm for tests and fn UX. I'll let others approve.


Coinbase Pro - Orders getting stuck during network disconnection

Describe the bug
When running a bot using the Coinbase Pro connector there are instances that the orders are left open in the exchange in the event that there's a network disconnection during the time of order creation.
2021-12-20 12:59:22,016 - 9306 - hummingbot.strategy.pure_market_making.pure_market_making - INFO - (ETH-USDT) Creating 1 bid orders at (Size, Price): ['0.005 ETH, 3886.33 USDT']
2021-12-20 12:59:22,018 - 9306 - hummingbot.strategy.pure_market_making.pure_market_making - INFO - (ETH-USDT) Creating 1 ask orders at (Size, Price): ['0.005 ETH, 3964.84 USDT']
2021-12-20 12:59:25,039 - 9306 - hummingbot.connector.exchange.coinbase_pro.coinbase_pro_exchange - WARNING - Could not fetch account updates on Coinbase Pro. Check API key and network connection.
2021-12-20 12:59:27,293 - 9306 - hummingbot.connector.exchange.coinbase_pro.coinbase_pro_exchange - INFO - Network status has changed to NetworkStatus.NOT_CONNECTED. Stopping networking...
2021-12-20 12:59:32,333 - 9306 - hummingbot.connector.exchange.coinbase_pro.coinbase_pro_exchange - NETWORK - Error submitting buy limit_maker order to Coinbase Pro for 0.00500000 ETH-USDT 3886.33.
Traceback (most recent call last):
  File "hummingbot/connector/exchange/coinbase_pro/coinbase_pro_exchange.pyx", line 717, in hummingbot.connector.exchange.coinbase_pro.coinbase_pro_exchange.CoinbaseProExchange.execute_buy
    order_result = await self.place_order(order_id, trading_pair, decimal_amount, True, order_type, decimal_price)
  File "hummingbot/connector/exchange/coinbase_pro/coinbase_pro_exchange.pyx", line 693, in place_order
    order_result = await self._api_request("post", path_url=path_url, data=data)
  File "hummingbot/connector/exchange/coinbase_pro/coinbase_pro_exchange.pyx", line 310, in _api_request
    async with client.request(http_method,
  File "/Users/reiniersalazar/opt/anaconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "/Users/reiniersalazar/opt/anaconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 544, in _request
    await resp.start(conn)
  File "/Users/reiniersalazar/opt/anaconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 905, in start
    self._continue = None
  File "/Users/reiniersalazar/opt/anaconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
2021-12-20 12:59:32,334 - 9306 - hummingbot.connector.exchange.coinbase_pro.coinbase_pro_exchange - WARNING - Failed to submit buy order to Coinbase Pro. Check API key and network connection.
2021-12-20 12:59:32,335 - 9306 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "buy-ETH-USDT-1639976362017633", "order_type": "OrderType.LIMIT_MAKER", "event_name": "MarketOrderFailureEvent", "event_source": "coinbase_pro"}
2021-12-20 12:59:32,341 - 9306 - hummingbot.connector.exchange.coinbase_pro.coinbase_pro_exchange - NETWORK - Error submitting sell limit_maker order to Coinbase Pro for 0.00500000 ETH-USDT 3964.84.
Traceback (most recent call last):
  File "hummingbot/connector/exchange/coinbase_pro/coinbase_pro_exchange.pyx", line 781, in hummingbot.connector.exchange.coinbase_pro.coinbase_pro_exchange.CoinbaseProExchange.execute_sell
    order_result = await self.place_order(order_id, trading_pair, decimal_amount, False, order_type, decimal_price)
  File "hummingbot/connector/exchange/coinbase_pro/coinbase_pro_exchange.pyx", line 693, in place_order
    order_result = await self._api_request("post", path_url=path_url, data=data)
  File "hummingbot/connector/exchange/coinbase_pro/coinbase_pro_exchange.pyx", line 310, in _api_request
    async with client.request(http_method,
  File "/Users/reiniersalazar/opt/anaconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "/Users/reiniersalazar/opt/anaconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 544, in _request
    await resp.start(conn)
  File "/Users/reiniersalazar/opt/anaconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 905, in start
    self._continue = None
  File "/Users/reiniersalazar/opt/anaconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError

Steps To Reproduce

Create and run a pure_mm bot using Coinbase Pro
Disconnect from the internet during the time of order creation
Wait for a few minutes and reconnect from the internet
Bot will now place a new set of orders however the orders from after disconnecting is not detected by the bot
Check the exchange website and you'll see that the orders are still open

Note: I wasn't able to take a screenshot from the client but I can confirm that for the first 10 seconds the "stuck" orders is showing on status before disappearing. The issue is also a bit difficult to reproduce so you may need to try it several times.
Release version
development-1.0.0
Attachments
Logs and config: coinbase.zip

I hit this bug before but I'm using google cloud server so I wasn't sure its the internet but yes you're right its hard to replicate cause it happens very rare.


Twitch-Specific IRC Capabilities

Overview
Add support for the Twitch-specific IRC capabilities.
Children

[x] Twitch IRC Capability: Membership #14
[ ] Twitch IRC Capability: Tags #15
[ ] Twitch IRC Capability: Commands #16

I've committed changes to address #14 and @PythooonUser is working on #16

I've commited changes regarding #16

All the child user stories are complete! 🎉
Should we call this feature done?

Yes, we should call it done. 🎈


releases.json missing 2.2.203 and 2.2.204 SDK

DotNetCoreInstaller@0 uses https://github.com/dotnet/core/blob/master/release-notes/releases.json as its source of truth on SDKs which exist
That file was last updated on 2019-04-03, so is missing .NET Core 2.2.4 and 2.2.5 (and matching SDK versions) which were released after 2019-04-03

@directhex, I'm seeing this content in the current releases.json. Do you have a fork or branch you're working from that needs a refresh?

It looks like a generic unversioned releases.json is used?
Could not fetch download information for version 2.2.203. Please check if the version specified is correct. You can refer the link for supported versions => https://github.com/dotnet/core/blob/master/release-notes/releases.json. Falling back to creating convention based URL.
It looks like the problem might be specific to DotNetCoreInstaller@0 which uses a different parsing method to DotNetCoreInstaller@1?

I'm not familiar with DotNetCoreInstaller@0 or DotNetCoreInstaller@1. Where do they come from?

Various versions of the Azure DevOps tasks to install .NET Core. Which seems to have changed again since last week. https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=azure-devops

Interesting, I didn't know about that. I can try to find the maintainers on this side to update their tool and perhaps you could drop a comment on the tool page. Between those, we'll find the right people.

@leecow not something our team owns, but from skimming through their code at  https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/DotNetCoreInstallerV0 and V1, I'd ask folks like @hiyadav or @bishal-pdMSFT , who have touched it in functional ways recently for a redirection.

@directhex
We have released 2.* version of DotNetCoreInstaller task, which uses the updated json file: releases-index.json, to find out download URL. You can use 2.* version for all the new versions of .Net core sdk/runtime.
Both 1.* and 2.* versions were very recently released with some breaking changes in respect to 0.* version, thus are kept as preview.


Name section parsing fails for valid wasm

This works with 0.35.0 and panics on 0.38.0:
        let wasm: Vec<u8> = FromHex::from_hex("0061736d0100000001080260017e0060000002170103656e760f657468657265756d5f757365476173000003030201010503010001071102046d61696e0001066d656d6f727902000801020a070202000b02000b0020046e616d65010e0201046d61696e02056d61696e320209030001000001000200").unwrap();

        let mut module: Module = parity_wasm::deserialize_buffer::<Module>(&wasm).unwrap();
        module = module.parse_names().unwrap(); // panic here

Error snippet:
panicked at 'called `Result::unwrap()` on an `Err` value: ([(7, Other("index is larger than expected"))], Module { magic:<PHONE_NUMBER>, version: 1, sections: [Type(TypeSe
ction([Function(FunctionType { form: 96, params: [I64], return_type: None }), Function(FunctionType { form: 96, params: [], return_type: None })])), Import(ImportSection([ImportEntry { module_str: "env", field_str
: "ethereum_useGas", external: Function(0) }])), Function(FunctionSection([Func(1), Func(1)])), Memory(MemorySection([MemoryType(ResizableLimits { initial: 1, maximum: None, shared: false })])), Export(ExportSecti
on([ExportEntry { field_str: "main", internal: Function(1) }, ExportEntry { field_str: "memory", internal: Memory(0) }])), Start(2), Code(CodeSection([FuncBody { locals: [], instructions: Instructions([End]) }, Fu
ncBody { locals: [], instructions: Instructions([End]) }])), Custom(CustomSection { name: "name", payload: [1, 14, 2, 1, 4, 109, 97, 105, 110, 2, 5, 109, 97, 105, 110, 50, 2, 9, 3, 0, 1, 0, 0, 1, 0, 2, 0] })] })',
 src/libcore/result.rs:997:5

I'm using Ubuntu 18.0.4.

I think it could be related to #270 . cc @michaelvoronov / @NikVolf

The Wasm name section layout has been changed some time ago in the Wasm standard, and the problem might be in the using the old version of standard.
How this code was obtained?

This was the original text:
(module
    (import "env" "ethereum_useGas" (func (param i64)))
    (memory 1)
    (export "main" (func $main))
    (export "memory" (memory 0))
    (func $main2)
    (func $main)
    (start $main2)
)

And translated to wasm (with name section) using wabt's wat2wasm tool: wat2wasm --debug-names text.wat

@NikVolf It seems that the problem here is that the LocalNameSubsection::deserialize doesn't count the imported functions in max_entry_space. To compare in wabt code which parses the same subsection compares a function id with NumTotalFuncs() result, and in its turn the NumTotalFuncs implemented here - it takes into account imports as well.

Was this fixed by #277? If so, can the above example included in the tests?

Actually, this snippet is the same as @benediktwerner provided. Because it depends only on the presence of imports.
Btw, It was really fixed and can be closed.

Hmm, I still observe Other("index is larger than expected") (with latest git)… will dig into it

--- a/src/elements/name_section.rs
+++ b/src/elements/name_section.rs
@@ -268,7 +268,7 @@ impl LocalNameSubsection {

                let max_space = max_signature_args + max_locals;

-               let deserialize_locals = |_: u32, rdr: &mut R| IndexMap::deserialize(max_space, rdr);
+               let deserialize_locals = |_: u32, rdr: &mut R| IndexMap::deserialize(usize::MAX, rdr);

                let local_names = IndexMap::deserialize_with(
                        max_entry_space,

avoids it, so either my wasm has wrong local names, or something is wrong with max_space (although it looks reasonable)

I think I found it: You are counting Locals objects, but these can have a count > 1. This seems to work better:
diff --git a/src/elements/name_section.rs b/src/elements/name_section.rs
index 7001085..a385f4c 100644
--- a/src/elements/name_section.rs
+++ b/src/elements/name_section.rs
@@ -263,7 +263,7 @@ impl LocalNameSubsection {

                let max_locals = module
                        .code_section()
-                       .map(|cs| cs.bodies().iter().map(|f| f.locals().len()).max().unwrap_or(0))
+                       .map(|cs| cs.bodies().iter().map(|f| f.locals().iter().map(|l| l.count() as usize).max().unwrap_or(0)).max().unwrap_or(0))
                        .unwrap_or(0);

                let max_space = max_signature_args + max_locals;

Has this fix been released? I've had the same issue on v0.42.2 (latest tagged), I've fixed this by using this value to read only the necessary data from the buffer and that works.

Has this fix been released? I've had the same issue on v0.42.2 (latest tagged), I've fixed it by using this value to read only the necessary data from the buffer and that works.
Excuse the crappy code, it goes here
    pub fn deserialize<R: io::Read>(module: &Module, rdr: &mut R) -> Result<Self, Error> {
        let mut module_name: Option<ModuleNameSubsection> = None;
        let mut function_names: Option<FunctionNameSubsection> = None;
        let mut local_names: Option<LocalNameSubsection> = None;

        let mut buf = vec![];
        rdr.read(&mut buf)?;

        loop {
            let subsection_type: u8 = match VarUint7::deserialize(&mut io::Cursor::new(&buf)) {
                Ok(raw_subsection_type) => raw_subsection_type.into(),
                // todo: be more selective detecting no more subsection
                Err(_) => {
                    break;
                }
            };

            // deserialize the section size
            let size = VarUint32::deserialize(&mut io::Cursor::new(&buf))?;
            let buffer: Vec<u8> = buf.drain(0..size.into()).collect();
            let rdr = &mut io::Cursor::new(&buffer);

            match subsection_type {
                NAME_TYPE_MODULE => {
                    if let Some(_) = module_name {
                        return Err(Error::DuplicatedNameSubsections(NAME_TYPE_FUNCTION));
                    }

                    module_name = Some(ModuleNameSubsection::deserialize(rdr)?);
                }

                NAME_TYPE_FUNCTION => {
                    if let Some(_) = function_names {
                        return Err(Error::DuplicatedNameSubsections(NAME_TYPE_FUNCTION));
                    }
                    function_names = Some(FunctionNameSubsection::deserialize(module, rdr)?);
                }

                NAME_TYPE_LOCAL => {
                    if let Some(_) = local_names {
                        return Err(Error::DuplicatedNameSubsections(NAME_TYPE_LOCAL));
                    }
                    local_names = Some(LocalNameSubsection::deserialize(module, rdr)?);
                }

                _ => return Err(Error::UnknownNameSubsectionType(subsection_type)),
            };
        }

        Ok(Self {
            module: module_name,
            functions: function_names,
            locals: local_names,
        })
    }

got the same issue,  the wasm was generate from golang

maybe  better keep use Unparsed part,  after all, this bug has existed for two years. If all think it OK, I can have a  pr, @NukeManDan

I'm happy to put my change onto a PR and you can check if it solves for you as well @hunjixin

I've open a PR that I think solves this issue, at least what I'm able to replicate. The formatting is a bit messy, if that's important I can try to fix it. Could I get a review?

@pepyakin could you please tag a new version release with this change?


Update link on Hosted Deployment Options section for Spheron

Update link on https://github.com/availproject/availproject.github.io/blob/main/docs/operate/deployment-options.md page to more relevant & comprehensive resource to facilitate improved developer experience

Addressed by https://github.com/availproject/availproject.github.io/pull/203


whether the ban for this program???

with this program my eggs hatched themselves . for it may be banned ???

Using this program at all carries the risk of the account you're using being banned.
It's heavily suggested that you use spare Pokemon Trainer's Club accounts.

i use google account.
I may be banned???
how to play another players with this program??they may also ban?
how to play you?you play through your primary account?

@leon504 - I think @Aerokii meant that you use another, spare account to use this application and not use your main/primary account

Do not use your main account. Make new account only for app (complete tutorial). There are still risks if Niantic gets all CIA on their ban process. Niantic does not like these kinds of Apps

if i one day used this program?? i have ban??Now I'm already using a different account

I doubt one day would result in ban

I hope so.another account you also lvl 1 ? you have a Google accounts?
I have 2 Google account 1 apple id. its normal?

you want a PTC account. Google would time out, PTC account seems to last longer. I just use 1 PTC account, I had previously setup 5 but now only use 1


Help needed

Can anyone tell me how to use this notebook if I run stable diffusion through google colab?

sorry, Not notebook, but to use this dataset tag manager for training with lora's through google colab.

You will not be able to use BDTM in Google Collab. You must use BDTM on your computer to prepare the dataset. You can use the finished dataset for training through Google Colab.


Fix nav border color on dark-mode

Noticed the border color on the navigation doesn't change when dark mode is enabled so there's a 1 px off-white right border when dark mode is on, this PR fixes that issue.
The issue might be hard to see in the screenshot, but if you have GitHub's dark mode on you'll see the border. 🙂
Screenshot of the issue

Screenshot of the fix

Nice, thanks!

Nice, thanks!


Temporarily disable signing validation

problem should be specific to our 'master' branch

/bump @aspnet/build


Generate generator jobs

Adds a generator job that, executed on git push to master, will regenerate the generator jobs
Will also pass down params to the generator jobs to ensure they run correctly when it completes
Will also trigger a building of said jobs after SUCCESSFULL completion to ensure everything is generated up to date
Changes regeneration/ directory name to generation/
Moves all template files into their own directory and renames them to make more sense
Doc and linter updates to account for changes

Closes: #10
Signed-off-by: Morgan Davies<EMAIL_ADDRESS>

Blocked by https://github.com/AdoptOpenJDK/ci-jenkins-pipelines/pull/42

@M-Davies Would you be able to rebase this or should we close it?

Probably best to close. Last I checked, this isn't needed that badly and may just create more problems than it's worth


Updated data cleaning script, model selection script, update env file, add tuning script, add draft model results

A summary of what this PR includes:

Minor edits to data preprocessing script

Changed revenue column to 0s and 1s (needed for xgboost and sklearn)
Filled nans in feature engineering caused by zero divison
Formatted script to be pep8 compliant

Cleaned up model selection script and added draft results to results folder

Added XGBoost to env

Wrote and added model tuning script

Added draft model results from tuning script to results folder

Small issue: Not sure why, but the confusion matrix png seems to crop out the left label (can't see 'True Label')

Attempt to reopen


Documentation updated to refer to config map. Minor documentation fixes

Added references to the config map rather than the config.json in the deployment instructions where appropriate. Some minor updates to capitalization and spelling.

@killianmuldoon do you know why the diff shows all lines in README.d are changed?

@zshi-redhat  Not sure exactly what happened there - it should be updated now.

@zshi-redhat Not sure exactly what happened there - it should be updated now.

@killianmuldoon hi, do you mind resolve the conflict in the PR?

@killianmuldoon hi thanks for the update. It looks like there is still conflict after the update.
I can see the notification This branch cannot be rebased due to conflicts.

@zshi-redhat Can you see any details ? It's showing "This branch has no conflicts with the base branch" for me

@zshi-redhat I see now - the issue seems to be with rebase-and-merge. Is it okay to squash-and-merge here? I'm getting no issues for that on the Github UI

@zshi-redhat I see now - the issue seems to be with rebase-and-merge. Is it okay to squash-and-merge here? I'm getting no issues for that on the Github UI

@killianmuldoon you may need to checkout a new branch from latest master and apply the change on top of it (this may require fix confliction), then force push the branch as killianmuldoon:master (I see the change is on master branch from your fork)

@killianmuldoon If you could fix the conflict now please that would be great. We have now merged all other pending PRs the README.


lem's icon

@cxxxr
ご希望の通り、Shinmeraさんにアイコンの件を依頼しました。
英語に訳すので、希望を伝えてください。
I asked Shinmera about the lem's icon to make your wish come true.
Please tell him about your wish on this issue. I'll translate it into English.

よろしくお願いします。

@cxxxr
先ほど合意をいただいた内容を書き込みます。

形状はFirefoxに似た丸い形をしたもの
動物のレミングをモチーフにする
レミングの数は1匹で、色は青色を基調にする
写実的な描写ではなく、抽象的な描写にする(Firefoxの狐のように)
lemmingのイメージ元はhttps://en.wikipedia.org/wiki/Lemming#/media/File:Tunturisopuli_Lemmus_Lemmus.jpg

@Shinmera
Hi, Shinmera.  Thank you again for accepting his request!
I'll write down the cxxxr's wishes as bellow:

The shape is round like Firefox.
The icon is designed in the motif of the animal lemming:
　https://en.wikipedia.org/wiki/Lemming#/media/File:Tunturisopuli_Lemmus_Lemmus.jpg
It has one lemming in the icon.
The color of the lemming is blue.
The image is not realistic but abstract, such as Firefox.

Would it be possible to draw a few sketches and send them to cxxxr by e-mail?
He'll choose the image among them and ask you to make an icon based on the sketch.
I'd appreciate your help.
Hiroki, t-cool

Alright, I'll see what I can do.

よろしくお願いします

Sorry for the long wait! Here are a few sketches I made today. Please pick one of the five designs and I will make some more sketches based on it. I would recommend the first and third icon sketches. If none of the current sketches are good, please let me know, and I'll try to come up with something else.
遅くなってすみません！今日その落書きを描きました。その落書きの一つを選んでください。それでは私はその選択の新しい落書きを描きます。1と3は私のおすすめです。もしこの落書きはだめ、新しいい絵を描きようとする。

Things to keep in mind about icon design:

The icon should be simple, but distinct.
The icon should be recognizable even at very small sizes.
Grayscale or single-tone designs are preferrable, as they can easily be colourised and adapted to fit any background and context, unlike coloured variants.
The amount of shapes should be minimised to aid the above points.

I'm afraid my Japanese is not good enough to translate all of this, and I apologise for any mistakes I made in what little I did translate.

@Shinmera
Thank you for the sketches!
They are all cute and he would love them!
I'll translate what you wrote in the last message just in case.
@cxxxr
日本語に訳すので、メッセージを読んでください。
返信は日本語でも英語でもOKです。

Sorry for the long wait!
長く待たせてしまってすいません。
Here are a few sketches I made today.
今日描いたスケッチをいくつかお見せします。
Please pick one of the five designs
5つのデザインから1つを選んでください。
and I will make some more sketches based on it.
選んでいただいたものを元に、さらにいくつかスケッチを描きます。
I would recommend the first and third icon sketches.
1と3がオススメです。
If none of the current sketches are good, please let me know, and I'll try to come up with something else.
もしこの中で気に入ったものがなければ、そう伝えてください。何か別のものを思いつくように頑張ってみます。

Things to keep in mind about icon design:
アイコンのデザインで気をつけたことは次の通りです：
The icon should be simple, but distinct.
シンプルである一方で、他とは全く違うものであること。

The icon should be recognizable even at very small sizes.
アイコンのサイズが小さくても認識されること。
Grayscale or single-tone designs are preferrable,
グレースケールか単一の色調であること。
as they can easily be colourised and adapted to fit any background and context, unlike coloured variants.
理由は、アイコンに色を加えることも容易なうえ、どんな背景や文脈にも適応できるからです。色をつけてデザインをする場合は、このようにはいきません。
The amount of shapes should be minimised to aid the above points.
上の条件を満たすために、形状(shape)の数は最小限にとどめるべきです。
I'm afraid my Japanese is not good enough to translate all of this,
日本語に訳す自信がなかったので英語で書きました。
and I apologise for any mistakes I made in what little I did translate.
もし、翻訳で間違えていたら申し訳ないです。

@Shinmera
スケッチありがとうございます。
1が良いと思うので、それを元に進めてほしいです。
よろしくお願いします。

Alright, here's some more sketches based on the first design. As before, please tell me what you like best.

@cxxxr
Alright, here's some more sketches based on the first design. As before, please tell me what you like best.
了解です。1番目のデザインを元に、いくつかスケッチを描きました。前回と同じように、一番気に入ったスケッチの番号を伝えてください。

1でお願いします。

Thank you @Shinmera for your effort.
I do understand your criteria. it is distinct and recognizable and simple tone. I love your cute design.
To see your more sketches post I felt it becomes too simplified that I have difficulty to find its motif was a lemming.
Is it possible to add more lemming feature? It might come from teeth ,form of surround mouth, short limbs ,round body, or what ever feature. I would appreciate if it is distinct from other mammals at least I hope the icon can recognized it is Rodents.
https://github.com/cxxxr/lem/issues/283#issuecomment-417838003
I have no idea about how to explain but among original choices I feel 2 and 5 has more lemming feature...
(just talking about feature)
@cxxxr what do you think?
@t-cool 英語の採点をお願いします

@snmsts
必ずしもlemmingのアイコンがlemmingと認識できる必要は無いと考えています。
例として上げるとfireofx, iceweasel, seamonkey, emacs等がそうでした。

One of my initial problems when looking at references was that the lemmings don't have a lot of disinguishing features to incorporate into a design aside from the markings. I heavily advise against a design that shows the full body though, as it would require too many small details.
Keep in mind as well, that the icon will usually be viewed at much smaller sizes than here. I apologise for not including smaller versions too earlier.

I also apologise for failing to mention that the shading shown here is not final. I'll make a few versions of the final icon with different colours and shadings for you to choose from.

@Shinmera
Thank you for taking your time and letting us view the sketches! It's a good opportunity to share opinions among contributors. I hope this discussion will lead to the best result and we'll make a good relationship through this task.
@snmsts
　I read your requests. The point is that it's better to add some features so that users can recognize the icon as a lemming.  And Shinmera pointed out that it's hard to add some features of lemmings in the image because the animal has few distinguishing features than other mammals. After that, cxxxr said that we don't have to recognize the icon as a lemming.
　I don't know whether your requests are adopted in its design, but I hope that he will keep your requests in mind to make the final image.
@cxxxr
英語理解できてそうですね。

I've adapted the chosen design to a vector graphic image and created a set of colourings. Please have a look and tell me if there's anything you'd like changed.
You can conveniently view the current batch of icons here: https://shinmera.github.io/lem-icon/

As for making the design more Lemming-like: I'm afraid that I don't have any ideas myself on how to do that, but I'd be open to concrete ideas.

@cxxxr
I've adapted the chosen design to a vector graphic image and created a set of colourings. Please have a look and tell me if there's anything you'd like changed.
選択いただいたデザインをベクター形式に適応させて色付けをしました。案を見ていただいて、もし何か変更してほしい点があれば教えてください。
You can conveniently view the current batch of icons here: https://shinmera.github.io/lem-icon/
現状のアイコン一覧は、ここから閲覧できます: https://shinmera.github.io/lem-icon/
As for making the design more lemming-like: I'm afraid that I don't have any ideas myself on how to do that, but I'd be open to concrete suggestions.
よりデザインをレミングらしくする案について: 申し訳ないですが、どのように実現するかアイデアが思い浮かびませんでしたが、具体的な提案があればお聞きしたいと思っています。

@Shinmera
アイコンありがとうございます。
Thank you for making the icon for lem.
色の分け方は現状で満足です。
I like a set of colorings you suggested on your webpage.
変更してほしい点としては、下の手の出っ張りが口を大きく開けているように見えることです。なので、そこが口に見えないように変更してもらえればありがたいです。
What I'd like to change is the lower right part: It looks like a lemming opening its mouth wide.
頭の輪郭と下の出っ張りに繋がる線が交わっているところをTの形にするか、
Whether it works or not, I have two ideas: The one is to change the point between its head and body like this.

二枚目の画像の他三つのように出っ張り自体を無くすと解決できませんか？
The other one is to change the image like the images 2-4, which have no wings.

それ以外により良い方法があればそれでお願いします。
If there is a better way, I'll leave it to you.

Please excuse my lack of response, I'm currently travelling in Japan on holidays and haven't had the time to work on your request yet. I will get to it once I'm back in Switzerland.
コミュニケーションの欠所についてすみません。さいきん日本で休みをしますから、働くは時間がありませんでした。スイスに帰ったのときはつづけます。

@Shinmera
Please enjoy your stay in Japan 👍

それで良さそうです
ありがとうございます

Do you want me to make some other colour versions of this version, or is this one alone fine?

はい。

paypalから指定のメールアドレスに送金しました。

お金を受け取りました。ありがとうございます！
最近気分が悪くなったから、アイコンのために時間がありませんでした。申し訳ありませんでした。
元気なるのときに新しいカラースキームをデザインします。

出来上がったのでこのissueは閉じます。
ありがとうございました。


'NoneType' object has no attribute 'get' downloading from Instagram

Does not happen for all users. Apparently happens when the user has lots of posts and/or it's an old account, but I can't confirm. Here's one example of a failing account:
$ ./youtube-dl --verbose https://instagram.com/rafakalimann/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://instagram.com/rafakalimann/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.10 - Linux-3.16.0-4-amd64-x86_64-with-debian-stretch-sid
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3
[debug] Proxy map: {}
[instagram:user] rafakalimann: Downloading page 1
[instagram:user] rafakalimann: Downloading page 2
......... [similar lines, nothing else in between] ....
[instagram:user] rafakalimann: Downloading page 72
[instagram:user] rafakalimann: Downloading page 73
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "./youtube-dl/main.py", line 19, in
File "./youtube-dl/youtube_dl/init.py", line 405, in main
File "./youtube-dl/youtube_dl/init.py", line 395, in _real_main
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1502, in download
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 650, in extract_info
File "./youtube-dl/youtube_dl/extractor/common.py", line 273, in extract
File "./youtube-dl/youtube_dl/extractor/instagram.py", line 103, in _real_extract
AttributeError: 'NoneType' object has no attribute 'get'

Thanks for the report. The user's videos will be downloaded correctly in the next version.


Fix wrong classification as StatementFunction in translation to Loki IR

Sigh....
Found with scan2m.F90, correctly removing all misclassifications now.

I think this is ready for another look @mlange05
As discussed offline, the type attribute is gone and the heuristic is handled differently - in the process I fixed some OFP issues.


log before we close the ch

cc @heronhaye i think this will fix the test flake where we log after shutdown

merging over kbfs flake


Pigeon healthcheck

Background
We want to stop folks from running paloma chain without them running pigeons. If paloma detects that pigeon is not running, it will kill itself thus stopping a pigeonless validator from entering the valset.
Testing completed

[ ] manually tested with both paloma and pigeon

Breaking changes
Nope. It does not change anything in the state.

I can't quite tell, does this only check for a pigeon if we are staking? It is reasonable to run palomad to watch the chain and query it locally without running a pigeon.

I can't quite tell, does this only check for a pigeon if we are staking? It is reasonable to run palomad to watch the chain and query it locally without running a pigeon.

Right now it does not. This is only a basic skeleton.

I'm also wondering, if they are going to be this tightly coupled, should they just be one process?

Nope. This is something that I initially wanted to do, but it's impossible because cosmos-sdk is intended to be used with only a single chain. This was tested when we wanted to go to cosmos, but we are going to evm instead. We might also go to cosmos as well, so it wouldn't be a good idea to put pigeon in palomad.

Also, this is the same technique that other similar chains are using.


Docker build broken

Following the instructions in the BUILD.md file for a Docker build in simulation mode fail silently:
the docker-compose finishes with BUILD SUCCESS but when entering the container to run the tests, the work folder doesn't contain the expected virtual environment:
ubuntu@ip-XX-XX-XX-XX:~$ docker exec -it tcf bash
root@193258dac9df:/project/TrustedComputeFramework/tools/build# source _dev/bin/activate
bash: _dev/bin/activate: No such file or directory
root@193258dac9df:/project/TrustedComputeFramework/tools/build# ls
Makefile  _dev
root@193258dac9df:/project/TrustedComputeFramework/tools/build# ls _dev/
opt

This was introduced after commit 6eea60eef5cc5a943ef1c72ea6b3878e4979237c since I could run the whole procedure successfully at that point in time.
Reproduced on several AWS EC2 instances (t2.XX) on Ubuntu 18.04 by @bertmiller and myself.

Could this be related to this issue? https://lists.hyperledger.org/g/avalon/topic/tcf_avalon_build_broken/36490392?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,36490392
And was this PR meant to solve this as well? https://github.com/hyperledger-labs/trusted-compute-framework/pull/144

@jopasserat I think they  are separate because #144 results in build errors (but the _dev/bin/activate script is created OK). While the error here, #151, the _dev/bin/activate script is not built--so the build cannot start.

Following the instructions in the BUILD.md file for a Docker build in simulation mode fail silently:
the docker-compose finishes with BUILD SUCCESS but when entering the container to run the tests, the work folder doesn't contain the expected virtual environment:
ubuntu@ip-XX-XX-XX-XX:~$ docker exec -it tcf bash
root@193258dac9df:/project/TrustedComputeFramework/tools/build# source _dev/bin/activate
bash: _dev/bin/activate: No such file or directory
root@193258dac9df:/project/TrustedComputeFramework/tools/build# ls
Makefile  _dev
root@193258dac9df:/project/TrustedComputeFramework/tools/build# ls _dev/
opt

This was introduced after commit 6eea60e since I could run the whole procedure successfully at that point in time.
Reproduced on several AWS EC2 instances (t2.XX) on Ubuntu 18.04 by @bertmiller and myself.

@jopasserat Virtual environment is removed in the docker based environment. Hence, there is no need to activate the virtual environment before executing test cases.
Documentation was not updated to reflect this change. Following PR has been already raised to remove virtual environment references in docker.
https://github.com/hyperledger/avalon/pull/142/

ok i see, but how will this comply with this comment https://github.com/hyperledger/avalon/pull/142#issuecomment-544607904 which i think is very sensible

I do not see how you can comply with that comment, as Docker and non-Docker installation will always differ. But minimizing the differences is always good, when possible.


Really bad visualization

I don't know why the author show the segmentation result like this. When I run examples in the codes like show_objects_kitti and qt_gui_app, I see the original point cloud of white color with very many yellow or blue 3d bounding boxes and even more grey 3d bounding boxes.
What I want to see is all those segmented object as well as the ground drawn with different colors and bounding boxes are dispensable. Then I get a visualized qualitative evaluation of the segmentation algorithm implemented in the depth-clustering

The way your data is visualized looks weird. The vis in the readme is from the qt visualization, see the binaries provided. This will enable you to play with the parameters and hopefully improve the performance.

Closing for the lack of activity.


Add not found page

In this milestone, I have added the folllowing;

Add a not-found page for wrong urls
Purpose
This proactive approach takes users to a customized page, maintaining app structure instead of the default react 404 page

NB: Design is responsive across all devices

It looks like there is not an open issue on this that you're resolving. I'm just confirming, this is just a general improvement you're suggesting?

Positive. There is no open issue for this. I am suggesting a general improvement.


Publish 0.3.8 to npmjs.org

Hi,
Seems like the current version in npm is 0.3.7. Could you please publish the latest version?
Thanks!
/Tobias

Thanks for this hint!
It's now published to npm.
Sorry!


Ninja hides the exit status of failing subprocesses

In build.cc, Ninja checks if the subprocess succeeded or failed
  // Print the command that is spewing before printing its output.
  if (!success) {
    string outputs;
    for (vector<Node*>::const_iterator o = edge->outputs_.begin();
         o != edge->outputs_.end(); ++o)
      outputs += (*o)->path() + " ";

    printer_.PrintOnNewLine("FAILED: " + outputs + "\n");
    printer_.PrintOnNewLine(edge->EvaluateCommand() + "\n");
  }

But by this point in the build, Ninja has already discarded the actual exit value from the subprocess.
There are a variety of tools that don't print anything to the console when they fail to run, relying on the user to instead check the exit status to see what the reason for failure was.
This is especially problematic for third party tools where the source code is not available.
It's, of course, possible to get the exit status printed to the console using a wrapper script, but as discussed at extreme length, wrapper scripts are desired by basically no one.
Ninja should print the exit status of failing subprocesses.

I don't see any "FAILED:" message, but instead
ninja: build stopped: subcommand failed
Is it the same issue?
@schultetwin1 Would https://github.com/ninja-build/ninja/pull/1805 address this situation too, and reveal the exit code of the failed subcommand?

@jimis if you are not seeing any "FAILED:" message this seems like a different issue. #1805 only adds to the "FAILED:" string. #1805 has no changes that would cause that "FAILED:" string to appear when it currently does not.

Thanks @schultetwin1. Indeed it seems the "subcommand failed" message is coming from https://github.com/ninja-build/ninja/blob/54959b0f2c4950d97d94c03810b3b5185be0d69e/src/build.cc#L883 which is not touched in your patch.
The effect is the same however: an exit code that is lost, while it could have been printed.

@jonesmz @jimis @schultetwin1 have you guys figured this out?
My make file:
#!/bin/bash
# Build script
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
mkdir -p build
cd build
cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release
ninja
cd ..

Error in github actions (it still thinks the build is successful):
Run ./make
-- The C compiler identification is AppleClang <IP_ADDRESS>00032
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_12.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode_12.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build spdlog: 1.8.2
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Build type: Release
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/runner/work/pvphero-launcher/pvphero-launcher/build
[1/20] Copying OS X Content PvPHero.app/Contents/Resources/icon.icns
[2/20] Building CXX object deps/spdlog/CMakeFiles/spdlog.dir/src/file_sinks.cpp.o
[3/20] Building CXX object deps/spdlog/CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o
[4/20] Building CXX object deps/spdlog/CMakeFiles/spdlog.dir/src/color_sinks.cpp.o
[5/20] Building CXX object deps/spdlog/CMakeFiles/spdlog.dir/src/spdlog.cpp.o
[6/20] Building CXX object CMakeFiles/PvPHero.dir/src/updating/Downloader.cpp.o
[7/20] Building CXX object CMakeFiles/PvPHero.dir/src/updating/client/ClientUpdater.cpp.o
[8/20] Building CXX object CMakeFiles/PvPHero.dir/src/PvPHero.cpp.o
[9/20] Building CXX object CMakeFiles/PvPHero.dir/src/external/sago/platform_folders.cpp.o
[10/20] Building CXX object CMakeFiles/PvPHero.dir/src/filesystem/InMemoryFileSystem.cpp.o
[11/20] Building CXX object CMakeFiles/PvPHero.dir/src/updating/Utils.cpp.o
../src/updating/Utils.cpp:61:39: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling-gsl]
        const char *command_line[] = {getJavaPath().c_str(), "-m", "pvphero/com.pvphero.PvPHero",
                                      ^~~~~~~~~~~~~
1 warning generated.
[12/20] Building C object CMakeFiles/PvPHero.dir/src/external/zip/zip.c.o
[13/20] Building CXX object CMakeFiles/PvPHero.dir/src/Assets.cpp.o
../src/Assets.cpp:2:9: warning: #pragma once in main file [-Wpragma-once-outside-header]
#pragma once
        ^
1 warning generated.
[14/20] Building CXX object deps/spdlog/CMakeFiles/spdlog.dir/src/async.cpp.o
[15/20] Building CXX object deps/spdlog/CMakeFiles/spdlog.dir/src/cfg.cpp.o
[16/20] Building CXX object CMakeFiles/PvPHero.dir/src/updating/launcher/LauncherUpdater.cpp.o
[17/20] Building CXX object deps/spdlog/CMakeFiles/spdlog.dir/src/fmt.cpp.o
[18/20] Linking CXX static library deps/spdlog/libspdlog.a
[19/20] Building CXX object CMakeFiles/PvPHero.dir/src/main.cpp.o
[20/20] Linking CXX executable PvPHero.app/Contents/MacOS/PvPHero
FAILED: PvPHero.app/Contents/MacOS/PvPHero
: && /Applications/Xcode_12.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -O3 -DNDEBUG -isysroot /Applications/Xcode_12.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names /SUBSYSTEM:CONSOLE -s CMakeFiles/PvPHero.dir/src/PvPHero.cpp.o CMakeFiles/PvPHero.dir/src/updating/Utils.cpp.o CMakeFiles/PvPHero.dir/src/updating/Downloader.cpp.o CMakeFiles/PvPHero.dir/src/updating/client/ClientUpdater.cpp.o CMakeFiles/PvPHero.dir/src/updating/launcher/LauncherUpdater.cpp.o CMakeFiles/PvPHero.dir/src/filesystem/InMemoryFileSystem.cpp.o CMakeFiles/PvPHero.dir/src/external/sago/platform_folders.cpp.o CMakeFiles/PvPHero.dir/src/external/zip/zip.c.o CMakeFiles/PvPHero.dir/src/Assets.cpp.o CMakeFiles/PvPHero.dir/src/main.cpp.o -o PvPHero.app/Contents/MacOS/PvPHero -L/Users/runner/work/pvphero-launcher/pvphero-launcher/build/../deps/AppCore/lib   -L/Users/runner/work/pvphero-launcher/pvphero-launcher/build/../deps/Ultralight/lib   -L/Users/runner/work/pvphero-launcher/pvphero-launcher/build/../deps/UltralightCore/lib   -L/Users/runner/work/pvphero-launcher/pvphero-launcher/build/../deps/WebCore/lib   -L/Users/runner/work/pvphero-launcher/pvphero-launcher/build/../deps/WebKitLibraries/lib -Wl,-rpath,@executable_path/  -lWebCore  -lUltralightCore  -lUltralight  -lAppCore  -lblend2d  -lWTF  -lJavaScriptCore  -lPAL  -lsqlite3  ../deps//WebKitLibraries/lib/libbrotlidec.a  ../deps//WebKitLibraries/lib/libbrotlienc.a  ../deps//WebKitLibraries/lib/libbrotlicommon.a  ../deps//WebKitLibraries/lib/libcrypto.a  ../deps//WebKitLibraries/lib/libcurl.a  ../deps//WebKitLibraries/lib/libfreetype.a  ../deps//WebKitLibraries/lib/libharfbuzz.a  ../deps//WebKitLibraries/lib/libharfbuzz-icu.a  ../deps//WebKitLibraries/lib/libicudata.a  ../deps//WebKitLibraries/lib/libicui18n.a  ../deps//WebKitLibraries/lib/libicuuc.a  ../deps//WebKitLibraries/lib/libjpeg.a  ../deps//WebKitLibraries/lib/libnghttp2_static.a  ../deps//WebKitLibraries/lib/libpng.a  ../deps//WebKitLibraries/lib/libpng16.a  ../deps//WebKitLibraries/lib/libssl.a  ../deps//WebKitLibraries/lib/libtls.a  ../deps//WebKitLibraries/lib/libxml2.a  ../deps//WebKitLibraries/lib/libxslt.a  ../deps//WebKitLibraries/lib/libz.a  -lpthread  -lbmalloc  -ldl  -lbz2  -framework  Accelerate  -framework  AppKit  -framework  SystemConfiguration  -framework  Security && :
clang: error: no such file or directory: '/SUBSYSTEM:CONSOLE'
ninja: build stopped: subcommand failed.

@Jonatino you have a clear indication of what's wrong in your case:
clang: error: no such file or directory: '/SUBSYSTEM:CONSOLE'

@jonesmz @jimis @schultetwin1 have you guys figured this out?

Please file separate issues for irrelevant problems.

@Jonatino you have a clear indication of what's wrong in your case:
clang: error: no such file or directory: '/SUBSYSTEM:CONSOLE'

@jonesmz @jimis @schultetwin1 have you guys figured this out?

Please file separate issues for irrelevant problems.

@jimis thats obvious. The problem is that github CI does not fail because that exit code is hidden because its a ninja subproces... which is exactly what this issue is reporting.

@jimis thats obvious. The problem is that github CI does not fail because that exit code is hidden because its a ninja subproces... which is exactly what this issue is reporting.

@Jonatino ninja exits with its own error code in case of failure. It is your bash script that hides that. Try adding set -e at the beginning of your script and it will exit on the first error. It has nothing to do with this ticket or in general with ninja.

@Jonatino ninja exits with its own error code in case of failure. It is your bash script that hides that. Try adding set -e at the beginning of your script and it will exit on the first error. It has nothing to do with this ticket or in general with ninja.

I've been hit hard with this when ccache started SIGBUS-ing on me and I had no way of figuring out why all the compilation jobs are suddenly failing with no output.

@jonatino ninja exits with its own error code in case of failure. It is your bash script that hides that. Try adding set -e at the beginning of your script and it will exit on the first error. It has nothing to do with this ticket or in general with ninja.

I have set -e set, check for the exit status of ninja and return it, and yet my script continues on as if ninja's exit code were zero. I'm pretty sure this ticket is valid.

I am trying to address it in https://github.com/ninja-build/ninja/pull/2540


Attestation file endpoint

When we enroll the Privacy Sandbox, we are asked to input the site (scheme, eTLD+1). For example, our ad tech origin is https://www.example.com, so the site we enrolled is https://example.com. But we need to upload the attestation file on https://example.com/.well-known/privacy-sandbox-attestations.json
However, https://example.com doesn't under our control. Do we need to enroll the https://www.example.com again?
Or we can only add an endpoint without www.?

We got the same situation, https://example.com isn't under control. Usually, there is no proxy configuration for domain example.com. All traffic to example.com will be redirected to www.example.com automatically. If it's mandatory that the attestation file should be under example.com, we have to make a exceptional configuration which is very tricky and risky. Hi team, Could please remove this restriction which is really difficult for us?

Agreed, having some flexibility here would be quite good.

Hey fwends, curious if there's been some unannounced happy news that this has been made more flexible, perhaps by looking for the attestation file in the subdomain indicated in the IG/auction config. I ask b/c in doing a bunch of testing I had assumed that our internal folks had made the apex domain thing worked, but in a conversation it became apparent that isn't the case and the apex domain still isn't resolving, i.e. https://adnxs.com/.well-known/privacy-sandbox-attestations.json fails.
I tried doing this on different machines, including both a) different machine same chrome account and b) different machine fresh chrome install (a Linux VM), and c) a different persons machine...and I see IGs being joined in an adnxs.com origin.
So I'm now wondering if either a) I'm magic (well, more-so than I already knew) b) there's a bug in Chrome c) there's a fix in Chrome d) other.


DataCollatorSelfAsk

from data_collator import DataCollatorSelfAsk
ModuleNotFoundError: No module named 'data_collator
ImportError: cannot import name 'DataCollatorSelfAsk' from 'transformers.data.data_collator'
This module is not found, can you upload the requirements.txt, or the version of transformers, thanks!!

Hi, sorry for the late response, please see fix here - https://github.com/oriyor/ret-robust/issues/6


Support the _stats endpoint

Support the _stats endpoint to allow users to get information on their CouchDB instance. See CouchDB docs

This library is now end-of-life and this issue won't be fixed.
This issue has been tagged EOL in case any forks want to import it.


1.0.0 release

Can you publish v1.0.0 to Hex? I'll prepare PR to update phoenix_microsoftbot

Thanks @Jesterovskiy for opening the issue. I'll merge the botV3 branch to master and publish v1.0.0 to hex

@Jesterovskiy Published the 1.0.0 package https://hex.pm/packages/ex_microsoftbot.
I also had to update the tzdata dependency to 0.5.8 as the override was blocking the hex publish. Let me know if you see any issues as I didn't get the chance to test with the updated dependency


fix：修复手机端部分区域不能滑动问题

手机端滑动问题修改
👀 PR includes

✨ Feature

[ ] New feature

🎨 Enhance

[ ] Code style optimization
[ ] Refactoring
[ ] Change the UI
[ ] Improve the performance
[ ] Type optimization

🐛 Bugfix

[ ] Solve the issue and close #0

🔧 Chore

[ ] Test case
[ ] Docs / demos update
[ ] CI / workflow
[ ] Release version
[ ] Other ()

📝 Description
🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link

🔍 Self Check before Merge

[ ] Add or update relevant Docs.
[ ] Add or update relevant Demos.
[ ] Add or update relevant TypeScript definitions.

修改下pr标题呢～

close #1009

:tada: This PR is included in version @antv/s2-v1.7.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-v1.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: