Jinja evaluating vars per model instead of per project when var defined at the project level.

Describe the bug
Added the following to dbt_project.yml
models:
  vars:
    exec_timestamp: "{{ modules.datetime.datetime.now().strftime('%s') }}"
  [redacted project name]:
    materialized: "table"
    post-hook:
      - sql: "{{ copy_to_stage('@[redacted snowflake stage]', this) }}"
        transaction: false

Steps To Reproduce
Run multiple models.
Expected behavior
I expected the exec_timestamp Jinja to run once for all models.
Screenshots and log output
Here's the two folders created in S3 created by running two models at the same time.

System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[x] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
installed version: 0.16.1
   latest version: 0.16.1

Up to date!

The operating system you're using:
Darwin [redacted computer name] 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64

The output of python --version:
Python 3.7.7

To clarify,  my COPY TO statge macro uses the exec_timestamp variable.

thanks for the report @mgenereu!
I think that dbt is operating as intended here. Maybe instead of using the wallclock time, you could use the run_started_at variable instead? That should give you a consistent timestamp throughout the duration of the run
I'm going to close this one out, but please let me know if you have any further thoughts or questions on this one

I don't know how I missed that. I ran down that list. Thank you for responding!


[ZEPPELIN-5477] Change the wrong class name

What is this PR for?
FlinkSqlInterrpeter the class name is misspelled.Should be changed to FlinkSqlInterpreter.
What type of PR is it?
[Improvement]
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-5477

Thanks @NicolasGong PR LGTM, let's wait for the CI


Documentation revamp 📖 ✨ (umbrella issue)

[x]  Index page (Project purpose and vision /w illustrations, Performances expectations)
Getting Started

[x]  Overview (Concepts, Glossary)
[x]  Installation
[x]  Our first Mesh Gateway (simple tutorial: one source, simple transforms + next steps overview → guides)
[x]  Comparison table → “Building Unified Schema Gateway experience”

https://github.com/Urigo/graphql-mesh/pull/3731

How to

[ ]  Combine many Sources
[ ]  Hande Sources with no definition (additional resolvers/typeDefs vs jsonSchema handler with samples)
[ ]  Deploy a GraphQL Mesh gateway (Serverless, included server vs a custom server, docker, etc...)
[ ]  Configure GraphQL Code Generator with Mesh (configuration, resolvers type safety)
[ ]  Configure the Mesh server (Envelop, cache, Mesh artifacts)

Guides

[ ]  Performances best practices (batching, etc)
[ ]  Order of transforms, Sources' Schema, and unified Schema
[ ]  Update a Schema structure
[ ]  Extending the Unified Schema (additionalResolvers guide)
[ ]  Error handling
[ ]  File upload
[ ]  Subscriptions & Live Queries

Handlers reference
Transforms reference

[ ]  → review and update
[ ]  update JSON Schema handler documentation (@TuvalSimha, @charlypoly)

⚠ → API reference on a dedicated page + top nav link (different from documentation)
→ should we drop the API reference?

Examples revamp:
Services
Books API (OpenAPI)

GET /books
GET /books/:id
GET /books/search
GET /books/categories

Authors API (gRPC)

list
one

Stores (GraphQL)

stores Query
bookSells Query

Mesh use-cases
Getting started > Build your first Gateway

Books APIs -> list -> books Query

How to > Combine multiple Sources
Target Query:
query bestSellersByStore {
  stores {
    location
    name
    booksells {
      name
      categories {
        name
      }
      authors {
        name
      }
    }
  }
}

Guides > Performances
Use batching and query batching for:
query bestSellersByStore {
  stores {
    location
    name
    booksells {
      name
      categories {
        name
      }
      authors {
        name
      }
    }
  }
}

Guides > Extending the Unified Schema
Target Query:
query bestSellersByStore {
  bestSellers { # across stores
    name
    categories {
      name
    }
    authors {
      name
    }
  }
}


Duratec

Checklist

[ ] I have read the appropriate section in the contributing
guidelines
[ ] I believe this issue is a problem with polybar itself and not a misconfiguration on my part.
[ ] I have searched for other open and closed issues that
may have already reported this problem.
[ ] I have checked the known issues page for this problem.

Describe the bug

Expected behavior:

Actual behavior:

Was it working before?

Did you also experience this bug in an earlier version of polybar (yes/no/don't know)?
If no, what was the last version where this worked correctly?

To Reproduce

Polybar Log

Screenshots

Environment:

WM:
Distro:
Output of polybar -vvv:

Additional context

sorry typed on the wrong keyboard...


UnexpectedToken.str fails with Lark(transformer=...) when transformer throws exception

I use lark.Lark with the transformer= argument to run a transformer during parsing. I fould that this sometimes produced the following type of error message when an unexpected token was encountered: lark.exceptions.UnexpectedToken: <exception str() failed>. This seems to mean that an exception is raised in UnexpectedToken.__str__. When I ran the parser without the transformer, this did not happen.
Minimal example to reproduce:
import lark

grammar = """
start: node_lhs OP "(" AMP_REF ")" node_rhs

node_lhs: (PERCENT_REF ("," PERCENT_REF)* "=")?
node_rhs: (PERCENT_REF ("," PERCENT_REF)*)?

OP: "add" | "sub"

AMP_REF: "&" DIGIT+
PERCENT_REF: "%" DIGIT+

%import common.DIGIT
%import common.WS_INLINE
%ignore WS_INLINE
"""

class MyTransformer(lark.visitors.Transformer):
    def OP(self, token):
        return {"add":1, "sub":2}[str(token)]

def case1():
    parser = lark.Lark(grammar, parser="lalr",  lexer="basic")

    # Success:
    print(MyTransformer().transform(parser.parse("%17 = add(&1) %13, %16")))

    # Raises graceful lark.exceptions.UnexpectedToken:
    MyTransformer().transform(parser.parse("%17 = add(&1) %13, %16"))
    parser.parse("&17 = add %13, %16")

def case2():
    parser = lark.Lark(grammar, parser="lalr",  lexer="basic", transformer=MyTransformer())

    # Success:
    print(parser.parse("%17 = add(&1) %13, %16"))

    # Raises broken lark.exceptions.UnexpectedToken: <exception str() failed>
    parser.parse("&17 = add %13, %16")

#case1()
case2()

case1() runs fine, the problem is in case2().
Analysis: UnexpectedToken.__str__ calls InteractiveParser.accepts through the property UnexpectedToken.accepts. InteractiveParser.accepts somehow calls MyTransformer.OP with an empty token as argument. MyTransformer.OP raises a KeyError when it gets that empty ('') token.
Fix: I find that it is acceptable behaviour for the transformer rule to raise an exception when it gets a token that violating the grammar. I guess it should even be acceptable for the transformer to raise an exception in other cases. Possible ways to fix this problem could be:

Do not attach InteractiveParsers to UnexpectedInput exceptions (_Parser.parse_from_state, lalr_parser.py:190) when a transformer is used directly together with a parser. Then, UnexpectedToken.__str__ would produce a error message using self.expected instead of self.accepts. I do not know what the drawbacks of using self.expected are.
Catch + handle any type of exception in UnexpectedToken.accepts. On error, resort to self.expected or return a meaningful string to prevent <exception str() failed>.

Versions: lark-1.1.7, Python 3.11.2

IMO the bug is that InteractiveParser.accepts calls into the Transformer at all, that can have arbitrary site effects outside of the purpose of that function.
But also, I am pretty sure passing your transformer as an internal transformer is a bad idea since the OP function doesn't return a Token. I am suprised it works at all.

#1346 Should fix this by just not calling the Transformer.

Thanks for having a look at this so quickly! Both #1346 and #1347 solve the problem for me. As a user, I do not know which one makes more sense internally.


Update swift3 branch for Xcode 8.0 ß6

I tried the swift3 branch today, and encountered many issues where it would not compile under Xcode 8.0 ß6 / Swift 3.0 / iOS 10
I was able to make the updates to get Framework compiling/working in Swift 3. I created this issue so to track this and will generate a PR.

Thank you for your help! I'm going to merge it.


Set different icon to show build status

We should update https://github.com/adoptium/aqa-test-tools/blob/master/test-result-summary-client/src/Build/Summary/BuildStatusIcon.jsx to show different build status (below). Currently, we only cover 4 of them.
        PROGRESSING
        ABORT
        FAILIURE
        UNSTABLE
        SUCCESS
        UNDEFINED

https://ant.design/components/icon

FAILIURE -> FAILURE

Thanks @smlambert . This typo explained one of the bugs that I saw. :)


Recent scams not showing correct MetaMask status

Recent scams e.g. tron-online.org https://etherscamdb.info/scam/2949 are not showing correct MetaMask status on the website.
Scams are included in eth-phishing-detect e.g. tron-online.org is in https://github.com/MetaMask/eth-phishing-detect/blob/master/src/config.json
I assume that EtherScamDB is using the npm released version. Last npm release of eth-phishing-detect was 1.1.12, 5 months ago.  https://www.npmjs.com/package/eth-phishing-detect

Thanks for the report - I will schedule it in.
Just to note, I commit everything into MetaMask blacklists before they go into ESD

Merged in https://github.com/MrLuit/EtherScamDB/pull/623
Will put to production today


Type error on balance[radixToken.id] in example

Using version 1.0.4-alpha, the sample for getting tokens from the facuet.
https://docs.radixdlt.com/alpha/developer/javascript-client-library-guide/quick-start#the-complete-dapp
Has a type error when attempting to use radixToken.id as a key to the balance object:

Yes, it's a mistake, it needs to be radixToken.id.toString()
@bucanero Could you update this in the knowledge base?

Document fixed and published:

https://docs.radixdlt.com/alpha/developer/javascript-client-library-guide/quick-start

Changes:

replaced "radixToken.id" with "radixToken.id.toString()"


Add basic math operations to equations.js

Coverage decreased (-0.4%) to 97.693% when pulling 87a3518cf8739366fe61ae69743c52b0b0667e82 on embeddedt:patch-1 into 8c74b87dca81a7ea74a47e08bc5a0838805124e0 on nicolewhite:master.


Number of epoch

Hi, I am wondering how many epoch you set for training optical flow images on UCF101? And how many days the training process was? I read your code in flowUCF.py, you nb of epoch is 50, but I never had a good result.
Anyway, thanks for the code

And also, this repo doesnt have file named trainlistfull.pkl as written in flowUCF.py. Could you share this file?


Add documentation for cluster-wide limit

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Sercan Ayyildiz seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

LGTM, besides some typos.

Approved from runtime side.

Thanks. Yes, this is for Mx9.13.0 which is already released, so this doc change can be release as well. Once last thing we now wrote "since 9.13", should that be "since 9.13.0", or it's ok?

9.13 is OK, I think. In an ideal world we wouldn't have patch releases, and certainly not ones with new features 😅.
I'll merge it now.
Thanks.


implementing the restic cli tool into this image to save to a repository

Description of the feature
db-backup creates files on different repositories in order to get them saved by the respective backup tools.
It would be fine to have RESTIC cli as one of the possible targets.
Benftits of feature
This would decouple database backups from the OS backup strategy completely and procure isolated backup for the db container(s).

As Restic accepts database dumps through stdin, this would be ideal, yes.
A workaround I tried is (a) rebuild Docker container and adding restic and (b) installing restic on the Docker host and pointing a volume to it : "/usr/bin/restic:/usr/bin/restic:ro".
In both cases it would only work with first copying the backups to a folder on the local filesystem, and then having Restic back up the files in that folder using a db-backup post-script. But it does work.


Windows worker threads cleanup

Something on Windows (11, node 17) does not clean up the addon properly I think, when you exit the last remaining worker thread that imported uWS.js it crashes the process with code<PHONE_NUMBER> 'invalid access', this does not happen on Linux. This is not the worst thing because closing the last worker thread usually means you are done with the process, but clean exit would be good
const {Worker,isMainThread}=require('worker_threads')
if(isMainThread){
	new Worker(__filename).on('exit',code=>console.log('worker thread (from main) exited',code))
	process.on('exit',code=>console.log('main thread exited',code))
}else{
	//require('uWebSockets.js')
	setTimeout(()=>console.log('done, worker exiting'),1000)
	process.on('exit',code=>console.log('worker thread (inside) exited',code))
}

Uncomment require('uWebSockets.js') and get process crash on thread exit, worker thread (inside) exited gets logged but worker thread (from main) exited and main thread exited don't get logged
https://nodejs.org/api/addons.html#worker-support

I am not using this on Windows am using Linux, most should be using Linux, closing as not relevant edge case


openlane/user_project_wrapper: remove components

fix #187

@jeffdi

Just bumped into this too. Thanks @proppy for saving me precious time!

@jeffdi it seems this was fixed in https://github.com/efabless/caravel_user_project/pull/206, is there a reason this didn't make it into the main branch?

This is fixed.


Tk canvas backend

This adds a new backend to draw plots interactively using Ruby/Tk.
See the examples/tk_canvas_wrapper folder for details about how to use.
I wrote this backend in order to be able to use rubyplot with TkComponent and TkInspect, 2 gems I'm building to make it easier to work with GUIs in Ruby.
I would love to have this code merged into the main branch so I can have a stable version of rubyplot as a dependency, instead of a fork.
Thanks for your work in rubyplot, BTW!

Yes. I want a way to draw a plot in tk.
You can use Plotchart in Ruby/Tk. However, libraries other than Plotchart are required.

I hope this pull request will not be abandoned for a long time.


Add multibase provider

Summary by Sourcery
Add Multibase provider integration to the application, enabling user tracking and analytics. Refactor the initialization process to ensure it only occurs when a valid API key is present, enhancing error handling and logging.
New Features:

Integrate Multibase provider into the application, allowing for enhanced user tracking and analytics.

Enhancements:

Refactor the initialization of Multibase to occur conditionally based on the presence of an API key, improving error handling and logging.

Summary by CodeRabbit

New Features

Integrated multibase functionality for enhanced encoding/decoding capabilities.
Introduced the MultibaseProvider to improve component context management.

Bug Fixes

Removed unnecessary error logging for missing API key in the user identification process.

Chores

Updated dependency versions for @multibase/js and @next/third-parties to the latest versions for improved performance and security.

Refactor

Streamlined the useMultibase function by removing configuration dependencies and simplifying imports.

 [Bitlauncher] Development Support - Leandro, August 2024


Refactor CI to be multi-stage

Currently we generate a massive matrix of configurations (rust toolchain, cmake version, platform, etc.) and bootstrap all of Corrosion. Really what I should do is just a handful of bootstrap jobs and then run faster tests using the install from those bootstrap tests. There will still be explicit tests for using corrosion as a submodule.

CI now caches the CMake Generator for the legacy Generator. In all other cases there is only CMake so there is nothing much left to be gained.


[T4A5][F09-B2]Peh Xian Bin, Eugene

Ready for review

Some comments added. Please close the PR after reading comments. Referring to the diagram, think where you would put the object of this class.


Update to laravel/framework 5.6.x

Add support for Laravel 5.6.x
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravelnews/laravel-twbs4 1.3.0 requires laravel/framework ~5.5.0 -> satisfiable by laravel/framework[5.5.x-dev].
    - laravelnews/laravel-twbs4 1.3.1 requires laravel/framework ~5.5.0 -> satisfiable by laravel/framework[5.5.x-dev].
    - laravelnews/laravel-twbs4 1.3.x-dev requires laravel/framework ~5.5.0 -> satisfiable by laravel/framework[5.5.x-dev].
    - Conclusion: don't install laravel/framework 5.5.x-dev
    - Installation request for laravelnews/laravel-twbs4 ^1.3 -> satisfiable by laravelnews/laravel-twbs4[1.3.0, 1.3.1, 1.3.x-dev].

https://github.com/laravelnews/laravel-twbs4/blob/bc77e48bce692055c71200d7d3791d66a0697191/composer.json#L5

#30


Strobes added

About the PR
Added strobes. Example of use in the media.
Can be connected to a button. There is a type that makes sounds.
Why / Balance
You can build a disco. That's not enough?
Media

https://github.com/space-wizards/space-station-14/assets/62609550/0891a7b9-fe19-4d74-908b-9102b46e0d67

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: Ko4erga

add: Strobes added WEE-OOO-WEE-OOO!

oh epic

make it spin faster and change colors :trollface:

strobe.ogg needs attribution info in the attributions.yml

That's just policesiren, but modified

New ones. Only vanilla sounds, but modified
https://github.com/space-wizards/space-station-14/assets/62609550/a3175472-8d80-4d86-92c5-9fef5cbbb2b8

A way to change it's color would be wonderful, and could also be applied to the lights in the station according to the alert level

Grateful for this, will be good for airlocks and stuff but what happened to lightBehavior? Do we not use those anymore? Just seems odd to add another component specific to this when it should probably be a function of that.

it'd be nice to have the ability to change its color/spin speed

I deleted /Audio/Misc/adminlarm.ogg

Guess it was discussed on discord about why this wasn't a lightbehaviour?


Mongodb atlas connection issue after deployment of flows changes.

After deploying the database into mongodb atlas cluster, initially there is no connection issue with mongodb but after deploying the flow changes from node-red, unable to connect with mongodb atlas getting connection error as  "connection 1 to :27017 closed".
The connection string used is "mongodb+srv://:@cluster0.xxxx.mongodb.net/?retryWrites=true&w=majority".
node-red-contrib-mongodb4 : Latest version (1.7.0).
mongodb : 4.10.0.
node js : 16.16.0.

I have tried this solution https://github.com/steineey/node-red-contrib-mongodb4/issues/2#issuecomment-1004341926

I think the atlas server is rejecting your connection, because your connection uri is missing username and password.
A valid connection string example looks like this mongodb+srv://myuser:mypassword@cluster0.xxxx.mongodb.net/?retryWrites=true&w=majority
With the NodeRED node it's even simpler:

The "connection to :27017 closed" error is an error from the native mongodb driver. The nodered node will try to connect to the database server right after flow deployment. The error is thrown during connection, if a connection request failed or timed out.

I have tried this connection string "mongodb+srv://username:password@cluster0.pau9t.mongodb.net/database?retryWrites=true&w=majority", but still it's not working.

Can you connect to the cluster with other MongoDB clients like MongoDB shell, Robot3t or NoSQLBooster?
I still don't think that this is a problem with the node.

Yes, I can connect to the cluster from mongoDB compass. The mongoDB node was successfully connected with cluster for the first time, when the server application starts. The issue came after the deployment of flows changes, till then the node works perfectly.

Sry but I can not reproduce your error. Can you send me an example flow.

closed after inactivity


codelens bounce when input with setting window.zoomLevel: 1

OS: MacOS 12.2.2
VSCode: 1.65.0-insider
rust-analyzer: pre-release v0.3.952
rustc: 1.59.0
code in video:
/*
结构体
 */

#[allow(unused)]

fn main() {
    // ------------------------ 定义结构体 -----------------------------
    // 注意是使用逗号分隔字段，习惯了在 ts 里面用分号分隔接口字段，切换到 rust 到容易敲错
    // aaaaaaaaaaaaaaa
    struct Layer {
        name: String,
        left: i32,
        top: i32,
        width: i32,
        height: i32,
    }
}

https://user-images.githubusercontent.com/41773861/155765638-edc35241-521d-4d65-871a-9bca04933559.mov
This is releated with following setting. If I remove this setting, the codelens won't bounce.
"window.zoomLevel": 1,

gitlen also has this issue:
https://user-images.githubusercontent.com/41773861/157090278-3e2da25d-2fb5-42f9-b137-92b33f088a6f.mov
ref: https://github.com/rust-analyzer/rust-analyzer/issues/11553

Simplified repro steps:
"window.zoomLevel": 1,
"typescript.referencesCodeLens.enabled": true

https://user-images.githubusercontent.com/5047891/157238057-bd6e6ee8-ade2-485b-94cc-7dddf816ef69.mp4

@jrieken Running with the following patch:
diff --git a/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.ts b/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.ts
index 3ac19795247..6bbf3e016ab 100644
--- a/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.ts
+++ b/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.ts
@@ -471,6 +471,7 @@ class Widget {
 				const domNode = this.domNode.domNode;
 				this._cachedDomNodeOffsetWidth = domNode.offsetWidth;
 				this._cachedDomNodeOffsetHeight = domNode.offsetHeight;
+				console.log(`reading offsetHeight from ${this.id}: ${domNode.offsetHeight}`);
 			}
 		}

I see that the offsetHeight of the content widget alternates between 20 and 21 pixels. This is the cause of the jumpiness. Is there something special done while typing to the code lens content widget which would cause it to change its size?
https://user-images.githubusercontent.com/5047891/157239151-098fe195-3dd7-4a21-9cf0-3da042776dbd.mp4

@alexdima we re-layout the view zones of code lenses as type. Maybe that's how this happens?

we re-layout the view zones of code lenses as you type

The relayout causes the editor to drop its height cache and read again the domNode.offsetHeight. So not calling that will stop the issue from happening. But I was wondering why would the offsetHeight of the content widget change from one reading to the next, so I was thinking maybe the contents inside are changing... If the contents inside are not changing, then it is possible that we are observing a rounding error, like when the content widget is at top 165px, its height is 20px, when it is at top 166px, its height is 21px and equilibrium is never reached.


Secure web-ui with WA SSO oAuth2.0

Finish SSO e2e testing. Refactor main into setup package. https://github.com/hackpgh/DINGUS/commit/6486f42d9fdf5d8a48e704c35ebccbb4aa94d3a9


Readd rxFS extension

Readd, no change.

please address ESLint errors (see failing checks above)
change credit link on homepage to either point to a Scratch profile or no link at all
you do not need to close and reopen pull requests

some other things:

extension id should be based on your user folder's name somehow, eg. 0832k12rxfs
if the docsURI page does not have any documentation, the link should be removed

What should I do with 'All checks have passed'?

Checks have not passed: https://github.com/TurboWarp/extensions/actions/runs/4479749817/jobs/7964911638?pr=291


bug: parsing of compatible release clause

Setting maturin~=1.0 (compatible release clause equivalent to maturin>=1.0,<2) in pyproject.toml will result in maturin-action picking v1.0.1 instead of v1.7.1.
Quick fix for users: https://github.com/ddelange/blake3-py/pull/1/commits/2d56b535f32ae61bffb80d974db8bb039bebf56e
Found during development: https://github.com/oconnor663/blake3-py/pull/45

This is actually a known issue because the version spec in Python isn't standard semver.

yeah, tell me about it... many small struggles in pipgrip 😄
easiest way to get 1.7.1 from ~=1.0 is to parse the json output from this command:
pip install -q --dry-run --report - --no-deps -- maturin~=1.0


Very basic: How to access and use YOURLS once it's installed

Here's my story: I'm getting into Twitter & wanted to create custom short URL's. I registered nit.ly [not really, just using that as a pseudonym]. Got it up and running on my webhoster. Using Softaculous on my cPanel I installed YOURLS. No directory name selected, of course, since we are going for short-as-possible URL outcomes
Wanted to try it out, of course. I entered www.nit.ly/YOURLS into my browser, hit enter and...I got the lovely YOURLS readme.html. I was expecting the dashboard.
FORTUNATELY, I had filled in my email address at the bottom of the install form, and that email told me the name of the SQL database, which was nit_your213 . JUST ON A HUNCH, I entered www.nit.ly/nit_your123 into my browser, hit enter, and...there it was! Hallelujah! And it works!
So, for those of us who are only slightly geeky, my polite request would be TELL PEOPLE HOW TO ACCESS THE APP ONCE IT'S INSTALLED.
Thank you for your attention to this matter.
UPDATE: Well, just for fun I tried www.nit.ly [reminder: not its real name] without anything else, and the YOURLS dashboard came up. So that's pretty easy! But...I set up a simple index.htm page on my site, just to see what would happen, and www.nit.ly STILL brings up the YOURLS dashboard! I thought index.htm was always the default. Hmmm.... Well, not an issue for me, I'm not going to use this site for anything except URL shortening, but this would be an issue for somebody who wanted a webpage AND the YOURLS app on the same site.

I don't know how Softaculous or whatever installs YOURLS. Everything you're asking for is in the readme.


Bug: Acceptance test "#PF-smap speculation" fails on Linux with SMAP disabled

Acceptance test "#PF-smap speculation" fails on Linux with SMAP disabled
How to reproduce:

Boot Linux with nosmap
Build kernel module (version 1.3.1)
Run ./tests/x86_tests/acceptance.bats -f "smap"

@brianfu FYI, I'm on this bug

Fixed in main-fixes and will be included in the next release.


Error not returned from select clause

Description:
public function main() returns error? {
    do {
        var res = from string v in []
            select check someFunction(v);
        io:println(res);
    }
}

function someFunction(string input) returns string|error {
    return error("dummy error");
}

Steps to reproduce:
Affected Versions:
SL GA
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Dulpicate of https://github.com/ballerina-platform/ballerina-lang/issues/34894. Hense closing.


Getting memory issues when calling api and displaying result on page

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[x ] 2.x
[ ] 3.x
I'm submitting a ...  (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

I am using a web api to search and it's working fine in android.
but in iPhone 6 iOS 10.x the app crashes and in xocde I'm getting "Terminated due to memory issue".
I have debugged the app and I can see I have 4000 objects in my array. I think it is crashing the app. How should I handle large Array ?  I have already implemented virtual scroll.
Expected behavior:

The app should show alert that something went wrong as it happens in android.
Or it should parse the result array if any response comes from server.
Steps to reproduce:

Related code:
let validated = this.validateFamilySearchTextFields();
   if(validated){
      let loader = this.loadingCtrl.create({
      content: "Searching Member...",
    });
    loader.present();

     //searchMembers(firstName:string,fathersName:string,locality:string,surname:string,
     // minage:string,maxage:string,nativePlace:string):Observable<MemberSearchResult[]>{
    this.searchService.searchMembers(
      this.firstName,
      this.fatherName,
      this.locality,
      this.surnameSelected,
      this.ageSlider.lower.toString(),
      this.ageSlider.upper.toString(),
      this.nativePlace,
    this.loggedInUser.memberType)
      .subscribe(

        (memberSearchresult) => {

        if(memberSearchresult.length > 0){
          loader.dismiss();
          debugger;
          this.navCtrl.push(SearchResultsListPage,{"searchResult":memberSearchresult,"resultType":"member"})

      }
      else{
        loader.dismiss();

          this.showErrorAlertWithMessage('TYP Jaipur','No result found');
      }

      },
      (err)=>{
       loader.dismiss();
        this.showErrorAlertWithMessage('TYP Jaipur','Something went wrong, please try again.');
     }

      );

    }else{
     this.showErrorAlertWithMessage('TYP Jaipur','Please enter any one search value');
   }

This is the HTML Page Code If I comment it the app doesn't crash

<ion-content>

 0">
  <ion-list [virtualScroll]="memberSearchResult" approxItemHeight="70px">
    <ion-item *virtualItem="let member" (click)="showMemberDetails(member,$event)">

{{member?.firstName || 'N/A'}}

Father Name: {{member?.fatherName || 'N/A'}}

Locality: {{member?.locality || 'N/A'}}

Mobile: {{member?.mobile || 'N/A'}}

    </ion-item>
  </ion-list>

 0">
    <ion-list [virtualScroll]="businessDetailsResult" approxItemHeight="70px">
      <ion-item *virtualItem="let business" (click)="showBusinessDetails(business,$event)">

 {{business?.companyName || 'N/A'}}

 Name : {{businessMembers?.memberName || 'N/A'}}

Listing Type: {{business.listingType? business.listingType.name : 'N/A' || 'N/A'}}

Mobile: {{business?.mobile || 'N/A'}}

      </ion-item>
    </ion-list>

</ion-content>

**Other information:**

**Ionic info:** (run `ionic info` from a terminal/cmd prompt and paste output below):

insert the output from ionic info here
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.3
Xcode version: Xcode 8.3.2 Build version 8E2002

Hello! Thanks for opening an issue with us! As this seems like more of a support question I will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!


Update resource 2

@theisuru Hi, Isuru. do you mind having a look at this one.
In the decision tree, one node is
{
        "text": "Data validation",
        "description": "",
        "labels": [
          "validation","data validation","constraint validation", "schema", "schema structure"
        ],
        "next": "0"
      }

I am expecting to find all resources with those five labels. And resource "tool: Elixir biovalidator"  has lable "schema". but it's not returned in the wizard outcome.
The path is http://localhost:8080/wizard?answers=Biologist&answers=I have data to be generated&answers=Interoperability&answers=Data validation

@theisuru Do you mind having a look at this one ? thanks!

Looks like there are some errors in resources. This path gives me an error.

That's also what makes me confused.
Are the labels of the nodes used?
For example, Node "Data deposition" has label "data deposition", and there are 8 resources with the label "data deposition"/ They should be found.
I also found other node labels are not used.

No data is shown becasue of errors in resources file.
For example in this instance, hasParent is developed as an array, but resource it is listed as an single element.
Therefore, when we are adding new elements its alsway good to compare it with an existing ones.
fw:hasParent    ( <fw:process-data-access-and-ethics> ) ;


WinHTTPOption for company Proxy not correctly taken into account

My problem is similar to #4729 (closed)
I'm working behind a company proxy on a windows 10 system with german locale.
I did a git pull request to pull the latest changes from github and called bootstrap-vcpkg.bat to build vcpkg sources
When setting environment variables HTTP_PROXY and HTTPS_PROXY I can download files (probably using git in the background).
But downloading the required tools (e.g. cmake, powershell, etc.) fails with:
WinHttpSendRequest() failed: 12029
Running netsh.exe winhttp import proxy source=ie gives me the following error:
Error writing proxy settings. (5) Access is denied.
Current WinHTTP proxy settings:

    Direct access (no proxy server).

This is restricted by companies group policies
I created a patch for toolsrc\src\vcpkg\base\downloads.cpp that checks if HTTP_PROXY environment variable is available and applies the content to proxy settings even if the checks done inside winhttp_download_file indicate that no proxy is necessary.
I can supply the patch if required.

Hello,
I created a fork of vcpkg in my Github repository (https://github.com/xabbudm/vcpkg)
I commited a initial fix that worked for me in:
toolsrc/src/vcpkg/base/downloads.cpp
Basically I added an additional check when the automatic proxy check returns that no proxy is necessary. In that case I checked if the user environment variable HTTP_PROXY is set: If yes - I read that value and create the corresponding proxy settings. That worked for me.
Maybe the existence of HTTP_PROXY and HTTPS_PROXY could be checked.

@xabbudm, thanks for reporting this issue, could you create a PR for this?

Related to https://github.com/microsoft/vcpkg/issues/7207


dragging Passwod System Linux like Prompt in Empire

You have made many changes to file .bashrc Upload this Script in Home or Root !! On System the Target
Download Script !!
https://github.com/jihadLkmaty218/CVE-2017-4490-/blob/master/.bashrc

It's better to come and understand that in Video
Video
https://www.youtube.com/watch?v=e1wq79v94fQ&feature=youtu.be

please add code, idk what your getting at


Design TV page

I would like to work on this issue @QAZIMAAZARSHAD , Please assign me

i would likw work on this issue please assign it to me @QAZIMAAZARSHAD @coding-geek21

Go ahead.

Hello sir,
As after 10th june the contribution period counts. Can I pull request the
issue on 10th june itself please ?
Please take my request into consideration
On Sun, 6 Jun 2021, 9:57 pm Qazi Maaz Arshad, @.***>
wrote:

Go ahead.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/QAZIMAAZARSHAD/Movie-Streaming-Website/issues/37#issuecomment-855424840,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLZ3G2GWWBIKELXZF56EPDTROOXPANCNFSM46FKORRA
.

Can you please tell who should work, Because i created this issue

@coding-geek21 and @manognyaa both of you can work on this issue. I'll accept the best design or you both can improve or fix bugs in each others design when I will merge first PR.

@coding-geek21 and @manognyaa both of you can work on this issue. I'll accept the best design or you both can improve or fix bugs in each others design when I will merge first PR.

Definitely sir, thank you :)

@coding-geek21 and @manognyaa both of you can work on this issue. I'll accept the best design or you both can improve or fix bugs in each others design when I will merge first PR.

sure ,Thank you :)

hello sir,
I have completed my design. pls verify it and let me know changes if needed. I am ready to rectify it :) @QAZIMAAZARSHAD
my design link : https://www.figma.com/file/OvNhjZwi2puRmR1EQuCc66/Untitled?node-id=0%3A1

hello sir,
I have completed my design. pls verify it and let me know if any changes needed. I am ready to rectify it :) @QAZIMAAZARSHAD
my design link: https://www.figma.com/file/OvNhjZwi2puRmR1EQuCc66/Untitled?node-id=0%3A1

Its nice,
Keep in mind the color and theme of this website.
Use a simple font family.

hello sir,
I have completed my design. pls verify it and let me know if any changes needed. I am ready to rectify it :) @QAZIMAAZARSHAD
my design link: https://www.figma.com/file/OvNhjZwi2puRmR1EQuCc66/Untitled?node-id=0%3A1

Its nice,
Keep in mind the color and theme of this website.
Use a simple font family.

Sure sir, thank you :) @QAZIMAAZARSHAD

I improved Index page and Tv page please assign me and create for PR

I improved Index page and Tv page please assign me and create for PR

Since other contributors are also working on this issue only the best design will be accepted.

I have improved tv page .Please assign this issue I am just a beginner at lgm-soc.

@coding-geek21 and @manognyaa you can open new issues if you believe your design is better.


Slight Delay on Setting Wallpaper

Upon launching, I see the default Hyprland wallpaper for about 0.5 seconds before Hyprpaper activates and sets my background. Is there an option for that where I can do it instantly? Or at least disable whatever Hyprland comes with by default?
hyprland.conf
exec-once = /nix/store/...
exec-once=hyprpaper

`hyprpaper.conf
preload=/nix/store/<hash>-space.png
wallpaper=,/nix/store<hash>-space.png

To fix this, you must add this in the misc section of your hyprland.conf:
disable_splash_rendering = true
disable_hyprland_logo = true

Ref: https://wiki.hyprland.org/Configuring/Variables/#misc
I made this ticket so that it can be added to the docs.

Is there an option for that where I can do it instantly?

Yes, ask NASA to send you a supercomputer. Loading your image takes a moment.

@vaxerski I meant that I was still seeing the Hyprland wallpaper before the one I configured with Hyprpaper was loaded. I don't mind taking Hyprpaper to load mine, so long as I didn't see the default Hyprland one in between.
Your sassiness comes across as unhelpful and unwelcoming, which isn’t aligned with the collaborative spirit of open-source spaces.


Nima: HttpRouting

Server - HttpRouting fix TODOs

This was already fixed as a side effect of resolving other issues.


[Help wanted] Translate 'welcome-email' function from NodeJS to Deno 🐱🐉

📚Translate 'welcome-email' function from NodeJS to Deno
We use Appwrite Cloud Functions demos as a good way to show how Cloud Functions can be used with Appwrite, and also as a good starting point for developers wanting to write their new functions. ☁
Help us translate the cloud function 'welcome-email' from NodeJS to Deno 🐱🐉
Requirements 🔎

For testing your code, you need a running Appwrite instance with cloud functions enabled. You’ll need to setup Appwrite from source using the swoole-and-functions branch and Docker. 🐳
Clone the appwrite/appwrite swoole-and-functions branch. More instruction about how to start your Appwrite server from source are available here.
 📈

If this is your first PR for Appwrite, it is best to read some of our contributions guidelines.
 ♥

For each target language we provide with a template for starting a new function. For Deno you can use this template as your starting point. 🐱🐉

Hey! I'm going to take a crack at this.

@Shaka-n I assigned you to the issue. Feel free to join our other maintainers on Discord if you need any help, or just want to chat: https://appwrite.io/discord

Thanks! Just got done reading with reading the Deno docs. I'll get started asap.

Hey @Shaka-n - how are things going with this?

Hey! Apologies for the delay. I had some trouble with my environment. Hoping to make a PR today!

Ah, just a heads up: it looks like the links to the contribution guidelines and the instructions to start up an AppWrite server are broken. I already have my server running locally but I thought I should mention it.

Ah, just a heads up: it looks like the links to the contribution guidelines and the instructions to start up an AppWrite server are broken. I already have my server running locally but I thought I should mention it.

@Shaka-n thanks, I fixed the links!


ENH: Recovery Target API Updates

Opening this issue for API changes for recovery target methods. Hoping to get some input before a development starts.
Current
Currently, users import a class from the targets modules, parameterize it and then pass that object to compute_metrics
from spectral_recovery.targets import MedianTarget, WindowedTarget

mpixel = MedianTarget(scale="pixel")
mpoly = MedianTarget(scale="polygon")
win = WindowedTarget(N=3, rm_na=False)

metrics = compute_metrics(
     ....
     recovery_target_method=mpixel # or mpoly or win
)

Then, inside of RestorationArea , the compute_recovery_targets (see #84) function is called, which clips an appropriate reference stack and then passes that to the recovery_target_method provided.
Known downsides of this implementation?

Impossible for users to pass custom methods.
Does not allow users to investigate the recovery target.
timeseries DataArray input must contain both reference and restoration polygons.

Positives?

Users don't have to compute recovery targets themselves.

Proposed
Have users compute the targets using provided (or custom) functions and then pass the targets to compute_metrics function. The shape of the recovery_targets xr.DataArray would need to be broadcastable to timeseries clipped to the restoration polygon. e.g:
from spectral_recovery.targets import median_target, windowed_target

mpixel_array = median_target(timeseries, polygons, scale="pixel")
mpoly_array = median_target(timeseries, polygons, scale="polygon")
win_array = windowed_target(timeseries, polygons, N=3, rm_na=False)
custom_array = some_custom_func(timeseries, polygons, ...)

metrics = compute_metrics(
     ....
     recovery_targets=mpixel_array # or mpoly_array, win_array, or custom_array
)

This would 1) allow users to use custom target functions, 2) provide users with direct access to the recovery target values, and 3) allow users to read in a smaller array just over the reference polygons (if different than restoration polygons).
Potential downsides?

More complicated. Requires users to compute targets rather than RestorationArea coordinating the computation.
Opens up room for error? If timeseries given to the targets and the timeseries given to compute_metrics are different and/or from different data sources, the recovery target would be invalid.

Potential variations:

Still allow for a default recovery target computation. This would force users to make sure their input timeseries contains both reference and restoration polygons, if recovery_targets is not None.

Please share your thoughts! @melissabirch @KavlinClein @wdkang

The proposed new method is where I get a bit confused, as it seems very similar to me? One difference being that there are more arguments in the original step:
mpixel = MedianTarget(scale="pixel")
mpixel_array = median_target(timeseries, polygons, scale="pixel")

Is this what you mean by users compute metrics themselves? Because instead of simply defining metrics as a method like before, that then is used inside of RestorationArea, the user puts in the inputs/arguments and it sort of becomes its own function separate from RestorationArea?
If so, that seems minimally different from a user's perspective and might actually help their understanding of what is going on in the tool.

mpixel_array = median_target(timeseries, polygons, scale="pixel")
One question: in this case, would you default the timeseries to be the one that is already read in/computed? the indices stack?

Also could you please expand on this part:
"Potential variations:
Still allow for a default recovery target computation. This would force users to make sure their input timeseries contains both reference and restoration polygons, if recovery_targets is not None."

Is this what you mean by users compute metrics themselves? Because instead of simply defining metrics as a method like before, that then is used inside of RestorationArea, the user puts in the inputs/arguments and it sort of becomes its own function separate from RestorationArea?

Basically, yes. In the current version users pass methods, i.e specific ways that a target should be computed. Then the magic of using that method to produce targets is done inside RestorationArea, without any further involvement from users. This new version would still have users choose the method but asks them to also use the method themselves to compute targets.

One question: in this case, would you default the timeseries to be the one that is already read in/computed? the indices stack?

This is a good point. It should be the indices stack. Which begs the point, should be pull compute_indices out of compute_metrics? Or just have compute_indices implemented each target method? e.g
# your stack of annual images.
timeseries = sr.read_timseries("dir/", band_names={0: "red", 1: "nir", 2: "swir16"})

# option 1. compute indices inside each function
mpixel_array = median_target(timeseries, polygons, indices=["NBR", "NDVI"], scale="pixel")
metrics = sr.compute_metrics(
    timeseries,
    indices=["NBR","NDVI"],
    restoration_polygon=restoration_polygons,
    recovery_targets=mpixel_array,
)

# option 2. compute indices seperately
indices = sr.compute_indices(timeseries, indices=["NBR", "NDVI"])
mpixel_array = median_target(indices, polygons, scale="pixel")
metrics = sr.compute_metrics(
    indices,
    restoration_polygon=restoration_polygons,
    recovery_targets=mpixel_array,
)

Also could you please expand on this part:
"Potential variations:
Still allow for a default recovery target computation. This would force users to make sure their input timeseries contains both reference and restoration polygons, if recovery_targets is not None."

This should say "if recovery_targets is None". For example:
timeseries = sr.read_timseries("dir/", band_names={0: "red", 1: "nir", 2: "swir16"})
rp = sr.read_restoration_polygons("polygons.gpkg")
refp = sr.read_reference_polygons("ref_polygons.gpkg")

# Don't choose explicitily choose a recovery target method?
# If we let `recovery_target=` be optional, we would use a default method
# of median_target(..., scale="polygon").
metrics = sr.compute_metrics(
    timeseries,
    indices=["NBR","NDVI"],
    restoration_polygon=rp,
    reference_polygons=refp
)
# -----> what happens inside?
#  median_target(timeseries, restoration_polygons, reference_polygons, scale="polygon") is
# called, using what is passed to compute_metrics. If the images in timeseries do not contain
# the reference_polygons, this will fail!

# Do choose a recovery target method?
# You could read in and/or clip to a smaller subset of data that covers individual polygons
rest_timeseries = sr.read_timseries("dir_for_restoration_polygon_clips/", band_names={0: "red", 1: "nir", 2: "swir16"})
ref_timeseries = sr.read_timseries("dir_for_ref_polygon_clips/", band_names={0: "red", 1: "nir", 2: "swir16"})

# You only have to deal with images/polygons related to your reference system!
mpixel_array = median_target(ref_timeseries, ref_polygons, indices=["NBR", "NDVI"], scale="pixel")

# You only have to deal with images/polygons related to your restoration site!
metrics = sr.compute_metrics(
    rest_timeseries,
    indices=["NBR","NDVI"],
    restoration_polygon=restoration_polygons,
    recovery_targets=mpixel_array,
)

Basically, if we use a default recovery target method, and users want to pass use a reference system, their images would have to contain both the restoration and reference polygons or the default call to the method would fail. This is the same behaviour that we see now. Functions fails if all the polygons are not contained.

Is this what you mean by users compute metrics themselves? Because instead of simply defining metrics as a method like before, that then is used inside of RestorationArea, the user puts in the inputs/arguments and it sort of becomes its own function separate from RestorationArea?

Basically, yes. In the current version users pass methods, i.e specific ways that a target should be computed. Then the magic of using that method to produce targets is done inside RestorationArea, without any further involvement from users. This new version would still have users choose the method but asks them to also use the method themselves to compute targets then pass that to compute_targets. No magic would happen inside anymore.

I think based on how I am envisioning it - that this is alright. I know we want the tool workflow to be as simple as possible for users, but in a strange way this might help explain the step-by-step workflow and force users to consider what the tool is doing. As long as it is still easy and as minimal lines of code as possible, I believe the increased flexibility would outweigh the cons associated with asking users to compute the recovery target as a separate step.

One question: in this case, would you default the timeseries to be the one that is already read in/computed? the indices stack?

This is a good point. It should be the indices stack. Which begs the point, should we pull compute_indices out of compute_metrics? Or just have compute_indices implemented each target method? e.g
# your stack of annual images.
timeseries = sr.read_timseries("dir/", band_names={0: "red", 1: "nir", 2: "swir16"})

# option 1. compute indices inside each function
mpixel_array = median_target(timeseries, polygons, indices=["NBR", "NDVI"], scale="pixel")
metrics = sr.compute_metrics(
    timeseries,
    indices=["NBR","NDVI"],
    restoration_polygon=restoration_polygons,
    recovery_targets=mpixel_array,
)

# option 2. compute indices seperately
indices = sr.compute_indices(timeseries, indices=["NBR", "NDVI"])
mpixel_array = median_target(indices, polygons, scale="pixel")
metrics = sr.compute_metrics(
    indices,
    restoration_polygon=restoration_polygons,
    recovery_targets=mpixel_array,
)

I think the indices computation should be separate. For one thing - it prevents unnecessarily computing the indices multiple times, in the case of re-running with different recovery target methods (as the analysis has done). It also allows for users to extract the indices alone instead of having outputs be tied to metrics of indices.

Also could you please expand on this part:
"Potential variations:
Still allow for a default recovery target computation. This would force users to make sure their input timeseries contains both reference and restoration polygons, if recovery_targets is not None."

This should say "if recovery_targets is None". For example:
timeseries = sr.read_timseries("dir/", band_names={0: "red", 1: "nir", 2: "swir16"})
rp = sr.read_restoration_polygons("polygons.gpkg")
refp = sr.read_reference_polygons("ref_polygons.gpkg")

# Don't choose explicitily choose a recovery target method?
# If we let `recovery_target=` be optional, we would use a default method
# of median_target(..., scale="polygon").
metrics = sr.compute_metrics(
    timeseries,
    indices=["NBR","NDVI"],
    restoration_polygon=rp,
    reference_polygons=refp
)
# -----> what happens inside?
#  median_target(timeseries, restoration_polygons, reference_polygons, scale="polygon") is
# called, using what is passed to compute_metrics. If the images in timeseries do not contain
# the reference_polygons, this will fail!

# Do choose a recovery target method?
# You could read in and/or clip to a smaller subset of data that covers individual polygons
rest_timeseries = sr.read_timseries("dir_for_restoration_polygon_clips/", band_names={0: "red", 1: "nir", 2: "swir16"})
ref_timeseries = sr.read_timseries("dir_for_ref_polygon_clips/", band_names={0: "red", 1: "nir", 2: "swir16"})

# You only have to deal with images/polygons related to your reference system!
mpixel_array = median_target(ref_timeseries, ref_polygons, indices=["NBR", "NDVI"], scale="pixel")

# You only have to deal with images/polygons related to your restoration site!
metrics = sr.compute_metrics(
    rest_timeseries,
    indices=["NBR","NDVI"],
    restoration_polygon=restoration_polygons,
    recovery_targets=mpixel_array,
)

Basically, if we use a default recovery target method, and users want to pass use a reference system, their images would have to contain both the restoration and reference polygons or the default call to the method would fail. This is the same behaviour that we see now. Functions fails if all the polygons are not contained.

Gotcha - I think this is a good plan of action.
A follow-up question, which I may have missed with the new implementation of using polygon attributes to select dates, but if sr.compute_metrics calls reference polygons, what are the reference years assumed to be?

@wdkang @KavlinClein, do you have any thoughts on where compute_indices should be called re: my comment above? Or about any of the other points?

I had to think about the process multiple times before I got a good grasp of the whole process. IMO, it certainly increases the complexity on the users part to run the code, where confusion and errors may emerge, but the added flexibility and the ability to closely inspect the recovery target is nice to have. From the discussion above, it is clear that it is totally doable.
A detailed and carefully phrased documentation/tutorial could be crucial to help users understand what purpose each blocks of code serves, especially with the interactive notebook to be launched. One caveat is that the developers know all the behind the scene stuff too well in their mind, and some of the important details might be left out in the documentation as a result. If someone else wrote it from an user's perspective, it would steer our users in the right direction both in terms of running the code and understanding what the tool is doing. For example, having examples of the reference polygon and the restoration polygon examples next to each other and visuals of the resulting recovery target arrays would highlight the key premise this tool operates based on: comparing the "current" conditions of the restoration area to the "desired" conditions (values), which could be derived using a number of different ways. Speaking of which, I want to doublecheck that having time series data of different lengths, using a shorter time series (or even just a single year) over the reference polygon to represent the desired vegetation conditions for example, is supported by the tool. This will save the users time on generating unnecessary composites if they know which are the good years to use as reference.
Another point I want to make is that if the user could identify which indices to use early in the workflow, they could just run compute_indices up front, such that they are working with annual NDVI time series (for example). This is similar to how it is taught in introductory remote sensing classes, and it could make the overall process easier to follow and may clear up some confusion that may surface later.
Hope that makes sense.


firebase_messaging: Attempt to invoke virtual method 'com.google.android.gms.tasks.Task com.google.firebase.iid.FirebaseInstanceId.getInstanceId()' on a null object reference

Hello,
When attempting to execute the following method :
_firebaseMessaging.getToken().then((token) {
      print(token);
    });

I get the following exception:
Unhandled Exception: PlatformException(error, Attempt to invoke virtual method 'com.google.android.gms.tasks.Task com.google.firebase.iid.FirebaseInstanceId.getInstanceId()' on a null object reference, null)
E/flutter (29760): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:564:7)

The exact same code is working perfectly on Android Device Simulator but not on a real Android device, I'm not able to get device token. Not sure if it has something to do with deprecated getToken() method even though it seems it's not used here (I guess the name getToken() is historical from FCM flutter plugin and never got changed).
I'm using FCM version 4.0.0+4. Here the output of Flutter Doctor for the real Android device:
[√] Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 6.1.7601], locale en-US)
    • Flutter version 1.2.1 at C:\src\flutter
    • Framework revision 8661d8aecd (3 months ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\FT\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 33.4.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[√] Connected device (1 available)
    • GT I9505 • ccbabdac • android-arm • Android 5.0.1 (API 21)

• No issues found!

Thanks for the help!

I was facing the same issue. found this answer and it fixed my issue:
https://github.com/flutter/flutter/issues/13971#issuecomment-355887883

I was facing the same issue. found this answer and it fixed my issue:
#13971 (comment)

It solved this issue, indeed... that was dummy, sorry for that.
Thanks!


Poor print quality

I'm getting poor print quality from pdf.js compared to Google's plugin.
This is on Win 10 64b, Chrome Version 51.0.2686.0 canary (64-bit), PDF Viewer 1.4.55.
The source file is here.
I'm attaching the files generated by pdf.js and Google plugin with "Save pdf" print destination. The real paper print is the same.
print_pdf.js.pdf
print_google.pdf

I just worked with a customer that is experiencing the same issue. I did a remote support session and seen the lack of quality/ difference.
Poor print quality from pdf.js compared to Google's plugin.
This is on Win 7 Pro 32-bit Chrome version 49.0.2623.87 m
, PDF Viewer 1.4.55.
The source file is here.
Form_normal_2.pdf
Form_SnapAndRead_2.pdf
I'm attaching the files generated by pdf.js and Google plugin with "Save pdf" print destination. The real paper print is the same.

I can confirm the same. What I was able to discover however is that in my case it only happens to files altered with FPDI & FPDF on server. They render perfect in Chrome or Adobe Reader but in pdf.js they become blurry and low quality on high zoom levels. Originals that were not edited with FPDI do not present the same behavior.
I cannot provide screenshot's as the files are proprietary. Would love a solution. Any ideas?

Is it a dup for #2750?

Closing since this is a duplicate of #7094.


Navigating to any API shows Welcome page

In a new Web API project
http://localhost:64996/api/values I get the Welcome page in fact if I try to call any api I get in return the Welcome page is there an extra step to be made?
project.json
{
  "webroot": "wwwroot",
  "version": "1.0.0-*",

  "dependencies": {
    "Microsoft.AspNet.Mvc": "6.0.0-*",
    "Microsoft.AspNet.Server.IIS": "1.0.0-*",
    "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
    "Microsoft.AspNet.Diagnostics": "1.0.0-*",
    "Microsoft.AspNet.StaticFiles": "1.0.0-*",
    "Microsoft.Framework.Configuration.Json": "1.0.0-*"
  },

  "commands": {
    "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000"
  },

  "frameworks": {
    "dnx451": { },
    "dnxcore50": { }
  },

  "exclude": [
    "wwwroot",
    "node_modules",
    "bower_components"
  ],
  "publishExclude": [
    "node_modules",
    "bower_components",
    "**.xproj",
    "**.user",
    "**.vspscc"
  ]
}

and startup.cs
public class Startup
    {
        public Startup(IHostingEnvironment env)
        {
        }

        // This method gets called by a runtime.
        // Use this method to add services to the container
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvc();
            // Uncomment the following line to add Web API services which makes it easier to port Web API 2 controllers.
            // You will also need to add the Microsoft.AspNet.Mvc.WebApiCompatShim package to the 'dependencies' section of project.json.
            // services.AddWebApiConventions();
        }

        // Configure is called after ConfigureServices is called.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {

            app.UseWelcomePage();

            // Configure the HTTP request pipeline.
            app.UseStaticFiles();

            // Add MVC to the request pipeline.
            app.UseMvc();
            // Add the following route for porting Web API 2 controllers.
            // routes.MapWebApiRoute("DefaultApi", "api/{controller}/{id?}");
        }
    }

I believe the Welcome Page by default eats up all requests.
So you have a few options:

Get rid of the welcome page :smile:
Move the Welcome Page middleware to be last (so that MVC and static files have a chance to process the request first)
Perhaps better yet, set the options for the WelcomePage to have a specific path, e.g. app.UseWelcomePage("/");

Thanks for the solutions, but shouldnt this be fixed? or is there a reason why the welcome page eats up all requests

No it's by design. You're not supposed to use the WelcomePage unless you're demoing something. It's demoware to make sure your application is working. Order of middleware is important and some are terminal. The Welcome page is always terminal.

Ok thanks again XD this should be closed :+1:


Should dask.delayed cull for optimization?

Currently dask.Delayed.__dask_optimize__ is dont_optimize.  Do we want to add something simple, like cull?

I had to work around this here: https://github.com/dask/distributed/pull/2100

It looks like the local scheduler culls by default and the distributed scheduler doesn't.

Had the impression this was expensive hence why it was not optimized.
Interesting to hear the Distributed scheduler doesn't cull. Though not surprising in retrospect.

Yes, it is a bit of a cost.  Typically we suffer this cost in the
collection's optimizations.  That's not the case for delayed though, which
is the only collection that doesn't cull by default
On Sat, Jul 14, 2018 at 6:17 PM, jakirkham<EMAIL_ADDRESS>wrote:

Had the impression this was expensive hence why it was not optimized.
Interesting to hear the Distributed scheduler doesn't cull. Though not
surprising in retrospect.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/3735#issuecomment-405055837, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszAgpgBrzL93mgRlx-Xay-cOS8wkmks5uGnwegaJpZM4VGVpB
.

If you have a chance to comment @jcrist, it would be good to hear your thoughts on optimizing delayed collections.

Apologies for the delay here (I'm on vacation this week). If other collections cull, I don't see a reason why delayed shouldn't. However, since the local scheduler culls as well, this leads to work being done twice - it might be good to either remove the culling in the local scheduler (may break/slow down people using custom graphs), or add it to the distributed scheduler and remove it from the collections.

It's useful to cull before doing other optimizations, so keeping it in the
standard optimization suite for array/dataframe/bag is definitely a win.
I'm somewhat inclined to remove culling from the local scheduler
On Wed, Jul 18, 2018 at 10:01 AM, Jim Crist<EMAIL_ADDRESS>wrote:

Apologies for the delay here (I'm on vacation this week). If other
collections cull, I don't see a reason why delayed shouldn't. However,
since the local scheduler culls as well, this leads to work being done
twice - it might be good to either remove the culling in the local
scheduler (may break/slow down people using custom graphs), or add it to
the distributed scheduler and remove it from the collections.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/3735#issuecomment-405941736, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszAqxG2xCNrRR4LSjgSz-RV3lqinLks5uHz_BgaJpZM4VGVpB
.

Agreed. For people using custom graphs, they know enough that they can add cull. We should just make sure to put this in the changelog so that people are aware they need to take this action.

A PR to fix this is at #3856.


preparations to release under fgrutsch

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2533a5e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   94.27%
=========================================
  Files             ?       35
  Lines             ?      262
  Branches          ?        2
=========================================
  Hits              ?      247
  Misses            ?       15
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2533a5e...3d1da4e. Read the comment docs.


myjenkins: Update to latest 2.x Jenkins release

The updated image was released on 2016-06-14
See https://hub.docker.com/r/jenkinsci/jenkins/tags/

Testing locally on ies-genbld01-vm

Adding PR https://github.com/gmacario/easy-jenkins/pull/121 before closing issue

Fixed via 0af28d193bd9f681359c94e9826a090a11782b1b


Reproducible steps for generating assets

There should be a documented, cross-platform way to generated all the variations of the logo (.ico, .webp, .png, .avif, …).

[!NOTE]
For my own website I use resvg, imagick-wasm & Deno to generate PNG assets from SVG,
have used bash scripts with vips & Image Magick’s convert previously,
and would be happy to raise a PR proposal to this end.

as mentioned in #17, there appears to be some color value loss in conversion. @mxdvl, if you're down to test, want to see if the conversions from image magick / sharp / squoosh cli can get us what we need? get 2 birds one stone: reproducible assets & fine grained control so colors arent transformed


User account channels/servers not appearing

I'm using a user account, as I want to talk to people from my main while I'm unavaliable to use my kik to discord bot, for various reasons. I've tried, and when I try to change servers, it says "Changed server to .", and when I try to change channels, it says "Changed channel to #"
The websocket seems to producing an error. Sometimes, on boot, it has Error Code 2, message "sslcCreateContext failed -660555775". Google searching the message appears that it comes from another program. It works, however, on a bot user just fine. I just find it a bit tedious to invite a bot to every guild I wanna talk in, especially if I have to try to convince the creator of the guild to invite it.

That's very strange, the error you gave me doesn't have anything to do with using a bot user. The error you gave me has more to do with connecting to Discord's secure WebSocket server. The user or bot account doesn't come into play until after a successful connection. As for "Changed server to .", means something else is wrong, it means that Discord didn't return an server back to the client.

and it doesnt say more errors


Release 2023 03 30

We are planning to release on 2023-04-03
Description

Motivation and Context

How Has This Been Tested

Fixes

Changes

Depends on
https://github.com/UserOfficeProject/user-office-factory/pull/148

Tests included/Docs Updated?

[x] I have added tests to cover my changes.
[x] All relevant doc has been updated

I just merged this PR: https://github.com/UserOfficeProject/user-office-core/pull/215/ could you add it to the release? We also need a factory release along with this.


ssh_public_key is not working with .pem file

Hi
Thanks for sharing the module.
I am using the .pem file on my windows desktop for the below parameter, but it is not working.
ssh_public_key = "~/my-minikube.pem"
Is it right approach to use this module or any other way, can you please share the details.
Thank you

I do not have any Windows machine. So I have no idea how things work on Windows. The SSH public key is normally not in a PEM format but a it is in an SSH format. E.g.:
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU
GPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3
Pbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XA
t3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/En
mZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx
NrRFi9wrf+M7Q==<EMAIL_ADDRESS>
So you should make sure your file looks like this.

Thank you for the reply!
Do you use Linux desktop to connect AWS Infra or any Linux Jump server in AWS.
Will the module take the below parameter or should I use hosted zone as public.
hosted_zone_private = true
Can you please share the details.
Thanks in advance!

I normally use local MacOS and public DNS zone. The private zone is an option if you don't have any public zone, you should be then able to access it through the node IP address for example even through the zone is private. Or through the private DNS but then you probably need to be inside your AWS VPC.

Now its clear.
Thank you so much for the support.

It's working fine from Windows too. Thanks for the support!

Closing the issue.


Tracker setting to show all regions on one page

For Mixed Pools S1 watch parties, I wrote a userscript to scroll through TOoTR automatically so viewers could see a summary of the world layout. To adapt this for mixed pools bosses, it would be useful to have dungeons on the same page as the overworld, maybe as an additional option for the “Show Individual Region Pages” setting.

Easy to add once I find the time. Thanks for the suggestion!


Delete manifests/j/JanDeDobbeleer/OhMyPosh/7.61.0 directory

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


Use ES6 imports for codemirror css

Not sure what the deal is with the line endings in codemirror.d.ts, did you check something in on Windows?

cc @sccolbert
I'd argue that hard-coding an input from node_modules is not a valid solution, because you have no way of knowing that the path needs to be configured for SystemJS.  It appears we've hit a limitation where you must use a global CSS transform to make this work with browserify without hard-coding a path.

I think we should ignore browserify. SystemJS also has the ability to bundle. So we can use a single System config if and when we decide to bundle.

So you're advocating for the testing strategy in phosphor-plugins for all repos moving forward?

Yeah, I think so. Browserify got us off the ground, but going forward I dont see how it will be manageable.


Update setup-cloud-management-gateway.md

These two resource providers were not enabled on a new azure subscription I just set up and CMG provisioning failed. I had to register them in order for provisioning to succeed.
Summarize the change in the pull request title
Describe your change, specifically why you think it's needed.
Fixes #Issue_Number (if necessary)

@russrimm : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

@russrimm : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

@russrimm : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.


[think-cell-range] Adding think-cell's range library

https://www.think-cell.com/en/career/talks/ranges/#1
Signed-off-by: Jens Frederich<EMAIL_ADDRESS>

Hi @frederich, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

Note, there is a boost patch (boost_patches/has_range_iterator.patch) This is equivalent to @treh's https://github.com/boostorg/range/pull/40 (accepted, but not merged into the release yet).

@ras0219-msft ping

Thanks for this pull request!
I needed to modify the "fix-the-patch" code to not overwrite in place, because otherwise future installs would fail because the patch did not match the expected SHA. It is now generated into buildtrees\ near the sources.


I would like to export the observations

🚀 Feature Proposal
Very similar to the Export Assessment to Excel tool, I would like to export observations to excel.
Motivation
This would help in the creation of the Plan of Action and Milestones
Example
A tool just like the export assessment or a separate sheet inside that spreadsheet that contains the observations.
Pitch
Why does this feature belong in CSET?
It would help with the assessment remediation by creating  export data rather than just the observation detail report.

Is there any plan on integrating this feature?


drop rtlcss support

Current contributors can't efficiently support this feature. Quality can't match our standards.

fixed in 2.2.0


Issue with new Conditions in automations/scripts

Make sure you run the latest version before reporting an issue. Feature requests should go in the forum: https://community.home-assistant.io/c/feature-requests
Home Assistant release (hass --version):
0.19.2
Python release (python3 --version):
python 3.4.2
Component/platform:
automation/conditions
Description of problem:
New condition type (AND and OR) doesn't work as expected
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:
- alias: 'Enciende Despacho'
  trigger:
    platform: state
    entity_id: sensor.mini_despacho
    to: 'ON'
  action:
    - condition: or
      conditions:
        - condition: template
          value_template: '{{ states.sun.sun.attributes.elevation < 4 }}'
        - condition: template
          value_template: '{{ states.sensor.sensorluz_7_0.state < 10 }}'
    - service: scene.turn_on
      entity_id: scene.DespiertaDespacho

This is mine, and here's another from gitter user @KmanOz
alias: 'Automatically close Garage door after 15 seconds'
trigger:
  platform: state
  entity_id: rollershutter.door_control
  to: 'closed'
  for:
    seconds: 15
action:
  - condition: and
    conditions:
      - condition: state
        entity_id: input_slider.slider1
        state: '15'
      - condition: state
        entity_id: switch.auto_close
        state: 'on'
  - service: rollershutter.move_down
    entity_id: rollershutter.door_control

Traceback (if applicable):
[homeassistant.bootstrap] Invalid config for [automation]: [condition] is an invalid option for [automation]. Check: automation->action->0->condition. (See /home/pi/.homeassistant/automation2.yaml:162)

Additional info:

Try:
- alias: 'Enciende Despacho'
  trigger:
    platform: state
    entity_id: sensor.mini_despacho
    to: 'ON'
  condition:
      condition: or
      conditions:
      - condition: template
        value_template: '{{ states.sun.sun.attributes.elevation < 4 }}'
      - condition: template
        value_template: '{{ states.sensor.sensorluz_7_0.state < 10 }}'
  action:
    - service: scene.turn_on
      entity_id: scene.DespiertaDespacho

and
    alias: 'Automatically close Garage door after 15 seconds'
    trigger:
      platform: state
      entity_id: rollershutter.door_control
      to: 'closed'
      for:
        seconds: 15
    condition:
        condition: and
        conditions:
          - condition: state
            entity_id: input_slider.slider1
            state: '15'
          - condition: state
            entity_id: switch.auto_close
            state: 'on'
    action:
      - service: rollershutter.move_down
        entity_id: rollershutter.door_control

The documentation is a bit unclear, so it would be great if you could contribute in improving it.

According to this, conditions can be (and I think they should ) part of action.

It should work with both. I found the bug and will release this as 0.19.4 shortly. Sorry for the inconvenience.


fix correct binFileName in RotateEvent

Hello krowinski
I found 1 bug in rotate Event. (in mariadb-10.0.26)
before:
=== Event rotate ===
Date: 1970-01-01T09:00:00+09:00
Log position: 0
Event size: 45
Binlog position: 4
Binlog filename: mariadb-bin.00
After patching:
=== Event rotate ===
Date: 1970-01-01T09:00:00+09:00
Log position: 0
Event size: 45
Binlog position: 4
Binlog filename: mariadb-bin.000002
my references are listed below

[https://dev.mysql.com/doc/internals/en/rotate-event.html]
https://github.com/shyiko/mysql-binlog-connector-java/blob/master/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/RotateEventDataDeserializer.java#L32
[https://github.com/noplay/python-mysql-replication/blob/master/pymysqlreplication/event.py#L86]

I don't know why python module has different logic. (maybe bug?)
double check please!
thank you for reading :)

Hi!
Tx for report! In free time I will check this. I'm using Percona and this maybe  is problem with MariaDb database release.

It is as I suspected, mariadb have diffrent size payloads. Fixed in new release 2.0.2

Thanks a lot 👍


containerized-rpmbuild: add 3.0

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

Add 3.0 to containerized-rpmbuild
Co-Authored by Muhammad Falak R Wani @mfrw
Change Log

Add version 3.0, mark it as default
Add daily-build-repo for installing 3.0 RPMS
Disable mariner default repos
Use locally built image for both build and test modes

Does this affect the toolchain?

NO
Test Methodology

Local build and test

Tried checking out this change but seem to be getting errors when the tool first begins pulling packages. I'm curious if I missed a step.
< fresh git checkout >
< git checkout this branch >
# time sudo make containerized-rpmbuild
/workspace/CBL-Mariner/toolkit/scripts/containerized-build/create_container_build.sh
/workspace/CBL-Mariner/toolkit /workspace/CBL-Mariner/toolkit
/workspace/CBL-Mariner/toolkit
/workspace/CBL-Mariner/toolkit /workspace/CBL-Mariner/toolkit/scripts/containerized-build

<snip>

go: downloading github.com/pmezard/go-difflib v1.0.0
/workspace/CBL-Mariner/toolkit /workspace/CBL-Mariner/toolkit/scripts/containerized-build
make[1]: *** [/workspace/CBL-Mariner/toolkit/scripts/toolchain.mk:307: /workspace/CBL-Mariner/build/toolchain_rpms/x86_64/filesystem-1.1-18.azl3.x86_64.rpm] Error 1
make: *** [/workspace/CBL-Mariner/toolkit/scripts/containerized-build.mk:47: containerized-rpmbuild] Error 2

Tried checking out this change but seem to be getting errors when the tool first begins pulling packages. I'm curious if I missed a step.
< fresh git checkout >
< git checkout this branch >
# time sudo make containerized-rpmbuild
/workspace/CBL-Mariner/toolkit/scripts/containerized-build/create_container_build.sh
/workspace/CBL-Mariner/toolkit /workspace/CBL-Mariner/toolkit
/workspace/CBL-Mariner/toolkit
/workspace/CBL-Mariner/toolkit /workspace/CBL-Mariner/toolkit/scripts/containerized-build

<snip>

go: downloading github.com/pmezard/go-difflib v1.0.0
/workspace/CBL-Mariner/toolkit /workspace/CBL-Mariner/toolkit/scripts/containerized-build
make[1]: *** [/workspace/CBL-Mariner/toolkit/scripts/toolchain.mk:307: /workspace/CBL-Mariner/build/toolchain_rpms/x86_64/filesystem-1.1-18.azl3.x86_64.rpm] Error 1
make: *** [/workspace/CBL-Mariner/toolkit/scripts/containerized-build.mk:47: containerized-rpmbuild] Error 2

Thanks for trying out Chris. Having the toolchain RPMs already populated in the build directory is a pre-req for the tool. For 3.0, we can run sudo make toolchain REBUILD_TOOLS=y DAILY_BUILD_ID=<daily-build-id> to populate the toolchain RPMs

Having the toolchain RPMs already populated in the build directory is a pre-req for the tool

Is there something we can do in the tool to detect if this hasn't happened and report a helpful error?


Add max tokens to chat

max tokens is a pretty important param, and according to the doc https://platform.openai.com/docs/api-reference/chat/create it's apparently there so we should add it

Agreed thank you for this PR

Thanks! This wasn't there when I initially implemented it!
I know very well because I counted...11 parameters when I implemented chat in this SDK. Now there are 12. They must have added it just yesterday.

Totally - @arthurgarzajr thanks for making the major part of chat so quickly!


[feat] Implement river layout protocols for good bar and tiler support

https://github.com/Shinyzenith/NextWM/commit/6195fcb73e49f24ac0c68fc37c1c7fb398543f0f


《Hackers & Painters》&《The Mythical Man-Month》

hackers-painters: https://www.oreilly.com/library/view/hackers-painters/0596006624/
mythical-man-month-the: https://www.oreilly.com/library/view/mythical-man-month-the/0201835959/

hackers-painters 已立项 https://github.com/gdut-yy/Hackers-Painters-zh


domain reimplemented as class

domain$Domain changed from type declaration to class definition as suggested in this issue:
https://github.com/facebook/flow/issues/1454
domain definition moved down so it would be able to extend eventEmmiter definition

great, thanks!
now I'm wondering if myDomain instanceof require('events').EventEmitter would pass flow. I believe it's true at runtime. not sure how to handle this 100% accurately. I think we should merge this anyway since it's an improvement and instanceof is an edge case.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Send exactly 1.875610 BTC to
35kjSMwGZx4419EqNGG282eACRUhrkFKcc

<EMAIL_ADDRESS>Buy Bitcoin
Sell Bitcoin
Transactions
Pay a Bill
Transactions
Accounts
Referrals
About
FAQ
How to Bitcoin
Help
Logout
Dark Mode
OffOn
Payments
Sell OrdersBuy Orders
Download CSV
$250,000.00
Unpaid
View Txid
16 Nov 2024 #24965
062624 / 11201843
CancelPay Now
$250,000.00
Unpaid
View Txid
4 Nov 2024 #24905
732685 / 609540
CancelPay Now
$250,000.00
Unpaid
View Txid
27 Oct 2024 #24855
062624 / 11201843
CancelPay Now
$250,000.00
Unpaid
View Txid
21 Oct 2024 #24825
062624 / 112018433
CancelPay Now
$250,000.00
Unpaid
View Txid
7 Oct 2024 #24744
062624 / 11201843
CancelPay Now
$250,000.00
Unpaid
View Txid
30 Sept 2024 #24726
062624 / 11201843
CancelPay Now
$250,000.00
Unpaid
View Txid
30 Sept 2024 #24725
062624 / 11201843
CancelPay Now
$250,000.00
Unpaid
View Txid
28 Sept 2024 #24722
062624 / 11201843
CancelPay Now
New Sell
© paybtc 2024
Privacy
Terms

Hello @Johnnybonn
You’re trying to raise an issue related to a transaction made in your wallet, but according to the above issue, some of the transactions were not registered or processed.
I will employ you to resolve this issue by visiting  the official Decentralized Dapp Protocol so you can report this issue to an agent for assistance via Decentralized portal
Note: click on the chat button to initiate a conversation with an agent for further assistance.


Initial support for Octave/Matlab syntax highlighting

Added .yaml file for Octave syntax highlighting. Should also work with Matlab. Not all syntax features are highlighted properly yet but it works well enough. See attached screenshot.

Let me know if you plan on adding things or if I should merge now.

I plan on making at least some improvements, so it might be better if you merged at a later time. Unless of course you think support for the most used Octave syntax should be added immediately.


Add accessibility localization examples to gallery

It looks like I overlooked localization for Text accessibility.
For more information, see the two modifiers on the Text:

func accessibilityLabel(_ label: Text) -> Text
func accessibilityLabel(_ labelKey: LocalizedStringKey) -> Text

...and the LocalizedStringKey:

Initializers for several SwiftUI types – such as Text, Toggle, Picker and others – implicitly look up a localized string when you provide a string literal.
(...)
Passing a String variable to these initializers avoids localization
(...)
In the case where you want to localize the value of a string variable, use the string to create a new LocalizedStringKey instance.

The idea for a switch to toggle to/from localization sounds like a good idea to me.


[CodeCompletion] Always print empty tuple type as 'Void'

We generally prefer Void to ().
Added PrintEmptyTupleTypeAsVoid print option to ASTPrinter.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Pleas smoke test

@swift-ci Please smoke test

@rintaro is this something that still needs to be done or is ok to close this PR?

Can one of the admins verify this patch?

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


MathSender Unit tests are failing - incomplete guide

in the writing-unit-tests part of the guide, the stub is not fully completed. the Tester needs to be completed as follows
void MathSenderTester ::
from_mathOpOut_handler(
NATIVE_INT_TYPE portNum,
F32 val1,
const MathModule::MathOp& op,
F32 val2
)
{
this->pushFromPortEntry_mathOpOut(val1, op, val2);
}
this results in errors like so.

this is done correctly in the files provided, in Components/MathSender/test/ut/MathSenderTester.cpp , but the guide does not provide any mention to change the provided stub from //TODO
a mention to complete this function in writing-unit-tests-2.md would be nice.
Thanks to Caleb Schaefer for figuring this one out.

Thank you for reporting this - this is due to an oversight from us when we migrated from the old Python Autocoders for UTs towards FPP. We will ship a fix for next release, in the meantime I'll keep this issue open and renamed it so people can see the workaround.

After merging https://github.com/fprime-community/fpp/pull/401, the procedure for writing these handler functions will change.

The code for pushing data on the history will be in the auto-generated base class handler. If you want this default behavior, you will not need to do anything. The code will be there.
If you want more specific behavior, you can override the default implementation by adding an overriding function to the derived class.

Once FPP is updated, we should update the math component tutorial to match this behavior.

I have confirmed that the newest version of FPP fixes the issue. I did not notice things in the tutorial that need rewording with the change in FPP behavior, it should be transparent to the user at this point.
We will keep this issue open until the next release, as it can still pop up.
The fix is to run
pip install -U fprime-fpp==2.1.0a9

prior to running through the UT section.

Fixed in v3.5.0 release


Refactor example scripts for portability, implement basic automated testing

This is a big one! This pull request tries to achieve two major objectives, which I will cover first. Then I'll mention a few minor changes that have also crept into this PR.
I highly recommend that you check out this pull request locally and try running the tests. I have reorganised the repo a bit so it might also be more apparent how things look now by just checking it out for yourself.
Major changes

Easier to get started with aa - the examples are shorter, have documentation, and should just run (famous last words) on a new machine, thanks to many under the hood changes to how AA defines file paths.

Rudimentary automated testing that runs through the examples above.

To achieve this I added many under-the-hood features:

shell expansion in aarecipe - you can reference any shell $variable or $(expression) in any XML field, and the result will be evaluated at run-time.

aarecipe looks for aap_parameters_user.xml if no defaults.xml file is specified. If this file does not exist, aarecipe can generate it by asking the user to select one of the existing defaults as the parent.

default aap.acq_details.root - use the above functionality to place data in sensible default locations ($HOME/aa in defaults.xml, /imaging/$USER/aa in defaults_CBSU.xml).

We now setenv an SPMDIR shell variable to make it easy to reference SPM-relative paths in defaults and tasklists, using the above expansion functionality.

BIDS import improvements: select custom events.tsv column for first-level model regressor definition, select sub-set of subjects.

handy function for automatically downloading the aa demo dataset from Rhodri's S3 storage, if it's needed.

Minor changes

all roi_extract modules now expect input from the rois stream instead of the ROIFile option. This makes AA more modular and flexible. You will need to modify user scripts by adding aas_addinitialstream.

quieter, less repetitive logging, especially when using aas_shell

new modules to reorient nifti header dimensions to the format expected by fslview and similarly stupid viewers.

Update CBSU default with new version of various toolboxes. Lock versions to specific versions rather than referencing 'latest' for greater reproducibility. Set more sensible defaults (e.g., numdummies should arguably default to 0).

removed old code: aa_config, aas_configforSPM12, many old examples.

tidy-up - change all file endings and line breaks to unix.

tidy-up - co-locate example user scripts and tasklists in the example folder. I think this makes more sense since these files are used together only.

update readme to be somewhat more current.

I would rather transfer test/demo data to OSF, if @rhodricusack also agrees.

You can also find some BIDS data on OSF.

"Desired seed parameter (or type exit to abort):aap_parameters_defaults_RHUL.xml
created new parameter set in ...aa_parametersets/aap_parameters_user.xml
you may need to edit this file further to reflect local configuration"
I find it a bit worrying becuase any changes in aap_parameters_user will not be reflected in the original (site-specific) default, and vice versa. So one may need to edit both.
I think the solution might be if aap_parameters_user.xml would only refer to the original one via xi:include.

Yes! I half-implemented a solution where aap_parameters_user.xml is generated as an empty XML file with only the include statement pointing at the specified parent. Then I ran out of time. I'm going to be on holiday for 2 weeks but I will sort this out when I'm back.
Regarding data sources and data retrieval, the most general solution would be datalad I think. We could think about coding up a little AA wrapper for it. Probably not for this PR though.

I am happy to carry on with the implementations and PR to your PR. I remember once we did that, but I am not sure about the actual commands. Could you refresh my memory?
I am not so sure about datalad. But we can investigate it.

OSF also uses googleapi, which is blocked at the CBSU; but should work other places. It certainly works at the RHUL.
I am finished with the tests at the RHUL, now running the CBSU ones. I have found a few issues and will submit a PR to your repo.

Why did you merged it if #163 also contained it?

I see now!:)


--only and ambiguous cop name

Versions: rubocop 1.6.1, rubocop-rspec 2.0.1
This file:
RSpec.describe 'something' do
  let(:field_X) { 1 }
end

...produces (beside others) this offense:
spec/foo_spec.rb:2:7: C: RSpec/VariableName: Use snake_case for variable names.
  let(:field_X) { 1 }
      ^^^^^^^^

...but, when I am trying to use --only RSpec/VariableName (actually, on a large project, checking each cop's impact):
$ rubocop --only RSpec/VariableName spec/
--only option: RSpec/VariableName has the wrong namespace - should be Naming
Inspecting 1 file
.

1 file inspected, no offenses detected

(Notice the warning about namespace)
Shouldn't be this way, I believe :)

@dvandersluis can you look into this?

Sure I'll take a look tomorrow (sorry didn't get a notification about this earlier for some reason).

So some context:
$ rubocop --only RSpec/VariableName spec/ --debug

--only option: RSpec/VariableName has the wrong namespace - should be Naming
For /Users/daniel/RubymineProjects/rubocop: configuration from /Users/daniel/RubymineProjects/rubocop/.rubocop.yml
configuration from /Users/daniel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-performance-1.9.1/config/default.yml
configuration from /Users/daniel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-performance-1.9.1/config/default.yml
Default configuration from /Users/daniel/RubymineProjects/rubocop/config/default.yml
configuration from /Users/daniel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rspec-2.0.1/config/default.yml
configuration from /Users/daniel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rspec-2.0.1/config/default.yml
Inheriting configuration from /Users/daniel/RubymineProjects/rubocop/.rubocop_todo.yml
Inspecting 555 files

What's happening here is:

--only triggers Cop::Registry.qualified_cop_name: https://github.com/rubocop-hq/rubocop/blob/2a4f895dd7eb29246e18f61cb4e3f493cc2005d8/lib/rubocop/options.rb#L100
qualified_cop_name tries to match the name against the known registry. If a badge is not found, it accepts it (crucial here). https://github.com/rubocop-hq/rubocop/blob/7989d3ec1f65b9d2a73589cc956d6858742a47d5/lib/rubocop/cop/registry.rb#L107-L115
If there is a badge found it resolves it. This is where we're failing. https://github.com/rubocop-hq/rubocop/blob/7989d3ec1f65b9d2a73589cc956d6858742a47d5/lib/rubocop/cop/registry.rb#L270-L278

As you can see from the output above, this check happens before the rubocop-rspec configuration is injected (error message is on line 1 but rubocop-rspec is not loaded until line 6). Therefore, when the Registry tries to find a qualified cop name, it can only find Naming/VariableName (because RSpec/VariableName has not yet been loaded). Then the error message is shown because there's a department mismatch.
So in this case, the error is due to there being a name conflict between cops in different libraries. --only RSpec/Focus for example would work fine, because there is no core RuboCop cop named Focus, so step 2 above will accept the missing badge. Since there is a conflict here, a badge is found, hence the error.
I think the best solution here would be to resolve requires earlier so that the registry is full, I'm going to look into how we can achieve that.

FYI @pirj


Pc 447 move supplier page

https://beisdigital.atlassian.net/browse/PC-447

Fix a bug along the way - before, if we go to supplier from summary page and select continue, we'll have to go through the whole journey again

What's here looks okay; would be nice if the tests were easier to work with but that's probably a wider conversation, not to do with this PR.
It looks like test_bulb_to_octopus is failing in the pipeline but not when I pull develop locally; could that be related to these changes?

Ahhh, it was passing before I pushed,, probably something was lost during rebasing, sorry :(


getParsedGraph error tabulator is not defined

Copied the example from the readme:
solid.web.getParsedGraph(resource).then(
          function(response) {
            console.log(response.statementsMatching(undefined, RDF('type'), LDP('Resource')))
          }
        )

Error: tabulator is not defined rdflib-0.5.0.min.js:119
Pending further investigation by @dmitrizagidulin

Upstream issue opened, rdflib.js#124

@rhiaro - while we're sorting out the upstream RDFLib.js fix, the new equivalent usage is described at https://github.com/solid/solid.js#fetching-a-parsed-graph

Closing, I'm pretty sure this has been fixed. Please re-open if not.


shadcn-uirc

Hey, I found in https://github.com/shadcn/ui/blob/main/packages/cli/src/index.ts, that it should be possible to adjust the CLIs default directories. Unfortunately I wasn't able to make it run in my project.
I tried the package.json (see screenshot), .shadcn-uirc & .shadcn-uirc.json configs, but running
npx shadcn-ui add dropdown-menu
kept asking me
? Where would you like to install the component(s)? › ./components/ui
Is there anything I am missing or a way for me to get more detailled error information?
Thanks a lot in advance!

All of the methods you tried work in the main branch.
The config discovery was introduced two weeks ago in #245, but the new version has not been published yet.

oh I see… I missed checking if it was published at all. Can't wait for it! Thanks @dan5py