Fix "Channel HashMap is null" on wake up

If you turn "off" a Sony Bravia TV while watching a Live Channel
provided by Cumulus TV, wait a while and turn it back on, an error
prompt about "Channel HashMap is null" will appear and the channel will
fail to display.
That is caused by a race condition in the channel database where an
external caller will initialize a hashmap asynchronously via
getInstance() and then immediately use it, typically before the hashmap
has initialized. This race might not cause a problem with only one or
two channels, but if you have a dozen, then it becomes a problem.
This had been driving my mother crazy, so I took a few minutes to track
down the bug, fix it, recompile and install the recompiled version. THe
recompiled version has run without a single "Channel HashMap is null"
error for a week, so I believe that it is okay.
Sadly, the recompiled version breaks Google Drive integration, but I
imagine that is because I do not know how to build it properly such that
it will accept a app/google-services.json rather than any real
regression.
Lastly, the project's license is unclear. I had been very hesitant to
upstream a fix to a project without clarification on the license used by
the project. After some soul searching, I have decided to publish this
patch under the terms of either the Apache 2.0 or MIT licenses. If the
project lead wishes to fix the unclear licensing with a different OSS
license, I would likely be happy to follow suit. However, this fix
itself is so small that I doubt it qualifies for copyright protection,
so the license under which I choose to release it is likely a moot point
unless I start sending more patches.
Signed-off-by: Richard Yao<EMAIL_ADDRESS>

@Fleker Just a FYI, it might interest you to know that your project attracted contributions from a non-Android developer. This is my first patch to any Android project. It is also my first patch to any Java project.
People who know me generally do not know that I know Java. It is something that I had intentionally omitted from my resume. Had my mother not motivated me to write this patch, I would have taken that fact to the grave, but the secret is out now, so c'est la vie. :)

@Fleker This would be great to implement.  CumulusTV is unusable without it on a Sony TV at the moment.

Where can I get an apk with this fix? Thanks.


Add TinyCBOR library and test example

Summary
Add TinyCBOR library (initially integrated by Lup Yuen: https://lupyuen.github.io/articles/cbor2 )
Impact
Users will be able to use CBOR library on NuttX
Testing
ESP32-DevkitC.
Please ignore code style issue caused by TinyCBOR CamelCase

@xiaoxiang781216 any idea about this error:
Error: Unable to resolve action `github/super-linter`, repository not found

@xiaoxiang781216 any idea about this error:
Error: Unable to resolve action `github/super-linter`, repository not found

This is an unfortunate breakage here that is being resolved. For now ignore this failure.
https://github.com/super-linter/super-linter/issues/4150

@xiaoxiang781216 any idea about this error:
Error: Unable to resolve action `github/super-linter`, repository not found

This is an unfortunate breakage here that is being resolved. For now ignore this failure. super-linter/super-linter#4150

Thank you Brennan!

depends on ALLOW_MIT_COMPONENTS

Good point, in fact it needs it to avoid creating a firmware with a different license.


Add plant output variable

Add a variable (or group of variables) that gives information on the output of the plant in electricity, hydrogen, or both.

Put this in the electrical balance class

Partially addressed in PR #118 for including whole plant in available_power variable


[webview_flutter] Need to monitor the scroll offset of scroll

Sometimes we need to monitor the offset of the webview to do some animation. Now flutter can get offsetY and offsetX. If you need to get these values in real time, you need to start a timer. This is bad, it should be native WebView tells flutter that I have scrolled when scrolling, instead of flutter starting the timer.

@OHeroJ
Please provide flutter doctor -v and a complete minimal reproducible code sample that shows the issue.
thanks.

[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-CN)
    • Flutter version 1.22.5 at /Users/imac/fvm/versions/stable
    • Framework revision<PHONE_NUMBER> (11 days ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/imac/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9245
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (2 available)
    • I-X (mobile)         • f63ff6875a528942c5afb742e8be9b531fd04f1a • ios • iOS 14.0.1
    • Stan的iPhone (mobile) • 32a5e2f23ff9026fb4ab85a6d5c7a47d2f077fdb • ios • iOS 14.3

• No issues found!

@OHeroJ
Can you elaborate on Now flutter can get offsetY and offsetX. If you need to get these values in real time, you need to start a timer. along with your use-case and code sample which shows this issue ? What does start a timer mean ?

window.addEventListener("scroll", function () {
        let scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
        Flutter.postMessage(JSON.stringify({
          "method": "scrollOffsetYChanged",
          "params": { "y": scrollTop }
        }));
      }, { passive: false });

just want listen webview scroll offsetY.

i have the same issues, and i found that android's webview return the real pixel size but iOS's webview return logical pixel size, so you can division the pixelReatio to get the value you want

Duplicate of https://github.com/flutter/flutter/issues/31027


Is there a way to run SFP under linux?

There doesn't seem to be any alternatives to SFP for linux, so i'm wondering if there is a way to actually make SFP work under linux?

Yeah, simply download the Linux version of SFP. There are binaries provided for Windows, Linux, and Mac OSX. Note that as the README states, friends patching is currently unsupported on Linux and OSX as they use a different file format from Windows.
SFP is open source and the initial implementation of friends patching is available here https://github.com/PhantomGamers/SFP/tree/main/SFP/Models/ChromeCache/Simple However, as I don't run Linux myself and I work on this free of charge it is unlikely that I will get that part working myself. PRs are welcome :)


Add instructions to generate proto files

tfclient is the great project to learn how to request TensorFlow serving in golang.
Can you provide the instructions to compile and generate the proto files? Now we can only use the generated go files and we want to compile by ourselves when the protobuf changes.

The recently contributed build-protoc-sh satisfies this by automating it.


MWPW-128737 | Full Screen Marquee Desktop Changes

Fix MWPW-128737
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/create/flyer
After: https://mwpw-128737--express--adobecom.hlx.page/drafts/apganapa/fullscreen-marquee-v2

Moved the PR to new repo.


The population of people, people living in cities, and people not living in cities in each country.

Unable to complete due to project time constraints


spring.cloud.zookeeper.enabled=false is not enough to disable Zookeeper

You have to also pass spring.cloud.zookeeper.discovery.enabled=false which makes no sense. Also RibbonZookeeperAutoConfiguration is used then.

The problem is in the ZookeeperConfigAutoConfiguration class here:
https://github.com/spring-cloud/spring-cloud-zookeeper/blob/master/spring-cloud-zookeeper-config/src/main/java/org/springframework/cloud/zookeeper/config/ZookeeperConfigAutoConfiguration.java#L40
It's using matchIfMissing = true which will always result in the condition evaluating to true no matter what the value is. I ran into the same issue the other and saw this. I'd have to wonder if that's there for a specific reason, or if it was just a typo?

@damnhandy no, spring.cloud.zookeeper.config.watcher.enabled=false works. The matchIfMissing=true attribute means, if the attributed isn't defined, assume true. In other words, on by default. There's no conditional on spring.cloud.zookeeper.enabled in ZookeeperConfigAutoConfiguration.java and discovery.

ping @marcingrzejszczak

Thanks :)


Image Editor Icon emojis

The technical jargon used by graphic artists and designers involves several metaphors that have manifested in GUI icons of bitmap image editors or vector drawing applications. e.g. Adobe Photoshop. Some of them are already featured in emojis for one reason or another.
Related: Anchor :anchor: and Magnet #384.
GIMP

Rectangle 🔳 🔲 ◼ ◻
Ellipse/Circle ⚪ ⚫ 🔴 🔵
Lasso #273
Magic Wand #160
??? (color channel) 🚦 🚥 🌈
Scissors ✂
??? (floating selection/layer)
Nib 🖋 ✒ (with Nodes on Spline)
Eyedropper/Pipette
Loupe/Magnifying Glass 🔍 🔎
Compasses #241
Arrow Cross
Rectangle with Arrows
Cutter/Scalpel #219
A (letter, text) 🅰 🔤 🔡 🔠 🔣 🔢
Bucket (🌊)
Gradient/Transition 🌈
Pencil ✏
Paintbrush  🖌 🖍
Rubber/Eraser
Airbrush/Spraypaint (#168)
Ink (Stain) (🖋 ✒)
Stamp
Bandaid #264
Stamp+???
Droplet/Drip 💧 💦
Index Finger Smearing 👇 👆 👉 👈
???

Inkscape

Arrow Pointer
Node on Graph Pointer
Wave
Magnifying Glass
Rectangle
Cube
Ellipse
Star
Spiral
Pencil
Nib
Bucket #78
A
Diagram
Gradient
Eyedropper

XPaint

Conclusion

[ ] Lasso #273

[ ] Magic Wand #160

[ ] Eyedropper/Pipette

[ ] Compasses #241

[ ] Arrow Cross
/ Crosshair

[ ] Cutter/Scalpel #219

[ ] Bucket

[ ] Paintbrush  (for walls, not canvases 🖌 )

[ ] Rubber/Eraser

[ ] Airbrush/Spraypaint (#168)

[ ] Stain

[ ] Bandaid #264

[ ] Stamp

[ ] Postage stamp

I am just working on an eraser emoji, but my time is very limited. I also want to do a proposal for a magic wand and a steering wheel, but the eraser has the highest priority on my list.

Proposal for the eraser


Fix docs build

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.875%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
14328

Relevant Lines:
14346

💛  - Coveralls


Make the loading screen pre-cache everything.

What is your suggestion, and why should it be implemented? I think making the loading screen pre-cache stuff could improve the performance and since I got a good computer, this game still struggles to run on my PC.

we already cache garbage so i have no idea what you mean

Huh? So I might have messed up something in my settings of my graphic card. Thanks for answering.


Update open_rasterio deprecation version number

there's also one in doc/user-guide/io.rst, and you should remove the note in whats-new.rst here, too


checkscoped is broken

checkscoped is not working since c0722008cbbfd732cd86c0c5afa3fe47c8e929d5.
This should be a one-line fix. See 066f6db50a31d42109b4b5f56515f355a29c0728.

Thanks, fixed and updated in v50dev branch.


Add stub for pecl/pq

This is the generated stub from the official documentation at
https://mdref.m6w6.name/pq for pecl/pq.

Done. Sorry for the delay.


[BUG] String vs. Variable Name

Describe the bug
Some parts just don't accept variable names and consider it as a string
e.g:
• I generate a random user agent via a function with the name <RUA> then when I type <RUA> in a "BYPASS CF" block's input string, it give the error "The format of value '<RUA>' is invalid."
• Also setting <USER> or <PASS> as input string of Sendkey in selenium just sends the actual string instead of current username or password

Thanks
Version

v1.2.0

Both work for me


cannot insert data after PROTOCOL_CONNECTION_LOST

var mysql = require('mysql');
var connDB = mysql.createConnection({
    host:config.database.host,
    user:config.database.user,
    password:config.database.password,
    database:config.database.database,
    port:config.database.port
});

function handle_mysql_disconnect(connDB){
    connDB.on('error', function(error){
        if(!error.fatal)  return;
        if(error.code !== 'PROTOCOL_CONNECTION_LOST')  throw error;

        process_log.warn("re-connecting with mysql server!");

        connDB = mysql.createConnection({
            host:config.database.host,
            user:config.database.user,
            password:config.database.password,
            database:config.database.database,
            port:config.database.port
        });

        handle_mysql_disconnect(connDB);
        connDB.connect();
    });
}

handle_mysql_disconnect(connDB);

I am using connDB.query() to insert data into mysql, and at first it works.
But after PROTOCOL_CONNECTION_LOST error emits, and reconnects to mysql server, connDB.query() does not work at all.
What is wrong with my code? Many thanks.

Hi! Ideally, you should not be trying to hold onto a single long-lived connection and trying to re-created it on error; you should look into using connection pooling (https://github.com/felixge/node-mysql#pooling-connections).


Added iteration over devices example

Ready for Review

@mentos can you please review when you have a moment?


Some issues with reproducing the paper

Your work has been incredibly impressive and truly served as a great inspiration for me! Nevertheless, I've encountered a few stumbling blocks while attempting to reproduce it in line with the official guidelines. It would be greatly appreciated if you could offer me some guidance.
I diligently followed the guidelines outlined in the 'Installation' section, specifically '1. Prepare the code.' I downloaded the dataset for Training and meticulously adhered to the steps denoted in 'VL-LLaMA Training' ('1. Stage-1 Projector Warm-up' and '2. Stage-2 Direct Fine-tuning' codes—from TaT work, transitioning from opt6.7b to llama7b.) The codes and datasets were either recommended or available.
Nonetheless, upon reviewing the results from stage 2, it's evident that there's no discernible improvement, failing to surpass the outcomes achieved in stage 1. Is this considered normal? Alternatively, could you pinpoint any potential errors I might have made in this process? Your insights would be immensely appreciated. Thanks a lot.

I got the same promble. The metric in the stage2 does not get better during 10 epoch.

Thanks for the question! The stage 1 takes more data in COCO, while the ratio of COCO caption becomes much smaller. Therefore, if you test on COCO caption, the 1st stage may achieve better performance (due to more in-domain data). Maybe you can try with VQA or other datasets to see the performance change.

I truly appreciate your invaluable assistance and thank you for your support.


A Reborted bug & 2 features Request

The Bug:
My v2.2.1 of the app I'm using takes forever to process (even for more than 10 mins) when I use the reduce ''weight reduce'' feature/tool.
And it's irreespective of the output or input picture format/extention.
The issue has started since I updated to 2.2.1 and even after I updated to v2.2.2 it's still there.
I downgraded by installing the final release of  v2.2.0 but the problem still persisted
But when I installed the v2.2.0-beta3(69) that I was initially using before updating to v2.2.1 in the first place, the weight resize option starts working back.
*Please correct the bug in the next release. And try to shorten the time the picture use to process if possible (even the app version that works for me takes at least between 9-15 seconds to process).
Requested Features:

Option to 'backup' and restore the app user-settings.
Under the crop tool, make it possible to crop the Image in a freestyle manner (being able to drag the four edges of cropping not just in X and Y direction but also diagonally to any angle like in CamScanner app) and the image will auto-adjusts afterwards to maintain a standard aspect ratio. (I really anticipate this feature)

Please can you split this into separate issues? I use that as todos and close them on completion 👀

Please can you split this into separate issues? I use that as todos and close them on completion 👀

Done boss.


enhancement enable strong consistency by syncing max journal id from master

Proposed changes
Add a session var & config enable_strong_consistency_read to solve the problem that loading result may be shortly invisible to follwers, to meet users requirements in strong consistency read scenario.
Will sync max journal id from master and wait for replaying.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buidlall

run buildall

run clickbench

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 44.92 seconds
stream load tsv:          461 seconds loaded<PHONE_NUMBER>9 Bytes, about 154 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          58 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          29 seconds loaded 861443392 Bytes, about 28 MB/s
insert into select:          69.3 seconds inserted 10000000 Rows, about 144K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230626162701_clickbench_pr_168182.html

run buildall

run buildall

run buildall

run buildall

run buildall

run p0

run clickbench

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 41.13 seconds
stream load tsv:          457 seconds loaded<PHONE_NUMBER>9 Bytes, about 156 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          57 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          29 seconds loaded 861443392 Bytes, about 28 MB/s
insert into select:          68.6 seconds inserted 10000000 Rows, about 145K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230627121449_clickbench_pr_168829.html

run buildall

run buildall

run buildall

run buildall

run buildall

run clickbench

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 39.49 seconds
stream load tsv:          463 seconds loaded<PHONE_NUMBER>9 Bytes, about 154 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          57 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
insert into select:          71.3 seconds inserted 10000000 Rows, about 140K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230701014859_clickbench_pr_170776.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 38.35 seconds
stream load tsv:          455 seconds loaded<PHONE_NUMBER>9 Bytes, about 156 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          57 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
insert into select:          69.8 seconds inserted 10000000 Rows, about 143K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230702103954_clickbench_pr_170986.html

run buildall

run build all

run build all

run buildall

run feet

run clickbench

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.59 seconds
stream load tsv:          445 seconds loaded<PHONE_NUMBER>9 Bytes, about 160 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          57 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
insert into select:          70.9 seconds inserted 10000000 Rows, about 141K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230705035614_clickbench_pr_172417.html

run feut


oaiharvester: module separation

INCOMPATIBLE Separates oaiharvester module to independent
Invenio-OAIharvester package.

Signed-off-by: Jan Aage Lavik<EMAIL_ADDRESS>

@jalavik s/Invenio-OAIharvester/Invenio-OAIHarvester/?

@jirikuncar Updated. I left the upgrade scripts for now - tests were failing otherwise. The upgrade scripts will be part of the external module and can be removed when we release the Invenio-OAIHarvester and include it upon Invenio installation.
PS: At some point we need to do something with upgrade dependencies across modules. E.g. invenio_2015_07_14_innodb depends on oaiharvester_2015_07_14_innodb, but this won't work if we start to package Invenio with a selective approach.

:shipit:


Error while running "npm run serve"

TypeError: slugs.catch(...).then(...).finally is not a function at recursive (...\storefront\node_modules@ecomplus\storefront-framework\src\webpack.config.js:203:21)

It's related to the framework, please open the issue in correct place and give more details if possible.


Use relevance from ES in course search results

Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
Richie's course search engine was built with a few assumptions in mind. One of them is that the number of courses in a given portal is low (speaking in terms of Search, meaning <1000) and that most (~90%) of these are not accessible to the typical user at any given time, as MOOCs have a set duration and a short duration during which users can enroll.
Given this assumption, we discard document relevance scores and instead sort them into buckets depending on a number a factors, buckets which then have their own sorting criteria. We're treating ES search as pure filtering, including for full-text searches.
While this produces good results in some cases, it can break down somewhat when the starting assumptions are challenged. Such as when the number of available courses is larger.
Describe the solution you'd like
We should figure out a way to use relevance in our Search results, at least for courses which are available to the user at the time they run their search.
We could update our sorting script to assign a factor to our buckets and combine it with the actual relevance of documents (soft bucketing). This could give similar results to what we have now in most cases, except very relevant documents would surface in more searches.
Another potential idea would be to keep documents segregated through our buckets (hard bucketing) and use relevance to order documents inside some of them (of between a subset of our buckets, eg. between "currently running MOOC" & "self-study open archive courses").
Describe alternatives you've considered
See above 👆
Discovery, Documentation, Adoption, Migration Strategy
Not much to discover here, users will just have better search results. Richie operators might need to re-index all documents depending on the changes we actually have to make.
We might also consider documenting our indexing and general search relevance/sorting strategy on our documentation website. This would give other Richie operators more insight into how things are done, enabling them to help us improve Richie or to just change things up on their own instance.
Do you want to work on it through a Pull Request?
👍

Related code : https://github.com/openfun/richie/blob/master/src/richie/apps/search/indexers/courses.py#L89

This was done in PR https://github.com/openfun/richie/pull/1295


MP GO:0001731 formation of translation preinitiation complex

based on this comment
See also the cellular component terms 'eukaryotic 43S preinitiation complex ; GO:0016282', 'eukaryotic 48S initiation complex ; GO:0033290', and their children.
should this term
GO:0001731 formation of translation preinitiation complex
have cytoplasmic translation initiation parent?
val
Reported by: ValWood
Original Ticket: geneontology/ontology-requests/11292

This just needs the "translation initiation" parent adding?

closing as its a duplicate of
https://github.com/geneontology/go-ontology/issues/11300
which is assigned to @dosumis


New Predefined Recognizer: IN_PAN

Change Description
Added presidio predefined recognizer : IN_PAN
Describe your changes
Added pattern and context based recognizer InPanRecognizer to predefined recognizers.
This recognizer is for India Permanent Account Number (PAN) which is the primary unique taxpayer identifier for all citizens.
Issue reference
This PR fixes issue #XX
Checklist

[ X] I have reviewed the contribution guidelines
[ ] I have signed the CLA (if required)
[ X] My code includes unit tests
[ X] All unit tests and lint checks pass locally
[ X] My PR contains documentation updates / additions if required

@microsoft-github-policy-service agree [company="{BlackhawkNetwork}"]

@microsoft-github-policy-service agree company="Blackhawk Network"

@devopam please run black and flake8 to make sure there are no linting issues. Thanks!

that was a bad miss. fixed and ran lint - no errors reported on local. Also, black recommended no changes

/azp run

/azp run

@devopam would you be interested in adding the checksum logic in a new PR?

/azp run

/azp run

Mergine this one, will be adding the checksum capability in a future PR.


bosh-aws-xen-hvm-ubuntu-xenial-go_agent stemcell doesn't contain proper DNS search domain

Describe the bug
After upgrade from 456.x to 621.x line of bosh-aws-xen-hvm-ubuntu-xenial-go_agent stemcell we noticed issues with resolving hostnames that are not FQDN.
It looks that the newest stemcell versions missing search ec2.internal search domain entry in /etc/resolv.conf
To Reproduce
On instance based on bosh-aws-xen-hvm-ubuntu-xenial-go_agent 456.74:
$ cat /etc/resolv.conf
nameserver <IP_ADDRESS>
search ec2.internal

On instance based on bosh-aws-xen-hvm-ubuntu-xenial-go_agent 621.5:
$ cat /etc/resolv.conf
nameserver <IP_ADDRESS>

Expected behavior
hostnames pointing to other internal EC2 instances will be resolved properly.

Hey @sebarys,
You may have omitted this because it's simple, but can you make sure that those are all the contents of /etc/resolv.conf? The bosh-agent usually leaves a line at the top saying Generated by bosh-agent.
I'm wondering if there is something else at play here that I'm not seeing.

Aakash

Hi @aashah!
I don't have wide knowledge in this topic, but I can easily reproduce issue with resolving not FQDN.
With bosh-aws-xen-hvm-ubuntu-xenial-go_agent 456.74 stemcell:
$ nslookup ip-10-59-1-15
Server:        <IP_ADDRESS>
Address:    <IP_ADDRESS>#53

Non-authoritative answer:
Name:    ip-10-59-1-15.ec2.internal
Address: <IP_ADDRESS>

$ nslookup ip-10-59-1-15.ec2.internal
Server:        <IP_ADDRESS>
Address:    <IP_ADDRESS>#53

Non-authoritative answer:
Name:    ip-10-59-1-15.ec2.internal
Address: <IP_ADDRESS>

With bosh-aws-xen-hvm-ubuntu-xenial-go_agent 621.5 stemcell:
$ nslookup ip-10-59-1-15
Server:        <IP_ADDRESS>
Address:    <IP_ADDRESS>#53

** server can't find ip-10-59-1-15: NXDOMAIN

$ nslookup ip-10-59-1-15.ec2.internal
Server:        <IP_ADDRESS>
Address:    <IP_ADDRESS>#53

Non-authoritative answer:
Name:    ip-10-59-1-15.ec2.internal
Address: <IP_ADDRESS>

Hi,
Thanks for letting us now!
For now I've added os-conf release to our deployments with resolv job:
- name: resolv
    release: os-conf
    properties:
      search: eu-central-1.compute.internal

and it works as workaround. I will let you know when we will use newer stemcell.


chore: bdd-spring-1573225106 to 0.0.1

chore: Promote bdd-spring-1573225106 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


cannot import name 'clock' from 'time' (unknown location)

Describe the bug
time.clock is deprecated in Python 3.8, but HARK.utilities still imports clock from time, causing an error pasted as below.

ImportError                               Traceback (most recent call last)
 in
3 from copy import deepcopy, copy
4 import numpy as np
----> 5 from HARK.ConsumptionSaving.ConsIndShockModel import init_idiosyncratic_shocks
6 from HARK.ConsumptionSaving.ConsMarkovModel import MarkovConsumerType
7 from HARK.distribution import DiscreteDistribution
~/opt/anaconda3/envs/econ-ark/lib/python3.9/site-packages/HARK/init.py in
1 from future import absolute_import
----> 2 from .core import *
3
4 version = '0.10.2'
5
~/opt/anaconda3/envs/econ-ark/lib/python3.9/site-packages/HARK/core.py in
19 from copy import copy, deepcopy
20 import numpy as np
---> 21 from time import clock
22 from .parallel import multiThreadCommands, multiThreadCommandsFake
23
ImportError: cannot import name 'clock' from 'time' (unknown location)

This has been solved in the new releases, you can upgrade the package using pip install -U econ-ark.


WIP:Implement method to use blend radii during multi-point moves

Convert time for moves into velocities and accelerations using trapezoidal
velocity profile approximation
Some assumptions were made about max velocity and max acceleration
Not tested yet.

This was tested today, and appeared to work fine.  It's not clear what the actual maximum acceleration is. Setting a relatively high acceleration seems possible, but it's not clear whether the robot can achieve those levels.  This resulted in one timeout for an aggressive move (back and forth reset motion) that was based on an original trajectory with a short duration.

I've done a modest amount of testing on this, and the results look good.

ping @shaun-edwards; I've also added Aaron as reviewer


Click is detected as short drag in Chrome & windows 10

Description:
When using chrome & windows 10 (or clicking 1 element and than quickly clicking the draggable & clickable element, in any other browser/OS) clicking on an item is detected as a 1 pixel (or less) drag, causing a drag behaviour when the user intends to click.
Expected behaviour:
Short drags should not be considered as drag, but as click.
Steps to reproduce:
This bug is available on Dragula demo!
Go to https://bevacqua.github.io/dragula/ and choose the "Click or Drag" section.
Using windows 10 & chrome (I used virtualbox to reproduce it) try moving the mouse around and clicking the items. You should get the expected behaviour (actual click is detected) only 50% of the time
Browsers/OS affected:
Can be easily reproduced on Windows 10 + Chrome(latest).
Also tested using Chrome(latest) & mac OS (latest)

Hi. This issue is fixed by the changes from pr https://github.com/bevacqua/dragula/pull/502/files

Either of these should be configurable and the user should be able to choose (considering how easy the 2 are implemented)

PR #502  being added to next release


[feature request] shift click sound

It would be nice if shift clicking in an inventory would give a sound.

This was accidentally removed due to a temporary crash workaround. Should be fixed in this commit.

And is now fixed in 1.2.0.


Console error when killing a mythic mob that is a quest objective

What is your Quests version / build number (do not say "latest")?
4.0.0rc3-b178
MythicMobs Quests 391-SNAPSHOT, build 17
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
Console error when killing a Mythic Mob that is a Quest objective with that Quest taken by player.
Error:
https://paste.gg/p/Momshroom/2ba6e2a0881f4cd38ddea3516caecc8f
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
https://paste.gg/p/Momshroom/12a929ec8f8348f28e8f06989e807b68

Updating Paper to 1.16.4 fixed this. (I was on 1.16.3).


[feature] (VTAB) Low shot fine tuning configuration

A first list of configurations for low shot (1000 samples) fine-tuning on VTAB datasets: all configurations have been tested on a SLURM cluster and ran to completion.
This PR depends on the DATA_LIMIT improvements of PR https://github.com/facebookresearch/vissl/pull/216 for the configuration to be valid.

thank you @QuentinDuval , looks like the branch is based off of DATA_LIMIT change branch. Can you look into it ? :) ideally this branch can be independent of the other branches. :)

thank you @QuentinDuval . I am wondering if we can instead keep one folder low_shot_classification and move the new sub-folders corresponding to each dataset name there?

thank you @QuentinDuval . I am wondering if we can instead keep one folder low_shot_classification and move the new sub-folders corresponding to each dataset name there?

Indeed, I can move them in low_shot_classification as it makes complete sense (the main difference with the benchmarks already there is that it is fine tuning and not linear probing).
The other option I had was to move them with the "fulltune" (but then I should rename it "fine_tune").
The last option I had was to create a folder named "vtab" since these benchmarks are very close to the VTAB protocol (we still miss the search for hyper-parameters, implemented the way it is done in VTAB, to make it VTAB though).
I was not 100% sure how to proceed.
@prigoyal What do you think would be the best option?

I think we should keep it simplistic and simply move under low_shot_classification. This folder contains not just linear probe (for example SVM trainings in case of voc07). What we can do is to rename low_shot_classification to low_shot_transfer to make it generic and then move everything under it. Thoughts?

I think we should keep it simplistic and simply move under low_shot_classification. This folder contains not just linear probe (for example SVM trainings in case of voc07). What we can do is to rename low_shot_classification to low_shot_transfer to make it generic and then move everything under it. Thoughts?

I think you are right: we should keep it simple 👍
Let us go with low_shot_transfer, as you proposed, as it describes it all.
I will update the PR today to reflect these changes !


Strange placement of [container-scan] action in actions page

Hi,
I have been using this action in my project CI: here you container-scan is called within Docker workflow. However, I start noticing that if you go through my commit history, I start seeing container-scan showing up under other workflows. Take this one for example, why is [container-scan] falls under Node CI in this case. You can also check other commits' CI pipeline and you would not find [container-scan] under Docker workflow like intended. Am I doing something wrong?

Hi, did you manage to take a look at this, I think this is still happening.

Hi @akphi, I have raised this issue internally and it is being discussed. The source of the issue is the tight coupling between check runs and actions service. At this point, it is not clear how this problem can be solved. I will update this issue when I get  more details.

@ajinkya599 Thank you for your response! Could you mark this as a bug or do something to make this non-stale?

commenting to keep it non-stale

Hi @akphi, We had a discussion with the checks/actions team on this.
This issue is inherent due to how the checks are designed, which is - each app gets its own check suite(s) and there is no way to associate a new check run to a particular check suite.
Unfortunately, this is not how the checks team expected it to be used and this behaviour cannot be incorporated in the design.
I would recommend you to install the scanitizer app. If you do so you would see all the scans under the scanitizer check which is a better experience. Also, with scanitizer you get the feature of updating the allowed-list if container-scan fails in your PR.

Sure thing! I don't quite get the explanation, but I take it as a won't-fix for now. I will try out scanitizer as you recommended. My question is though, currently I setup the scan in a github actions, if I install scanitizer, do I need to remove that action or so?


Unix line endings on .c files

Signed-off-by: John Howard<EMAIL_ADDRESS>@jterry75 Can you approve/merge? It breaks vendoring in docker as init.c is being pulled in now :(
Just a dos2unix on the two files, no other changes.

We need this on all go files too. Looks like the CI wasn't checking..... UGH is right.


NamingConventionViolation should allow customization

The default patterns are pretty good, but users should be able to specify their own regular expressions.

Good idea, will look into this, thx!

Will be shipped with the next milestone release :)


@gql.django.input_mutation cannot return Interface or Union

Returning an interface or Union from a input_mutation fails with callstack:
File "/.venv/lib/python3.8/site-packages/strawberry/schema/schema.py", line 85, in __init__
    self._schema = GraphQLSchema(
  File "./venv/lib/python3.8/site-packages/graphql/type/schema.py", line 226, in __init__
    collect_referenced_types(mutation)
  File "/.venv/lib/python3.8/site-packages/graphql/type/schema.py", line 432, in collect_referenced_types
    for field in named_type.fields.values():
  File "/usr/local/lib/python3.8/functools.py", line 967, in __get__
    val = self.func(instance)
  File "/.venv/lib/python3.8/site-packages/graphql/type/definition.py", line 802, in fields
    raise cls(f"{self.name} fields cannot be resolved. {error}") from error
TypeError: Mutation fields cannot be resolved.

I've tried to simplify the reproduction as much as possible:
from strawberry_django_plus import gql
@gql.interface
class AnInterface:
    name:str

@gql.type
class Query:
    @gql.field
    def empty(self) -> str:
        return ""

@gql.type
class Mutation:
    @gql.django.input_mutation
    def my_mutation(self) -> AnInterface:
        pass

schema = gql.Schema(
    query=Query,
    mutation=Mutation,
)

Note that using strawberry mutations works fine:
from strawberry_django_plus import gql
@gql.interface
class AnInterface:
    name:str

@gql.type
class Query:
    @gql.field
    def empty(self) -> str:
        return ""

@gql.type
class Mutation:
    @strawberry.mutation #<----- Changed
    def my_mutation(self) -> AnInterface:
        pass

schema = gql.Schema(
    query=Query,
    mutation=Mutation,
)

Hey @yergom ,
Sorry for the delay, I was traveling outside the country.
So, the issue is that input_mutation tries to convert the output type to be a union of it with OperationInfo to handle ValidationError/PermissionError, but it failed to create a union with an interface.
What you can easily do here is to use gql.relay.input_mutation directly. The only downside is basically the lack of that union for errors, but since you want to return an interface it would not be possible either way.
Can you confirm me if that works?

@yergom there's a new handle_errors argument that you can pass to both gql.django.mutation and gql.django.input_mutation. If you pass handle_errors=False they will not try to create a union of the return type with OperationInfo, and you might be able to return the interface that you want.
Please tell me if that doesn't solve your issue properly and reopen this issue.


Frozen login

Yo, just joined. Only here to play the game. But unfortunately i hit a snag when attempting to login.
first try went smoothly till i created my character name, i clicked continue and it froze for a good 10 minutes before i Xed out the window. Now i go to login and i click login and it freezes there instead. not quite sure what to do at this point.

The public servers may have been down due to a crash when you tried to log in, causing the GUI to freeze as you described. At the time of writing, both public servers are online - but if you encounter the issue later I would recommend waiting a little bit, then try to log in again.
Additionally, the issues page is more tailored towards developers reporting bugs with the server software. If you need assistance setting up the game or want to check the server status, I would recommend joining the community Discord.
Closing this as the problem should be resolved


Inability to filter interfaces by device in Web UI

Environment

Nautobot version (Docker tag too if applicable): 2.0.4

Steps to Reproduce

Using the main interfaces page at, /dcim/interfaces/, filter the list of addresses by selecting a device from the default tab of the filter pop up.
Apply the filter.
Watch Nautobot filter by Device name but use UUID value.

Expected Behavior

Either use UUID and Device ID, or leave it as device name for both.

Observed Behavior

Nautobot is translating device name to UUID but still trying to filter against device name.
Device name filtering does work properly if one uses the Advanced tab.

Able to replicate in demo.nautobot.com an example is https://demo.nautobot.com/dcim/interfaces/?device=37a938b0-bd5a-4c25-9d98-a51c75d15ba9 which is applying ams01-edge-01 as a filter to interfaces.

This sounds a lot like the issue I was coming here to report. Pretty much this same filtering issue occurs with cables and a rack filter.
So under dcim/cables/ --> apply filter: Rack x --> view becomes empty. (which it should not be...)
This for sure worked in the 1.x version we ran before. We are now on 2.0.4 as well.

Duplicate of https://github.com/nautobot/nautobot/issues/5059 and we will track it there.


view: fix for update template iso permissions form

Fixes #278

@shwstppr move the copy and delete buttons/action to the iso and template zones components.


Add "should" property to any Object

Summary

Add exported should() method and should property to Object

Reference

http://chaijs.com/guide/styles/#should

The should style allows for the same chainable assertions as the expect interface, however it extends each object with a should property to start your chain. This style has some issues when used Internet Explorer, so be aware of browser compatibility.

var should = require('chai').should() //actually call the the function
  , foo = 'bar'
  , beverages = { tea: [ 'chai', 'matcha', 'oolong' ] };

foo.should.be.a('string');
foo.should.equal('bar');
foo.should.have.length(3);
beverages.should.have.property('tea').with.length(3);

This request is duplicated and less efficient.


No formfield value for fields based on conditional logic

Hi,
We are making our first project on Twill, so far really awesome!
When I have a form field that is shown based on a specific selection of an other form field it does not load the saved value.
@formField('select',[
        'name'=>'type',
        'options'=>$typeOptions,
        'label'=>'Banner page',
        'default'=>'home'
    ])
    @component('twill::partials.form.utils._connected_fields', [
            'fieldName'=>'type',
            'fieldValues'=>'category'
        ])
    @formField('select',[
        'name'=>'instance_id',
        'options'=>$instanceOptions,
        'label' => 'Categorie',
        'default'=>collect($instanceOptions)->first()['value']
    ])
    @endcomponent
    @component('twill::partials.form.utils._connected_fields', [
            'fieldName'=>'type',
            'fieldValues'=>'home'
        ])
        @formField('select',[
        'name'=>'home_position',
        'options'=>$homeOptions,
        'label' => 'Positie'
        ])
    @endcomponent

So based on the selection of type it can display a select field instance_id OR a select field home_position.
When it gets saved it's all stored nicely, but when you open the form to edit it, it does not show the form field value of home_position. When selected type = category the form field value of instance_id is displayed correctly...

It looks like your issue is due to the select field not being rendered with the correct type that you previously selected, which is hiding your home_position field. Let us know if you still run into this, but hopefully our upcoming updates to the documentation which include implementation details for each form field and compatibility with its context (form, block, repeater, repeater in a block, settings) will help.


Importing UI components from a package and then rendering them causes esbuild error

I'm trying to create a package of UI components that are built from components in @create-figma-plugin/ui.  In another project, I'm importing that package and trying to use it.  If I import anything from that package, even something that isn't from a .tsx file, I get this error:
info Building...
error esbuild error
    Build failed with 1 error:
    node_modules/@create-figma-plugin/ui/lib/utilities/render.js:1:7: ERROR: Could not resolve "!../css/base.css"

If I edit the render.js file to remove the !, then the build completes successfully.  I'm not sure what the ! is supposed to be doing there, but it may not be necessary.  It seems like importing components from outside the node_modules/@create-figma-plugin/ui/ hierarchy leaves some esbuild path in a bad state, at which point  trying to import from a bang path throws an error.

I gave up and just distributed the unbuilt source files with my fwidgets package.  When they're imported and the plugin is built, everything works fine.  This template repo is an example of using the package in a plugin.

I gave up and just distributed the unbuilt source files with my fwidgets package.  When they're imported and the plugin is built, everything works fine.  This template repo is an example of using the package in a plugin.

It seems like it's been a while since this issue was raised, but I somehow fixed the same issue so I wanted to share this.
I just replaced the import with the matching CSS file using the esbuild config. I'm still not sure why this alias setting should be in the main options, not the ui one.
// build-figma-plugin.main.js

module.exports = (buildOptions) => ({
  ...buildOptions,
  alias: {
    "!../css/base.css":
<EMAIL_ADDRESS>  }
});


Extension causes high cpu load

Issue Type: Performance
Extension Name: bracket-pair-colorizer-2
Extension Version: 0.0.29
OS Version: Linux - Xubuntu 18.04
VSCode version: 1.42.1

CoenraadS.bracket-pair-colorizer-2-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Duplicate of #55. Please close this and post there instead.
@njacquemin


Added Colorado College

Colorado College is more than 100 years old and is in Colorado Springs, Colorado, USA
It is one of the finest liberal arts colleges in the USA.

Will someone review and approve this?

@veirs I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host coloradocollege.edu.et not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


No emmet expansions when multiple cursors are used

VSCode Version: 1.3.1
OS Version: windows 10

Steps to Reproduce:
When you try write emmet function with multiple coursors, it will not be work.
Example:
If you try use emmet in next case, you get nothing, just ugly tabs
selector{
        height: 50px !|
        width: 50px !|
        top: -1px !|
}

Its very sadly, can you fix it?

Currently the implementation is intentionally checking for a single selection. Will investigate what it means to support multiple cursors.

In this case i try use !important shortcut, but not succesfully.
It's need in a lot of cases.
Consider the following case:
I created 2-3 div's in html, and some time later i want add span in every div. I want type span and hit tab, but i can't do it, because VSC not supported emmet with multiple cursors.
I leave sublime and atom, but in them it works and it useful.

The current behavior is consistent with the way snippets are handled in the multiple cursor case.

Shifting - depends on the support of multi cursors in snippets.

With the work being done as part of #21943, multi cursor support is doable but the whole snippet expansion is still blocked by #16037

Changes for #21943 is merged.
Set emmet.useNewEmmet to true to get emmet abbreviation expansions in the suggestion list.
This will work in multi cursor too
For details on this setting read https://github.com/Microsoft/vscode/issues/1952#issuecomment-305390464


Improved emote parsing in PrivateMessage

Hi there!
I've been using your package for a personal project and it is great! Thank you very much for all the work. Since it has been very helpful, I thought I'd give back by improving something I found was not as straight forward as other aspects of the message.
Up to now, the parsing of the emotes in the message was a bit odd, specially for handling messages where the same emote repeats multiple times.
I made a small utility function that takes care of better parsing the information from the message into an array containing a new struct EmoteReference. This struct includes the id of the emote, the name (aka the text used to represent the emote), and the indices in the message that correspond to the emote. The idea is that having all this information it is easier for a user of the package to handle emotes.
Please, let me know if there's anything out of place or if I should include some more test cases (although I feel like the one included already handles all cases).
Cheers!

Thanks for the changes, I'll take a look.
I do agree that the automatic synthesized conformance for Equatable is nice, but then if I want to allow it, one could argue "Why the other structs don't have the conformance?".
So its a question of if I want to go all in for the conformance or not.
I also like to keep the library minimal. I've been in situations that i would have preferred TwitchIRC's stuff be Codable so its easier for me to encode them, but it wouldn't make sense to add it to the library because its unrelated to the library and it was just my needs.

Thanks again. This looks good.
I'm going to merge this and do an extra commit for some nit-picky cleanup.
You / I can utilize Emote in other files as well. For now this is enough and can act like a test to see if Emote works as expected.

This will be tagged in a few days. This also contains a breaking change, so hopefully its worth it.

I do agree that the automatic synthesized conformance for Equatable is nice, but then if I want to allow it, one could argue "Why the other structs don't have the conformance?".

Yes, I can see that. It's really not a big problem, and "keeping it simple" is a good argument for it. If only the compiler could auto-synthesize from an extension 😄.

You / I can utilize Emote in other files as well. For now this is enough and can act like a test to see if Emote works as expected.

I've been using it in my own app with good success to load up the emotes. The only thing I am missing now is getting emote sets that are not global or the room's. I will look into that and perhaps send another PR.

This will be tagged in a few days. This also contains a breaking change, so hopefully its worth it.

Understood 👍🏽


Add 'cargo fmt' conformance to CI tests.

Probably want that to be an early test so we can fail-fast if the formatting is wrong. Another option would be to permit it to fail.

Closing in favor of #100


Lab Refactor: Tier 3: Fix CSP Header for Trezor

Set frame-src policy to prevent Trezor sigin error

Closing in favor of the v2 rebuild


Modification to allow attributes in SOAP requests

Hi,
The SOAP WS that I'm using needs some attributes in the SOAP requests. There was a similar idea in issue #8 made by cscholle1.
Here's my working proposal:
params := gosoap.Params{ 		"sIp[type=s:string,anotherAttribute=anotherValue]": "<IP_ADDRESS>", 	}
Thx,
kvbkvm

 Modification to allow attributes in SOAP requests


fix(fixtures): isolate fixtures between files

clears the fixture registry before re-registering fixtures. This means that fixtures cannot leak into tests that don't require them.
Also fixes a bug where fixture locations were corrupted by source-map-support.

is a test for the broken stacktrace possible?

registrations.clear(); causes test to fail without it. It's a bit tricky to have a test in isolation because it requires a fixtures file transpiled ahead of time instead of by pirates/babel. I'll add one to #99.


'SCrypto', '~> 2.0.0' doesn't exist in cocoapods's spec repo

'SCrypto', '~> 2.0.0' doesn't exist in cocoapods's spec repo, latest version seems to be: 1.0.2, .//d/0/3/SCrypto/1.0.2/SCrypto.podspec.json

Done. Had some issues with pushing v2.0.0 to Cocoapods previously.


Unable to try OpenWhisk with Docker on Apple Silicon

Running make quick-start is not successful.  I get this error:
What's Next?
  View summary of image vulnerabilities and recommendations → docker scout quickview openwhisk/invoker:nightly
host ip address: <IP_ADDRESS>
checking required ports ...
 ... OK
  ... preparing api-gateway configuration
pinging minio...
[+] Running 4/1
 ✔ minio 3 layers [⣿⣿⣿]      0B/0B      Pulled 2.0s
[+] Running 3/2
 ✔ Network openwhisk_default                                                                                Created0.0s
 ✔ Container openwhisk-minio-1                                                                                Created0.3s
 ! minio The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
 ...
See:  https://stackoverflow.com/a/65592942
I think something similar needs to be done.

The devtools are a bit outdated and I don't think it would work on Apple silicon.
Even the core OW needs some ugly tweak to build it on Apple silicon.
https://github.com/apache/openwhisk/issues/5196#issuecomment-1135909801

@ccaspanello try setting the default platform for docker, it worked for me
export DOCKER_DEFAULT_PLATFORM=linux/amd64


Excess words

ddev exec ./vendor/bin/sake dev/build can be replaced with ddev exec sake
Or with the Silverstripe Sake addition, it can be simply ddev sake

Thanks for the shortcut!


feat: hover edit breakpoint and hover delete of file breakpoint items

Types

[x] 🎉 New Features

Background or solution

🤖 Generated by Copilot at a0d60ad

Simplify the logic of the removeAllBreakpoints command and remove the isEnabled property (link)
Add internationalization, external icons, and editor-related functions to the debug-breakpoints.view.tsx file (link)
Use the BreakpointManager service for managing and editing breakpoints in the debug-breakpoints.view.tsx file (link, link)
Add the title prop and use it as the title attribute for the breakpoint file item label in the BreakpointFileItem component (link, link, link)
Add the removeBreakpoint function and the close icon to the BreakpointFileItem component and handle the click event to remove all breakpoints associated with the file (link, link)
Add the editBreakpoint function and the edit icon to the BreakpointItem component and handle the click event to open the editor and execute the DEBUG_COMMANDS.EDIT_BREAKPOINT command (link, link)
Add a new class .debug_breakpoints_item_control to control the display of the edit and remove icons for each breakpoint item in the debug-breakpoints.module.less file (link, link, link)
Align the breakpoint file item content to the left and right edges of the container and add some margin to the badge and the close icon in the debug-breakpoints.module.less file (link, link)
Remove an empty line from the debug-contribution.ts file for code readability and style consistency (link)

[x] 文件节点支持 hover 删除该文件下的所有断点
[x] 断点列表面板新增 editor breakpoint 按钮，hover 出现，点击后可以直接编辑该断点表达式

Changelog

🤖 Generated by Copilot at a0d60ad
This pull request improves the debug feature of the opensumi core by enhancing the code quality, style, and functionality of the DebugContribution class and the breakpoint view components. It also adds internationalization, external icons, and editor integration for breakpoints.

@Ricbet 标题可以修改一下，例如 support delete or edit breakpoints when hovering on the it


Update deviceController to reconcile the deviceService between the openyurt and edge

deviceService created/deleted in openyurt could sync in edgex-foundry.
deviceService create/deleted in edgex-foundry could sync in openyurt.
can update AdminState field of deviceService
Note: Can't support update other field of deviceService yet.

@qclc need to fix conflicting files.

@rambohe-ch all the conflicting files are fixed, please review.

/lgtm
/approve


As a content editor, I want Projects automatically organized into list pages so I don't have to manually manage these pages.

views

[x] ProjectListView
[x] StaffProjectListView
[x] WorkingGroupListView

test

test reply

The folder image reads “Sponsored Projects” in the test site, but just "Projects" in the production site

The 4 DH Working Groups fall under "Projects” (as well as under DH Working Groups) in the production site, but not in test site

The dropdown option (to toggle to other Projects) on the righthand side does not work in the test site

The order of the projects is in alphabetical order in the production site, but Princeton Geniza and New Languages are the first two in the test site (then it’s in alphabetical order)

Perhaps not as important to note - in both the production and test sites, across all projects, some names on the lefthand side (under project director or instructors, for example) are emboldened; others are not

The folder image reads “Staff Projects” in the test site, but “Staff and Postdoctoral Fellow Projects” in the production site

Projects are alphabetized in the production, but not test site

For DH Working Groups in the test site, there is a page intro, but then no projects

In the Wagtail admin site, I successfully changed the title, which was reflected in the test site

The edits I made in Snippets -> DH Working Groups did not work, despite multiple refreshes

small name differences ("sponsored projects" vs "projects", "staff projects" vs "staff and postdoctoral projects") are ok for now
DH working groups being listed as projects in production is a bug, so looks like we fixed it on the test site! that's good
dropdown not working should be resolved now
will look into the order thing, but for now I think it's not a problem
bold names on the left-hand side indicate people with a profile. try clicking them to make sure the link works!
DH working groups missing should be resolved now
please try editing the snippets again; if you don't see changes try a hard refresh (cmd + shift + R on a mac)

@manawinters  please test again and let me know if any of these issues are recurring.

DH working groups only visible through dropdown

Still not able to view updates in Snippets, despite multiple refreshes (including a hard refresh)

@manawinters rsk and I talked about the snippet refreshing issue and unfortunately it's not easy for us to solve, so we're going to ignore it for awhile - in practice the snippet text shouldn't change often, so it's not a huge issue. thanks for your thorough testing on this!
could you confirm that the DH working groups are now visible through both the menu link and the dropdown? if so, please close.


GetLine documentation is wrong

I'm sure this has been covered by the comments you decided to throw away from the old documentation. The documentation of the "nMaxLength" parameter of GetLine is wrong. It states:
"nMaxLength
Specifies the maximum number of bytes that can be copied to the buffer. GetLine places this value in the first word of lpszBuffer before making the call to Windows"
But as the previous parameter makes clear, it's the number of characters, not bytes. See also EM_GETLINE for confirmation.

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

ID: f86b1a15-2ebf-6f85-4dad-06687c22be5c
Version Independent ID: 4794949e-d6a0-4d30-747a-2fc47199aad4
Content: CEdit Class
Content Source: docs/mfc/reference/cedit-class.md
Product: visual-cpp
GitHub Login: @mikeblome
Microsoft Alias: mblome

@LordLiverpool2 thanks for the feedback. You are correct although the number of bytes = number of characters for ANSI strings. I updated the topic to say TCHARs instead of bytes.
Also, if you can point me to an example where we removed remarks from older topics, I would like to see it. If any such text was removed from MFC documentation it was almost certainly inadvertent.


fix: add default indexing policy to chat history

Adds a default indexing policy to the chat message history class.
The reason for this is that the default policy when creating a vector store through AstraDBVectorStore uses this policy. Meaning, if you create a collection with the class, you cannot initialize chat history, as you'll get this error:
E               ValueError: Astra DB collection 'test' is detected as having the following indexing policy: {"allow": ["metadata"]}. This is incompatible with the requested indexing policy for this object. Consider reindexing anew on a fresh collection with the requested indexing policy, or alternatively align the requested indexing settings to the collection to keep using it.

I think it makes sense in this case to make the default indexing policy the same here.
https://github.com/langchain-ai/langchain-datastax/blob/77d3d81d981b9dc28296d85e461b7b803737d904/libs/astradb/langchain_astradb/vectorstores.py#L57

Open to discussions here - I didn't dig very deeply into this. I was writing integration tests for langflow and running into this error.

A side comment: the reason the CI fails is unrelated to this PR. I encountered the same while upgrading the vectorize and came up with a fix (see #37 for a brief explanation). I suggest to bring that one in this branch once 37 is merged, to get smooth CI here as well.
Now to the main question. While tailoring the indexing policy for chat history to the use is in general a good thing (fight SAI waste!), I am not sure I get the reason why one should use the same collection for both vectorstore and chat history. The format of the documents in them is different as far as I remember, no? Would there be a real-world situation (outside of tests perhaps) where a single collection might serve both purposes? Note: I might be missing some context here ¯\_(ツ)_/¯

I could probably imagine up some use-case where we'd want metadata attached to each message, such as "time sent" for accessing only the last five minutes of chat history, or "location" for location-based recommendations in a conversation, which would reduce the number of stores to query. However, it's true the main reason was during testing I ran into this - I wanted to use a single fixture to set up my Astra collections before running tests, which used the AstraDBVectorStore class (thus defaulting to {allow: metadata}). I ended up using the chat history in a separate fixture to set up that specific class, so very easy to avoid this issue.
I don't have a stronger argument than the above, so very happy to pass on this as "working-as-intended"

Closing per above comment


Add Model Rocketry from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of SuperRedNova, to add Model Rocketry to CKAN.
Please direct questions about this pull request to SuperRedNova.

Superceded by https://github.com/KSP-CKAN/NetKAN/pull/878


Key and Endpoint does not seem to be working

Is there any reason an API key would not be working? I can PM you it if that will help diagnosing the issue.

Looks like you made it work. The documentation is on the main page (https://github.com/SvenWerlen/moulinette-imagesearch). Let me know if some steps must be more detailed.


Loop

It took me some time to realize what this loop does or doesn't do :-)
https://github.com/Asupkay/Artblocks-Starter-Template/blob/b06b2e4cde108200596a20b57219f9449fd98044/public/js/example.js#L5

Doesn't look like that loop does anything. Sorry that is a carry over from an old design. I'll delete it. Thanks for the issue :)


Upgrade projects to packagereference format

Is your feature request related to a problem? Please describe.
this is the future as dotnet core supports only this format

The DevExpress.XAF repository includes commits that relate to this task:

Upgrade projects to packagereference format #441

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use the Xpand.XAF.Modules directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


Hi, Chang.

Hi, Chang.
The code runs expected. 1) and 2) were being imported in the corresponding helper files, but for ease of use, we have fixed it.
Thanks
Originally posted by @yp201 in https://github.com/devalab/CIGIN/issues/4#issuecomment-670475170

is not fixed: np is undefined in model.py. (There may be more.) Please run the code as is, without external files, fix all errors and verify results.

done.
thanks.

It runs now. Thanks.


[Enhancement]: UI OF brick game

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below

I have updated the game window
I have modified the UI from texts to brick colors
the brick colors now change on every reset
score is displayed now. Scores are 2x when <60 bricks remain and 5x when <50 bricks remain
I have added specific CSS as per requirement
Modified the background

Fixes #4343

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[ ] I have added working video of the game in README.md (optional)

Add your screenshots(Optional) 📸
BEFORE:

NOW:

Thank you soo much for contributing to our repository 💗

Thank you @sau-mili ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @sau-mili , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Handle non-admin jQuery

Safely handle cases where jQuery comes form admin (and is called django.jQuery) and where it is loaded outside of admin (and is called jQuery).

+1


Make plugin publishing to Ivy compatible with configuration cache

Fixes #24537

@bot-gradle test ACC

I've triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test BD

I've triggered the following builds for you:

BuildDistributions build

@bot-gradle test and merge


Random Crash Encountered

I have been using OCMock 3.1.2 in my unit tests and it start having random crashes after I upgrade to XCode 6.4 on July.
I have a script to run unit tests on all available simulators, and the same crash happens randomly. It can happen in any simulator, and rerun the tests on the same simulator not always reproduce the crash.
Here is the crash log:
Process:               xctest [18305]
Path:                  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest
Identifier:            xctest
Version:               7701
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [18285]
Responsible:           launchd_sim [18285]
User ID:               501
Date/Time:             2015-07-16 12:58:30.996 -0400
OS Version:            Mac OS X 10.10.4 (14E46)
Report Version:        11
Anonymous UUID:        D542E159-157E-60F0-128E-35275D0C6D26
Time Awake Since Boot: 4000 seconds
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000004789
External Modification Warnings:
Debugger attached to process.
VM Regions Near 0x4789:
-->
__TEXT                 000000010ab4e000-000000010ab50000 [    8K] r-x/r-x SM=COW  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest
Application Specific Information:
*** CFRelease() called with NULL ***
CoreSimulator 117.15 - Device: iPhone 5s - Runtime: iOS 8.1 (12B411) - DeviceType: iPhone 5s
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation      	0x000000010b28b171 CFGetAllocator + 17
1   com.apple.CoreFoundation      	0x000000010b29f05b CFURLCopyAbsoluteURL + 43
2   com.apple.CoreFoundation      	0x000000010b29ee67 _CFBundleCopyResolvedURLForExecutableURL + 39
3   com.apple.CoreFoundation      	0x000000010b29ea17 _CFBundleCopyBundleURLForExecutableURL + 39
4   ???                           	0x0000000000000009 0 + 9
5   com.apple.CoreFoundation      	0x000000010b29e995 CFRelease + 1125
6   libobjc.A.dylib               	0x000000010b0768cd (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 591
7   com.apple.dt.XCTest           	0x000000010cbbe182 -[XCTestCase invokeTest] + 261
8   com.apple.dt.XCTest           	0x000000010cbbe379 -[XCTestCase performTest:] + 150
9   com.apple.dt.XCTest           	0x000000010cbc7c35 -[XCTest run] + 260
10  com.apple.dt.XCTest           	0x000000010cbbd08b -[XCTestSuite performTest:] + 379
11  com.apple.dt.XCTest           	0x000000010cbc7c35 -[XCTest run] + 260
12  com.apple.dt.XCTest           	0x000000010cbbd08b -[XCTestSuite performTest:] + 379
13  com.apple.dt.XCTest           	0x000000010cbc7c35 -[XCTest run] + 260
14  com.apple.dt.XCTest           	0x000000010cbbd08b -[XCTestSuite performTest:] + 379
15  com.apple.dt.XCTest           	0x000000010cbc7c35 -[XCTest run] + 260
16  com.apple.dt.XCTest           	0x000000010cbba129 __25-[XCTestDriver _runSuite]_block_invoke + 56
17  com.apple.dt.XCTest           	0x000000010cbc4edd -[XCTestObservationCenter _observeTestExecutionForBlock:] + 162
18  com.apple.dt.XCTest           	0x000000010cbba060 -[XCTestDriver _runSuite] + 269
19  com.apple.dt.XCTest           	0x000000010cbbaa8d -[XCTestDriver _checkForTestManager] + 234
20  com.apple.dt.XCTest           	0x000000010cbcab20 +[XCTestProbe runTests:] + 182
21  xctest                        	0x000000010ab4f1a6 0x10ab4e000 + 4518
22  xctest                        	0x000000010ab4f419 0x10ab4e000 + 5145
23  xctest                        	0x000000010ab4ee23 0x10ab4e000 + 3619
24  libdyld.dylib                 	0x000000010c66f145 start + 1

Is it at least always the same test or test class in which the crash occurs? Or is it totally random?

I cannot found out which test or test class caused it as it seems happened bwteen unit tests, the debugger stops and shows assemble code, instead of inside any unit test. The iOS version and device of the simulator is random. I had it happen in iOS 7.1, 8.1, 8.2, 8.3, both iPhone simulator and iPad simulator.
I later removed OCMock in my Podfile, downloaded the latest version of OCMock from github and manual integrated it. The error seems stop, so I guess it's stale issue? Not sure if it relates to the way of integration at all.
P.S. the podspec of OCMock doesn't reflect the most updated version of OCMock, it would be great if the Cocoapods users can also use the latest version of OCMock :)
Thank you~


Simple workflow for forward pass measure?

Do you have forward pass benchmark of different CNN architectures? it's not very clear from documentation.
I just want to measure forward pass time, something like here, but table should contain different GPU models.
Also do you have results for PC GPU's? Here seems only some results for mobile devices.

Hi!
We are actually working on that. We plan to provide new crowd-benchmarking capability for PC GPUs before May. In fact, we already have some stats in the same repository (cKnowledge.org/repo) under different crowd-scenario "crowd-benchmark Caffe library" but it's quite outdated (we have been recently focusing on embedded devices). We plan to update it before May.
As for forward pass benchmark, I will let @psyhtest replay - he is dealing with different CNN architectures ...

@mrgloom A very nice table! With CK-Caffe, it would be easy to obtain results for your table on another machine, as well as display results from several machines. If you volunteer :)), I can help you convert your repository into the CK format.

Seems you aready have forward pass measure functionality via caffe-time
https://github.com/dividiti/ck-caffe/wiki/Installation#linux
So how to add other deploy.protoxt network architectures to benchmark?

@mrgloom

Seems you aready have forward pass measure functionality via caffe-time

That's right. To start with, you can simply run:
$ ck compile program:caffe-time
$ ck run program:caffe-time

@mrgloom

So how to add other deploy.protoxt network architectures to benchmark?

We've added quite a few model descriptions recently e.g. JacintoNet11, VGG16, VGG19, ResNet50, ResNet101, ResNet152.

So while this is easy, the more difficult question to answer is why CNNs for solving the Kaggle cats and dogs challenge would make a good PC benchmark? Is this workload relevant for PC users?

I don't want to focus on Kaggle cats vs dogs challenge, but on forward/backward pass measure of CNN models that I have used in this challenge.
I will try to run program:caffe-time and add my own models using existing models as example.

Note, that very recently I added a simpler way to download and install various packages in the CK across different platforms, so we are gradually moving current packages in Caffe/TF to this format (to be able to universally install them for Linux, Windows and Android). You can find example for this LLVM 4.0.0 universal package here:
https://github.com/ctuning/ck-env/tree/master/package/compiler-llvm-4.0.0-universal
see meta.json & custom.py ...
For models, you probably just need meta.json without custom.py ...


Repository major update

The repository and the Slider itself are about to be updated.
The update will include:

[x] leaving yarn workspaces
[x] using TypeScript instead of Flow
[ ] Use Swift and Kotlin for native implementation
[x] Use the latest React & React Native

Reasoning:
I want to focus on the quality of Slider and it's becoming more and more difficult to do so with the legacy repo.
So I create this issue to keep the track on this huge update and keep notified all who is interested.

Let's keep the Obj-C and Java as native languages for now. Currently a lot of implementation has been done and is currently in progress as well, so it would be a madness to change the language now.
And it should not block the further releases, so let's have it as it is, unless we get really tired or have way too much of a spare time and space.


Mark Iron struct fields as 'internal' in doc

I hope no one else will spend a few minutes puzzling over this one as I did.
(See issue #373.)

Hmm, can you instead just mark them #[doc(hidden)]?

Hmm, it might actually be better to just make them private fields.

I made those fields private in https://github.com/iron/iron/commit/e88a4f3a915ed726ae3a45ecefbac3952afda421


Add token name and symbol to the contract

Summary:

Add token name and symbol to the smart contract
Updated tests

Task linked: CU-2h8v0c XTokenTz - Improve smart contract to store token name and symbol


MLER_toolbox vs mler

Currently, the repository has duplicate code in the MLER_toolbox and mler folder. It looks to me like commit 4d51d5194fe2a4942e3c02f2b58d833abfb9d732 by @zmorrell-sand repackaged  MLER_toolbox as mler and that the prior can be removed from the repository.
@zmorrell-sand is there any reason to keep both from a code functionality point of view?

Repackaging is a good idea and the example code has been updated so I don't see any need to keep MLER_toolbox.

Agree
From: ewquon<EMAIL_ADDRESS>Reply-To: WEC-Sim/WDRT<EMAIL_ADDRESS>Date: Wednesday, May 27, 2020 at 9:51 AM
To: WEC-Sim/WDRT<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [WEC-Sim/WDRT] MLER_toolbox vs mler (#38)
Repackaging is a good idea and the example code has been updated so I don't see any need to keep MLER_toolbox.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWEC-Sim%2FWDRT%2Fissues%2F38%23issuecomment-634755644&data=02|01|yi-hsiang.yu%40nrel.gov|37a878b8f2164215af3108d80255db75|a0f29d7e28cd4f5484427885aee7c080|0|0|637261915061018096&sdata=9aNdglXgtSQVK1COxzLPuFdWZ%2B66Pg0K6bG1mZc9Skg%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABDD372G7WYNJ2LOAHOSJ7TRTUZJBANCNFSM4NMHMBWA&data=02|01|yi-hsiang.yu%40nrel.gov|37a878b8f2164215af3108d80255db75|a0f29d7e28cd4f5484427885aee7c080|0|0|637261915061018096&sdata=mp5b%2FV%2FsngIvR8KVEfyQMJGV85I89Hbaxx19Ljs%2FyoI%3D&reserved=0.

supersedes #21


Authorization enforced with authentication is disabled

Description:
When scopes is defined for the service and authentication is disabled for a resource, resource access will try to enforce authorization even though authentication is disabled.
Steps to reproduce:
Run following service and invoke "publicProfile" resource.
import ballerina/http;

endpoint http:APIListener listener {
    port:9090
};

@http:ServiceConfig {
    authConfig:{
        authentication: { enabled: true },
        scopes:["students"]
    }
}
service<http:Service> student bind listener {

    @http:ResourceConfig {
        authConfig:{
            authentication: { enabled: false }
        }
    }
    publicProfile (endpoint client, http:Request req) {
        http:Response res = new;
        res.setStringPayload("Public Profile");
        _ = client -> respond(res);
    }
}

Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Fixed with PR https://github.com/ballerina-platform/ballerina-lang/pull/7423.

Closing as it is fixed with #7423


Pause vs Stop using net radio

One thing which could be improved is that if the musiccast device is playing net radio the pause button should actually call the stop function because pause does not seem to work with net radio.
In a perfect world home assistant would only display a stop button if net radio is playing... but I think they only support pause.

Well, HASS supports the Stop action, but Pause trumps it: https://github.com/home-assistant/home-assistant-polymer/blob/master/src/cards/ha-media_player-card.html#L314
But I think we could manage this internally, but this is affected by #4.


Update where docstring to make return value type more clear

The where docstring was a little confusing to me.  I misunderstood "Same type as caller' to mean the values in the xarray not the xarray itself.  I think this small change will clean it up for most users.  Thanks.

[x] Closes #3390
[x] Passes black . && mypy . && flake8
[ ] Fully documented, including whats-new.rst for all changes and api.rst for new API

Thanks for the PR @pmallas ! I made one small suggestion; add if you agree and we can merge.

Thanks @pmallas


Remove paper/ folder from distribution

After JOSS' submission process will be over, we may want to change the name of the paper/ folder, or even remove it.

and maybe rename the folder to "joss"


Updated validations.py python script.

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@student-01-defb86bacf7d


[AutoPR cognitiveservices/data-plane/CustomVision/Training] Custom vision 2.1 updates

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3337

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/2196


Switch ci.yml to use standard sized runners, disable build_test_all_windows.

This also disables the build_test_all_windows job entirely

Small runners are free: Standard GitHub-hosted runners for Public repositories
Large runners are expensive: Per-minute rates for larger runners ($0.50 per minute for Windows 64 core, 8 minutes per run just to check out the repo... you do the math :P)

Where we care about job latency we should use self hosted runners -- ideally with local caches for git objects, test resources, and other build cache files.
ci-extra: build_test_all_windows

We'll need to work to get it back with self-hosted. But let's stem the cost first.

Ping?


add python 3.12

AWS added support for Python 3.12

https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.451.0
https://github.com/aws/aws-cdk/releases/tag/v2.109.0

Thanks for your contribution! I'll merge this as soon as the runtime will be released!

Hey @michaelbrewer
Any chance you could add the base image? Otherwise I can add a commit on your PR let me know :)
Thanks!

Will do that now.

Done @maxday

3.12 is now GA.


EncryptionHandler.java:187: Add language support for no...

The puzzle 1-6f654134 from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/a547e89de390b499d28d29cdc21492f90613ef5e/src/main/java/net/shiruka/shiruka/jwt/EncryptionHandler.java#L187-L187
The puzzle was created by @portlek on 04-Apr-21.
Estimate: 5 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-6f654134 has disappeared from the source code, that's why I closed this issue.


Fix typos & Release new version

Fixed some typos in Readme.md and finally released version 0.4.1.

👍

:+1:


Entry ignores keyboard binding if TextField becomes firstResponder before display

Describe the bug
If a UITextField is/becomes the first responder before the entry is displayed, the keyboard will correctly appear when the entry is show. However in this case the .keyboardRelation binding does not work.
To Reproduce
Create a simple ViewController with a UITextField which becomes the first responder before the entry is shown:
    let viewController = SomeViewController()

    var attributes = EKAttributes()
    attributes = .float
    attributes.windowLevel = .normal
    attributes.position = .center
    attributes.displayDuration = .infinity

    attributes.entranceAnimation = .init(translate: .init(duration: 0.65, anchorPosition: .bottom,  spring: .init(damping: 1, initialVelocity: 0)))
    attributes.exitAnimation = .init(translate: .init(duration: 0.65, anchorPosition: .top, spring: .init(damping: 1, initialVelocity: 0)))
    attributes.popBehavior = .animated(animation: .init(translate: .init(duration: 0.65, spring: .init(damping: 1, initialVelocity: 0))))

    attributes.entryInteraction = .absorbTouches
    attributes.screenInteraction = .dismiss

    attributes.entryBackground = .color(color: .white)
    attributes.screenBackground = .color(color: UIColor(white: 50.0/255.0, alpha: 0.3))

    attributes.roundCorners = .all(radius: 20)
    attributes.border = .value(color: UIColor(white: 0.6, alpha: 1), width: 1)
    attributes.shadow = .active(with: .init(color: .black, opacity: 0.3, radius: 3))
    attributes.scroll = .enabled(swipeable: false, pullbackAnimation: .jolt)
    attributes.statusBar = .light

    // Define the keyboard binding
    attributes.positionConstraints.keyboardRelation = .bind(offset: .init(bottom: 15, screenEdgeResistance: 0))
    attributes.positionConstraints.maxSize = .init(width: .constant(value: min(UIScreen.main.bounds.width, UIScreen.main.bounds.height)), height: .intrinsic)

    // Problem does NOT show if didAppear is used instead
    attributes.lifecycleEvents.willAppear = {
        viewController.someTextField.becomeFirstResponder()
    }
    SwiftEntryKit.display(entry: viewController, using: attributes, presentInsideKeyWindow: true)

Expected behavior
Keyboard and EntryView should appear at the same time while the entry is correctly positioned relative to the keyboard.
Result
Instead the entry appears in the center position defined by the attributes and completely ignores the keyboard.
iPhone (please complete the following information):

Device: iOS all
iOS Version: iOS9+
Xcode Version 10
SwiftEntryKit Release #1.0.1

Same behaviour on my end.

Same behaviour here. Are there any updates on this?

SwiftEntryKit.display(entry: self, using: alertAttributes,presentInsideKeyWindow: true) will work


[stable/nextcloud] Add HPA

Is this a new chart
no
What this PR does / why we need it:
This affects only Nextcloud chart.
This PR introduces the possibility to horizontal autoscale the deployment. The HPA is disabled by default.
Which issue this PR fixes
None
Special notes for your reviewer:
None
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @chrisingenhaag

/ok-to-test

@tomaaron this looks great, thanks!  Can you please bump the version to 1.11.0 given that we are including a new feature?

@tomaaron this looks great, thanks! Can you please bump the version to 1.11.0 given that we are including a new feature?

Ay ay done! Thanks for pointing out.

/lgtm


Is this plugin not compatible with Jellyfin version 10.8?

[2022-02-07 20:24:27.053 +08:00] [INF] [25] Jellyfin.Plugin.ThemeSongs.ThemeSongsManager: Downloading TV Theme Songs
[2022-02-07 20:24:27.054 +08:00] [ERR] [25] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/ThemeSongs/DownloadTVShows".
System.MissingMethodException: Method not found: 'System.Guid[] MediaBrowser.Controller.Entities.BaseItem.get_ThemeSongIds()'.
at Jellyfin.Plugin.ThemeSongs.ThemeSongsManager.DownloadAllThemeSongs()
at Jellyfin.Plugin.ThemeSongs.Api.ThemeSongsController.DownloadTVThemeSongsRequest()

I've just released a new version for 10.8


Memory Exhaustion and/or Maximum Callstack using Nuxt SSR (universal) with a global Vue mixin and Vuetify

Version
v2.12.2
Reproduction link
https://github.com/centerorbit/nuxt-plugin-mixin-memory-example
Steps to reproduce
Checkout the repro, start running a dev build with npm run dev in "universal" mode. Refresh the page about ~25 times.
In my bigger application, where I discovered this, refreshing about 3x does it, so the problem is worse the bigger your project.
The code uses file ./plugins/global.js to register a simple global mixin that's used on ./pages/index.vue
What is expected ?
Server never crashes
What is actually happening?
In this repro, server memory is exhausted and node crashes.
In my personal project it is used in a loop, and it causes an unrecoverable "Maximum call stack exceeded" error, which requires a node restart to recover.
Additional comments?
I suspect this is an issue with Vuetify & Nuxt SSR... I created a vanilla-vanilla install, and wasn't able to readily reproduce, but it might be because the project is so slim that it would take an excessive amount of time to exhaust the memory. Vanilla here (https://github.com/centerorbit/nuxt-plugin-mixin-memory-example/tree/vanilla)
I'm not sure how to approach debugging this problem, so I'm open to suggestions and help!

This bug report is available on Nuxt community (#c10700)

Duplicate of https://github.com/nuxt/nuxt.js/issues/7207


Syntax errors in css and less files

Line 193 of greyscale.css "0" is invalid syntax and should be  "0%"
Line 207 of greyscale.css "0" is invalid syntax and should be  "0%"
line 202 of greyscale.less "0" is invalid syntax and should be  "0%"
line 219 of greyscale.less "0" is invalid syntax and should be  "0%"
same errors exist in minified css

I'll test this out soon, thanks!

Thanks! glad to help, thank you for providing such a nice learning tool...

Fixed!


release tag v3.0-rc2 vanished

There appears to have been a release tag v3.0-rc2, but it vanished.
Can we have another release candidate for package scripts ?
The v3.0-rc1 tag is 4 years old and specifically the addition of MYCFLAGS and MYLDFLAGS is very usefull for packages.

@bauen1 do you know what commit hash was v3.0-rc2?

No

I don't recall deleting any tag. Is there evidence anywhere of its existence?

@diegonehab in such case, what about tagging v3.0-rc3 now? :p

https://github.com/diegonehab/luasocket/blob/316a9455b9cb4637fe6e62b20fbe05f5141fec54/rockspec/luasocket-3.0rc2-1.rockspec

Linked to https://github.com/diegonehab/luasocket/issues/93

I believe (as an after-the-fact examination) that the rc2 rockspec was never officially released, instead an rc1 with rockrel 2 was released. A new series of releases should be along soon.

@alerque: Time to create a 3.0 final?

https://github.com/lunarmodules/luasocket/tags

We're working on it @Neustradamus.

@alerque: Nice! :)
Linked to:

https://github.com/lunarmodules/luasocket/issues/51
https://github.com/lunarmodules/luasocket/issues/93
https://github.com/lunarmodules/luasocket/issues/158
https://github.com/lunarmodules/luasocket/issues/168
https://github.com/lunarmodules/luasocket/issues/218
https://github.com/lunarmodules/luasocket/issues/330
https://github.com/lunarmodules/luasocket/pull/355


Using Cassette to overdub a scientific code

When a scientist wants to build on the research of another, they start by asking hypothetical questions. These questions often involve making modifications to existing models. The simplest are changing parameters and that is easy, but a harder problem is changing functions or structure.
For example,

what if I ran this model, but instead of measuring 2-norm, I measured 1-norm?

or

what if I ran this SIR model, but the disease was 5% more infectious?

These questions can be hard to answer without modifying the source code for the model because the author of the model did not anticipate these questions. Because the questions represent novel ideas, the relevant components are not exposed as parameters of the model.
The Open Science approach to this, which requires sharing source code, is to have the new scientist modify that code in order to support the new features. But, that requires the second scientist to understand the (often poorly written) source code of the first scientist well enough to enhance it.
We want to support these modifications of executed behavior without requiring users to modify the original source. I think this can be done with Cassette and implementing Contexts that offer a simple API to changing code behaviors.
It might be the case that in order to specify the new behavior that you want, then you must have the same level of understanding of the original code that the old fashioned, fork and modify approach requires. Hopefully we can find some examples where this approach is better.

This issue is addressed by PR #6


If-then statements/Customs Tokens within Custom Tokens

Is it possible to place if-then statements within a custom tokens as creating multiple tokens for specific if-then replacements can get rather long and confusing when it comes to listing out the filename  for example if I want to specifically list ranged weapons within a filename among tons of other if-then statements, but I also want to have all these tags under one token as well so that they are automatically sorted in either alphabetical order, or order of appearance.
Though some site use <3, for situations in which a heart is present in the image and other commonly used characters such as >_<. That the program uses for the if-then statement, so why not use rarely used alt code characters (ex. altcodeunicode.com/ ) to represent an if-then statement within a custom token as a possible solution, I tend to use the characters associated with mathematics as dividers for multiple tags within my filenames.

I'm not sure I understand your question.
If you want to use a custom token for ranged weapons, you can just create one in the custom tokens settings then fill it with all the ranged weapons you can think about, and give it a name like ranged_weapons. Then, you can use it in your conditionals with something like <%ranged_weapons%?something> (or even just directly %ranged_weapons% without conditionals).
Can you give an example of what you're trying to achieve/simplify?

In that case no, that's not possible. Custom tokens can only contain a list of tags, and will only contain the subset of those tags that were found in the image. They can be used in conditions, but they can't contain a condition.