Host Search-Engines-Scraper on PyPi

Hi there
I'd like to use Search-Engines-Scraper on a web application that I'm working on.
To avoid having to upload the 233KB file with my web application and having to do run the setup.py and deploy the new code with each update, will this project be hosted on PyPi anytime soon?
It'd be easier to run updates through the requirements.txt file.
Thanks

Also, I am unable to pip install the repository via Git because it depends on search-engines

No, sorry, I don't plan to upload this repo to Pypi. But your command runs fine on my machine (Windows, Python3.7), so maybe we can make it work.
c:\Users\i\Documents\scripts>py -m pip install -e git+https://github.com/tasos-py/Search-Engines-Scraper#egg=Search-Engines-Scraper
Obtaining Search-Engines-Scraper from git+https://github.com/tasos-py/Search-Engines-Scraper#egg=Search-Engines-Scraper
  Cloning https://github.com/tasos-py/Search-Engines-Scraper to c:\users\i\documents\scripts\src\search-engines-scraper
  Running setup.py (path:c:\Users\i\Documents\scripts\src\search-engines-scraper\setup.py) egg_info for package Search-Engines-Scraper produced metadata for project name search-engines. Fix your #egg=Search-Engines-Scraper fragments.
Requirement already satisfied: requests[socks] in c:\python37\lib\site-packages (from search-engines) (2.21.0)
Requirement already satisfied: bs4 in c:\python37\lib\site-packages (from search-engines) (0.0.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python37\lib\site-packages (from requests[socks]->search-engines) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\python37\lib\site-packages (from requests[socks]->search-engines) (2020.6.20)
Requirement already satisfied: idna<2.9,>=2.5 in c:\python37\lib\site-packages (from requests[socks]->search-engines) (2.8)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\python37\lib\site-packages (from requests[socks]->search-engines) (1.24.1)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6; extra == "socks" in c:\python37\lib\site-packages (from requests[socks]->search-engines) (1.6.8)
Requirement already satisfied: beautifulsoup4 in c:\python37\lib\site-packages (from bs4->search-engines) (4.8.1)
Requirement already satisfied: soupsieve>=1.2 in c:\python37\lib\site-packages (from beautifulsoup4->bs4->search-engines) (1.9.4)
mitmproxy 4.0.4 has requirement click<7,>=6.2, but you'll have click 7.1.2 which is incompatible.
Installing collected packages: search-engines
  Running setup.py develop for search-engines
Successfully installed search-engines

I noticed that your pip complains about inconsistencies between the project name and egg name. What happens if you change #egg=Search-Engines-Scraper to #egg=search-engines?

Changing it to #egg=search-engines. Thank you!


Update all charts to reflect changes introduced in OSBA v0.9.0-alpha

Update all charts to reflect changes introduced in OSBA v0.9.0-alpha:

firewall rule structure change
Service and Plan name changes
OSBA version in the OSBA chart

Closed with the various PRs above.


add a feature that enables runtime model updating

it would be nice if there could be a pipeline that enables updating machine learning model weights etc. during runtime

closed, as we already implemented experience sets, and are planning on lsbo training loop for the VAE based models


Modal - unknown prop 'settings'

According to Stardust documentation Modal has property 'settings', but when I add it to the component it throws me an error that property is unknown.
Here is the code:
<Modal settings={{"observeChanges": true}}>
     /* other code... */
</Modal>

Is there any solution to this? Modal is also not centered vertically.

@ljubic the modal is soon to be updated to our v1 component API, see https://github.com/TechnologyAdvice/stardust/issues/269.  We'll likely attack this component soon since we also need it here at @TechnologyAdvice.
If you'd like to use it anyway, while it is in development, let me know your use case and I'll see if I can help.
To be future proof, I'd avoid using the settings prop and wrap it as a controlled component. Once it is updated, we'll support both controlled and uncontrolled versions as we do with all our modules.
Thanks much.

Closing for now in light of the thumbs up.  Let me know if there are any further issues on this that we can help with.


Release for twinby masterkatalog

Version 1.2.2-twinby-master only for TwinBy master katalog where upload function is disabled

Closing.
We do not need a separate image/release for the master catalog.
The changes made in this PR are only configuration changes, that can be set when launching the instance.
The ckan.extraEnv feature can be used to configure this using https://github.com/tum-gis/sddi-ckan-k8s.
Here are the docs.
We should not create a separate image/release for this, as we would have to maintain this.

Thank you. I will inform project participants that for the case of master catalog they need to take care of the configuration in https://github.com/tum-gis/sddi-ckan-k8s and be sure that the ckan.max_resource_size is set to zero ( ckan.max_resource_size = 0 ).

@BWibo OK. Im waiting for the new image to deploy.


Encountered an error: KeyError - 'battleId'

how to fix?

No enough coin for battle, you can claim coin before battle


Browse Poetry Features

User Story: Browse Poetry by Author or Title, https://github.com/suwebdev/spring-ghost/wiki/User-Story:-Browse-Poetry-by-Author-or-Title
Size of the User Story: Small
Reasoning for adding this Issue to the Sprint: We would like to see at least some basic sorting function for the title and author of poetry entries. The display will help us visualize how the sort and results will look.

What is the priority that has been assigned? The priority is medium. It is not imperative, but together with the other issues in this sprint, it will build out of the look and feel of the site.
How do you interpret this fitting into the process of building the project? This is an early step in the process. It's a manageable task that will directly address a user story, and will also probably lead to a number of backlog issues.
Why should this be in the Sprint this time? Why not wait until the next Sprint? This fits along with all of the other basic structure pieces that we are attempting to complete this sprint, getting the skeleton of the site up and running before building in more of the specific functions.

This issue is on branch browse-feature. This was much more difficult that I thought. I ended up just making the very basic structure of the alphabet in an html div container. The functionality sounds like it will be complicated. Each poem will have to contain a code by author that makes it searchable. Then when the user clicks on a letter, it will query for all results that match that code. We sized this as small-medium, but I am now thinking it is large. It also brought up the issue of how we will merge this function onto our main poetry page, once that is in place.


PwA button on mini cart leads to out of box redirect whitelist error

Default SimplePath config (Magento 1 page checkout, show on cart = yes, show on product view = no, display as payment option = no, popup = yes) has button on mini cart but if no URLs whitelisted will fail with whitelisting error on popup.
Should write the whitelist return URL regardless of whether merchant has popup = yes or no

Removed default placement in minicart in issue #284 and added config option.


ODI DFP-34X-2C2 & 2.5GbE Mode question

Hi,
Will the ODI DFP-34X-2C2 put itself automatically in 2.5GbE Mode (autodetect), or should it always be set manually?
br
Charlez

what I experience with RB5009 with auto nego off, force 2.5Gb
ODI DFP-34X-2C2 will automatically nego with 2.5Gb without set LAN_SDS_MODE
also, set to 2.5Gb is also make ODI sync to RB5009 much faster!

BTW I'm in 7.9rc1

LAN SDS Mode 4 Only Auto-Neg Off Force 2.5Gbps

Also try frimware 7.7 if that doesn't work.

BTW I'm in 7.9rc1

LAN SDS Mode 4 Only Auto-Neg Off Force 2.5Gbps
Wait for a 2 Minutes or 3

I am on 7.8 (latest)
and I use Auto Neg on STICK, and Force 2.5Gb at Mikrotik

It doesn't work for me in 7.9rc1
When you say you use Auto Neg in stick do you mean?
flash set PON_MODE 3
flash set FIBER_MODE  2

Was playing around and did put my DFP-34X-2C2 in LAN_SDS_MODE 0 and now it's not responding anymore. While in LAN_SDS_MODE 3 it was.
So LAN_SDS_MODE 0 can also make you stick unresponsive.
In my case it's put in a Fortigate firewall.


Add typescript support

Are there plans to add typescript support?

I already have a PR out for this in #21

If PR exist, then why is it not yet merged?
We need types typescript support.


blazor VS Format Document breaks formatting

having this code in a .razor.cs file:
    private List<Card> cards = new();
    protected override void OnInitialized()
    {
        cards.Add(new Card()
        {
            Id = 1,
            Items = new()
            {
                new (){ Id = 1, Name = "item 1" },
                new (){ Id = 2, Name = "item 2" },
                new (){ Id = 3, Name = "item 3" }
            }
        });
    }

    public class Card
    {
        public int Id { get; set; }
        public List<CardItem> Items { get; set; }
    }

    public class CardItem
    {
        public int Id { get; set; }
        public string Name { get; set; }
    }

in latest version of VS2022 .net 6 blazor server app,
hit Ctrl + K, Ctr + D,
and the first method will look like this:
    protected override void OnInitialized()
    {
        cards.Add(new Card()
            {
                Id = 1,
                Items = new()
            {
                new (){ Id = 1, Name = "item 1" },
                new (){ Id = 2, Name = "item 2" },
                new (){ Id = 3, Name = "item 3" }
            }
            });
    }

note how the { }  characters lost their relative distance
the same issue will occur when pasting this code (auto formatting I presume)

@omuleanu Can you confirm what file type you were using when you saw this issue? You said .razor.cs, which would mean this is a Roslyn issue, and we'll want to trasfer it there.
I suspect this is "by design" though, per https://github.com/dotnet/roslyn/issues/8269 as Roslyn doesn't format object or collection initializers, so there is no concept of "relative distance"

@davidwengier yes, .razor.cs (Blazor)

A .razor.cs file is actually a normal C# file, as far as the editor goes, so I'll move this issue to Roslyn.


Dependency Management Scripts

Building OpenTitan has a lot of dependencies. These are all of the lowrisc-related places where these are specified or checked (I cannot speak to how other organisations have configured their CI setups)

apt-requirements.txt
python-requirements.txt
util/get-toolchain.py
util/build-docs.py
util/check_tool_requirements.py
ci/install-package-dependencies.yml
some individual rules in azure-pipelines.yml
duplicated rules in jobs.yml@opentitan-private-ci
site/docs/builder.Dockerfile
util/container/Dockerfile
(Some lowrisc-internal provisioning scripts for the private CI builder).

I note that juggling all of these dependencies is not particularly easy. especially as:

There are lots of different tools, and it's not clear which are necessary for which usecases.
For CI we need to be able to automate installation and update of these tools (this is not always possible on developer machines)
Some tool versions are specified in multiple places.

We should also note different developers need different sets of tools:

Software Developers don't need all the DV or FPGA tools, necessarily.
Digital Designers and DV don't always need toolchains (if they're not compiling software).

I'm filing this issue so we can keep track of all these places and start to work to unify them in some way.

CC @moidx @cfrantz @mundaym @timothytrippel

Bazel solve this.


[Improve][Formats] Replace CommonErrorCodeDeprecated.JSON_OPERATION_FAILED

Purpose of this pull request

Replace CommonErrorCodeDeprecated.JSON_OPERATION_FAILED
Related:

#5919

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[x] Update the release-note.

PTAL @Hisoka-X @hailin0


Use atomic nodes in the work queue

Currently the push and pop operations are thread safe, but the contents of the nodes themselves potentially aren't.
Look into whether atomic nodes are required, or if it's already safe.

Work started on atomic-nodes

This is a problem for when the queue is replaced


exit code should be non-zero on incorrect arguments

I'd expect a non-zero exit code if the arguments provided were incorrect.
redacted@redacted-B-MBP:~/git/infrastructure/ansible (ap_in_env_improvements│✚1Δ1)> echo 'test123' | slackcat -s -c staging-feed -p
Incorrect Usage. flag provided but not defined: -p

NAME:
   slackcat - redirect a file to slack

USAGE:
   slackcat [global options] command [command options] [arguments...]

VERSION:
   1.2.1

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --channel value, -c value   Slack channel or group to post to
   --comment value             Initial comment for snippet
   --configure                 Configure Slackcat via oauth
   --filename value, -n value  Filename for upload. Defaults to current timestamp
   --filetype value            Specify filetype for synax highlighting
   --noop                      Skip posting file to Slack. Useful for testing
   --stream, -s                Stream messages to Slack continuously instead of uploading a single snippet
   --tee, -t                   Print stdin to screen before posting
   --help, -h                  show help
   --version, -v               print the version
redacted@redacted-B-MBP:~/git/infrastructure/ansible (ap_in_env_improvements│✚1Δ1)> echo $?
0
redacted@redacted-B-MBP:~/git/infrastructure/ansible (ap_in_env_improvements│✚1Δ1)>

Found https://github.com/urfave/cli/issues/610.

Thanks for the details @aerickson. This is resolved in https://github.com/vektorlab/slackcat/commit/5add3e434b990f33931ecc5bfccc38ef0ace08a7 and will be included in the next release.

Included in the latest release


Tasmota support

We added today support for this device. Nice LVGL performance.
Greetings from Tasmota crew.

thank you for your feedback.

Is there documentation how to setup the T-Display-S3 with Tasmota. I can't figure out how to configure the display. Tried  tasmota32s3-display.factory.bin with Lilygo-S3-Display.autoconf.

I'm unable to get this to flash Tasmota, tried various ways and eventually using the updated Esp-flasher seemed to work, except the device is stuck in a bootloop.

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403bb0ce
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x39c
load:0x403b6000,len:0x9a4
load:0x403ba000,len:0x2868
SHA-256 comparison failed:
Calculated: 96edcbf24307eec974a15a9c36833138c4d40b02a8c0319c7b22c9c6b2fd11eb
Expected: 867c0d6cb8d08f5a22bebcb1e4a5d457c2700a1c6b76abeb4d778eadcc3446e2
Attempting to boot anyway...

I use esptool to flash the T-Display-S3.
Command:
esptool --chip esp32-s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode keep --flash_size keep 0x0 tasmota32s3-lvgl.factory.bin

Or easy way use Tasmota Web Installer https://tasmota.github.io/install/

Or easy way use Tasmota Web Installer https://tasmota.github.io/install/

That's what I had tried first . . .

I use esptool to flash the T-Display-S3. Command: esptool --chip esp32-s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode keep --flash_size keep 0x0 tasmota32s3-lvgl.factory.bin

Thanks, I'll try with those settings.

I use esptool to flash the T-Display-S3. Command: esptool --chip esp32-s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode keep --flash_size keep 0x0 tasmota32s3-lvgl.factory.bin

Sadly this didn't work. I could use it to flash an esphome binary though, and with the correct libraries the Arduino IDE works perfectly too. I was unable to find the specific binary you mention, my presumption was that tasmota32-lvgl.factory.bin is now compatible with the S3 now. I had also tried the plain S3 binary which also doesn't work however.

 In the end I used the esphome web installer.
https://github.com/Jason2866/Tasmota-specials/blob/firmware/firmware/tasmota32/other/tasmota32s3-lvgl.factory.bin

@ianmxyz Do NOT use any EspHome Installer for flashing Tasmota. You will run in issues.
Tasmota has its own Web Installer. You linked to my special repo and there is the web installer too which has to be used.
But every version is here and the web installer too

Hello,
I used the Installer you advised but in any way I never get a Box to configure WLAN. After Install the device it is never seen as AP. It doesn't matter wich version I use. I tried 2 lilygo s3.

Hello, I used the Installer you advised but in any way I never get a Box to configure WLAN. After Install the device it is never seen as AP. It doesn't matter [which] version I use. I tried 2 lilygo s3.

Please try a power supply that can deliver more current.
I just tried with the development Tasmota32 LVGL (English) on ESP32-S3
On the USB port of my PC no Ap, using a Raspberry PowerSupply is presented de AP.

Hello,
I tried powersupply and both lilygo are presenting AP immidiatly.
Do you know about a release I can upload to use the display of the lilygo s3?
I am reading about ini-files and config-files but I don't know how to use them all together.
Thanks Johannes.

If you did a autoconfig of "Lilygo-S3-Display" you can upload the autoexec.be from https://tasmota.github.io/docs/LVGL_in_10_minutes/ . I did not progress beyond that point yet.......

@jkrijger67 goto https://tasmota.github.io/install/ and select from unofficial variants

After it has installed goto Tasmota Autoconfig and select  T-Display-S3

@Jason2866, thanks! I now can run the https://tasmota.github.io/docs/HASPmota/#quick-tour (because there is PSRAM support in this firmware)

@Jason2866 Thanks for the mention. Is the Touch variant supported too?

thank you all for support.
I installed adviced release and it starts up. Wlan config done as well. I am using "Lilygo-S3-Display" for auto-config. "T-Display-S3" was not shown. But Display is not showing anything. I tried dipslaytext but nothing is shown.
Johannes.

Yes, touch is supported.
Display shows after powering on for a short time the Tasmota logo.
If you see nothing please check if in Web Frontend the Button shows "on".
If you still see nothing go in Tasmota Web console and type displaydimmer 100 and hit return. This increases the Back light to full brightness.

Hello Jason2866,
thank you for your patience.
Tasmota logo is shown at startup.
The display command shows:
{"Display {"Model":17,"Type":0,"Width":320,"Height":170,"Mode":0,"Dimmer":100,"Size":1,"Font":2,"Rotate":0,"Invert":0,"Refresh":2,"Cols":[16,8],"Rows":2}}
For me it all looks fine. But "DisplayText Hallo" doesn't show anything. :-(

Okay, I lied to you. There is something on display but it is very dark. I attached a picture.

So do displaydimmer 100 in the Tasmota console. Time to read Tasmota docu :-)
It is working.

I got my Lilygo T-Disdplay-S3 going using the Web Tasmota flasher with firmware Tasmota32-S3 (QIO Flash/OPI PSRAM). Then I auto-configured with Lilygo S3 Display.
I've been messing trying to get it to display some sensor values, learning as I go but currently stuck not knowing how to clear the old text before writing updated values every 5 seconds. Help!
Here's my Berry code so far...
#- start LVGL and init environment -#
lv.start()
import string
import json
tasmota.cmd("DisplayDimmer 50")

hres = lv.get_hor_res()       # should be 320
vres = lv.get_ver_res()       # should be 240 (mine is 170)
#print(hres, vres)
scr = lv.scr_act()            # default screean object
f20 = lv.montserrat_font(20)  # load embedded Montserrat 20

#- Background with a gradient from black #000000 (bottom) to dark blue #0000A0 (top) -#
scr.set_style_bg_color(lv.color(0x0000A0), lv.PART_MAIN | lv.STATE_DEFAULT)
scr.set_style_bg_grad_color(lv.color(0x000000), lv.PART_MAIN | lv.STATE_DEFAULT)
scr.set_style_bg_grad_dir(lv.GRAD_DIR_VER, lv.PART_MAIN | lv.STATE_DEFAULT)

#- Upper state line -#
stat_line = lv.label(scr)
#def t() var data = json.load(tasmota.read_sensors()) var t = data['DS18B20-1']['Temperature']
#print("Booh!")
#stat_line.set_text(string.format("Temp = %.2f", t)) end
if f20 != nil stat_line.set_style_text_font(f20, lv.PART_MAIN | lv.STATE_DEFAULT) end
stat_line.set_long_mode(lv.LABEL_LONG_SCROLL)                                        # auto scrolling if text does not fit
stat_line.set_width(hres)
stat_line.set_align(lv.TEXT_ALIGN_LEFT)                                              # align text left
stat_line.set_style_bg_color(lv.color(0xD00000), lv.PART_MAIN | lv.STATE_DEFAULT)    # background #000088
stat_line.set_style_bg_opa(lv.OPA_COVER, lv.PART_MAIN | lv.STATE_DEFAULT)            # 100% background opacity
stat_line.set_style_text_color(lv.color(0xFFFFFF), lv.PART_MAIN | lv.STATE_DEFAULT)  # text color #FFFFFF
stat_line.set_text(string.format("HRES=%3i, VRES=%3i", hres, vres))
#tasmota.set_timer(5000, t)
#stat_line.set_text("Tasmota")
#stat_line.set_text("hres")
stat_line.refr_size()                                                                # new in LVGL8
stat_line.refr_pos()                                                                 # new in LVGL8

#- Sensor reports -#

def f()
var data = json.load(tasmota.read_sensors())
var oflabel = lv.label(scr)
if f20 != nil oflabel.set_style_text_font(f20, lv.PART_MAIN | lv.STATE_DEFAULT) end
oflabel.set_text("")
oflabel.set_text(string.format("Outflow = %.2f°C", data['DS18B20-1']['Temperature']))
oflabel.set_style_text_color(lv.color_hex(0xffffff), lv.PART_MAIN)
oflabel.align(lv.ALIGN_CENTER, 0, -45)
var iflabel = lv.label(scr)
if f20 != nil iflabel.set_style_text_font(f20, lv.PART_MAIN | lv.STATE_DEFAULT) end
iflabel.set_text(string.format(" Inflow = %.2f°C", data['DS18B20-2']['Temperature']))
iflabel.set_style_text_color(lv.color_hex(0xffffff), lv.PART_MAIN)
iflabel.align(lv.ALIGN_CENTER, 0, -5)
end

tasmota.add_cron("*/5 * * * * *", f, "every_5_seconds")

#- display wifi strength indicator icon (for professionals ;) -#
wifi_icon = lv_wifi_arcs_icon(stat_line)    # the widget takes care of positioning and driver stuff
clock_icon = lv_clock_icon(stat_line)

And this is what I see on the display after a reboot. The text becomes fuzzier as each 5 seconds go by...

Hey @richardsg307 not sure if you ever figured it out, the issue is that you are creating a new label every time in your method with var oflabel = lv.label(scr). I used your code (thank you 🙇 ) but adapted it to get mqtt msgs and display them here if you want to take a look

Hey @richardsg307 not sure if you ever figured it out, the issue is that you are creating a new label every time in your method with var oflabel = lv.label(scr). I used your code (thank you 🙇 ) but adapted it to get mqtt msgs and display them here if you want to take a look

Thanks, I'll have a look.
I did overcome the problem but I did it by moving on to HASPmota which takes care of overwriting for you. I did a full write-up of my final project here


authenticate base on client token

just example, my API has got Resources and these have got some endpoints.
Resources:
frogs
API features:
frogs	readAll	http://myapi.com/api/www/index.php/oauth2/v1/get/frogs
frogs	readOne	GET	http://myapi.com/api/www/index.php/oauth2/v1/get/frogs/{id}
frogs	createOne	POST	http://myapi.com/api/www/index.php/oauth2/v1/frogs	(user credent only)
...
For authentification I use the yii2-oauth2-server and the grant_type "client credentials".
note : no problem with user credential auth.
but i need just use authenticate base on client token, and always failed, how this scenario can be done?

Request:
GET http://myapi.com/api/www/index.php/oauth2/token
grand_type = client_credentials
client_id = id1
client_secret = secret1

Response:
"access_token": "thisisthefunnyaccesstoken",
"expires_in": 31104000,
"token_type": "Bearer",
"scope": "default"

Request:
GET http://myapi.com/api/www/index.php/oauth2/v1/get/frogs
HEADER Authorization: Bearer thisisthefunnyaccesstoken

Response:
all the funny frogs

now i can use client token using $_pos:
in controller :
if (isset($_post['token'])) token = $_post('token');
if ((Accesstokens::isAccessTokenValid($token))) {// do some thing.}
in my Accesstokens model :
public static function isAccessTokenValid($token)
{
if (empty($token)) {
return false;
}
$query = (new \yii\db\Query())
->select(['access_token','expires'])
->from('oauth_access_tokens')
->where(['access_token' => $token])
//            ->limit(10)
->one();
if (empty($query)) {
return false;
}
$expire = $query['expires'];
return $expire > date('Y-m-d h:i:s');
}
how to use: HEADER Authorization: Bearer? anyone can help?

if i use password (user_credential) token, i can implementation bearer auth using :
public function behaviors()
    {
        return ArrayHelper::merge(parent::behaviors(), [
            'authenticator' => [
                'class' => CompositeAuth::className(),
                'authMethods' => [
                    ['class' => HttpBearerAuth::className()],
                    ['class' => QueryParamAuth::className(), 'tokenParam' => 'accessToken'],
                ]
            ],
            'exceptionFilter' => [
                'class' => ErrorToExceptionFilter::className()
            ],
        ]);
    }

but this method is using user table in authenticate user, not oauth_client table to authenticate client without user
how to authenticate token base on client table only, without user table?

if I understand, you want the client to have access without a user.
Looking at the table oauth_client has a user_id column.
So, i believe that you must link the oauth_client to a user in your user table.
ie for a oauth_client you must have a user to make this type of authentication
for example, i use this in a migration to insert a basic api client:
        // create the oauth_client associated user.
            $user = new \api\models\User([
                     'name' => 'api_client_1',
                     'email' =><EMAIL_ADDRESS>                     'password' => '', // I do not think I need it
                     'status' => 10]);
            $user->save();

       // create the oauth_client itself:
        $oauth2Client = new \filsh\yii2\oauth2server\models\OauthClients([
            'client_id' => 'api_client_id_1',
            'client_secret' => 'api_client_secret',
            'redirect_uri' => 'http://fake.com',
            'grant_types' => 'password client_credentials',
            'scope' => 'manipulate_users',
            'user_id' => \api\models\User::findOne(['name' => 'api_client_1'])->id,
        ]);
        $oauth2Client->save();

Note: I do not know if this is the best way, i found nothing related in the documentation, but it is the way we use and it works.
About using the token via header that is how you described it.
It would be the same as the user. Using behaviors.
That is, the only thing is to connect the oauth_client to the user.

@biessek Thanks, your solution work perfect.
yes about the token, just using behaviors.

Why the client_credentials grant_type must be provided with user credentials (in this implementation). The oauth2 client_credentials spec just needs
{
    "grant_type" : "client_credentials",
    "client_id" : "some_id",
    "client_secret" : "some_secret"
}


Update deDE.lua

Translated with ChatGPT and everything checked

No matter what I translate, it means the same thing.
[CraftSim.CONST.TEXT.STAT_RESOURCEFULNESS] = "Resourcefulness,
[CraftSim.CONST.TEXT.STAT_INGENUITY] = "Ingenuity",
[CraftSim.CONST.TEXT.STAT_RESOURCEFULNESS] = "Einfallsreichtum",
[CraftSim.CONST.TEXT.STAT_INGENUITY] = "Einfallsreichtum",
The lower one should also be right. If I'm wrong, I'm sorry.

I got it to work now...


scrollToDate() scrolls to the OutDates of the previous month (Edge case)

(Required) Version Number: 8.0.2
Description
scrollToDate() scrolls to the OutDates of the previous month if they exist.
E.G. April 4th 2020 also lies as the last (OutDates) item on the calendar of March. So it scrolls to march instead.
Conversely, scrollToDate(date_object) - where date_object is April 5th 2020, would result in the correct month placement. Because April 5th does not lie on the OutDates of march.
Steps To Reproduce

Have vertical scrolling
Scrolling mode = .stopAtEachCalendarFrame.
Have Outdates, InDates enables
call scrollToDate(date_object)  // Where date_object is April 4th 2020

Expected Behavior
Expecting to land on the April month, but it landed on March
Additional Context
A very nasty workaround is by making a generic Date() object using DateComponents() and setting the date to 15 and copying the rest. I don't really care about the specific date, I just need the correct/current month.
It looks like this:
    var scrollToMonth = DateComponents()
    scrollToMonth.day = 15
    scrollToMonth.month = calendar.component(.month, from: selectedDay)
    scrollToMonth.year = calendar.component(.year, from: selectedDay)

    calendarView.scrollToDate(Calendar.current.date(from: scrollToMonth)!)

Also, why not have something like scrollToMonth()?
I also checkout the scrollToMonth definition, but wasn't able to understand many of it :/
This is my first app.
Nonetheless, wonderful framework 👍
Thank you for time spent developing and maintaining.

If you have a sample app reproducing this, it can help.

It's a pretty big project, I could show you the whole Class and it's functions, they're all in one file. As for the story board, I don't have any addition gestures or touch recognizers.
The function that doesn't get called is at line 128
CalendarViewController.swift.zip

The project is pretty large, I don't want to share the whole thing.
I also a little issue where the function "didSelectDate" doesn't get called on cell touches.
I have the whole class in the file attached. As for the storyboard, I don't have any touch or gestures recognizers.
"didSelectDate" is on line 128
CalendarViewController.swift.zip

I understand you cant share the whole thing.
What i meant was, create an empty sample project with the bare minimum code that reproduces this problem.
Crashes (or bugs like crashes) or other obvious errors can be solved by me easier than the error you currently have. Anything can cause it, from xibs, to code. Therefore a sample app can help me see exactly what the problem is.
If i just have the file, then i will have to create a project around it which might behave differently than your current one;

I understand, I'll try to do that ASAP.

I understand you cant share the whole thing.
What i meant was, create an empty sample project with the bare minimum code that reproduces this problem.
Crashes (or bugs like crashes) or other obvious errors can be solved by me easier than the error you currently have. Anything can cause it, from xibs, to code. Therefore a sample app can help me see exactly what the problem is.
If i just have the file, then i will have to create a project around it which might behave differently than your current one;

Ok here's the project:
SampleApp.zip

Ok i just awoke.
taking a look.
BTW, scroll to date should never scroll to outDates. It should always scroll to the correct date stated by you.
Checking this out  now.

Update: didSelectDate function issue was fixed by going to the Size Inspector on DateCell and changing the Collection View Cell Size from Automatic to Custom, and un-checking Content View
This also fixed all the console errosr regarding constraints after the calendar renders.

no, its ok.
I dont know what you did to fix the non-clicking issue (i am not too familiar with xibs).
Therefore, what i did was create a new Xib with all the default settings and the constraint errors went away. Once the errors went away. Clicking started working again.
This let me think the tapping issue was related to the constraint errors.
As for the scroll to date, it works as expected on my end.
Therefore, let me ask you this, do you live in the West? or the East part of the world.
I suspected it might be a time zone issue -> https://github.com/patchthecode/JTAppleCalendar/issues/252

Im on the US West Coast.
So even without modifying anything in the project it scrolled to the correct month?
Also, even after setting generateOutDates: .none  is still scrolls to the month prior, even if the date cells are not showing at all.

Ok you were probably right about that one, I don't know exactly what I did, but I messed around come Calendar() settings, and was trying to make things more consistent and it work now. Cheers.

awesome

I have the same bug in my code.  Calendar is scrolling to prior month due to outDates appearing.
I made a workaround by changing the scrollToDate to be the middle of the current month instead of using today's date.


TiKV memory usage problem when THP enabled

Bug Report

What version of TiKV are you using?
Release Version:   5.1.3
What operating system and CPU are you using?
Linux, ARM CPU
Steps to reproduce
When running 5.1.4 testing on ARM, it is noticed that TiKV memory usage is very high right after the cluster is created if THP is enabled on the host, even if there is no workload running
What did you expect?
TiKV memory usage should be normal if there is no workload running in the cluster, and it should not OOM easily.
What did happened?
TiKV memory usage is about the memory quota set by the spec (16GiB) right after the cluster is created, then TiKV was OOM killed if there are other workloads like br restore.
== THP is enabled on host (<IP_ADDRESS>) of downstream-tikv-0 pod, the TiKV memory status is weird for this TiKV pod.

From tikv.log, we can see there are lots of restart, many happens just when TiKV pod is started, and there is no workload. (we only do br restore to downstream tidb cluster after 2022/02/16 03:52:50.578 +00:00)
#grep Welcome tikv_downstream.log
[2022/02/16 03:45:11.199 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 03:45:14.939 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 03:45:33.038 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 03:46:06.069 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 03:47:02.118 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 03:48:40.029 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 03:55:45.049 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 04:11:30.350 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 04:11:59.128 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 04:12:32.088 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 04:13:17.129 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 04:14:51.169 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 04:18:41.078 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 04:24:11.178 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]
[2022/02/16 04:29:30.152 +00:00] [INFO] [lib.rs:81] ["Welcome to TiKV"]

==TiKV log==
tikv_downstream.log
tikv_upstream.log

/type bug
/severity major

/assign tier-cap

/assign ethercflow

Because aarch64 default page size is 64kb, one THP size will be 512MB.

Close it based on above comments


Error running the auth script

Hello guys,
I have getting this ERROR anytime I execute the script on PowerShell:
### ERROR TRYING TO REDEEM ACCESS CODE ###
Method invocation failed because [System.Net.Http.HttpResponseMessage] does not contain a method named 'GetResponseStream'.
At /Users/xxxxx/Desktop/authscript.ps1:84 char:4
+    $result = $_.Exception.Response.GetResponseStream()
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound

ConvertFrom-Json : Cannot bind argument to parameter 'InputObject' because it is null.
At /Users/xxxxxxxx/Desktop/authscript.ps1:93 char:42
+ $refreshOutputContent = ConvertFrom-Json $refreshOutput.Content
+                                          ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [ConvertFrom-Json], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertFromJsonCommand

This issue has been resolved as part of Issue #3

This issue has been resolved as part of Issue #3


Installable package releases, NPM, brew, deb...

Since we will eventually complete the deprecation of netlify-cli, we'll need to provide netlifyctl via an npm wrapper of some sort.
I'd say this is probably blocked on https://github.com/netlify/netlifyctl/issues/6 to give netlifyctl the same powers that netlify-cli has for site configuration instead of just deployment.
@rybit has suggested this is the eventual plan, not just a wish, but that there is no timeline for this update yet.

See the project roadmap board:  https://github.com/netlify/netlifyctl/projects/1

The more I think about this, the more I believe we should not make it available via NPM.

The more I think about this, the more I believe we should not make it available via NPM.
PROS:

Installation for people that already have installed the previous CLI is the same.

CONS:

NPM install is a hack.
The only point in the PROS section is not really a PRO, it's only a NICE TO HAVE.
NPM is not deterministic.
NPM does not support the concept of package per ARCHITECTURE, which makes us hack the installation process.
People are also familiar with their OS package manager, which is better at installing binary packages than NPM.
Other package managers have much much better support for this, and we can get more help.

ok, you need to fight with @biilmann on that, he declared it to be so and I passed it on to multiple customers @calavera .  I don't love it either - but what I really hate is that all of our docs and most of our customers use the current NPM package that we decided to stop maintaining 6 months ago and still haven't told them.

I'm willing to call this a lost cause.  It's there in homebrew and available via curl these days, don't have a strong desire to see it in npm


Rename beman-project GitHub org to bemanproject

Rename beman-project GitHub org to bemanproject as per https://discourse.bemanproject.org/t/warning-the-github-org-may-be-renamed-soon/260/8

[x] Updates

[x] https://github.com/beman-project → https://github.com/bemanproject (changes applied)
Note: https://github.com/beman-project (old link) does not work anymore, but the old URLs for repos still do! (e.g., https://github.com/beman-project/exemplar/ is redirected to https://github.com/bemanproject/exemplar/).
[x] https://discourse.bemanproject.org/ → NO changes
[x] https://www.bemanproject.org/ → NO changes
[x] https://x.com/bemanproject → NO changes

[x] Propagate changes to bemanproject repos

[x] beman - https://github.com/bemanproject/beman/pull/66
[x] ci  - N/A
[x] dump - https://github.com/bemanproject/dump/pull/3
[x] execution26 - https://github.com/bemanproject/execution26/pull/88
[x] exemplar - https://github.com/bemanproject/exemplar/pull/81
[x] inplace_vector - https://github.com/bemanproject/inplace_vector/pull/25
[x] iterator_interface - https://github.com/bemanproject/iterator_interface/pull/32
[x] library-template - N/A. Should we delete this repo? (examplar/ is current library template repo!)
[x] net29 - https://github.com/bemanproject/net29/pull/11
[x] optional26 - https://github.com/bemanproject/optional26/pull/83
[x] utf_view - https://github.com/bemanproject/utf_view/pull/27
[x] website - N/A. Should we delete this repo?

All know issues discovered after renaming were fixed.


Add #[ReturnTypeWillChange] attribute to suppress deprecation warning…

…s and fatal error
Fatal error on composer install or composer update. ie: composer update or composer create-project akaunting/akaunting
Illuminate\Foundation\ComposerScripts::postAutoloadDump PHP Fatal error:  During inheritance of JsonSerializable: Uncaught ErrorException: Return type of Akaunting\Money\Money::jsonSerialize()
Error occurs on php 7.4 >=

Not able to reproduce.


CashScript contract calls are not accepting mainnet-js style SendRequests

Warning: don't disclose private information, take extra care posting screenshots or copying text, as it may contain private keys, i.e. walletIds, walletInfo
Describe the context

Your core project language: Unknown
If the project is Typescript or Javascript, which environment: [e.g. nodejs14, web browser, something special]
Are you using the REST server: Yes
If using REST, is it from a dockerized container: Unknown
If using REST, are you using a generated client: Unknown

Describe the bug
When passing the example contract call, two errors are thrown for the body.to field:

That "body.to" must be an array
That "body.to" should match exactly one schema in oneOf

To Reproduce
Steps to reproduce the behavior:
curl -X POST "https://rest-unstable.mainnet.cash/contract/call" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{\"contractId\":\"testnet:TURNME1UQmxaakEwT0dJelpHRXpOVEUzT1RObU5tVmtNVFJqWXpKbVpHVTBOakJpWldOak5XSTJOVGhrT1RFek9EUTBNMkk1WVRNd01EQTNNRGRoTm1FMzpNRE0wT1RjNFlXTTBOalJtTXpVNFlqSXpOV1l4TVRJeE1tVmlObVV3TVRkaFpqa3dNakUxWWprd1lqRm1aamMwTnpGa09XRmxNbUZpWWpWbE1Ea3lOak5pOk1qRTE=:Y29udHJhY3QgVHJhbnNmZXJXaXRoVGltZW91dChwdWJrZXkgc2VuZGVyLCBwdWJrZXkgcmVjaXBpZW50LCBpbnQgdGltZW91dCkgewogICAgZnVuY3Rpb24gdHJhbnNmZXIoc2lnIHJlY2lwaWVudFNpZykgewogICAgICAgIHJlcXVpcmUoY2hlY2tTaWcocmVjaXBpZW50U2lnLCByZWNpcGllbnQpKTsKICAgIH0KCiAgICBmdW5jdGlvbiB0aW1lb3V0KHNpZyBzZW5kZXJTaWcpIHsKICAgICAgICByZXF1aXJlKGNoZWNrU2lnKHNlbmRlclNpZywgc2VuZGVyKSk7CiAgICAgICAgcmVxdWlyZSh0eC50aW1lID49IHRpbWVvdXQpOwogICAgfQp9Cg==:1996128042\",\"action\":\"send\",\"function\":\"timeout\",\"arguments\":[\"watch:testnet:qpalhxhl05mlhms3ys43u76rn0ttdv3qg2usm4nm7t\"],\"to\":{\"cashaddr\":\"bchtest:qpalhxhl05mlhms3ys43u76rn0ttdv3qg2usm4nm7t\",\"value\":2000,\"unit\":\"sat\"},\"feePerByte\":1}"
Expected behavior
The above curl should parse the to field from a SendRequest style to amount.
Additional context
Examples should be included for Arrays of SendRequests and CashScript.to() style requests as well.

Fixed in 0.2.32


Add support for podman and xorg profiles in Wayland-based hosts

Key highlights:

Add support for podman.
Support running xorg profiles in a Wayland host.
General improvement of user experience and messages.
Debug mode using QS_DEBUG=true.

Relates to #1 #2.

Wayland support was tested on Tumbleweed + Gnome.


Improve the Flutter installation process

According to a recent user study, completing the installation process is associated with higher user retention.
Note: While #37349 describes ways to assist the users during the installation process to help them complete the process, this issue describes potential tooling changes we can consider to make the installation process easier.
Some potential changes have been proposed:

Offer precompiled shells for Windows, Linux, and macOS using the desktop embedder that allow a zero setup workflow
Offer a new flutter preview verb which is able to run and reload .dart code against a prebuilt runner, thus not requiring any other installation than the SDK
Reduce the extra time in macOS due to platform-specific tools like brew or cocoapods
Experiment different installation instructions (E.g., Does git clone v. unzip Flutter affect installation experience and user retention? Would the homebrew install package be better?)
Change flutter doctor so that it produces error output for the host & target platforms that the developer is actually interested in
Changed the order of installation process so that the flutter doctor is the last step

cc'ing the contributors of the action items doc: @timsneath, @csells, @mit-mit, @christopherfujino, @gaaclarke, @johnpryan, @tvolkert, @jonahwilliams, @eseidel

Offer precompiled shells for Windows, Linux, and macOS using the desktop embedder that allow a zero setup workflow

Why is this preferable to using web for a zero-setup workflow? Using desktop seems like significantly more work, and I would think we wouldn't need as harsh a usability cliff (e.g., when adding the first plugin) with web as with desktop.

To clarify, the list of ideas came from team discussion. All of the items are open to feedback from the community.

Related issues: https://github.com/flutter/flutter/issues/39939, https://github.com/flutter/flutter/issues/23520, https://github.com/flutter/flutter/issues/9401, https://github.com/flutter/flutter/issues/63619, https://github.com/flutter/flutter/issues/71368


Slower in nested directory

Hi,
I try flow on a very simple nodejs/express install with just boilerplate startup code in app.js, and some test conde in projectroot/dec/test.js .
I also have some modules in node_modules.
I notice a couple of things:

When I run flow on app.js, it's must faster than when I run in on dec/test.js. Is there a reason for this ? 2) Also each time flow seems to "start a new flow server", I'm not sure it is normal.

Please advise.

Closing since this issue hasn’t seen a lot of activity. Sorry about that 😣
Please reopen if you are still having issues!


Help needed in setting up dev environment for contribution

Hi,
The instructions under Contributing section are a little too brief for a new person to follow especially if the person is not a programmer like I am not. I am trying to setup the dev environment to be able to change the core theme at my end (for multiple projects and use it), however, I get errors at every step. It seems there are some assumptions going around which are not documented leading to this. I have tried multiple times but it just doesn't work including trying to fix based on solutions available across the web for the issues I am facing. Can anyone help by pointing me to a more detailed setup documentation or is there a video I can watch or easy steps that someone has used recently to setup the workflow for editing and releasing? I want to fork and then work on the theme...
-Amit

Hi @kapooramit , unfortunately we don't have more detailed steps - the best thing will be to start from scratch and detail here the errors you get. It will be more effective if you tell us the first error, then we tell you how to solve it, then you continue.
Remember to disclose your operative system and version of Python.

Thank you. I have managed to fix all the errors until the following step. It was a long day.
When I run:
npm run dev

I get the following when running from the root of the repository root. Please help fix.
D:\sphinx_rtd_theme>npm run dev

><EMAIL_ADDRESS>dev
> webpack-dev-server --open --config webpack.dev.js

Executing pre-build scripts
(node:35352) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
(Use `node --trace-deprecation ...` to show where the warning was created)
i ｢wds｣: Project is running at http://localhost:1919/
i ｢wds｣: webpack output is served from /_static/
i ｢wds｣: Content not from webpack is served from docs/build/html
'make' is not recognized as an internal or external command,
operable program or batch file.
D:\sphinx_rtd_theme\node_modules\webpack-shell-plugin\lib\index.js:168
        throw error;
        ^

Error: Command failed: make -C docs clean html
'make' is not recognized as an internal or external command,
operable program or batch file.

    at ChildProcess.exithandler (child_process.js:308:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1048:16)
    at Socket.<anonymous> (internal/child_process.js:439:11)
    at Socket.emit (events.js:315:20)
    at Pipe.<anonymous> (net.js:673:12) {
  killed: false,
  code: 1,
  signal: null,
  cmd: 'make -C docs clean html'
}

I am running Windows 10 64-bit,
Python 3.9
NodeJS 14.16.1

I see, thanks for sharing the traceback. The development instructions are designed for Linux, so your best option is to install WSL2 (Windows Subsystem for Linux 2) and starting from scratch there, otherwise I'm not sure it's possible to make them work.

Thanks @astrojuanlu . I managed to setup wsl2 and then degraded to wsl1 and it is running now as appears. Please help me with the following:

I am getting this error on running build (npm run build):

ntusername@computer-name:~/sphinx_rtd_theme$ npm run build

><EMAIL_ADDRESS>build /home/ntusername/sphinx_rtd_theme
> webpack --config webpack.prod.js

sh: 1: webpack: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR<EMAIL_ADDRESS>build: `webpack --config webpack.prod.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ntusername/.npm/_logs/2021-12-19T18_23_08_881Z-debug.log
ntusername@computer-name:~/sphinx_rtd_theme$ python3 -m pip install webpack
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: webpack in /home/ntusername/.local/lib/python3.8/site-packages (6.0.0)
Requirement already satisfied: requests>=2.5.0 in /home/ntusername/.local/lib/python3.8/site-packages (from webpack) (2.26.0)
Requirement already satisfied: optional-django==0.3.0 in /home/ntusername/.local/lib/python3.8/site-packages (from webpack) (0.3.0)
Requirement already satisfied: charset-normalizer~=2.0.0 in /home/ntusername/.local/lib/python3.8/site-packages (from requests>=2.5.0->webpack) (2.0.9)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.5.0->webpack) (1.25.8)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.5.0->webpack) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.5.0->webpack) (2019.11.28)
ntusername@computer-name:~/sphinx_rtd_theme$ npm run build

><EMAIL_ADDRESS>build /home/ntusername/sphinx_rtd_theme
> webpack --config webpack.prod.js

Hash: 6de9800f52ea5c45106a
Version: webpack 4.46.0
Time: 483ms
Built at: 12/20/2021 12:00:13 AM
 2 assets
Entrypoint theme = js/theme.js?6de9800f52ea5c45106a
Entrypoint badge_only = js/badge_only.js?6de9800f52ea5c45106a
[0] multi ./src/theme.js ./src/sass/theme.sass 40 bytes {1} [built]
[1] ./src/theme.js 9.29 KiB {1} [built]
[2] external "jQuery" 42 bytes {1} [built]
[3] ./src/sass/theme.sass 1.76 KiB {1} [built] [failed] [1 error]
[4] ./src/sass/badge_only.sass 1.76 KiB {0} [built] [failed] [1 error]

ERROR in ./src/sass/theme.sass
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Cannot find module 'node-sass'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (/home/ntusername/sphinx_rtd_theme/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at getDefaultSassImpl (/home/ntusername/sphinx_rtd_theme/node_modules/sass-loader/dist/index.js:198:10)
    at Object.loader (/home/ntusername/sphinx_rtd_theme/node_modules/sass-loader/dist/index.js:80:29)
    at runLoaders (/home/ntusername/sphinx_rtd_theme/node_modules/webpack/lib/NormalModule.js:316:20)
    at /home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at Array.<anonymous> (/home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/ntusername/sphinx_rtd_theme/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at provider (/home/ntusername/sphinx_rtd_theme/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9)
    at /home/ntusername/sphinx_rtd_theme/node_modules/graceful-fs/graceful-fs.js:115:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
 @ multi ./src/theme.js ./src/sass/theme.sass theme[1]

ERROR in ./src/sass/badge_only.sass
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Cannot find module 'node-sass'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (/home/ntusername/sphinx_rtd_theme/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at getDefaultSassImpl (/home/ntusername/sphinx_rtd_theme/node_modules/sass-loader/dist/index.js:198:10)
    at Object.loader (/home/ntusername/sphinx_rtd_theme/node_modules/sass-loader/dist/index.js:80:29)
    at runLoaders (/home/ntusername/sphinx_rtd_theme/node_modules/webpack/lib/NormalModule.js:316:20)
    at /home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at Array.<anonymous> (/home/ntusername/sphinx_rtd_theme/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/ntusername/sphinx_rtd_theme/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at provider (/home/ntusername/sphinx_rtd_theme/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9)
    at /home/ntusername/sphinx_rtd_theme/node_modules/graceful-fs/graceful-fs.js:115:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/sass-loader/dist/cjs.js??ref--5-2!src/sass/badge_only.sass:
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ref--5-2!./src/sass/badge_only.sass 654 bytes {0} [built] [failed] [1 error]

    ERROR in ./src/sass/badge_only.sass (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ref--5-2!./src/sass/badge_only.sass)
    Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
    Error: Cannot find module 'node-sass'
        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
        at Function.Module._load (internal/modules/cjs/loader.js:562:25)
        at Module.require (internal/modules/cjs/loader.js:692:17)
        at require (/home/ntusername/sphinx_rtd_theme/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
        at getDefaultSassImpl (/home/ntusername/sphinx_rtd_theme/node_modules/sass-loader/dist/index.js:198:10)
        at Object.loader (/home/ntusername/sphinx_rtd_theme/node_modules/sass-loader/dist/index.js:80:29)
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/sass-loader/dist/cjs.js??ref--5-2!src/sass/theme.sass:
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ref--5-2!./src/sass/theme.sass 654 bytes {0} [built] [failed] [1 error]

    ERROR in ./src/sass/theme.sass (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ref--5-2!./src/sass/theme.sass)
    Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
    Error: Cannot find module 'node-sass'
        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
        at Function.Module._load (internal/modules/cjs/loader.js:562:25)
        at Module.require (internal/modules/cjs/loader.js:692:17)
        at require (/home/ntusername/sphinx_rtd_theme/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
        at getDefaultSassImpl (/home/ntusername/sphinx_rtd_theme/node_modules/sass-loader/dist/index.js:198:10)
        at Object.loader (/home/ntusername/sphinx_rtd_theme/node_modules/sass-loader/dist/index.js:80:29)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: `webpack --config webpack.prod.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ntusername/.npm/_logs/2021-12-19T18_30_13_759Z-debug.log

What are the recommended versions of node js, python, wsl to work well on Windows 10 64-bit with VS Code - recommended for working on the theme?

Rather than python3 -m pip install webpack, please do npm install webpack webpack-dev-server webpack-cli --save-dev.
The step npm install described in https://sphinx-rtd-theme.readthedocs.io/en/stable/contributing.html#set-up-your-environment should have done this, since it is present in the package-lock.json:
https://github.com/readthedocs/sphinx_rtd_theme/blob/d64dadf1ceec4f9ff6c1ca2d3ea4c3d0fdb0e8d2/package-lock.json#L7585-L7589

What are the recommended versions of node js, python, wsl to work well on Windows 10 64-bit with VS Code - recommended for working on the theme?

This information is missing from https://sphinx-rtd-theme.readthedocs.io/en/stable/contributing.html#set-up-your-environment, I'll let @nienn comment on what setup is she using.

How can I integrate live-reload for changes I make to templates (.html). Currently, I need to run make HTML in docs to update HTML output.

I'm not sure if it's applicable, but lately I've been using https://github.com/executablebooks/sphinx-autobuild with great success.

Rather than python3 -m pip install webpack, please do npm install webpack webpack-dev-server webpack-cli --save-dev.
The step npm install described in https://sphinx-rtd-theme.readthedocs.io/en/stable/contributing.html#set-up-your-environment should have done this, since it is present in the package-lock.json:
https://github.com/readthedocs/sphinx_rtd_theme/blob/d64dadf1ceec4f9ff6c1ca2d3ea4c3d0fdb0e8d2/package-lock.json#L7585-L7589

Thank you @astrojuanlu . I tried this and got the following at the end of console output stream. I ran the command with sudo permissions in admin dos console in this order:

Started cmd with admin rights
WSL
sudo npm install webpack webpack-dev-server webpack-cli --save-dev

3507 verbose node v10.19.0
3508 verbose npm  v6.14.4
3509 error code EACCES
3510 error syscall rename
3511 error path /home/ntusername/sphinx_rtd_theme/node_modules/terser-webpack-plugin/node_modules/schema-utils
3512 error dest /home/ntusername/sphinx_rtd_theme/node_modules/schema-utils
3513 error errno -13
3514 error Error: EACCES: permission denied, rename '/home/ntusername/sphinx_rtd_theme/node_modules/terser-webpack-plugin/node_modules/schema-utils' -> '/home/ntusername/sphinx_rtd_theme/node_modules/schema-utils'
3514 error  { [Error: EACCES: permission denied, rename '/home/ntusername/sphinx_rtd_theme/node_modules/terser-webpack-plugin/node_modules/schema-utils' -> '/home/ntusername/sphinx_rtd_theme/node_modules/schema-utils']
3514 error   cause:
3514 error    { Error: EACCES: permission denied, rename '/home/ntusername/sphinx_rtd_theme/node_modules/terser-webpack-plugin/node_modules/schema-utils' -> '/home/ntusername/sphinx_rtd_theme/node_modules/schema-utils'
3514 error      errno: -13,
3514 error      code: 'EACCES',
3514 error      syscall: 'rename',
3514 error      path:
3514 error       '/home/ntusername/sphinx_rtd_theme/node_modules/terser-webpack-plugin/node_modules/schema-utils',
3514 error      dest: '/home/ntusername/sphinx_rtd_theme/node_modules/schema-utils' },
3514 error   stack:
3514 error    'Error: EACCES: permission denied, rename \'/home/ntusername/sphinx_rtd_theme/node_modules/terser-webpack-plugin/node_modules/schema-utils\' -> \'/home/ntusername/sphinx_rtd_theme/node_modules/schema-utils\'',
3514 error   errno: -13,
3514 error   code: 'EACCES',
3514 error   syscall: 'rename',
3514 error   path:
3514 error    '/home/ntusername/sphinx_rtd_theme/node_modules/terser-webpack-plugin/node_modules/schema-utils',
3514 error   dest: '/home/ntusername/sphinx_rtd_theme/node_modules/schema-utils',
3514 error   parent: 'sphinx_rtd_theme' }
3515 error The operation was rejected by your operating system.
3515 error It is likely you do not have the permissions to access this file as the current user
3515 error
3515 error If you believe this might be a permissions issue, please double-check the
3515 error permissions of the file and its containing directories, or try running
3515 error the command again as root/Administrator.
3516 verbose exit [ -13, true ]

What are the recommended versions of node js, python, wsl to work well on Windows 10 64-bit with VS Code - recommended for working on the theme?

Hi @kapooramit, I'm running WSL2 - not sure what the exact differences are to WSL1 - on Windows 10 and I am using Python v3.8 and Node v12.18.1.
I run into some problems too when I was first setting up my environment and, in my case, I found it was mostly due to Node version incompatibilities, that were solved it by downgrading to v12.x (Erbium).

I can't comment on the specific permission issues you're having, but I think using admin rights and sudo for this is most likely a bad idea. My recommendation would be to start from scratch and avoid it completely.

What are the recommended versions of node js, python, wsl to work well on Windows 10 64-bit with VS Code - recommended for working on the theme?

Hi @kapooramit, I'm running WSL2 - not sure what the exact differences are to WSL1 - on Windows 10 and I am using Python v3.8 and Node v12.18.1.
I run into some problems too when I was first setting up my environment and, in my case, I found it was mostly due to Node version incompatibilities, that were solved it by downgrading to v12.x (Erbium).
I'm also using VS Code with the Remote - WSL extension.

Thank you @nienn. I am upgrading to WSL 2 and degrading to the Erbium. I hope it will fix things for me. :-)

I can't comment on the specific permission issues you're having, but I think using admin rights and sudo for this is most likely a bad idea. My recommendation would be to start from scratch and avoid it completely.

Ok. It is some work but I will try. Thanks.

I can't comment on the specific permission issues you're having, but I think using admin rights and sudo for this is most likely a bad idea. My recommendation would be to start from scratch and avoid it completely.

Ok. It is some work but I will try. Thanks.

I started from scratch and it is working flawlessly now. However, the documentation for setting up the dev environment seems to need updates to handle the issues that I faced. I will update the documentation once I have made some progress on my project.
Thank you so much @astrojuanlu @nienn @astrojuanlu !!

Glad you got it working @kapooramit, thanks for your patience! Those dev docs improvements will be very welcome.


query: add memcached autodiscovery support

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Add a flag to enable auto-discovery for memcached
Add a new provider/resolver for auto-discovery

Verification

Integrated into cortex, and verified that auto-discovery is able to find scaled up nodes without having to restart pods
Tested with AWS ElastiCache Auto Discovery, but should work with Google Cloud too, since the protocol seem the same

I also updated the memcached config documentation so that we can close https://github.com/thanos-io/thanos/issues/3879

@roystchiang could you please fix the linter messages? :hugs:

oops. I've fixed the linter messages now.

@roystchiang please add the DCO and let's merge 🤗

@roystchiang make docs now fails :/

hahahahahaha. yeah I'm on it. sorry about that


🍒 Cherry pick PR #5398 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/5398 to staging 🍒

🚀 Cherry-picked to staging by @OSBotify in version: 1.1.0-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @Jag96 in version: 1.1.0-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


AZURE_CREDENTIALS are wrongly formatted.

Working
our way through the setup instructions found here and here
We set up an Azure Key Vault with a secret called "LicenseFileUrl." The key value is the URL to a license file stored in Sharepoint on Teams. I set up a GitHub Secret called AZURE_CREDENTIALS, with a key value that is the URL link to the license file stored on teams. When the Test Current workflow is run, we get
Error: AZURE_CREDENTIALS are wrongly formatted.
in the Read Secrets block.
Can you tell me a) if using a Teams doc storage URL will even work (if not, where are people typically storing a license file?), and b) what would be the correct format for the key value of AZURE_CREDENTIALS?
Thanks.

It sounds like you are putting the license file url in the AZURE_CREDENTIALS secret?
AZURE_CREDENTIALS should be Azure Credentials for accessing the KeyVault.
Else you can create a GitHub secret called LicenseFileUrl with your license file url - then it will use that.

Working on the AZURE_CREDENTIALS angle; created the LicenseFileUrl secret in GitHub. See next error output below--would this be a permissions/access error in trying to actually fetch the license file? Where do people typically store their license files, such that they will be both secure and available to the GitHub workflow?
Run<EMAIL_ADDRESS>Run try { D:\a_actions\microsoft\AL-Go-Actions\v1.5\RunPipeline/runpipeline.ps1 -actor 'buzzwick' -token '' -parentTelemetryScopeJson '{"Parameters":{},"Emitted":false,"CorrelationId":"ec61b73a-daff-49ae-bb10-14897f787dfd","ParentId":"","AllParameters":{},"TopId":"ec61b73a-daff-49ae-bb10-14897f787dfd","Name":"AL-Go workflow ran: Current","StartTime":"/Date(1660740783361)/","Properties":{"eventId":"DO0101","bcContainerHelperVersion":"3.0.12","isAdministrator":"True","stackTrace":"[\n  InitTelemetryScope at TelemetryHelper.ps1: line 212\n  CreateScope at TelemetryHelper.psm1: line 44\n  WorkflowInitialize.ps1 at WorkflowInitialize.ps1: line 37\n  08322d09-6c85-419d-8cd9-a4324f52618f.ps1 at 08322d09-6c85-419d-8cd9-a4324f52618f.ps1: line 1\n  \u003cScriptBlock\u003e at \u003cNo file\u003e\n]","repository":"8A353581BFCE717601C7228C07087827B13AABA901DE75E731B02CCE1F672722","runAttempt":"1","runNumber":"4","runId":"2875450592"},"EventId":"DO0101"}' -project '.' -settingsJson '{"testDependencies":[],"ghTokenWorkflowSecretName":"GhTokenWorkflow","cacheKeepDays":3,"codeSignCertificateUrlSecretName":"CodeSignCertificateUrl","templateUrl":"https://github.com/microsoft/AL-Go-AppSource@main","SendExtendedTelemetryToMicrosoft":false,"appFolders":[],"installTestApps":[],"failOn":"error","templateBranch":"","keyVaultCertificateUrlSecretName":"","repoVersion":"1.0","githubRunner":"windows-latest","keyVaultClientIdSecretName":"","artifact":"////latest","licenseFileUrlSecretName":"LicenseFileUrl","obsoleteTagMinAllowedMajorMinor":"","customCodeCops":[],"storageContextSecretName":"StorageContext","generateDependencyArtifact":false,"runNumberOffset":0,"country":"us","versioningStrategy":15,"installPerformanceToolkit":false,"appSourceCopMandatoryAffixes":["\u003caffix\u003e"],"keyVaultCertificatePasswordSecretName":"","updateDependencies":false,"doNotSignApps":false,"doNotBuildTests":false,"applicationDependency":"<IP_ADDRESS>","appRevision":0,"alwaysBuildAllProjects":false,"installOnlyReferencedApps":true,"doNotRunBcptTests":false,"Environments":[],"installTestFramework":false,"applicationInsightsConnectionStringSecretName":"ApplicationInsightsConnectionString","enableCodeCop":false,"appDependencies":[],"MicrosoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","installTestLibraries":false,"memoryLimit":"","bcptTestFolders":[],"repoName":"CAI365BC","additionalCountries":[],"installTestRunner":false,"rulesetFile":"","cacheImageName":"","type":"AppSource App","doNotPublishApps":false,"PartnerTelemetryConnectionString":"","codeSignCertificatePasswordSecretName":"CodeSignCertificatePassword","testFolders":[],"companyName":"","adminCenterApiCredentialsSecretName":"AdminCenterApiCredentials","doNotRunTests":false,"enableUICop":false,"appDependencyProbingPaths":[],"installApps":[],"insiderSasTokenSecretName":"InsiderSasToken","keyVaultName":"","skipUpgrade":false,"appBuild":2147483647}' -secretsJson '{"licenseFileUrl":"","insiderSasToken":"","CodeSignCertificateUrl":"","CodeSignCertificatePassword":"","KeyVaultCertificateUrl":"","KeyVaultCertificatePassword":"","KeyVaultClientId":""}' } catch { Write-Host "::Error::Unexpected error when running action ($($.Exception.Message))"; exit 1 }
try { D:\a_actions\microsoft\AL-Go-Actions\v1.5\RunPipeline/runpipeline.ps1 -actor 'buzzwick' -token '' -parentTelemetryScopeJson '{"Parameters":{},"Emitted":false,"CorrelationId":"ec61b73a-daff-49ae-bb10-14897f787dfd","ParentId":"","AllParameters":{},"TopId":"ec61b73a-daff-49ae-bb10-14897f787dfd","Name":"AL-Go workflow ran: Current","StartTime":"/Date(1660740783361)/","Properties":{"eventId":"DO0101","bcContainerHelperVersion":"3.0.12","isAdministrator":"True","stackTrace":"[\n  InitTelemetryScope at TelemetryHelper.ps1: line 212\n  CreateScope at TelemetryHelper.psm1: line 44\n  WorkflowInitialize.ps1 at WorkflowInitialize.ps1: line 37\n  08322d09-6c85-419d-8cd9-a4324f52618f.ps1 at 08322d09-6c85-419d-8cd9-a4324f52618f.ps1: line 1\n  \u003cScriptBlock\u003e at \u003cNo file\u003e\n]","repository":"8A353581BFCE717601C7228C07087827B13AABA901DE75E731B02CCE1F672722","runAttempt":"1","runNumber":"4","runId":"2875450592"},"EventId":"DO0101"}' -project '.' -settingsJson '{"testDependencies":[],"ghTokenWorkflowSecretName":"GhTokenWorkflow","cacheKeepDays":3,"codeSignCertificateUrlSecretName":"CodeSignCertificateUrl","templateUrl":"https://github.com/microsoft/AL-Go-AppSource@main","SendExtendedTelemetryToMicrosoft":false,"appFolders":[],"installTestApps":[],"failOn":"error","templateBranch":"","keyVaultCertificateUrlSecretName":"","repoVersion":"1.0","githubRunner":"windows-latest","keyVaultClientIdSecretName":"","artifact":"////latest","licenseFileUrlSecretName":"LicenseFileUrl","obsoleteTagMinAllowedMajorMinor":"","customCodeCops":[],"storageContextSecretName":"StorageContext","generateDependencyArtifact":false,"runNumberOffset":0,"country":"us","versioningStrategy":15,"installPerformanceToolkit":false,"appSourceCopMandatoryAffixes":["\u003caffix\u003e"],"keyVaultCertificatePasswordSecretName":"","updateDependencies":false,"doNotSignApps":false,"doNotBuildTests":false,"applicationDependency":"<IP_ADDRESS>","appRevision":0,"alwaysBuildAllProjects":false,"installOnlyReferencedApps":true,"doNotRunBcptTests":false,"Environments":[],"installTestFramework":false,"applicationInsightsConnectionStringSecretName":"ApplicationInsightsConnectionString","enableCodeCop":false,"appDependencies":[],"MicrosoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","installTestLibraries":false,"memoryLimit":"","bcptTestFolders":[],"repoName":"CAI365BC","additionalCountries":[],"installTestRunner":false,"rulesetFile":"","cacheImageName":"","type":"AppSource App","doNotPublishApps":false,"PartnerTelemetryConnectionString":"","codeSignCertificatePasswordSecretName":"CodeSignCertificatePassword","testFolders":[],"companyName":"","adminCenterApiCredentialsSecretName":"AdminCenterApiCredentials","doNotRunTests":false,"enableUICop":false,"appDependencyProbingPaths":[],"installApps":[],"insiderSasTokenSecretName":"InsiderSasToken","keyVaultName":"","skipUpgrade":false,"appBuild":2147483647}' -secretsJson '{"licenseFileUrl":"","insiderSasToken":"","CodeSignCertificateUrl":"","CodeSignCertificatePassword":"","KeyVaultCertificateUrl":"","KeyVaultCertificatePassword":"","KeyVaultClientId":""}' } catch { Write-Host "::Error::Unexpected error when running action ($($.Exception.Message))"; exit 1 }
shell: C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.EXE -command ". '{0}'"
env:
type: AppSource App
country: us
artifact: ////latest
companyName:
repoVersion: 1.0
repoName: CAI365BC
versioningStrategy: 15
runNumberOffset: 0
appBuild:<PHONE_NUMBER>
appRevision: 0
keyVaultName:
licenseFileUrlSecretName: LicenseFileUrl
insiderSasTokenSecretName: InsiderSasToken
ghTokenWorkflowSecretName: GhTokenWorkflow
adminCenterApiCredentialsSecretName: AdminCenterApiCredentials
applicationInsightsConnectionStringSecretName: ApplicationInsightsConnectionString
keyVaultCertificateUrlSecretName:
keyVaultCertificatePasswordSecretName:
keyVaultClientIdSecretName:
codeSignCertificateUrlSecretName: CodeSignCertificateUrl
codeSignCertificatePasswordSecretName: CodeSignCertificatePassword
storageContextSecretName: StorageContext
additionalCountries:
appDependencies:
appFolders:
testDependencies:
testFolders:
bcptTestFolders:
installApps:
installTestApps:
installOnlyReferencedApps: True
generateDependencyArtifact: False
skipUpgrade: False
applicationDependency: <IP_ADDRESS>
updateDependencies: False
installTestRunner: False
installTestFramework: False
installTestLibraries: False
installPerformanceToolkit: False
enableCodeCop: False
enableUICop: False
customCodeCops:
failOn: error
rulesetFile:
doNotBuildTests: False
doNotRunTests: False
doNotRunBcptTests: False
doNotPublishApps: False
doNotSignApps: False
appSourceCopMandatoryAffixes:
obsoleteTagMinAllowedMajorMinor:
memoryLimit:
templateUrl: https://github.com/microsoft/AL-Go-AppSource@main
templateBranch:
appDependencyProbingPaths:
githubRunner: windows-latest
cacheImageName:
cacheKeepDays: 3
alwaysBuildAllProjects: False
MicrosoftTelemetryConnectionString: InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/
PartnerTelemetryConnectionString:
SendExtendedTelemetryToMicrosoft: False
Environments:
Settings: {"testDependencies":[],"ghTokenWorkflowSecretName":"GhTokenWorkflow","cacheKeepDays":3,"codeSignCertificateUrlSecretName":"CodeSignCertificateUrl","templateUrl":"https://github.com/microsoft/AL-Go-AppSource@main","SendExtendedTelemetryToMicrosoft":false,"appFolders":[],"installTestApps":[],"failOn":"error","templateBranch":"","keyVaultCertificateUrlSecretName":"","repoVersion":"1.0","githubRunner":"windows-latest","keyVaultClientIdSecretName":"","artifact":"////latest","licenseFileUrlSecretName":"LicenseFileUrl","obsoleteTagMinAllowedMajorMinor":"","customCodeCops":[],"storageContextSecretName":"StorageContext","generateDependencyArtifact":false,"runNumberOffset":0,"country":"us","versioningStrategy":15,"installPerformanceToolkit":false,"appSourceCopMandatoryAffixes":["\u003caffix\u003e"],"keyVaultCertificatePasswordSecretName":"","updateDependencies":false,"doNotSignApps":false,"doNotBuildTests":false,"applicationDependency":"<IP_ADDRESS>","appRevision":0,"alwaysBuildAllProjects":false,"installOnlyReferencedApps":true,"doNotRunBcptTests":false,"Environments":[],"installTestFramework":false,"applicationInsightsConnectionStringSecretName":"ApplicationInsightsConnectionString","enableCodeCop":false,"appDependencies":[],"MicrosoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","installTestLibraries":false,"memoryLimit":"","bcptTestFolders":[],"repoName":"CAI365BC","additionalCountries":[],"installTestRunner":false,"rulesetFile":"","cacheImageName":"","type":"AppSource App","doNotPublishApps":false,"PartnerTelemetryConnectionString":"","codeSignCertificatePasswordSecretName":"CodeSignCertificatePassword","testFolders":[],"companyName":"","adminCenterApiCredentialsSecretName":"AdminCenterApiCredentials","doNotRunTests":false,"enableUICop":false,"appDependencyProbingPaths":[],"installApps":[],"insiderSasTokenSecretName":"InsiderSasToken","keyVaultName":"","skipUpgrade":false,"appBuild":2147483647}
LicenseFileUrl: ***
RepoSecrets: {"licenseFileUrl":"***","insiderSasToken":"","CodeSignCertificateUrl":"","CodeSignCertificatePassword":"","KeyVaultCertificateUrl":"","KeyVaultCertificatePassword":"","KeyVaultClientId":""}
Downloading BcContainerHelper latest version
BcContainerHelper version 3.0.12
BcContainerHelper emits usage statistics telemetry to Microsoft
use settings and secrets
Analyzing repository
Analyzing releases https://api.github.com/repos/CAI-Software-Inc/CAI365BC/releases
Warning: No previous release found
Invoke Run-AlPipeline
Parameters
Pulling Generic Image
Creating Container
Removing Container
Run-AlPipeline Telemetry Correlation Id: f8b13e1d-838b-49c5-b213-81301b4a15c8
Error: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (403) Forbidden." 403 FORBIDDEN
AL-Go action ran: RunPipeline Telemetry Correlation Id: 7cb86327-4300-4af4-947a-d5ba80d5398c
Removing BcContainerHelper
Error: Process completed with exit code 1.

Returning to the AZURE_CREDENTIALS secret setup:, it seems we need answers to these questions:

How does GitHub know where to look for our Azure Vault? We have defined three environment variables:

Are these sufficient for GitHub to know where to look?
What is the correct format of Azure credentials to be stored in the AZURE_CREDENTIALS GitHub secret? And whose credentials must they be?
Thanks.

AZURE_CREDENTIALS needs to contain and be formatted as specified here: https://docs.microsoft.com/en-us/azure/developer/github/github-key-vault (which is a pre-requisite for https://github.com/microsoft/AL-Go/blob/main/Scenarios/UseAzureKeyVault.md)
It needs to be compressed JSON - it should not contain spaces and line feeds.
Beside that, you can add keyVaultName to the AZURE_CREDENTIALS or to the AL-Go settings file.

The link https://docs.microsoft.com/en-us/azure/developer/github/github-key-vault is redirected to https://learn.microsoft.com/en-us/azure/developer/github, but I can not find the page where it describe how to setup the key vault for access from GitHub.
Can you update this to  the correct link?

I think this is the link: https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Cwindows#use-the-azure-login-action-with-a-service-principal-secret
Remember that the AZURE_CREDENTIALS needs to be compressed JSON (no spaces nor newlines)

Will update the docs once I have tested this
Also want to try with the OpenID approach to see if that works


Refactor fetch with retry and rate limiting handler, remove FAST_MODE

Fetch with retry is now used across the API calls
Handle rate limiting case properly
Remove FAST_MODE as it's unusable now

Please sync the v1 branch with the main branch after this merge.

LGTM, thank you. I'll test this over the weekend and then merge.


New contributing guide

Do you need to explain the architecture of this repo? That might be helfpul.
Can you add an issue template to this repo along with this work?  Then, maybe just screen snap the issue template and add an Issues section before the PR section?
https://help.github.com/articles/manually-creating-a-single-issue-template-for-your-repository/
Also, you can create the pull request template and screen cap that too;
https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/

Thanks for the review, I've made edits to address the feedback. I think architecture of the repo is out of scope for the contributing guide at least for now.


[Toolkit bug]: Kit crashes when attempting to deleting light

Contact Details (Optional)
No response
Describe the bug
I'm crashing when I attempt deleting a sphere light that I placed while another sublayer was activated (NoFog5)
It's reproduceable
This is how the Selection menu looks like once I've marked the light I intend to delete, it has no prim?

UPDATE: Pressing the "Restore original asset" button deletes the light and all seem fine.
If needed, I'll send my level files to you via DM nvdamien
How do you reproduce the bug?

Use my files, load Intro project
Apply any layer
Move camera far back until you see the sphere light above the level
Mark it and attempt deleting it via the rubbish-bin button
Crash

What is the expected behavior?
The toolkit should...
Version
2024.3.0

UPDATE: The light attempted for deletion was placed using Composer, from a project migrated to Toolkit.

Hi @PappaSlask  ,
Does that mean we can close the ticket please?
We don't do support for anything created outside of the RXT Remix app.

@PappaSlask , is this happening for lights created within the toolkit, or only with lights created in another program?

@PappaSlask , is this happening for lights created within the toolkit, or only with lights created in another program?

Sorry for late reply. I'm not sure, I stopped using Remix/Kit some time ago, it's just too limited for now.
Furthermore, I understand the issue. Stuff made in Composer isn't compatible with Remix app, or it is to some extent but it's not supported and falls under a "do it at your own risk" category. For a software such as Remix, to have been built on the foundation of USD Composer for such a long time, to not be compatible with the new Remix app, is unfortunate.


Expected memory usage

What's the expected memory usage per genome for Dashing2? I'm trying to run it on 500,000 viral isolates, and am running out of memory even with 500GB

May I have the full command you're using? Any additional information you
could provide would be helpful as well.
In the default all-pairs mode, memory is allocated in a few key areas:

Sketches.
This will be around (num_entities * sketch_size * 8) bytes for the default
modes.
For 500,000 entities + default sketch size, I would expect ~4GB.

Kmers,
If you're saving them as well. This is again (num_entities * sketch_size *
8), but 0 otherwise.

Parsing buffers.
Each thread reuses a buffer when parsing files. Its size is the length of
the longest sequence it has encountered yet, rounded up to the nearest
power of 2.
For assembled eukaryotic genomes, (3) can big especially if
highly-multithreaded, but I doubt it's the problem for viral assemblies.

Temporary data prepared for I/O.

When writing out the distances, chunks of data are computed in parallel,
and they are each added to a queue of results to be written to disk.
It's possible that the I/O was slow enough that the program stored an
excessive amount of distance data.
(1) and (2) can be reduced by using -o to specify an output location for
a sketch database. Then the data is mmap'd instead of stored in RAM, which
can reduce your memory usage.
And if you're doing top-k, threshold-filtered, or the greedy clustering
modes, there is additional memory allocated to build LSH tables over the
data to pull up near neighbors, which can be rather significant.
Best,
Daniel
On Wed, Jul 19, 2023 at 3:49 PM Matthew Nguyen @.***>
wrote:

What's the expected memory usage per genome for Dashing2? I'm trying to
run it on 500,000 viral isolates, and am running out of memory even with
500GB
—
Reply to this email directly, view it on GitHub
https://github.com/dnbaker/dashing2/issues/80, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQ5UVMHNOOLZHDI4GCKGVLXRBQBBANCNFSM6AAAAAA2QSLQFY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This is the command I'm running:
dashing2_savx2 sketch --cmpout dist_mat.txt -k 7 --parse-by-seq -p 32 sequences.multi.fa

Thank you! This is a big help.
There's one other place memory is used in --parse-by-seq mode: storing the sequences of each read. What's happening here is that the whole fasta ends up being stored in memory.
I have to say this isn't desirable behavior for most cases. If edit distance is chosen for an output distance or the program is running in greedy clustering mode, then the program needs to hold on to the sequences for later use, but otherwise it doesn't need to hold on to them.
I need to do a bit of work to reorder this to avoid this problem; I think I have a path to do it, but it will take a bit of reorganization.
I'll update you when there's a fix for this.
Thanks again,
Daniel

Checking back in - this is improved with https://github.com/dnbaker/dashing2/pull/81. I'm rebuilding v2.1.18 binaries currently and will update you when they're ready.
Memory usage should be a ower for --parse-by-seq mode. It won't hold onto sequences it doesn't need.
Would you give it another try?
Thanks!
Daniel


Fix parsing CSS selectors which contain commas

I found an issue where a CSS selectors would fail to parse correctly when they contain commas. For example:
.widget:not(.widget_text, .jetpack_widget_social_icons) ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

There should only be one selector here: .widget:not(.widget_text, .jetpack_widget_social_icons) ul. Instead, the parser incorrectly extracts two:

.widget:not(.widget_text
.jetpack_widget_social_icons) ul

The fix is to add placeholders for expressions contained in parentheses or brackets prior to splitting, and then replace the placeholders with their original values on the split selectors.

@sabberworm Anything else you'd like to see with this PR?

Thanks for the input @westonruter. Sorry for the long response time, I had been away on holiday.
While this does solve one of the long-standing gripes I’ve had with selector parsing, it does not solve all of them and I don’t think it’s a particularly elegant solution and it’s not the direction I want to pursue.
What I would like to see is to see the Selector class expanded so becomes an interface with a subclass for every type of (combining) selector there is, so that every selector is stored as an instance instead of a string.
So the selector .a + :not(#b) + [c] ~ foo|.d span > *:root, would decompose into:
new AdjacentSiblingCombinator(
	new ClassSelector('a'),
	new Negation(
		new IDSelector('b')
	),
	new GeneralSiblingCombinator(
		new AttributeSelector('c'),
		new DescendantCombinator(
			new NamespaceSelector(
				'foo',
				new ClassSelector('d')
			),
			new ChildCombinator(
				new TypeSelector('span'),
				new Combinator(
					new UniversalSelector(),
					new RootSelector()
				)
			)
		)
	)
);

Note: this is just a suggestion. Maybe the Combinator could be replaced with a simple array and maybe it’s not a good idea to let the same combinator have more than two elements (like the AdjacentSiblingCombinator). And maybe we don’t need to nest them, just store combinator and simple selector in an array side-by-side.
However what this requires is actually parsing and understanding the selector. And I think string substitution, even when done right, is a poor substitute (pun intended) for that.
Actually parsing selectors would finally also fix the following:
.some[selectors-may='contain-a-{'] {}

which parses neither with nor without your fix.

Thanks. You're right. My fix is more of a bandaid than a permanent solution. I wasn't sure that you intended to actually have the selector themselves parsed as well. That being the case, then indeed my fix isn't ideal.


Paging broken and some page no rendered with drawer navigation

If go forward and back by drawer navigation, viewpager's paging is broken and some pages are not rendered.
react-native-viewpager: 3.3.1, 4.1.16
System:
OS: Windows 10 10.0.18363
Binaries:
Node: 12.16.3
Yarn: 1.22.4
npm: 6.14.4
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 25, 26, 27, 28, 29
Build Tools: 25.0.3, 26.0.3, 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.2
System Images: android-25 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
Android NDK: Not Found
Windows SDK: Not Found
Languages:
Java: 1.8.0_231
Python: 3.7.4
npmPackages:
@react-native-community/cli: Not Found
react: ~16.11.0 => 16.11.0
react-native: https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz => 0.62.2
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

I got the same issue on with android, IOS is working fine. Is there any solution for it :(

@tree1891 sorry, did you figure out how to deal with it

Hello,
Same problem, downgrading to 3.3.1 "fixed" this.


Updated the backup restore library to incorporate resource tagging 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.


Game structure

The game is modelled via data structures.

Done for quite a while (forgot to close).


CAV computation in context of ACE

Hi,
I had a question about the CAV computation. I read the original paper and it looks like a CAV is computed by calculating the linear decision boundary between the concept and completely random images. For this implementation of ACE, won't using randomly chosen images from the dataset, as written in the README, make it difficult to find a linear boundary separating the concepts from the random dataset images since the concepts are derived from the dataset and will thus be represented in the random dataset images?
In the end, I'm unsure if I should collect random images (from google or imagenet) for the CAV computation or the random images from the dataset. Do you know whether the random dataset images do get separated well from concept images?
Thanks

Hi,
as the concepts are extracted as patches inside the original images (and not the images themselves), this should not cause a problem. For the case of famous data sets like Imagenet, using random dataset images works fine. For a different dataset, if the images are such that the extracted patches are diverse enough, it should also be fine.


Fix handling of a final grease frame

This fixes https://github.com/cloudflare/quiche/issues/1394.  It adds an event type to fix the interplay between process_readable_stream and handle_responses, so that unknown frames can bubble up outside of process_readable_stream.

Thanks for the PR (and the issue)! Looks like this has been superseded by #1396, so closing.


[Partially fixed 1.307] Performance issues (Ctrl-Z)

On an empty scene, Ctrl-Z is pretty fast:

But on a scene with ~500 brushes, it goes terribly slow (almost 2 sec for undo):

Some stats:

Full hierarchy rebuild in 48.72 ms. Full CSG rebuild done in 74.85 ms. Mesh update done in 12.99 ms.
Unity version: 5.4.1f1 Personal, installed on HDD
Windows 10, display 2560x1440 with 100% scaling, 16 Gb RAM, CPU: Intel i7 4770k, GPU: Intel 4600 HD.
What can I do to improve performance?

Hmm .. the only thing I can think of that might be causing this is if it's performing a full rebuild several times per Undo. I'll look into it, thanks for reporting it

Just tried 1.307.
Better, but still a bit slow:

I'll see if I can improve things, but it'll be a lot of work, so it'll take some time

This should be fixed now, let me know if you run into any other issues


Better CORS methods and headers description

The built-in App Service CORS feature has fewer options compared to other services. For example, it doesn't have any setting to allow only specific HTTP headers or methods for each origin the user defines. There is an implicit behavior that will automatically allow all headers and methods for each origin. This PR aims to clarify that behavior because I've seen some customers blaming App Service CORS for some errors and they think that's because those options are missing.

Learn Build status updates of commit ba0c285:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/app-service/app-service-web-tutorial-rest-api.md
:warning:Warning

Details

articles/app-service/app-service-web-tutorial-rest-api.md

Line 199, Column 245: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-6.0#enable-cors-with-attributes' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 199, Column 245: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-6.0#enable-cors-with-attributes' will be broken in isolated environments. Replace with a relative link.
Line 199, Column 245: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: https://learn.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-6.0#enable-cors-with-attributes

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 25263e8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/app-service/app-service-web-tutorial-rest-api.md
:white_check_mark:Succeeded

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

@cephalin

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Learn Build status updates of commit 9eb2ac6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/app-service/app-service-web-tutorial-rest-api.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit 75eb2eb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/app-service/app-service-web-tutorial-rest-api.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit ee8166e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/app-service/app-service-web-tutorial-rest-api.md
:white_check_mark:Succeeded

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

#sign-off


Switching modes breaks mouse

Switching modes causes the mouse pointer to disappear/stop working.
Steps to reproduce:

Start client full screen
Enter TM6 (training mission 6)
Press Alt+Enter twice (switch modes)
Back in full screen, press alt+tab

Your mouse pointer '''may''' be gone until you alt+tab back and switch to windowed.
Imported from trac ticket #37,  created by Imago on 01-06-2010 at 08:24, last modified: 01-09-2011 at 19:57

i've found when the mouse gets stuck inside the game window you can "work it out" by moving it up over the game's titlebar! (top edge)
Trac comment by Imago on 01-11-2010 at 04:10

if anyone else can determine if this is multimon specific reopen this puppy
Trac comment by Imago on 07-19-2010 at 07:18

<+Imago> start in windowed mode
<+Imago> then double click the title bar
<+Imago> then alt+tab
<+Imago> and you will be stuck
Trac comment by Imago on 07-19-2010 at 07:27

r800, tests ok, needs more multimon testing /w non-standard config.
Trac comment by Imago on 07-24-2010 at 21:24

Milestone R5.1 deleted
Trac comment by pkk on 01-09-2011 at 19:57