Fix webdav tests (again)

Close #106
Avoid removal and copy of files for webdav tests by switching the root folder underneath the webdav app for each test...
Seems to work on unix.

Finally 🎉


Set up local development

https://supabase.com/docs/guides/cli/local-development
It's some amount of work but will let people work on this independently of access to the actual supabase instance

It is done!
in this pr: https://github.com/TheExGenesis/community-archive/pull/89
added docs here: https://github.com/TheExGenesis/community-archive/blob/main/docs/local-setup.md#manage-remote-migrations


Internal/Network Error Handling

Tracking Info
Resolves #112
Changes

add error message view to RootRouter
show the appropriate error message view whenever AppError is thrown by application code

Testing

did not start backend server and ensured network error popup appeared

Confirmation of Change
Network Error

Internal Error

Custom Error

Great work! This works with our signup flow so any errors reported by backend will be displayed in signup page. Similar can be done in edit profile when implemented.


ENHANCEMENT: Add social media icons(github,twitter,gitter,etc.) at the top right corner of the page.

Confused... Why do you need it?

Easier for sharing(user's perspective) if it is fixed at a corner from any part of the page.

Can you draw an example (desktop/tablet/mobile)? Or at least show a website where this approach is used.

cyro.se - they have only one icon
udacity - they have icons at the bottom of the page.
gogoanime.io - they have at the top but icons used are not attractive.

I don't have a budget to pay for a designer. Closing for now.


Proposal: Separate vendor bundle

Would anyone find it useful if we split the bundle entry points to a include a vendor entry? This way all vendor dependencies are compiled into their own bundle.

Definitely worth considering. :)

I think this is worth to have since vendor rarely change so we could have benefit for long term caching.

Any hint on how to achieve this?

@strues Did you end up trying this out?


cant executor commands

when i using id("kr.entree.spigradle") version "2.2.3" in my build.kts to depend spigot 1.16.5 ,i cant execute commands in my plugin, when i delete spigradle plugin in build.kts and using compileOnly("org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT")
the command enable.

Hi @squirtlecc , I'm sorry for the late response! I couldn't encounter the issue. Could you check your plugin was enabled without error or publish a repository to let me reproduce?
Feel free to ask me if you have anything I can help or close this issue. Thanks!

Maybe this is related, when I reload gradle seems to be unable to resolve spigot for 1.16.5 at all. 1.16.4 works fine though

Hi @networkException, Thanks for the logs, but I'm ok with 1.16.5. Please upload a repository for letting me reproduce and see what happens with just use compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'.

Now I can't seem to be able to reproduce this anymore, I'm guessing it was just a problem in the repo then

Hi @squirtlecc , I'm sorry for the late response! I couldn't encounter the issue. Could you check your plugin was enabled without error or publish a repository to let me reproduce?
Feel free to ask me if you have anything I can help or close this issue. Thanks!

sorry for long time to reply you! It's all my fault, when i used this plugin i dont notice all configurations, i'm so sorry my question bothered you.

Hi @squirtlecc , I'm sorry for the late response! I couldn't encounter the issue. Could you check your plugin was enabled without error or publish a repository to let me reproduce?
Feel free to ask me if you have anything I can help or close this issue. Thanks!

sorry for long time to reply you! It's all my fault, when i used this plugin i dont notice all configurations, i'm so sorry my question bothered you.

No problems @squirtlecc, if you had any problems, just opening it up!


Incorrect reporting of vulnerability against non fips package

Is this a request for help?:

Is this a BUG REPORT or a FEATURE REQUEST? (choose one):
BUG

Version of Anchore Engine and Anchore CLI if applicable:
What happened:
Anchore incorrectly reports vulnerability against non-fips packages
        "package": "libgcrypt-1.8.5-6.el8",
        "package_cpe": "None",
        "package_cpe23": "None",
        "package_name": "libgcrypt",
        "package_path": "pkgdb",
        "package_type": "rpm",
        "package_version": "1.8.5-6.el8",
        "severity": "Medium",
        "url": "https://linux.oracle.com/errata/ELSA-2022-9263.html",
        "vendor_data": [],
        "vuln": "ELSA-2022-9263",

        "package": "gnutls-3.6.16-4.el8",
        "package_cpe": "None",
        "package_cpe23": "None",
        "package_name": "gnutls",
        "package_path": "pkgdb",
        "package_type": "rpm",
        "package_version": "3.6.16-4.el8",
        "severity": "Medium",
        "url": "https://linux.oracle.com/errata/ELSA-2022-9221.html",
        "vendor_data": [],
        "vuln": "ELSA-2022-9221",
        "will_not_fix": false

These issues are meant or fips enabled packages
What did you expect to happen:

Any relevant log output from /var/log/anchore:
What docker images are you using:
How to reproduce the issue:
Anything else we need to know:

The fix for this is, for packages with _fips in the version string, scanning against ELSAs for versions also containing _fips, and skipping those advisories for packages that don't have the _fips version tag.
I explained this in detail to the Trivy project here; this advice also applies to Anchore. If you have any additional questions, my contact info is in that issue comment: https://github.com/aquasecurity/trivy/issues/1967#issuecomment-1092987400


Browser Updates

With the recent browser updates in Chrome, Edge, and Firefox, the webrcon stopped connecting. Doesn't provide an error, just does nothing when clicking the connect button.

As an update. A work around for FireFox is to allow InSecure from HTTPS as outlined in the below article.
https://stackoverflow.com/questions/11768221/firefox-websocket-security-issue/12042843#12042843

Wait so... are there alternative web rcon clients to try instead?

so how do i do this for firfox nightly

Nothing works not when the method of saying do this instead with Firefox it's broke I don't know why @erikGrischuk said #36 cause it don't work


Cargo.toml doesn't reference docs.rs

https://github.com/TyOverby/flame/blob/master/Cargo.toml#L10

Closed in 272e11fbc8d53ef99ddc4ebc7b24b96a2ad116f3


added package.json to priv specifying type: "commonjs"

In my Elixir project, I have package.json in a root directory. It specifies type: module as I'm writing JS in ESM syntax, with import / export. With that setup, nodejs treats deps/nodejs/priv/server.js as a project script, since it doesn't have package.json next to it. Exact error I'm getting:

ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/Users/user/project/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.

Adding package.json to priv simply explicitly informs nodejs that script is written in CJS.

@grossvogel this is a very small change ;) without that package.json LiveVue projects treats scripts in exixir-nodejs as ESM and errors out. I'm using that branch for a long time already and it seems be working just fine.

Thanks, @Valian, I'd like one other person to give this a quick look, then we'll get it merged!

Sure! Looking forward to it :+1: Thanks for finding time, I know it's tough 😅

Thank you for approval! Looking forward for a patch release :)
To my knowledge, NodeJS is rather dumb when it comes to deciding if .js extension should be loaded as ESM (imports / exports) or CJS (require). A short summary given by chatgpt can be found here.
In my particular example node thought server.js is ESM because root of my project has package.json with type: module, and it's the first found package.json.


Update slsa-github-generator to v2.0.0

Also updated to the rewritten detect-workflow-js workflow

Summary

Release Note

Documentation

Will merge on Monday in case this needs to be rolled back.


Argument 0 (NSNumber) of RCTUIManager.measureLayout must not be null

Getting this error. Any ideas?

Src
class ScrollableLoginScreen extends React.Component {
  _scrollToInput (event, reactNode) {
  // Add a 'scroll' ref to your ScrollView
    this.refs.scroll.scrollToFocusedInput(event, reactNode)
  }

  render() {
    return (
      <KeyboardAwareScrollView ref='scroll'>
        <LoginScreen {...this.props} scrollToInput={this._scrollToInput.bind(this)} />
      </KeyboardAwareScrollView>
    )
  }
}
class LoginScreen extends React.Component {
  render() {
    const {fields, handleSubmit, submitting, error, scrollToInput, ...props} = this.props
    return (
      <View style={styles.screen}>
        <StatusBar hidden={false} />
        <View style={styles.modal}>
          <IconTextInput ref='my-input' iconName="envelope-o" placeholder='Email' style={styles.input} {...fields.email} onFocus={scrollToInput} />
          <IconTextInput iconName="lock" placeholder='Password' style={styles.input} {...fields.password} onFocus={scrollToInput} />
          <Button style={theme.BUTTON} styleDisabled={theme.BUTTON_DISABLED} containerStyle={styles.loginButton}
            disabled={submitting} onPress={handleSubmit}>LOGIN</Button>
          {submitting && <Spinner />}
          {(!submitting && error) && <Text style={theme.TEXT_ERROR}>{error}</Text>}
        </View>
      </View>
    )
  }
}

I'm also having something like that running in a real device

The error is due to React being unable to find the node because findNodeHandle doesn't get a React node as a parameter.
If you're using RN 0.26 keep in mind that it's still not supported yet. The code must be changed from React.findNodeHandle to ReactNative.findNodeHandle.
Sorry, will release a compatible version on Monday.
Enviado desde mi iPhone

El 21 may 2016, a las 3:49, Gabriel Rubens<EMAIL_ADDRESS>escribió:
I'm also having something like that running in a real device
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

I have the same issue using RN 0.25.1

@marcosinigaglia my comment is valid for RN>=0.25.

@alvaromb I seem to be having the same issue on 0.24.0

Hello!
Please debug the scrollToFocusedInput method. Try to console.log(event, reactNode) because that error usually appears then reactNode is null.

@alvaromb Yeah that was the problem for me. Thanks

Are there any updates on this? I'm having the same issue on 0.25.1

@dnish there's no update. This errors appears when the reactNode sent to the scrollToFocusedInput is null. Please post your code if you need further help. Closing this issue.

Hi everybody!
Once #22 gets merged, we'll no longer need to do this kind of stuff, the component will autoscroll to the focused TextInput.

Thanks man, that feature is really sweet. Things got working here.


Webdriver failing during automation

Hello,
I am autopopulating a form in my code base using facebook webdriver. The form is pretty long (about 100 fields). The test runs fine until near the end of the form. I researched the problem and put in explicit waits between most of the fields. This helped the program run, but it is still failing toward the form. I've gotten a few different errors (ElementNotFound, ElementNotVisible, TimeOutException,WebDriverCurlException, UnknownServerException) and I have not changed the test. How can I make my script run smoothly?

Are all of the fields visible at once or are they spread across multiple pages?

Visible at once. One form. One page.
On Sep 27, 2016 5:13 PM, "Gabriel Preston"<EMAIL_ADDRESS>wrote:

Are all of the fields visible at once or are they spread across multiple
pages?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/php-webdriver/issues/329#issuecomment-250000684,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ART4r-3XRC1ftDo6cqYo5StJr_hj1i1Gks5quYb9gaJpZM4KH_jG
.

Interesting, assuming you are doing a new find after each sendKeys, I wouldn't think you'd run into those first two exceptions- ElementNotFound and ElementNotVisible. Can you provide an example of the logic you are using for finding each input and then sending text to it?

I will first thing tomorrow. I'm not at my desk at this time. Thank you for
your help! I really do appreciate it!
On Sep 27, 2016 5:31 PM, "Gabriel Preston"<EMAIL_ADDRESS>wrote:

Interesting, assuming you are doing a new find after each sendKeys, I
wouldn't think you'd run into those first two exceptions- ElementNotFound
and ElementNotVisible. Can you provide an example of the logic you are
using for finding each input and then sending text to it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/php-webdriver/issues/329#issuecomment-250005183,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ART4r0eyo1RtKtyTaEuAUqfCxMSTaj3Qks5quYsygaJpZM4KH_jG
.


[external-links] Display frameworks as beta only if all platforms are beta

Bug/issue #, if applicable: rdar://128997995
Summary
Symbols can have an availability per platform (iOS, macOS, etc), each of which can be marked as "beta" by providing some metadata when invoking docc:
swift run docc preview preview TestPackage.docc --platform name=macOS,version=40.0.0,beta=true --platform name=iOS,version=50.0.0,beta=true --platform name=watchOS,version=60.0.0,beta=true

A top-level badge is sometimes rendered for a symbol, depending on its platform availability.
Currently there is a mismatch in behaviour where:

externally resolved links will be shown as beta if any of its available platforms are in beta
https://github.com/apple/swift-docc/blob/8f1a9d206ed6cdcf3dccb091fa57216c6d546f21/Sources/SwiftDocC/Infrastructure/External Data/OutOfProcessReferenceResolver.swift#L158

internally resolved links  will be shown as beta if all of its available platforms are in beta
https://github.com/apple/swift-docc/blob/8f1a9d206ed6cdcf3dccb091fa57216c6d546f21/Sources/SwiftDocC/Model/Rendering/DocumentationContentRenderer.swift#L208-L240

This behaviour is inconsistent and can be confusing for documentation writers. This PR proposes unifying the behaviour so that a symbol is shown as beta if  all of its available platforms are in beta.
Implementation
Changes the behaviour of external link resolution in OutOfProcessReferenceResolver to only display a framework to be in beta if all the platforms its supported in are in beta.
This makes it match the behaviour for internal link resolution, so that the behaviour is consistent whether you're linking to a symbol internally within a framework or externally from another framework.
Also modifies LinkDestinationSummary to keep both of the external symbol resolution code paths in sync with each other. Hopefully in the future we can unify and have the same code path for both, but right now the logic is duplicated (and equal).
Dependencies
N/A.
Testing
You can set up a link resolver locally which has beta platform information in order to verify this fix:
link-resolver.zip
Excerpt:
"platforms": [
    {
      "name": "macOS",
      "introducedAt": "40.0.0",
      "beta": true
    },
    {
      "introducedAt": "50.0.0",
      "beta": true,
      "name": "iOS"
    },
    {
      "introducedAt": "60.0.0",
      "beta": false,
      "name": "watchOS"
    }
  ]

TestPackage.zip
Steps:

Download link-resolver and TestPackage.
Render documentation locally:

DOCC_LINK_RESOLVER_EXECUTABLE=link-resolver swift run docc preview TestPackage.docc --platform name=macOS,version=40.0.0,beta=true --platform name=iOS,version=50.0.0,beta=true

Verify that in http://localhost:8080/documentation/testpackage/betaclass, neither of the symbols mentioned have a top level badge that says the symbol is a beta symbol.

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
[x] [n/a] Updated documentation if necessary

Verification
Unit tests
Added unit tests for OutOfProcessReferenceResolver and ExternalPathHierarchyResolver since these changes affect both types of external link resolution.
Ran ./bin/test:
❯ ./bin/test
Building for debugging...
[122/122] Linking SwiftDocCPackageTests
Build complete! (7.75s)
[1685/1685] Testing SwiftDocCUtilitiesTests.DirectoryMonitorTests/testMonitorDoesNotTriggerUpdates
=> Checking for unacceptable language… okay.
=> Checking license headers… okay.
=> Validating scripts in bin subdirectory… okay.

Site rendering

Before
After

Documentation
As far as I can tell, no changes to the documentation are needed.

@swift-ci please test

@swift-ci please test


Hyperlink design choices are too subtle

I'm using this theme for my own blog* and I feel like the hyperlinks blend with the text way too seamlessly in the black-theme.   It would be nice if the reader had a clearer signal that there were links (e.g. by being navy blue or something).  I know it would detract from the look slightly, but it would be more functional for us bloggers.
*Credit yourself in the footer.  This theme is beautiful, and I'm sure some people will want to see who designed it.

I agree with this comment and actually I would like to know how to edit it?
Also, I would like to know how to change the size of the title to make it a bit smaller?
Thanks in advance!

@hoj201  Regarding the hyperlink color, you should modify parameters for a tag which you can find in _sass/_base.scss:
a {
  color: $color-primary-link;
  text-decoration: none;
}

@vmmunoza I agree that the default title font size is unreasonably huge. You can set like
$h0-desktop: 72px;
in _sass/_variables.scss.

@vmmunoza Finally, I found the best solution here jekyllrb.com:

cd /path/to/your/repo/_layouts/
cp $(bundle info swiss --path)/_layouts/post.html ./
cp $(bundle info swiss --path)/_layouts/category-post.html
change line 5 to
{{ page.title }}

run bundle exec jekyll serve


Improved debuggability

Currently it's pretty difficult to debug a parser written with reghex, it'd be great if that could be made easier somehow.
I'm thinking maybe there could be like an onBeforeMatch function called right before executing any matcher, with the sole purpose (that I can think of) that somebody can put a "debugger" in there. It sounds ugly though.

Nevermind, I can overload RegExp.prototype.exec 😂


First image for thumbnail and logo image

morning is there a way to show the first picture like the thumbnail? and there is a way to change the logo from text to img?

@Ratne  hi, morning. Ratne :smile:

1、First image for thumbnail ?

Sorry, I didn't find relevant API from Hexo Docs about this. In fact , there is a variable [page.photos]	- The photos of the article (Used in gallery posts)   means that. But unfortunately, this variable dose NOT work. :disappointed_relieved:  so I just use the photos field in our Markdown post file to resolve this problem.
Just like a header of  Markdown post example from my Hexo source : https://github.com/iTimeTraveler/hexo-theme-hiero/tree/site-source
---
title: Being Outside in Fresh Air & How Your Body Loves It
date: 2016-11-20 21:55:38
comments: true
categories:
	- lifeStyle
	- markup
tags:
	- sticky
	- template
photos:
	- gallery/01.jpg
---

2、 change the logo from text to img?

It's a great idea, Ratne. and it's not complex, so I will find some time to implement this function, and remind you if I have done this. thank you Ratne. :+1:

thank u very much

ok, @Ratne
I have finished this job. you can just git pull , and will find a new filed avatar was added in _config.yml file.
then just enable avatar field like below example:
# Put your avatar.jpg into `hexo-site/themes/hiero/source/` directory.
# url is target link (E.g. `url: https://hexo.io/logo.svg` or `url: css/images/mylogo.jpg`)
avatar:
  enable: true
  width: 124
  height: 124
  bottom: 10
  url: https://hexo.io/logo.svg

nice feautre , thank u ;)
what about to add a similar articles at end of a single post that show 2-3 similar articles by tag or by category?

Yeah, it's also a nice feautre. but a little complex for me. so I will try to implement it if I have plenty of time, and if I can do it. :smile_cat:

;)


[Screen] Exchange

Need to show dynamic rate, statistics and limits

Can be re-added as needed. Closing.


Added a YouTube sub category under DSA category and added a YouTube playlist.

Fixes Issue
Closes #2037

Changes proposed

Added a YouTube sub category under DSA category and added a YouTube playlist.
Screenshots

Note to reviewers

@Anmol-Baranwal  Please review the PR for issue #2037 .

Hey , I think @rupali-codes  has already implemented the subcategory. I think I need to work on another issue.


python311Packages.{osqp,cvxpy,jaxopt,qutip}: scipy 1.12 fixes

Description of changes
closes https://github.com/NixOS/nixpkgs/issues/284308
various fixes for scipy 1.12 update:

cvxpy disable tests https://github.com/cvxpy/cvxpy/issues/2341
jaxopt add patch for https://github.com/google/jaxopt/pull/574
osqp disable tests https://github.com/osqp/osqp-python/issues/121
qutip update to 4.7.5 https://github.com/qutip/qutip/releases/tag/v4.7.5

scikit-survival is failing due to an unrelated error sksurv/tree/_criterion.pyx:16:0: 'sklearn/tree/_tree/DOUBLE_t.pxd' not found
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

python311Packages.scikit-survival
python311Packages.scikit-survival.dist

14 packages built:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.blackjax
python311Packages.blackjax.dist
python311Packages.cvxpy
python311Packages.cvxpy.dist
python311Packages.jaxopt
python311Packages.jaxopt.dist
python311Packages.osqp
python311Packages.osqp.dist
python311Packages.qpsolvers
python311Packages.qpsolvers.dist
python311Packages.qutip
python311Packages.qutip.dist

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

aarch64-linux is failing


Istio couldn't handle full URL request

Bug description
Istio couldn't handle full URL request (also reported a year ago on SO link )
kubectl -n istio-system exec -it istio-ilbgateway-8f844546b-gnxn4 -- /bin/bash
printf "GET / HTTP/1.1\nHost: grafana.grafanaoperator\n\n\n" | nc -v grafana.grafanaoperator 80

grafana.grafanaoperator.svc.cluster.local [<IP_ADDRESS>] 80 (?) open
HTTP/1.1 302 Found
content-type: text/html; charset=utf-8
location: /login
set-cookie: redirect_to=%252F; Path=/; HttpOnly
date: Thu, 29 Aug 2019 09:00:20 GMT
content-length: 29
x-envoy-upstream-service-time: 0
server: istio-envoy
x-envoy-decorator-operation: grafana.grafanaoperator.svc.cluster.local:80/*

Found.

and the same resource but with full uri
kubectl -n istio-system exec -it istio-ilbgateway-8f844546b-gnxn4 -- /bin/bash
printf "GET http://grafana.grafanaoperator/ HTTP/1.1\nHost: grafana.grafanaoperator\n\n\n" | nc -v grafana.grafanaoperator 80

grafana.grafanaoperator.svc.cluster.local [<IP_ADDRESS>] 80 (?) open
HTTP/1.1 404 Not Found
date: Thu, 29 Aug 2019 09:00:44 GMT
server: istio-envoy
content-length: 0

Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Result should be the same.
Steps to reproduce the bug
the same as in description
Version (include the output of istioctl version --remote and kubectl version)
1.1.5
How was Istio installed?
Via helm

@lambdai does envoy support this?

Envoy proxy support parse absolute url in http1 https://github.com/envoyproxy/envoy/blob/4478c1984d17146b1ff78d0babedae2a4752b027/api/envoy/api/v2/core/protocol.proto#L38
I guess there is reason it wasn't provided at the beginning
@YuraBeznos Is there a breakage? Any library/application only provides absolute url?

Absolute url in requests required by some of our applications (and also part of the standard https://tools.ietf.org/html/rfc2616#section-5.1.2 )
Does it need to be enabled somehow in istio?

@fpesce Do you have any concern if we allow absolute url?
IMHO it's probably safe to add it into outbound listener

it should be enabled always.

Default enabled now.
https://github.com/envoyproxy/envoy/pull/8329
Will verify once we bump the envoy SHA


Improve EditEvent and AddEvent related functionalities

Context
Some changes highlighted:

EventDuration takes in two strings.
Added some not-yet-related functions for getting start and end time later in UI
Changed format of EventDuration.toString() to include /from and /to prefix.

Links
#89 for detailed suggestion.
Reviewers
@daredevil999 please work from here.

Context

Flexibility to add event command (Order of inputs are flexible now)
Improved AddEventCommand and Event constructor to reduce multiple types of constructors
Enabled separate editing of start and end duration of event
Refined constructor for EditTaskCommand and EditEventCommand
Added a new Flags class to store all types of flags (/from, /to, /t, /e, ...)
Improved edit parser to make input order flexible
Added Gui tests for add event and edit event
Made event desc optional

All tests passed
Links
Solves #23
Reviewers
@CS2103AUG2016-F09-C4/developers


Require redis errors to get standalone working

Running resque-scheduler by itself currently raises this error because redis is not available:
resque-scheduler-4.4.0/lib/resque/scheduler.rb:17:in `<module:Scheduler>': uninitialized constant Resque::Scheduler::Redis (NameError)

This fixes it. Ref this issue -> https://github.com/resque/resque-scheduler/issues/665

@jeremy this one is biting back on me and is also required for update to 2.0 if scheduler must start.
Can you release a patch release, please?

When do you release this fix? It's an year

It's now two years and counting and still not had a release.

Agree, please can we get this fix released?

@michelem09 @essjayhch @adamcathersides I'd love to get a new release out too! I just realized I have maintainer access to this repo as well. I have ~zero time to actually do the work, but I can help coordinate.
Here's what we need in order to get a new release out:

CI is still failing. I believe this may have something to do with this commit https://github.com/resque/resque/commit/6003c397fe7152ad4f3aa50f7f0b56c5d0c0800d
Changelog needs to updated
Not required, but would be nice if we can fix whatever is causing compatibilities with > 3.7 rufus

If we can get PRs to close out these items, I can cut a new release.


Add support for assemblies with embedded PDBs

Is it an idea that this is an option to enable or not? Now there's things like "xunit" dlls getting instrumented, or others which are used in tests maybe and we don't care at all for coverage


[Question] Using XML schema to find and enable substitution of missing elements?

I've been working on a simple pre-processor for auto generating valid xml documents or expanding them from partially valid XML document as a sudo-templates. The goal here being that users could provide a function a xsd schema, a partially valid xml document and a default xml document containing any missing elements within it's flat root default namespace.
I have a semi working example of what I'd like to do documented here:
https://gist.github.com/ruffsl/251d10ec2a815e0d6c9c5a8002ba3036
Currently it suffers from some strange behaviors, most likely a combination of my misuse of iterators or difficulties with satisfying xs:sequence's. I've tried simplifying my schema group requirements from sequence to all, but ran up against issue https://github.com/brunato/xmlschema/issues/28 . I thought about just limiting the default pre-processor to operate on empty sequences to avoid the need for correctly sorting the inserted substituted elements to satisfy sequence order, but encountered issue:   https://github.com/brunato/xmlschema/issues/29 .
Eventually though, I'd like to support sequences, as most of the other schema I'm working with depend on that type of grouping. So I'd like to ask if there would be any way of ascertaining from the yealded chunks from iter_decode iterator what the expected index was, so that a substituted default could be correctly interred. Additionally, if you see anything airy with the iterators, cause the infinite loops or duplicate substitutions, that would also be helpful.
Hope the recent ticketed issues have been helpful.
Related: https://stackoverflow.com/questions/18694988/xsd-default-value-of-a-missing-element

This sounds pretty interesting, I've been thinking about trying to hack something simlar together using the faker module for performance testing of many xml documents (after i have my valid xsd).

In particular, my intended use case for this capability is for staging configuration information in a (certificate) build system. Users would outline specific settings via a simplified template, such as only the certificate subject name (as in my linked example), then relay on a separate default file to provide the missing required context as per the XSD. This allows user template files themselves to remain agnostic build time specific settings, such as period-of-validity or issuer-certificate-authority, thus succinctly containing only the most relevant information.
I've approached this build configuration ideas before using yaml files, as the self referencing syntax was useful in balancing succinct nested formats with element overriding. But being able to formalize the configuration format using XSD schema greatly simplifies interpretation, as the app can validate the data, providing the build logic some format integrity guarantees, as well clear file description for others' to interface into.
However with XML, I still missed having a good method for parameter substation given customization to the global build context, like users could structure with in yaml, but I didn't want to have to re-write any fallback logic into the interpreter given the fragility should the XSD ever need modification. So that was why I found programmatically substituting any omitted elements via prepossessing with the schema appealing.

Its working a bit better now https://gist.github.com/ruffsl/251d10ec2a815e0d6c9c5a8002ba3036
I looked over the XsdElement class some more and recognized the the context for the expected index I needed to expose, as seen in this sample PR https://github.com/brunato/xmlschema/pull/31 .
I also recognized that some of the internal yealding functions where iterating on the dynamic length of the element, so I had to change my looping strategy to return after each new substitution. Its not as efficient, as it ends up looping over the front end of the document more than necessary, but it behaves predictably.
Still having an issue with https://github.com/brunato/xmlschema/issues/29 , so I'm not able to predicatively initialize empty complex types an depend on consecutive iterations to recursively populate it.

I've updated my gist to reflect the fixes with #28 and #29 :
https://gist.github.com/ruffsl/251d10ec2a815e0d6c9c5a8002ba3036
Thanks to those patches, I can more easily populate missing elements recursively. I've also updated my sample PR #31 I rely on in the gist, as I still need a way to ascertain the original context of the new XMLSchemaChildrenValidationError's, specifically the index and expected element tag.

I've updated my gist to reflect v1.0.1:
https://gist.github.com/ruffsl/251d10ec2a815e0d6c9c5a8002ba3036
But I was getting some strange errors with using the same ElementTree.Element types as before. For instance, without this change here, to ensure missing_elem is what ever special form of Element that chunk.elem is:
-                        missing_elem = ElementTree.Element(expected)
+                        missing_elem = chunk.elem.__class__(expected)

I get this nonsensical type error:
No default found!
     chunk.reason:  The content of element 'authority' is not complete. Tag 'cert' expected.
     index:  0
     expected:  cert
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-22-fee4f77e354e> in <module>()
----> 1 xml_data_2B = preprocess_default(xsd_schema, data=xml_string_3, default_data=xml_string_default_b)
      2 print_xml(xml_data_2B)

<ipython-input-21-2a192852e5a4> in preprocess_default(xsd_schema, data, default_data, path, use_defaults)
     13             use_defaults)
     14
---> 15         for missing_error in iter_errors:
     16             missing_errors.append(missing_error)
     17 #             raise missing_error

<ipython-input-21-2a192852e5a4> in default_preprocessor(xsd_schema, xml_document, xml_document_default, path, use_defaults)
     55                         print('    ', 'index: ', index)
     56                         print('    ', 'expected: ', expected)
---> 57                         chunk.elem.insert(index, missing_elem)
     58                         yield chunk
     59                         return

TypeError: insert() argument 2 must be xml.etree.ElementTree.Element, not Element

@brunato , would you know how the classes have changed here that prevent the strait use of xml.etree.ElementTree.Element?

Hi,
in version 1.0+ I've introduced XMLResource class in order to manage XML various type of sources (file path, element tree, string, url) in a class. But it shouldn't have an impact on previous usage with default arguments.
It's necessary to debug your code script to understand which Element is exactly generated and passed to your script (eg. lxml.etree.Element).
Davide

It's necessary to debug your code script to understand which Element is exactly generated and passed to your script (eg. lxml.etree.Element).

How would you propose this? I'm not seeing a difference in the self reported object types from the two different class constructors.

Found something: for some reasons Jupyter uses the Element Python implementation instead of the accellerated C implementation.
$ python
Python 3.6.6 (default, Jul 19 2018, 14:25:17)
[GCC 8.1.1 20180712 (Red Hat 8.1.1-5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from xml.etree import ElementTree
>>> print(dir(ElementTree.Element))
['__class__', '__copy__', '__deepcopy__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'attrib', 'clear', 'extend', 'find', 'findall', 'findtext', 'get', 'getchildren', 'getiterator', 'insert', 'items', 'iter', 'iterfind', 'itertext', 'keys', 'makeelement', 'remove', 'set', 'tag', 'tail', 'text']
>>> print(dir(ElementTree._Element_Py))
['__bool__', '__class__', '__delattr__', '__delitem__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__len__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_assert_is_element', 'append', 'attrib', 'clear', 'copy', 'extend', 'find', 'findall', 'findtext', 'get', 'getchildren', 'getiterator', 'insert', 'items', 'iter', 'iterfind', 'itertext', 'keys', 'makeelement', 'remove', 'set', 'tag', 'tail', 'text']

xmlschema uses the C accelerated version (Element), jupyter import (ElementTree.Element) is the Python implementation, not the accelerated C version.

Found something: for some reasons Jupyter uses the Element Python implementation instead of the accellerated C implementation.

I'm not sure that is the case here. If you test out the imports carefully,  you'll see that the import of ElementTree.Element is the Python implementation only if xmlschema is imported before hand, regardless of Jupiter or iPython. This leads me to believe that the importation of xmlschema is missing with the global environment to cause this.
Without xmlschema
$ python3
Python 3.6.5 (default, Apr  1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from xml.etree import ElementTree
>>> print(dir(ElementTree.Element))
['__class__', '__copy__', '__deepcopy__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'attrib', 'clear', 'extend', 'find', 'findall', 'findtext', 'get', 'getchildren', 'getiterator', 'insert', 'items', 'iter', 'iterfind', 'itertext', 'keys', 'makeelement', 'remove', 'set', 'tag', 'tail', 'text']
>>> exit()

With xmlschema before
$ python3
Python 3.6.5 (default, Apr  1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlschema
>>> print(xmlschema.__version__)
1.0.2
>>> from xml.etree import ElementTree
>>> print(dir(ElementTree.Element))
['__bool__', '__class__', '__delattr__', '__delitem__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__len__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_assert_is_element', 'append', 'attrib', 'clear', 'copy', 'extend', 'find', 'findall', 'findtext', 'get', 'getchildren', 'getiterator', 'insert', 'items', 'iter', 'iterfind', 'itertext', 'keys', 'makeelement', 'remove', 'set', 'tag', 'tail', 'text']
>>> exit()

With xmlschema after
$ python3
Python 3.6.5 (default, Apr  1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from xml.etree import ElementTree
>>> print(dir(ElementTree.Element))
['__class__', '__copy__', '__deepcopy__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'attrib', 'clear', 'extend', 'find', 'findall', 'findtext', 'get', 'getchildren', 'getiterator', 'insert', 'items', 'iter', 'iterfind', 'itertext', 'keys', 'makeelement', 'remove', 'set', 'tag', 'tail', 'text']
>>> import xmlschema
>>> print(xmlschema.__version__)
1.0.2
>>> print(dir(ElementTree.Element))
['__class__', '__copy__', '__deepcopy__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'attrib', 'clear', 'extend', 'find', 'findall', 'findtext', 'get', 'getchildren', 'getiterator', 'insert', 'items', 'iter', 'iterfind', 'itertext', 'keys', 'makeelement', 'remove', 'set', 'tag', 'tail', 'text']
>>> exit()

There is a probably workaround for this problem in the version v1.0.4. The problem is related to defusedxml import. See issue #80 for further information.


How do I change which Python is used?

My apologies if this is not specific to Jupyterlab App.
in a notebook within Jupyterlab App, when I run:
import sys
sys.executable

it returns
'/usr/bin/python3'
I would like it to return
'/usr/local/anaconda3/bin/python'
How do I specify which python Jupyterlab App uses?
Thank you!

This is a pretty important feature. I need to access kernels from my system miniconda installation. Currently (at least on MacOS) I don't see any options to import these, since the installer creates its own conda installation.

On MacOS, I can add new kernels by adding them to the ~/Library/Jupyter/kernels folder (https://jupyter-client.readthedocs.io/en/stable/kernels.html)

Environments should be built with repo2docker or at least REES: Reproducible Execution Environment Specification IMHO. That adds a container system dependency, but it's cross platform and reproducible.
I put together some notes for an "nbhandler" app awhile back:
https://github.com/westurner/nbhandler/issues/1

Launch a notebook server locally from a link or a downloaded file; like BinderHub for the desktop

[...] https://github.com/machine-learning-apps/repo2docker-action is a GitHub Action that runs repo2docker and uploads to dockerhub. This is useful for projects that don't need to be built by end users if there's already an image to just pull

To discover local conda envs, nb_conda_kernels works. From https://github.com/Anaconda-Platform/nb_conda_kernels :

nb_conda_kernels
This extension enables a Jupyter Notebook or JupyterLab application in one conda environment to access kernels for Python, R, and other languages found in other environments. When a kernel from an external environment is selected, the kernel conda environment is automatically activated before the kernel is launched. This allows you to utilize different versions of Python, R, and other languages from a single Jupyter installation.
The package works by defining a custom KernelSpecManager that scans the current set of conda environments for kernel specifications. It dynamically modifies each KernelSpec so that it can be properly run from the notebook environment. When you create a new notebook, these modified kernels will be made available in the selection list.

There is also https://github.com/Cadair/jupyter_environment_kernels but I do not know if it is still maintained. I would be love to see this effort rebooted so we can use any environment in the JupyterLab-App.

I got jupyterlab.app to recognize my existing jupyter environments! As @westurner mentioned, this requires installing nb_conda_kernels to the jupyterlab base environment. However, it's a bit tricky on macOS since that environment is installed as root by default. I ran the following commands in a terminal:
source /Applications/JupyterLab.app/Contents/Resources/jlab_server/bin/activate
conda info  #ensure the right environment is loaded
sudo conda install nb_conda nb_conda_kernels

After restarting jupyter all conda environments were available as kernels.

@mbektas would it be a good idea to include nb_conda_kernels in the installer?

I got jupyterlab.app to recognize my existing jupyter environments! As @westurner mentioned, this requires installing nb_conda_kernels to the jupyterlab base environment. However, it's a bit tricky on macOS since that environment is installed as root by default. I ran the following commands in a terminal:
source /Applications/JupyterLab.app/Contents/Resources/jlab_server/bin/activate
conda info  #ensure the right environment is loaded
sudo conda install nb_conda nb_conda_kernels

After restarting jupyter all conda environments were available as kernels.

@krassowski Hi again.
I got stuck at this point "... this requires installing nb_conda_kernels to the jupyterlab base environment." for windows 10.

source C:\JupyterLab\resources\jlab_server\bin\activate

i should run them in a cell in jupyterlab app?

What about trying without bin\activate at the end?
activate C:\JupyterLab\resources\jlab_server

or
activate C:/JupyterLab/resources/jlab_server

Yessss. Thanks @krassowski !!!

Thanks to JupyterLab Desktop 3.2.3-1, now i can use my custom conda env in JupyterLab desktop (on WINDOWS 10).
here are steps that I made :

open Anaconda Prompt

conda activate <NAME_OF_CONDA_ENV>
conda install jupyterlab

open JupyterLab desktop v3.2.3-1
follow instructions in Changing the Python Environment used by JupyterLab Desktop.

Thanks a lot!! 🥳

Works for me too now, on Gentoo Linux :partying_face:
What would be awesome is if we could also specify the python env on the command line, e.g. jupyterlab-desktop --python-env /usr/bin/python3.9

Thank you all for confirming that it works well. It is really good to get such confirmation from users using different platforms.
As mentioned above, JupyterLab Desktop v3.2.3-1 added support for changing environments from the GUI (a selector on the status bar), including using a custom conda environment.
The instructions are currently available in the user guide: https://github.com/jupyterlab/jupyterlab-desktop/blob/master/user-guide.md#changing-the-python-environment-used-by-jupyterlab-desktop
I will close this one as resolved, but please do feel welcome to open issues with other suggestions/feature requests or if something is not working well.


Remove the borrow checking from wiggle entirely

This commit is a refactoring of the wiggle crate which powers the *.witx-based bindings generation of Wasmtime for wasip1 support. Originally wiggle had a full-blown runtime borrow checker which verified that borrows were disjoint when appropriate. In #8277 this was removed in favor of a more coarse "either all shared or all mutable" guarantee. It turns out that this exactly matches what the Rust type system guarantees at compile time as well.
 This means that there is no longer the possibility of a runtime error arising from borrowing errors. Current bindings in Wasmtime needed no restructuring to work with this new API.
The source of the refactors here are all in the wiggle crate. Changes include:

The GuestPtr type lost its type parameter. Additionally it only contains a u32 pointer now instead.
The GuestMemory trait is replaced with a simple enum of possibilities.
Helper methods on GuestPtr are all moved to GuestMemory.
A number of abstractions were simplified now that borrow checking is no longer necessary.
Generated trait methods now all take &mut GuestMemory<'_> as an argument.

These changes were then propagated to the wasmtime-wasi and wasi-common crates in their preview0 and preview1 implementations of WASI. All changes are just general refactors, no functional change is intended here.

to be fair to ourselves, when we thought embedders might provide functions that involve multiple concurrent outstanding borrows it all made a bit more sense :)

I'm so glad we're able to do this now, thank you!!


fixing go get package path in readme

Small patch to fix the package path documented on the go get command

Oops, I didn't see this PR.  And duplicated this fix.  You can disregard mine.


create automatedml.md

Henk I don't have permissions to add the pptx to the repo could you update link with the file?


chore: uses cache on version based for tinygo.

I am happy to merge it but not sure it is worth. My main concern was a failure I saw when we upgraded the tinygo version and I think it was due to reusing a cache from a previous version. Not sure that is a valid concern cc @deadprogram @anuraaga.


Add bulk transformations functionality

Bulk encoding transformations added as discussed here: https://github.com/elixir-nx/tokenizers/pull/44#issuecomment-1633112977
Naming and API discussible. Hope I didn't miss something.

The general direction LGTM!


Recorded stream has no camera

This creates an issue when the stream is used as an input to the video recorder. I think this may be another instance where an ABC could be used to define a camera, which could be a PhysicalCamera or a DataCamera. I'm wondering if it makes sense to create a LiveStreamPool as an analogue to the RecordedStreamPool.
The Camera Abstract Base Class came to mind recently in the context of the monocalibrator, which would not be able to test automatically. Nor would it be able to generate monocal estimates from pre-recorded video...All of this points toward having the Recorded stream contain a camera data object (and defining a camera interface just for clarity).

implemented as part of 242. No ABC. I'm realizing I just want to get the test up and running and then from there I can do more intense/broad refactoring...Which I guess is really TDD.


Title: Create FAQ Page

Is your feature request related to a problem? Please describe.
We need to create a Frequently Asked Questions (FAQ) page to provide answers to common user queries on our website. The FAQ page will enhance user experience by offering quick access to information.
Describe the solution you'd like.
Design the FAQ page layout.
Write and format FAQ questions and answers.
Add navigation and links to the FAQ page in the website's menu.
Test the page across different devices and browsers for responsiveness.
Ensure the content is up to date and accurate.
Style the FAQ page for a user-friendly experience.
Describe alternatives you've considered.
The FAQ page will serve as a valuable resource for users, providing answers to common inquiries, which can help reduce support requests. It's important to make sure the content is easily accessible, well-organized, and visually appealing.
Add any other context or screenshots about the feature request here.
No response

Go Ahead! I have assigned the issue to you @rishiofficial .
Work on a new branch with the feature as the branch name.
When you create a pull request, request review from @rohitagr0310 , @jain-anshika or , @qaidjoharj53


Update scale.md

Proposed changes
Update documentation of old depecrated "scale" compose command. Athough I think almost none uses deprecated scale command anymore, just in case I added a link to the old issue which explains some differences between using scale command and scale flag.
Old issue can be closed with the merge of this PR
https://github.com/docker/compose/issues/5251
Related issues (optional)
Fixes #5251

Makes sense. Thanks for the contribution!


Sign up - Validate your account page opens after validating account and adding bank account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.44-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Log in with a new Gmail account.
Complete onboarding.
Go to Account settings > Wallet.
Click Add bank account.
Enter correct magic code.
Add a bank account.
Complete the bank account setup.

Expected Result:
After the bank account is set up, app will not show Validate your account RHP.
Actual Result:
After the bank account is set up, app shows Validate your account RHP.
The same issue also happens when user validates bank account from Enable wallet CTA and then clicks RHP back button.
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/2eeec311-ae67-4f24-9e32-27034a0c6874

View all open jobs on GitHub

Seems to be a frontend issue

Seems Jules has already signed off for the day so I can take this one.

This is a bug that wasn't caught during review in https://github.com/Expensify/App/pull/49230

cc @daledah Are you available to fix this?

cc @arosiclair @jjcoffee

The PR causes another blocker, but I think it would be better to fix than revert since the PR is so large.

CP is done and testing well! Just @ishpaul777 will need a payment once this is deployed

cc ^ @dylanexpensify for visibility

Payment summary:
Contributor+: @ishpaul777 $250 via Upwork
Please apply/request!

Coming up!

Coming up!

@ishpaul777 please apply here!

@ishpaul777 nice one, offer sent!

Done!


Make vcx_issuer_send_credential return SM state number

Signed-off-by: Miroslav Kovar<EMAIL_ADDRESS>

Codecov Report

Merging #586 (2b0174e) into main (450f651) will decrease coverage by 34.32%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #586       +/-   ##
===========================================
- Coverage   59.77%   25.45%   -34.33%
===========================================
  Files         139       26      -113
  Lines       15604     1155    -14449
  Branches     3625      193     -3432
===========================================
- Hits         9328      294     -9034
+ Misses       2405      742     -1663
+ Partials     3871      119     -3752

Flag
Coverage Δ

integration-aries-vcx
?

unittests-agency-client
25.45% <ø> (ø)

unittests-aries-vcx
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

messages/src/status.rs
0.00% <0.00%> (-26.67%)
:arrow_down:

...tation/verifier/states/presentation_request_set.rs

aries_vcx/src/handlers/issuance/holder.rs

aries_vcx/src/utils/openssl.rs

aries_vcx/src/utils/file.rs

aries_vcx/tests/test_pool.rs

aries_vcx/src/utils/provision.rs

...src/protocols/connection/inviter/states/initial.rs

aries_vcx/src/indy/ledger/pool.rs

...rotocols/issuance/issuer/states/credential_sent.rs

... and 104 more

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


Push Facts to PDB from a bolt plan

Use Case
I want to use PuppetDB from bolt without managing long-running puppet-server and regular agent check-ins.
PuppetDB is a powerful tool to track inventory that can be leveraged for selecting targets from Bolt with --query flag or the pdb_query function. Unfortunately, that workflow is only available for targets that are part of a larger classic puppet installation not agentless targets or environments without a puppet-server and CA set managed. If Bolt has the ability to push facts directly into pdb from a plan users will be able to leverage the power of PuppetDB without having to run agents or manage more services than required, pdb can even be run on-demand locally inside a container.
Describe the Solution You Would Like
New function pdb_command that posts to PDB's command endpoint.
Accepts a command, a version, and a payload
pdb_command('replace_facts', 5, { 'certname' => 'myhost.com'})
This function should be implemented through a send_command method on the pdb_client that can be implemented in orchestrators client implementation. It should fail cleanly if that method is missing.
Describe Alternatives You've Considered
pdb::replace_facts It seems better to abstract over pdb less. We can write puppet language functions or plans on top of a general-purpose command function.
Solution

API spec. What can we 'automate' vs making the user set everything? For now, let the user set everything so we don't have to manage different versions, let pdb error appropriately, etc. Can potentially eventually have a puppetdb module that adds a nicer interface around that.
Don't need to worry about blocking for now.
Require command, version, and payload. Positional or kwargs? Let's do positional, and we can add a non-positional one later if more keys are needed.
For the command API, it's command API version 1 which requires certname to be one of the query parameters (along with the command, version, and payload). We should pull the certname out of the payload and pass it to PDB. If the user doesn't specify a certname in their payload just don't include it in the request and let PDB give us an error.
Returns an object with a UUID key, we should pull that out of the return and return that from the function (which should be just a string).
Focus testing on replace_facts version 5 - document as only supported command and other commands may work
If it errors, create a Bolt::Error with the error from PDB in the details (or whatever we have for pdb errors already). We've had some issues with stringified JSON inside JSON, so....try to avoid that 😬
Document as experimental
Ping skeletor on the PR (Sean or someone)

Due date: release next week

Update

Errors if the payload is missing certname, as PDB returns a 500 status code without any error message if the certname is not included. Instead, Bolt will error early with a helpful message.

Closed by #2781


Stricter constructors

Ref discussion in https://github.com/cryptocoinjs/ecurve/issues/25.
Better to have a new issue, so as to avoid confusion from people looking into this module.

Wrong repository, see https://github.com/cryptocoinjs/ecurve/issues/26


Can one use Heredoc syntax for multi-line strings?

What's the best way to define multiline strings in my .env file?

I realize I was trying too hard.  I just needed to open a quote and close the quote on another line.
FOO="
first line
second line
"
This works fine.


Modelfiles have disappeared, but still accessible in the model selection dropdown

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

install ollama-webui with docker on ubuntu 23.10
Download a model (this occured with dolphin2.1-mistral and dolphin-mixtral, but I suspect that isn't the issue)
Create a new model file with the downloaded model
New modelfile works great
??? Go to sleep? Restart the container? I'm honestly not sure
Modelfiles will no longer be in the "Modelfiles" tab under "My Modelfiles", but it will still be accessible when selecting a model. When talking to the modelfile, behavior is as expected, except the profile image for that modelfile is gone.

Expected behavior
Modelfiles persist as normal
Screenshots

Works as expected...

Hi, Were you accessing the webui from a different browser or in a incognito mode? The modelfiles only get saved to the browser as of now, so if your cache gets cleared on the browser side, they will get removed. I'll close this issue for now but stay tuned for #216. Thanks!


Define Build Tool C# version based on Unity version

Overview
Use a newer C# version for 2020.2+ C# project generation to resolve a docs pipeline failure caused by #10561.

/azp run

/azp run


Cannot read Rocket League's upk files

$ ~/src/UModel/umodel -list ~/.wine32/drive_c/Program\ Files/Steam/steamapps/common/rocketleague/TAGame/CookedPCConsole/Explosion_Ice_SF.upk
Detected game root /home/shelvacu/.wine32/drive_c/Program Files/Steam/steamapps/common/rocketleague/TAGame/CookedPCConsole
Found 3875 game files (0 skipped) at path "/home/shelvacu/.wine32/drive_c/Program Files/Steam/steamapps/common/rocketleague/TAGame/CookedPCConsole"
Loading package: Explosion_Ice_SF.upk Ver: 868/23 Engine: 10897 Names: 531 Exports: 293 Imports: 73 Game: 800000
******** /home/shelvacu/.wine32/drive_c/Program Files/Steam/steamapps/common/rocketleague/TAGame/CookedPCConsole/Explosion_Ice_SF.upk ********
*** ERROR: Memory: bad allocation size<PHONE_NUMBER> bytes
appMalloc:size=1694474905 (total=0 Mbytes) <- FArray::Empty:1694474905 x 1 <- FString<< <- Name:0 <- UnPackage::LoadNameTable <- UnPackage::UnPackage:Explosion_Ice_SF.upk, ver=868/23, game=ue3 <- UnPackage::LoadPackage:Explosion_Ice_SF.upk <- Main:umodel_build=887

Example file.

... ver=868/23, game=ue3 <- ...

You should set game to "Rocket League". UModel crashed because you didn't override the game, and it thinks this is a pure UE3.


Update some asmdefs to Unity 2019 version for UPM packaging

Overview
Currently amdefs are checked in at Unity 2018 version. This creates problems for UPM packaging because those packages are consumed in Unity 2019, which will lead to some automated asmdef configurator to try to modify certain content (i.e. ver. 2018 asmefs) of the supposedly immutable the package. To solve the problem, we are now checking in ver. 2019 asmdefs. Those files are backward compatible until Unity 2018.4.13f1, beyond which the user must manually perform a few straight forward steps to make them compatible. Documentations will be added in this PR to show the change. Some automatic configurator are therefore removed.
Note: Users on Unity versions earlier than 2018.4.13f1 must revert the changes made to asmdefs when upgrading to Unity 2019, which will also be mentioned in the docs.
Changes

Fixes: #8574.

/azp run

/azp run

@MaxWang-MS , can you resolve the documentation merge conflict? thx!

/azp run

Are there any changes needed for the Leap Motion and Oculus asmdefs? I think there are some references their configuration checkers add when the corresponding SDKs are installed.

As discussed offline asmdefs related to those two devices will be handled separately.


enhancemodify priv of refresh catalog/db/table (#39008)

pick: https://github.com/apache/doris/pull/39008

run buildall


Fix integer comparison error by ensuring GITHUB_CI_CD is defined

This commit resolves the error encountered when GITHUB_CI_CD is unset or non-integer by defaulting it to 0.
./scripts/env.sh: line 22: [: : integer expression expected

Thanks for your contribution but could you tell me in which case/environment there was an error "./scripts/env.sh: line 22: [: : integer expression expected" ? (as the actual script work fine on GitHub CI see latest build https://github.com/hydrabus/hydrafw/actions/runs/8626278775/job/23644227325)

I tried to run it on my own runner machine.
GITHUB_CI_CD is not defined as it using  https://github.com/nektos/act


Improve the keystore

[ ] If a zone should be signed but the keystore has no active DNSSEC keys then promote some existing keys to active.
[x] If a zone should be signed but the keystore has no DNSSEC keys at all, then it should generate new key pairs, just as it does for SIG(0) keys.
[x] The "internal" key generator code doesn't work anymore (after some significant refactoring). The external generator is clumsy, getting the internal generator working is important.
[x] I think there is still some corner case where we seem to store the contents of a bind .private file as the private key in the keystore. Find the bug.
[ ] For ED25519 keys it is sufficient to store the "private key" in a field in the Keystore db table, but for other algorithms (eg. RSASHA256, see #46) this doesn't work. So we most likely really need to store the entire "bind private key" format stuff somewhere. I think the best alternative is to put all the private key data in a separate table, {Sig0,Dnssec}PrivateKeys or something, and no longer mix it up with all the other data in the Keystore tables.

Promoting keys from one state to another is not a task for the keystore, but rather for the signer. Such logic belongs together with rollover logic.


Disable sanity check & slimming for simultaneous Witness and NonWitness UTXO.

This PR comments out (idk if this is a good practice here though, could be changed to a full delete + descriptive comment) the logic for the NonWitnessUtxo filtering in TrySlimUTXO(). This is needed for Wasabi Wallet's fixes for the latest firmware of Trezor hardware wallet devices.
Apologies for the mess, still trying to make heads and tails of the codebase haha :)
This issue contributes to https://github.com/zkSNACKs/WalletWasabi/issues/3734 ;

Uh-oh... RPC didnt like the TrySlimUTXO being no-op...

I am sure the maintainer will love this change.

Seems like i can get away with just removing the sanity check :) Thank you @Kukks for your guidance :)

Seems like i can get away with just removing the sanity check. Thank you @Kukks for your guidance :)


How much effort would it take to upgrade this to kibana 5?

Well it was easier than expected :) done.


How to get random movie from a genre

Is it possible to get a random movie id when searching by genre? I am able to use the DiscoverMoviesAsync() function, but it only returns the first 20 results. I would like to get a random movie. If I use results.Results[randomresult].Title (where randomresult is an integer less than total results, i am only able to get the first 20.
Thanks in advance!

Have you tried GetGenreMoviesAsync() which takes includeAllMovies as a parameter?

It says that function is depreciated, but even then, the foreach loop only shows the first 20 results.  What i am trying to achieve is get a random movie from one or more categories.
Appreciate the help!

There is also this: https://developers.themoviedb.org/3/getting-started/daily-file-exports
You could pick any id from there, and look it up on the API.

I also can't find the docs for includeAllMovies, so it's truly deprecated.
In order to get a random movie from the servers database, you'll need a function specifically for that. Any Discover or GetGenreList thingy will be sorted by something.. f.ex. their Id's or names. Once they are that, you can only get the same movies, no matter how many times you ask.
The file I linked to should contain everything TMDb has, so using that you will be able to pick random stuff.

Do you know why I am only able to see the first 20 results? I can check total results and that number is much higher. So when trying to get something like results.Results[20].Title will fail, since only index 0 to 19 are allowed. Shouldn't there be indexes for each result that was found?

The results will typically be paged. You can't get all data in one go, that would put too much pressure on the server and take too long to download.

That makes sense. Please forgive my lack of knowledge. I do see that (in my example) there are 53 pages. How would I retrieve the next page?

All those functions should have an int page parameter where you can specify the page number.
So you can use two random values to select a page and one of those 20 entries.


Publication of sensor "name" if no /device/config/sensor description available.

On the Panel & Gauge pages, data for custom (non-FLM-sensors) published over mqtt in the topic "/sensor/name/gauge/" appears correctly with my custom sensors, but their name appears empty ("").
I think its caused by the fact that your scripts subscribe to "/device/+/config/sensor" for a conversion between sensor name and device/sensor "function" and "type".
I'm planning to a publishing of those there, to make the names appear, but it could/would be usefull to include a fallback to the sensor name, instead of an empty string, if config/sensor is missing.

An empty name should not happen as when there is no "function" published through the "device" topic then "name" and "id" are taken identically.
See, for example, panel.js, lines 113ff.
        if (sIndex[0] == null) {
        sensor.id = sensorId;
        sensor.name = sensorId;

What is the format of your customer sensor publication? I use the one as described in the ReadMe.md with an Arduino (ref to energyhacks/AVRNetIOduino) - and as you can see, there are names present...

Just rechecked everything; it works exactly as described in the ReadMe:Show arbitrary sensors section; there I wrote

Note that here the <sensor id> is taken as name as long as you are not publishing any device configuration topic with id, name and if enabled (other parameters are currently not used, like "class" and "type", but may in the future).

So, check your published sensor topic, please.

Thanks for the link to that readme. Didn't see that page/manual before. Very well documented example!
But, the weirdness continues:
Using MQTT spy, i see that the messages ARE published correctly. I get following response from the FLM (mqqt browser) for my "newly" published sensors:
topic: /sensor/retour/gauge
message: [1434307324,21.937,"degC"]
For a build-in sensor, that is:
topic /sensor//gauge
data: [1434307515,74444,"L/day"]
Seems quite alike to me. Even if i round my temperature to ints (no comma), i get the same result (no extra gauge in gauge panel).
HOWEVER, now that I've added the device/config string for just one of the sensors (the "retour" sensor), this one DOES show up. But with its , below the sensor, NOT its  name as given in the device/+/config... The rest of the sensors still doesnt show up, although they publish exactly the same sensor//gauge topic & data structure...
topic /device/rapie/config/sensor
data: { "1":{ "id":"retour","function":"TwRetour","enable"="1"} }
This seems quite comparable to me, agains a FLM sensor:
data:  {..., "4":{"id":"","class":"pulse","function":"Total Gas","port":[4],"constant":10,"type":"gas","enable":1,"counter":}, .... }]
Thus: Weirdness still there.
But, I can live with it, i'll add config data for all 3 sensors, and call it a day :-)
I'll keep you posted if other weirdness pops up.

Hopefully this was just a copy error for the built-in sensor (topic /sensor//gauge) as this has no id; the retour-sensor looks O.K.
Honestly, I am a bit puzzled by your explanation, as I do not really understand what you actually do as you jump between different aspects: "names", "values", "extra gauges" etc.
The payload internally is handled as string, so there is code-wise no difference on comma or not in vlaues (a DS18S20 sends with "point"); use the browser's debug capabilities to set a breakpoint at the position the message payload is passed on (e.g. gauge.js, line 74) - this is the only chance to see what really happens; there are so many different variants out there that you can only look for yourself (different browsers behave very differently, also on different devices); also set a breakpoint at gauge.js, line 118 to see what is transferred as value.
You may also play with fake messages set up manually using mosquitto_pub; this is how I found out the way to convince the FLM.

Dear Marcus,
In response to previous post:

a copy error for the built-in sensor (topic /sensor//gauge)
Yes, should have been /sensor//gauge indeed.

have you ever looked through the repository on Github?!
Yes, i did read your readme's on FLM-display & combined, and skimmed through large chuncks of code to -try to- understand it, as i'm no programmer by eductation. I just missed that part/version of the readme in the FLM-local repository, on mqtt topic/payload for sensor name configuration.

Honestly, I am a bit puzzled by your explanation, as I do not really understand what you actually
do as you jump between different aspects: "names", "values", "extra gauges" etc.
I am sorry if i was unclear.
With  i mean the name used in the /sensor/+/gauges
With  i mean the name stated in the config, and which should appear below the gauges
With  I mean the non-FLM mqtt messages.

On topic:
Still much weirdness occuring on my FLM itself...
It might be best for me do a full delete & pull of the github base.
Reason: The html page that the FLM is serving, seems NOT to be the html in /www/index.html, as parts of its code is ignored in the shown page. eg. there is NO Chart-menu entry, while there is in the code.
From MQTT point of view, all seems ok, since i can see the packets in the mqtt spy.
Thus, probably its a (self-induced) HTML-side & FLM-side error.
Sorry to bother you with it, I'll try to solve it myself.

Don't mind - if I can be of help, I'll do my best; the better the issue description, the better any potential root cause analysis. With respect to "i'm no programmer by eductation" - there is no programming education as computer science is no science ;-) (I see programming as a tool only to express the algorithms I am thinking about, for I am a Mathematician by heart)
Note that AngularJS is quite tricky; this took me also some time to figure out how the interconnect works. The changed parts in the index.html are actually only the menu references; these you may add also in an editor manually.
Please also note that my FLM is on v244, so this is also to be taken care of if Bart did changes in-between (but I am not aware of such)

my FLM is on v244
My FLM is also on v244. But for some reason, with the FLM-local upload, the GRAPH menu doesn't appear and isn't accessible (on /#/chart) , while part panel & gauge buttons are there & are functional.  Thus, my current hypothesis is that the FLM is hosting some locally cached version of the index.html or website, or from another directory. Will perform some break/echo tests tonight.

computer science is no science ;-)
Haha, I'll use this against my friends with a CS education! :-D ;-)

I see programming as a tool only to express the algorithms I am thinking about
Sounds like a healthy attitude! Thats also why I'm using python for this project, instead of html/node.js: to learn from it, and to use python for data analysis afterwards.

The FLM does not cache, but the browser - so always make sure that the browser cache is empty as all the index.html and *.js files are uploaded to your frontend (this raised not only one issue in the past - therefore I always clean everything after doing web-related code changes)


Lefthand TOC should remain fixed

According to Seth, the TOC on the left-hand side of the website should remain fixed when you scroll. He recalls that it did at one point. It's not doing that now.

He recalls that it did at one point

He thinks it was fixed at some point... :)

It's fixed on the homepage: https://flutter.io/
It's fixed on https://flutter.io/tutorials/layout/
Seems to be fixed?

@sethladd, neither is fixed for me. They still scroll. So weird. I've done a forcible reload. I've also tried opening those pages in an incognito window. The sidebar scrolls as I scroll.

Hm, it's fixed for me:

Are you looking at the homepage?

OK, this is weird. Now the left-nav is scrolling off the screen. The difference: I've unplugged from my monitor and now I'm looking at the page on the laptop.

 We want it to stay fixed.

Addressed by https://github.com/flutter/website/pull/481

Fixed by https://github.com/flutter/website/issues/524


look over these carefully!! I changed a lot of inStyle CSS!, we dont …

THERE IS NO NEED TO KEEP THIS CSS, I made the flexboxes to test what it would look like, get some practice with them and see if I could center the X button
but take a look at the reducer function

Closing in favor of bootstrap addition.


Provide a sample/pattern for capturing results

In order to store the test results for historic analysis (a SQL database, Log Analytics, etc.) a simple example should provide guidance on how to use the preferred model (one Invoke-SqlChecks per-check) to build a result set.
The below PowerShell is an example of what that result set might look like.  As we're typically working with an execution context (Config file) we might be able to wrap a lot of this in a function that ships with the library (rather than just an example).
Set-Location C:\src\SQLChecks\tests

$batchId = [System.Guid]::NewGuid()

$results = @()

$hostComputer = $env:computername
$targetComputer = $hostComputer # Use the target of the check to set this/etc.

# Below code would run inside the loop (foreach $check in $checksToRun...)
$invocationId = [System.Guid]::NewGuid()
$invocationStartTime = [DateTime]::UtcNow
$test = Invoke-Pester -PassThru -Show None
$invocationEndTime = [DateTime]::UtcNow

foreach($testResult in $test.TestResult) {
    $results += [PSCustomObject]@{
        BatchId = $batchId
        InvocationId = $invocationId
        InvocationStartTime = $invocationStartTime
        InvocationEndTime = $invocationEndTime
        HostComputer = $hostComputer
        TargetComputer = $targetComputer
        TimeTaken = $testResult.Time.TotalMilliseconds
        Passed = $testResult.Passed
        Describe = $testResult.Describe
        Context = $testResult.Context
        Name = $testResult.Name
        FailureMessage = $testResult.FailureMessage
        Result = $testResult.Result
    }
}

$results | Format-Table

PowerShell sample of writing to the LogAnalytics API here: https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-data-collector-api

Expected usage
$commonArguments = @{
  ...
}
Get-ChildItem -Filter *.config.json -Recurse | `
  Invoke-SqlChecks -PassThru | `
  Export-PesterToLogAnalytics @commonArguments

Because of the information we might want access to (details of the configuration file, ServerInstance, etc.) it may be preferable to loop through configuration files and capture the results, and post each configuration file as a batch, e.g.
$configs = Get-ChildItem -Filter *.config.json -Recurse
$commonAttributes = @{
  ...
}
foreach($config in $configs) {
  $results = Invoke-SqlChecks -ConfigPath $config.FullName
  $configArguments = @{
    TargetComputer = $config.ServerInstance
    ...
  }
  Export-SqlChecksResultsToLogAnalytics @commonAttributes @configArguments

0bbd3f0 adds the function (currently uses Out-GridView rather than exporting to LogAnalytics).
Can be leveraged with the below example to send one batch per config file.  Lot of boilerplate for what might be worth shipping as a helper function.
$batchId = [System.Guid]::NewGuid()
$hostComputer = $env:computername

$configs = Get-ChildItem -Filter *.config.json -Recurse
foreach($configFile in $configs) {
    $config = Read-SqlChecksConfig $configFile.FullName
    $targetComputer = $config.ServerInstance

    $invocationId = [System.Guid]::NewGuid()
    $invocationStartTime = [DateTime]::UtcNow

    $results = Invoke-SqlChecks -Config $config -PassThru

    $invocationEndTime = [DateTime]::UtcNow

    # If the config has no tests, nothing to post in this batch
    if($results.Count -gt 0) {
        $commonArguments = @{
            BatchId = $batchId
            HostComputer = $hostComputer
            TargetComputer = $targetComputer
            InvocationId = $invocationId
            InvocationStartTime = $invocationStartTime
            InvocationEndTime = $invocationEndTime
        }

        Export-SqlChecksResultsToLogAnalytics @commonArguments -TestResults $results
    }
}

Current implementation now posts (though is untested!).
Looking at the code it feels like there needs to be a split, such that there is a dedicated Export-ToLogAnalytics that takes the core arguments plus a generic payload (wrapping the example MSFT function), and another function to take the test result and split it into the 'SQLChecks Result' shape.
Updated invocation example below.
$batchArguments = @{
    BatchId = [System.Guid]::NewGuid()
    HostComputer = $env:computername
    CustomerId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    SharedKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    LogType = "PesterResult"
}

$configs = Get-ChildItem -Filter localhost.config.json -Recurse
foreach($configFile in $configs) {
    $config = Read-SqlChecksConfig $configFile.FullName
    $targetComputer = $config.ServerInstance

    $invocationId = [System.Guid]::NewGuid()
    $invocationStartTime = [DateTime]::UtcNow

    $results = Invoke-SqlChecks -Config $config -PassThru -Show None

    $invocationEndTime = [DateTime]::UtcNow

    # If the config has no tests, nothing to post in this batch
    if($results.Count -gt 0) {
        $invocationArguments = @{
            TargetComputer = $targetComputer
            InvocationId = $invocationId
            InvocationStartTime = $invocationStartTime
            InvocationEndTime = $invocationEndTime
        }

        Export-SqlChecksResultsToLogAnalytics @batchArguments @invocationArguments -TestResults $results
    }
}


Adding dynamic framework targets to travis builds

Disabled functional tests in dynamic framework targets to mirror static library
Updated travis build definition to include other project targets
Shared mac framework target scheme so will build with travis

This enables all three targets to be built and tested inside the repo to ensure quality across all targets with changes.
n.b. Mac target has 3 issues with tests failing when executing on Travis CI in my testing. Still to investigate, but they circulate around timeout issues with the tests. They run and pass fine locally.

Hi @damienpontifex, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, AZPRBOT;

:+1:

I have created https://github.com/Azure/azure-mobile-apps-ios-client/issues/82 to track the test failures. If you get to the bottom of the failures, feel free to send a PR.


1834 Fix a few issues with first release of ABL button

[ ] openstax/ce#1834

Given:

A valid branch, tag, or commit from any osbooks repo

When:

Running a successful git preview job in CORGI
Clicking on the Copy new ABL entry button
An ABL entry already exists for the book

Then:

approved-books-list.json is opened to the line number of that books entry
Only a version entry is copied to clipboard (the json in your clipboard should not include repository_name or versions properties)

Given:

A valid branch, tag, or commit from any osbooks repo

When:

Running a successful git preview job in CORGI
Clicking on the Copy new ABL entry button
An ABL entry for a book that does not exist on the ABL

Then:

approved-books-list.json is opened to line 1
An entire ABL entry is in your clipboard (the json in your clipboard should include repository_name or versions properties)
All book-slugs should be present in the books array.

Summary of Changes
Fixes tags not working and books missing from ABL version entry.
Removed slug path argument since metadata should be returned for all book slugs.
Changed value written to clipboard: it used to create a new ABL entry, now it will create a version entry (which can be pasted into the versions array) if the ABL entry already exists.

verified on preview-git jobs in corgi staging
discussed with Tyler and Neil
some notes needed for the documentation


In permissive traffic mode (allow-all) only pods with services can communicate; not individual pods w/ service

While in SMI-mode (not permissive traffic mode) with https://github.com/openservicemesh/osm/pull/1932 we added the ability for have a pod, not backed by a service to make calls to other pods -- as long as there are TrafficTarget policies permitting the 2 service accounts to communicate.
On the other hand, in permissive traffic mode, a pod without a backing service is not able to communicate w/ other pods.
This is well illustrate by this PR https://github.com/openservicemesh/osm/pull/1570, which fails in CI for permissive traffic mode.

Bug description:
Affected area (please mark with X where applicable):

Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ X ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
CI System                  [ ]

Expected behavior:
-- Pods without a backing service, in permissive traffic policy mode, should be able to cURL bookstore -- this PR should pass CI:  https://github.com/openservicemesh/osm/pull/1570
Steps to reproduce the bug (as precisely as possible):
-- See https://github.com/openservicemesh/osm/pull/1570
How was OSM installed?:
Anything else we need to know?:
Environment:

OSM version (use osm version):  v0.5 and earlier
Kubernetes version (use kubectl version): n/a
Size of cluster (number of worker nodes in the cluster): n/a
Others:

This may get resolved with #2035

This may get resolved with #2035

This isn't related to the routes refactor as much as more having to do with how certificates are issued to proxies. I discussed with @michelleN a proposed solution for this without needing to hack with synthetic services. I'll try to prototype a solution for this.

I did a POC where client proxies can connect to services without needing the client to be a service. The idea is to refactor how certificates are provisioned via SDS such that clients certificates are not based on a service reference.
This will obviate the need to create a synthetic service for the client inside the controller.
The ability to not rely on synthetic service depends on https://github.com/openservicemesh/osm/issues/2034, which removes the need to lookup routes/traffic policies based on a service.

I did a POC where client proxies can connect to services without needing the client to be a service. The idea is to refactor how certificates are provisioned via SDS such that clients certificates are not based on a service reference.
This will obviate the need to create a synthetic service for the client inside the controller.
The ability to not rely on synthetic service depends on https://github.com/openservicemesh/osm/issues/2034, which removes the need to lookup routes/traffic policies based on a service.

Moving this to v0.8 since this depends on  #2034 to work end-to-end.

Moving this to v0.8 since this depends on  #2034 to work end-to-end.


Update enphase.yaml

Return max value from two sources of production information. This allows using metering provided by either CTs or inverters, while before this commit only CT values were used.

More context available at https://github.com/evcc-io/evcc/pull/16619

Der PR ist zwar geschlossen; aber kann es sein, dass hier ein Fehler vorliegt? evcc zeigt 270Watt in der Erzeugung an; die enphase Live Ansicht 0 Watt.

@TobiasNeuschulz please show output of
evcc meter --log trace,db:error

@ivoks sounds like we need to revert this?

@andig maybe we'll adjust it. I'd like to see output of:
curl http://${ENVOY_IP}/production.json?details=1
This will give us more info on why this would not work for Tobias. There are some corner cases that I'm aware of where current situation might not be ideal, but once I have the output I'll be smarter on how to solve it.

{"production":[{"type":"inverters","activeCount":20,"readingTime":1732367976,"wNow":3209,"whLifetime":6650773},{"type":"eim","activeCount":1,"measurementType":"production","readingTime":1732368032,"wNow":1122.49,"whLifetime":6669201.617,"varhLeadLifetime":16248.176,"varhLagLifetime":2279537.58,"vahLifetime":8809672.19,"rmsCurrent":5.277,"rmsVoltage":693.939,"reactPwr":111.959,"apprntPwr":1221.058,"pwrFactor":0.93,"whToday":34494.617,"whLastSevenDays":51681.617,"vahToday":14766.19,"varhLeadToday":10.176,"varhLagToday":3692.58}],"consumption":[{"type":"eim","activeCount":1,"measurementType":"total-consumption","readingTime":1732368032,"wNow":1187.27,"whLifetime":4277358.013,"varhLeadLifetime":3925437.312,"varhLagLifetime":-2244300.086,"vahLifetime":12947101.493,"rmsCurrent":5.328,"rmsVoltage":693.924,"reactPwr":-169.729,"apprntPwr":1228.102,"pwrFactor":0.98,"whToday":8360.013,"whLastSevenDays":105.013,"vahToday":16808.493,"varhLeadToday":6689.312,"varhLagToday":0.0},{"type":"eim","activeCount":1,"measurementType":"net-consumption","readingTime":1732368032,"wNow":64.78,"whLifetime":-2391724.392,"varhLeadLifetime":3941685.488,"varhLagLifetime":35237.494,"vahLifetime":12947101.493,"rmsCurrent":0.051,"rmsVoltage":693.924,"reactPwr":-281.689,"apprntPwr":7.398,"pwrFactor":1.0,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0}],"storage":[{"type":"acb","activeCount":0,"readingTime":0,"wNow":0,"whNow":0,"state":"idle"}]}
Here we go - I can now show the problem. evcc shoes me 3,3 kw - but the real production is 1,1kw
type | "inverters"
wNow | 3209
type | "eim"
measurementType | "production"
wNow | 1122.49

Hm, that's interesting. Inverters are reporting higher production than the meter. We could solve this by checking activeCount, rather than looking at which has higher value.
Tobias, just to clear up some oddities here; did you add meters recently? whLifetime values are not the same. whToday is less than 2x of whLastSevenDays (quite possible, but rare). Are you sure meters are showing production of the PVs? CTs are placed on the cables coming from the roof, before any consumers can impact their values?

Did you add meters recently? No
whLifetime values are not the same. whLastSevenDays is less than 2x of whToday (quite possible, but rare). Are you sure meters are showing production of the PVs? Yes
CTs are placed on the cables coming from the roof, before any consumers can impact their values? Yes,...
The values of the inverters lag behind in time. So 3k was ok - maybe an hour before,...

If CTs are not connected, gateway pulls data all the time. I get different read outs in real time. Enphase app refreshes data every 5 minutes, that's true, but that data is available directly on envoy in real time:
{
"type": "inverters",
"activeCount": 20,
"readingTime":<PHONE_NUMBER>,
"wNow": 1595,
"whLifetime": 23768036
}
{
"type": "inverters",
"activeCount": 20,
"readingTime":<PHONE_NUMBER>,
"wNow": 1583,
"whLifetime": 23768036
}
{
"type": "inverters",
"activeCount": 20,
"readingTime":<PHONE_NUMBER>,
"wNow": 1576,
"whLifetime": 23768036
}
{
"type": "inverters",
"activeCount": 20,
"readingTime":<PHONE_NUMBER>,
"wNow": 1561,
"whLifetime": 23768036
}
While I agree that CTs provide the best information, relying on inverters is the second best thing and only thing available for some. It just doesn't cover some corner cases. Anyway, we can solve this by looking at activeCount. Let me work on this.

@TobiasNeuschulz this should return correct value for you. Can you please double check:
curl http://${ENVOY_IP}/production.json | jq 'if .production[] | select(.measurementType == "production").activeCount >= 1 then .production[] | select(.measurementType == "production").wNow else .production[] | select(.type == "inverters").wNow end'
Thanks!

I believe the approach above works for you. It works also for those that have CT metering disabled for both production and consumption.
It does not work for those that have CT production metering enabled but don't have CTs actually installed (and we can argue that's a misconfiguration). I'm afraid there's nothing we can do for this type of users, as their setup communicates that CTs are there and we can't know they are not. wNow values for those users can be anything from -2 to 2. None of the approches will work for them other than making users explicitly configure which value they want to read.
I'll prepare the patch by end of the day based on the approach in previous comment.

See https://github.com/evcc-io/evcc/pull/17447


Issue with URL encoding of parameters in WMS

Why? See below two URLs
Unworking URL. Obtained with Owslib that encode characters /,, et : and it's normal
http://ogc.geo-ide.developpement-durable.gouv.fr/wxs?map=/opt/data/carto/geoide-catalogue/1.4/org_38178/908a2fc2-6752-4eae-952a-142393e657b7.internet.map&service=WMS&version=1.3.0&request=GetMap&layers=N_PERIM_MAET_ZINF_S_R11&styles=&width=800&height=448&crs=EPSG%3A4326&bbox=48.1107%2C1.44041%2C49.2484%2C3.56583&format=image%2Fpng&transparent=FALSE&bgcolor=0xFFFFFF&exceptions=XML
vs
Working URL
http://ogc.geo-ide.developpement-durable.gouv.fr/wxs?map=/opt/data/carto/geoide-catalogue/1.4/org_38178/908a2fc2-6752-4eae-952a-142393e657b7.internet.map&service=WMS&version=1.3.0&request=GetMap&layers=N_PERIM_MAET_ZINF_S_R11&styles=&width=800&height=448&crs=EPSG:4326&bbox=48.1107,1.44041,49.2484,3.56583&format=image/png&transparent=FALSE&bgcolor=0xFFFFFF&exceptions=XML
The issue seems to be on the server side of the service I consume that does not decode the encoded parameters.
Code to reproduce how I got the following URL
from owslib.wms import WebMapService

wms = WebMapService('https://ogc.geo-ide.developpement-durable.gouv.fr/wxs?map=/opt/data/carto/geoide-catalogue/1.4/org_38178/908a2fc2-6752-4eae-952a-142393e657b7.internet.map', version='1.3.0')

response = wms.getmap(layers=['N_PERIM_MAET_ZINF_S_R11',],
    bbox=(1.44041, 48.1107, 3.56583, 49.2484),
    format='image/png',
    size=(800, 428),
    srs='EPSG:4326',
)
with open(f"N_PERIM_MAET_ZINF_S_R11.png", 'wb') as out:
    out.write(response.read())

Possible approach
To solve the issue, I want to use the safe option of https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlencode
getmap method would get a new safe option, empty by default (like the normal urlencode behavior) but could be changed at https://github.com/geopython/OWSLib/blob/master/owslib/map/wms111.py#L258 and https://github.com/geopython/OWSLib/blob/master/owslib/map/wms111.py#L258 and https://github.com/geopython/OWSLib/blob/master/owslib/map/wms130.py#L304
where
data = urlencode(request)

would be replaced by
data = urlencode(request,safe)

So, it can help solve the issue when you do not control the server encode/decode behavior while not breaking anything. I would be able to provide to the new safe option the value :/, in my case (already tested with hardcoded value while debugging) .
PS: I can do a PR but need to confirm the logic could be fine on owslib project. Moreover, I've only look at the WMS code part but this could be applied maybe to other types of webservices with the same issue.

When you create the WebMapService the map path should be encoded:
wms = WebMapService('https://ogc.geo-ide.developpement-durable.gouv.fr/wxs?map=%2Fopt%2Fdata%2Fcarto%2Fgeoide-catalogue%2F1.4%2Forg_38178%2F908a2fc2-6752-4eae-952a-142393e657b7.internet.map', version='1.3.0')

And you should be directly in https because the http to https redirect will break the URL...

With the version 0.25.0 it's working...

I think that a better solution is to have an option to skip this kind of code...
https://github.com/geopython/OWSLib/blob/018c7f83fb042a6390d65aaa683110743609f3e3/owslib/map/wms130.py#L283-L285
and use directly self.url :-)

Using 0.27.2 and not working. I've tested 0.25.0 and working...

Is this still a problem?
I'm using __version__ = '0.31.0'
I create a wfs instance passing a URL that uses HTTPS:
WebFeatureService("https://domain/path/etc", version="2.0.0")

However, when I call the method getfeature(typename="blabla", ...) the request is made using HTTP.
The server I'm trying to reach only allows https requests and returns redirects otherwise (i.e., 302 Found).
Is there a workaround somewhere that I couldn't find? This is the only issue I found mentioning this specific case.


Missile range?

I seems when missiles run out of propellant they don't even try maneuvering even though they still have velocity. They also just drop like rocks.

Yes, it seems after their HEAT nerf their range is VERY bad.

Yes it seems the range on the StA missiles are vastly lower since the StA pen nerf.

Could you give us a more specific example of when/how this occurs? I'll need at least a bit of information to work with, like your ammo crate settings, the guidance you were using, and which missile(s) is affected by this.

Why yes, I have max propellant that the missile can contain. It's propellant last less than a second and after that it just flies in the direction of when it last had propellant. I can see the missile point where I am telling it to go but it just flies in the same direction once the propellant runs out. The drop seems to have been user error and is no longer an issue. To sum it up, I would like to see the missiles fly towards its target destination even if it's out of propellant, instead of a straight line.

Closing old balance issues due to subsequent changes.  Re-open if you feel the issue persists.


Add webiste revamp idea

I don't think we need 3 projects, but yeah... the description could be re-organized to mention those three workforces

PTAL


Adding sample for spoof-parent-pid.yml

Adding example for https://github.com/mandiant/capa-rules/pull/522

thanks!


Issue with Mollie Components During Re-Payment Process

Hello,
I am currently utilizing the Mollie Components within my payment flow. The components function correctly for the initial payment of an order. However, I encounter an issue when a payment fails. In such cases, I use the orderSetPayment request via the storefront API, followed by the handlePaymentMethod to initiate the payment again.
At this point, I am redirected to Mollie's page to enter the credit card details. This redirection is contrary to my intention of using the Mollie Components, which are meant to eliminate such redirects.
Could you please clarify whether the Mollie Components are intended to support re-payments for an order, or if there are specific configurations required to enable this functionality?
Thank you for your assistance.
Best regards,

maybe this will help
https://mega.co.nz/#!B31G2LaZ!uBBOCp9hLC7bq9kP8NC6s4DanQJJZuoFRr5FI_jkeic
I put the necessary dlls in the archive

Hi @dartdevdave
if you have to re-enter the credit card details, this means either the credit card token was not stored or is removed at some point.
you only have to type in the credit card information if the customer does not have the credit card token in his custom fields.
can you check it out?
best regards

I have thoroughly reviewed the payment flow and confirmed that the issue was due to the absence of a stored credit card for the customer. I am pleased to report that everything is functioning correctly now. Thank you very much for your assistance!